@aws-sdk/client-iot-wireless 3.281.0 → 3.287.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 (25) hide show
  1. package/dist-cjs/pagination/ListDestinationsPaginator.js +1 -8
  2. package/dist-cjs/pagination/ListDeviceProfilesPaginator.js +1 -8
  3. package/dist-cjs/pagination/ListFuotaTasksPaginator.js +1 -8
  4. package/dist-cjs/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +1 -8
  5. package/dist-cjs/pagination/ListMulticastGroupsPaginator.js +1 -8
  6. package/dist-cjs/pagination/ListNetworkAnalyzerConfigurationsPaginator.js +1 -8
  7. package/dist-cjs/pagination/ListPositionConfigurationsPaginator.js +1 -8
  8. package/dist-cjs/pagination/ListQueuedMessagesPaginator.js +1 -8
  9. package/dist-cjs/pagination/ListServiceProfilesPaginator.js +1 -8
  10. package/dist-cjs/pagination/ListWirelessDevicesPaginator.js +1 -8
  11. package/dist-cjs/pagination/ListWirelessGatewaysPaginator.js +1 -8
  12. package/dist-es/pagination/ListDestinationsPaginator.js +1 -8
  13. package/dist-es/pagination/ListDeviceProfilesPaginator.js +1 -8
  14. package/dist-es/pagination/ListFuotaTasksPaginator.js +1 -8
  15. package/dist-es/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +1 -8
  16. package/dist-es/pagination/ListMulticastGroupsPaginator.js +1 -8
  17. package/dist-es/pagination/ListNetworkAnalyzerConfigurationsPaginator.js +1 -8
  18. package/dist-es/pagination/ListPositionConfigurationsPaginator.js +1 -8
  19. package/dist-es/pagination/ListQueuedMessagesPaginator.js +1 -8
  20. package/dist-es/pagination/ListServiceProfilesPaginator.js +1 -8
  21. package/dist-es/pagination/ListWirelessDevicesPaginator.js +1 -8
  22. package/dist-es/pagination/ListWirelessGatewaysPaginator.js +1 -8
  23. package/dist-types/pagination/Interfaces.d.ts +1 -2
  24. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  25. package/package.json +19 -19
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDestinations = void 0;
4
4
  const ListDestinationsCommand_1 = require("../commands/ListDestinationsCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListDestinationsCommand_1.ListDestinationsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listDestinations(input, ...args);
12
- };
13
9
  async function* paginateListDestinations(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListDestinations(config, input, ...additionalArguments)
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDeviceProfiles = void 0;
4
4
  const ListDeviceProfilesCommand_1 = require("../commands/ListDeviceProfilesCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListDeviceProfilesCommand_1.ListDeviceProfilesCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listDeviceProfiles(input, ...args);
12
- };
13
9
  async function* paginateListDeviceProfiles(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListDeviceProfiles(config, input, ...additionalArguments
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFuotaTasks = void 0;
4
4
  const ListFuotaTasksCommand_1 = require("../commands/ListFuotaTasksCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListFuotaTasksCommand_1.ListFuotaTasksCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listFuotaTasks(input, ...args);
12
- };
13
9
  async function* paginateListFuotaTasks(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListFuotaTasks(config, input, ...additionalArguments) {
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListMulticastGroupsByFuotaTask = void 0;
4
4
  const ListMulticastGroupsByFuotaTaskCommand_1 = require("../commands/ListMulticastGroupsByFuotaTaskCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListMulticastGroupsByFuotaTaskCommand_1.ListMulticastGroupsByFuotaTaskCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listMulticastGroupsByFuotaTask(input, ...args);
12
- };
13
9
  async function* paginateListMulticastGroupsByFuotaTask(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListMulticastGroupsByFuotaTask(config, input, ...additio
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListMulticastGroups = void 0;
4
4
  const ListMulticastGroupsCommand_1 = require("../commands/ListMulticastGroupsCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListMulticastGroupsCommand_1.ListMulticastGroupsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listMulticastGroups(input, ...args);
12
- };
13
9
  async function* paginateListMulticastGroups(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListMulticastGroups(config, input, ...additionalArgument
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListNetworkAnalyzerConfigurations = void 0;
4
4
  const ListNetworkAnalyzerConfigurationsCommand_1 = require("../commands/ListNetworkAnalyzerConfigurationsCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListNetworkAnalyzerConfigurationsCommand_1.ListNetworkAnalyzerConfigurationsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listNetworkAnalyzerConfigurations(input, ...args);
12
- };
13
9
  async function* paginateListNetworkAnalyzerConfigurations(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListNetworkAnalyzerConfigurations(config, input, ...addi
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListPositionConfigurations = void 0;
4
4
  const ListPositionConfigurationsCommand_1 = require("../commands/ListPositionConfigurationsCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListPositionConfigurationsCommand_1.ListPositionConfigurationsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listPositionConfigurations(input, ...args);
12
- };
13
9
  async function* paginateListPositionConfigurations(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListPositionConfigurations(config, input, ...additionalA
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListQueuedMessages = void 0;
4
4
  const ListQueuedMessagesCommand_1 = require("../commands/ListQueuedMessagesCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListQueuedMessagesCommand_1.ListQueuedMessagesCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listQueuedMessages(input, ...args);
12
- };
13
9
  async function* paginateListQueuedMessages(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListQueuedMessages(config, input, ...additionalArguments
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListServiceProfiles = void 0;
4
4
  const ListServiceProfilesCommand_1 = require("../commands/ListServiceProfilesCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListServiceProfilesCommand_1.ListServiceProfilesCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listServiceProfiles(input, ...args);
12
- };
13
9
  async function* paginateListServiceProfiles(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListServiceProfiles(config, input, ...additionalArgument
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListWirelessDevices = void 0;
4
4
  const ListWirelessDevicesCommand_1 = require("../commands/ListWirelessDevicesCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListWirelessDevicesCommand_1.ListWirelessDevicesCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listWirelessDevices(input, ...args);
12
- };
13
9
  async function* paginateListWirelessDevices(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListWirelessDevices(config, input, ...additionalArgument
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListWirelessGateways = void 0;
4
4
  const ListWirelessGatewaysCommand_1 = require("../commands/ListWirelessGatewaysCommand");
5
- const IoTWireless_1 = require("../IoTWireless");
6
5
  const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new ListWirelessGatewaysCommand_1.ListWirelessGatewaysCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.listWirelessGateways(input, ...args);
12
- };
13
9
  async function* paginateListWirelessGateways(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateListWirelessGateways(config, input, ...additionalArgumen
17
13
  while (hasNext) {
18
14
  input.NextToken = token;
19
15
  input["MaxResults"] = config.pageSize;
20
- if (config.client instanceof IoTWireless_1.IoTWireless) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
16
+ if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListDestinationsCommand, } from "../commands/ListDestinationsCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListDestinationsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listDestinations(input, ...args);
9
- };
10
6
  export async function* paginateListDestinations(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListDestinations(config, input, ...additionalArgu
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListDeviceProfilesCommand, } from "../commands/ListDeviceProfilesCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListDeviceProfilesCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listDeviceProfiles(input, ...args);
9
- };
10
6
  export async function* paginateListDeviceProfiles(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListDeviceProfiles(config, input, ...additionalAr
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListFuotaTasksCommand, } from "../commands/ListFuotaTasksCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListFuotaTasksCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listFuotaTasks(input, ...args);
9
- };
10
6
  export async function* paginateListFuotaTasks(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListFuotaTasks(config, input, ...additionalArgume
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListMulticastGroupsByFuotaTaskCommand, } from "../commands/ListMulticastGroupsByFuotaTaskCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListMulticastGroupsByFuotaTaskCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listMulticastGroupsByFuotaTask(input, ...args);
9
- };
10
6
  export async function* paginateListMulticastGroupsByFuotaTask(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListMulticastGroupsByFuotaTask(config, input, ...
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListMulticastGroupsCommand, } from "../commands/ListMulticastGroupsCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListMulticastGroupsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listMulticastGroups(input, ...args);
9
- };
10
6
  export async function* paginateListMulticastGroups(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListMulticastGroups(config, input, ...additionalA
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListNetworkAnalyzerConfigurationsCommand, } from "../commands/ListNetworkAnalyzerConfigurationsCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListNetworkAnalyzerConfigurationsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listNetworkAnalyzerConfigurations(input, ...args);
9
- };
10
6
  export async function* paginateListNetworkAnalyzerConfigurations(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListNetworkAnalyzerConfigurations(config, input,
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListPositionConfigurationsCommand, } from "../commands/ListPositionConfigurationsCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListPositionConfigurationsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listPositionConfigurations(input, ...args);
9
- };
10
6
  export async function* paginateListPositionConfigurations(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListPositionConfigurations(config, input, ...addi
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListQueuedMessagesCommand, } from "../commands/ListQueuedMessagesCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListQueuedMessagesCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listQueuedMessages(input, ...args);
9
- };
10
6
  export async function* paginateListQueuedMessages(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListQueuedMessages(config, input, ...additionalAr
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListServiceProfilesCommand, } from "../commands/ListServiceProfilesCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListServiceProfilesCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listServiceProfiles(input, ...args);
9
- };
10
6
  export async function* paginateListServiceProfiles(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListServiceProfiles(config, input, ...additionalA
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListWirelessDevicesCommand, } from "../commands/ListWirelessDevicesCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListWirelessDevicesCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listWirelessDevices(input, ...args);
9
- };
10
6
  export async function* paginateListWirelessDevices(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListWirelessDevices(config, input, ...additionalA
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { ListWirelessGatewaysCommand, } from "../commands/ListWirelessGatewaysCommand";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new ListWirelessGatewaysCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.listWirelessGateways(input, ...args);
9
- };
10
6
  export async function* paginateListWirelessGateways(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateListWirelessGateways(config, input, ...additional
14
10
  while (hasNext) {
15
11
  input.NextToken = token;
16
12
  input["MaxResults"] = config.pageSize;
17
- if (config.client instanceof IoTWireless) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof IoTWirelessClient) {
13
+ if (config.client instanceof IoTWirelessClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  export interface IoTWirelessPaginationConfiguration extends PaginationConfiguration {
5
- client: IoTWireless | IoTWirelessClient;
4
+ client: IoTWirelessClient;
6
5
  }
@@ -1,7 +1,6 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { IoTWireless } from "../IoTWireless";
3
2
  import { IoTWirelessClient } from "../IoTWirelessClient";
4
3
  export interface IoTWirelessPaginationConfiguration
5
4
  extends PaginationConfiguration {
6
- client: IoTWireless | IoTWirelessClient;
5
+ client: IoTWirelessClient;
7
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-wireless",
3
3
  "description": "AWS SDK for JavaScript Iot Wireless Client for Node.js, Browser and React Native",
4
- "version": "3.281.0",
4
+ "version": "3.287.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,25 +20,25 @@
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.281.0",
24
- "@aws-sdk/config-resolver": "3.272.0",
25
- "@aws-sdk/credential-provider-node": "3.281.0",
26
- "@aws-sdk/fetch-http-handler": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.287.0",
24
+ "@aws-sdk/config-resolver": "3.287.0",
25
+ "@aws-sdk/credential-provider-node": "3.287.0",
26
+ "@aws-sdk/fetch-http-handler": "3.282.0",
27
27
  "@aws-sdk/hash-node": "3.272.0",
28
28
  "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.272.0",
30
- "@aws-sdk/middleware-endpoint": "3.272.0",
31
- "@aws-sdk/middleware-host-header": "3.278.0",
32
- "@aws-sdk/middleware-logger": "3.272.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.272.0",
34
- "@aws-sdk/middleware-retry": "3.272.0",
29
+ "@aws-sdk/middleware-content-length": "3.282.0",
30
+ "@aws-sdk/middleware-endpoint": "3.282.0",
31
+ "@aws-sdk/middleware-host-header": "3.282.0",
32
+ "@aws-sdk/middleware-logger": "3.287.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
+ "@aws-sdk/middleware-retry": "3.287.0",
35
35
  "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.272.0",
36
+ "@aws-sdk/middleware-signing": "3.282.0",
37
37
  "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.272.0",
39
- "@aws-sdk/node-config-provider": "3.272.0",
40
- "@aws-sdk/node-http-handler": "3.272.0",
41
- "@aws-sdk/protocol-http": "3.272.0",
38
+ "@aws-sdk/middleware-user-agent": "3.282.0",
39
+ "@aws-sdk/node-config-provider": "3.287.0",
40
+ "@aws-sdk/node-http-handler": "3.282.0",
41
+ "@aws-sdk/protocol-http": "3.282.0",
42
42
  "@aws-sdk/smithy-client": "3.279.0",
43
43
  "@aws-sdk/types": "3.272.0",
44
44
  "@aws-sdk/url-parser": "3.272.0",
@@ -46,11 +46,11 @@
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.279.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
50
  "@aws-sdk/util-endpoints": "3.272.0",
51
51
  "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.272.0",
53
- "@aws-sdk/util-user-agent-node": "3.272.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.282.0",
53
+ "@aws-sdk/util-user-agent-node": "3.287.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"