@aws-sdk/client-iot-wireless 3.39.0 → 3.43.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 (217) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/IoTWireless.js +420 -0
  3. package/dist-cjs/commands/AssociateMulticastGroupWithFuotaTaskCommand.js +36 -0
  4. package/dist-cjs/commands/AssociateWirelessDeviceWithFuotaTaskCommand.js +36 -0
  5. package/dist-cjs/commands/AssociateWirelessDeviceWithMulticastGroupCommand.js +36 -0
  6. package/dist-cjs/commands/CancelMulticastGroupSessionCommand.js +36 -0
  7. package/dist-cjs/commands/CreateFuotaTaskCommand.js +36 -0
  8. package/dist-cjs/commands/CreateMulticastGroupCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteFuotaTaskCommand.js +36 -0
  10. package/dist-cjs/commands/DeleteMulticastGroupCommand.js +36 -0
  11. package/dist-cjs/commands/DisassociateMulticastGroupFromFuotaTaskCommand.js +36 -0
  12. package/dist-cjs/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.js +36 -0
  13. package/dist-cjs/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.js +36 -0
  14. package/dist-cjs/commands/GetFuotaTaskCommand.js +36 -0
  15. package/dist-cjs/commands/GetMulticastGroupCommand.js +36 -0
  16. package/dist-cjs/commands/GetMulticastGroupSessionCommand.js +36 -0
  17. package/dist-cjs/commands/GetNetworkAnalyzerConfigurationCommand.js +36 -0
  18. package/dist-cjs/commands/GetResourceEventConfigurationCommand.js +36 -0
  19. package/dist-cjs/commands/ListFuotaTasksCommand.js +36 -0
  20. package/dist-cjs/commands/ListMulticastGroupsByFuotaTaskCommand.js +36 -0
  21. package/dist-cjs/commands/ListMulticastGroupsCommand.js +36 -0
  22. package/dist-cjs/commands/SendDataToMulticastGroupCommand.js +36 -0
  23. package/dist-cjs/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.js +36 -0
  24. package/dist-cjs/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.js +36 -0
  25. package/dist-cjs/commands/StartFuotaTaskCommand.js +36 -0
  26. package/dist-cjs/commands/StartMulticastGroupSessionCommand.js +36 -0
  27. package/dist-cjs/commands/UpdateFuotaTaskCommand.js +36 -0
  28. package/dist-cjs/commands/UpdateMulticastGroupCommand.js +36 -0
  29. package/dist-cjs/commands/UpdateNetworkAnalyzerConfigurationCommand.js +36 -0
  30. package/dist-cjs/commands/UpdateResourceEventConfigurationCommand.js +36 -0
  31. package/dist-cjs/commands/index.js +28 -0
  32. package/dist-cjs/endpoints.js +121 -6
  33. package/dist-cjs/models/models_0.js +490 -4
  34. package/dist-cjs/pagination/ListFuotaTasksPaginator.js +35 -0
  35. package/dist-cjs/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +35 -0
  36. package/dist-cjs/pagination/ListMulticastGroupsPaginator.js +35 -0
  37. package/dist-cjs/pagination/index.js +3 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +4371 -896
  39. package/dist-cjs/runtimeConfig.browser.js +6 -3
  40. package/dist-cjs/runtimeConfig.js +5 -3
  41. package/dist-es/IoTWireless.js +420 -0
  42. package/dist-es/commands/AssociateMulticastGroupWithFuotaTaskCommand.js +39 -0
  43. package/dist-es/commands/AssociateWirelessDeviceWithFuotaTaskCommand.js +39 -0
  44. package/dist-es/commands/AssociateWirelessDeviceWithMulticastGroupCommand.js +39 -0
  45. package/dist-es/commands/CancelMulticastGroupSessionCommand.js +39 -0
  46. package/dist-es/commands/CreateFuotaTaskCommand.js +39 -0
  47. package/dist-es/commands/CreateMulticastGroupCommand.js +39 -0
  48. package/dist-es/commands/DeleteFuotaTaskCommand.js +39 -0
  49. package/dist-es/commands/DeleteMulticastGroupCommand.js +39 -0
  50. package/dist-es/commands/DisassociateMulticastGroupFromFuotaTaskCommand.js +39 -0
  51. package/dist-es/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.js +39 -0
  52. package/dist-es/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.js +39 -0
  53. package/dist-es/commands/GetFuotaTaskCommand.js +39 -0
  54. package/dist-es/commands/GetMulticastGroupCommand.js +39 -0
  55. package/dist-es/commands/GetMulticastGroupSessionCommand.js +39 -0
  56. package/dist-es/commands/GetNetworkAnalyzerConfigurationCommand.js +39 -0
  57. package/dist-es/commands/GetResourceEventConfigurationCommand.js +39 -0
  58. package/dist-es/commands/ListFuotaTasksCommand.js +39 -0
  59. package/dist-es/commands/ListMulticastGroupsByFuotaTaskCommand.js +39 -0
  60. package/dist-es/commands/ListMulticastGroupsCommand.js +39 -0
  61. package/dist-es/commands/SendDataToMulticastGroupCommand.js +39 -0
  62. package/dist-es/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.js +39 -0
  63. package/dist-es/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.js +39 -0
  64. package/dist-es/commands/StartFuotaTaskCommand.js +39 -0
  65. package/dist-es/commands/StartMulticastGroupSessionCommand.js +39 -0
  66. package/dist-es/commands/UpdateFuotaTaskCommand.js +39 -0
  67. package/dist-es/commands/UpdateMulticastGroupCommand.js +39 -0
  68. package/dist-es/commands/UpdateNetworkAnalyzerConfigurationCommand.js +39 -0
  69. package/dist-es/commands/UpdateResourceEventConfigurationCommand.js +39 -0
  70. package/dist-es/commands/index.js +28 -0
  71. package/dist-es/endpoints.js +121 -6
  72. package/dist-es/models/models_0.js +340 -0
  73. package/dist-es/pagination/ListFuotaTasksPaginator.js +74 -0
  74. package/dist-es/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +74 -0
  75. package/dist-es/pagination/ListMulticastGroupsPaginator.js +74 -0
  76. package/dist-es/pagination/index.js +3 -0
  77. package/dist-es/protocols/Aws_restJson1.js +5730 -1858
  78. package/dist-es/runtimeConfig.browser.js +3 -2
  79. package/dist-es/runtimeConfig.js +3 -3
  80. package/dist-types/IoTWireless.d.ts +196 -0
  81. package/dist-types/IoTWirelessClient.d.ts +38 -2
  82. package/dist-types/commands/AssociateAwsAccountWithPartnerAccountCommand.d.ts +1 -1
  83. package/dist-types/commands/AssociateMulticastGroupWithFuotaTaskCommand.d.ts +35 -0
  84. package/dist-types/commands/AssociateWirelessDeviceWithFuotaTaskCommand.d.ts +35 -0
  85. package/dist-types/commands/AssociateWirelessDeviceWithMulticastGroupCommand.d.ts +35 -0
  86. package/dist-types/commands/AssociateWirelessDeviceWithThingCommand.d.ts +1 -1
  87. package/dist-types/commands/AssociateWirelessGatewayWithCertificateCommand.d.ts +1 -1
  88. package/dist-types/commands/AssociateWirelessGatewayWithThingCommand.d.ts +1 -1
  89. package/dist-types/commands/CancelMulticastGroupSessionCommand.d.ts +35 -0
  90. package/dist-types/commands/CreateDestinationCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateDeviceProfileCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateFuotaTaskCommand.d.ts +35 -0
  93. package/dist-types/commands/CreateMulticastGroupCommand.d.ts +35 -0
  94. package/dist-types/commands/CreateServiceProfileCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateWirelessDeviceCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateWirelessGatewayCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateWirelessGatewayTaskCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateWirelessGatewayTaskDefinitionCommand.d.ts +1 -1
  99. package/dist-types/commands/DeleteDestinationCommand.d.ts +1 -1
  100. package/dist-types/commands/DeleteDeviceProfileCommand.d.ts +1 -1
  101. package/dist-types/commands/DeleteFuotaTaskCommand.d.ts +35 -0
  102. package/dist-types/commands/DeleteMulticastGroupCommand.d.ts +35 -0
  103. package/dist-types/commands/DeleteServiceProfileCommand.d.ts +1 -1
  104. package/dist-types/commands/DeleteWirelessDeviceCommand.d.ts +1 -1
  105. package/dist-types/commands/DeleteWirelessGatewayCommand.d.ts +1 -1
  106. package/dist-types/commands/DeleteWirelessGatewayTaskCommand.d.ts +1 -1
  107. package/dist-types/commands/DeleteWirelessGatewayTaskDefinitionCommand.d.ts +1 -1
  108. package/dist-types/commands/DisassociateAwsAccountFromPartnerAccountCommand.d.ts +1 -1
  109. package/dist-types/commands/DisassociateMulticastGroupFromFuotaTaskCommand.d.ts +35 -0
  110. package/dist-types/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.d.ts +35 -0
  111. package/dist-types/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +35 -0
  112. package/dist-types/commands/DisassociateWirelessDeviceFromThingCommand.d.ts +1 -1
  113. package/dist-types/commands/DisassociateWirelessGatewayFromCertificateCommand.d.ts +1 -1
  114. package/dist-types/commands/DisassociateWirelessGatewayFromThingCommand.d.ts +1 -1
  115. package/dist-types/commands/GetDestinationCommand.d.ts +1 -1
  116. package/dist-types/commands/GetDeviceProfileCommand.d.ts +1 -1
  117. package/dist-types/commands/GetFuotaTaskCommand.d.ts +35 -0
  118. package/dist-types/commands/GetLogLevelsByResourceTypesCommand.d.ts +1 -1
  119. package/dist-types/commands/GetMulticastGroupCommand.d.ts +35 -0
  120. package/dist-types/commands/GetMulticastGroupSessionCommand.d.ts +35 -0
  121. package/dist-types/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +35 -0
  122. package/dist-types/commands/GetPartnerAccountCommand.d.ts +1 -1
  123. package/dist-types/commands/GetResourceEventConfigurationCommand.d.ts +35 -0
  124. package/dist-types/commands/GetResourceLogLevelCommand.d.ts +1 -1
  125. package/dist-types/commands/GetServiceEndpointCommand.d.ts +1 -1
  126. package/dist-types/commands/GetServiceProfileCommand.d.ts +1 -1
  127. package/dist-types/commands/GetWirelessDeviceCommand.d.ts +1 -1
  128. package/dist-types/commands/GetWirelessDeviceStatisticsCommand.d.ts +1 -1
  129. package/dist-types/commands/GetWirelessGatewayCertificateCommand.d.ts +1 -1
  130. package/dist-types/commands/GetWirelessGatewayCommand.d.ts +1 -1
  131. package/dist-types/commands/GetWirelessGatewayFirmwareInformationCommand.d.ts +1 -1
  132. package/dist-types/commands/GetWirelessGatewayStatisticsCommand.d.ts +1 -1
  133. package/dist-types/commands/GetWirelessGatewayTaskCommand.d.ts +1 -1
  134. package/dist-types/commands/GetWirelessGatewayTaskDefinitionCommand.d.ts +1 -1
  135. package/dist-types/commands/ListDestinationsCommand.d.ts +1 -1
  136. package/dist-types/commands/ListDeviceProfilesCommand.d.ts +1 -1
  137. package/dist-types/commands/ListFuotaTasksCommand.d.ts +35 -0
  138. package/dist-types/commands/ListMulticastGroupsByFuotaTaskCommand.d.ts +35 -0
  139. package/dist-types/commands/ListMulticastGroupsCommand.d.ts +35 -0
  140. package/dist-types/commands/ListPartnerAccountsCommand.d.ts +1 -1
  141. package/dist-types/commands/ListServiceProfilesCommand.d.ts +1 -1
  142. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  143. package/dist-types/commands/ListWirelessDevicesCommand.d.ts +1 -1
  144. package/dist-types/commands/ListWirelessGatewayTaskDefinitionsCommand.d.ts +1 -1
  145. package/dist-types/commands/ListWirelessGatewaysCommand.d.ts +1 -1
  146. package/dist-types/commands/PutResourceLogLevelCommand.d.ts +1 -1
  147. package/dist-types/commands/ResetAllResourceLogLevelsCommand.d.ts +1 -1
  148. package/dist-types/commands/ResetResourceLogLevelCommand.d.ts +1 -1
  149. package/dist-types/commands/SendDataToMulticastGroupCommand.d.ts +35 -0
  150. package/dist-types/commands/SendDataToWirelessDeviceCommand.d.ts +1 -1
  151. package/dist-types/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.d.ts +35 -0
  152. package/dist-types/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +35 -0
  153. package/dist-types/commands/StartFuotaTaskCommand.d.ts +35 -0
  154. package/dist-types/commands/StartMulticastGroupSessionCommand.d.ts +35 -0
  155. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  156. package/dist-types/commands/TestWirelessDeviceCommand.d.ts +1 -1
  157. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  158. package/dist-types/commands/UpdateDestinationCommand.d.ts +1 -1
  159. package/dist-types/commands/UpdateFuotaTaskCommand.d.ts +35 -0
  160. package/dist-types/commands/UpdateLogLevelsByResourceTypesCommand.d.ts +1 -1
  161. package/dist-types/commands/UpdateMulticastGroupCommand.d.ts +35 -0
  162. package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +35 -0
  163. package/dist-types/commands/UpdatePartnerAccountCommand.d.ts +1 -1
  164. package/dist-types/commands/UpdateResourceEventConfigurationCommand.d.ts +35 -0
  165. package/dist-types/commands/UpdateWirelessDeviceCommand.d.ts +1 -1
  166. package/dist-types/commands/UpdateWirelessGatewayCommand.d.ts +1 -1
  167. package/dist-types/commands/index.d.ts +28 -0
  168. package/dist-types/models/models_0.d.ts +1307 -51
  169. package/dist-types/pagination/ListFuotaTasksPaginator.d.ts +4 -0
  170. package/dist-types/pagination/ListMulticastGroupsByFuotaTaskPaginator.d.ts +4 -0
  171. package/dist-types/pagination/ListMulticastGroupsPaginator.d.ts +4 -0
  172. package/dist-types/pagination/index.d.ts +3 -0
  173. package/dist-types/protocols/Aws_restJson1.d.ts +84 -0
  174. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  175. package/dist-types/runtimeConfig.d.ts +2 -0
  176. package/dist-types/runtimeConfig.native.d.ts +2 -0
  177. package/dist-types/ts3.4/IoTWireless.d.ts +140 -0
  178. package/dist-types/ts3.4/IoTWirelessClient.d.ts +34 -2
  179. package/dist-types/ts3.4/commands/AssociateMulticastGroupWithFuotaTaskCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/AssociateWirelessDeviceWithFuotaTaskCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/AssociateWirelessDeviceWithMulticastGroupCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/CancelMulticastGroupSessionCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/CreateFuotaTaskCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/CreateMulticastGroupCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/DeleteFuotaTaskCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/DeleteMulticastGroupCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/DisassociateMulticastGroupFromFuotaTaskCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/GetFuotaTaskCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/GetMulticastGroupCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/GetMulticastGroupSessionCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/GetResourceEventConfigurationCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/ListFuotaTasksCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/ListMulticastGroupsByFuotaTaskCommand.d.ts +17 -0
  197. package/dist-types/ts3.4/commands/ListMulticastGroupsCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/SendDataToMulticastGroupCommand.d.ts +17 -0
  199. package/dist-types/ts3.4/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +17 -0
  201. package/dist-types/ts3.4/commands/StartFuotaTaskCommand.d.ts +17 -0
  202. package/dist-types/ts3.4/commands/StartMulticastGroupSessionCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/UpdateFuotaTaskCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/UpdateMulticastGroupCommand.d.ts +17 -0
  205. package/dist-types/ts3.4/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/UpdateResourceEventConfigurationCommand.d.ts +17 -0
  207. package/dist-types/ts3.4/commands/index.d.ts +28 -0
  208. package/dist-types/ts3.4/models/models_0.d.ts +784 -0
  209. package/dist-types/ts3.4/pagination/ListFuotaTasksPaginator.d.ts +4 -0
  210. package/dist-types/ts3.4/pagination/ListMulticastGroupsByFuotaTaskPaginator.d.ts +4 -0
  211. package/dist-types/ts3.4/pagination/ListMulticastGroupsPaginator.d.ts +4 -0
  212. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  213. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  214. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  215. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  216. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  217. package/package.json +23 -23
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListFuotaTasks = void 0;
4
+ const ListFuotaTasksCommand_1 = require("../commands/ListFuotaTasksCommand");
5
+ const IoTWireless_1 = require("../IoTWireless");
6
+ const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListFuotaTasksCommand_1.ListFuotaTasksCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listFuotaTasks(input, ...args);
12
+ };
13
+ async function* paginateListFuotaTasks(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ 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) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
28
+ }
29
+ yield page;
30
+ token = page.NextToken;
31
+ hasNext = !!token;
32
+ }
33
+ return undefined;
34
+ }
35
+ exports.paginateListFuotaTasks = paginateListFuotaTasks;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListMulticastGroupsByFuotaTask = void 0;
4
+ const ListMulticastGroupsByFuotaTaskCommand_1 = require("../commands/ListMulticastGroupsByFuotaTaskCommand");
5
+ const IoTWireless_1 = require("../IoTWireless");
6
+ const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListMulticastGroupsByFuotaTaskCommand_1.ListMulticastGroupsByFuotaTaskCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listMulticastGroupsByFuotaTask(input, ...args);
12
+ };
13
+ async function* paginateListMulticastGroupsByFuotaTask(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ 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) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
28
+ }
29
+ yield page;
30
+ token = page.NextToken;
31
+ hasNext = !!token;
32
+ }
33
+ return undefined;
34
+ }
35
+ exports.paginateListMulticastGroupsByFuotaTask = paginateListMulticastGroupsByFuotaTask;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListMulticastGroups = void 0;
4
+ const ListMulticastGroupsCommand_1 = require("../commands/ListMulticastGroupsCommand");
5
+ const IoTWireless_1 = require("../IoTWireless");
6
+ const IoTWirelessClient_1 = require("../IoTWirelessClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListMulticastGroupsCommand_1.ListMulticastGroupsCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listMulticastGroups(input, ...args);
12
+ };
13
+ async function* paginateListMulticastGroups(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ 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) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
28
+ }
29
+ yield page;
30
+ token = page.NextToken;
31
+ hasNext = !!token;
32
+ }
33
+ return undefined;
34
+ }
35
+ exports.paginateListMulticastGroups = paginateListMulticastGroups;
@@ -4,6 +4,9 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Interfaces"), exports);
5
5
  tslib_1.__exportStar(require("./ListDestinationsPaginator"), exports);
6
6
  tslib_1.__exportStar(require("./ListDeviceProfilesPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListFuotaTasksPaginator"), exports);
8
+ tslib_1.__exportStar(require("./ListMulticastGroupsByFuotaTaskPaginator"), exports);
9
+ tslib_1.__exportStar(require("./ListMulticastGroupsPaginator"), exports);
7
10
  tslib_1.__exportStar(require("./ListServiceProfilesPaginator"), exports);
8
11
  tslib_1.__exportStar(require("./ListWirelessDevicesPaginator"), exports);
9
12
  tslib_1.__exportStar(require("./ListWirelessGatewaysPaginator"), exports);