@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,97 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1TagResourceCommand,
|
|
5
|
-
serializeAws_restJson1TagResourceCommand,
|
|
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 TagResourceCommandInput extends TagResourceInput {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
|
|
25
|
-
* If existing tags on a resource aren't specified in the request parameters, they aren't
|
|
26
|
-
* changed. When a resource is deleted, the tags associated with that resource are also
|
|
27
|
-
* deleted.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { AppMeshClient, TagResourceCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
32
|
-
* // const { AppMeshClient, TagResourceCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
33
|
-
* const client = new AppMeshClient(config);
|
|
34
|
-
* const command = new TagResourceCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class TagResourceCommand extends $Command<
|
|
44
|
-
TagResourceCommandInput,
|
|
45
|
-
TagResourceCommandOutput,
|
|
46
|
-
AppMeshClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
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: AppMeshClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
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 = "AppMeshClient";
|
|
71
|
-
const commandName = "TagResourceCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: TagResourceInput.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: TagResourceOutput.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UntagResourceCommand,
|
|
5
|
-
serializeAws_restJson1UntagResourceCommand,
|
|
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 UntagResourceCommandInput extends UntagResourceInput {}
|
|
21
|
-
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppMeshClient, UntagResourceCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
29
|
-
* // const { AppMeshClient, UntagResourceCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
30
|
-
* const client = new AppMeshClient(config);
|
|
31
|
-
* const command = new UntagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UntagResourceCommand extends $Command<
|
|
41
|
-
UntagResourceCommandInput,
|
|
42
|
-
UntagResourceCommandOutput,
|
|
43
|
-
AppMeshClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
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 = "UntagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UntagResourceInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UntagResourceOutput.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UntagResourceCommand(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 { UpdateGatewayRouteInput, UpdateGatewayRouteOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateGatewayRouteCommand,
|
|
5
|
-
serializeAws_restJson1UpdateGatewayRouteCommand,
|
|
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 UpdateGatewayRouteCommandInput extends UpdateGatewayRouteInput {}
|
|
21
|
-
export interface UpdateGatewayRouteCommandOutput extends UpdateGatewayRouteOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates an existing gateway route that is associated to a specified virtual gateway in a
|
|
25
|
-
* service mesh.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppMeshClient, UpdateGatewayRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
30
|
-
* // const { AppMeshClient, UpdateGatewayRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
31
|
-
* const client = new AppMeshClient(config);
|
|
32
|
-
* const command = new UpdateGatewayRouteCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateGatewayRouteCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateGatewayRouteCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateGatewayRouteCommand extends $Command<
|
|
42
|
-
UpdateGatewayRouteCommandInput,
|
|
43
|
-
UpdateGatewayRouteCommandOutput,
|
|
44
|
-
AppMeshClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateGatewayRouteCommandInput) {
|
|
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<UpdateGatewayRouteCommandInput, UpdateGatewayRouteCommandOutput> {
|
|
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 = "UpdateGatewayRouteCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateGatewayRouteInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateGatewayRouteOutput.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: UpdateGatewayRouteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateGatewayRouteCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateGatewayRouteCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateGatewayRouteCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
2
|
-
import { UpdateMeshInput, UpdateMeshOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateMeshCommand,
|
|
5
|
-
serializeAws_restJson1UpdateMeshCommand,
|
|
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 UpdateMeshCommandInput extends UpdateMeshInput {}
|
|
21
|
-
export interface UpdateMeshCommandOutput extends UpdateMeshOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates an existing service mesh.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppMeshClient, UpdateMeshCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
29
|
-
* // const { AppMeshClient, UpdateMeshCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
30
|
-
* const client = new AppMeshClient(config);
|
|
31
|
-
* const command = new UpdateMeshCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateMeshCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateMeshCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateMeshCommand extends $Command<
|
|
41
|
-
UpdateMeshCommandInput,
|
|
42
|
-
UpdateMeshCommandOutput,
|
|
43
|
-
AppMeshClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateMeshCommandInput) {
|
|
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<UpdateMeshCommandInput, UpdateMeshCommandOutput> {
|
|
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 = "UpdateMeshCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateMeshInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateMeshOutput.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: UpdateMeshCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UpdateMeshCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateMeshCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UpdateMeshCommand(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 { UpdateRouteInput, UpdateRouteOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateRouteCommand,
|
|
5
|
-
serializeAws_restJson1UpdateRouteCommand,
|
|
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 UpdateRouteCommandInput extends UpdateRouteInput {}
|
|
21
|
-
export interface UpdateRouteCommandOutput extends UpdateRouteOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates an existing route for a specified service mesh and virtual router.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppMeshClient, UpdateRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
29
|
-
* // const { AppMeshClient, UpdateRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
30
|
-
* const client = new AppMeshClient(config);
|
|
31
|
-
* const command = new UpdateRouteCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateRouteCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateRouteCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateRouteCommand extends $Command<
|
|
41
|
-
UpdateRouteCommandInput,
|
|
42
|
-
UpdateRouteCommandOutput,
|
|
43
|
-
AppMeshClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateRouteCommandInput) {
|
|
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<UpdateRouteCommandInput, UpdateRouteCommandOutput> {
|
|
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 = "UpdateRouteCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateRouteInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateRouteOutput.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: UpdateRouteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UpdateRouteCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateRouteCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UpdateRouteCommand(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 { UpdateVirtualGatewayInput, UpdateVirtualGatewayOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateVirtualGatewayCommand,
|
|
5
|
-
serializeAws_restJson1UpdateVirtualGatewayCommand,
|
|
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 UpdateVirtualGatewayCommandInput extends UpdateVirtualGatewayInput {}
|
|
21
|
-
export interface UpdateVirtualGatewayCommandOutput extends UpdateVirtualGatewayOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates an existing virtual gateway in a specified service mesh.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppMeshClient, UpdateVirtualGatewayCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
29
|
-
* // const { AppMeshClient, UpdateVirtualGatewayCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
30
|
-
* const client = new AppMeshClient(config);
|
|
31
|
-
* const command = new UpdateVirtualGatewayCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateVirtualGatewayCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateVirtualGatewayCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateVirtualGatewayCommand extends $Command<
|
|
41
|
-
UpdateVirtualGatewayCommandInput,
|
|
42
|
-
UpdateVirtualGatewayCommandOutput,
|
|
43
|
-
AppMeshClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateVirtualGatewayCommandInput) {
|
|
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<UpdateVirtualGatewayCommandInput, UpdateVirtualGatewayCommandOutput> {
|
|
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 = "UpdateVirtualGatewayCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateVirtualGatewayInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateVirtualGatewayOutput.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: UpdateVirtualGatewayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UpdateVirtualGatewayCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateVirtualGatewayCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UpdateVirtualGatewayCommand(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 { UpdateVirtualNodeInput, UpdateVirtualNodeOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateVirtualNodeCommand,
|
|
5
|
-
serializeAws_restJson1UpdateVirtualNodeCommand,
|
|
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 UpdateVirtualNodeCommandInput extends UpdateVirtualNodeInput {}
|
|
21
|
-
export interface UpdateVirtualNodeCommandOutput extends UpdateVirtualNodeOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates an existing virtual node in a specified service mesh.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppMeshClient, UpdateVirtualNodeCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
29
|
-
* // const { AppMeshClient, UpdateVirtualNodeCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
30
|
-
* const client = new AppMeshClient(config);
|
|
31
|
-
* const command = new UpdateVirtualNodeCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateVirtualNodeCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateVirtualNodeCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateVirtualNodeCommand extends $Command<
|
|
41
|
-
UpdateVirtualNodeCommandInput,
|
|
42
|
-
UpdateVirtualNodeCommandOutput,
|
|
43
|
-
AppMeshClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateVirtualNodeCommandInput) {
|
|
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<UpdateVirtualNodeCommandInput, UpdateVirtualNodeCommandOutput> {
|
|
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 = "UpdateVirtualNodeCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateVirtualNodeInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateVirtualNodeOutput.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: UpdateVirtualNodeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UpdateVirtualNodeCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateVirtualNodeCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UpdateVirtualNodeCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|