import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient"; import type { AssociateAwsAccountWithPartnerAccountRequest, AssociateAwsAccountWithPartnerAccountResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link AssociateAwsAccountWithPartnerAccountCommand}. */ export interface AssociateAwsAccountWithPartnerAccountCommandInput extends AssociateAwsAccountWithPartnerAccountRequest { } /** * @public * * The output of {@link AssociateAwsAccountWithPartnerAccountCommand}. */ export interface AssociateAwsAccountWithPartnerAccountCommandOutput extends AssociateAwsAccountWithPartnerAccountResponse, __MetadataBearer { } declare const AssociateAwsAccountWithPartnerAccountCommand_base: { new (input: AssociateAwsAccountWithPartnerAccountCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: AssociateAwsAccountWithPartnerAccountCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Associates a partner account with your AWS account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTWirelessClient, AssociateAwsAccountWithPartnerAccountCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import * // const { IoTWirelessClient, AssociateAwsAccountWithPartnerAccountCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import * // import type { IoTWirelessClientConfig } from "@aws-sdk/client-iot-wireless"; * const config = {}; // type is IoTWirelessClientConfig * const client = new IoTWirelessClient(config); * const input = { // AssociateAwsAccountWithPartnerAccountRequest * Sidewalk: { // SidewalkAccountInfo * AmazonId: "STRING_VALUE", * AppServerPrivateKey: "STRING_VALUE", * }, * ClientRequestToken: "STRING_VALUE", * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new AssociateAwsAccountWithPartnerAccountCommand(input); * const response = await client.send(command); * // { // AssociateAwsAccountWithPartnerAccountResponse * // Sidewalk: { // SidewalkAccountInfo * // AmazonId: "STRING_VALUE", * // AppServerPrivateKey: "STRING_VALUE", * // }, * // Arn: "STRING_VALUE", * // }; * * ``` * * @param AssociateAwsAccountWithPartnerAccountCommandInput - {@link AssociateAwsAccountWithPartnerAccountCommandInput} * @returns {@link AssociateAwsAccountWithPartnerAccountCommandOutput} * @see {@link AssociateAwsAccountWithPartnerAccountCommandInput} for command's `input` shape. * @see {@link AssociateAwsAccountWithPartnerAccountCommandOutput} for command's `response` shape. * @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User does not have permission to perform this action.

* * @throws {@link ConflictException} (client fault) *

Adding, updating, or deleting the resource can cause an inconsistent state.

* * @throws {@link InternalServerException} (server fault) *

An unexpected error occurred while processing a request.

* * @throws {@link ResourceNotFoundException} (client fault) *

Resource does not exist.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied because it exceeded the allowed API request rate.

* * @throws {@link ValidationException} (client fault) *

The input did not meet the specified constraints.

* * @throws {@link IoTWirelessServiceException} *

Base exception class for all service exceptions from IoTWireless service.

* * * @public */ export declare class AssociateAwsAccountWithPartnerAccountCommand extends AssociateAwsAccountWithPartnerAccountCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AssociateAwsAccountWithPartnerAccountRequest; output: AssociateAwsAccountWithPartnerAccountResponse; }; sdk: { input: AssociateAwsAccountWithPartnerAccountCommandInput; output: AssociateAwsAccountWithPartnerAccountCommandOutput; }; }; }