@aws-sdk/client-direct-connect 3.32.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/DirectConnect.js +1 -2
- package/{dist/cjs → dist-cjs}/DirectConnectClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AllocateConnectionOnInterconnectCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AllocateHostedConnectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AllocatePrivateVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AllocatePublicVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AllocateTransitVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AssociateConnectionWithLagCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AssociateHostedConnectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AssociateMacSecKeyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AssociateVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ConfirmConnectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ConfirmPrivateVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ConfirmPublicVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ConfirmTransitVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateBGPPeerCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateConnectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateDirectConnectGatewayAssociationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateDirectConnectGatewayCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateInterconnectCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateLagCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreatePrivateVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreatePublicVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateTransitVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteBGPPeerCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteConnectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteDirectConnectGatewayAssociationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteDirectConnectGatewayCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteInterconnectCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteLagCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteVirtualInterfaceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeConnectionLoaCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeConnectionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeConnectionsOnInterconnectCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeDirectConnectGatewayAssociationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeDirectConnectGatewaysCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeHostedConnectionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeInterconnectLoaCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeInterconnectsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeLagsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeLoaCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeVirtualGatewaysCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeVirtualInterfacesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DisassociateConnectionFromLagCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DisassociateMacSecKeyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListVirtualInterfaceTestHistoryCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartBgpFailoverTestCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StopBgpFailoverTestCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateConnectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateDirectConnectGatewayAssociationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateLagCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateVirtualInterfaceAttributesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/DirectConnect.js +2 -11
- package/{dist/es → dist-es}/DirectConnectClient.js +2 -16
- package/{dist/es → dist-es}/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +4 -30
- package/{dist/es → dist-es}/commands/AllocateConnectionOnInterconnectCommand.js +4 -37
- package/{dist/es → dist-es}/commands/AllocateHostedConnectionCommand.js +4 -35
- package/{dist/es → dist-es}/commands/AllocatePrivateVirtualInterfaceCommand.js +4 -32
- package/{dist/es → dist-es}/commands/AllocatePublicVirtualInterfaceCommand.js +4 -35
- package/{dist/es → dist-es}/commands/AllocateTransitVirtualInterfaceCommand.js +4 -32
- package/dist-es/commands/AssociateConnectionWithLagCommand.js +39 -0
- package/{dist/es → dist-es}/commands/AssociateHostedConnectionCommand.js +4 -37
- package/{dist/es → dist-es}/commands/AssociateMacSecKeyCommand.js +4 -32
- package/dist-es/commands/AssociateVirtualInterfaceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/ConfirmConnectionCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ConfirmPrivateVirtualInterfaceCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ConfirmPublicVirtualInterfaceCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ConfirmTransitVirtualInterfaceCommand.js +4 -32
- package/dist-es/commands/CreateBGPPeerCommand.js +39 -0
- package/dist-es/commands/CreateConnectionCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateDirectConnectGatewayAssociationCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateDirectConnectGatewayCommand.js +4 -35
- package/dist-es/commands/CreateInterconnectCommand.js +39 -0
- package/dist-es/commands/CreateLagCommand.js +39 -0
- package/dist-es/commands/CreatePrivateVirtualInterfaceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreatePublicVirtualInterfaceCommand.js +4 -33
- package/dist-es/commands/CreateTransitVirtualInterfaceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeleteBGPPeerCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteConnectionCommand.js +4 -33
- package/{dist/es → dist-es}/commands/DeleteDirectConnectGatewayAssociationCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteDirectConnectGatewayCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DeleteInterconnectCommand.js +4 -34
- package/{dist/es → dist-es}/commands/DeleteLagCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteVirtualInterfaceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeConnectionLoaCommand.js +4 -37
- package/{dist/es → dist-es}/commands/DescribeConnectionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeConnectionsOnInterconnectCommand.js +4 -36
- package/{dist/es → dist-es}/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +4 -30
- package/dist-es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +4 -34
- package/{dist/es → dist-es}/commands/DescribeDirectConnectGatewaysCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeHostedConnectionsCommand.js +4 -34
- package/{dist/es → dist-es}/commands/DescribeInterconnectLoaCommand.js +4 -36
- package/{dist/es → dist-es}/commands/DescribeInterconnectsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeLagsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeLoaCommand.js +4 -33
- package/{dist/es → dist-es}/commands/DescribeLocationsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeVirtualGatewaysCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeVirtualInterfacesCommand.js +4 -34
- package/dist-es/commands/DisassociateConnectionFromLagCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DisassociateMacSecKeyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListVirtualInterfaceTestHistoryCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StartBgpFailoverTestCommand.js +4 -33
- package/{dist/es → dist-es}/commands/StopBgpFailoverTestCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateConnectionCommand.js +4 -39
- package/{dist/es → dist-es}/commands/UpdateDirectConnectGatewayAssociationCommand.js +4 -31
- package/dist-es/commands/UpdateLagCommand.js +39 -0
- package/{dist/es → dist-es}/commands/UpdateVirtualInterfaceAttributesCommand.js +4 -36
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -373
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +979 -985
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/DirectConnect.d.ts +2 -2
- package/{dist/types → dist-types}/DirectConnectClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AcceptDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AllocateConnectionOnInterconnectCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AllocateHostedConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AllocatePublicVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AllocateTransitVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AssociateConnectionWithLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AssociateHostedConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AssociateMacSecKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AssociateVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ConfirmConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ConfirmPrivateVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ConfirmPublicVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ConfirmTransitVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateBGPPeerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDirectConnectGatewayAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDirectConnectGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateInterconnectCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreatePrivateVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreatePublicVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateTransitVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBGPPeerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDirectConnectGatewayAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDirectConnectGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteInterconnectCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConnectionLoaCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConnectionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConnectionsOnInterconnectCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDirectConnectGatewayAssociationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDirectConnectGatewayAttachmentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDirectConnectGatewaysCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeHostedConnectionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeInterconnectLoaCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeInterconnectsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLoaCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLocationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeVirtualGatewaysCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeVirtualInterfacesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisassociateConnectionFromLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisassociateMacSecKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListVirtualInterfaceTestHistoryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartBgpFailoverTestCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopBgpFailoverTestCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDirectConnectGatewayAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/DirectConnect.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/DirectConnectClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AcceptDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AllocateConnectionOnInterconnectCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AllocateHostedConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AllocatePublicVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AllocateTransitVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AssociateConnectionWithLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AssociateHostedConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AssociateMacSecKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AssociateVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ConfirmConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ConfirmPrivateVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ConfirmPublicVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ConfirmTransitVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateBGPPeerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateDirectConnectGatewayAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateDirectConnectGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateInterconnectCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreatePrivateVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreatePublicVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateTransitVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteBGPPeerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDirectConnectGatewayAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDirectConnectGatewayAssociationProposalCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDirectConnectGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteInterconnectCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualInterfaceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectionLoaCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectionsOnInterconnectCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDirectConnectGatewayAssociationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDirectConnectGatewayAttachmentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDirectConnectGatewaysCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeHostedConnectionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeInterconnectLoaCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeInterconnectsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLoaCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualGatewaysCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualInterfacesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateConnectionFromLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateMacSecKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListVirtualInterfaceTestHistoryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartBgpFailoverTestCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StopBgpFailoverTestCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDirectConnectGatewayAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateLagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/DirectConnect.ts +0 -2414
- package/DirectConnectClient.ts +0 -540
- package/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts +0 -109
- package/commands/AllocateConnectionOnInterconnectCommand.ts +0 -107
- package/commands/AllocateHostedConnectionCommand.ts +0 -99
- package/commands/AllocatePrivateVirtualInterfaceCommand.ts +0 -102
- package/commands/AllocatePublicVirtualInterfaceCommand.ts +0 -105
- package/commands/AllocateTransitVirtualInterfaceCommand.ts +0 -104
- package/commands/AssociateConnectionWithLagCommand.ts +0 -110
- package/commands/AssociateHostedConnectionCommand.ts +0 -104
- package/commands/AssociateMacSecKeyCommand.ts +0 -96
- package/commands/AssociateVirtualInterfaceCommand.ts +0 -106
- package/commands/ConfirmConnectionCommand.ts +0 -96
- package/commands/ConfirmPrivateVirtualInterfaceCommand.ts +0 -105
- package/commands/ConfirmPublicVirtualInterfaceCommand.ts +0 -101
- package/commands/ConfirmTransitVirtualInterfaceCommand.ts +0 -104
- package/commands/CreateBGPPeerCommand.ts +0 -100
- package/commands/CreateConnectionCommand.ts +0 -102
- package/commands/CreateDirectConnectGatewayAssociationCommand.ts +0 -107
- package/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts +0 -110
- package/commands/CreateDirectConnectGatewayCommand.ts +0 -102
- package/commands/CreateInterconnectCommand.ts +0 -109
- package/commands/CreateLagCommand.ts +0 -108
- package/commands/CreatePrivateVirtualInterfaceCommand.ts +0 -107
- package/commands/CreatePublicVirtualInterfaceCommand.ts +0 -100
- package/commands/CreateTransitVirtualInterfaceCommand.ts +0 -108
- package/commands/DeleteBGPPeerCommand.ts +0 -95
- package/commands/DeleteConnectionCommand.ts +0 -97
- package/commands/DeleteDirectConnectGatewayAssociationCommand.ts +0 -107
- package/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts +0 -109
- package/commands/DeleteDirectConnectGatewayCommand.ts +0 -99
- package/commands/DeleteInterconnectCommand.ts +0 -98
- package/commands/DeleteLagCommand.ts +0 -92
- package/commands/DeleteVirtualInterfaceCommand.ts +0 -94
- package/commands/DescribeConnectionLoaCommand.ts +0 -101
- package/commands/DescribeConnectionsCommand.ts +0 -94
- package/commands/DescribeConnectionsOnInterconnectCommand.ts +0 -106
- package/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts +0 -109
- package/commands/DescribeDirectConnectGatewayAssociationsCommand.ts +0 -131
- package/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts +0 -113
- package/commands/DescribeDirectConnectGatewaysCommand.ts +0 -99
- package/commands/DescribeHostedConnectionsCommand.ts +0 -101
- package/commands/DescribeInterconnectLoaCommand.ts +0 -100
- package/commands/DescribeInterconnectsCommand.ts +0 -94
- package/commands/DescribeLagsCommand.ts +0 -94
- package/commands/DescribeLoaCommand.ts +0 -97
- package/commands/DescribeLocationsCommand.ts +0 -95
- package/commands/DescribeTagsCommand.ts +0 -94
- package/commands/DescribeVirtualGatewaysCommand.ts +0 -95
- package/commands/DescribeVirtualInterfacesCommand.ts +0 -101
- package/commands/DisassociateConnectionFromLagCommand.ts +0 -106
- package/commands/DisassociateMacSecKeyCommand.ts +0 -94
- package/commands/ListVirtualInterfaceTestHistoryCommand.ts +0 -102
- package/commands/StartBgpFailoverTestCommand.ts +0 -97
- package/commands/StopBgpFailoverTestCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -95
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateConnectionCommand.ts +0 -103
- package/commands/UpdateDirectConnectGatewayAssociationCommand.ts +0 -107
- package/commands/UpdateLagCommand.ts +0 -113
- package/commands/UpdateVirtualInterfaceAttributesCommand.ts +0 -106
- package/dist/cjs/DirectConnect.js.map +0 -1
- package/dist/cjs/DirectConnectClient.js.map +0 -1
- package/dist/cjs/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
- package/dist/cjs/commands/AllocateConnectionOnInterconnectCommand.js.map +0 -1
- package/dist/cjs/commands/AllocateHostedConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/AllocatePrivateVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/AllocatePublicVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/AllocateTransitVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateConnectionWithLagCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateHostedConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateMacSecKeyCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/ConfirmConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/ConfirmPrivateVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/ConfirmPublicVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/ConfirmTransitVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/CreateBGPPeerCommand.js.map +0 -1
- package/dist/cjs/commands/CreateConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDirectConnectGatewayAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDirectConnectGatewayCommand.js.map +0 -1
- package/dist/cjs/commands/CreateInterconnectCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLagCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePrivateVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePublicVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/CreateTransitVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBGPPeerCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDirectConnectGatewayAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDirectConnectGatewayCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteInterconnectCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLagCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVirtualInterfaceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConnectionLoaCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConnectionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConnectionsOnInterconnectCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDirectConnectGatewayAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDirectConnectGatewayAttachmentsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDirectConnectGatewaysCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeHostedConnectionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeInterconnectLoaCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeInterconnectsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLagsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLoaCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLocationsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeVirtualGatewaysCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeVirtualInterfacesCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateConnectionFromLagCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateMacSecKeyCommand.js.map +0 -1
- package/dist/cjs/commands/ListVirtualInterfaceTestHistoryCommand.js.map +0 -1
- package/dist/cjs/commands/StartBgpFailoverTestCommand.js.map +0 -1
- package/dist/cjs/commands/StopBgpFailoverTestCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDirectConnectGatewayAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLagCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateVirtualInterfaceAttributesCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/DirectConnect.js.map +0 -1
- package/dist/es/DirectConnectClient.js.map +0 -1
- package/dist/es/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
- package/dist/es/commands/AllocateConnectionOnInterconnectCommand.js.map +0 -1
- package/dist/es/commands/AllocateHostedConnectionCommand.js.map +0 -1
- package/dist/es/commands/AllocatePrivateVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/AllocatePublicVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/AllocateTransitVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/AssociateConnectionWithLagCommand.js +0 -78
- package/dist/es/commands/AssociateConnectionWithLagCommand.js.map +0 -1
- package/dist/es/commands/AssociateHostedConnectionCommand.js.map +0 -1
- package/dist/es/commands/AssociateMacSecKeyCommand.js.map +0 -1
- package/dist/es/commands/AssociateVirtualInterfaceCommand.js +0 -74
- package/dist/es/commands/AssociateVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/ConfirmConnectionCommand.js.map +0 -1
- package/dist/es/commands/ConfirmPrivateVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/ConfirmPublicVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/ConfirmTransitVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/CreateBGPPeerCommand.js +0 -71
- package/dist/es/commands/CreateBGPPeerCommand.js.map +0 -1
- package/dist/es/commands/CreateConnectionCommand.js +0 -73
- package/dist/es/commands/CreateConnectionCommand.js.map +0 -1
- package/dist/es/commands/CreateDirectConnectGatewayAssociationCommand.js.map +0 -1
- package/dist/es/commands/CreateDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
- package/dist/es/commands/CreateDirectConnectGatewayCommand.js.map +0 -1
- package/dist/es/commands/CreateInterconnectCommand.js +0 -80
- package/dist/es/commands/CreateInterconnectCommand.js.map +0 -1
- package/dist/es/commands/CreateLagCommand.js +0 -82
- package/dist/es/commands/CreateLagCommand.js.map +0 -1
- package/dist/es/commands/CreatePrivateVirtualInterfaceCommand.js +0 -75
- package/dist/es/commands/CreatePrivateVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/CreatePublicVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/CreateTransitVirtualInterfaceCommand.js +0 -74
- package/dist/es/commands/CreateTransitVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/DeleteBGPPeerCommand.js.map +0 -1
- package/dist/es/commands/DeleteConnectionCommand.js.map +0 -1
- package/dist/es/commands/DeleteDirectConnectGatewayAssociationCommand.js.map +0 -1
- package/dist/es/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js.map +0 -1
- package/dist/es/commands/DeleteDirectConnectGatewayCommand.js.map +0 -1
- package/dist/es/commands/DeleteInterconnectCommand.js.map +0 -1
- package/dist/es/commands/DeleteLagCommand.js.map +0 -1
- package/dist/es/commands/DeleteVirtualInterfaceCommand.js.map +0 -1
- package/dist/es/commands/DescribeConnectionLoaCommand.js.map +0 -1
- package/dist/es/commands/DescribeConnectionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeConnectionsOnInterconnectCommand.js.map +0 -1
- package/dist/es/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js.map +0 -1
- package/dist/es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +0 -87
- package/dist/es/commands/DescribeDirectConnectGatewayAssociationsCommand.js.map +0 -1
- package/dist/es/commands/DescribeDirectConnectGatewayAttachmentsCommand.js.map +0 -1
- package/dist/es/commands/DescribeDirectConnectGatewaysCommand.js.map +0 -1
- package/dist/es/commands/DescribeHostedConnectionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeInterconnectLoaCommand.js.map +0 -1
- package/dist/es/commands/DescribeInterconnectsCommand.js.map +0 -1
- package/dist/es/commands/DescribeLagsCommand.js.map +0 -1
- package/dist/es/commands/DescribeLoaCommand.js.map +0 -1
- package/dist/es/commands/DescribeLocationsCommand.js.map +0 -1
- package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist/es/commands/DescribeVirtualGatewaysCommand.js.map +0 -1
- package/dist/es/commands/DescribeVirtualInterfacesCommand.js.map +0 -1
- package/dist/es/commands/DisassociateConnectionFromLagCommand.js +0 -74
- package/dist/es/commands/DisassociateConnectionFromLagCommand.js.map +0 -1
- package/dist/es/commands/DisassociateMacSecKeyCommand.js.map +0 -1
- package/dist/es/commands/ListVirtualInterfaceTestHistoryCommand.js.map +0 -1
- package/dist/es/commands/StartBgpFailoverTestCommand.js.map +0 -1
- package/dist/es/commands/StopBgpFailoverTestCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateConnectionCommand.js.map +0 -1
- package/dist/es/commands/UpdateDirectConnectGatewayAssociationCommand.js.map +0 -1
- package/dist/es/commands/UpdateLagCommand.js +0 -87
- package/dist/es/commands/UpdateLagCommand.js.map +0 -1
- package/dist/es/commands/UpdateVirtualInterfaceAttributesCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -63
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -4211
- package/protocols/Aws_json1_1.ts +0 -6998
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import { ConfirmTransitVirtualInterfaceRequest, ConfirmTransitVirtualInterfaceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ConfirmTransitVirtualInterfaceCommand,
|
|
5
|
-
serializeAws_json1_1ConfirmTransitVirtualInterfaceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ConfirmTransitVirtualInterfaceCommandInput extends ConfirmTransitVirtualInterfaceRequest {}
|
|
21
|
-
export interface ConfirmTransitVirtualInterfaceCommandOutput
|
|
22
|
-
extends ConfirmTransitVirtualInterfaceResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Accepts ownership of a transit virtual interface created by another account.</p>
|
|
27
|
-
*
|
|
28
|
-
* <p> After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { DirectConnectClient, ConfirmTransitVirtualInterfaceCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
33
|
-
* // const { DirectConnectClient, ConfirmTransitVirtualInterfaceCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
34
|
-
* const client = new DirectConnectClient(config);
|
|
35
|
-
* const command = new ConfirmTransitVirtualInterfaceCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ConfirmTransitVirtualInterfaceCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ConfirmTransitVirtualInterfaceCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class ConfirmTransitVirtualInterfaceCommand extends $Command<
|
|
45
|
-
ConfirmTransitVirtualInterfaceCommandInput,
|
|
46
|
-
ConfirmTransitVirtualInterfaceCommandOutput,
|
|
47
|
-
DirectConnectClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: ConfirmTransitVirtualInterfaceCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: DirectConnectClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<ConfirmTransitVirtualInterfaceCommandInput, ConfirmTransitVirtualInterfaceCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "DirectConnectClient";
|
|
72
|
-
const commandName = "ConfirmTransitVirtualInterfaceCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: ConfirmTransitVirtualInterfaceRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: ConfirmTransitVirtualInterfaceResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(
|
|
89
|
-
input: ConfirmTransitVirtualInterfaceCommandInput,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_1ConfirmTransitVirtualInterfaceCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<ConfirmTransitVirtualInterfaceCommandOutput> {
|
|
99
|
-
return deserializeAws_json1_1ConfirmTransitVirtualInterfaceCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import { CreateBGPPeerRequest, CreateBGPPeerResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateBGPPeerCommand,
|
|
5
|
-
serializeAws_json1_1CreateBGPPeerCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateBGPPeerCommandInput extends CreateBGPPeerRequest {}
|
|
21
|
-
export interface CreateBGPPeerCommandOutput extends CreateBGPPeerResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a BGP peer on the specified virtual interface.</p>
|
|
25
|
-
* <p>You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web Services resources that also use that address family.</p>
|
|
26
|
-
* <p>If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot
|
|
27
|
-
* be in the same address family as an existing BGP peer on the virtual interface.</p>
|
|
28
|
-
* <p>When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from
|
|
29
|
-
* the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.</p>
|
|
30
|
-
* <p>For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list for the virtual interface.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { DirectConnectClient, CreateBGPPeerCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
35
|
-
* // const { DirectConnectClient, CreateBGPPeerCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
36
|
-
* const client = new DirectConnectClient(config);
|
|
37
|
-
* const command = new CreateBGPPeerCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreateBGPPeerCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreateBGPPeerCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class CreateBGPPeerCommand extends $Command<
|
|
47
|
-
CreateBGPPeerCommandInput,
|
|
48
|
-
CreateBGPPeerCommandOutput,
|
|
49
|
-
DirectConnectClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: CreateBGPPeerCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: DirectConnectClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<CreateBGPPeerCommandInput, CreateBGPPeerCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "DirectConnectClient";
|
|
74
|
-
const commandName = "CreateBGPPeerCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: CreateBGPPeerRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: CreateBGPPeerResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: CreateBGPPeerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1CreateBGPPeerCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateBGPPeerCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1CreateBGPPeerCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import { Connection, CreateConnectionRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateConnectionCommand,
|
|
5
|
-
serializeAws_json1_1CreateConnectionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateConnectionCommandInput extends CreateConnectionRequest {}
|
|
21
|
-
export interface CreateConnectionCommandOutput extends Connection, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a connection between a customer network and a specific Direct Connect location.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic
|
|
27
|
-
* cable. One end of the cable is connected to your router, the other to an Direct Connect router.</p>
|
|
28
|
-
* <p>To find the locations for your Region, use <a>DescribeLocations</a>.</p>
|
|
29
|
-
* <p>You can automatically add the new connection to a link aggregation group (LAG) by
|
|
30
|
-
* specifying a LAG ID in the request. This ensures that the new connection is allocated on the
|
|
31
|
-
* same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint,
|
|
32
|
-
* the request fails and no connection is created.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { DirectConnectClient, CreateConnectionCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
37
|
-
* // const { DirectConnectClient, CreateConnectionCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
38
|
-
* const client = new DirectConnectClient(config);
|
|
39
|
-
* const command = new CreateConnectionCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link CreateConnectionCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link CreateConnectionCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class CreateConnectionCommand extends $Command<
|
|
49
|
-
CreateConnectionCommandInput,
|
|
50
|
-
CreateConnectionCommandOutput,
|
|
51
|
-
DirectConnectClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: CreateConnectionCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: DirectConnectClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<CreateConnectionCommandInput, CreateConnectionCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "DirectConnectClient";
|
|
76
|
-
const commandName = "CreateConnectionCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: CreateConnectionRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: Connection.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: CreateConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1CreateConnectionCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateConnectionCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1CreateConnectionCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import {
|
|
3
|
-
CreateDirectConnectGatewayAssociationRequest,
|
|
4
|
-
CreateDirectConnectGatewayAssociationResult,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1CreateDirectConnectGatewayAssociationCommand,
|
|
8
|
-
serializeAws_json1_1CreateDirectConnectGatewayAssociationCommand,
|
|
9
|
-
} from "../protocols/Aws_json1_1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface CreateDirectConnectGatewayAssociationCommandInput
|
|
24
|
-
extends CreateDirectConnectGatewayAssociationRequest {}
|
|
25
|
-
export interface CreateDirectConnectGatewayAssociationCommandOutput
|
|
26
|
-
extends CreateDirectConnectGatewayAssociationResult,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual
|
|
31
|
-
* private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { DirectConnectClient, CreateDirectConnectGatewayAssociationCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
36
|
-
* // const { DirectConnectClient, CreateDirectConnectGatewayAssociationCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
37
|
-
* const client = new DirectConnectClient(config);
|
|
38
|
-
* const command = new CreateDirectConnectGatewayAssociationCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link CreateDirectConnectGatewayAssociationCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link CreateDirectConnectGatewayAssociationCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class CreateDirectConnectGatewayAssociationCommand extends $Command<
|
|
48
|
-
CreateDirectConnectGatewayAssociationCommandInput,
|
|
49
|
-
CreateDirectConnectGatewayAssociationCommandOutput,
|
|
50
|
-
DirectConnectClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: CreateDirectConnectGatewayAssociationCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: DirectConnectClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<CreateDirectConnectGatewayAssociationCommandInput, CreateDirectConnectGatewayAssociationCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "DirectConnectClient";
|
|
75
|
-
const commandName = "CreateDirectConnectGatewayAssociationCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: CreateDirectConnectGatewayAssociationRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: CreateDirectConnectGatewayAssociationResult.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(
|
|
92
|
-
input: CreateDirectConnectGatewayAssociationCommandInput,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_json1_1CreateDirectConnectGatewayAssociationCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
): Promise<CreateDirectConnectGatewayAssociationCommandOutput> {
|
|
102
|
-
return deserializeAws_json1_1CreateDirectConnectGatewayAssociationCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import {
|
|
3
|
-
CreateDirectConnectGatewayAssociationProposalRequest,
|
|
4
|
-
CreateDirectConnectGatewayAssociationProposalResult,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand,
|
|
8
|
-
serializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand,
|
|
9
|
-
} from "../protocols/Aws_json1_1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface CreateDirectConnectGatewayAssociationProposalCommandInput
|
|
24
|
-
extends CreateDirectConnectGatewayAssociationProposalRequest {}
|
|
25
|
-
export interface CreateDirectConnectGatewayAssociationProposalCommandOutput
|
|
26
|
-
extends CreateDirectConnectGatewayAssociationProposalResult,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway.</p>
|
|
31
|
-
* <p>You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any account. </p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { DirectConnectClient, CreateDirectConnectGatewayAssociationProposalCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
36
|
-
* // const { DirectConnectClient, CreateDirectConnectGatewayAssociationProposalCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
37
|
-
* const client = new DirectConnectClient(config);
|
|
38
|
-
* const command = new CreateDirectConnectGatewayAssociationProposalCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link CreateDirectConnectGatewayAssociationProposalCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link CreateDirectConnectGatewayAssociationProposalCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class CreateDirectConnectGatewayAssociationProposalCommand extends $Command<
|
|
48
|
-
CreateDirectConnectGatewayAssociationProposalCommandInput,
|
|
49
|
-
CreateDirectConnectGatewayAssociationProposalCommandOutput,
|
|
50
|
-
DirectConnectClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: CreateDirectConnectGatewayAssociationProposalCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: DirectConnectClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<
|
|
69
|
-
CreateDirectConnectGatewayAssociationProposalCommandInput,
|
|
70
|
-
CreateDirectConnectGatewayAssociationProposalCommandOutput
|
|
71
|
-
> {
|
|
72
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
|
-
|
|
74
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
75
|
-
|
|
76
|
-
const { logger } = configuration;
|
|
77
|
-
const clientName = "DirectConnectClient";
|
|
78
|
-
const commandName = "CreateDirectConnectGatewayAssociationProposalCommand";
|
|
79
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
-
logger,
|
|
81
|
-
clientName,
|
|
82
|
-
commandName,
|
|
83
|
-
inputFilterSensitiveLog: CreateDirectConnectGatewayAssociationProposalRequest.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: CreateDirectConnectGatewayAssociationProposalResult.filterSensitiveLog,
|
|
85
|
-
};
|
|
86
|
-
const { requestHandler } = configuration;
|
|
87
|
-
return stack.resolve(
|
|
88
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
89
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
90
|
-
handlerExecutionContext
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private serialize(
|
|
95
|
-
input: CreateDirectConnectGatewayAssociationProposalCommandInput,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(
|
|
102
|
-
output: __HttpResponse,
|
|
103
|
-
context: __SerdeContext
|
|
104
|
-
): Promise<CreateDirectConnectGatewayAssociationProposalCommandOutput> {
|
|
105
|
-
return deserializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand(output, context);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// Start section: command_body_extra
|
|
109
|
-
// End section: command_body_extra
|
|
110
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import { CreateDirectConnectGatewayRequest, CreateDirectConnectGatewayResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateDirectConnectGatewayCommand,
|
|
5
|
-
serializeAws_json1_1CreateDirectConnectGatewayCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateDirectConnectGatewayCommandInput extends CreateDirectConnectGatewayRequest {}
|
|
21
|
-
export interface CreateDirectConnectGatewayCommandOutput extends CreateDirectConnectGatewayResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set
|
|
25
|
-
* of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any
|
|
26
|
-
* Region after it is created. The virtual interfaces and virtual private gateways that
|
|
27
|
-
* are connected through a Direct Connect gateway can be in different Regions. This enables you to
|
|
28
|
-
* connect to a VPC in any Region, regardless of the Region in which the virtual interfaces
|
|
29
|
-
* are located, and pass traffic between them.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { DirectConnectClient, CreateDirectConnectGatewayCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
34
|
-
* // const { DirectConnectClient, CreateDirectConnectGatewayCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
35
|
-
* const client = new DirectConnectClient(config);
|
|
36
|
-
* const command = new CreateDirectConnectGatewayCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link CreateDirectConnectGatewayCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link CreateDirectConnectGatewayCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class CreateDirectConnectGatewayCommand extends $Command<
|
|
46
|
-
CreateDirectConnectGatewayCommandInput,
|
|
47
|
-
CreateDirectConnectGatewayCommandOutput,
|
|
48
|
-
DirectConnectClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: CreateDirectConnectGatewayCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: DirectConnectClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<CreateDirectConnectGatewayCommandInput, CreateDirectConnectGatewayCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "DirectConnectClient";
|
|
73
|
-
const commandName = "CreateDirectConnectGatewayCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: CreateDirectConnectGatewayRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: CreateDirectConnectGatewayResult.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: CreateDirectConnectGatewayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1CreateDirectConnectGatewayCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(
|
|
94
|
-
output: __HttpResponse,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<CreateDirectConnectGatewayCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1CreateDirectConnectGatewayCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|