@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,97 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import { Connection, DeleteConnectionRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteConnectionCommand,
|
|
5
|
-
serializeAws_json1_1DeleteConnectionCommand,
|
|
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 DeleteConnectionCommandInput extends DeleteConnectionRequest {}
|
|
21
|
-
export interface DeleteConnectionCommandOutput extends Connection, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the specified connection.</p>
|
|
25
|
-
* <p>Deleting a connection only stops the Direct Connect port hour and data transfer charges.
|
|
26
|
-
* If you are partnering with any third parties to connect with the Direct Connect location,
|
|
27
|
-
* you must cancel your service with them separately.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { DirectConnectClient, DeleteConnectionCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
32
|
-
* // const { DirectConnectClient, DeleteConnectionCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
33
|
-
* const client = new DirectConnectClient(config);
|
|
34
|
-
* const command = new DeleteConnectionCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DeleteConnectionCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DeleteConnectionCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DeleteConnectionCommand extends $Command<
|
|
44
|
-
DeleteConnectionCommandInput,
|
|
45
|
-
DeleteConnectionCommandOutput,
|
|
46
|
-
DirectConnectClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DeleteConnectionCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: DirectConnectClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DeleteConnectionCommandInput, DeleteConnectionCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "DirectConnectClient";
|
|
71
|
-
const commandName = "DeleteConnectionCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DeleteConnectionRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: Connection.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DeleteConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1DeleteConnectionCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteConnectionCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1DeleteConnectionCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import {
|
|
3
|
-
DeleteDirectConnectGatewayAssociationRequest,
|
|
4
|
-
DeleteDirectConnectGatewayAssociationResult,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand,
|
|
8
|
-
serializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand,
|
|
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 DeleteDirectConnectGatewayAssociationCommandInput
|
|
24
|
-
extends DeleteDirectConnectGatewayAssociationRequest {}
|
|
25
|
-
export interface DeleteDirectConnectGatewayAssociationCommandOutput
|
|
26
|
-
extends DeleteDirectConnectGatewayAssociationResult,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Deletes the association between the specified Direct Connect gateway and virtual private gateway.</p>
|
|
31
|
-
* <p>We recommend that you specify the <code>associationID</code> to delete the association. Alternatively, if you own virtual gateway and a Direct Connect gateway association, you can specify the <code>virtualGatewayId</code> and <code>directConnectGatewayId</code> to delete an association.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { DirectConnectClient, DeleteDirectConnectGatewayAssociationCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
36
|
-
* // const { DirectConnectClient, DeleteDirectConnectGatewayAssociationCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
37
|
-
* const client = new DirectConnectClient(config);
|
|
38
|
-
* const command = new DeleteDirectConnectGatewayAssociationCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DeleteDirectConnectGatewayAssociationCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DeleteDirectConnectGatewayAssociationCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DeleteDirectConnectGatewayAssociationCommand extends $Command<
|
|
48
|
-
DeleteDirectConnectGatewayAssociationCommandInput,
|
|
49
|
-
DeleteDirectConnectGatewayAssociationCommandOutput,
|
|
50
|
-
DirectConnectClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DeleteDirectConnectGatewayAssociationCommandInput) {
|
|
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<DeleteDirectConnectGatewayAssociationCommandInput, DeleteDirectConnectGatewayAssociationCommandOutput> {
|
|
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 = "DeleteDirectConnectGatewayAssociationCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DeleteDirectConnectGatewayAssociationRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: DeleteDirectConnectGatewayAssociationResult.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: DeleteDirectConnectGatewayAssociationCommandInput,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
): Promise<DeleteDirectConnectGatewayAssociationCommandOutput> {
|
|
102
|
-
return deserializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import {
|
|
3
|
-
DeleteDirectConnectGatewayAssociationProposalRequest,
|
|
4
|
-
DeleteDirectConnectGatewayAssociationProposalResult,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand,
|
|
8
|
-
serializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand,
|
|
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 DeleteDirectConnectGatewayAssociationProposalCommandInput
|
|
24
|
-
extends DeleteDirectConnectGatewayAssociationProposalRequest {}
|
|
25
|
-
export interface DeleteDirectConnectGatewayAssociationProposalCommandOutput
|
|
26
|
-
extends DeleteDirectConnectGatewayAssociationProposalResult,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Deletes the association proposal request between the specified Direct Connect gateway and virtual private gateway or transit gateway.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { DirectConnectClient, DeleteDirectConnectGatewayAssociationProposalCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
35
|
-
* // const { DirectConnectClient, DeleteDirectConnectGatewayAssociationProposalCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
36
|
-
* const client = new DirectConnectClient(config);
|
|
37
|
-
* const command = new DeleteDirectConnectGatewayAssociationProposalCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DeleteDirectConnectGatewayAssociationProposalCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DeleteDirectConnectGatewayAssociationProposalCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class DeleteDirectConnectGatewayAssociationProposalCommand extends $Command<
|
|
47
|
-
DeleteDirectConnectGatewayAssociationProposalCommandInput,
|
|
48
|
-
DeleteDirectConnectGatewayAssociationProposalCommandOutput,
|
|
49
|
-
DirectConnectClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: DeleteDirectConnectGatewayAssociationProposalCommandInput) {
|
|
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<
|
|
68
|
-
DeleteDirectConnectGatewayAssociationProposalCommandInput,
|
|
69
|
-
DeleteDirectConnectGatewayAssociationProposalCommandOutput
|
|
70
|
-
> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "DirectConnectClient";
|
|
77
|
-
const commandName = "DeleteDirectConnectGatewayAssociationProposalCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: DeleteDirectConnectGatewayAssociationProposalRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: DeleteDirectConnectGatewayAssociationProposalResult.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(
|
|
94
|
-
input: DeleteDirectConnectGatewayAssociationProposalCommandInput,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(
|
|
101
|
-
output: __HttpResponse,
|
|
102
|
-
context: __SerdeContext
|
|
103
|
-
): Promise<DeleteDirectConnectGatewayAssociationProposalCommandOutput> {
|
|
104
|
-
return deserializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import { DeleteDirectConnectGatewayRequest, DeleteDirectConnectGatewayResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteDirectConnectGatewayCommand,
|
|
5
|
-
serializeAws_json1_1DeleteDirectConnectGatewayCommand,
|
|
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 DeleteDirectConnectGatewayCommandInput extends DeleteDirectConnectGatewayRequest {}
|
|
21
|
-
export interface DeleteDirectConnectGatewayCommandOutput extends DeleteDirectConnectGatewayResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are
|
|
25
|
-
* attached to the Direct Connect gateway and disassociate all virtual private gateways associated
|
|
26
|
-
* with the Direct Connect gateway.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { DirectConnectClient, DeleteDirectConnectGatewayCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
31
|
-
* // const { DirectConnectClient, DeleteDirectConnectGatewayCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
32
|
-
* const client = new DirectConnectClient(config);
|
|
33
|
-
* const command = new DeleteDirectConnectGatewayCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeleteDirectConnectGatewayCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeleteDirectConnectGatewayCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeleteDirectConnectGatewayCommand extends $Command<
|
|
43
|
-
DeleteDirectConnectGatewayCommandInput,
|
|
44
|
-
DeleteDirectConnectGatewayCommandOutput,
|
|
45
|
-
DirectConnectClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeleteDirectConnectGatewayCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: DirectConnectClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeleteDirectConnectGatewayCommandInput, DeleteDirectConnectGatewayCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "DirectConnectClient";
|
|
70
|
-
const commandName = "DeleteDirectConnectGatewayCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeleteDirectConnectGatewayRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DeleteDirectConnectGatewayResult.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DeleteDirectConnectGatewayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1DeleteDirectConnectGatewayCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<DeleteDirectConnectGatewayCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1DeleteDirectConnectGatewayCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import { DeleteInterconnectRequest, DeleteInterconnectResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteInterconnectCommand,
|
|
5
|
-
serializeAws_json1_1DeleteInterconnectCommand,
|
|
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 DeleteInterconnectCommandInput extends DeleteInterconnectRequest {}
|
|
21
|
-
export interface DeleteInterconnectCommandOutput extends DeleteInterconnectResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the specified interconnect.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>Intended for use
|
|
27
|
-
* by Direct Connect Partners only.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { DirectConnectClient, DeleteInterconnectCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
33
|
-
* // const { DirectConnectClient, DeleteInterconnectCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
34
|
-
* const client = new DirectConnectClient(config);
|
|
35
|
-
* const command = new DeleteInterconnectCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link DeleteInterconnectCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link DeleteInterconnectCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class DeleteInterconnectCommand extends $Command<
|
|
45
|
-
DeleteInterconnectCommandInput,
|
|
46
|
-
DeleteInterconnectCommandOutput,
|
|
47
|
-
DirectConnectClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: DeleteInterconnectCommandInput) {
|
|
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<DeleteInterconnectCommandInput, DeleteInterconnectCommandOutput> {
|
|
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 = "DeleteInterconnectCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: DeleteInterconnectRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: DeleteInterconnectResponse.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(input: DeleteInterconnectCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1DeleteInterconnectCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteInterconnectCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1DeleteInterconnectCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
|
|
2
|
-
import { DeleteLagRequest, Lag } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1DeleteLagCommand, serializeAws_json1_1DeleteLagCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
import {
|
|
8
|
-
FinalizeHandlerArguments,
|
|
9
|
-
Handler,
|
|
10
|
-
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
|
-
MetadataBearer as __MetadataBearer,
|
|
14
|
-
SerdeContext as __SerdeContext,
|
|
15
|
-
} from "@aws-sdk/types";
|
|
16
|
-
|
|
17
|
-
export interface DeleteLagCommandInput extends DeleteLagRequest {}
|
|
18
|
-
export interface DeleteLagCommandOutput extends Lag, __MetadataBearer {}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* <p>Deletes the specified link aggregation group (LAG). You cannot delete a LAG if it has active
|
|
22
|
-
* virtual interfaces or hosted connections.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { DirectConnectClient, DeleteLagCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
|
|
27
|
-
* // const { DirectConnectClient, DeleteLagCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
|
|
28
|
-
* const client = new DirectConnectClient(config);
|
|
29
|
-
* const command = new DeleteLagCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link DeleteLagCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link DeleteLagCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link DirectConnectClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
export class DeleteLagCommand extends $Command<
|
|
39
|
-
DeleteLagCommandInput,
|
|
40
|
-
DeleteLagCommandOutput,
|
|
41
|
-
DirectConnectClientResolvedConfig
|
|
42
|
-
> {
|
|
43
|
-
// Start section: command_properties
|
|
44
|
-
// End section: command_properties
|
|
45
|
-
|
|
46
|
-
constructor(readonly input: DeleteLagCommandInput) {
|
|
47
|
-
// Start section: command_constructor
|
|
48
|
-
super();
|
|
49
|
-
// End section: command_constructor
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
|
-
resolveMiddleware(
|
|
56
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
57
|
-
configuration: DirectConnectClientResolvedConfig,
|
|
58
|
-
options?: __HttpHandlerOptions
|
|
59
|
-
): Handler<DeleteLagCommandInput, DeleteLagCommandOutput> {
|
|
60
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
61
|
-
|
|
62
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
63
|
-
|
|
64
|
-
const { logger } = configuration;
|
|
65
|
-
const clientName = "DirectConnectClient";
|
|
66
|
-
const commandName = "DeleteLagCommand";
|
|
67
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
68
|
-
logger,
|
|
69
|
-
clientName,
|
|
70
|
-
commandName,
|
|
71
|
-
inputFilterSensitiveLog: DeleteLagRequest.filterSensitiveLog,
|
|
72
|
-
outputFilterSensitiveLog: Lag.filterSensitiveLog,
|
|
73
|
-
};
|
|
74
|
-
const { requestHandler } = configuration;
|
|
75
|
-
return stack.resolve(
|
|
76
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
77
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
78
|
-
handlerExecutionContext
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
private serialize(input: DeleteLagCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
83
|
-
return serializeAws_json1_1DeleteLagCommand(input, context);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteLagCommandOutput> {
|
|
87
|
-
return deserializeAws_json1_1DeleteLagCommand(output, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Start section: command_body_extra
|
|
91
|
-
// End section: command_body_extra
|
|
92
|
-
}
|