@aws-sdk/client-iottwinmaker 3.477.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.
Files changed (49) hide show
  1. package/dist-cjs/pagination/ExecuteQueryPaginator.js +2 -24
  2. package/dist-cjs/pagination/GetPropertyValueHistoryPaginator.js +2 -24
  3. package/dist-cjs/pagination/GetPropertyValuePaginator.js +2 -24
  4. package/dist-cjs/pagination/ListComponentTypesPaginator.js +2 -24
  5. package/dist-cjs/pagination/ListComponentsPaginator.js +2 -24
  6. package/dist-cjs/pagination/ListEntitiesPaginator.js +2 -24
  7. package/dist-cjs/pagination/ListMetadataTransferJobsPaginator.js +2 -24
  8. package/dist-cjs/pagination/ListPropertiesPaginator.js +2 -24
  9. package/dist-cjs/pagination/ListScenesPaginator.js +2 -24
  10. package/dist-cjs/pagination/ListSyncJobsPaginator.js +2 -24
  11. package/dist-cjs/pagination/ListSyncResourcesPaginator.js +2 -24
  12. package/dist-cjs/pagination/ListWorkspacesPaginator.js +2 -24
  13. package/dist-es/pagination/ExecuteQueryPaginator.js +2 -23
  14. package/dist-es/pagination/GetPropertyValueHistoryPaginator.js +2 -23
  15. package/dist-es/pagination/GetPropertyValuePaginator.js +2 -23
  16. package/dist-es/pagination/ListComponentTypesPaginator.js +2 -23
  17. package/dist-es/pagination/ListComponentsPaginator.js +2 -23
  18. package/dist-es/pagination/ListEntitiesPaginator.js +2 -23
  19. package/dist-es/pagination/ListMetadataTransferJobsPaginator.js +2 -23
  20. package/dist-es/pagination/ListPropertiesPaginator.js +2 -23
  21. package/dist-es/pagination/ListScenesPaginator.js +2 -23
  22. package/dist-es/pagination/ListSyncJobsPaginator.js +2 -23
  23. package/dist-es/pagination/ListSyncResourcesPaginator.js +2 -23
  24. package/dist-es/pagination/ListWorkspacesPaginator.js +2 -23
  25. package/dist-types/pagination/ExecuteQueryPaginator.d.ts +1 -1
  26. package/dist-types/pagination/GetPropertyValueHistoryPaginator.d.ts +1 -1
  27. package/dist-types/pagination/GetPropertyValuePaginator.d.ts +1 -1
  28. package/dist-types/pagination/ListComponentTypesPaginator.d.ts +1 -1
  29. package/dist-types/pagination/ListComponentsPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListEntitiesPaginator.d.ts +1 -1
  31. package/dist-types/pagination/ListMetadataTransferJobsPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ListPropertiesPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListScenesPaginator.d.ts +1 -1
  34. package/dist-types/pagination/ListSyncJobsPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListSyncResourcesPaginator.d.ts +1 -1
  36. package/dist-types/pagination/ListWorkspacesPaginator.d.ts +1 -1
  37. package/dist-types/ts3.4/pagination/ExecuteQueryPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/GetPropertyValueHistoryPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/GetPropertyValuePaginator.d.ts +3 -3
  40. package/dist-types/ts3.4/pagination/ListComponentTypesPaginator.d.ts +3 -3
  41. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +3 -3
  42. package/dist-types/ts3.4/pagination/ListEntitiesPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/ListMetadataTransferJobsPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/ListPropertiesPaginator.d.ts +3 -3
  45. package/dist-types/ts3.4/pagination/ListScenesPaginator.d.ts +3 -3
  46. package/dist-types/ts3.4/pagination/ListSyncJobsPaginator.d.ts +3 -3
  47. package/dist-types/ts3.4/pagination/ListSyncResourcesPaginator.d.ts +3 -3
  48. package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +3 -3
  49. package/package.json +5 -5
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateExecuteQuery = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ExecuteQueryCommand_1 = require("../commands/ExecuteQueryCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ExecuteQueryCommand_1.ExecuteQueryCommand(input), ...args);
8
- };
9
- async function* paginateExecuteQuery(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateExecuteQuery = paginateExecuteQuery;
7
+ exports.paginateExecuteQuery = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ExecuteQueryCommand_1.ExecuteQueryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetPropertyValueHistory = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetPropertyValueHistoryCommand_1 = require("../commands/GetPropertyValueHistoryCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetPropertyValueHistoryCommand_1.GetPropertyValueHistoryCommand(input), ...args);
8
- };
9
- async function* paginateGetPropertyValueHistory(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateGetPropertyValueHistory = paginateGetPropertyValueHistory;
7
+ exports.paginateGetPropertyValueHistory = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, GetPropertyValueHistoryCommand_1.GetPropertyValueHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetPropertyValue = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetPropertyValueCommand_1 = require("../commands/GetPropertyValueCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetPropertyValueCommand_1.GetPropertyValueCommand(input), ...args);
8
- };
9
- async function* paginateGetPropertyValue(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateGetPropertyValue = paginateGetPropertyValue;
7
+ exports.paginateGetPropertyValue = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, GetPropertyValueCommand_1.GetPropertyValueCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListComponentTypes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListComponentTypesCommand_1 = require("../commands/ListComponentTypesCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListComponentTypesCommand_1.ListComponentTypesCommand(input), ...args);
8
- };
9
- async function* paginateListComponentTypes(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateListComponentTypes = paginateListComponentTypes;
7
+ exports.paginateListComponentTypes = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListComponentTypesCommand_1.ListComponentTypesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListComponents = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListComponentsCommand_1 = require("../commands/ListComponentsCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListComponentsCommand_1.ListComponentsCommand(input), ...args);
8
- };
9
- async function* paginateListComponents(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateListComponents = paginateListComponents;
7
+ exports.paginateListComponents = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListComponentsCommand_1.ListComponentsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListEntities = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListEntitiesCommand_1 = require("../commands/ListEntitiesCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListEntitiesCommand_1.ListEntitiesCommand(input), ...args);
8
- };
9
- async function* paginateListEntities(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateListEntities = paginateListEntities;
7
+ exports.paginateListEntities = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListEntitiesCommand_1.ListEntitiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListMetadataTransferJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListMetadataTransferJobsCommand_1 = require("../commands/ListMetadataTransferJobsCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListMetadataTransferJobsCommand_1.ListMetadataTransferJobsCommand(input), ...args);
8
- };
9
- async function* paginateListMetadataTransferJobs(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateListMetadataTransferJobs = paginateListMetadataTransferJobs;
7
+ exports.paginateListMetadataTransferJobs = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListMetadataTransferJobsCommand_1.ListMetadataTransferJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListProperties = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListPropertiesCommand_1 = require("../commands/ListPropertiesCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListPropertiesCommand_1.ListPropertiesCommand(input), ...args);
8
- };
9
- async function* paginateListProperties(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateListProperties = paginateListProperties;
7
+ exports.paginateListProperties = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListPropertiesCommand_1.ListPropertiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListScenes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListScenesCommand_1 = require("../commands/ListScenesCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListScenesCommand_1.ListScenesCommand(input), ...args);
8
- };
9
- async function* paginateListScenes(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateListScenes = paginateListScenes;
7
+ exports.paginateListScenes = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListScenesCommand_1.ListScenesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSyncJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSyncJobsCommand_1 = require("../commands/ListSyncJobsCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSyncJobsCommand_1.ListSyncJobsCommand(input), ...args);
8
- };
9
- async function* paginateListSyncJobs(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateListSyncJobs = paginateListSyncJobs;
7
+ exports.paginateListSyncJobs = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListSyncJobsCommand_1.ListSyncJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSyncResources = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSyncResourcesCommand_1 = require("../commands/ListSyncResourcesCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSyncResourcesCommand_1.ListSyncResourcesCommand(input), ...args);
8
- };
9
- async function* paginateListSyncResources(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateListSyncResources = paginateListSyncResources;
7
+ exports.paginateListSyncResources = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListSyncResourcesCommand_1.ListSyncResourcesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListWorkspaces = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListWorkspacesCommand_1 = require("../commands/ListWorkspacesCommand");
5
6
  const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListWorkspacesCommand_1.ListWorkspacesCommand(input), ...args);
8
- };
9
- async function* paginateListWorkspaces(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["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
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.paginateListWorkspaces = paginateListWorkspaces;
7
+ exports.paginateListWorkspaces = (0, core_1.createPaginator)(IoTTwinMakerClient_1.IoTTwinMakerClient, ListWorkspacesCommand_1.ListWorkspacesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ExecuteQueryCommand, } from "../commands/ExecuteQueryCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ExecuteQueryCommand(input), ...args);
5
- };
6
- export async function* paginateExecuteQuery(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateExecuteQuery = createPaginator(IoTTwinMakerClient, ExecuteQueryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetPropertyValueHistoryCommand, } from "../commands/GetPropertyValueHistoryCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetPropertyValueHistoryCommand(input), ...args);
5
- };
6
- export async function* paginateGetPropertyValueHistory(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetPropertyValueHistory = createPaginator(IoTTwinMakerClient, GetPropertyValueHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetPropertyValueCommand, } from "../commands/GetPropertyValueCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetPropertyValueCommand(input), ...args);
5
- };
6
- export async function* paginateGetPropertyValue(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetPropertyValue = createPaginator(IoTTwinMakerClient, GetPropertyValueCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListComponentTypesCommand, } from "../commands/ListComponentTypesCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListComponentTypesCommand(input), ...args);
5
- };
6
- export async function* paginateListComponentTypes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListComponentTypes = createPaginator(IoTTwinMakerClient, ListComponentTypesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListComponentsCommand, } from "../commands/ListComponentsCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListComponentsCommand(input), ...args);
5
- };
6
- export async function* paginateListComponents(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListComponents = createPaginator(IoTTwinMakerClient, ListComponentsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListEntitiesCommand, } from "../commands/ListEntitiesCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListEntitiesCommand(input), ...args);
5
- };
6
- export async function* paginateListEntities(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListEntities = createPaginator(IoTTwinMakerClient, ListEntitiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMetadataTransferJobsCommand, } from "../commands/ListMetadataTransferJobsCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMetadataTransferJobsCommand(input), ...args);
5
- };
6
- export async function* paginateListMetadataTransferJobs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListMetadataTransferJobs = createPaginator(IoTTwinMakerClient, ListMetadataTransferJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListPropertiesCommand, } from "../commands/ListPropertiesCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListPropertiesCommand(input), ...args);
5
- };
6
- export async function* paginateListProperties(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListProperties = createPaginator(IoTTwinMakerClient, ListPropertiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListScenesCommand } from "../commands/ListScenesCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListScenesCommand(input), ...args);
5
- };
6
- export async function* paginateListScenes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListScenes = createPaginator(IoTTwinMakerClient, ListScenesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSyncJobsCommand, } from "../commands/ListSyncJobsCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSyncJobsCommand(input), ...args);
5
- };
6
- export async function* paginateListSyncJobs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSyncJobs = createPaginator(IoTTwinMakerClient, ListSyncJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSyncResourcesCommand, } from "../commands/ListSyncResourcesCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSyncResourcesCommand(input), ...args);
5
- };
6
- export async function* paginateListSyncResources(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSyncResources = createPaginator(IoTTwinMakerClient, ListSyncResourcesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListWorkspacesCommand, } from "../commands/ListWorkspacesCommand";
2
3
  import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListWorkspacesCommand(input), ...args);
5
- };
6
- export async function* paginateListWorkspaces(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTTwinMakerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListWorkspaces = createPaginator(IoTTwinMakerClient, ListWorkspacesCommand, "nextToken", "nextToken", "maxResults");
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateExecuteQuery(config: IoTTwinMakerPaginationConfiguration, input: ExecuteQueryCommandInput, ...additionalArguments: any): Paginator<ExecuteQueryCommandOutput>;
7
+ export declare const paginateExecuteQuery: (config: IoTTwinMakerPaginationConfiguration, input: ExecuteQueryCommandInput, ...rest: any[]) => Paginator<ExecuteQueryCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetPropertyValueHistory(config: IoTTwinMakerPaginationConfiguration, input: GetPropertyValueHistoryCommandInput, ...additionalArguments: any): Paginator<GetPropertyValueHistoryCommandOutput>;
7
+ export declare const paginateGetPropertyValueHistory: (config: IoTTwinMakerPaginationConfiguration, input: GetPropertyValueHistoryCommandInput, ...rest: any[]) => Paginator<GetPropertyValueHistoryCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetPropertyValue(config: IoTTwinMakerPaginationConfiguration, input: GetPropertyValueCommandInput, ...additionalArguments: any): Paginator<GetPropertyValueCommandOutput>;
7
+ export declare const paginateGetPropertyValue: (config: IoTTwinMakerPaginationConfiguration, input: GetPropertyValueCommandInput, ...rest: any[]) => Paginator<GetPropertyValueCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListComponentTypes(config: IoTTwinMakerPaginationConfiguration, input: ListComponentTypesCommandInput, ...additionalArguments: any): Paginator<ListComponentTypesCommandOutput>;
7
+ export declare const paginateListComponentTypes: (config: IoTTwinMakerPaginationConfiguration, input: ListComponentTypesCommandInput, ...rest: any[]) => Paginator<ListComponentTypesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListComponents(config: IoTTwinMakerPaginationConfiguration, input: ListComponentsCommandInput, ...additionalArguments: any): Paginator<ListComponentsCommandOutput>;
7
+ export declare const paginateListComponents: (config: IoTTwinMakerPaginationConfiguration, input: ListComponentsCommandInput, ...rest: any[]) => Paginator<ListComponentsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListEntities(config: IoTTwinMakerPaginationConfiguration, input: ListEntitiesCommandInput, ...additionalArguments: any): Paginator<ListEntitiesCommandOutput>;
7
+ export declare const paginateListEntities: (config: IoTTwinMakerPaginationConfiguration, input: ListEntitiesCommandInput, ...rest: any[]) => Paginator<ListEntitiesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListMetadataTransferJobs(config: IoTTwinMakerPaginationConfiguration, input: ListMetadataTransferJobsCommandInput, ...additionalArguments: any): Paginator<ListMetadataTransferJobsCommandOutput>;
7
+ export declare const paginateListMetadataTransferJobs: (config: IoTTwinMakerPaginationConfiguration, input: ListMetadataTransferJobsCommandInput, ...rest: any[]) => Paginator<ListMetadataTransferJobsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListProperties(config: IoTTwinMakerPaginationConfiguration, input: ListPropertiesCommandInput, ...additionalArguments: any): Paginator<ListPropertiesCommandOutput>;
7
+ export declare const paginateListProperties: (config: IoTTwinMakerPaginationConfiguration, input: ListPropertiesCommandInput, ...rest: any[]) => Paginator<ListPropertiesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListScenes(config: IoTTwinMakerPaginationConfiguration, input: ListScenesCommandInput, ...additionalArguments: any): Paginator<ListScenesCommandOutput>;
7
+ export declare const paginateListScenes: (config: IoTTwinMakerPaginationConfiguration, input: ListScenesCommandInput, ...rest: any[]) => Paginator<ListScenesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSyncJobs(config: IoTTwinMakerPaginationConfiguration, input: ListSyncJobsCommandInput, ...additionalArguments: any): Paginator<ListSyncJobsCommandOutput>;
7
+ export declare const paginateListSyncJobs: (config: IoTTwinMakerPaginationConfiguration, input: ListSyncJobsCommandInput, ...rest: any[]) => Paginator<ListSyncJobsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSyncResources(config: IoTTwinMakerPaginationConfiguration, input: ListSyncResourcesCommandInput, ...additionalArguments: any): Paginator<ListSyncResourcesCommandOutput>;
7
+ export declare const paginateListSyncResources: (config: IoTTwinMakerPaginationConfiguration, input: ListSyncResourcesCommandInput, ...rest: any[]) => Paginator<ListSyncResourcesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListWorkspaces(config: IoTTwinMakerPaginationConfiguration, input: ListWorkspacesCommandInput, ...additionalArguments: any): Paginator<ListWorkspacesCommandOutput>;
7
+ export declare const paginateListWorkspaces: (config: IoTTwinMakerPaginationConfiguration, input: ListWorkspacesCommandInput, ...rest: any[]) => Paginator<ListWorkspacesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ExecuteQueryCommandOutput,
5
5
  } from "../commands/ExecuteQueryCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateExecuteQuery(
7
+ export declare const paginateExecuteQuery: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ExecuteQueryCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ExecuteQueryCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ExecuteQueryCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetPropertyValueHistoryCommandOutput,
5
5
  } from "../commands/GetPropertyValueHistoryCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetPropertyValueHistory(
7
+ export declare const paginateGetPropertyValueHistory: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: GetPropertyValueHistoryCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetPropertyValueHistoryCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetPropertyValueHistoryCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetPropertyValueCommandOutput,
5
5
  } from "../commands/GetPropertyValueCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetPropertyValue(
7
+ export declare const paginateGetPropertyValue: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: GetPropertyValueCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetPropertyValueCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetPropertyValueCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListComponentTypesCommandOutput,
5
5
  } from "../commands/ListComponentTypesCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListComponentTypes(
7
+ export declare const paginateListComponentTypes: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ListComponentTypesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListComponentTypesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListComponentTypesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListComponentsCommandOutput,
5
5
  } from "../commands/ListComponentsCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListComponents(
7
+ export declare const paginateListComponents: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ListComponentsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListComponentsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListComponentsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListEntitiesCommandOutput,
5
5
  } from "../commands/ListEntitiesCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListEntities(
7
+ export declare const paginateListEntities: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ListEntitiesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListEntitiesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListEntitiesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListMetadataTransferJobsCommandOutput,
5
5
  } from "../commands/ListMetadataTransferJobsCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListMetadataTransferJobs(
7
+ export declare const paginateListMetadataTransferJobs: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ListMetadataTransferJobsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListMetadataTransferJobsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListMetadataTransferJobsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListPropertiesCommandOutput,
5
5
  } from "../commands/ListPropertiesCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListProperties(
7
+ export declare const paginateListProperties: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ListPropertiesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListPropertiesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListPropertiesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListScenesCommandOutput,
5
5
  } from "../commands/ListScenesCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListScenes(
7
+ export declare const paginateListScenes: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ListScenesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListScenesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListScenesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSyncJobsCommandOutput,
5
5
  } from "../commands/ListSyncJobsCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSyncJobs(
7
+ export declare const paginateListSyncJobs: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ListSyncJobsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSyncJobsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSyncJobsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSyncResourcesCommandOutput,
5
5
  } from "../commands/ListSyncResourcesCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSyncResources(
7
+ export declare const paginateListSyncResources: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ListSyncResourcesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSyncResourcesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSyncResourcesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListWorkspacesCommandOutput,
5
5
  } from "../commands/ListWorkspacesCommand";
6
6
  import { IoTTwinMakerPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListWorkspaces(
7
+ export declare const paginateListWorkspaces: (
8
8
  config: IoTTwinMakerPaginationConfiguration,
9
9
  input: ListWorkspacesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListWorkspacesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListWorkspacesCommandOutput>;
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.477.0",
4
+ "version": "3.478.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.477.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
24
  "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.478.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",