@aws-sdk/client-tnb 3.975.0 → 3.978.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 CHANGED
@@ -1481,6 +1481,16 @@ class ValidateSolNetworkPackageContentCommand extends smithyClient.Command
1481
1481
  .build() {
1482
1482
  }
1483
1483
 
1484
+ const paginateListSolFunctionInstances = core.createPaginator(TnbClient, ListSolFunctionInstancesCommand, "nextToken", "nextToken", "maxResults");
1485
+
1486
+ const paginateListSolFunctionPackages = core.createPaginator(TnbClient, ListSolFunctionPackagesCommand, "nextToken", "nextToken", "maxResults");
1487
+
1488
+ const paginateListSolNetworkInstances = core.createPaginator(TnbClient, ListSolNetworkInstancesCommand, "nextToken", "nextToken", "maxResults");
1489
+
1490
+ const paginateListSolNetworkOperations = core.createPaginator(TnbClient, ListSolNetworkOperationsCommand, "nextToken", "nextToken", "maxResults");
1491
+
1492
+ const paginateListSolNetworkPackages = core.createPaginator(TnbClient, ListSolNetworkPackagesCommand, "nextToken", "nextToken", "maxResults");
1493
+
1484
1494
  const commands = {
1485
1495
  CancelSolNetworkOperationCommand,
1486
1496
  CreateSolFunctionPackageCommand,
@@ -1516,19 +1526,16 @@ const commands = {
1516
1526
  ValidateSolFunctionPackageContentCommand,
1517
1527
  ValidateSolNetworkPackageContentCommand,
1518
1528
  };
1529
+ const paginators = {
1530
+ paginateListSolFunctionInstances,
1531
+ paginateListSolFunctionPackages,
1532
+ paginateListSolNetworkInstances,
1533
+ paginateListSolNetworkOperations,
1534
+ paginateListSolNetworkPackages,
1535
+ };
1519
1536
  class Tnb extends TnbClient {
1520
1537
  }
1521
- smithyClient.createAggregatedClient(commands, Tnb);
1522
-
1523
- const paginateListSolFunctionInstances = core.createPaginator(TnbClient, ListSolFunctionInstancesCommand, "nextToken", "nextToken", "maxResults");
1524
-
1525
- const paginateListSolFunctionPackages = core.createPaginator(TnbClient, ListSolFunctionPackagesCommand, "nextToken", "nextToken", "maxResults");
1526
-
1527
- const paginateListSolNetworkInstances = core.createPaginator(TnbClient, ListSolNetworkInstancesCommand, "nextToken", "nextToken", "maxResults");
1528
-
1529
- const paginateListSolNetworkOperations = core.createPaginator(TnbClient, ListSolNetworkOperationsCommand, "nextToken", "nextToken", "maxResults");
1530
-
1531
- const paginateListSolNetworkPackages = core.createPaginator(TnbClient, ListSolNetworkPackagesCommand, "nextToken", "nextToken", "maxResults");
1538
+ smithyClient.createAggregatedClient(commands, Tnb, { paginators });
1532
1539
 
1533
1540
  const OnboardingState = {
1534
1541
  CREATED: "CREATED",
package/dist-es/Tnb.js CHANGED
@@ -32,6 +32,11 @@ import { UpdateSolNetworkInstanceCommand, } from "./commands/UpdateSolNetworkIns
32
32
  import { UpdateSolNetworkPackageCommand, } from "./commands/UpdateSolNetworkPackageCommand";
33
33
  import { ValidateSolFunctionPackageContentCommand, } from "./commands/ValidateSolFunctionPackageContentCommand";
34
34
  import { ValidateSolNetworkPackageContentCommand, } from "./commands/ValidateSolNetworkPackageContentCommand";
35
+ import { paginateListSolFunctionInstances } from "./pagination/ListSolFunctionInstancesPaginator";
36
+ import { paginateListSolFunctionPackages } from "./pagination/ListSolFunctionPackagesPaginator";
37
+ import { paginateListSolNetworkInstances } from "./pagination/ListSolNetworkInstancesPaginator";
38
+ import { paginateListSolNetworkOperations } from "./pagination/ListSolNetworkOperationsPaginator";
39
+ import { paginateListSolNetworkPackages } from "./pagination/ListSolNetworkPackagesPaginator";
35
40
  import { TnbClient } from "./TnbClient";
36
41
  const commands = {
37
42
  CancelSolNetworkOperationCommand,
@@ -68,6 +73,13 @@ const commands = {
68
73
  ValidateSolFunctionPackageContentCommand,
69
74
  ValidateSolNetworkPackageContentCommand,
70
75
  };
76
+ const paginators = {
77
+ paginateListSolFunctionInstances,
78
+ paginateListSolFunctionPackages,
79
+ paginateListSolNetworkInstances,
80
+ paginateListSolNetworkOperations,
81
+ paginateListSolNetworkPackages,
82
+ };
71
83
  export class Tnb extends TnbClient {
72
84
  }
73
- createAggregatedClient(commands, Tnb);
85
+ createAggregatedClient(commands, Tnb, { paginators });
@@ -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 { CancelSolNetworkOperationCommandInput, CancelSolNetworkOperationCommandOutput } from "./commands/CancelSolNetworkOperationCommand";
3
3
  import { CreateSolFunctionPackageCommandInput, CreateSolFunctionPackageCommandOutput } from "./commands/CreateSolFunctionPackageCommand";
4
4
  import { CreateSolNetworkInstanceCommandInput, CreateSolNetworkInstanceCommandOutput } from "./commands/CreateSolNetworkInstanceCommand";
@@ -239,6 +239,41 @@ export interface Tnb {
239
239
  validateSolNetworkPackageContent(args: ValidateSolNetworkPackageContentCommandInput, options?: __HttpHandlerOptions): Promise<ValidateSolNetworkPackageContentCommandOutput>;
240
240
  validateSolNetworkPackageContent(args: ValidateSolNetworkPackageContentCommandInput, cb: (err: any, data?: ValidateSolNetworkPackageContentCommandOutput) => void): void;
241
241
  validateSolNetworkPackageContent(args: ValidateSolNetworkPackageContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidateSolNetworkPackageContentCommandOutput) => void): void;
242
+ /**
243
+ * @see {@link ListSolFunctionInstancesCommand}
244
+ * @param args - command input.
245
+ * @param paginationConfig - optional pagination config.
246
+ * @returns AsyncIterable of {@link ListSolFunctionInstancesCommandOutput}.
247
+ */
248
+ paginateListSolFunctionInstances(args?: ListSolFunctionInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSolFunctionInstancesCommandOutput>;
249
+ /**
250
+ * @see {@link ListSolFunctionPackagesCommand}
251
+ * @param args - command input.
252
+ * @param paginationConfig - optional pagination config.
253
+ * @returns AsyncIterable of {@link ListSolFunctionPackagesCommandOutput}.
254
+ */
255
+ paginateListSolFunctionPackages(args?: ListSolFunctionPackagesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSolFunctionPackagesCommandOutput>;
256
+ /**
257
+ * @see {@link ListSolNetworkInstancesCommand}
258
+ * @param args - command input.
259
+ * @param paginationConfig - optional pagination config.
260
+ * @returns AsyncIterable of {@link ListSolNetworkInstancesCommandOutput}.
261
+ */
262
+ paginateListSolNetworkInstances(args?: ListSolNetworkInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSolNetworkInstancesCommandOutput>;
263
+ /**
264
+ * @see {@link ListSolNetworkOperationsCommand}
265
+ * @param args - command input.
266
+ * @param paginationConfig - optional pagination config.
267
+ * @returns AsyncIterable of {@link ListSolNetworkOperationsCommandOutput}.
268
+ */
269
+ paginateListSolNetworkOperations(args?: ListSolNetworkOperationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSolNetworkOperationsCommandOutput>;
270
+ /**
271
+ * @see {@link ListSolNetworkPackagesCommand}
272
+ * @param args - command input.
273
+ * @param paginationConfig - optional pagination config.
274
+ * @returns AsyncIterable of {@link ListSolNetworkPackagesCommandOutput}.
275
+ */
276
+ paginateListSolNetworkPackages(args?: ListSolNetworkPackagesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSolNetworkPackagesCommandOutput>;
242
277
  }
243
278
  /**
244
279
  * <p>
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  CancelSolNetworkOperationCommandInput,
4
8
  CancelSolNetworkOperationCommandOutput,
@@ -575,5 +579,40 @@ export interface Tnb {
575
579
  options: __HttpHandlerOptions,
576
580
  cb: (err: any, data?: ValidateSolNetworkPackageContentCommandOutput) => void
577
581
  ): void;
582
+ paginateListSolFunctionInstances(
583
+ args?: ListSolFunctionInstancesCommandInput,
584
+ paginationConfig?: Pick<
585
+ PaginationConfiguration,
586
+ Exclude<keyof PaginationConfiguration, "client">
587
+ >
588
+ ): Paginator<ListSolFunctionInstancesCommandOutput>;
589
+ paginateListSolFunctionPackages(
590
+ args?: ListSolFunctionPackagesCommandInput,
591
+ paginationConfig?: Pick<
592
+ PaginationConfiguration,
593
+ Exclude<keyof PaginationConfiguration, "client">
594
+ >
595
+ ): Paginator<ListSolFunctionPackagesCommandOutput>;
596
+ paginateListSolNetworkInstances(
597
+ args?: ListSolNetworkInstancesCommandInput,
598
+ paginationConfig?: Pick<
599
+ PaginationConfiguration,
600
+ Exclude<keyof PaginationConfiguration, "client">
601
+ >
602
+ ): Paginator<ListSolNetworkInstancesCommandOutput>;
603
+ paginateListSolNetworkOperations(
604
+ args?: ListSolNetworkOperationsCommandInput,
605
+ paginationConfig?: Pick<
606
+ PaginationConfiguration,
607
+ Exclude<keyof PaginationConfiguration, "client">
608
+ >
609
+ ): Paginator<ListSolNetworkOperationsCommandOutput>;
610
+ paginateListSolNetworkPackages(
611
+ args?: ListSolNetworkPackagesCommandInput,
612
+ paginationConfig?: Pick<
613
+ PaginationConfiguration,
614
+ Exclude<keyof PaginationConfiguration, "client">
615
+ >
616
+ ): Paginator<ListSolNetworkPackagesCommandOutput>;
578
617
  }
579
618
  export declare class Tnb extends TnbClient implements Tnb {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-tnb",
3
3
  "description": "AWS SDK for JavaScript Tnb Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
4
+ "version": "3.978.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-tnb",
@@ -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.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.4",
30
+ "@aws-sdk/region-config-resolver": "^3.972.2",
31
+ "@aws-sdk/types": "^3.973.1",
32
32
  "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
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.11",
42
- "@smithy/middleware-retry": "^4.4.27",
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.10.12",
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.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
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",