@aws-sdk/client-iotthingsgraph 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 (41) hide show
  1. package/dist-cjs/pagination/GetFlowTemplateRevisionsPaginator.js +2 -24
  2. package/dist-cjs/pagination/GetSystemTemplateRevisionsPaginator.js +2 -24
  3. package/dist-cjs/pagination/ListFlowExecutionMessagesPaginator.js +2 -24
  4. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
  5. package/dist-cjs/pagination/SearchEntitiesPaginator.js +2 -24
  6. package/dist-cjs/pagination/SearchFlowExecutionsPaginator.js +2 -24
  7. package/dist-cjs/pagination/SearchFlowTemplatesPaginator.js +2 -24
  8. package/dist-cjs/pagination/SearchSystemInstancesPaginator.js +2 -24
  9. package/dist-cjs/pagination/SearchSystemTemplatesPaginator.js +2 -24
  10. package/dist-cjs/pagination/SearchThingsPaginator.js +2 -24
  11. package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +2 -23
  12. package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +2 -23
  13. package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +2 -23
  14. package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
  15. package/dist-es/pagination/SearchEntitiesPaginator.js +2 -23
  16. package/dist-es/pagination/SearchFlowExecutionsPaginator.js +2 -23
  17. package/dist-es/pagination/SearchFlowTemplatesPaginator.js +2 -23
  18. package/dist-es/pagination/SearchSystemInstancesPaginator.js +2 -23
  19. package/dist-es/pagination/SearchSystemTemplatesPaginator.js +2 -23
  20. package/dist-es/pagination/SearchThingsPaginator.js +2 -23
  21. package/dist-types/pagination/GetFlowTemplateRevisionsPaginator.d.ts +1 -1
  22. package/dist-types/pagination/GetSystemTemplateRevisionsPaginator.d.ts +1 -1
  23. package/dist-types/pagination/ListFlowExecutionMessagesPaginator.d.ts +1 -1
  24. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  25. package/dist-types/pagination/SearchEntitiesPaginator.d.ts +1 -1
  26. package/dist-types/pagination/SearchFlowExecutionsPaginator.d.ts +1 -1
  27. package/dist-types/pagination/SearchFlowTemplatesPaginator.d.ts +1 -1
  28. package/dist-types/pagination/SearchSystemInstancesPaginator.d.ts +1 -1
  29. package/dist-types/pagination/SearchSystemTemplatesPaginator.d.ts +1 -1
  30. package/dist-types/pagination/SearchThingsPaginator.d.ts +1 -1
  31. package/dist-types/ts3.4/pagination/GetFlowTemplateRevisionsPaginator.d.ts +3 -3
  32. package/dist-types/ts3.4/pagination/GetSystemTemplateRevisionsPaginator.d.ts +3 -3
  33. package/dist-types/ts3.4/pagination/ListFlowExecutionMessagesPaginator.d.ts +3 -3
  34. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
  35. package/dist-types/ts3.4/pagination/SearchEntitiesPaginator.d.ts +3 -3
  36. package/dist-types/ts3.4/pagination/SearchFlowExecutionsPaginator.d.ts +3 -3
  37. package/dist-types/ts3.4/pagination/SearchFlowTemplatesPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/SearchSystemInstancesPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/SearchSystemTemplatesPaginator.d.ts +3 -3
  40. package/dist-types/ts3.4/pagination/SearchThingsPaginator.d.ts +3 -3
  41. package/package.json +6 -5
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetFlowTemplateRevisions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetFlowTemplateRevisionsCommand_1 = require("../commands/GetFlowTemplateRevisionsCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetFlowTemplateRevisionsCommand_1.GetFlowTemplateRevisionsCommand(input), ...args);
8
- };
9
- async function* paginateGetFlowTemplateRevisions(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateGetFlowTemplateRevisions = paginateGetFlowTemplateRevisions;
7
+ exports.paginateGetFlowTemplateRevisions = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, GetFlowTemplateRevisionsCommand_1.GetFlowTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetSystemTemplateRevisions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetSystemTemplateRevisionsCommand_1 = require("../commands/GetSystemTemplateRevisionsCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetSystemTemplateRevisionsCommand_1.GetSystemTemplateRevisionsCommand(input), ...args);
8
- };
9
- async function* paginateGetSystemTemplateRevisions(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateGetSystemTemplateRevisions = paginateGetSystemTemplateRevisions;
7
+ exports.paginateGetSystemTemplateRevisions = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, GetSystemTemplateRevisionsCommand_1.GetSystemTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFlowExecutionMessages = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFlowExecutionMessagesCommand_1 = require("../commands/ListFlowExecutionMessagesCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFlowExecutionMessagesCommand_1.ListFlowExecutionMessagesCommand(input), ...args);
8
- };
9
- async function* paginateListFlowExecutionMessages(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateListFlowExecutionMessages = paginateListFlowExecutionMessages;
7
+ exports.paginateListFlowExecutionMessages = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, ListFlowExecutionMessagesCommand_1.ListFlowExecutionMessagesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTagsForResource = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
8
- };
9
- async function* paginateListTagsForResource(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateListTagsForResource = paginateListTagsForResource;
7
+ exports.paginateListTagsForResource = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateSearchEntities = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const SearchEntitiesCommand_1 = require("../commands/SearchEntitiesCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new SearchEntitiesCommand_1.SearchEntitiesCommand(input), ...args);
8
- };
9
- async function* paginateSearchEntities(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateSearchEntities = paginateSearchEntities;
7
+ exports.paginateSearchEntities = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, SearchEntitiesCommand_1.SearchEntitiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateSearchFlowExecutions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const SearchFlowExecutionsCommand_1 = require("../commands/SearchFlowExecutionsCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new SearchFlowExecutionsCommand_1.SearchFlowExecutionsCommand(input), ...args);
8
- };
9
- async function* paginateSearchFlowExecutions(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateSearchFlowExecutions = paginateSearchFlowExecutions;
7
+ exports.paginateSearchFlowExecutions = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, SearchFlowExecutionsCommand_1.SearchFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateSearchFlowTemplates = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const SearchFlowTemplatesCommand_1 = require("../commands/SearchFlowTemplatesCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new SearchFlowTemplatesCommand_1.SearchFlowTemplatesCommand(input), ...args);
8
- };
9
- async function* paginateSearchFlowTemplates(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateSearchFlowTemplates = paginateSearchFlowTemplates;
7
+ exports.paginateSearchFlowTemplates = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, SearchFlowTemplatesCommand_1.SearchFlowTemplatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateSearchSystemInstances = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const SearchSystemInstancesCommand_1 = require("../commands/SearchSystemInstancesCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new SearchSystemInstancesCommand_1.SearchSystemInstancesCommand(input), ...args);
8
- };
9
- async function* paginateSearchSystemInstances(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateSearchSystemInstances = paginateSearchSystemInstances;
7
+ exports.paginateSearchSystemInstances = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, SearchSystemInstancesCommand_1.SearchSystemInstancesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateSearchSystemTemplates = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const SearchSystemTemplatesCommand_1 = require("../commands/SearchSystemTemplatesCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new SearchSystemTemplatesCommand_1.SearchSystemTemplatesCommand(input), ...args);
8
- };
9
- async function* paginateSearchSystemTemplates(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateSearchSystemTemplates = paginateSearchSystemTemplates;
7
+ exports.paginateSearchSystemTemplates = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, SearchSystemTemplatesCommand_1.SearchSystemTemplatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateSearchThings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const SearchThingsCommand_1 = require("../commands/SearchThingsCommand");
5
6
  const IoTThingsGraphClient_1 = require("../IoTThingsGraphClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new SearchThingsCommand_1.SearchThingsCommand(input), ...args);
8
- };
9
- async function* paginateSearchThings(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 IoTThingsGraphClient_1.IoTThingsGraphClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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.paginateSearchThings = paginateSearchThings;
7
+ exports.paginateSearchThings = (0, core_1.createPaginator)(IoTThingsGraphClient_1.IoTThingsGraphClient, SearchThingsCommand_1.SearchThingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetFlowTemplateRevisionsCommand, } from "../commands/GetFlowTemplateRevisionsCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetFlowTemplateRevisionsCommand(input), ...args);
5
- };
6
- export async function* paginateGetFlowTemplateRevisions(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateGetFlowTemplateRevisions = createPaginator(IoTThingsGraphClient, GetFlowTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetSystemTemplateRevisionsCommand, } from "../commands/GetSystemTemplateRevisionsCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetSystemTemplateRevisionsCommand(input), ...args);
5
- };
6
- export async function* paginateGetSystemTemplateRevisions(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateGetSystemTemplateRevisions = createPaginator(IoTThingsGraphClient, GetSystemTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListFlowExecutionMessagesCommand, } from "../commands/ListFlowExecutionMessagesCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListFlowExecutionMessagesCommand(input), ...args);
5
- };
6
- export async function* paginateListFlowExecutionMessages(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateListFlowExecutionMessages = createPaginator(IoTThingsGraphClient, ListFlowExecutionMessagesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTagsForResourceCommand(input), ...args);
5
- };
6
- export async function* paginateListTagsForResource(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateListTagsForResource = createPaginator(IoTThingsGraphClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchEntitiesCommand, } from "../commands/SearchEntitiesCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchEntitiesCommand(input), ...args);
5
- };
6
- export async function* paginateSearchEntities(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateSearchEntities = createPaginator(IoTThingsGraphClient, SearchEntitiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchFlowExecutionsCommand, } from "../commands/SearchFlowExecutionsCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchFlowExecutionsCommand(input), ...args);
5
- };
6
- export async function* paginateSearchFlowExecutions(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateSearchFlowExecutions = createPaginator(IoTThingsGraphClient, SearchFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchFlowTemplatesCommand, } from "../commands/SearchFlowTemplatesCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchFlowTemplatesCommand(input), ...args);
5
- };
6
- export async function* paginateSearchFlowTemplates(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateSearchFlowTemplates = createPaginator(IoTThingsGraphClient, SearchFlowTemplatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchSystemInstancesCommand, } from "../commands/SearchSystemInstancesCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchSystemInstancesCommand(input), ...args);
5
- };
6
- export async function* paginateSearchSystemInstances(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateSearchSystemInstances = createPaginator(IoTThingsGraphClient, SearchSystemInstancesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchSystemTemplatesCommand, } from "../commands/SearchSystemTemplatesCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchSystemTemplatesCommand(input), ...args);
5
- };
6
- export async function* paginateSearchSystemTemplates(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateSearchSystemTemplates = createPaginator(IoTThingsGraphClient, SearchSystemTemplatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchThingsCommand, } from "../commands/SearchThingsCommand";
2
3
  import { IoTThingsGraphClient } from "../IoTThingsGraphClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchThingsCommand(input), ...args);
5
- };
6
- export async function* paginateSearchThings(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 IoTThingsGraphClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTThingsGraph | IoTThingsGraphClient");
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 paginateSearchThings = createPaginator(IoTThingsGraphClient, SearchThingsCommand, "nextToken", "nextToken", "maxResults");
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetFlowTemplateRevisions(config: IoTThingsGraphPaginationConfiguration, input: GetFlowTemplateRevisionsCommandInput, ...additionalArguments: any): Paginator<GetFlowTemplateRevisionsCommandOutput>;
7
+ export declare const paginateGetFlowTemplateRevisions: (config: IoTThingsGraphPaginationConfiguration, input: GetFlowTemplateRevisionsCommandInput, ...rest: any[]) => Paginator<GetFlowTemplateRevisionsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetSystemTemplateRevisions(config: IoTThingsGraphPaginationConfiguration, input: GetSystemTemplateRevisionsCommandInput, ...additionalArguments: any): Paginator<GetSystemTemplateRevisionsCommandOutput>;
7
+ export declare const paginateGetSystemTemplateRevisions: (config: IoTThingsGraphPaginationConfiguration, input: GetSystemTemplateRevisionsCommandInput, ...rest: any[]) => Paginator<GetSystemTemplateRevisionsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListFlowExecutionMessages(config: IoTThingsGraphPaginationConfiguration, input: ListFlowExecutionMessagesCommandInput, ...additionalArguments: any): Paginator<ListFlowExecutionMessagesCommandOutput>;
7
+ export declare const paginateListFlowExecutionMessages: (config: IoTThingsGraphPaginationConfiguration, input: ListFlowExecutionMessagesCommandInput, ...rest: any[]) => Paginator<ListFlowExecutionMessagesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTagsForResource(config: IoTThingsGraphPaginationConfiguration, input: ListTagsForResourceCommandInput, ...additionalArguments: any): Paginator<ListTagsForResourceCommandOutput>;
7
+ export declare const paginateListTagsForResource: (config: IoTThingsGraphPaginationConfiguration, input: ListTagsForResourceCommandInput, ...rest: any[]) => Paginator<ListTagsForResourceCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearchEntities(config: IoTThingsGraphPaginationConfiguration, input: SearchEntitiesCommandInput, ...additionalArguments: any): Paginator<SearchEntitiesCommandOutput>;
7
+ export declare const paginateSearchEntities: (config: IoTThingsGraphPaginationConfiguration, input: SearchEntitiesCommandInput, ...rest: any[]) => Paginator<SearchEntitiesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearchFlowExecutions(config: IoTThingsGraphPaginationConfiguration, input: SearchFlowExecutionsCommandInput, ...additionalArguments: any): Paginator<SearchFlowExecutionsCommandOutput>;
7
+ export declare const paginateSearchFlowExecutions: (config: IoTThingsGraphPaginationConfiguration, input: SearchFlowExecutionsCommandInput, ...rest: any[]) => Paginator<SearchFlowExecutionsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearchFlowTemplates(config: IoTThingsGraphPaginationConfiguration, input: SearchFlowTemplatesCommandInput, ...additionalArguments: any): Paginator<SearchFlowTemplatesCommandOutput>;
7
+ export declare const paginateSearchFlowTemplates: (config: IoTThingsGraphPaginationConfiguration, input: SearchFlowTemplatesCommandInput, ...rest: any[]) => Paginator<SearchFlowTemplatesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearchSystemInstances(config: IoTThingsGraphPaginationConfiguration, input: SearchSystemInstancesCommandInput, ...additionalArguments: any): Paginator<SearchSystemInstancesCommandOutput>;
7
+ export declare const paginateSearchSystemInstances: (config: IoTThingsGraphPaginationConfiguration, input: SearchSystemInstancesCommandInput, ...rest: any[]) => Paginator<SearchSystemInstancesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearchSystemTemplates(config: IoTThingsGraphPaginationConfiguration, input: SearchSystemTemplatesCommandInput, ...additionalArguments: any): Paginator<SearchSystemTemplatesCommandOutput>;
7
+ export declare const paginateSearchSystemTemplates: (config: IoTThingsGraphPaginationConfiguration, input: SearchSystemTemplatesCommandInput, ...rest: any[]) => Paginator<SearchSystemTemplatesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearchThings(config: IoTThingsGraphPaginationConfiguration, input: SearchThingsCommandInput, ...additionalArguments: any): Paginator<SearchThingsCommandOutput>;
7
+ export declare const paginateSearchThings: (config: IoTThingsGraphPaginationConfiguration, input: SearchThingsCommandInput, ...rest: any[]) => Paginator<SearchThingsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetFlowTemplateRevisionsCommandOutput,
5
5
  } from "../commands/GetFlowTemplateRevisionsCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetFlowTemplateRevisions(
7
+ export declare const paginateGetFlowTemplateRevisions: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: GetFlowTemplateRevisionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetFlowTemplateRevisionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetFlowTemplateRevisionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetSystemTemplateRevisionsCommandOutput,
5
5
  } from "../commands/GetSystemTemplateRevisionsCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetSystemTemplateRevisions(
7
+ export declare const paginateGetSystemTemplateRevisions: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: GetSystemTemplateRevisionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetSystemTemplateRevisionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetSystemTemplateRevisionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListFlowExecutionMessagesCommandOutput,
5
5
  } from "../commands/ListFlowExecutionMessagesCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListFlowExecutionMessages(
7
+ export declare const paginateListFlowExecutionMessages: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: ListFlowExecutionMessagesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListFlowExecutionMessagesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListFlowExecutionMessagesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTagsForResourceCommandOutput,
5
5
  } from "../commands/ListTagsForResourceCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTagsForResource(
7
+ export declare const paginateListTagsForResource: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: ListTagsForResourceCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTagsForResourceCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTagsForResourceCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  SearchEntitiesCommandOutput,
5
5
  } from "../commands/SearchEntitiesCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateSearchEntities(
7
+ export declare const paginateSearchEntities: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: SearchEntitiesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<SearchEntitiesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<SearchEntitiesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  SearchFlowExecutionsCommandOutput,
5
5
  } from "../commands/SearchFlowExecutionsCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateSearchFlowExecutions(
7
+ export declare const paginateSearchFlowExecutions: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: SearchFlowExecutionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<SearchFlowExecutionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<SearchFlowExecutionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  SearchFlowTemplatesCommandOutput,
5
5
  } from "../commands/SearchFlowTemplatesCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateSearchFlowTemplates(
7
+ export declare const paginateSearchFlowTemplates: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: SearchFlowTemplatesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<SearchFlowTemplatesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<SearchFlowTemplatesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  SearchSystemInstancesCommandOutput,
5
5
  } from "../commands/SearchSystemInstancesCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateSearchSystemInstances(
7
+ export declare const paginateSearchSystemInstances: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: SearchSystemInstancesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<SearchSystemInstancesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<SearchSystemInstancesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  SearchSystemTemplatesCommandOutput,
5
5
  } from "../commands/SearchSystemTemplatesCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateSearchSystemTemplates(
7
+ export declare const paginateSearchSystemTemplates: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: SearchSystemTemplatesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<SearchSystemTemplatesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<SearchSystemTemplatesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  SearchThingsCommandOutput,
5
5
  } from "../commands/SearchThingsCommand";
6
6
  import { IoTThingsGraphPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateSearchThings(
7
+ export declare const paginateSearchThings: (
8
8
  config: IoTThingsGraphPaginationConfiguration,
9
9
  input: SearchThingsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<SearchThingsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<SearchThingsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotthingsgraph",
3
3
  "description": "AWS SDK for JavaScript Iotthingsgraph 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,20 +20,21 @@
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",
37
+ "@smithy/core": "^1.2.0",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",