@aws-sdk/client-app-mesh 3.975.0 → 3.980.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/index.js +27 -17
- package/dist-es/AppMesh.js +19 -1
- package/dist-types/AppMesh.d.ts +57 -1
- package/dist-types/ts3.4/AppMesh.d.ts +61 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -2455,6 +2455,22 @@ class UpdateVirtualServiceCommand extends smithyClient.Command
|
|
|
2455
2455
|
.build() {
|
|
2456
2456
|
}
|
|
2457
2457
|
|
|
2458
|
+
const paginateListGatewayRoutes = core.createPaginator(AppMeshClient, ListGatewayRoutesCommand, "nextToken", "nextToken", "limit");
|
|
2459
|
+
|
|
2460
|
+
const paginateListMeshes = core.createPaginator(AppMeshClient, ListMeshesCommand, "nextToken", "nextToken", "limit");
|
|
2461
|
+
|
|
2462
|
+
const paginateListRoutes = core.createPaginator(AppMeshClient, ListRoutesCommand, "nextToken", "nextToken", "limit");
|
|
2463
|
+
|
|
2464
|
+
const paginateListTagsForResource = core.createPaginator(AppMeshClient, ListTagsForResourceCommand, "nextToken", "nextToken", "limit");
|
|
2465
|
+
|
|
2466
|
+
const paginateListVirtualGateways = core.createPaginator(AppMeshClient, ListVirtualGatewaysCommand, "nextToken", "nextToken", "limit");
|
|
2467
|
+
|
|
2468
|
+
const paginateListVirtualNodes = core.createPaginator(AppMeshClient, ListVirtualNodesCommand, "nextToken", "nextToken", "limit");
|
|
2469
|
+
|
|
2470
|
+
const paginateListVirtualRouters = core.createPaginator(AppMeshClient, ListVirtualRoutersCommand, "nextToken", "nextToken", "limit");
|
|
2471
|
+
|
|
2472
|
+
const paginateListVirtualServices = core.createPaginator(AppMeshClient, ListVirtualServicesCommand, "nextToken", "nextToken", "limit");
|
|
2473
|
+
|
|
2458
2474
|
const commands = {
|
|
2459
2475
|
CreateGatewayRouteCommand,
|
|
2460
2476
|
CreateMeshCommand,
|
|
@@ -2495,25 +2511,19 @@ const commands = {
|
|
|
2495
2511
|
UpdateVirtualRouterCommand,
|
|
2496
2512
|
UpdateVirtualServiceCommand,
|
|
2497
2513
|
};
|
|
2514
|
+
const paginators = {
|
|
2515
|
+
paginateListGatewayRoutes,
|
|
2516
|
+
paginateListMeshes,
|
|
2517
|
+
paginateListRoutes,
|
|
2518
|
+
paginateListTagsForResource,
|
|
2519
|
+
paginateListVirtualGateways,
|
|
2520
|
+
paginateListVirtualNodes,
|
|
2521
|
+
paginateListVirtualRouters,
|
|
2522
|
+
paginateListVirtualServices,
|
|
2523
|
+
};
|
|
2498
2524
|
class AppMesh extends AppMeshClient {
|
|
2499
2525
|
}
|
|
2500
|
-
smithyClient.createAggregatedClient(commands, AppMesh);
|
|
2501
|
-
|
|
2502
|
-
const paginateListGatewayRoutes = core.createPaginator(AppMeshClient, ListGatewayRoutesCommand, "nextToken", "nextToken", "limit");
|
|
2503
|
-
|
|
2504
|
-
const paginateListMeshes = core.createPaginator(AppMeshClient, ListMeshesCommand, "nextToken", "nextToken", "limit");
|
|
2505
|
-
|
|
2506
|
-
const paginateListRoutes = core.createPaginator(AppMeshClient, ListRoutesCommand, "nextToken", "nextToken", "limit");
|
|
2507
|
-
|
|
2508
|
-
const paginateListTagsForResource = core.createPaginator(AppMeshClient, ListTagsForResourceCommand, "nextToken", "nextToken", "limit");
|
|
2509
|
-
|
|
2510
|
-
const paginateListVirtualGateways = core.createPaginator(AppMeshClient, ListVirtualGatewaysCommand, "nextToken", "nextToken", "limit");
|
|
2511
|
-
|
|
2512
|
-
const paginateListVirtualNodes = core.createPaginator(AppMeshClient, ListVirtualNodesCommand, "nextToken", "nextToken", "limit");
|
|
2513
|
-
|
|
2514
|
-
const paginateListVirtualRouters = core.createPaginator(AppMeshClient, ListVirtualRoutersCommand, "nextToken", "nextToken", "limit");
|
|
2515
|
-
|
|
2516
|
-
const paginateListVirtualServices = core.createPaginator(AppMeshClient, ListVirtualServicesCommand, "nextToken", "nextToken", "limit");
|
|
2526
|
+
smithyClient.createAggregatedClient(commands, AppMesh, { paginators });
|
|
2517
2527
|
|
|
2518
2528
|
const EgressFilterType = {
|
|
2519
2529
|
ALLOW_ALL: "ALLOW_ALL",
|
package/dist-es/AppMesh.js
CHANGED
|
@@ -38,6 +38,14 @@ import { UpdateVirtualGatewayCommand, } from "./commands/UpdateVirtualGatewayCom
|
|
|
38
38
|
import { UpdateVirtualNodeCommand, } from "./commands/UpdateVirtualNodeCommand";
|
|
39
39
|
import { UpdateVirtualRouterCommand, } from "./commands/UpdateVirtualRouterCommand";
|
|
40
40
|
import { UpdateVirtualServiceCommand, } from "./commands/UpdateVirtualServiceCommand";
|
|
41
|
+
import { paginateListGatewayRoutes } from "./pagination/ListGatewayRoutesPaginator";
|
|
42
|
+
import { paginateListMeshes } from "./pagination/ListMeshesPaginator";
|
|
43
|
+
import { paginateListRoutes } from "./pagination/ListRoutesPaginator";
|
|
44
|
+
import { paginateListTagsForResource } from "./pagination/ListTagsForResourcePaginator";
|
|
45
|
+
import { paginateListVirtualGateways } from "./pagination/ListVirtualGatewaysPaginator";
|
|
46
|
+
import { paginateListVirtualNodes } from "./pagination/ListVirtualNodesPaginator";
|
|
47
|
+
import { paginateListVirtualRouters } from "./pagination/ListVirtualRoutersPaginator";
|
|
48
|
+
import { paginateListVirtualServices } from "./pagination/ListVirtualServicesPaginator";
|
|
41
49
|
const commands = {
|
|
42
50
|
CreateGatewayRouteCommand,
|
|
43
51
|
CreateMeshCommand,
|
|
@@ -78,6 +86,16 @@ const commands = {
|
|
|
78
86
|
UpdateVirtualRouterCommand,
|
|
79
87
|
UpdateVirtualServiceCommand,
|
|
80
88
|
};
|
|
89
|
+
const paginators = {
|
|
90
|
+
paginateListGatewayRoutes,
|
|
91
|
+
paginateListMeshes,
|
|
92
|
+
paginateListRoutes,
|
|
93
|
+
paginateListTagsForResource,
|
|
94
|
+
paginateListVirtualGateways,
|
|
95
|
+
paginateListVirtualNodes,
|
|
96
|
+
paginateListVirtualRouters,
|
|
97
|
+
paginateListVirtualServices,
|
|
98
|
+
};
|
|
81
99
|
export class AppMesh extends AppMeshClient {
|
|
82
100
|
}
|
|
83
|
-
createAggregatedClient(commands, AppMesh);
|
|
101
|
+
createAggregatedClient(commands, AppMesh, { paginators });
|
package/dist-types/AppMesh.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AppMeshClient } from "./AppMeshClient";
|
|
3
3
|
import { CreateGatewayRouteCommandInput, CreateGatewayRouteCommandOutput } from "./commands/CreateGatewayRouteCommand";
|
|
4
4
|
import { CreateMeshCommandInput, CreateMeshCommandOutput } from "./commands/CreateMeshCommand";
|
|
@@ -268,6 +268,62 @@ export interface AppMesh {
|
|
|
268
268
|
updateVirtualService(args: UpdateVirtualServiceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVirtualServiceCommandOutput>;
|
|
269
269
|
updateVirtualService(args: UpdateVirtualServiceCommandInput, cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void): void;
|
|
270
270
|
updateVirtualService(args: UpdateVirtualServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void): void;
|
|
271
|
+
/**
|
|
272
|
+
* @see {@link ListGatewayRoutesCommand}
|
|
273
|
+
* @param args - command input.
|
|
274
|
+
* @param paginationConfig - optional pagination config.
|
|
275
|
+
* @returns AsyncIterable of {@link ListGatewayRoutesCommandOutput}.
|
|
276
|
+
*/
|
|
277
|
+
paginateListGatewayRoutes(args: ListGatewayRoutesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGatewayRoutesCommandOutput>;
|
|
278
|
+
/**
|
|
279
|
+
* @see {@link ListMeshesCommand}
|
|
280
|
+
* @param args - command input.
|
|
281
|
+
* @param paginationConfig - optional pagination config.
|
|
282
|
+
* @returns AsyncIterable of {@link ListMeshesCommandOutput}.
|
|
283
|
+
*/
|
|
284
|
+
paginateListMeshes(args?: ListMeshesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMeshesCommandOutput>;
|
|
285
|
+
/**
|
|
286
|
+
* @see {@link ListRoutesCommand}
|
|
287
|
+
* @param args - command input.
|
|
288
|
+
* @param paginationConfig - optional pagination config.
|
|
289
|
+
* @returns AsyncIterable of {@link ListRoutesCommandOutput}.
|
|
290
|
+
*/
|
|
291
|
+
paginateListRoutes(args: ListRoutesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRoutesCommandOutput>;
|
|
292
|
+
/**
|
|
293
|
+
* @see {@link ListTagsForResourceCommand}
|
|
294
|
+
* @param args - command input.
|
|
295
|
+
* @param paginationConfig - optional pagination config.
|
|
296
|
+
* @returns AsyncIterable of {@link ListTagsForResourceCommandOutput}.
|
|
297
|
+
*/
|
|
298
|
+
paginateListTagsForResource(args: ListTagsForResourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTagsForResourceCommandOutput>;
|
|
299
|
+
/**
|
|
300
|
+
* @see {@link ListVirtualGatewaysCommand}
|
|
301
|
+
* @param args - command input.
|
|
302
|
+
* @param paginationConfig - optional pagination config.
|
|
303
|
+
* @returns AsyncIterable of {@link ListVirtualGatewaysCommandOutput}.
|
|
304
|
+
*/
|
|
305
|
+
paginateListVirtualGateways(args: ListVirtualGatewaysCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVirtualGatewaysCommandOutput>;
|
|
306
|
+
/**
|
|
307
|
+
* @see {@link ListVirtualNodesCommand}
|
|
308
|
+
* @param args - command input.
|
|
309
|
+
* @param paginationConfig - optional pagination config.
|
|
310
|
+
* @returns AsyncIterable of {@link ListVirtualNodesCommandOutput}.
|
|
311
|
+
*/
|
|
312
|
+
paginateListVirtualNodes(args: ListVirtualNodesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVirtualNodesCommandOutput>;
|
|
313
|
+
/**
|
|
314
|
+
* @see {@link ListVirtualRoutersCommand}
|
|
315
|
+
* @param args - command input.
|
|
316
|
+
* @param paginationConfig - optional pagination config.
|
|
317
|
+
* @returns AsyncIterable of {@link ListVirtualRoutersCommandOutput}.
|
|
318
|
+
*/
|
|
319
|
+
paginateListVirtualRouters(args: ListVirtualRoutersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVirtualRoutersCommandOutput>;
|
|
320
|
+
/**
|
|
321
|
+
* @see {@link ListVirtualServicesCommand}
|
|
322
|
+
* @param args - command input.
|
|
323
|
+
* @param paginationConfig - optional pagination config.
|
|
324
|
+
* @returns AsyncIterable of {@link ListVirtualServicesCommandOutput}.
|
|
325
|
+
*/
|
|
326
|
+
paginateListVirtualServices(args: ListVirtualServicesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVirtualServicesCommandOutput>;
|
|
271
327
|
}
|
|
272
328
|
/**
|
|
273
329
|
* <p>App Mesh is a service mesh based on the Envoy proxy that makes it easy to
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { AppMeshClient } from "./AppMeshClient";
|
|
3
7
|
import {
|
|
4
8
|
CreateGatewayRouteCommandInput,
|
|
@@ -648,5 +652,61 @@ export interface AppMesh {
|
|
|
648
652
|
options: __HttpHandlerOptions,
|
|
649
653
|
cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void
|
|
650
654
|
): void;
|
|
655
|
+
paginateListGatewayRoutes(
|
|
656
|
+
args: ListGatewayRoutesCommandInput,
|
|
657
|
+
paginationConfig?: Pick<
|
|
658
|
+
PaginationConfiguration,
|
|
659
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
660
|
+
>
|
|
661
|
+
): Paginator<ListGatewayRoutesCommandOutput>;
|
|
662
|
+
paginateListMeshes(
|
|
663
|
+
args?: ListMeshesCommandInput,
|
|
664
|
+
paginationConfig?: Pick<
|
|
665
|
+
PaginationConfiguration,
|
|
666
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
667
|
+
>
|
|
668
|
+
): Paginator<ListMeshesCommandOutput>;
|
|
669
|
+
paginateListRoutes(
|
|
670
|
+
args: ListRoutesCommandInput,
|
|
671
|
+
paginationConfig?: Pick<
|
|
672
|
+
PaginationConfiguration,
|
|
673
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
674
|
+
>
|
|
675
|
+
): Paginator<ListRoutesCommandOutput>;
|
|
676
|
+
paginateListTagsForResource(
|
|
677
|
+
args: ListTagsForResourceCommandInput,
|
|
678
|
+
paginationConfig?: Pick<
|
|
679
|
+
PaginationConfiguration,
|
|
680
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
681
|
+
>
|
|
682
|
+
): Paginator<ListTagsForResourceCommandOutput>;
|
|
683
|
+
paginateListVirtualGateways(
|
|
684
|
+
args: ListVirtualGatewaysCommandInput,
|
|
685
|
+
paginationConfig?: Pick<
|
|
686
|
+
PaginationConfiguration,
|
|
687
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
688
|
+
>
|
|
689
|
+
): Paginator<ListVirtualGatewaysCommandOutput>;
|
|
690
|
+
paginateListVirtualNodes(
|
|
691
|
+
args: ListVirtualNodesCommandInput,
|
|
692
|
+
paginationConfig?: Pick<
|
|
693
|
+
PaginationConfiguration,
|
|
694
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
695
|
+
>
|
|
696
|
+
): Paginator<ListVirtualNodesCommandOutput>;
|
|
697
|
+
paginateListVirtualRouters(
|
|
698
|
+
args: ListVirtualRoutersCommandInput,
|
|
699
|
+
paginationConfig?: Pick<
|
|
700
|
+
PaginationConfiguration,
|
|
701
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
702
|
+
>
|
|
703
|
+
): Paginator<ListVirtualRoutersCommandOutput>;
|
|
704
|
+
paginateListVirtualServices(
|
|
705
|
+
args: ListVirtualServicesCommandInput,
|
|
706
|
+
paginationConfig?: Pick<
|
|
707
|
+
PaginationConfiguration,
|
|
708
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
709
|
+
>
|
|
710
|
+
): Paginator<ListVirtualServicesCommandOutput>;
|
|
651
711
|
}
|
|
652
712
|
export declare class AppMesh extends AppMeshClient implements AppMesh {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-app-mesh",
|
|
3
3
|
"description": "AWS SDK for JavaScript App Mesh Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-app-mesh",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|