@aws-sdk/client-iot-wireless 3.476.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 (47) hide show
  1. package/dist-cjs/pagination/ListDestinationsPaginator.js +2 -24
  2. package/dist-cjs/pagination/ListDeviceProfilesPaginator.js +2 -24
  3. package/dist-cjs/pagination/ListFuotaTasksPaginator.js +2 -24
  4. package/dist-cjs/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +2 -24
  5. package/dist-cjs/pagination/ListMulticastGroupsPaginator.js +2 -24
  6. package/dist-cjs/pagination/ListNetworkAnalyzerConfigurationsPaginator.js +2 -24
  7. package/dist-cjs/pagination/ListPositionConfigurationsPaginator.js +2 -24
  8. package/dist-cjs/pagination/ListQueuedMessagesPaginator.js +2 -24
  9. package/dist-cjs/pagination/ListServiceProfilesPaginator.js +2 -24
  10. package/dist-cjs/pagination/ListWirelessDevicesPaginator.js +2 -24
  11. package/dist-cjs/pagination/ListWirelessGatewaysPaginator.js +2 -24
  12. package/dist-cjs/protocols/Aws_restJson1.js +623 -1397
  13. package/dist-es/pagination/ListDestinationsPaginator.js +2 -23
  14. package/dist-es/pagination/ListDeviceProfilesPaginator.js +2 -23
  15. package/dist-es/pagination/ListFuotaTasksPaginator.js +2 -23
  16. package/dist-es/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +2 -23
  17. package/dist-es/pagination/ListMulticastGroupsPaginator.js +2 -23
  18. package/dist-es/pagination/ListNetworkAnalyzerConfigurationsPaginator.js +2 -23
  19. package/dist-es/pagination/ListPositionConfigurationsPaginator.js +2 -23
  20. package/dist-es/pagination/ListQueuedMessagesPaginator.js +2 -23
  21. package/dist-es/pagination/ListServiceProfilesPaginator.js +2 -23
  22. package/dist-es/pagination/ListWirelessDevicesPaginator.js +2 -23
  23. package/dist-es/pagination/ListWirelessGatewaysPaginator.js +2 -23
  24. package/dist-es/protocols/Aws_restJson1.js +624 -1398
  25. package/dist-types/pagination/ListDestinationsPaginator.d.ts +1 -1
  26. package/dist-types/pagination/ListDeviceProfilesPaginator.d.ts +1 -1
  27. package/dist-types/pagination/ListFuotaTasksPaginator.d.ts +1 -1
  28. package/dist-types/pagination/ListMulticastGroupsByFuotaTaskPaginator.d.ts +1 -1
  29. package/dist-types/pagination/ListMulticastGroupsPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListNetworkAnalyzerConfigurationsPaginator.d.ts +1 -1
  31. package/dist-types/pagination/ListPositionConfigurationsPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ListQueuedMessagesPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListServiceProfilesPaginator.d.ts +1 -1
  34. package/dist-types/pagination/ListWirelessDevicesPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListWirelessGatewaysPaginator.d.ts +1 -1
  36. package/dist-types/ts3.4/pagination/ListDestinationsPaginator.d.ts +3 -3
  37. package/dist-types/ts3.4/pagination/ListDeviceProfilesPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/ListFuotaTasksPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/ListMulticastGroupsByFuotaTaskPaginator.d.ts +3 -3
  40. package/dist-types/ts3.4/pagination/ListMulticastGroupsPaginator.d.ts +3 -3
  41. package/dist-types/ts3.4/pagination/ListNetworkAnalyzerConfigurationsPaginator.d.ts +3 -3
  42. package/dist-types/ts3.4/pagination/ListPositionConfigurationsPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/ListQueuedMessagesPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/ListServiceProfilesPaginator.d.ts +3 -3
  45. package/dist-types/ts3.4/pagination/ListWirelessDevicesPaginator.d.ts +3 -3
  46. package/dist-types/ts3.4/pagination/ListWirelessGatewaysPaginator.d.ts +3 -3
  47. package/package.json +7 -6
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDestinations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDestinationsCommand_1 = require("../commands/ListDestinationsCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDestinationsCommand_1.ListDestinationsCommand(input), ...args);
8
- };
9
- async function* paginateListDestinations(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListDestinations = paginateListDestinations;
7
+ exports.paginateListDestinations = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListDestinationsCommand_1.ListDestinationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDeviceProfiles = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDeviceProfilesCommand_1 = require("../commands/ListDeviceProfilesCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDeviceProfilesCommand_1.ListDeviceProfilesCommand(input), ...args);
8
- };
9
- async function* paginateListDeviceProfiles(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListDeviceProfiles = paginateListDeviceProfiles;
7
+ exports.paginateListDeviceProfiles = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListDeviceProfilesCommand_1.ListDeviceProfilesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFuotaTasks = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFuotaTasksCommand_1 = require("../commands/ListFuotaTasksCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFuotaTasksCommand_1.ListFuotaTasksCommand(input), ...args);
8
- };
9
- async function* paginateListFuotaTasks(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListFuotaTasks = paginateListFuotaTasks;
7
+ exports.paginateListFuotaTasks = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListFuotaTasksCommand_1.ListFuotaTasksCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListMulticastGroupsByFuotaTask = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListMulticastGroupsByFuotaTaskCommand_1 = require("../commands/ListMulticastGroupsByFuotaTaskCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListMulticastGroupsByFuotaTaskCommand_1.ListMulticastGroupsByFuotaTaskCommand(input), ...args);
8
- };
9
- async function* paginateListMulticastGroupsByFuotaTask(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListMulticastGroupsByFuotaTask = paginateListMulticastGroupsByFuotaTask;
7
+ exports.paginateListMulticastGroupsByFuotaTask = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListMulticastGroupsByFuotaTaskCommand_1.ListMulticastGroupsByFuotaTaskCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListMulticastGroups = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListMulticastGroupsCommand_1 = require("../commands/ListMulticastGroupsCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListMulticastGroupsCommand_1.ListMulticastGroupsCommand(input), ...args);
8
- };
9
- async function* paginateListMulticastGroups(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListMulticastGroups = paginateListMulticastGroups;
7
+ exports.paginateListMulticastGroups = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListMulticastGroupsCommand_1.ListMulticastGroupsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListNetworkAnalyzerConfigurations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListNetworkAnalyzerConfigurationsCommand_1 = require("../commands/ListNetworkAnalyzerConfigurationsCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListNetworkAnalyzerConfigurationsCommand_1.ListNetworkAnalyzerConfigurationsCommand(input), ...args);
8
- };
9
- async function* paginateListNetworkAnalyzerConfigurations(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListNetworkAnalyzerConfigurations = paginateListNetworkAnalyzerConfigurations;
7
+ exports.paginateListNetworkAnalyzerConfigurations = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListNetworkAnalyzerConfigurationsCommand_1.ListNetworkAnalyzerConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListPositionConfigurations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListPositionConfigurationsCommand_1 = require("../commands/ListPositionConfigurationsCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListPositionConfigurationsCommand_1.ListPositionConfigurationsCommand(input), ...args);
8
- };
9
- async function* paginateListPositionConfigurations(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListPositionConfigurations = paginateListPositionConfigurations;
7
+ exports.paginateListPositionConfigurations = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListPositionConfigurationsCommand_1.ListPositionConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListQueuedMessages = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListQueuedMessagesCommand_1 = require("../commands/ListQueuedMessagesCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListQueuedMessagesCommand_1.ListQueuedMessagesCommand(input), ...args);
8
- };
9
- async function* paginateListQueuedMessages(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListQueuedMessages = paginateListQueuedMessages;
7
+ exports.paginateListQueuedMessages = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListQueuedMessagesCommand_1.ListQueuedMessagesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListServiceProfiles = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListServiceProfilesCommand_1 = require("../commands/ListServiceProfilesCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListServiceProfilesCommand_1.ListServiceProfilesCommand(input), ...args);
8
- };
9
- async function* paginateListServiceProfiles(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListServiceProfiles = paginateListServiceProfiles;
7
+ exports.paginateListServiceProfiles = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListServiceProfilesCommand_1.ListServiceProfilesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListWirelessDevices = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListWirelessDevicesCommand_1 = require("../commands/ListWirelessDevicesCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListWirelessDevicesCommand_1.ListWirelessDevicesCommand(input), ...args);
8
- };
9
- async function* paginateListWirelessDevices(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListWirelessDevices = paginateListWirelessDevices;
7
+ exports.paginateListWirelessDevices = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListWirelessDevicesCommand_1.ListWirelessDevicesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListWirelessGateways = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListWirelessGatewaysCommand_1 = require("../commands/ListWirelessGatewaysCommand");
5
6
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListWirelessGatewaysCommand_1.ListWirelessGatewaysCommand(input), ...args);
8
- };
9
- async function* paginateListWirelessGateways(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 IoTWirelessClient_1.IoTWirelessClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
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.paginateListWirelessGateways = paginateListWirelessGateways;
7
+ exports.paginateListWirelessGateways = (0, core_1.createPaginator)(IoTWirelessClient_1.IoTWirelessClient, ListWirelessGatewaysCommand_1.ListWirelessGatewaysCommand, "NextToken", "NextToken", "MaxResults");