@aws-sdk/client-app-mesh 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}/AppMesh.js +0 -1
- package/{dist/cjs → dist-cjs}/AppMeshClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/CreateGatewayRouteCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateMeshCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateRouteCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateVirtualGatewayCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateVirtualNodeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateVirtualRouterCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateVirtualServiceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteGatewayRouteCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteMeshCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteRouteCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteVirtualGatewayCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteVirtualNodeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteVirtualRouterCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteVirtualServiceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeGatewayRouteCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeMeshCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeRouteCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeVirtualGatewayCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeVirtualNodeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeVirtualRouterCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeVirtualServiceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListGatewayRoutesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListMeshesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListRoutesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListVirtualGatewaysCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListVirtualNodesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListVirtualRoutersCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListVirtualServicesCommand.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/UpdateGatewayRouteCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateMeshCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateRouteCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateVirtualGatewayCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateVirtualNodeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateVirtualRouterCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateVirtualServiceCommand.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}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListGatewayRoutesPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListMeshesPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListRoutesPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListVirtualGatewaysPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListVirtualNodesPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListVirtualRoutersPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListVirtualServicesPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -7
- 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}/AppMesh.js +1 -17
- package/{dist/es → dist-es}/AppMeshClient.js +2 -23
- package/{dist/es → dist-es}/commands/CreateGatewayRouteCommand.js +4 -34
- package/{dist/es → dist-es}/commands/CreateMeshCommand.js +4 -35
- package/{dist/es → dist-es}/commands/CreateRouteCommand.js +4 -33
- package/{dist/es → dist-es}/commands/CreateVirtualGatewayCommand.js +4 -36
- package/dist-es/commands/CreateVirtualNodeCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateVirtualRouterCommand.js +4 -36
- package/{dist/es → dist-es}/commands/CreateVirtualServiceCommand.js +4 -36
- package/{dist/es → dist-es}/commands/DeleteGatewayRouteCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteMeshCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DeleteRouteCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteVirtualGatewayCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteVirtualNodeCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DeleteVirtualRouterCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DeleteVirtualServiceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeGatewayRouteCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeMeshCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeRouteCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeVirtualGatewayCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeVirtualNodeCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeVirtualRouterCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeVirtualServiceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListGatewayRoutesCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListMeshesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListRoutesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListVirtualGatewaysCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListVirtualNodesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListVirtualRoutersCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListVirtualServicesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateGatewayRouteCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateMeshCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateRouteCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateVirtualGatewayCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateVirtualNodeCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateVirtualRouterCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateVirtualServiceCommand.js +4 -30
- 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 -673
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListGatewayRoutesPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListMeshesPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListRoutesPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListVirtualGatewaysPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListVirtualNodesPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListVirtualRoutersPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListVirtualServicesPaginator.js +16 -29
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1405 -1411
- 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}/AppMesh.d.ts +1 -1
- package/{dist/types → dist-types}/AppMeshClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateGatewayRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateMeshCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateVirtualGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateVirtualNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateVirtualRouterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateVirtualServiceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteGatewayRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteMeshCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVirtualGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVirtualNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVirtualRouterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVirtualServiceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeGatewayRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeMeshCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeVirtualGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeVirtualNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeVirtualRouterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeVirtualServiceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListGatewayRoutesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListMeshesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRoutesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListVirtualGatewaysCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListVirtualNodesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListVirtualRoutersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListVirtualServicesCommand.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/UpdateGatewayRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateMeshCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateVirtualGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateVirtualNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateVirtualRouterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateVirtualServiceCommand.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}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListGatewayRoutesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListMeshesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRoutesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListVirtualGatewaysPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListVirtualNodesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListVirtualRoutersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListVirtualServicesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- 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/AppMesh.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/AppMeshClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CreateGatewayRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateMeshCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateVirtualGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateVirtualNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateVirtualRouterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateVirtualServiceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteGatewayRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteMeshCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualRouterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteVirtualServiceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeGatewayRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeMeshCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualRouterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeVirtualServiceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListGatewayRoutesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListMeshesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListRoutesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListVirtualGatewaysCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListVirtualNodesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListVirtualRoutersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListVirtualServicesCommand.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/UpdateGatewayRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateMeshCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateRouteCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualGatewayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualRouterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateVirtualServiceCommand.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/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListGatewayRoutesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListMeshesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRoutesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualGatewaysPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualNodesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualRoutersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualServicesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.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 +37 -36
- 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/AppMesh.ts +0 -1396
- package/AppMeshClient.ts +0 -412
- package/commands/CreateGatewayRouteCommand.ts +0 -98
- package/commands/CreateMeshCommand.ts +0 -99
- package/commands/CreateRouteCommand.ts +0 -97
- package/commands/CreateVirtualGatewayCommand.ts +0 -100
- package/commands/CreateVirtualNodeCommand.ts +0 -116
- package/commands/CreateVirtualRouterCommand.ts +0 -100
- package/commands/CreateVirtualServiceCommand.ts +0 -100
- package/commands/DeleteGatewayRouteCommand.ts +0 -94
- package/commands/DeleteMeshCommand.ts +0 -96
- package/commands/DeleteRouteCommand.ts +0 -94
- package/commands/DeleteVirtualGatewayCommand.ts +0 -95
- package/commands/DeleteVirtualNodeCommand.ts +0 -96
- package/commands/DeleteVirtualRouterCommand.ts +0 -96
- package/commands/DeleteVirtualServiceCommand.ts +0 -94
- package/commands/DescribeGatewayRouteCommand.ts +0 -94
- package/commands/DescribeMeshCommand.ts +0 -94
- package/commands/DescribeRouteCommand.ts +0 -94
- package/commands/DescribeVirtualGatewayCommand.ts +0 -94
- package/commands/DescribeVirtualNodeCommand.ts +0 -94
- package/commands/DescribeVirtualRouterCommand.ts +0 -94
- package/commands/DescribeVirtualServiceCommand.ts +0 -94
- package/commands/ListGatewayRoutesCommand.ts +0 -95
- package/commands/ListMeshesCommand.ts +0 -94
- package/commands/ListRoutesCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListVirtualGatewaysCommand.ts +0 -94
- package/commands/ListVirtualNodesCommand.ts +0 -94
- package/commands/ListVirtualRoutersCommand.ts +0 -94
- package/commands/ListVirtualServicesCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -97
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateGatewayRouteCommand.ts +0 -95
- package/commands/UpdateMeshCommand.ts +0 -94
- package/commands/UpdateRouteCommand.ts +0 -94
- package/commands/UpdateVirtualGatewayCommand.ts +0 -94
- package/commands/UpdateVirtualNodeCommand.ts +0 -94
- package/commands/UpdateVirtualRouterCommand.ts +0 -94
- package/commands/UpdateVirtualServiceCommand.ts +0 -94
- package/dist/cjs/AppMesh.js.map +0 -1
- package/dist/cjs/AppMeshClient.js.map +0 -1
- package/dist/cjs/commands/CreateGatewayRouteCommand.js.map +0 -1
- package/dist/cjs/commands/CreateMeshCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRouteCommand.js.map +0 -1
- package/dist/cjs/commands/CreateVirtualGatewayCommand.js.map +0 -1
- package/dist/cjs/commands/CreateVirtualNodeCommand.js.map +0 -1
- package/dist/cjs/commands/CreateVirtualRouterCommand.js.map +0 -1
- package/dist/cjs/commands/CreateVirtualServiceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGatewayRouteCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteMeshCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRouteCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVirtualGatewayCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVirtualNodeCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVirtualRouterCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVirtualServiceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeGatewayRouteCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeMeshCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRouteCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeVirtualGatewayCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeVirtualNodeCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeVirtualRouterCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeVirtualServiceCommand.js.map +0 -1
- package/dist/cjs/commands/ListGatewayRoutesCommand.js.map +0 -1
- package/dist/cjs/commands/ListMeshesCommand.js.map +0 -1
- package/dist/cjs/commands/ListRoutesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListVirtualGatewaysCommand.js.map +0 -1
- package/dist/cjs/commands/ListVirtualNodesCommand.js.map +0 -1
- package/dist/cjs/commands/ListVirtualRoutersCommand.js.map +0 -1
- package/dist/cjs/commands/ListVirtualServicesCommand.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/UpdateGatewayRouteCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateMeshCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRouteCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateVirtualGatewayCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateVirtualNodeCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateVirtualRouterCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateVirtualServiceCommand.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 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListGatewayRoutesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListMeshesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRoutesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/cjs/pagination/ListVirtualGatewaysPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListVirtualNodesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListVirtualRoutersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListVirtualServicesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.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/AppMesh.js.map +0 -1
- package/dist/es/AppMeshClient.js.map +0 -1
- package/dist/es/commands/CreateGatewayRouteCommand.js.map +0 -1
- package/dist/es/commands/CreateMeshCommand.js.map +0 -1
- package/dist/es/commands/CreateRouteCommand.js.map +0 -1
- package/dist/es/commands/CreateVirtualGatewayCommand.js.map +0 -1
- package/dist/es/commands/CreateVirtualNodeCommand.js +0 -87
- package/dist/es/commands/CreateVirtualNodeCommand.js.map +0 -1
- package/dist/es/commands/CreateVirtualRouterCommand.js.map +0 -1
- package/dist/es/commands/CreateVirtualServiceCommand.js.map +0 -1
- package/dist/es/commands/DeleteGatewayRouteCommand.js.map +0 -1
- package/dist/es/commands/DeleteMeshCommand.js.map +0 -1
- package/dist/es/commands/DeleteRouteCommand.js.map +0 -1
- package/dist/es/commands/DeleteVirtualGatewayCommand.js.map +0 -1
- package/dist/es/commands/DeleteVirtualNodeCommand.js.map +0 -1
- package/dist/es/commands/DeleteVirtualRouterCommand.js.map +0 -1
- package/dist/es/commands/DeleteVirtualServiceCommand.js.map +0 -1
- package/dist/es/commands/DescribeGatewayRouteCommand.js.map +0 -1
- package/dist/es/commands/DescribeMeshCommand.js.map +0 -1
- package/dist/es/commands/DescribeRouteCommand.js.map +0 -1
- package/dist/es/commands/DescribeVirtualGatewayCommand.js.map +0 -1
- package/dist/es/commands/DescribeVirtualNodeCommand.js.map +0 -1
- package/dist/es/commands/DescribeVirtualRouterCommand.js.map +0 -1
- package/dist/es/commands/DescribeVirtualServiceCommand.js.map +0 -1
- package/dist/es/commands/ListGatewayRoutesCommand.js.map +0 -1
- package/dist/es/commands/ListMeshesCommand.js.map +0 -1
- package/dist/es/commands/ListRoutesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListVirtualGatewaysCommand.js.map +0 -1
- package/dist/es/commands/ListVirtualNodesCommand.js.map +0 -1
- package/dist/es/commands/ListVirtualRoutersCommand.js.map +0 -1
- package/dist/es/commands/ListVirtualServicesCommand.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/UpdateGatewayRouteCommand.js.map +0 -1
- package/dist/es/commands/UpdateMeshCommand.js.map +0 -1
- package/dist/es/commands/UpdateRouteCommand.js.map +0 -1
- package/dist/es/commands/UpdateVirtualGatewayCommand.js.map +0 -1
- package/dist/es/commands/UpdateVirtualNodeCommand.js.map +0 -1
- package/dist/es/commands/UpdateVirtualRouterCommand.js.map +0 -1
- package/dist/es/commands/UpdateVirtualServiceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -51
- 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 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListGatewayRoutesPaginator.js.map +0 -1
- package/dist/es/pagination/ListMeshesPaginator.js.map +0 -1
- package/dist/es/pagination/ListRoutesPaginator.js.map +0 -1
- package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/es/pagination/ListVirtualGatewaysPaginator.js.map +0 -1
- package/dist/es/pagination/ListVirtualNodesPaginator.js.map +0 -1
- package/dist/es/pagination/ListVirtualRoutersPaginator.js.map +0 -1
- package/dist/es/pagination/ListVirtualServicesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.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 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -7391
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListGatewayRoutesPaginator.ts +0 -58
- package/pagination/ListMeshesPaginator.ts +0 -54
- package/pagination/ListRoutesPaginator.ts +0 -54
- package/pagination/ListTagsForResourcePaginator.ts +0 -58
- package/pagination/ListVirtualGatewaysPaginator.ts +0 -58
- package/pagination/ListVirtualNodesPaginator.ts +0 -58
- package/pagination/ListVirtualRoutersPaginator.ts +0 -58
- package/pagination/ListVirtualServicesPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -9671
- 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,96 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { DeleteMeshInput, DeleteMeshOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteMeshCommand,
|
|
5
|
-
serializeAws_restJson1DeleteMeshCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
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 DeleteMeshCommandInput extends DeleteMeshInput {}
|
|
21
|
-
export interface DeleteMeshCommandOutput extends DeleteMeshOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes an existing service mesh.</p>
|
|
25
|
-
* <p>You must delete all resources (virtual services, routes, virtual routers, and virtual
|
|
26
|
-
* nodes) in the service mesh before you can delete the mesh itself.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { AppMeshClient, DeleteMeshCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
31
|
-
* // const { AppMeshClient, DeleteMeshCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
32
|
-
* const client = new AppMeshClient(config);
|
|
33
|
-
* const command = new DeleteMeshCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeleteMeshCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeleteMeshCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeleteMeshCommand extends $Command<
|
|
43
|
-
DeleteMeshCommandInput,
|
|
44
|
-
DeleteMeshCommandOutput,
|
|
45
|
-
AppMeshClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeleteMeshCommandInput) {
|
|
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: AppMeshClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeleteMeshCommandInput, DeleteMeshCommandOutput> {
|
|
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 = "AppMeshClient";
|
|
70
|
-
const commandName = "DeleteMeshCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeleteMeshInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DeleteMeshOutput.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: DeleteMeshCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DeleteMeshCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteMeshCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1DeleteMeshCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { DeleteRouteInput, DeleteRouteOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteRouteCommand,
|
|
5
|
-
serializeAws_restJson1DeleteRouteCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
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 DeleteRouteCommandInput extends DeleteRouteInput {}
|
|
21
|
-
export interface DeleteRouteCommandOutput extends DeleteRouteOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes an existing route.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppMeshClient, DeleteRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
29
|
-
* // const { AppMeshClient, DeleteRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
30
|
-
* const client = new AppMeshClient(config);
|
|
31
|
-
* const command = new DeleteRouteCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteRouteCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteRouteCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteRouteCommand extends $Command<
|
|
41
|
-
DeleteRouteCommandInput,
|
|
42
|
-
DeleteRouteCommandOutput,
|
|
43
|
-
AppMeshClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteRouteCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppMeshClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteRouteCommandInput, DeleteRouteCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppMeshClient";
|
|
68
|
-
const commandName = "DeleteRouteCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteRouteInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteRouteOutput.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteRouteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteRouteCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRouteCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteRouteCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { DeleteVirtualGatewayInput, DeleteVirtualGatewayOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteVirtualGatewayCommand,
|
|
5
|
-
serializeAws_restJson1DeleteVirtualGatewayCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
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 DeleteVirtualGatewayCommandInput extends DeleteVirtualGatewayInput {}
|
|
21
|
-
export interface DeleteVirtualGatewayCommandOutput extends DeleteVirtualGatewayOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway
|
|
25
|
-
* routes are associated to it.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppMeshClient, DeleteVirtualGatewayCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
30
|
-
* // const { AppMeshClient, DeleteVirtualGatewayCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
31
|
-
* const client = new AppMeshClient(config);
|
|
32
|
-
* const command = new DeleteVirtualGatewayCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteVirtualGatewayCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteVirtualGatewayCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteVirtualGatewayCommand extends $Command<
|
|
42
|
-
DeleteVirtualGatewayCommandInput,
|
|
43
|
-
DeleteVirtualGatewayCommandOutput,
|
|
44
|
-
AppMeshClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteVirtualGatewayCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppMeshClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteVirtualGatewayCommandInput, DeleteVirtualGatewayCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppMeshClient";
|
|
69
|
-
const commandName = "DeleteVirtualGatewayCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteVirtualGatewayInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteVirtualGatewayOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteVirtualGatewayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteVirtualGatewayCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteVirtualGatewayCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteVirtualGatewayCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { DeleteVirtualNodeInput, DeleteVirtualNodeOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteVirtualNodeCommand,
|
|
5
|
-
serializeAws_restJson1DeleteVirtualNodeCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
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 DeleteVirtualNodeCommandInput extends DeleteVirtualNodeInput {}
|
|
21
|
-
export interface DeleteVirtualNodeCommandOutput extends DeleteVirtualNodeOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes an existing virtual node.</p>
|
|
25
|
-
* <p>You must delete any virtual services that list a virtual node as a service provider
|
|
26
|
-
* before you can delete the virtual node itself.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { AppMeshClient, DeleteVirtualNodeCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
31
|
-
* // const { AppMeshClient, DeleteVirtualNodeCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
32
|
-
* const client = new AppMeshClient(config);
|
|
33
|
-
* const command = new DeleteVirtualNodeCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeleteVirtualNodeCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeleteVirtualNodeCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeleteVirtualNodeCommand extends $Command<
|
|
43
|
-
DeleteVirtualNodeCommandInput,
|
|
44
|
-
DeleteVirtualNodeCommandOutput,
|
|
45
|
-
AppMeshClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeleteVirtualNodeCommandInput) {
|
|
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: AppMeshClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeleteVirtualNodeCommandInput, DeleteVirtualNodeCommandOutput> {
|
|
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 = "AppMeshClient";
|
|
70
|
-
const commandName = "DeleteVirtualNodeCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeleteVirtualNodeInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DeleteVirtualNodeOutput.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: DeleteVirtualNodeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DeleteVirtualNodeCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteVirtualNodeCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1DeleteVirtualNodeCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { DeleteVirtualRouterInput, DeleteVirtualRouterOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteVirtualRouterCommand,
|
|
5
|
-
serializeAws_restJson1DeleteVirtualRouterCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
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 DeleteVirtualRouterCommandInput extends DeleteVirtualRouterInput {}
|
|
21
|
-
export interface DeleteVirtualRouterCommandOutput extends DeleteVirtualRouterOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes an existing virtual router.</p>
|
|
25
|
-
* <p>You must delete any routes associated with the virtual router before you can delete the
|
|
26
|
-
* router itself.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { AppMeshClient, DeleteVirtualRouterCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
31
|
-
* // const { AppMeshClient, DeleteVirtualRouterCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
32
|
-
* const client = new AppMeshClient(config);
|
|
33
|
-
* const command = new DeleteVirtualRouterCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeleteVirtualRouterCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeleteVirtualRouterCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeleteVirtualRouterCommand extends $Command<
|
|
43
|
-
DeleteVirtualRouterCommandInput,
|
|
44
|
-
DeleteVirtualRouterCommandOutput,
|
|
45
|
-
AppMeshClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeleteVirtualRouterCommandInput) {
|
|
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: AppMeshClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeleteVirtualRouterCommandInput, DeleteVirtualRouterCommandOutput> {
|
|
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 = "AppMeshClient";
|
|
70
|
-
const commandName = "DeleteVirtualRouterCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeleteVirtualRouterInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DeleteVirtualRouterOutput.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: DeleteVirtualRouterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1DeleteVirtualRouterCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteVirtualRouterCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1DeleteVirtualRouterCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { DeleteVirtualServiceInput, DeleteVirtualServiceOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteVirtualServiceCommand,
|
|
5
|
-
serializeAws_restJson1DeleteVirtualServiceCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
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 DeleteVirtualServiceCommandInput extends DeleteVirtualServiceInput {}
|
|
21
|
-
export interface DeleteVirtualServiceCommandOutput extends DeleteVirtualServiceOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes an existing virtual service.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppMeshClient, DeleteVirtualServiceCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
29
|
-
* // const { AppMeshClient, DeleteVirtualServiceCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
30
|
-
* const client = new AppMeshClient(config);
|
|
31
|
-
* const command = new DeleteVirtualServiceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteVirtualServiceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteVirtualServiceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteVirtualServiceCommand extends $Command<
|
|
41
|
-
DeleteVirtualServiceCommandInput,
|
|
42
|
-
DeleteVirtualServiceCommandOutput,
|
|
43
|
-
AppMeshClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteVirtualServiceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppMeshClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteVirtualServiceCommandInput, DeleteVirtualServiceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppMeshClient";
|
|
68
|
-
const commandName = "DeleteVirtualServiceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteVirtualServiceInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteVirtualServiceOutput.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteVirtualServiceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteVirtualServiceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteVirtualServiceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteVirtualServiceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { DescribeGatewayRouteInput, DescribeGatewayRouteOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeGatewayRouteCommand,
|
|
5
|
-
serializeAws_restJson1DescribeGatewayRouteCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
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 DescribeGatewayRouteCommandInput extends DescribeGatewayRouteInput {}
|
|
21
|
-
export interface DescribeGatewayRouteCommandOutput extends DescribeGatewayRouteOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Describes an existing gateway route.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppMeshClient, DescribeGatewayRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
29
|
-
* // const { AppMeshClient, DescribeGatewayRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
30
|
-
* const client = new AppMeshClient(config);
|
|
31
|
-
* const command = new DescribeGatewayRouteCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeGatewayRouteCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeGatewayRouteCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeGatewayRouteCommand extends $Command<
|
|
41
|
-
DescribeGatewayRouteCommandInput,
|
|
42
|
-
DescribeGatewayRouteCommandOutput,
|
|
43
|
-
AppMeshClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeGatewayRouteCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppMeshClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DescribeGatewayRouteCommandInput, DescribeGatewayRouteCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppMeshClient";
|
|
68
|
-
const commandName = "DescribeGatewayRouteCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeGatewayRouteInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeGatewayRouteOutput.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DescribeGatewayRouteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DescribeGatewayRouteCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeGatewayRouteCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DescribeGatewayRouteCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|