import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AssociateTransitGatewayConnectPeerRequest, AssociateTransitGatewayConnectPeerResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AssociateTransitGatewayConnectPeerCommand}. */ export interface AssociateTransitGatewayConnectPeerCommandInput extends AssociateTransitGatewayConnectPeerRequest { } /** * @public * * The output of {@link AssociateTransitGatewayConnectPeerCommand}. */ export interface AssociateTransitGatewayConnectPeerCommandOutput extends AssociateTransitGatewayConnectPeerResponse, __MetadataBearer { } declare const AssociateTransitGatewayConnectPeerCommand_base: { new (input: AssociateTransitGatewayConnectPeerCommandInput): import("@smithy/core/client").CommandImpl; new (input: AssociateTransitGatewayConnectPeerCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Associates a transit gateway Connect peer with a device, and optionally, with a link. If you * specify a link, it must be associated with the specified device.

*

You can only associate transit gateway Connect peers that have been created on a * transit gateway that's registered in your global network.

*

You cannot associate a transit gateway Connect peer with more than one device and link.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkManagerClient, AssociateTransitGatewayConnectPeerCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import * // const { NetworkManagerClient, AssociateTransitGatewayConnectPeerCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import * // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager"; * const config = {}; // type is NetworkManagerClientConfig * const client = new NetworkManagerClient(config); * const input = { // AssociateTransitGatewayConnectPeerRequest * GlobalNetworkId: "STRING_VALUE", // required * TransitGatewayConnectPeerArn: "STRING_VALUE", // required * DeviceId: "STRING_VALUE", // required * LinkId: "STRING_VALUE", * }; * const command = new AssociateTransitGatewayConnectPeerCommand(input); * const response = await client.send(command); * // { // AssociateTransitGatewayConnectPeerResponse * // TransitGatewayConnectPeerAssociation: { // TransitGatewayConnectPeerAssociation * // TransitGatewayConnectPeerArn: "STRING_VALUE", * // GlobalNetworkId: "STRING_VALUE", * // DeviceId: "STRING_VALUE", * // LinkId: "STRING_VALUE", * // State: "PENDING" || "AVAILABLE" || "DELETING" || "DELETED", * // }, * // }; * * ``` * * @param AssociateTransitGatewayConnectPeerCommandInput - {@link AssociateTransitGatewayConnectPeerCommandInput} * @returns {@link AssociateTransitGatewayConnectPeerCommandOutput} * @see {@link AssociateTransitGatewayConnectPeerCommandInput} for command's `input` shape. * @see {@link AssociateTransitGatewayConnectPeerCommandOutput} for command's `response` shape. * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

There was a conflict processing the request. Updating or deleting the resource can * cause an inconsistent state.

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

The request has failed due to an internal error.

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

The specified resource could not be found.

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

A service limit was exceeded.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints.

* * @throws {@link NetworkManagerServiceException} *

Base exception class for all service exceptions from NetworkManager service.

* * * @public */ export declare class AssociateTransitGatewayConnectPeerCommand extends AssociateTransitGatewayConnectPeerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AssociateTransitGatewayConnectPeerRequest; output: AssociateTransitGatewayConnectPeerResponse; }; sdk: { input: AssociateTransitGatewayConnectPeerCommandInput; output: AssociateTransitGatewayConnectPeerCommandOutput; }; }; }