@aws-sdk/client-iottwinmaker 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
@@ -2273,6 +2273,30 @@ class UpdateWorkspaceCommand extends smithyClient.Command
2273
2273
  .build() {
2274
2274
  }
2275
2275
 
2276
+ const paginateExecuteQuery = core.createPaginator(IoTTwinMakerClient, ExecuteQueryCommand, "nextToken", "nextToken", "maxResults");
2277
+
2278
+ const paginateGetPropertyValueHistory = core.createPaginator(IoTTwinMakerClient, GetPropertyValueHistoryCommand, "nextToken", "nextToken", "maxResults");
2279
+
2280
+ const paginateGetPropertyValue = core.createPaginator(IoTTwinMakerClient, GetPropertyValueCommand, "nextToken", "nextToken", "maxResults");
2281
+
2282
+ const paginateListComponents = core.createPaginator(IoTTwinMakerClient, ListComponentsCommand, "nextToken", "nextToken", "maxResults");
2283
+
2284
+ const paginateListComponentTypes = core.createPaginator(IoTTwinMakerClient, ListComponentTypesCommand, "nextToken", "nextToken", "maxResults");
2285
+
2286
+ const paginateListEntities = core.createPaginator(IoTTwinMakerClient, ListEntitiesCommand, "nextToken", "nextToken", "maxResults");
2287
+
2288
+ const paginateListMetadataTransferJobs = core.createPaginator(IoTTwinMakerClient, ListMetadataTransferJobsCommand, "nextToken", "nextToken", "maxResults");
2289
+
2290
+ const paginateListProperties = core.createPaginator(IoTTwinMakerClient, ListPropertiesCommand, "nextToken", "nextToken", "maxResults");
2291
+
2292
+ const paginateListScenes = core.createPaginator(IoTTwinMakerClient, ListScenesCommand, "nextToken", "nextToken", "maxResults");
2293
+
2294
+ const paginateListSyncJobs = core.createPaginator(IoTTwinMakerClient, ListSyncJobsCommand, "nextToken", "nextToken", "maxResults");
2295
+
2296
+ const paginateListSyncResources = core.createPaginator(IoTTwinMakerClient, ListSyncResourcesCommand, "nextToken", "nextToken", "maxResults");
2297
+
2298
+ const paginateListWorkspaces = core.createPaginator(IoTTwinMakerClient, ListWorkspacesCommand, "nextToken", "nextToken", "maxResults");
2299
+
2276
2300
  const commands = {
2277
2301
  BatchPutPropertyValuesCommand,
2278
2302
  CancelMetadataTransferJobCommand,
@@ -2315,33 +2339,23 @@ const commands = {
2315
2339
  UpdateSceneCommand,
2316
2340
  UpdateWorkspaceCommand,
2317
2341
  };
2342
+ const paginators = {
2343
+ paginateExecuteQuery,
2344
+ paginateGetPropertyValue,
2345
+ paginateGetPropertyValueHistory,
2346
+ paginateListComponents,
2347
+ paginateListComponentTypes,
2348
+ paginateListEntities,
2349
+ paginateListMetadataTransferJobs,
2350
+ paginateListProperties,
2351
+ paginateListScenes,
2352
+ paginateListSyncJobs,
2353
+ paginateListSyncResources,
2354
+ paginateListWorkspaces,
2355
+ };
2318
2356
  class IoTTwinMaker extends IoTTwinMakerClient {
2319
2357
  }
2320
- smithyClient.createAggregatedClient(commands, IoTTwinMaker);
2321
-
2322
- const paginateExecuteQuery = core.createPaginator(IoTTwinMakerClient, ExecuteQueryCommand, "nextToken", "nextToken", "maxResults");
2323
-
2324
- const paginateGetPropertyValue = core.createPaginator(IoTTwinMakerClient, GetPropertyValueCommand, "nextToken", "nextToken", "maxResults");
2325
-
2326
- const paginateGetPropertyValueHistory = core.createPaginator(IoTTwinMakerClient, GetPropertyValueHistoryCommand, "nextToken", "nextToken", "maxResults");
2327
-
2328
- const paginateListComponents = core.createPaginator(IoTTwinMakerClient, ListComponentsCommand, "nextToken", "nextToken", "maxResults");
2329
-
2330
- const paginateListComponentTypes = core.createPaginator(IoTTwinMakerClient, ListComponentTypesCommand, "nextToken", "nextToken", "maxResults");
2331
-
2332
- const paginateListEntities = core.createPaginator(IoTTwinMakerClient, ListEntitiesCommand, "nextToken", "nextToken", "maxResults");
2333
-
2334
- const paginateListMetadataTransferJobs = core.createPaginator(IoTTwinMakerClient, ListMetadataTransferJobsCommand, "nextToken", "nextToken", "maxResults");
2335
-
2336
- const paginateListProperties = core.createPaginator(IoTTwinMakerClient, ListPropertiesCommand, "nextToken", "nextToken", "maxResults");
2337
-
2338
- const paginateListScenes = core.createPaginator(IoTTwinMakerClient, ListScenesCommand, "nextToken", "nextToken", "maxResults");
2339
-
2340
- const paginateListSyncJobs = core.createPaginator(IoTTwinMakerClient, ListSyncJobsCommand, "nextToken", "nextToken", "maxResults");
2341
-
2342
- const paginateListSyncResources = core.createPaginator(IoTTwinMakerClient, ListSyncResourcesCommand, "nextToken", "nextToken", "maxResults");
2343
-
2344
- const paginateListWorkspaces = core.createPaginator(IoTTwinMakerClient, ListWorkspacesCommand, "nextToken", "nextToken", "maxResults");
2358
+ smithyClient.createAggregatedClient(commands, IoTTwinMaker, { paginators });
2345
2359
 
2346
2360
  const ErrorCode = {
2347
2361
  COMPOSITE_COMPONENT_FAILURE: "COMPOSITE_COMPONENT_FAILURE",
@@ -40,6 +40,18 @@ import { UpdatePricingPlanCommand, } from "./commands/UpdatePricingPlanCommand";
40
40
  import { UpdateSceneCommand } from "./commands/UpdateSceneCommand";
41
41
  import { UpdateWorkspaceCommand, } from "./commands/UpdateWorkspaceCommand";
42
42
  import { IoTTwinMakerClient } from "./IoTTwinMakerClient";
43
+ import { paginateExecuteQuery } from "./pagination/ExecuteQueryPaginator";
44
+ import { paginateGetPropertyValueHistory } from "./pagination/GetPropertyValueHistoryPaginator";
45
+ import { paginateGetPropertyValue } from "./pagination/GetPropertyValuePaginator";
46
+ import { paginateListComponents } from "./pagination/ListComponentsPaginator";
47
+ import { paginateListComponentTypes } from "./pagination/ListComponentTypesPaginator";
48
+ import { paginateListEntities } from "./pagination/ListEntitiesPaginator";
49
+ import { paginateListMetadataTransferJobs } from "./pagination/ListMetadataTransferJobsPaginator";
50
+ import { paginateListProperties } from "./pagination/ListPropertiesPaginator";
51
+ import { paginateListScenes } from "./pagination/ListScenesPaginator";
52
+ import { paginateListSyncJobs } from "./pagination/ListSyncJobsPaginator";
53
+ import { paginateListSyncResources } from "./pagination/ListSyncResourcesPaginator";
54
+ import { paginateListWorkspaces } from "./pagination/ListWorkspacesPaginator";
43
55
  const commands = {
44
56
  BatchPutPropertyValuesCommand,
45
57
  CancelMetadataTransferJobCommand,
@@ -82,6 +94,20 @@ const commands = {
82
94
  UpdateSceneCommand,
83
95
  UpdateWorkspaceCommand,
84
96
  };
97
+ const paginators = {
98
+ paginateExecuteQuery,
99
+ paginateGetPropertyValue,
100
+ paginateGetPropertyValueHistory,
101
+ paginateListComponents,
102
+ paginateListComponentTypes,
103
+ paginateListEntities,
104
+ paginateListMetadataTransferJobs,
105
+ paginateListProperties,
106
+ paginateListScenes,
107
+ paginateListSyncJobs,
108
+ paginateListSyncResources,
109
+ paginateListWorkspaces,
110
+ };
85
111
  export class IoTTwinMaker extends IoTTwinMakerClient {
86
112
  }
87
- createAggregatedClient(commands, IoTTwinMaker);
113
+ createAggregatedClient(commands, IoTTwinMaker, { 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 { BatchPutPropertyValuesCommandInput, BatchPutPropertyValuesCommandOutput } from "./commands/BatchPutPropertyValuesCommand";
3
3
  import { CancelMetadataTransferJobCommandInput, CancelMetadataTransferJobCommandOutput } from "./commands/CancelMetadataTransferJobCommand";
4
4
  import { CreateComponentTypeCommandInput, CreateComponentTypeCommandOutput } from "./commands/CreateComponentTypeCommand";
@@ -283,6 +283,90 @@ export interface IoTTwinMaker {
283
283
  updateWorkspace(args: UpdateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceCommandOutput>;
284
284
  updateWorkspace(args: UpdateWorkspaceCommandInput, cb: (err: any, data?: UpdateWorkspaceCommandOutput) => void): void;
285
285
  updateWorkspace(args: UpdateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceCommandOutput) => void): void;
286
+ /**
287
+ * @see {@link ExecuteQueryCommand}
288
+ * @param args - command input.
289
+ * @param paginationConfig - optional pagination config.
290
+ * @returns AsyncIterable of {@link ExecuteQueryCommandOutput}.
291
+ */
292
+ paginateExecuteQuery(args: ExecuteQueryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ExecuteQueryCommandOutput>;
293
+ /**
294
+ * @see {@link GetPropertyValueCommand}
295
+ * @param args - command input.
296
+ * @param paginationConfig - optional pagination config.
297
+ * @returns AsyncIterable of {@link GetPropertyValueCommandOutput}.
298
+ */
299
+ paginateGetPropertyValue(args: GetPropertyValueCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetPropertyValueCommandOutput>;
300
+ /**
301
+ * @see {@link GetPropertyValueHistoryCommand}
302
+ * @param args - command input.
303
+ * @param paginationConfig - optional pagination config.
304
+ * @returns AsyncIterable of {@link GetPropertyValueHistoryCommandOutput}.
305
+ */
306
+ paginateGetPropertyValueHistory(args: GetPropertyValueHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetPropertyValueHistoryCommandOutput>;
307
+ /**
308
+ * @see {@link ListComponentsCommand}
309
+ * @param args - command input.
310
+ * @param paginationConfig - optional pagination config.
311
+ * @returns AsyncIterable of {@link ListComponentsCommandOutput}.
312
+ */
313
+ paginateListComponents(args: ListComponentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListComponentsCommandOutput>;
314
+ /**
315
+ * @see {@link ListComponentTypesCommand}
316
+ * @param args - command input.
317
+ * @param paginationConfig - optional pagination config.
318
+ * @returns AsyncIterable of {@link ListComponentTypesCommandOutput}.
319
+ */
320
+ paginateListComponentTypes(args: ListComponentTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListComponentTypesCommandOutput>;
321
+ /**
322
+ * @see {@link ListEntitiesCommand}
323
+ * @param args - command input.
324
+ * @param paginationConfig - optional pagination config.
325
+ * @returns AsyncIterable of {@link ListEntitiesCommandOutput}.
326
+ */
327
+ paginateListEntities(args: ListEntitiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEntitiesCommandOutput>;
328
+ /**
329
+ * @see {@link ListMetadataTransferJobsCommand}
330
+ * @param args - command input.
331
+ * @param paginationConfig - optional pagination config.
332
+ * @returns AsyncIterable of {@link ListMetadataTransferJobsCommandOutput}.
333
+ */
334
+ paginateListMetadataTransferJobs(args: ListMetadataTransferJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMetadataTransferJobsCommandOutput>;
335
+ /**
336
+ * @see {@link ListPropertiesCommand}
337
+ * @param args - command input.
338
+ * @param paginationConfig - optional pagination config.
339
+ * @returns AsyncIterable of {@link ListPropertiesCommandOutput}.
340
+ */
341
+ paginateListProperties(args: ListPropertiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPropertiesCommandOutput>;
342
+ /**
343
+ * @see {@link ListScenesCommand}
344
+ * @param args - command input.
345
+ * @param paginationConfig - optional pagination config.
346
+ * @returns AsyncIterable of {@link ListScenesCommandOutput}.
347
+ */
348
+ paginateListScenes(args: ListScenesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListScenesCommandOutput>;
349
+ /**
350
+ * @see {@link ListSyncJobsCommand}
351
+ * @param args - command input.
352
+ * @param paginationConfig - optional pagination config.
353
+ * @returns AsyncIterable of {@link ListSyncJobsCommandOutput}.
354
+ */
355
+ paginateListSyncJobs(args: ListSyncJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSyncJobsCommandOutput>;
356
+ /**
357
+ * @see {@link ListSyncResourcesCommand}
358
+ * @param args - command input.
359
+ * @param paginationConfig - optional pagination config.
360
+ * @returns AsyncIterable of {@link ListSyncResourcesCommandOutput}.
361
+ */
362
+ paginateListSyncResources(args: ListSyncResourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSyncResourcesCommandOutput>;
363
+ /**
364
+ * @see {@link ListWorkspacesCommand}
365
+ * @param args - command input.
366
+ * @param paginationConfig - optional pagination config.
367
+ * @returns AsyncIterable of {@link ListWorkspacesCommandOutput}.
368
+ */
369
+ paginateListWorkspaces(args?: ListWorkspacesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkspacesCommandOutput>;
286
370
  }
287
371
  /**
288
372
  * <p>IoT TwinMaker is a service with which you can
@@ -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
  BatchPutPropertyValuesCommandInput,
4
8
  BatchPutPropertyValuesCommandOutput,
@@ -683,6 +687,90 @@ export interface IoTTwinMaker {
683
687
  options: __HttpHandlerOptions,
684
688
  cb: (err: any, data?: UpdateWorkspaceCommandOutput) => void
685
689
  ): void;
690
+ paginateExecuteQuery(
691
+ args: ExecuteQueryCommandInput,
692
+ paginationConfig?: Pick<
693
+ PaginationConfiguration,
694
+ Exclude<keyof PaginationConfiguration, "client">
695
+ >
696
+ ): Paginator<ExecuteQueryCommandOutput>;
697
+ paginateGetPropertyValue(
698
+ args: GetPropertyValueCommandInput,
699
+ paginationConfig?: Pick<
700
+ PaginationConfiguration,
701
+ Exclude<keyof PaginationConfiguration, "client">
702
+ >
703
+ ): Paginator<GetPropertyValueCommandOutput>;
704
+ paginateGetPropertyValueHistory(
705
+ args: GetPropertyValueHistoryCommandInput,
706
+ paginationConfig?: Pick<
707
+ PaginationConfiguration,
708
+ Exclude<keyof PaginationConfiguration, "client">
709
+ >
710
+ ): Paginator<GetPropertyValueHistoryCommandOutput>;
711
+ paginateListComponents(
712
+ args: ListComponentsCommandInput,
713
+ paginationConfig?: Pick<
714
+ PaginationConfiguration,
715
+ Exclude<keyof PaginationConfiguration, "client">
716
+ >
717
+ ): Paginator<ListComponentsCommandOutput>;
718
+ paginateListComponentTypes(
719
+ args: ListComponentTypesCommandInput,
720
+ paginationConfig?: Pick<
721
+ PaginationConfiguration,
722
+ Exclude<keyof PaginationConfiguration, "client">
723
+ >
724
+ ): Paginator<ListComponentTypesCommandOutput>;
725
+ paginateListEntities(
726
+ args: ListEntitiesCommandInput,
727
+ paginationConfig?: Pick<
728
+ PaginationConfiguration,
729
+ Exclude<keyof PaginationConfiguration, "client">
730
+ >
731
+ ): Paginator<ListEntitiesCommandOutput>;
732
+ paginateListMetadataTransferJobs(
733
+ args: ListMetadataTransferJobsCommandInput,
734
+ paginationConfig?: Pick<
735
+ PaginationConfiguration,
736
+ Exclude<keyof PaginationConfiguration, "client">
737
+ >
738
+ ): Paginator<ListMetadataTransferJobsCommandOutput>;
739
+ paginateListProperties(
740
+ args: ListPropertiesCommandInput,
741
+ paginationConfig?: Pick<
742
+ PaginationConfiguration,
743
+ Exclude<keyof PaginationConfiguration, "client">
744
+ >
745
+ ): Paginator<ListPropertiesCommandOutput>;
746
+ paginateListScenes(
747
+ args: ListScenesCommandInput,
748
+ paginationConfig?: Pick<
749
+ PaginationConfiguration,
750
+ Exclude<keyof PaginationConfiguration, "client">
751
+ >
752
+ ): Paginator<ListScenesCommandOutput>;
753
+ paginateListSyncJobs(
754
+ args: ListSyncJobsCommandInput,
755
+ paginationConfig?: Pick<
756
+ PaginationConfiguration,
757
+ Exclude<keyof PaginationConfiguration, "client">
758
+ >
759
+ ): Paginator<ListSyncJobsCommandOutput>;
760
+ paginateListSyncResources(
761
+ args: ListSyncResourcesCommandInput,
762
+ paginationConfig?: Pick<
763
+ PaginationConfiguration,
764
+ Exclude<keyof PaginationConfiguration, "client">
765
+ >
766
+ ): Paginator<ListSyncResourcesCommandOutput>;
767
+ paginateListWorkspaces(
768
+ args?: ListWorkspacesCommandInput,
769
+ paginationConfig?: Pick<
770
+ PaginationConfiguration,
771
+ Exclude<keyof PaginationConfiguration, "client">
772
+ >
773
+ ): Paginator<ListWorkspacesCommandOutput>;
686
774
  }
687
775
  export declare class IoTTwinMaker
688
776
  extends IoTTwinMakerClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iottwinmaker",
3
3
  "description": "AWS SDK for JavaScript Iottwinmaker 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-iottwinmaker",
@@ -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",