@aws-sdk/client-simspaceweaver 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 CHANGED
@@ -872,6 +872,10 @@ class UntagResourceCommand extends smithyClient.Command
872
872
  .build() {
873
873
  }
874
874
 
875
+ const paginateListApps = core.createPaginator(SimSpaceWeaverClient, ListAppsCommand, "NextToken", "NextToken", "MaxResults");
876
+
877
+ const paginateListSimulations = core.createPaginator(SimSpaceWeaverClient, ListSimulationsCommand, "NextToken", "NextToken", "MaxResults");
878
+
875
879
  const commands = {
876
880
  CreateSnapshotCommand,
877
881
  DeleteAppCommand,
@@ -890,13 +894,13 @@ const commands = {
890
894
  TagResourceCommand,
891
895
  UntagResourceCommand,
892
896
  };
897
+ const paginators = {
898
+ paginateListApps,
899
+ paginateListSimulations,
900
+ };
893
901
  class SimSpaceWeaver extends SimSpaceWeaverClient {
894
902
  }
895
- smithyClient.createAggregatedClient(commands, SimSpaceWeaver);
896
-
897
- const paginateListApps = core.createPaginator(SimSpaceWeaverClient, ListAppsCommand, "NextToken", "NextToken", "MaxResults");
898
-
899
- const paginateListSimulations = core.createPaginator(SimSpaceWeaverClient, ListSimulationsCommand, "NextToken", "NextToken", "MaxResults");
903
+ smithyClient.createAggregatedClient(commands, SimSpaceWeaver, { paginators });
900
904
 
901
905
  const ClockStatus = {
902
906
  STARTED: "STARTED",
@@ -15,6 +15,8 @@ import { StopClockCommand } from "./commands/StopClockCommand";
15
15
  import { StopSimulationCommand, } from "./commands/StopSimulationCommand";
16
16
  import { TagResourceCommand } from "./commands/TagResourceCommand";
17
17
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
18
+ import { paginateListApps } from "./pagination/ListAppsPaginator";
19
+ import { paginateListSimulations } from "./pagination/ListSimulationsPaginator";
18
20
  import { SimSpaceWeaverClient } from "./SimSpaceWeaverClient";
19
21
  const commands = {
20
22
  CreateSnapshotCommand,
@@ -34,6 +36,10 @@ const commands = {
34
36
  TagResourceCommand,
35
37
  UntagResourceCommand,
36
38
  };
39
+ const paginators = {
40
+ paginateListApps,
41
+ paginateListSimulations,
42
+ };
37
43
  export class SimSpaceWeaver extends SimSpaceWeaverClient {
38
44
  }
39
- createAggregatedClient(commands, SimSpaceWeaver);
45
+ createAggregatedClient(commands, SimSpaceWeaver, { 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 { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
3
3
  import { DeleteAppCommandInput, DeleteAppCommandOutput } from "./commands/DeleteAppCommand";
4
4
  import { DeleteSimulationCommandInput, DeleteSimulationCommandOutput } from "./commands/DeleteSimulationCommand";
@@ -114,6 +114,20 @@ export interface SimSpaceWeaver {
114
114
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
115
115
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
116
116
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
117
+ /**
118
+ * @see {@link ListAppsCommand}
119
+ * @param args - command input.
120
+ * @param paginationConfig - optional pagination config.
121
+ * @returns AsyncIterable of {@link ListAppsCommandOutput}.
122
+ */
123
+ paginateListApps(args: ListAppsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAppsCommandOutput>;
124
+ /**
125
+ * @see {@link ListSimulationsCommand}
126
+ * @param args - command input.
127
+ * @param paginationConfig - optional pagination config.
128
+ * @returns AsyncIterable of {@link ListSimulationsCommandOutput}.
129
+ */
130
+ paginateListSimulations(args?: ListSimulationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSimulationsCommandOutput>;
117
131
  }
118
132
  /**
119
133
  * <p>SimSpace Weaver (SimSpace Weaver) is a service that you can use to build and run
@@ -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
  CreateSnapshotCommandInput,
4
8
  CreateSnapshotCommandOutput,
@@ -274,6 +278,20 @@ export interface SimSpaceWeaver {
274
278
  options: __HttpHandlerOptions,
275
279
  cb: (err: any, data?: UntagResourceCommandOutput) => void
276
280
  ): void;
281
+ paginateListApps(
282
+ args: ListAppsCommandInput,
283
+ paginationConfig?: Pick<
284
+ PaginationConfiguration,
285
+ Exclude<keyof PaginationConfiguration, "client">
286
+ >
287
+ ): Paginator<ListAppsCommandOutput>;
288
+ paginateListSimulations(
289
+ args?: ListSimulationsCommandInput,
290
+ paginationConfig?: Pick<
291
+ PaginationConfiguration,
292
+ Exclude<keyof PaginationConfiguration, "client">
293
+ >
294
+ ): Paginator<ListSimulationsCommandOutput>;
277
295
  }
278
296
  export declare class SimSpaceWeaver
279
297
  extends SimSpaceWeaverClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-simspaceweaver",
3
3
  "description": "AWS SDK for JavaScript Simspaceweaver Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
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-simspaceweaver",
@@ -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",
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",
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.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",