@aws-sdk/client-app-mesh 3.35.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 +13 -0
- package/dist-cjs/AppMesh.js +0 -1
- package/dist-cjs/AppMeshClient.js +0 -1
- package/dist-cjs/commands/CreateGatewayRouteCommand.js +0 -1
- package/dist-cjs/commands/CreateMeshCommand.js +0 -1
- package/dist-cjs/commands/CreateRouteCommand.js +0 -1
- package/dist-cjs/commands/CreateVirtualGatewayCommand.js +0 -1
- package/dist-cjs/commands/CreateVirtualNodeCommand.js +0 -1
- package/dist-cjs/commands/CreateVirtualRouterCommand.js +0 -1
- package/dist-cjs/commands/CreateVirtualServiceCommand.js +0 -1
- package/dist-cjs/commands/DeleteGatewayRouteCommand.js +0 -1
- package/dist-cjs/commands/DeleteMeshCommand.js +0 -1
- package/dist-cjs/commands/DeleteRouteCommand.js +0 -1
- package/dist-cjs/commands/DeleteVirtualGatewayCommand.js +0 -1
- package/dist-cjs/commands/DeleteVirtualNodeCommand.js +0 -1
- package/dist-cjs/commands/DeleteVirtualRouterCommand.js +0 -1
- package/dist-cjs/commands/DeleteVirtualServiceCommand.js +0 -1
- package/dist-cjs/commands/DescribeGatewayRouteCommand.js +0 -1
- package/dist-cjs/commands/DescribeMeshCommand.js +0 -1
- package/dist-cjs/commands/DescribeRouteCommand.js +0 -1
- package/dist-cjs/commands/DescribeVirtualGatewayCommand.js +0 -1
- package/dist-cjs/commands/DescribeVirtualNodeCommand.js +0 -1
- package/dist-cjs/commands/DescribeVirtualRouterCommand.js +0 -1
- package/dist-cjs/commands/DescribeVirtualServiceCommand.js +0 -1
- package/dist-cjs/commands/ListGatewayRoutesCommand.js +0 -1
- package/dist-cjs/commands/ListMeshesCommand.js +0 -1
- package/dist-cjs/commands/ListRoutesCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListVirtualGatewaysCommand.js +0 -1
- package/dist-cjs/commands/ListVirtualNodesCommand.js +0 -1
- package/dist-cjs/commands/ListVirtualRoutersCommand.js +0 -1
- package/dist-cjs/commands/ListVirtualServicesCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateGatewayRouteCommand.js +0 -1
- package/dist-cjs/commands/UpdateMeshCommand.js +0 -1
- package/dist-cjs/commands/UpdateRouteCommand.js +0 -1
- package/dist-cjs/commands/UpdateVirtualGatewayCommand.js +0 -1
- package/dist-cjs/commands/UpdateVirtualNodeCommand.js +0 -1
- package/dist-cjs/commands/UpdateVirtualRouterCommand.js +0 -1
- package/dist-cjs/commands/UpdateVirtualServiceCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListGatewayRoutesPaginator.js +0 -1
- package/dist-cjs/pagination/ListMeshesPaginator.js +0 -1
- package/dist-cjs/pagination/ListRoutesPaginator.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-cjs/pagination/ListVirtualGatewaysPaginator.js +0 -1
- package/dist-cjs/pagination/ListVirtualNodesPaginator.js +0 -1
- package/dist-cjs/pagination/ListVirtualRoutersPaginator.js +0 -1
- package/dist-cjs/pagination/ListVirtualServicesPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/AppMesh.js +0 -1
- package/dist-es/AppMeshClient.js +0 -1
- package/dist-es/commands/CreateGatewayRouteCommand.js +0 -1
- package/dist-es/commands/CreateMeshCommand.js +0 -1
- package/dist-es/commands/CreateRouteCommand.js +0 -1
- package/dist-es/commands/CreateVirtualGatewayCommand.js +0 -1
- package/dist-es/commands/CreateVirtualNodeCommand.js +0 -1
- package/dist-es/commands/CreateVirtualRouterCommand.js +0 -1
- package/dist-es/commands/CreateVirtualServiceCommand.js +0 -1
- package/dist-es/commands/DeleteGatewayRouteCommand.js +0 -1
- package/dist-es/commands/DeleteMeshCommand.js +0 -1
- package/dist-es/commands/DeleteRouteCommand.js +0 -1
- package/dist-es/commands/DeleteVirtualGatewayCommand.js +0 -1
- package/dist-es/commands/DeleteVirtualNodeCommand.js +0 -1
- package/dist-es/commands/DeleteVirtualRouterCommand.js +0 -1
- package/dist-es/commands/DeleteVirtualServiceCommand.js +0 -1
- package/dist-es/commands/DescribeGatewayRouteCommand.js +0 -1
- package/dist-es/commands/DescribeMeshCommand.js +0 -1
- package/dist-es/commands/DescribeRouteCommand.js +0 -1
- package/dist-es/commands/DescribeVirtualGatewayCommand.js +0 -1
- package/dist-es/commands/DescribeVirtualNodeCommand.js +0 -1
- package/dist-es/commands/DescribeVirtualRouterCommand.js +0 -1
- package/dist-es/commands/DescribeVirtualServiceCommand.js +0 -1
- package/dist-es/commands/ListGatewayRoutesCommand.js +0 -1
- package/dist-es/commands/ListMeshesCommand.js +0 -1
- package/dist-es/commands/ListRoutesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListVirtualGatewaysCommand.js +0 -1
- package/dist-es/commands/ListVirtualNodesCommand.js +0 -1
- package/dist-es/commands/ListVirtualRoutersCommand.js +0 -1
- package/dist-es/commands/ListVirtualServicesCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateGatewayRouteCommand.js +0 -1
- package/dist-es/commands/UpdateMeshCommand.js +0 -1
- package/dist-es/commands/UpdateRouteCommand.js +0 -1
- package/dist-es/commands/UpdateVirtualGatewayCommand.js +0 -1
- package/dist-es/commands/UpdateVirtualNodeCommand.js +0 -1
- package/dist-es/commands/UpdateVirtualRouterCommand.js +0 -1
- package/dist-es/commands/UpdateVirtualServiceCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListGatewayRoutesPaginator.js +0 -1
- package/dist-es/pagination/ListMeshesPaginator.js +0 -1
- package/dist-es/pagination/ListRoutesPaginator.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/ListVirtualGatewaysPaginator.js +0 -1
- package/dist-es/pagination/ListVirtualNodesPaginator.js +0 -1
- package/dist-es/pagination/ListVirtualRoutersPaginator.js +0 -1
- package/dist-es/pagination/ListVirtualServicesPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- 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/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.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.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- 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/jest.config.js +0 -4
- package/src/AppMesh.ts +0 -1397
- package/src/AppMeshClient.ts +0 -413
- package/src/commands/CreateGatewayRouteCommand.ts +0 -99
- package/src/commands/CreateMeshCommand.ts +0 -100
- package/src/commands/CreateRouteCommand.ts +0 -98
- package/src/commands/CreateVirtualGatewayCommand.ts +0 -101
- package/src/commands/CreateVirtualNodeCommand.ts +0 -117
- package/src/commands/CreateVirtualRouterCommand.ts +0 -101
- package/src/commands/CreateVirtualServiceCommand.ts +0 -101
- package/src/commands/DeleteGatewayRouteCommand.ts +0 -95
- package/src/commands/DeleteMeshCommand.ts +0 -97
- package/src/commands/DeleteRouteCommand.ts +0 -95
- package/src/commands/DeleteVirtualGatewayCommand.ts +0 -96
- package/src/commands/DeleteVirtualNodeCommand.ts +0 -97
- package/src/commands/DeleteVirtualRouterCommand.ts +0 -97
- package/src/commands/DeleteVirtualServiceCommand.ts +0 -95
- package/src/commands/DescribeGatewayRouteCommand.ts +0 -95
- package/src/commands/DescribeMeshCommand.ts +0 -95
- package/src/commands/DescribeRouteCommand.ts +0 -95
- package/src/commands/DescribeVirtualGatewayCommand.ts +0 -95
- package/src/commands/DescribeVirtualNodeCommand.ts +0 -95
- package/src/commands/DescribeVirtualRouterCommand.ts +0 -95
- package/src/commands/DescribeVirtualServiceCommand.ts +0 -95
- package/src/commands/ListGatewayRoutesCommand.ts +0 -96
- package/src/commands/ListMeshesCommand.ts +0 -95
- package/src/commands/ListRoutesCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListVirtualGatewaysCommand.ts +0 -95
- package/src/commands/ListVirtualNodesCommand.ts +0 -95
- package/src/commands/ListVirtualRoutersCommand.ts +0 -95
- package/src/commands/ListVirtualServicesCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -98
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateGatewayRouteCommand.ts +0 -96
- package/src/commands/UpdateMeshCommand.ts +0 -95
- package/src/commands/UpdateRouteCommand.ts +0 -95
- package/src/commands/UpdateVirtualGatewayCommand.ts +0 -95
- package/src/commands/UpdateVirtualNodeCommand.ts +0 -95
- package/src/commands/UpdateVirtualRouterCommand.ts +0 -95
- package/src/commands/UpdateVirtualServiceCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -50
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -7391
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListGatewayRoutesPaginator.ts +0 -59
- package/src/pagination/ListMeshesPaginator.ts +0 -55
- package/src/pagination/ListRoutesPaginator.ts +0 -55
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/pagination/ListVirtualGatewaysPaginator.ts +0 -59
- package/src/pagination/ListVirtualNodesPaginator.ts +0 -59
- package/src/pagination/ListVirtualRoutersPaginator.ts +0 -59
- package/src/pagination/ListVirtualServicesPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -9672
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMesh } from "../AppMesh";
|
|
4
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
5
|
-
|
|
6
|
-
export interface AppMeshPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
-
client: AppMesh | AppMeshClient;
|
|
8
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMesh } from "../AppMesh";
|
|
4
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
5
|
-
import {
|
|
6
|
-
ListGatewayRoutesCommand,
|
|
7
|
-
ListGatewayRoutesCommandInput,
|
|
8
|
-
ListGatewayRoutesCommandOutput,
|
|
9
|
-
} from "../commands/ListGatewayRoutesCommand";
|
|
10
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AppMeshClient,
|
|
17
|
-
input: ListGatewayRoutesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListGatewayRoutesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListGatewayRoutesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AppMesh,
|
|
28
|
-
input: ListGatewayRoutesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListGatewayRoutesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listGatewayRoutes(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListGatewayRoutes(
|
|
35
|
-
config: AppMeshPaginationConfiguration,
|
|
36
|
-
input: ListGatewayRoutesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListGatewayRoutesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListGatewayRoutesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["limit"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AppMesh) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMesh } from "../AppMesh";
|
|
4
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
5
|
-
import { ListMeshesCommand, ListMeshesCommandInput, ListMeshesCommandOutput } from "../commands/ListMeshesCommand";
|
|
6
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: AppMeshClient,
|
|
13
|
-
input: ListMeshesCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListMeshesCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListMeshesCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: AppMesh,
|
|
24
|
-
input: ListMeshesCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListMeshesCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listMeshes(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListMeshes(
|
|
31
|
-
config: AppMeshPaginationConfiguration,
|
|
32
|
-
input: ListMeshesCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListMeshesCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListMeshesCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
input["limit"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof AppMesh) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.nextToken;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMesh } from "../AppMesh";
|
|
4
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
5
|
-
import { ListRoutesCommand, ListRoutesCommandInput, ListRoutesCommandOutput } from "../commands/ListRoutesCommand";
|
|
6
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: AppMeshClient,
|
|
13
|
-
input: ListRoutesCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListRoutesCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListRoutesCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: AppMesh,
|
|
24
|
-
input: ListRoutesCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListRoutesCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listRoutes(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListRoutes(
|
|
31
|
-
config: AppMeshPaginationConfiguration,
|
|
32
|
-
input: ListRoutesCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListRoutesCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListRoutesCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
input["limit"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof AppMesh) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.nextToken;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMesh } from "../AppMesh";
|
|
4
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
5
|
-
import {
|
|
6
|
-
ListTagsForResourceCommand,
|
|
7
|
-
ListTagsForResourceCommandInput,
|
|
8
|
-
ListTagsForResourceCommandOutput,
|
|
9
|
-
} from "../commands/ListTagsForResourceCommand";
|
|
10
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AppMeshClient,
|
|
17
|
-
input: ListTagsForResourceCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListTagsForResourceCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListTagsForResourceCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AppMesh,
|
|
28
|
-
input: ListTagsForResourceCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListTagsForResourceCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listTagsForResource(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListTagsForResource(
|
|
35
|
-
config: AppMeshPaginationConfiguration,
|
|
36
|
-
input: ListTagsForResourceCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListTagsForResourceCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListTagsForResourceCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["limit"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AppMesh) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMesh } from "../AppMesh";
|
|
4
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
5
|
-
import {
|
|
6
|
-
ListVirtualGatewaysCommand,
|
|
7
|
-
ListVirtualGatewaysCommandInput,
|
|
8
|
-
ListVirtualGatewaysCommandOutput,
|
|
9
|
-
} from "../commands/ListVirtualGatewaysCommand";
|
|
10
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AppMeshClient,
|
|
17
|
-
input: ListVirtualGatewaysCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListVirtualGatewaysCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListVirtualGatewaysCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AppMesh,
|
|
28
|
-
input: ListVirtualGatewaysCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListVirtualGatewaysCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listVirtualGateways(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListVirtualGateways(
|
|
35
|
-
config: AppMeshPaginationConfiguration,
|
|
36
|
-
input: ListVirtualGatewaysCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListVirtualGatewaysCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListVirtualGatewaysCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["limit"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AppMesh) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMesh } from "../AppMesh";
|
|
4
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
5
|
-
import {
|
|
6
|
-
ListVirtualNodesCommand,
|
|
7
|
-
ListVirtualNodesCommandInput,
|
|
8
|
-
ListVirtualNodesCommandOutput,
|
|
9
|
-
} from "../commands/ListVirtualNodesCommand";
|
|
10
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AppMeshClient,
|
|
17
|
-
input: ListVirtualNodesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListVirtualNodesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListVirtualNodesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AppMesh,
|
|
28
|
-
input: ListVirtualNodesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListVirtualNodesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listVirtualNodes(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListVirtualNodes(
|
|
35
|
-
config: AppMeshPaginationConfiguration,
|
|
36
|
-
input: ListVirtualNodesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListVirtualNodesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListVirtualNodesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["limit"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AppMesh) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMesh } from "../AppMesh";
|
|
4
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
5
|
-
import {
|
|
6
|
-
ListVirtualRoutersCommand,
|
|
7
|
-
ListVirtualRoutersCommandInput,
|
|
8
|
-
ListVirtualRoutersCommandOutput,
|
|
9
|
-
} from "../commands/ListVirtualRoutersCommand";
|
|
10
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AppMeshClient,
|
|
17
|
-
input: ListVirtualRoutersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListVirtualRoutersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListVirtualRoutersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AppMesh,
|
|
28
|
-
input: ListVirtualRoutersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListVirtualRoutersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listVirtualRouters(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListVirtualRouters(
|
|
35
|
-
config: AppMeshPaginationConfiguration,
|
|
36
|
-
input: ListVirtualRoutersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListVirtualRoutersCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListVirtualRoutersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["limit"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AppMesh) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMesh } from "../AppMesh";
|
|
4
|
-
import { AppMeshClient } from "../AppMeshClient";
|
|
5
|
-
import {
|
|
6
|
-
ListVirtualServicesCommand,
|
|
7
|
-
ListVirtualServicesCommandInput,
|
|
8
|
-
ListVirtualServicesCommandOutput,
|
|
9
|
-
} from "../commands/ListVirtualServicesCommand";
|
|
10
|
-
import { AppMeshPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AppMeshClient,
|
|
17
|
-
input: ListVirtualServicesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListVirtualServicesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListVirtualServicesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AppMesh,
|
|
28
|
-
input: ListVirtualServicesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListVirtualServicesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listVirtualServices(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListVirtualServices(
|
|
35
|
-
config: AppMeshPaginationConfiguration,
|
|
36
|
-
input: ListVirtualServicesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListVirtualServicesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListVirtualServicesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["limit"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AppMesh) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AppMeshClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|