import { Command as $Command } from "@trivikr-test/smithy-client"; import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@trivikr-test/types"; import { AssociateCustomerGatewayRequest, AssociateCustomerGatewayResponse } from "../models/models_0"; import { NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkManagerClient"; export interface AssociateCustomerGatewayCommandInput extends AssociateCustomerGatewayRequest { } export interface AssociateCustomerGatewayCommandOutput extends AssociateCustomerGatewayResponse, __MetadataBearer { } /** *
Associates a customer gateway 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 customer gateways that are connected to a VPN attachment on a
* transit gateway or core network registered in your global network. When you register a
* transit gateway or core network, customer gateways that are connected to the transit
* gateway are automatically included in the global network. To list customer gateways
* that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by
* transit-gateway-id.
You cannot associate a customer gateway 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, AssociateCustomerGatewayCommand } from "@trivikr-test/client-networkmanager"; // ES Modules import * // const { NetworkManagerClient, AssociateCustomerGatewayCommand } = require("@trivikr-test/client-networkmanager"); // CommonJS import * const client = new NetworkManagerClient(config); * const command = new AssociateCustomerGatewayCommand(input); * const response = await client.send(command); * ``` * * @see {@link AssociateCustomerGatewayCommandInput} for command's `input` shape. * @see {@link AssociateCustomerGatewayCommandOutput} for command's `response` shape. * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape. * */ export declare class AssociateCustomerGatewayCommand extends $Command