@aws-sdk/client-app-mesh 3.476.0 → 3.478.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/dist-cjs/pagination/ListGatewayRoutesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMeshesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRoutesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualGatewaysPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualNodesPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualRoutersPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualServicesPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +268 -593
- package/dist-es/pagination/ListGatewayRoutesPaginator.js +2 -23
- package/dist-es/pagination/ListMeshesPaginator.js +2 -23
- package/dist-es/pagination/ListRoutesPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-es/pagination/ListVirtualGatewaysPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualNodesPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualRoutersPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualServicesPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +269 -594
- package/dist-types/pagination/ListGatewayRoutesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMeshesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoutesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualGatewaysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualRoutersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualServicesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListGatewayRoutesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMeshesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRoutesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualGatewaysPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualNodesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualRoutersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualServicesPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGatewayRoutes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListGatewayRoutesCommand_1 = require("../commands/ListGatewayRoutesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListGatewayRoutesCommand_1.ListGatewayRoutesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListGatewayRoutes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListGatewayRoutes = paginateListGatewayRoutes;
|
|
7
|
+
exports.paginateListGatewayRoutes = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListGatewayRoutesCommand_1.ListGatewayRoutesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMeshes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListMeshesCommand_1 = require("../commands/ListMeshesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMeshesCommand_1.ListMeshesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMeshes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMeshes = paginateListMeshes;
|
|
7
|
+
exports.paginateListMeshes = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListMeshesCommand_1.ListMeshesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRoutes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListRoutesCommand_1 = require("../commands/ListRoutesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRoutesCommand_1.ListRoutesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRoutes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListRoutes = paginateListRoutes;
|
|
7
|
+
exports.paginateListRoutes = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListRoutesCommand_1.ListRoutesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTagsForResource = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTagsForResource(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTagsForResource = paginateListTagsForResource;
|
|
7
|
+
exports.paginateListTagsForResource = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVirtualGateways = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListVirtualGatewaysCommand_1 = require("../commands/ListVirtualGatewaysCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVirtualGatewaysCommand_1.ListVirtualGatewaysCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVirtualGateways(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListVirtualGateways = paginateListVirtualGateways;
|
|
7
|
+
exports.paginateListVirtualGateways = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListVirtualGatewaysCommand_1.ListVirtualGatewaysCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVirtualNodes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListVirtualNodesCommand_1 = require("../commands/ListVirtualNodesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVirtualNodesCommand_1.ListVirtualNodesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVirtualNodes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListVirtualNodes = paginateListVirtualNodes;
|
|
7
|
+
exports.paginateListVirtualNodes = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListVirtualNodesCommand_1.ListVirtualNodesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVirtualRouters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListVirtualRoutersCommand_1 = require("../commands/ListVirtualRoutersCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVirtualRoutersCommand_1.ListVirtualRoutersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVirtualRouters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListVirtualRouters = paginateListVirtualRouters;
|
|
7
|
+
exports.paginateListVirtualRouters = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListVirtualRoutersCommand_1.ListVirtualRoutersCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVirtualServices = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListVirtualServicesCommand_1 = require("../commands/ListVirtualServicesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVirtualServicesCommand_1.ListVirtualServicesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVirtualServices(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListVirtualServices = paginateListVirtualServices;
|
|
7
|
+
exports.paginateListVirtualServices = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListVirtualServicesCommand_1.ListVirtualServicesCommand, "nextToken", "nextToken", "limit");
|