@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
package/pagination/Interfaces.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AppMesh } from "../AppMesh";
|
|
2
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
|
-
|
|
5
|
-
export interface AppMeshPaginationConfiguration extends PaginationConfiguration {
|
|
6
|
-
client: AppMesh | AppMeshClient;
|
|
7
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AppMesh } from "../AppMesh";
|
|
2
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
3
|
-
import {
|
|
4
|
-
ListGatewayRoutesCommand,
|
|
5
|
-
ListGatewayRoutesCommandInput,
|
|
6
|
-
ListGatewayRoutesCommandOutput,
|
|
7
|
-
} from "../commands/ListGatewayRoutesCommand";
|
|
8
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: AppMeshClient,
|
|
16
|
-
input: ListGatewayRoutesCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListGatewayRoutesCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListGatewayRoutesCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: AppMesh,
|
|
27
|
-
input: ListGatewayRoutesCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListGatewayRoutesCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listGatewayRoutes(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListGatewayRoutes(
|
|
34
|
-
config: AppMeshPaginationConfiguration,
|
|
35
|
-
input: ListGatewayRoutesCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListGatewayRoutesCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListGatewayRoutesCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["limit"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof AppMesh) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { AppMesh } from "../AppMesh";
|
|
2
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
3
|
-
import { ListMeshesCommand, ListMeshesCommandInput, ListMeshesCommandOutput } from "../commands/ListMeshesCommand";
|
|
4
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
5
|
-
import { Paginator } from "@aws-sdk/types";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
|
-
const makePagedClientRequest = async (
|
|
11
|
-
client: AppMeshClient,
|
|
12
|
-
input: ListMeshesCommandInput,
|
|
13
|
-
...args: any
|
|
14
|
-
): Promise<ListMeshesCommandOutput> => {
|
|
15
|
-
// @ts-ignore
|
|
16
|
-
return await client.send(new ListMeshesCommand(input), ...args);
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
*/
|
|
21
|
-
const makePagedRequest = async (
|
|
22
|
-
client: AppMesh,
|
|
23
|
-
input: ListMeshesCommandInput,
|
|
24
|
-
...args: any
|
|
25
|
-
): Promise<ListMeshesCommandOutput> => {
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
return await client.listMeshes(input, ...args);
|
|
28
|
-
};
|
|
29
|
-
export async function* paginateListMeshes(
|
|
30
|
-
config: AppMeshPaginationConfiguration,
|
|
31
|
-
input: ListMeshesCommandInput,
|
|
32
|
-
...additionalArguments: any
|
|
33
|
-
): Paginator<ListMeshesCommandOutput> {
|
|
34
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
35
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
36
|
-
let hasNext = true;
|
|
37
|
-
let page: ListMeshesCommandOutput;
|
|
38
|
-
while (hasNext) {
|
|
39
|
-
input.nextToken = token;
|
|
40
|
-
input["limit"] = config.pageSize;
|
|
41
|
-
if (config.client instanceof AppMesh) {
|
|
42
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
43
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
44
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
45
|
-
} else {
|
|
46
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
47
|
-
}
|
|
48
|
-
yield page;
|
|
49
|
-
token = page.nextToken;
|
|
50
|
-
hasNext = !!token;
|
|
51
|
-
}
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { AppMesh } from "../AppMesh";
|
|
2
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
3
|
-
import { ListRoutesCommand, ListRoutesCommandInput, ListRoutesCommandOutput } from "../commands/ListRoutesCommand";
|
|
4
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
5
|
-
import { Paginator } from "@aws-sdk/types";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
|
-
const makePagedClientRequest = async (
|
|
11
|
-
client: AppMeshClient,
|
|
12
|
-
input: ListRoutesCommandInput,
|
|
13
|
-
...args: any
|
|
14
|
-
): Promise<ListRoutesCommandOutput> => {
|
|
15
|
-
// @ts-ignore
|
|
16
|
-
return await client.send(new ListRoutesCommand(input), ...args);
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
*/
|
|
21
|
-
const makePagedRequest = async (
|
|
22
|
-
client: AppMesh,
|
|
23
|
-
input: ListRoutesCommandInput,
|
|
24
|
-
...args: any
|
|
25
|
-
): Promise<ListRoutesCommandOutput> => {
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
return await client.listRoutes(input, ...args);
|
|
28
|
-
};
|
|
29
|
-
export async function* paginateListRoutes(
|
|
30
|
-
config: AppMeshPaginationConfiguration,
|
|
31
|
-
input: ListRoutesCommandInput,
|
|
32
|
-
...additionalArguments: any
|
|
33
|
-
): Paginator<ListRoutesCommandOutput> {
|
|
34
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
35
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
36
|
-
let hasNext = true;
|
|
37
|
-
let page: ListRoutesCommandOutput;
|
|
38
|
-
while (hasNext) {
|
|
39
|
-
input.nextToken = token;
|
|
40
|
-
input["limit"] = config.pageSize;
|
|
41
|
-
if (config.client instanceof AppMesh) {
|
|
42
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
43
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
44
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
45
|
-
} else {
|
|
46
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
47
|
-
}
|
|
48
|
-
yield page;
|
|
49
|
-
token = page.nextToken;
|
|
50
|
-
hasNext = !!token;
|
|
51
|
-
}
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AppMesh } from "../AppMesh";
|
|
2
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
3
|
-
import {
|
|
4
|
-
ListTagsForResourceCommand,
|
|
5
|
-
ListTagsForResourceCommandInput,
|
|
6
|
-
ListTagsForResourceCommandOutput,
|
|
7
|
-
} from "../commands/ListTagsForResourceCommand";
|
|
8
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: AppMeshClient,
|
|
16
|
-
input: ListTagsForResourceCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListTagsForResourceCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListTagsForResourceCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: AppMesh,
|
|
27
|
-
input: ListTagsForResourceCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListTagsForResourceCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listTagsForResource(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListTagsForResource(
|
|
34
|
-
config: AppMeshPaginationConfiguration,
|
|
35
|
-
input: ListTagsForResourceCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListTagsForResourceCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListTagsForResourceCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["limit"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof AppMesh) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AppMesh } from "../AppMesh";
|
|
2
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
3
|
-
import {
|
|
4
|
-
ListVirtualGatewaysCommand,
|
|
5
|
-
ListVirtualGatewaysCommandInput,
|
|
6
|
-
ListVirtualGatewaysCommandOutput,
|
|
7
|
-
} from "../commands/ListVirtualGatewaysCommand";
|
|
8
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: AppMeshClient,
|
|
16
|
-
input: ListVirtualGatewaysCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListVirtualGatewaysCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListVirtualGatewaysCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: AppMesh,
|
|
27
|
-
input: ListVirtualGatewaysCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListVirtualGatewaysCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listVirtualGateways(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListVirtualGateways(
|
|
34
|
-
config: AppMeshPaginationConfiguration,
|
|
35
|
-
input: ListVirtualGatewaysCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListVirtualGatewaysCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListVirtualGatewaysCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["limit"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof AppMesh) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AppMesh } from "../AppMesh";
|
|
2
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
3
|
-
import {
|
|
4
|
-
ListVirtualNodesCommand,
|
|
5
|
-
ListVirtualNodesCommandInput,
|
|
6
|
-
ListVirtualNodesCommandOutput,
|
|
7
|
-
} from "../commands/ListVirtualNodesCommand";
|
|
8
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: AppMeshClient,
|
|
16
|
-
input: ListVirtualNodesCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListVirtualNodesCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListVirtualNodesCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: AppMesh,
|
|
27
|
-
input: ListVirtualNodesCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListVirtualNodesCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listVirtualNodes(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListVirtualNodes(
|
|
34
|
-
config: AppMeshPaginationConfiguration,
|
|
35
|
-
input: ListVirtualNodesCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListVirtualNodesCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListVirtualNodesCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["limit"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof AppMesh) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AppMesh } from "../AppMesh";
|
|
2
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
3
|
-
import {
|
|
4
|
-
ListVirtualRoutersCommand,
|
|
5
|
-
ListVirtualRoutersCommandInput,
|
|
6
|
-
ListVirtualRoutersCommandOutput,
|
|
7
|
-
} from "../commands/ListVirtualRoutersCommand";
|
|
8
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: AppMeshClient,
|
|
16
|
-
input: ListVirtualRoutersCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListVirtualRoutersCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListVirtualRoutersCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: AppMesh,
|
|
27
|
-
input: ListVirtualRoutersCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListVirtualRoutersCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listVirtualRouters(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListVirtualRouters(
|
|
34
|
-
config: AppMeshPaginationConfiguration,
|
|
35
|
-
input: ListVirtualRoutersCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListVirtualRoutersCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListVirtualRoutersCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["limit"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof AppMesh) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AppMesh } from "../AppMesh";
|
|
2
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
3
|
-
import {
|
|
4
|
-
ListVirtualServicesCommand,
|
|
5
|
-
ListVirtualServicesCommandInput,
|
|
6
|
-
ListVirtualServicesCommandOutput,
|
|
7
|
-
} from "../commands/ListVirtualServicesCommand";
|
|
8
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: AppMeshClient,
|
|
16
|
-
input: ListVirtualServicesCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListVirtualServicesCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListVirtualServicesCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: AppMesh,
|
|
27
|
-
input: ListVirtualServicesCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListVirtualServicesCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listVirtualServices(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListVirtualServices(
|
|
34
|
-
config: AppMeshPaginationConfiguration,
|
|
35
|
-
input: ListVirtualServicesCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListVirtualServicesCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListVirtualServicesCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["limit"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof AppMesh) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|