@aws-sdk/client-iot-wireless 3.35.0 → 3.36.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 (376) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/IoTWireless.js +0 -1
  3. package/dist-cjs/IoTWirelessClient.js +0 -1
  4. package/dist-cjs/commands/AssociateAwsAccountWithPartnerAccountCommand.js +0 -1
  5. package/dist-cjs/commands/AssociateWirelessDeviceWithThingCommand.js +0 -1
  6. package/dist-cjs/commands/AssociateWirelessGatewayWithCertificateCommand.js +0 -1
  7. package/dist-cjs/commands/AssociateWirelessGatewayWithThingCommand.js +0 -1
  8. package/dist-cjs/commands/CreateDestinationCommand.js +0 -1
  9. package/dist-cjs/commands/CreateDeviceProfileCommand.js +0 -1
  10. package/dist-cjs/commands/CreateServiceProfileCommand.js +0 -1
  11. package/dist-cjs/commands/CreateWirelessDeviceCommand.js +0 -1
  12. package/dist-cjs/commands/CreateWirelessGatewayCommand.js +0 -1
  13. package/dist-cjs/commands/CreateWirelessGatewayTaskCommand.js +0 -1
  14. package/dist-cjs/commands/CreateWirelessGatewayTaskDefinitionCommand.js +0 -1
  15. package/dist-cjs/commands/DeleteDestinationCommand.js +0 -1
  16. package/dist-cjs/commands/DeleteDeviceProfileCommand.js +0 -1
  17. package/dist-cjs/commands/DeleteServiceProfileCommand.js +0 -1
  18. package/dist-cjs/commands/DeleteWirelessDeviceCommand.js +0 -1
  19. package/dist-cjs/commands/DeleteWirelessGatewayCommand.js +0 -1
  20. package/dist-cjs/commands/DeleteWirelessGatewayTaskCommand.js +0 -1
  21. package/dist-cjs/commands/DeleteWirelessGatewayTaskDefinitionCommand.js +0 -1
  22. package/dist-cjs/commands/DisassociateAwsAccountFromPartnerAccountCommand.js +0 -1
  23. package/dist-cjs/commands/DisassociateWirelessDeviceFromThingCommand.js +0 -1
  24. package/dist-cjs/commands/DisassociateWirelessGatewayFromCertificateCommand.js +0 -1
  25. package/dist-cjs/commands/DisassociateWirelessGatewayFromThingCommand.js +0 -1
  26. package/dist-cjs/commands/GetDestinationCommand.js +0 -1
  27. package/dist-cjs/commands/GetDeviceProfileCommand.js +0 -1
  28. package/dist-cjs/commands/GetLogLevelsByResourceTypesCommand.js +0 -1
  29. package/dist-cjs/commands/GetPartnerAccountCommand.js +0 -1
  30. package/dist-cjs/commands/GetResourceLogLevelCommand.js +0 -1
  31. package/dist-cjs/commands/GetServiceEndpointCommand.js +0 -1
  32. package/dist-cjs/commands/GetServiceProfileCommand.js +0 -1
  33. package/dist-cjs/commands/GetWirelessDeviceCommand.js +0 -1
  34. package/dist-cjs/commands/GetWirelessDeviceStatisticsCommand.js +0 -1
  35. package/dist-cjs/commands/GetWirelessGatewayCertificateCommand.js +0 -1
  36. package/dist-cjs/commands/GetWirelessGatewayCommand.js +0 -1
  37. package/dist-cjs/commands/GetWirelessGatewayFirmwareInformationCommand.js +0 -1
  38. package/dist-cjs/commands/GetWirelessGatewayStatisticsCommand.js +0 -1
  39. package/dist-cjs/commands/GetWirelessGatewayTaskCommand.js +0 -1
  40. package/dist-cjs/commands/GetWirelessGatewayTaskDefinitionCommand.js +0 -1
  41. package/dist-cjs/commands/ListDestinationsCommand.js +0 -1
  42. package/dist-cjs/commands/ListDeviceProfilesCommand.js +0 -1
  43. package/dist-cjs/commands/ListPartnerAccountsCommand.js +0 -1
  44. package/dist-cjs/commands/ListServiceProfilesCommand.js +0 -1
  45. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  46. package/dist-cjs/commands/ListWirelessDevicesCommand.js +0 -1
  47. package/dist-cjs/commands/ListWirelessGatewayTaskDefinitionsCommand.js +0 -1
  48. package/dist-cjs/commands/ListWirelessGatewaysCommand.js +0 -1
  49. package/dist-cjs/commands/PutResourceLogLevelCommand.js +0 -1
  50. package/dist-cjs/commands/ResetAllResourceLogLevelsCommand.js +0 -1
  51. package/dist-cjs/commands/ResetResourceLogLevelCommand.js +0 -1
  52. package/dist-cjs/commands/SendDataToWirelessDeviceCommand.js +0 -1
  53. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  54. package/dist-cjs/commands/TestWirelessDeviceCommand.js +0 -1
  55. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  56. package/dist-cjs/commands/UpdateDestinationCommand.js +0 -1
  57. package/dist-cjs/commands/UpdateLogLevelsByResourceTypesCommand.js +0 -1
  58. package/dist-cjs/commands/UpdatePartnerAccountCommand.js +0 -1
  59. package/dist-cjs/commands/UpdateWirelessDeviceCommand.js +0 -1
  60. package/dist-cjs/commands/UpdateWirelessGatewayCommand.js +0 -1
  61. package/dist-cjs/endpoints.js +0 -1
  62. package/dist-cjs/index.js +0 -1
  63. package/dist-cjs/models/index.js +0 -1
  64. package/dist-cjs/models/models_0.js +0 -1
  65. package/dist-cjs/pagination/Interfaces.js +0 -1
  66. package/dist-cjs/pagination/ListDestinationsPaginator.js +0 -1
  67. package/dist-cjs/pagination/ListDeviceProfilesPaginator.js +0 -1
  68. package/dist-cjs/pagination/ListServiceProfilesPaginator.js +0 -1
  69. package/dist-cjs/pagination/ListWirelessDevicesPaginator.js +0 -1
  70. package/dist-cjs/pagination/ListWirelessGatewaysPaginator.js +0 -1
  71. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  72. package/dist-cjs/runtimeConfig.browser.js +2 -3
  73. package/dist-cjs/runtimeConfig.js +3 -4
  74. package/dist-cjs/runtimeConfig.native.js +0 -1
  75. package/dist-cjs/runtimeConfig.shared.js +0 -1
  76. package/dist-es/IoTWireless.js +0 -1
  77. package/dist-es/IoTWirelessClient.js +0 -1
  78. package/dist-es/commands/AssociateAwsAccountWithPartnerAccountCommand.js +0 -1
  79. package/dist-es/commands/AssociateWirelessDeviceWithThingCommand.js +0 -1
  80. package/dist-es/commands/AssociateWirelessGatewayWithCertificateCommand.js +0 -1
  81. package/dist-es/commands/AssociateWirelessGatewayWithThingCommand.js +0 -1
  82. package/dist-es/commands/CreateDestinationCommand.js +0 -1
  83. package/dist-es/commands/CreateDeviceProfileCommand.js +0 -1
  84. package/dist-es/commands/CreateServiceProfileCommand.js +0 -1
  85. package/dist-es/commands/CreateWirelessDeviceCommand.js +0 -1
  86. package/dist-es/commands/CreateWirelessGatewayCommand.js +0 -1
  87. package/dist-es/commands/CreateWirelessGatewayTaskCommand.js +0 -1
  88. package/dist-es/commands/CreateWirelessGatewayTaskDefinitionCommand.js +0 -1
  89. package/dist-es/commands/DeleteDestinationCommand.js +0 -1
  90. package/dist-es/commands/DeleteDeviceProfileCommand.js +0 -1
  91. package/dist-es/commands/DeleteServiceProfileCommand.js +0 -1
  92. package/dist-es/commands/DeleteWirelessDeviceCommand.js +0 -1
  93. package/dist-es/commands/DeleteWirelessGatewayCommand.js +0 -1
  94. package/dist-es/commands/DeleteWirelessGatewayTaskCommand.js +0 -1
  95. package/dist-es/commands/DeleteWirelessGatewayTaskDefinitionCommand.js +0 -1
  96. package/dist-es/commands/DisassociateAwsAccountFromPartnerAccountCommand.js +0 -1
  97. package/dist-es/commands/DisassociateWirelessDeviceFromThingCommand.js +0 -1
  98. package/dist-es/commands/DisassociateWirelessGatewayFromCertificateCommand.js +0 -1
  99. package/dist-es/commands/DisassociateWirelessGatewayFromThingCommand.js +0 -1
  100. package/dist-es/commands/GetDestinationCommand.js +0 -1
  101. package/dist-es/commands/GetDeviceProfileCommand.js +0 -1
  102. package/dist-es/commands/GetLogLevelsByResourceTypesCommand.js +0 -1
  103. package/dist-es/commands/GetPartnerAccountCommand.js +0 -1
  104. package/dist-es/commands/GetResourceLogLevelCommand.js +0 -1
  105. package/dist-es/commands/GetServiceEndpointCommand.js +0 -1
  106. package/dist-es/commands/GetServiceProfileCommand.js +0 -1
  107. package/dist-es/commands/GetWirelessDeviceCommand.js +0 -1
  108. package/dist-es/commands/GetWirelessDeviceStatisticsCommand.js +0 -1
  109. package/dist-es/commands/GetWirelessGatewayCertificateCommand.js +0 -1
  110. package/dist-es/commands/GetWirelessGatewayCommand.js +0 -1
  111. package/dist-es/commands/GetWirelessGatewayFirmwareInformationCommand.js +0 -1
  112. package/dist-es/commands/GetWirelessGatewayStatisticsCommand.js +0 -1
  113. package/dist-es/commands/GetWirelessGatewayTaskCommand.js +0 -1
  114. package/dist-es/commands/GetWirelessGatewayTaskDefinitionCommand.js +0 -1
  115. package/dist-es/commands/ListDestinationsCommand.js +0 -1
  116. package/dist-es/commands/ListDeviceProfilesCommand.js +0 -1
  117. package/dist-es/commands/ListPartnerAccountsCommand.js +0 -1
  118. package/dist-es/commands/ListServiceProfilesCommand.js +0 -1
  119. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  120. package/dist-es/commands/ListWirelessDevicesCommand.js +0 -1
  121. package/dist-es/commands/ListWirelessGatewayTaskDefinitionsCommand.js +0 -1
  122. package/dist-es/commands/ListWirelessGatewaysCommand.js +0 -1
  123. package/dist-es/commands/PutResourceLogLevelCommand.js +0 -1
  124. package/dist-es/commands/ResetAllResourceLogLevelsCommand.js +0 -1
  125. package/dist-es/commands/ResetResourceLogLevelCommand.js +0 -1
  126. package/dist-es/commands/SendDataToWirelessDeviceCommand.js +0 -1
  127. package/dist-es/commands/TagResourceCommand.js +0 -1
  128. package/dist-es/commands/TestWirelessDeviceCommand.js +0 -1
  129. package/dist-es/commands/UntagResourceCommand.js +0 -1
  130. package/dist-es/commands/UpdateDestinationCommand.js +0 -1
  131. package/dist-es/commands/UpdateLogLevelsByResourceTypesCommand.js +0 -1
  132. package/dist-es/commands/UpdatePartnerAccountCommand.js +0 -1
  133. package/dist-es/commands/UpdateWirelessDeviceCommand.js +0 -1
  134. package/dist-es/commands/UpdateWirelessGatewayCommand.js +0 -1
  135. package/dist-es/endpoints.js +0 -1
  136. package/dist-es/index.js +0 -1
  137. package/dist-es/models/index.js +0 -1
  138. package/dist-es/models/models_0.js +0 -1
  139. package/dist-es/pagination/Interfaces.js +0 -1
  140. package/dist-es/pagination/ListDestinationsPaginator.js +0 -1
  141. package/dist-es/pagination/ListDeviceProfilesPaginator.js +0 -1
  142. package/dist-es/pagination/ListServiceProfilesPaginator.js +0 -1
  143. package/dist-es/pagination/ListWirelessDevicesPaginator.js +0 -1
  144. package/dist-es/pagination/ListWirelessGatewaysPaginator.js +0 -1
  145. package/dist-es/protocols/Aws_restJson1.js +0 -1
  146. package/dist-es/runtimeConfig.browser.js +1 -2
  147. package/dist-es/runtimeConfig.js +2 -3
  148. package/dist-es/runtimeConfig.native.js +0 -1
  149. package/dist-es/runtimeConfig.shared.js +0 -1
  150. package/package.json +33 -30
  151. package/dist-cjs/IoTWireless.js.map +0 -1
  152. package/dist-cjs/IoTWirelessClient.js.map +0 -1
  153. package/dist-cjs/commands/AssociateAwsAccountWithPartnerAccountCommand.js.map +0 -1
  154. package/dist-cjs/commands/AssociateWirelessDeviceWithThingCommand.js.map +0 -1
  155. package/dist-cjs/commands/AssociateWirelessGatewayWithCertificateCommand.js.map +0 -1
  156. package/dist-cjs/commands/AssociateWirelessGatewayWithThingCommand.js.map +0 -1
  157. package/dist-cjs/commands/CreateDestinationCommand.js.map +0 -1
  158. package/dist-cjs/commands/CreateDeviceProfileCommand.js.map +0 -1
  159. package/dist-cjs/commands/CreateServiceProfileCommand.js.map +0 -1
  160. package/dist-cjs/commands/CreateWirelessDeviceCommand.js.map +0 -1
  161. package/dist-cjs/commands/CreateWirelessGatewayCommand.js.map +0 -1
  162. package/dist-cjs/commands/CreateWirelessGatewayTaskCommand.js.map +0 -1
  163. package/dist-cjs/commands/CreateWirelessGatewayTaskDefinitionCommand.js.map +0 -1
  164. package/dist-cjs/commands/DeleteDestinationCommand.js.map +0 -1
  165. package/dist-cjs/commands/DeleteDeviceProfileCommand.js.map +0 -1
  166. package/dist-cjs/commands/DeleteServiceProfileCommand.js.map +0 -1
  167. package/dist-cjs/commands/DeleteWirelessDeviceCommand.js.map +0 -1
  168. package/dist-cjs/commands/DeleteWirelessGatewayCommand.js.map +0 -1
  169. package/dist-cjs/commands/DeleteWirelessGatewayTaskCommand.js.map +0 -1
  170. package/dist-cjs/commands/DeleteWirelessGatewayTaskDefinitionCommand.js.map +0 -1
  171. package/dist-cjs/commands/DisassociateAwsAccountFromPartnerAccountCommand.js.map +0 -1
  172. package/dist-cjs/commands/DisassociateWirelessDeviceFromThingCommand.js.map +0 -1
  173. package/dist-cjs/commands/DisassociateWirelessGatewayFromCertificateCommand.js.map +0 -1
  174. package/dist-cjs/commands/DisassociateWirelessGatewayFromThingCommand.js.map +0 -1
  175. package/dist-cjs/commands/GetDestinationCommand.js.map +0 -1
  176. package/dist-cjs/commands/GetDeviceProfileCommand.js.map +0 -1
  177. package/dist-cjs/commands/GetLogLevelsByResourceTypesCommand.js.map +0 -1
  178. package/dist-cjs/commands/GetPartnerAccountCommand.js.map +0 -1
  179. package/dist-cjs/commands/GetResourceLogLevelCommand.js.map +0 -1
  180. package/dist-cjs/commands/GetServiceEndpointCommand.js.map +0 -1
  181. package/dist-cjs/commands/GetServiceProfileCommand.js.map +0 -1
  182. package/dist-cjs/commands/GetWirelessDeviceCommand.js.map +0 -1
  183. package/dist-cjs/commands/GetWirelessDeviceStatisticsCommand.js.map +0 -1
  184. package/dist-cjs/commands/GetWirelessGatewayCertificateCommand.js.map +0 -1
  185. package/dist-cjs/commands/GetWirelessGatewayCommand.js.map +0 -1
  186. package/dist-cjs/commands/GetWirelessGatewayFirmwareInformationCommand.js.map +0 -1
  187. package/dist-cjs/commands/GetWirelessGatewayStatisticsCommand.js.map +0 -1
  188. package/dist-cjs/commands/GetWirelessGatewayTaskCommand.js.map +0 -1
  189. package/dist-cjs/commands/GetWirelessGatewayTaskDefinitionCommand.js.map +0 -1
  190. package/dist-cjs/commands/ListDestinationsCommand.js.map +0 -1
  191. package/dist-cjs/commands/ListDeviceProfilesCommand.js.map +0 -1
  192. package/dist-cjs/commands/ListPartnerAccountsCommand.js.map +0 -1
  193. package/dist-cjs/commands/ListServiceProfilesCommand.js.map +0 -1
  194. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  195. package/dist-cjs/commands/ListWirelessDevicesCommand.js.map +0 -1
  196. package/dist-cjs/commands/ListWirelessGatewayTaskDefinitionsCommand.js.map +0 -1
  197. package/dist-cjs/commands/ListWirelessGatewaysCommand.js.map +0 -1
  198. package/dist-cjs/commands/PutResourceLogLevelCommand.js.map +0 -1
  199. package/dist-cjs/commands/ResetAllResourceLogLevelsCommand.js.map +0 -1
  200. package/dist-cjs/commands/ResetResourceLogLevelCommand.js.map +0 -1
  201. package/dist-cjs/commands/SendDataToWirelessDeviceCommand.js.map +0 -1
  202. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  203. package/dist-cjs/commands/TestWirelessDeviceCommand.js.map +0 -1
  204. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  205. package/dist-cjs/commands/UpdateDestinationCommand.js.map +0 -1
  206. package/dist-cjs/commands/UpdateLogLevelsByResourceTypesCommand.js.map +0 -1
  207. package/dist-cjs/commands/UpdatePartnerAccountCommand.js.map +0 -1
  208. package/dist-cjs/commands/UpdateWirelessDeviceCommand.js.map +0 -1
  209. package/dist-cjs/commands/UpdateWirelessGatewayCommand.js.map +0 -1
  210. package/dist-cjs/endpoints.js.map +0 -1
  211. package/dist-cjs/index.js.map +0 -1
  212. package/dist-cjs/models/index.js.map +0 -1
  213. package/dist-cjs/models/models_0.js.map +0 -1
  214. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  215. package/dist-cjs/pagination/ListDestinationsPaginator.js.map +0 -1
  216. package/dist-cjs/pagination/ListDeviceProfilesPaginator.js.map +0 -1
  217. package/dist-cjs/pagination/ListServiceProfilesPaginator.js.map +0 -1
  218. package/dist-cjs/pagination/ListWirelessDevicesPaginator.js.map +0 -1
  219. package/dist-cjs/pagination/ListWirelessGatewaysPaginator.js.map +0 -1
  220. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  221. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  222. package/dist-cjs/runtimeConfig.js.map +0 -1
  223. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  224. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  225. package/dist-es/IoTWireless.js.map +0 -1
  226. package/dist-es/IoTWirelessClient.js.map +0 -1
  227. package/dist-es/commands/AssociateAwsAccountWithPartnerAccountCommand.js.map +0 -1
  228. package/dist-es/commands/AssociateWirelessDeviceWithThingCommand.js.map +0 -1
  229. package/dist-es/commands/AssociateWirelessGatewayWithCertificateCommand.js.map +0 -1
  230. package/dist-es/commands/AssociateWirelessGatewayWithThingCommand.js.map +0 -1
  231. package/dist-es/commands/CreateDestinationCommand.js.map +0 -1
  232. package/dist-es/commands/CreateDeviceProfileCommand.js.map +0 -1
  233. package/dist-es/commands/CreateServiceProfileCommand.js.map +0 -1
  234. package/dist-es/commands/CreateWirelessDeviceCommand.js.map +0 -1
  235. package/dist-es/commands/CreateWirelessGatewayCommand.js.map +0 -1
  236. package/dist-es/commands/CreateWirelessGatewayTaskCommand.js.map +0 -1
  237. package/dist-es/commands/CreateWirelessGatewayTaskDefinitionCommand.js.map +0 -1
  238. package/dist-es/commands/DeleteDestinationCommand.js.map +0 -1
  239. package/dist-es/commands/DeleteDeviceProfileCommand.js.map +0 -1
  240. package/dist-es/commands/DeleteServiceProfileCommand.js.map +0 -1
  241. package/dist-es/commands/DeleteWirelessDeviceCommand.js.map +0 -1
  242. package/dist-es/commands/DeleteWirelessGatewayCommand.js.map +0 -1
  243. package/dist-es/commands/DeleteWirelessGatewayTaskCommand.js.map +0 -1
  244. package/dist-es/commands/DeleteWirelessGatewayTaskDefinitionCommand.js.map +0 -1
  245. package/dist-es/commands/DisassociateAwsAccountFromPartnerAccountCommand.js.map +0 -1
  246. package/dist-es/commands/DisassociateWirelessDeviceFromThingCommand.js.map +0 -1
  247. package/dist-es/commands/DisassociateWirelessGatewayFromCertificateCommand.js.map +0 -1
  248. package/dist-es/commands/DisassociateWirelessGatewayFromThingCommand.js.map +0 -1
  249. package/dist-es/commands/GetDestinationCommand.js.map +0 -1
  250. package/dist-es/commands/GetDeviceProfileCommand.js.map +0 -1
  251. package/dist-es/commands/GetLogLevelsByResourceTypesCommand.js.map +0 -1
  252. package/dist-es/commands/GetPartnerAccountCommand.js.map +0 -1
  253. package/dist-es/commands/GetResourceLogLevelCommand.js.map +0 -1
  254. package/dist-es/commands/GetServiceEndpointCommand.js.map +0 -1
  255. package/dist-es/commands/GetServiceProfileCommand.js.map +0 -1
  256. package/dist-es/commands/GetWirelessDeviceCommand.js.map +0 -1
  257. package/dist-es/commands/GetWirelessDeviceStatisticsCommand.js.map +0 -1
  258. package/dist-es/commands/GetWirelessGatewayCertificateCommand.js.map +0 -1
  259. package/dist-es/commands/GetWirelessGatewayCommand.js.map +0 -1
  260. package/dist-es/commands/GetWirelessGatewayFirmwareInformationCommand.js.map +0 -1
  261. package/dist-es/commands/GetWirelessGatewayStatisticsCommand.js.map +0 -1
  262. package/dist-es/commands/GetWirelessGatewayTaskCommand.js.map +0 -1
  263. package/dist-es/commands/GetWirelessGatewayTaskDefinitionCommand.js.map +0 -1
  264. package/dist-es/commands/ListDestinationsCommand.js.map +0 -1
  265. package/dist-es/commands/ListDeviceProfilesCommand.js.map +0 -1
  266. package/dist-es/commands/ListPartnerAccountsCommand.js.map +0 -1
  267. package/dist-es/commands/ListServiceProfilesCommand.js.map +0 -1
  268. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  269. package/dist-es/commands/ListWirelessDevicesCommand.js.map +0 -1
  270. package/dist-es/commands/ListWirelessGatewayTaskDefinitionsCommand.js.map +0 -1
  271. package/dist-es/commands/ListWirelessGatewaysCommand.js.map +0 -1
  272. package/dist-es/commands/PutResourceLogLevelCommand.js.map +0 -1
  273. package/dist-es/commands/ResetAllResourceLogLevelsCommand.js.map +0 -1
  274. package/dist-es/commands/ResetResourceLogLevelCommand.js.map +0 -1
  275. package/dist-es/commands/SendDataToWirelessDeviceCommand.js.map +0 -1
  276. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  277. package/dist-es/commands/TestWirelessDeviceCommand.js.map +0 -1
  278. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  279. package/dist-es/commands/UpdateDestinationCommand.js.map +0 -1
  280. package/dist-es/commands/UpdateLogLevelsByResourceTypesCommand.js.map +0 -1
  281. package/dist-es/commands/UpdatePartnerAccountCommand.js.map +0 -1
  282. package/dist-es/commands/UpdateWirelessDeviceCommand.js.map +0 -1
  283. package/dist-es/commands/UpdateWirelessGatewayCommand.js.map +0 -1
  284. package/dist-es/endpoints.js.map +0 -1
  285. package/dist-es/index.js.map +0 -1
  286. package/dist-es/models/index.js.map +0 -1
  287. package/dist-es/models/models_0.js.map +0 -1
  288. package/dist-es/pagination/Interfaces.js.map +0 -1
  289. package/dist-es/pagination/ListDestinationsPaginator.js.map +0 -1
  290. package/dist-es/pagination/ListDeviceProfilesPaginator.js.map +0 -1
  291. package/dist-es/pagination/ListServiceProfilesPaginator.js.map +0 -1
  292. package/dist-es/pagination/ListWirelessDevicesPaginator.js.map +0 -1
  293. package/dist-es/pagination/ListWirelessGatewaysPaginator.js.map +0 -1
  294. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  295. package/dist-es/runtimeConfig.browser.js.map +0 -1
  296. package/dist-es/runtimeConfig.js.map +0 -1
  297. package/dist-es/runtimeConfig.native.js.map +0 -1
  298. package/dist-es/runtimeConfig.shared.js.map +0 -1
  299. package/jest.config.js +0 -4
  300. package/src/IoTWireless.ts +0 -2122
  301. package/src/IoTWirelessClient.ts +0 -533
  302. package/src/commands/AssociateAwsAccountWithPartnerAccountCommand.ts +0 -107
  303. package/src/commands/AssociateWirelessDeviceWithThingCommand.ts +0 -103
  304. package/src/commands/AssociateWirelessGatewayWithCertificateCommand.ts +0 -110
  305. package/src/commands/AssociateWirelessGatewayWithThingCommand.ts +0 -106
  306. package/src/commands/CreateDestinationCommand.ts +0 -95
  307. package/src/commands/CreateDeviceProfileCommand.ts +0 -95
  308. package/src/commands/CreateServiceProfileCommand.ts +0 -95
  309. package/src/commands/CreateWirelessDeviceCommand.ts +0 -95
  310. package/src/commands/CreateWirelessGatewayCommand.ts +0 -95
  311. package/src/commands/CreateWirelessGatewayTaskCommand.ts +0 -98
  312. package/src/commands/CreateWirelessGatewayTaskDefinitionCommand.ts +0 -106
  313. package/src/commands/DeleteDestinationCommand.ts +0 -95
  314. package/src/commands/DeleteDeviceProfileCommand.ts +0 -95
  315. package/src/commands/DeleteServiceProfileCommand.ts +0 -95
  316. package/src/commands/DeleteWirelessDeviceCommand.ts +0 -95
  317. package/src/commands/DeleteWirelessGatewayCommand.ts +0 -95
  318. package/src/commands/DeleteWirelessGatewayTaskCommand.ts +0 -98
  319. package/src/commands/DeleteWirelessGatewayTaskDefinitionCommand.ts +0 -106
  320. package/src/commands/DisassociateAwsAccountFromPartnerAccountCommand.ts +0 -110
  321. package/src/commands/DisassociateWirelessDeviceFromThingCommand.ts +0 -106
  322. package/src/commands/DisassociateWirelessGatewayFromCertificateCommand.ts +0 -110
  323. package/src/commands/DisassociateWirelessGatewayFromThingCommand.ts +0 -106
  324. package/src/commands/GetDestinationCommand.ts +0 -95
  325. package/src/commands/GetDeviceProfileCommand.ts +0 -95
  326. package/src/commands/GetLogLevelsByResourceTypesCommand.ts +0 -101
  327. package/src/commands/GetPartnerAccountCommand.ts +0 -95
  328. package/src/commands/GetResourceLogLevelCommand.ts +0 -96
  329. package/src/commands/GetServiceEndpointCommand.ts +0 -95
  330. package/src/commands/GetServiceProfileCommand.ts +0 -95
  331. package/src/commands/GetWirelessDeviceCommand.ts +0 -95
  332. package/src/commands/GetWirelessDeviceStatisticsCommand.ts +0 -100
  333. package/src/commands/GetWirelessGatewayCertificateCommand.ts +0 -100
  334. package/src/commands/GetWirelessGatewayCommand.ts +0 -95
  335. package/src/commands/GetWirelessGatewayFirmwareInformationCommand.ts +0 -107
  336. package/src/commands/GetWirelessGatewayStatisticsCommand.ts +0 -100
  337. package/src/commands/GetWirelessGatewayTaskCommand.ts +0 -95
  338. package/src/commands/GetWirelessGatewayTaskDefinitionCommand.ts +0 -103
  339. package/src/commands/ListDestinationsCommand.ts +0 -95
  340. package/src/commands/ListDeviceProfilesCommand.ts +0 -95
  341. package/src/commands/ListPartnerAccountsCommand.ts +0 -95
  342. package/src/commands/ListServiceProfilesCommand.ts +0 -95
  343. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  344. package/src/commands/ListWirelessDevicesCommand.ts +0 -95
  345. package/src/commands/ListWirelessGatewayTaskDefinitionsCommand.ts +0 -106
  346. package/src/commands/ListWirelessGatewaysCommand.ts +0 -95
  347. package/src/commands/PutResourceLogLevelCommand.ts +0 -96
  348. package/src/commands/ResetAllResourceLogLevelsCommand.ts +0 -98
  349. package/src/commands/ResetResourceLogLevelCommand.ts +0 -96
  350. package/src/commands/SendDataToWirelessDeviceCommand.ts +0 -95
  351. package/src/commands/TagResourceCommand.ts +0 -95
  352. package/src/commands/TestWirelessDeviceCommand.ts +0 -95
  353. package/src/commands/UntagResourceCommand.ts +0 -95
  354. package/src/commands/UpdateDestinationCommand.ts +0 -95
  355. package/src/commands/UpdateLogLevelsByResourceTypesCommand.ts +0 -104
  356. package/src/commands/UpdatePartnerAccountCommand.ts +0 -95
  357. package/src/commands/UpdateWirelessDeviceCommand.ts +0 -95
  358. package/src/commands/UpdateWirelessGatewayCommand.ts +0 -95
  359. package/src/endpoints.ts +0 -57
  360. package/src/index.ts +0 -66
  361. package/src/models/index.ts +0 -1
  362. package/src/models/models_0.ts +0 -3991
  363. package/src/pagination/Interfaces.ts +0 -8
  364. package/src/pagination/ListDestinationsPaginator.ts +0 -59
  365. package/src/pagination/ListDeviceProfilesPaginator.ts +0 -59
  366. package/src/pagination/ListServiceProfilesPaginator.ts +0 -59
  367. package/src/pagination/ListWirelessDevicesPaginator.ts +0 -59
  368. package/src/pagination/ListWirelessGatewaysPaginator.ts +0 -59
  369. package/src/protocols/Aws_restJson1.ts +0 -8379
  370. package/src/runtimeConfig.browser.ts +0 -41
  371. package/src/runtimeConfig.native.ts +0 -17
  372. package/src/runtimeConfig.shared.ts +0 -17
  373. package/src/runtimeConfig.ts +0 -46
  374. package/tsconfig.es.json +0 -10
  375. package/tsconfig.json +0 -33
  376. package/tsconfig.types.json +0 -9
@@ -1,2122 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import {
4
- AssociateAwsAccountWithPartnerAccountCommand,
5
- AssociateAwsAccountWithPartnerAccountCommandInput,
6
- AssociateAwsAccountWithPartnerAccountCommandOutput,
7
- } from "./commands/AssociateAwsAccountWithPartnerAccountCommand";
8
- import {
9
- AssociateWirelessDeviceWithThingCommand,
10
- AssociateWirelessDeviceWithThingCommandInput,
11
- AssociateWirelessDeviceWithThingCommandOutput,
12
- } from "./commands/AssociateWirelessDeviceWithThingCommand";
13
- import {
14
- AssociateWirelessGatewayWithCertificateCommand,
15
- AssociateWirelessGatewayWithCertificateCommandInput,
16
- AssociateWirelessGatewayWithCertificateCommandOutput,
17
- } from "./commands/AssociateWirelessGatewayWithCertificateCommand";
18
- import {
19
- AssociateWirelessGatewayWithThingCommand,
20
- AssociateWirelessGatewayWithThingCommandInput,
21
- AssociateWirelessGatewayWithThingCommandOutput,
22
- } from "./commands/AssociateWirelessGatewayWithThingCommand";
23
- import {
24
- CreateDestinationCommand,
25
- CreateDestinationCommandInput,
26
- CreateDestinationCommandOutput,
27
- } from "./commands/CreateDestinationCommand";
28
- import {
29
- CreateDeviceProfileCommand,
30
- CreateDeviceProfileCommandInput,
31
- CreateDeviceProfileCommandOutput,
32
- } from "./commands/CreateDeviceProfileCommand";
33
- import {
34
- CreateServiceProfileCommand,
35
- CreateServiceProfileCommandInput,
36
- CreateServiceProfileCommandOutput,
37
- } from "./commands/CreateServiceProfileCommand";
38
- import {
39
- CreateWirelessDeviceCommand,
40
- CreateWirelessDeviceCommandInput,
41
- CreateWirelessDeviceCommandOutput,
42
- } from "./commands/CreateWirelessDeviceCommand";
43
- import {
44
- CreateWirelessGatewayCommand,
45
- CreateWirelessGatewayCommandInput,
46
- CreateWirelessGatewayCommandOutput,
47
- } from "./commands/CreateWirelessGatewayCommand";
48
- import {
49
- CreateWirelessGatewayTaskCommand,
50
- CreateWirelessGatewayTaskCommandInput,
51
- CreateWirelessGatewayTaskCommandOutput,
52
- } from "./commands/CreateWirelessGatewayTaskCommand";
53
- import {
54
- CreateWirelessGatewayTaskDefinitionCommand,
55
- CreateWirelessGatewayTaskDefinitionCommandInput,
56
- CreateWirelessGatewayTaskDefinitionCommandOutput,
57
- } from "./commands/CreateWirelessGatewayTaskDefinitionCommand";
58
- import {
59
- DeleteDestinationCommand,
60
- DeleteDestinationCommandInput,
61
- DeleteDestinationCommandOutput,
62
- } from "./commands/DeleteDestinationCommand";
63
- import {
64
- DeleteDeviceProfileCommand,
65
- DeleteDeviceProfileCommandInput,
66
- DeleteDeviceProfileCommandOutput,
67
- } from "./commands/DeleteDeviceProfileCommand";
68
- import {
69
- DeleteServiceProfileCommand,
70
- DeleteServiceProfileCommandInput,
71
- DeleteServiceProfileCommandOutput,
72
- } from "./commands/DeleteServiceProfileCommand";
73
- import {
74
- DeleteWirelessDeviceCommand,
75
- DeleteWirelessDeviceCommandInput,
76
- DeleteWirelessDeviceCommandOutput,
77
- } from "./commands/DeleteWirelessDeviceCommand";
78
- import {
79
- DeleteWirelessGatewayCommand,
80
- DeleteWirelessGatewayCommandInput,
81
- DeleteWirelessGatewayCommandOutput,
82
- } from "./commands/DeleteWirelessGatewayCommand";
83
- import {
84
- DeleteWirelessGatewayTaskCommand,
85
- DeleteWirelessGatewayTaskCommandInput,
86
- DeleteWirelessGatewayTaskCommandOutput,
87
- } from "./commands/DeleteWirelessGatewayTaskCommand";
88
- import {
89
- DeleteWirelessGatewayTaskDefinitionCommand,
90
- DeleteWirelessGatewayTaskDefinitionCommandInput,
91
- DeleteWirelessGatewayTaskDefinitionCommandOutput,
92
- } from "./commands/DeleteWirelessGatewayTaskDefinitionCommand";
93
- import {
94
- DisassociateAwsAccountFromPartnerAccountCommand,
95
- DisassociateAwsAccountFromPartnerAccountCommandInput,
96
- DisassociateAwsAccountFromPartnerAccountCommandOutput,
97
- } from "./commands/DisassociateAwsAccountFromPartnerAccountCommand";
98
- import {
99
- DisassociateWirelessDeviceFromThingCommand,
100
- DisassociateWirelessDeviceFromThingCommandInput,
101
- DisassociateWirelessDeviceFromThingCommandOutput,
102
- } from "./commands/DisassociateWirelessDeviceFromThingCommand";
103
- import {
104
- DisassociateWirelessGatewayFromCertificateCommand,
105
- DisassociateWirelessGatewayFromCertificateCommandInput,
106
- DisassociateWirelessGatewayFromCertificateCommandOutput,
107
- } from "./commands/DisassociateWirelessGatewayFromCertificateCommand";
108
- import {
109
- DisassociateWirelessGatewayFromThingCommand,
110
- DisassociateWirelessGatewayFromThingCommandInput,
111
- DisassociateWirelessGatewayFromThingCommandOutput,
112
- } from "./commands/DisassociateWirelessGatewayFromThingCommand";
113
- import {
114
- GetDestinationCommand,
115
- GetDestinationCommandInput,
116
- GetDestinationCommandOutput,
117
- } from "./commands/GetDestinationCommand";
118
- import {
119
- GetDeviceProfileCommand,
120
- GetDeviceProfileCommandInput,
121
- GetDeviceProfileCommandOutput,
122
- } from "./commands/GetDeviceProfileCommand";
123
- import {
124
- GetLogLevelsByResourceTypesCommand,
125
- GetLogLevelsByResourceTypesCommandInput,
126
- GetLogLevelsByResourceTypesCommandOutput,
127
- } from "./commands/GetLogLevelsByResourceTypesCommand";
128
- import {
129
- GetPartnerAccountCommand,
130
- GetPartnerAccountCommandInput,
131
- GetPartnerAccountCommandOutput,
132
- } from "./commands/GetPartnerAccountCommand";
133
- import {
134
- GetResourceLogLevelCommand,
135
- GetResourceLogLevelCommandInput,
136
- GetResourceLogLevelCommandOutput,
137
- } from "./commands/GetResourceLogLevelCommand";
138
- import {
139
- GetServiceEndpointCommand,
140
- GetServiceEndpointCommandInput,
141
- GetServiceEndpointCommandOutput,
142
- } from "./commands/GetServiceEndpointCommand";
143
- import {
144
- GetServiceProfileCommand,
145
- GetServiceProfileCommandInput,
146
- GetServiceProfileCommandOutput,
147
- } from "./commands/GetServiceProfileCommand";
148
- import {
149
- GetWirelessDeviceCommand,
150
- GetWirelessDeviceCommandInput,
151
- GetWirelessDeviceCommandOutput,
152
- } from "./commands/GetWirelessDeviceCommand";
153
- import {
154
- GetWirelessDeviceStatisticsCommand,
155
- GetWirelessDeviceStatisticsCommandInput,
156
- GetWirelessDeviceStatisticsCommandOutput,
157
- } from "./commands/GetWirelessDeviceStatisticsCommand";
158
- import {
159
- GetWirelessGatewayCertificateCommand,
160
- GetWirelessGatewayCertificateCommandInput,
161
- GetWirelessGatewayCertificateCommandOutput,
162
- } from "./commands/GetWirelessGatewayCertificateCommand";
163
- import {
164
- GetWirelessGatewayCommand,
165
- GetWirelessGatewayCommandInput,
166
- GetWirelessGatewayCommandOutput,
167
- } from "./commands/GetWirelessGatewayCommand";
168
- import {
169
- GetWirelessGatewayFirmwareInformationCommand,
170
- GetWirelessGatewayFirmwareInformationCommandInput,
171
- GetWirelessGatewayFirmwareInformationCommandOutput,
172
- } from "./commands/GetWirelessGatewayFirmwareInformationCommand";
173
- import {
174
- GetWirelessGatewayStatisticsCommand,
175
- GetWirelessGatewayStatisticsCommandInput,
176
- GetWirelessGatewayStatisticsCommandOutput,
177
- } from "./commands/GetWirelessGatewayStatisticsCommand";
178
- import {
179
- GetWirelessGatewayTaskCommand,
180
- GetWirelessGatewayTaskCommandInput,
181
- GetWirelessGatewayTaskCommandOutput,
182
- } from "./commands/GetWirelessGatewayTaskCommand";
183
- import {
184
- GetWirelessGatewayTaskDefinitionCommand,
185
- GetWirelessGatewayTaskDefinitionCommandInput,
186
- GetWirelessGatewayTaskDefinitionCommandOutput,
187
- } from "./commands/GetWirelessGatewayTaskDefinitionCommand";
188
- import {
189
- ListDestinationsCommand,
190
- ListDestinationsCommandInput,
191
- ListDestinationsCommandOutput,
192
- } from "./commands/ListDestinationsCommand";
193
- import {
194
- ListDeviceProfilesCommand,
195
- ListDeviceProfilesCommandInput,
196
- ListDeviceProfilesCommandOutput,
197
- } from "./commands/ListDeviceProfilesCommand";
198
- import {
199
- ListPartnerAccountsCommand,
200
- ListPartnerAccountsCommandInput,
201
- ListPartnerAccountsCommandOutput,
202
- } from "./commands/ListPartnerAccountsCommand";
203
- import {
204
- ListServiceProfilesCommand,
205
- ListServiceProfilesCommandInput,
206
- ListServiceProfilesCommandOutput,
207
- } from "./commands/ListServiceProfilesCommand";
208
- import {
209
- ListTagsForResourceCommand,
210
- ListTagsForResourceCommandInput,
211
- ListTagsForResourceCommandOutput,
212
- } from "./commands/ListTagsForResourceCommand";
213
- import {
214
- ListWirelessDevicesCommand,
215
- ListWirelessDevicesCommandInput,
216
- ListWirelessDevicesCommandOutput,
217
- } from "./commands/ListWirelessDevicesCommand";
218
- import {
219
- ListWirelessGatewaysCommand,
220
- ListWirelessGatewaysCommandInput,
221
- ListWirelessGatewaysCommandOutput,
222
- } from "./commands/ListWirelessGatewaysCommand";
223
- import {
224
- ListWirelessGatewayTaskDefinitionsCommand,
225
- ListWirelessGatewayTaskDefinitionsCommandInput,
226
- ListWirelessGatewayTaskDefinitionsCommandOutput,
227
- } from "./commands/ListWirelessGatewayTaskDefinitionsCommand";
228
- import {
229
- PutResourceLogLevelCommand,
230
- PutResourceLogLevelCommandInput,
231
- PutResourceLogLevelCommandOutput,
232
- } from "./commands/PutResourceLogLevelCommand";
233
- import {
234
- ResetAllResourceLogLevelsCommand,
235
- ResetAllResourceLogLevelsCommandInput,
236
- ResetAllResourceLogLevelsCommandOutput,
237
- } from "./commands/ResetAllResourceLogLevelsCommand";
238
- import {
239
- ResetResourceLogLevelCommand,
240
- ResetResourceLogLevelCommandInput,
241
- ResetResourceLogLevelCommandOutput,
242
- } from "./commands/ResetResourceLogLevelCommand";
243
- import {
244
- SendDataToWirelessDeviceCommand,
245
- SendDataToWirelessDeviceCommandInput,
246
- SendDataToWirelessDeviceCommandOutput,
247
- } from "./commands/SendDataToWirelessDeviceCommand";
248
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
249
- import {
250
- TestWirelessDeviceCommand,
251
- TestWirelessDeviceCommandInput,
252
- TestWirelessDeviceCommandOutput,
253
- } from "./commands/TestWirelessDeviceCommand";
254
- import {
255
- UntagResourceCommand,
256
- UntagResourceCommandInput,
257
- UntagResourceCommandOutput,
258
- } from "./commands/UntagResourceCommand";
259
- import {
260
- UpdateDestinationCommand,
261
- UpdateDestinationCommandInput,
262
- UpdateDestinationCommandOutput,
263
- } from "./commands/UpdateDestinationCommand";
264
- import {
265
- UpdateLogLevelsByResourceTypesCommand,
266
- UpdateLogLevelsByResourceTypesCommandInput,
267
- UpdateLogLevelsByResourceTypesCommandOutput,
268
- } from "./commands/UpdateLogLevelsByResourceTypesCommand";
269
- import {
270
- UpdatePartnerAccountCommand,
271
- UpdatePartnerAccountCommandInput,
272
- UpdatePartnerAccountCommandOutput,
273
- } from "./commands/UpdatePartnerAccountCommand";
274
- import {
275
- UpdateWirelessDeviceCommand,
276
- UpdateWirelessDeviceCommandInput,
277
- UpdateWirelessDeviceCommandOutput,
278
- } from "./commands/UpdateWirelessDeviceCommand";
279
- import {
280
- UpdateWirelessGatewayCommand,
281
- UpdateWirelessGatewayCommandInput,
282
- UpdateWirelessGatewayCommandOutput,
283
- } from "./commands/UpdateWirelessGatewayCommand";
284
- import { IoTWirelessClient } from "./IoTWirelessClient";
285
-
286
- /**
287
- * <p>AWS IoT Wireless API documentation</p>
288
- */
289
- export class IoTWireless extends IoTWirelessClient {
290
- /**
291
- * <p>Associates a partner account with your AWS account.</p>
292
- */
293
- public associateAwsAccountWithPartnerAccount(
294
- args: AssociateAwsAccountWithPartnerAccountCommandInput,
295
- options?: __HttpHandlerOptions
296
- ): Promise<AssociateAwsAccountWithPartnerAccountCommandOutput>;
297
- public associateAwsAccountWithPartnerAccount(
298
- args: AssociateAwsAccountWithPartnerAccountCommandInput,
299
- cb: (err: any, data?: AssociateAwsAccountWithPartnerAccountCommandOutput) => void
300
- ): void;
301
- public associateAwsAccountWithPartnerAccount(
302
- args: AssociateAwsAccountWithPartnerAccountCommandInput,
303
- options: __HttpHandlerOptions,
304
- cb: (err: any, data?: AssociateAwsAccountWithPartnerAccountCommandOutput) => void
305
- ): void;
306
- public associateAwsAccountWithPartnerAccount(
307
- args: AssociateAwsAccountWithPartnerAccountCommandInput,
308
- optionsOrCb?:
309
- | __HttpHandlerOptions
310
- | ((err: any, data?: AssociateAwsAccountWithPartnerAccountCommandOutput) => void),
311
- cb?: (err: any, data?: AssociateAwsAccountWithPartnerAccountCommandOutput) => void
312
- ): Promise<AssociateAwsAccountWithPartnerAccountCommandOutput> | void {
313
- const command = new AssociateAwsAccountWithPartnerAccountCommand(args);
314
- if (typeof optionsOrCb === "function") {
315
- this.send(command, optionsOrCb);
316
- } else if (typeof cb === "function") {
317
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
318
- this.send(command, optionsOrCb || {}, cb);
319
- } else {
320
- return this.send(command, optionsOrCb);
321
- }
322
- }
323
-
324
- /**
325
- * <p>Associates a wireless device with a thing.</p>
326
- */
327
- public associateWirelessDeviceWithThing(
328
- args: AssociateWirelessDeviceWithThingCommandInput,
329
- options?: __HttpHandlerOptions
330
- ): Promise<AssociateWirelessDeviceWithThingCommandOutput>;
331
- public associateWirelessDeviceWithThing(
332
- args: AssociateWirelessDeviceWithThingCommandInput,
333
- cb: (err: any, data?: AssociateWirelessDeviceWithThingCommandOutput) => void
334
- ): void;
335
- public associateWirelessDeviceWithThing(
336
- args: AssociateWirelessDeviceWithThingCommandInput,
337
- options: __HttpHandlerOptions,
338
- cb: (err: any, data?: AssociateWirelessDeviceWithThingCommandOutput) => void
339
- ): void;
340
- public associateWirelessDeviceWithThing(
341
- args: AssociateWirelessDeviceWithThingCommandInput,
342
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateWirelessDeviceWithThingCommandOutput) => void),
343
- cb?: (err: any, data?: AssociateWirelessDeviceWithThingCommandOutput) => void
344
- ): Promise<AssociateWirelessDeviceWithThingCommandOutput> | void {
345
- const command = new AssociateWirelessDeviceWithThingCommand(args);
346
- if (typeof optionsOrCb === "function") {
347
- this.send(command, optionsOrCb);
348
- } else if (typeof cb === "function") {
349
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
350
- this.send(command, optionsOrCb || {}, cb);
351
- } else {
352
- return this.send(command, optionsOrCb);
353
- }
354
- }
355
-
356
- /**
357
- * <p>Associates a wireless gateway with a certificate.</p>
358
- */
359
- public associateWirelessGatewayWithCertificate(
360
- args: AssociateWirelessGatewayWithCertificateCommandInput,
361
- options?: __HttpHandlerOptions
362
- ): Promise<AssociateWirelessGatewayWithCertificateCommandOutput>;
363
- public associateWirelessGatewayWithCertificate(
364
- args: AssociateWirelessGatewayWithCertificateCommandInput,
365
- cb: (err: any, data?: AssociateWirelessGatewayWithCertificateCommandOutput) => void
366
- ): void;
367
- public associateWirelessGatewayWithCertificate(
368
- args: AssociateWirelessGatewayWithCertificateCommandInput,
369
- options: __HttpHandlerOptions,
370
- cb: (err: any, data?: AssociateWirelessGatewayWithCertificateCommandOutput) => void
371
- ): void;
372
- public associateWirelessGatewayWithCertificate(
373
- args: AssociateWirelessGatewayWithCertificateCommandInput,
374
- optionsOrCb?:
375
- | __HttpHandlerOptions
376
- | ((err: any, data?: AssociateWirelessGatewayWithCertificateCommandOutput) => void),
377
- cb?: (err: any, data?: AssociateWirelessGatewayWithCertificateCommandOutput) => void
378
- ): Promise<AssociateWirelessGatewayWithCertificateCommandOutput> | void {
379
- const command = new AssociateWirelessGatewayWithCertificateCommand(args);
380
- if (typeof optionsOrCb === "function") {
381
- this.send(command, optionsOrCb);
382
- } else if (typeof cb === "function") {
383
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
384
- this.send(command, optionsOrCb || {}, cb);
385
- } else {
386
- return this.send(command, optionsOrCb);
387
- }
388
- }
389
-
390
- /**
391
- * <p>Associates a wireless gateway with a thing.</p>
392
- */
393
- public associateWirelessGatewayWithThing(
394
- args: AssociateWirelessGatewayWithThingCommandInput,
395
- options?: __HttpHandlerOptions
396
- ): Promise<AssociateWirelessGatewayWithThingCommandOutput>;
397
- public associateWirelessGatewayWithThing(
398
- args: AssociateWirelessGatewayWithThingCommandInput,
399
- cb: (err: any, data?: AssociateWirelessGatewayWithThingCommandOutput) => void
400
- ): void;
401
- public associateWirelessGatewayWithThing(
402
- args: AssociateWirelessGatewayWithThingCommandInput,
403
- options: __HttpHandlerOptions,
404
- cb: (err: any, data?: AssociateWirelessGatewayWithThingCommandOutput) => void
405
- ): void;
406
- public associateWirelessGatewayWithThing(
407
- args: AssociateWirelessGatewayWithThingCommandInput,
408
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateWirelessGatewayWithThingCommandOutput) => void),
409
- cb?: (err: any, data?: AssociateWirelessGatewayWithThingCommandOutput) => void
410
- ): Promise<AssociateWirelessGatewayWithThingCommandOutput> | void {
411
- const command = new AssociateWirelessGatewayWithThingCommand(args);
412
- if (typeof optionsOrCb === "function") {
413
- this.send(command, optionsOrCb);
414
- } else if (typeof cb === "function") {
415
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
416
- this.send(command, optionsOrCb || {}, cb);
417
- } else {
418
- return this.send(command, optionsOrCb);
419
- }
420
- }
421
-
422
- /**
423
- * <p>Creates a new destination that maps a device message to an AWS IoT rule.</p>
424
- */
425
- public createDestination(
426
- args: CreateDestinationCommandInput,
427
- options?: __HttpHandlerOptions
428
- ): Promise<CreateDestinationCommandOutput>;
429
- public createDestination(
430
- args: CreateDestinationCommandInput,
431
- cb: (err: any, data?: CreateDestinationCommandOutput) => void
432
- ): void;
433
- public createDestination(
434
- args: CreateDestinationCommandInput,
435
- options: __HttpHandlerOptions,
436
- cb: (err: any, data?: CreateDestinationCommandOutput) => void
437
- ): void;
438
- public createDestination(
439
- args: CreateDestinationCommandInput,
440
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDestinationCommandOutput) => void),
441
- cb?: (err: any, data?: CreateDestinationCommandOutput) => void
442
- ): Promise<CreateDestinationCommandOutput> | void {
443
- const command = new CreateDestinationCommand(args);
444
- if (typeof optionsOrCb === "function") {
445
- this.send(command, optionsOrCb);
446
- } else if (typeof cb === "function") {
447
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
448
- this.send(command, optionsOrCb || {}, cb);
449
- } else {
450
- return this.send(command, optionsOrCb);
451
- }
452
- }
453
-
454
- /**
455
- * <p>Creates a new device profile.</p>
456
- */
457
- public createDeviceProfile(
458
- args: CreateDeviceProfileCommandInput,
459
- options?: __HttpHandlerOptions
460
- ): Promise<CreateDeviceProfileCommandOutput>;
461
- public createDeviceProfile(
462
- args: CreateDeviceProfileCommandInput,
463
- cb: (err: any, data?: CreateDeviceProfileCommandOutput) => void
464
- ): void;
465
- public createDeviceProfile(
466
- args: CreateDeviceProfileCommandInput,
467
- options: __HttpHandlerOptions,
468
- cb: (err: any, data?: CreateDeviceProfileCommandOutput) => void
469
- ): void;
470
- public createDeviceProfile(
471
- args: CreateDeviceProfileCommandInput,
472
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDeviceProfileCommandOutput) => void),
473
- cb?: (err: any, data?: CreateDeviceProfileCommandOutput) => void
474
- ): Promise<CreateDeviceProfileCommandOutput> | void {
475
- const command = new CreateDeviceProfileCommand(args);
476
- if (typeof optionsOrCb === "function") {
477
- this.send(command, optionsOrCb);
478
- } else if (typeof cb === "function") {
479
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
480
- this.send(command, optionsOrCb || {}, cb);
481
- } else {
482
- return this.send(command, optionsOrCb);
483
- }
484
- }
485
-
486
- /**
487
- * <p>Creates a new service profile.</p>
488
- */
489
- public createServiceProfile(
490
- args: CreateServiceProfileCommandInput,
491
- options?: __HttpHandlerOptions
492
- ): Promise<CreateServiceProfileCommandOutput>;
493
- public createServiceProfile(
494
- args: CreateServiceProfileCommandInput,
495
- cb: (err: any, data?: CreateServiceProfileCommandOutput) => void
496
- ): void;
497
- public createServiceProfile(
498
- args: CreateServiceProfileCommandInput,
499
- options: __HttpHandlerOptions,
500
- cb: (err: any, data?: CreateServiceProfileCommandOutput) => void
501
- ): void;
502
- public createServiceProfile(
503
- args: CreateServiceProfileCommandInput,
504
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateServiceProfileCommandOutput) => void),
505
- cb?: (err: any, data?: CreateServiceProfileCommandOutput) => void
506
- ): Promise<CreateServiceProfileCommandOutput> | void {
507
- const command = new CreateServiceProfileCommand(args);
508
- if (typeof optionsOrCb === "function") {
509
- this.send(command, optionsOrCb);
510
- } else if (typeof cb === "function") {
511
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
512
- this.send(command, optionsOrCb || {}, cb);
513
- } else {
514
- return this.send(command, optionsOrCb);
515
- }
516
- }
517
-
518
- /**
519
- * <p>Provisions a wireless device.</p>
520
- */
521
- public createWirelessDevice(
522
- args: CreateWirelessDeviceCommandInput,
523
- options?: __HttpHandlerOptions
524
- ): Promise<CreateWirelessDeviceCommandOutput>;
525
- public createWirelessDevice(
526
- args: CreateWirelessDeviceCommandInput,
527
- cb: (err: any, data?: CreateWirelessDeviceCommandOutput) => void
528
- ): void;
529
- public createWirelessDevice(
530
- args: CreateWirelessDeviceCommandInput,
531
- options: __HttpHandlerOptions,
532
- cb: (err: any, data?: CreateWirelessDeviceCommandOutput) => void
533
- ): void;
534
- public createWirelessDevice(
535
- args: CreateWirelessDeviceCommandInput,
536
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWirelessDeviceCommandOutput) => void),
537
- cb?: (err: any, data?: CreateWirelessDeviceCommandOutput) => void
538
- ): Promise<CreateWirelessDeviceCommandOutput> | void {
539
- const command = new CreateWirelessDeviceCommand(args);
540
- if (typeof optionsOrCb === "function") {
541
- this.send(command, optionsOrCb);
542
- } else if (typeof cb === "function") {
543
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
544
- this.send(command, optionsOrCb || {}, cb);
545
- } else {
546
- return this.send(command, optionsOrCb);
547
- }
548
- }
549
-
550
- /**
551
- * <p>Provisions a wireless gateway.</p>
552
- */
553
- public createWirelessGateway(
554
- args: CreateWirelessGatewayCommandInput,
555
- options?: __HttpHandlerOptions
556
- ): Promise<CreateWirelessGatewayCommandOutput>;
557
- public createWirelessGateway(
558
- args: CreateWirelessGatewayCommandInput,
559
- cb: (err: any, data?: CreateWirelessGatewayCommandOutput) => void
560
- ): void;
561
- public createWirelessGateway(
562
- args: CreateWirelessGatewayCommandInput,
563
- options: __HttpHandlerOptions,
564
- cb: (err: any, data?: CreateWirelessGatewayCommandOutput) => void
565
- ): void;
566
- public createWirelessGateway(
567
- args: CreateWirelessGatewayCommandInput,
568
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWirelessGatewayCommandOutput) => void),
569
- cb?: (err: any, data?: CreateWirelessGatewayCommandOutput) => void
570
- ): Promise<CreateWirelessGatewayCommandOutput> | void {
571
- const command = new CreateWirelessGatewayCommand(args);
572
- if (typeof optionsOrCb === "function") {
573
- this.send(command, optionsOrCb);
574
- } else if (typeof cb === "function") {
575
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
576
- this.send(command, optionsOrCb || {}, cb);
577
- } else {
578
- return this.send(command, optionsOrCb);
579
- }
580
- }
581
-
582
- /**
583
- * <p>Creates a task for a wireless gateway.</p>
584
- */
585
- public createWirelessGatewayTask(
586
- args: CreateWirelessGatewayTaskCommandInput,
587
- options?: __HttpHandlerOptions
588
- ): Promise<CreateWirelessGatewayTaskCommandOutput>;
589
- public createWirelessGatewayTask(
590
- args: CreateWirelessGatewayTaskCommandInput,
591
- cb: (err: any, data?: CreateWirelessGatewayTaskCommandOutput) => void
592
- ): void;
593
- public createWirelessGatewayTask(
594
- args: CreateWirelessGatewayTaskCommandInput,
595
- options: __HttpHandlerOptions,
596
- cb: (err: any, data?: CreateWirelessGatewayTaskCommandOutput) => void
597
- ): void;
598
- public createWirelessGatewayTask(
599
- args: CreateWirelessGatewayTaskCommandInput,
600
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWirelessGatewayTaskCommandOutput) => void),
601
- cb?: (err: any, data?: CreateWirelessGatewayTaskCommandOutput) => void
602
- ): Promise<CreateWirelessGatewayTaskCommandOutput> | void {
603
- const command = new CreateWirelessGatewayTaskCommand(args);
604
- if (typeof optionsOrCb === "function") {
605
- this.send(command, optionsOrCb);
606
- } else if (typeof cb === "function") {
607
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
608
- this.send(command, optionsOrCb || {}, cb);
609
- } else {
610
- return this.send(command, optionsOrCb);
611
- }
612
- }
613
-
614
- /**
615
- * <p>Creates a gateway task definition.</p>
616
- */
617
- public createWirelessGatewayTaskDefinition(
618
- args: CreateWirelessGatewayTaskDefinitionCommandInput,
619
- options?: __HttpHandlerOptions
620
- ): Promise<CreateWirelessGatewayTaskDefinitionCommandOutput>;
621
- public createWirelessGatewayTaskDefinition(
622
- args: CreateWirelessGatewayTaskDefinitionCommandInput,
623
- cb: (err: any, data?: CreateWirelessGatewayTaskDefinitionCommandOutput) => void
624
- ): void;
625
- public createWirelessGatewayTaskDefinition(
626
- args: CreateWirelessGatewayTaskDefinitionCommandInput,
627
- options: __HttpHandlerOptions,
628
- cb: (err: any, data?: CreateWirelessGatewayTaskDefinitionCommandOutput) => void
629
- ): void;
630
- public createWirelessGatewayTaskDefinition(
631
- args: CreateWirelessGatewayTaskDefinitionCommandInput,
632
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWirelessGatewayTaskDefinitionCommandOutput) => void),
633
- cb?: (err: any, data?: CreateWirelessGatewayTaskDefinitionCommandOutput) => void
634
- ): Promise<CreateWirelessGatewayTaskDefinitionCommandOutput> | void {
635
- const command = new CreateWirelessGatewayTaskDefinitionCommand(args);
636
- if (typeof optionsOrCb === "function") {
637
- this.send(command, optionsOrCb);
638
- } else if (typeof cb === "function") {
639
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
640
- this.send(command, optionsOrCb || {}, cb);
641
- } else {
642
- return this.send(command, optionsOrCb);
643
- }
644
- }
645
-
646
- /**
647
- * <p>Deletes a destination.</p>
648
- */
649
- public deleteDestination(
650
- args: DeleteDestinationCommandInput,
651
- options?: __HttpHandlerOptions
652
- ): Promise<DeleteDestinationCommandOutput>;
653
- public deleteDestination(
654
- args: DeleteDestinationCommandInput,
655
- cb: (err: any, data?: DeleteDestinationCommandOutput) => void
656
- ): void;
657
- public deleteDestination(
658
- args: DeleteDestinationCommandInput,
659
- options: __HttpHandlerOptions,
660
- cb: (err: any, data?: DeleteDestinationCommandOutput) => void
661
- ): void;
662
- public deleteDestination(
663
- args: DeleteDestinationCommandInput,
664
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDestinationCommandOutput) => void),
665
- cb?: (err: any, data?: DeleteDestinationCommandOutput) => void
666
- ): Promise<DeleteDestinationCommandOutput> | void {
667
- const command = new DeleteDestinationCommand(args);
668
- if (typeof optionsOrCb === "function") {
669
- this.send(command, optionsOrCb);
670
- } else if (typeof cb === "function") {
671
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
672
- this.send(command, optionsOrCb || {}, cb);
673
- } else {
674
- return this.send(command, optionsOrCb);
675
- }
676
- }
677
-
678
- /**
679
- * <p>Deletes a device profile.</p>
680
- */
681
- public deleteDeviceProfile(
682
- args: DeleteDeviceProfileCommandInput,
683
- options?: __HttpHandlerOptions
684
- ): Promise<DeleteDeviceProfileCommandOutput>;
685
- public deleteDeviceProfile(
686
- args: DeleteDeviceProfileCommandInput,
687
- cb: (err: any, data?: DeleteDeviceProfileCommandOutput) => void
688
- ): void;
689
- public deleteDeviceProfile(
690
- args: DeleteDeviceProfileCommandInput,
691
- options: __HttpHandlerOptions,
692
- cb: (err: any, data?: DeleteDeviceProfileCommandOutput) => void
693
- ): void;
694
- public deleteDeviceProfile(
695
- args: DeleteDeviceProfileCommandInput,
696
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDeviceProfileCommandOutput) => void),
697
- cb?: (err: any, data?: DeleteDeviceProfileCommandOutput) => void
698
- ): Promise<DeleteDeviceProfileCommandOutput> | void {
699
- const command = new DeleteDeviceProfileCommand(args);
700
- if (typeof optionsOrCb === "function") {
701
- this.send(command, optionsOrCb);
702
- } else if (typeof cb === "function") {
703
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
704
- this.send(command, optionsOrCb || {}, cb);
705
- } else {
706
- return this.send(command, optionsOrCb);
707
- }
708
- }
709
-
710
- /**
711
- * <p>Deletes a service profile.</p>
712
- */
713
- public deleteServiceProfile(
714
- args: DeleteServiceProfileCommandInput,
715
- options?: __HttpHandlerOptions
716
- ): Promise<DeleteServiceProfileCommandOutput>;
717
- public deleteServiceProfile(
718
- args: DeleteServiceProfileCommandInput,
719
- cb: (err: any, data?: DeleteServiceProfileCommandOutput) => void
720
- ): void;
721
- public deleteServiceProfile(
722
- args: DeleteServiceProfileCommandInput,
723
- options: __HttpHandlerOptions,
724
- cb: (err: any, data?: DeleteServiceProfileCommandOutput) => void
725
- ): void;
726
- public deleteServiceProfile(
727
- args: DeleteServiceProfileCommandInput,
728
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteServiceProfileCommandOutput) => void),
729
- cb?: (err: any, data?: DeleteServiceProfileCommandOutput) => void
730
- ): Promise<DeleteServiceProfileCommandOutput> | void {
731
- const command = new DeleteServiceProfileCommand(args);
732
- if (typeof optionsOrCb === "function") {
733
- this.send(command, optionsOrCb);
734
- } else if (typeof cb === "function") {
735
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
736
- this.send(command, optionsOrCb || {}, cb);
737
- } else {
738
- return this.send(command, optionsOrCb);
739
- }
740
- }
741
-
742
- /**
743
- * <p>Deletes a wireless device.</p>
744
- */
745
- public deleteWirelessDevice(
746
- args: DeleteWirelessDeviceCommandInput,
747
- options?: __HttpHandlerOptions
748
- ): Promise<DeleteWirelessDeviceCommandOutput>;
749
- public deleteWirelessDevice(
750
- args: DeleteWirelessDeviceCommandInput,
751
- cb: (err: any, data?: DeleteWirelessDeviceCommandOutput) => void
752
- ): void;
753
- public deleteWirelessDevice(
754
- args: DeleteWirelessDeviceCommandInput,
755
- options: __HttpHandlerOptions,
756
- cb: (err: any, data?: DeleteWirelessDeviceCommandOutput) => void
757
- ): void;
758
- public deleteWirelessDevice(
759
- args: DeleteWirelessDeviceCommandInput,
760
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWirelessDeviceCommandOutput) => void),
761
- cb?: (err: any, data?: DeleteWirelessDeviceCommandOutput) => void
762
- ): Promise<DeleteWirelessDeviceCommandOutput> | void {
763
- const command = new DeleteWirelessDeviceCommand(args);
764
- if (typeof optionsOrCb === "function") {
765
- this.send(command, optionsOrCb);
766
- } else if (typeof cb === "function") {
767
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
768
- this.send(command, optionsOrCb || {}, cb);
769
- } else {
770
- return this.send(command, optionsOrCb);
771
- }
772
- }
773
-
774
- /**
775
- * <p>Deletes a wireless gateway.</p>
776
- */
777
- public deleteWirelessGateway(
778
- args: DeleteWirelessGatewayCommandInput,
779
- options?: __HttpHandlerOptions
780
- ): Promise<DeleteWirelessGatewayCommandOutput>;
781
- public deleteWirelessGateway(
782
- args: DeleteWirelessGatewayCommandInput,
783
- cb: (err: any, data?: DeleteWirelessGatewayCommandOutput) => void
784
- ): void;
785
- public deleteWirelessGateway(
786
- args: DeleteWirelessGatewayCommandInput,
787
- options: __HttpHandlerOptions,
788
- cb: (err: any, data?: DeleteWirelessGatewayCommandOutput) => void
789
- ): void;
790
- public deleteWirelessGateway(
791
- args: DeleteWirelessGatewayCommandInput,
792
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWirelessGatewayCommandOutput) => void),
793
- cb?: (err: any, data?: DeleteWirelessGatewayCommandOutput) => void
794
- ): Promise<DeleteWirelessGatewayCommandOutput> | void {
795
- const command = new DeleteWirelessGatewayCommand(args);
796
- if (typeof optionsOrCb === "function") {
797
- this.send(command, optionsOrCb);
798
- } else if (typeof cb === "function") {
799
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
800
- this.send(command, optionsOrCb || {}, cb);
801
- } else {
802
- return this.send(command, optionsOrCb);
803
- }
804
- }
805
-
806
- /**
807
- * <p>Deletes a wireless gateway task.</p>
808
- */
809
- public deleteWirelessGatewayTask(
810
- args: DeleteWirelessGatewayTaskCommandInput,
811
- options?: __HttpHandlerOptions
812
- ): Promise<DeleteWirelessGatewayTaskCommandOutput>;
813
- public deleteWirelessGatewayTask(
814
- args: DeleteWirelessGatewayTaskCommandInput,
815
- cb: (err: any, data?: DeleteWirelessGatewayTaskCommandOutput) => void
816
- ): void;
817
- public deleteWirelessGatewayTask(
818
- args: DeleteWirelessGatewayTaskCommandInput,
819
- options: __HttpHandlerOptions,
820
- cb: (err: any, data?: DeleteWirelessGatewayTaskCommandOutput) => void
821
- ): void;
822
- public deleteWirelessGatewayTask(
823
- args: DeleteWirelessGatewayTaskCommandInput,
824
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWirelessGatewayTaskCommandOutput) => void),
825
- cb?: (err: any, data?: DeleteWirelessGatewayTaskCommandOutput) => void
826
- ): Promise<DeleteWirelessGatewayTaskCommandOutput> | void {
827
- const command = new DeleteWirelessGatewayTaskCommand(args);
828
- if (typeof optionsOrCb === "function") {
829
- this.send(command, optionsOrCb);
830
- } else if (typeof cb === "function") {
831
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
832
- this.send(command, optionsOrCb || {}, cb);
833
- } else {
834
- return this.send(command, optionsOrCb);
835
- }
836
- }
837
-
838
- /**
839
- * <p>Deletes a wireless gateway task definition. Deleting this task definition does not affect tasks that are currently in progress.</p>
840
- */
841
- public deleteWirelessGatewayTaskDefinition(
842
- args: DeleteWirelessGatewayTaskDefinitionCommandInput,
843
- options?: __HttpHandlerOptions
844
- ): Promise<DeleteWirelessGatewayTaskDefinitionCommandOutput>;
845
- public deleteWirelessGatewayTaskDefinition(
846
- args: DeleteWirelessGatewayTaskDefinitionCommandInput,
847
- cb: (err: any, data?: DeleteWirelessGatewayTaskDefinitionCommandOutput) => void
848
- ): void;
849
- public deleteWirelessGatewayTaskDefinition(
850
- args: DeleteWirelessGatewayTaskDefinitionCommandInput,
851
- options: __HttpHandlerOptions,
852
- cb: (err: any, data?: DeleteWirelessGatewayTaskDefinitionCommandOutput) => void
853
- ): void;
854
- public deleteWirelessGatewayTaskDefinition(
855
- args: DeleteWirelessGatewayTaskDefinitionCommandInput,
856
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWirelessGatewayTaskDefinitionCommandOutput) => void),
857
- cb?: (err: any, data?: DeleteWirelessGatewayTaskDefinitionCommandOutput) => void
858
- ): Promise<DeleteWirelessGatewayTaskDefinitionCommandOutput> | void {
859
- const command = new DeleteWirelessGatewayTaskDefinitionCommand(args);
860
- if (typeof optionsOrCb === "function") {
861
- this.send(command, optionsOrCb);
862
- } else if (typeof cb === "function") {
863
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
864
- this.send(command, optionsOrCb || {}, cb);
865
- } else {
866
- return this.send(command, optionsOrCb);
867
- }
868
- }
869
-
870
- /**
871
- * <p>Disassociates your AWS account from a partner account. If <code>PartnerAccountId</code> and <code>PartnerType</code> are <code>null</code>, disassociates your AWS account from all partner accounts.</p>
872
- */
873
- public disassociateAwsAccountFromPartnerAccount(
874
- args: DisassociateAwsAccountFromPartnerAccountCommandInput,
875
- options?: __HttpHandlerOptions
876
- ): Promise<DisassociateAwsAccountFromPartnerAccountCommandOutput>;
877
- public disassociateAwsAccountFromPartnerAccount(
878
- args: DisassociateAwsAccountFromPartnerAccountCommandInput,
879
- cb: (err: any, data?: DisassociateAwsAccountFromPartnerAccountCommandOutput) => void
880
- ): void;
881
- public disassociateAwsAccountFromPartnerAccount(
882
- args: DisassociateAwsAccountFromPartnerAccountCommandInput,
883
- options: __HttpHandlerOptions,
884
- cb: (err: any, data?: DisassociateAwsAccountFromPartnerAccountCommandOutput) => void
885
- ): void;
886
- public disassociateAwsAccountFromPartnerAccount(
887
- args: DisassociateAwsAccountFromPartnerAccountCommandInput,
888
- optionsOrCb?:
889
- | __HttpHandlerOptions
890
- | ((err: any, data?: DisassociateAwsAccountFromPartnerAccountCommandOutput) => void),
891
- cb?: (err: any, data?: DisassociateAwsAccountFromPartnerAccountCommandOutput) => void
892
- ): Promise<DisassociateAwsAccountFromPartnerAccountCommandOutput> | void {
893
- const command = new DisassociateAwsAccountFromPartnerAccountCommand(args);
894
- if (typeof optionsOrCb === "function") {
895
- this.send(command, optionsOrCb);
896
- } else if (typeof cb === "function") {
897
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
898
- this.send(command, optionsOrCb || {}, cb);
899
- } else {
900
- return this.send(command, optionsOrCb);
901
- }
902
- }
903
-
904
- /**
905
- * <p>Disassociates a wireless device from its currently associated thing.</p>
906
- */
907
- public disassociateWirelessDeviceFromThing(
908
- args: DisassociateWirelessDeviceFromThingCommandInput,
909
- options?: __HttpHandlerOptions
910
- ): Promise<DisassociateWirelessDeviceFromThingCommandOutput>;
911
- public disassociateWirelessDeviceFromThing(
912
- args: DisassociateWirelessDeviceFromThingCommandInput,
913
- cb: (err: any, data?: DisassociateWirelessDeviceFromThingCommandOutput) => void
914
- ): void;
915
- public disassociateWirelessDeviceFromThing(
916
- args: DisassociateWirelessDeviceFromThingCommandInput,
917
- options: __HttpHandlerOptions,
918
- cb: (err: any, data?: DisassociateWirelessDeviceFromThingCommandOutput) => void
919
- ): void;
920
- public disassociateWirelessDeviceFromThing(
921
- args: DisassociateWirelessDeviceFromThingCommandInput,
922
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateWirelessDeviceFromThingCommandOutput) => void),
923
- cb?: (err: any, data?: DisassociateWirelessDeviceFromThingCommandOutput) => void
924
- ): Promise<DisassociateWirelessDeviceFromThingCommandOutput> | void {
925
- const command = new DisassociateWirelessDeviceFromThingCommand(args);
926
- if (typeof optionsOrCb === "function") {
927
- this.send(command, optionsOrCb);
928
- } else if (typeof cb === "function") {
929
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
930
- this.send(command, optionsOrCb || {}, cb);
931
- } else {
932
- return this.send(command, optionsOrCb);
933
- }
934
- }
935
-
936
- /**
937
- * <p>Disassociates a wireless gateway from its currently associated certificate.</p>
938
- */
939
- public disassociateWirelessGatewayFromCertificate(
940
- args: DisassociateWirelessGatewayFromCertificateCommandInput,
941
- options?: __HttpHandlerOptions
942
- ): Promise<DisassociateWirelessGatewayFromCertificateCommandOutput>;
943
- public disassociateWirelessGatewayFromCertificate(
944
- args: DisassociateWirelessGatewayFromCertificateCommandInput,
945
- cb: (err: any, data?: DisassociateWirelessGatewayFromCertificateCommandOutput) => void
946
- ): void;
947
- public disassociateWirelessGatewayFromCertificate(
948
- args: DisassociateWirelessGatewayFromCertificateCommandInput,
949
- options: __HttpHandlerOptions,
950
- cb: (err: any, data?: DisassociateWirelessGatewayFromCertificateCommandOutput) => void
951
- ): void;
952
- public disassociateWirelessGatewayFromCertificate(
953
- args: DisassociateWirelessGatewayFromCertificateCommandInput,
954
- optionsOrCb?:
955
- | __HttpHandlerOptions
956
- | ((err: any, data?: DisassociateWirelessGatewayFromCertificateCommandOutput) => void),
957
- cb?: (err: any, data?: DisassociateWirelessGatewayFromCertificateCommandOutput) => void
958
- ): Promise<DisassociateWirelessGatewayFromCertificateCommandOutput> | void {
959
- const command = new DisassociateWirelessGatewayFromCertificateCommand(args);
960
- if (typeof optionsOrCb === "function") {
961
- this.send(command, optionsOrCb);
962
- } else if (typeof cb === "function") {
963
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
964
- this.send(command, optionsOrCb || {}, cb);
965
- } else {
966
- return this.send(command, optionsOrCb);
967
- }
968
- }
969
-
970
- /**
971
- * <p>Disassociates a wireless gateway from its currently associated thing.</p>
972
- */
973
- public disassociateWirelessGatewayFromThing(
974
- args: DisassociateWirelessGatewayFromThingCommandInput,
975
- options?: __HttpHandlerOptions
976
- ): Promise<DisassociateWirelessGatewayFromThingCommandOutput>;
977
- public disassociateWirelessGatewayFromThing(
978
- args: DisassociateWirelessGatewayFromThingCommandInput,
979
- cb: (err: any, data?: DisassociateWirelessGatewayFromThingCommandOutput) => void
980
- ): void;
981
- public disassociateWirelessGatewayFromThing(
982
- args: DisassociateWirelessGatewayFromThingCommandInput,
983
- options: __HttpHandlerOptions,
984
- cb: (err: any, data?: DisassociateWirelessGatewayFromThingCommandOutput) => void
985
- ): void;
986
- public disassociateWirelessGatewayFromThing(
987
- args: DisassociateWirelessGatewayFromThingCommandInput,
988
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateWirelessGatewayFromThingCommandOutput) => void),
989
- cb?: (err: any, data?: DisassociateWirelessGatewayFromThingCommandOutput) => void
990
- ): Promise<DisassociateWirelessGatewayFromThingCommandOutput> | void {
991
- const command = new DisassociateWirelessGatewayFromThingCommand(args);
992
- if (typeof optionsOrCb === "function") {
993
- this.send(command, optionsOrCb);
994
- } else if (typeof cb === "function") {
995
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
996
- this.send(command, optionsOrCb || {}, cb);
997
- } else {
998
- return this.send(command, optionsOrCb);
999
- }
1000
- }
1001
-
1002
- /**
1003
- * <p>Gets information about a destination.</p>
1004
- */
1005
- public getDestination(
1006
- args: GetDestinationCommandInput,
1007
- options?: __HttpHandlerOptions
1008
- ): Promise<GetDestinationCommandOutput>;
1009
- public getDestination(
1010
- args: GetDestinationCommandInput,
1011
- cb: (err: any, data?: GetDestinationCommandOutput) => void
1012
- ): void;
1013
- public getDestination(
1014
- args: GetDestinationCommandInput,
1015
- options: __HttpHandlerOptions,
1016
- cb: (err: any, data?: GetDestinationCommandOutput) => void
1017
- ): void;
1018
- public getDestination(
1019
- args: GetDestinationCommandInput,
1020
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDestinationCommandOutput) => void),
1021
- cb?: (err: any, data?: GetDestinationCommandOutput) => void
1022
- ): Promise<GetDestinationCommandOutput> | void {
1023
- const command = new GetDestinationCommand(args);
1024
- if (typeof optionsOrCb === "function") {
1025
- this.send(command, optionsOrCb);
1026
- } else if (typeof cb === "function") {
1027
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1028
- this.send(command, optionsOrCb || {}, cb);
1029
- } else {
1030
- return this.send(command, optionsOrCb);
1031
- }
1032
- }
1033
-
1034
- /**
1035
- * <p>Gets information about a device profile.</p>
1036
- */
1037
- public getDeviceProfile(
1038
- args: GetDeviceProfileCommandInput,
1039
- options?: __HttpHandlerOptions
1040
- ): Promise<GetDeviceProfileCommandOutput>;
1041
- public getDeviceProfile(
1042
- args: GetDeviceProfileCommandInput,
1043
- cb: (err: any, data?: GetDeviceProfileCommandOutput) => void
1044
- ): void;
1045
- public getDeviceProfile(
1046
- args: GetDeviceProfileCommandInput,
1047
- options: __HttpHandlerOptions,
1048
- cb: (err: any, data?: GetDeviceProfileCommandOutput) => void
1049
- ): void;
1050
- public getDeviceProfile(
1051
- args: GetDeviceProfileCommandInput,
1052
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeviceProfileCommandOutput) => void),
1053
- cb?: (err: any, data?: GetDeviceProfileCommandOutput) => void
1054
- ): Promise<GetDeviceProfileCommandOutput> | void {
1055
- const command = new GetDeviceProfileCommand(args);
1056
- if (typeof optionsOrCb === "function") {
1057
- this.send(command, optionsOrCb);
1058
- } else if (typeof cb === "function") {
1059
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1060
- this.send(command, optionsOrCb || {}, cb);
1061
- } else {
1062
- return this.send(command, optionsOrCb);
1063
- }
1064
- }
1065
-
1066
- /**
1067
- * <p>Returns current default log levels or log levels by resource types. Based on resource types, log levels can be
1068
- * for wireless device log options or wireless gateway log options.</p>
1069
- */
1070
- public getLogLevelsByResourceTypes(
1071
- args: GetLogLevelsByResourceTypesCommandInput,
1072
- options?: __HttpHandlerOptions
1073
- ): Promise<GetLogLevelsByResourceTypesCommandOutput>;
1074
- public getLogLevelsByResourceTypes(
1075
- args: GetLogLevelsByResourceTypesCommandInput,
1076
- cb: (err: any, data?: GetLogLevelsByResourceTypesCommandOutput) => void
1077
- ): void;
1078
- public getLogLevelsByResourceTypes(
1079
- args: GetLogLevelsByResourceTypesCommandInput,
1080
- options: __HttpHandlerOptions,
1081
- cb: (err: any, data?: GetLogLevelsByResourceTypesCommandOutput) => void
1082
- ): void;
1083
- public getLogLevelsByResourceTypes(
1084
- args: GetLogLevelsByResourceTypesCommandInput,
1085
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLogLevelsByResourceTypesCommandOutput) => void),
1086
- cb?: (err: any, data?: GetLogLevelsByResourceTypesCommandOutput) => void
1087
- ): Promise<GetLogLevelsByResourceTypesCommandOutput> | void {
1088
- const command = new GetLogLevelsByResourceTypesCommand(args);
1089
- if (typeof optionsOrCb === "function") {
1090
- this.send(command, optionsOrCb);
1091
- } else if (typeof cb === "function") {
1092
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1093
- this.send(command, optionsOrCb || {}, cb);
1094
- } else {
1095
- return this.send(command, optionsOrCb);
1096
- }
1097
- }
1098
-
1099
- /**
1100
- * <p>Gets information about a partner account. If <code>PartnerAccountId</code> and <code>PartnerType</code> are <code>null</code>, returns all partner accounts.</p>
1101
- */
1102
- public getPartnerAccount(
1103
- args: GetPartnerAccountCommandInput,
1104
- options?: __HttpHandlerOptions
1105
- ): Promise<GetPartnerAccountCommandOutput>;
1106
- public getPartnerAccount(
1107
- args: GetPartnerAccountCommandInput,
1108
- cb: (err: any, data?: GetPartnerAccountCommandOutput) => void
1109
- ): void;
1110
- public getPartnerAccount(
1111
- args: GetPartnerAccountCommandInput,
1112
- options: __HttpHandlerOptions,
1113
- cb: (err: any, data?: GetPartnerAccountCommandOutput) => void
1114
- ): void;
1115
- public getPartnerAccount(
1116
- args: GetPartnerAccountCommandInput,
1117
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPartnerAccountCommandOutput) => void),
1118
- cb?: (err: any, data?: GetPartnerAccountCommandOutput) => void
1119
- ): Promise<GetPartnerAccountCommandOutput> | void {
1120
- const command = new GetPartnerAccountCommand(args);
1121
- if (typeof optionsOrCb === "function") {
1122
- this.send(command, optionsOrCb);
1123
- } else if (typeof cb === "function") {
1124
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1125
- this.send(command, optionsOrCb || {}, cb);
1126
- } else {
1127
- return this.send(command, optionsOrCb);
1128
- }
1129
- }
1130
-
1131
- /**
1132
- * <p>Fetches the log-level override, if any, for a given resource-ID and resource-type. It can be used for
1133
- * a wireless device or a wireless gateway.</p>
1134
- */
1135
- public getResourceLogLevel(
1136
- args: GetResourceLogLevelCommandInput,
1137
- options?: __HttpHandlerOptions
1138
- ): Promise<GetResourceLogLevelCommandOutput>;
1139
- public getResourceLogLevel(
1140
- args: GetResourceLogLevelCommandInput,
1141
- cb: (err: any, data?: GetResourceLogLevelCommandOutput) => void
1142
- ): void;
1143
- public getResourceLogLevel(
1144
- args: GetResourceLogLevelCommandInput,
1145
- options: __HttpHandlerOptions,
1146
- cb: (err: any, data?: GetResourceLogLevelCommandOutput) => void
1147
- ): void;
1148
- public getResourceLogLevel(
1149
- args: GetResourceLogLevelCommandInput,
1150
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResourceLogLevelCommandOutput) => void),
1151
- cb?: (err: any, data?: GetResourceLogLevelCommandOutput) => void
1152
- ): Promise<GetResourceLogLevelCommandOutput> | void {
1153
- const command = new GetResourceLogLevelCommand(args);
1154
- if (typeof optionsOrCb === "function") {
1155
- this.send(command, optionsOrCb);
1156
- } else if (typeof cb === "function") {
1157
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1158
- this.send(command, optionsOrCb || {}, cb);
1159
- } else {
1160
- return this.send(command, optionsOrCb);
1161
- }
1162
- }
1163
-
1164
- /**
1165
- * <p>Gets the account-specific endpoint for Configuration and Update Server (CUPS) protocol or LoRaWAN Network Server (LNS) connections.</p>
1166
- */
1167
- public getServiceEndpoint(
1168
- args: GetServiceEndpointCommandInput,
1169
- options?: __HttpHandlerOptions
1170
- ): Promise<GetServiceEndpointCommandOutput>;
1171
- public getServiceEndpoint(
1172
- args: GetServiceEndpointCommandInput,
1173
- cb: (err: any, data?: GetServiceEndpointCommandOutput) => void
1174
- ): void;
1175
- public getServiceEndpoint(
1176
- args: GetServiceEndpointCommandInput,
1177
- options: __HttpHandlerOptions,
1178
- cb: (err: any, data?: GetServiceEndpointCommandOutput) => void
1179
- ): void;
1180
- public getServiceEndpoint(
1181
- args: GetServiceEndpointCommandInput,
1182
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetServiceEndpointCommandOutput) => void),
1183
- cb?: (err: any, data?: GetServiceEndpointCommandOutput) => void
1184
- ): Promise<GetServiceEndpointCommandOutput> | void {
1185
- const command = new GetServiceEndpointCommand(args);
1186
- if (typeof optionsOrCb === "function") {
1187
- this.send(command, optionsOrCb);
1188
- } else if (typeof cb === "function") {
1189
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1190
- this.send(command, optionsOrCb || {}, cb);
1191
- } else {
1192
- return this.send(command, optionsOrCb);
1193
- }
1194
- }
1195
-
1196
- /**
1197
- * <p>Gets information about a service profile.</p>
1198
- */
1199
- public getServiceProfile(
1200
- args: GetServiceProfileCommandInput,
1201
- options?: __HttpHandlerOptions
1202
- ): Promise<GetServiceProfileCommandOutput>;
1203
- public getServiceProfile(
1204
- args: GetServiceProfileCommandInput,
1205
- cb: (err: any, data?: GetServiceProfileCommandOutput) => void
1206
- ): void;
1207
- public getServiceProfile(
1208
- args: GetServiceProfileCommandInput,
1209
- options: __HttpHandlerOptions,
1210
- cb: (err: any, data?: GetServiceProfileCommandOutput) => void
1211
- ): void;
1212
- public getServiceProfile(
1213
- args: GetServiceProfileCommandInput,
1214
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetServiceProfileCommandOutput) => void),
1215
- cb?: (err: any, data?: GetServiceProfileCommandOutput) => void
1216
- ): Promise<GetServiceProfileCommandOutput> | void {
1217
- const command = new GetServiceProfileCommand(args);
1218
- if (typeof optionsOrCb === "function") {
1219
- this.send(command, optionsOrCb);
1220
- } else if (typeof cb === "function") {
1221
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1222
- this.send(command, optionsOrCb || {}, cb);
1223
- } else {
1224
- return this.send(command, optionsOrCb);
1225
- }
1226
- }
1227
-
1228
- /**
1229
- * <p>Gets information about a wireless device.</p>
1230
- */
1231
- public getWirelessDevice(
1232
- args: GetWirelessDeviceCommandInput,
1233
- options?: __HttpHandlerOptions
1234
- ): Promise<GetWirelessDeviceCommandOutput>;
1235
- public getWirelessDevice(
1236
- args: GetWirelessDeviceCommandInput,
1237
- cb: (err: any, data?: GetWirelessDeviceCommandOutput) => void
1238
- ): void;
1239
- public getWirelessDevice(
1240
- args: GetWirelessDeviceCommandInput,
1241
- options: __HttpHandlerOptions,
1242
- cb: (err: any, data?: GetWirelessDeviceCommandOutput) => void
1243
- ): void;
1244
- public getWirelessDevice(
1245
- args: GetWirelessDeviceCommandInput,
1246
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWirelessDeviceCommandOutput) => void),
1247
- cb?: (err: any, data?: GetWirelessDeviceCommandOutput) => void
1248
- ): Promise<GetWirelessDeviceCommandOutput> | void {
1249
- const command = new GetWirelessDeviceCommand(args);
1250
- if (typeof optionsOrCb === "function") {
1251
- this.send(command, optionsOrCb);
1252
- } else if (typeof cb === "function") {
1253
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1254
- this.send(command, optionsOrCb || {}, cb);
1255
- } else {
1256
- return this.send(command, optionsOrCb);
1257
- }
1258
- }
1259
-
1260
- /**
1261
- * <p>Gets operating information about a wireless device.</p>
1262
- */
1263
- public getWirelessDeviceStatistics(
1264
- args: GetWirelessDeviceStatisticsCommandInput,
1265
- options?: __HttpHandlerOptions
1266
- ): Promise<GetWirelessDeviceStatisticsCommandOutput>;
1267
- public getWirelessDeviceStatistics(
1268
- args: GetWirelessDeviceStatisticsCommandInput,
1269
- cb: (err: any, data?: GetWirelessDeviceStatisticsCommandOutput) => void
1270
- ): void;
1271
- public getWirelessDeviceStatistics(
1272
- args: GetWirelessDeviceStatisticsCommandInput,
1273
- options: __HttpHandlerOptions,
1274
- cb: (err: any, data?: GetWirelessDeviceStatisticsCommandOutput) => void
1275
- ): void;
1276
- public getWirelessDeviceStatistics(
1277
- args: GetWirelessDeviceStatisticsCommandInput,
1278
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWirelessDeviceStatisticsCommandOutput) => void),
1279
- cb?: (err: any, data?: GetWirelessDeviceStatisticsCommandOutput) => void
1280
- ): Promise<GetWirelessDeviceStatisticsCommandOutput> | void {
1281
- const command = new GetWirelessDeviceStatisticsCommand(args);
1282
- if (typeof optionsOrCb === "function") {
1283
- this.send(command, optionsOrCb);
1284
- } else if (typeof cb === "function") {
1285
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1286
- this.send(command, optionsOrCb || {}, cb);
1287
- } else {
1288
- return this.send(command, optionsOrCb);
1289
- }
1290
- }
1291
-
1292
- /**
1293
- * <p>Gets information about a wireless gateway.</p>
1294
- */
1295
- public getWirelessGateway(
1296
- args: GetWirelessGatewayCommandInput,
1297
- options?: __HttpHandlerOptions
1298
- ): Promise<GetWirelessGatewayCommandOutput>;
1299
- public getWirelessGateway(
1300
- args: GetWirelessGatewayCommandInput,
1301
- cb: (err: any, data?: GetWirelessGatewayCommandOutput) => void
1302
- ): void;
1303
- public getWirelessGateway(
1304
- args: GetWirelessGatewayCommandInput,
1305
- options: __HttpHandlerOptions,
1306
- cb: (err: any, data?: GetWirelessGatewayCommandOutput) => void
1307
- ): void;
1308
- public getWirelessGateway(
1309
- args: GetWirelessGatewayCommandInput,
1310
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWirelessGatewayCommandOutput) => void),
1311
- cb?: (err: any, data?: GetWirelessGatewayCommandOutput) => void
1312
- ): Promise<GetWirelessGatewayCommandOutput> | void {
1313
- const command = new GetWirelessGatewayCommand(args);
1314
- if (typeof optionsOrCb === "function") {
1315
- this.send(command, optionsOrCb);
1316
- } else if (typeof cb === "function") {
1317
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1318
- this.send(command, optionsOrCb || {}, cb);
1319
- } else {
1320
- return this.send(command, optionsOrCb);
1321
- }
1322
- }
1323
-
1324
- /**
1325
- * <p>Gets the ID of the certificate that is currently associated with a wireless gateway.</p>
1326
- */
1327
- public getWirelessGatewayCertificate(
1328
- args: GetWirelessGatewayCertificateCommandInput,
1329
- options?: __HttpHandlerOptions
1330
- ): Promise<GetWirelessGatewayCertificateCommandOutput>;
1331
- public getWirelessGatewayCertificate(
1332
- args: GetWirelessGatewayCertificateCommandInput,
1333
- cb: (err: any, data?: GetWirelessGatewayCertificateCommandOutput) => void
1334
- ): void;
1335
- public getWirelessGatewayCertificate(
1336
- args: GetWirelessGatewayCertificateCommandInput,
1337
- options: __HttpHandlerOptions,
1338
- cb: (err: any, data?: GetWirelessGatewayCertificateCommandOutput) => void
1339
- ): void;
1340
- public getWirelessGatewayCertificate(
1341
- args: GetWirelessGatewayCertificateCommandInput,
1342
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWirelessGatewayCertificateCommandOutput) => void),
1343
- cb?: (err: any, data?: GetWirelessGatewayCertificateCommandOutput) => void
1344
- ): Promise<GetWirelessGatewayCertificateCommandOutput> | void {
1345
- const command = new GetWirelessGatewayCertificateCommand(args);
1346
- if (typeof optionsOrCb === "function") {
1347
- this.send(command, optionsOrCb);
1348
- } else if (typeof cb === "function") {
1349
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1350
- this.send(command, optionsOrCb || {}, cb);
1351
- } else {
1352
- return this.send(command, optionsOrCb);
1353
- }
1354
- }
1355
-
1356
- /**
1357
- * <p>Gets the firmware version and other information about a wireless gateway.</p>
1358
- */
1359
- public getWirelessGatewayFirmwareInformation(
1360
- args: GetWirelessGatewayFirmwareInformationCommandInput,
1361
- options?: __HttpHandlerOptions
1362
- ): Promise<GetWirelessGatewayFirmwareInformationCommandOutput>;
1363
- public getWirelessGatewayFirmwareInformation(
1364
- args: GetWirelessGatewayFirmwareInformationCommandInput,
1365
- cb: (err: any, data?: GetWirelessGatewayFirmwareInformationCommandOutput) => void
1366
- ): void;
1367
- public getWirelessGatewayFirmwareInformation(
1368
- args: GetWirelessGatewayFirmwareInformationCommandInput,
1369
- options: __HttpHandlerOptions,
1370
- cb: (err: any, data?: GetWirelessGatewayFirmwareInformationCommandOutput) => void
1371
- ): void;
1372
- public getWirelessGatewayFirmwareInformation(
1373
- args: GetWirelessGatewayFirmwareInformationCommandInput,
1374
- optionsOrCb?:
1375
- | __HttpHandlerOptions
1376
- | ((err: any, data?: GetWirelessGatewayFirmwareInformationCommandOutput) => void),
1377
- cb?: (err: any, data?: GetWirelessGatewayFirmwareInformationCommandOutput) => void
1378
- ): Promise<GetWirelessGatewayFirmwareInformationCommandOutput> | void {
1379
- const command = new GetWirelessGatewayFirmwareInformationCommand(args);
1380
- if (typeof optionsOrCb === "function") {
1381
- this.send(command, optionsOrCb);
1382
- } else if (typeof cb === "function") {
1383
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1384
- this.send(command, optionsOrCb || {}, cb);
1385
- } else {
1386
- return this.send(command, optionsOrCb);
1387
- }
1388
- }
1389
-
1390
- /**
1391
- * <p>Gets operating information about a wireless gateway.</p>
1392
- */
1393
- public getWirelessGatewayStatistics(
1394
- args: GetWirelessGatewayStatisticsCommandInput,
1395
- options?: __HttpHandlerOptions
1396
- ): Promise<GetWirelessGatewayStatisticsCommandOutput>;
1397
- public getWirelessGatewayStatistics(
1398
- args: GetWirelessGatewayStatisticsCommandInput,
1399
- cb: (err: any, data?: GetWirelessGatewayStatisticsCommandOutput) => void
1400
- ): void;
1401
- public getWirelessGatewayStatistics(
1402
- args: GetWirelessGatewayStatisticsCommandInput,
1403
- options: __HttpHandlerOptions,
1404
- cb: (err: any, data?: GetWirelessGatewayStatisticsCommandOutput) => void
1405
- ): void;
1406
- public getWirelessGatewayStatistics(
1407
- args: GetWirelessGatewayStatisticsCommandInput,
1408
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWirelessGatewayStatisticsCommandOutput) => void),
1409
- cb?: (err: any, data?: GetWirelessGatewayStatisticsCommandOutput) => void
1410
- ): Promise<GetWirelessGatewayStatisticsCommandOutput> | void {
1411
- const command = new GetWirelessGatewayStatisticsCommand(args);
1412
- if (typeof optionsOrCb === "function") {
1413
- this.send(command, optionsOrCb);
1414
- } else if (typeof cb === "function") {
1415
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1416
- this.send(command, optionsOrCb || {}, cb);
1417
- } else {
1418
- return this.send(command, optionsOrCb);
1419
- }
1420
- }
1421
-
1422
- /**
1423
- * <p>Gets information about a wireless gateway task.</p>
1424
- */
1425
- public getWirelessGatewayTask(
1426
- args: GetWirelessGatewayTaskCommandInput,
1427
- options?: __HttpHandlerOptions
1428
- ): Promise<GetWirelessGatewayTaskCommandOutput>;
1429
- public getWirelessGatewayTask(
1430
- args: GetWirelessGatewayTaskCommandInput,
1431
- cb: (err: any, data?: GetWirelessGatewayTaskCommandOutput) => void
1432
- ): void;
1433
- public getWirelessGatewayTask(
1434
- args: GetWirelessGatewayTaskCommandInput,
1435
- options: __HttpHandlerOptions,
1436
- cb: (err: any, data?: GetWirelessGatewayTaskCommandOutput) => void
1437
- ): void;
1438
- public getWirelessGatewayTask(
1439
- args: GetWirelessGatewayTaskCommandInput,
1440
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWirelessGatewayTaskCommandOutput) => void),
1441
- cb?: (err: any, data?: GetWirelessGatewayTaskCommandOutput) => void
1442
- ): Promise<GetWirelessGatewayTaskCommandOutput> | void {
1443
- const command = new GetWirelessGatewayTaskCommand(args);
1444
- if (typeof optionsOrCb === "function") {
1445
- this.send(command, optionsOrCb);
1446
- } else if (typeof cb === "function") {
1447
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1448
- this.send(command, optionsOrCb || {}, cb);
1449
- } else {
1450
- return this.send(command, optionsOrCb);
1451
- }
1452
- }
1453
-
1454
- /**
1455
- * <p>Gets information about a wireless gateway task definition.</p>
1456
- */
1457
- public getWirelessGatewayTaskDefinition(
1458
- args: GetWirelessGatewayTaskDefinitionCommandInput,
1459
- options?: __HttpHandlerOptions
1460
- ): Promise<GetWirelessGatewayTaskDefinitionCommandOutput>;
1461
- public getWirelessGatewayTaskDefinition(
1462
- args: GetWirelessGatewayTaskDefinitionCommandInput,
1463
- cb: (err: any, data?: GetWirelessGatewayTaskDefinitionCommandOutput) => void
1464
- ): void;
1465
- public getWirelessGatewayTaskDefinition(
1466
- args: GetWirelessGatewayTaskDefinitionCommandInput,
1467
- options: __HttpHandlerOptions,
1468
- cb: (err: any, data?: GetWirelessGatewayTaskDefinitionCommandOutput) => void
1469
- ): void;
1470
- public getWirelessGatewayTaskDefinition(
1471
- args: GetWirelessGatewayTaskDefinitionCommandInput,
1472
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWirelessGatewayTaskDefinitionCommandOutput) => void),
1473
- cb?: (err: any, data?: GetWirelessGatewayTaskDefinitionCommandOutput) => void
1474
- ): Promise<GetWirelessGatewayTaskDefinitionCommandOutput> | void {
1475
- const command = new GetWirelessGatewayTaskDefinitionCommand(args);
1476
- if (typeof optionsOrCb === "function") {
1477
- this.send(command, optionsOrCb);
1478
- } else if (typeof cb === "function") {
1479
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1480
- this.send(command, optionsOrCb || {}, cb);
1481
- } else {
1482
- return this.send(command, optionsOrCb);
1483
- }
1484
- }
1485
-
1486
- /**
1487
- * <p>Lists the destinations registered to your AWS account.</p>
1488
- */
1489
- public listDestinations(
1490
- args: ListDestinationsCommandInput,
1491
- options?: __HttpHandlerOptions
1492
- ): Promise<ListDestinationsCommandOutput>;
1493
- public listDestinations(
1494
- args: ListDestinationsCommandInput,
1495
- cb: (err: any, data?: ListDestinationsCommandOutput) => void
1496
- ): void;
1497
- public listDestinations(
1498
- args: ListDestinationsCommandInput,
1499
- options: __HttpHandlerOptions,
1500
- cb: (err: any, data?: ListDestinationsCommandOutput) => void
1501
- ): void;
1502
- public listDestinations(
1503
- args: ListDestinationsCommandInput,
1504
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDestinationsCommandOutput) => void),
1505
- cb?: (err: any, data?: ListDestinationsCommandOutput) => void
1506
- ): Promise<ListDestinationsCommandOutput> | void {
1507
- const command = new ListDestinationsCommand(args);
1508
- if (typeof optionsOrCb === "function") {
1509
- this.send(command, optionsOrCb);
1510
- } else if (typeof cb === "function") {
1511
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1512
- this.send(command, optionsOrCb || {}, cb);
1513
- } else {
1514
- return this.send(command, optionsOrCb);
1515
- }
1516
- }
1517
-
1518
- /**
1519
- * <p>Lists the device profiles registered to your AWS account.</p>
1520
- */
1521
- public listDeviceProfiles(
1522
- args: ListDeviceProfilesCommandInput,
1523
- options?: __HttpHandlerOptions
1524
- ): Promise<ListDeviceProfilesCommandOutput>;
1525
- public listDeviceProfiles(
1526
- args: ListDeviceProfilesCommandInput,
1527
- cb: (err: any, data?: ListDeviceProfilesCommandOutput) => void
1528
- ): void;
1529
- public listDeviceProfiles(
1530
- args: ListDeviceProfilesCommandInput,
1531
- options: __HttpHandlerOptions,
1532
- cb: (err: any, data?: ListDeviceProfilesCommandOutput) => void
1533
- ): void;
1534
- public listDeviceProfiles(
1535
- args: ListDeviceProfilesCommandInput,
1536
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeviceProfilesCommandOutput) => void),
1537
- cb?: (err: any, data?: ListDeviceProfilesCommandOutput) => void
1538
- ): Promise<ListDeviceProfilesCommandOutput> | void {
1539
- const command = new ListDeviceProfilesCommand(args);
1540
- if (typeof optionsOrCb === "function") {
1541
- this.send(command, optionsOrCb);
1542
- } else if (typeof cb === "function") {
1543
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1544
- this.send(command, optionsOrCb || {}, cb);
1545
- } else {
1546
- return this.send(command, optionsOrCb);
1547
- }
1548
- }
1549
-
1550
- /**
1551
- * <p>Lists the partner accounts associated with your AWS account.</p>
1552
- */
1553
- public listPartnerAccounts(
1554
- args: ListPartnerAccountsCommandInput,
1555
- options?: __HttpHandlerOptions
1556
- ): Promise<ListPartnerAccountsCommandOutput>;
1557
- public listPartnerAccounts(
1558
- args: ListPartnerAccountsCommandInput,
1559
- cb: (err: any, data?: ListPartnerAccountsCommandOutput) => void
1560
- ): void;
1561
- public listPartnerAccounts(
1562
- args: ListPartnerAccountsCommandInput,
1563
- options: __HttpHandlerOptions,
1564
- cb: (err: any, data?: ListPartnerAccountsCommandOutput) => void
1565
- ): void;
1566
- public listPartnerAccounts(
1567
- args: ListPartnerAccountsCommandInput,
1568
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPartnerAccountsCommandOutput) => void),
1569
- cb?: (err: any, data?: ListPartnerAccountsCommandOutput) => void
1570
- ): Promise<ListPartnerAccountsCommandOutput> | void {
1571
- const command = new ListPartnerAccountsCommand(args);
1572
- if (typeof optionsOrCb === "function") {
1573
- this.send(command, optionsOrCb);
1574
- } else if (typeof cb === "function") {
1575
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1576
- this.send(command, optionsOrCb || {}, cb);
1577
- } else {
1578
- return this.send(command, optionsOrCb);
1579
- }
1580
- }
1581
-
1582
- /**
1583
- * <p>Lists the service profiles registered to your AWS account.</p>
1584
- */
1585
- public listServiceProfiles(
1586
- args: ListServiceProfilesCommandInput,
1587
- options?: __HttpHandlerOptions
1588
- ): Promise<ListServiceProfilesCommandOutput>;
1589
- public listServiceProfiles(
1590
- args: ListServiceProfilesCommandInput,
1591
- cb: (err: any, data?: ListServiceProfilesCommandOutput) => void
1592
- ): void;
1593
- public listServiceProfiles(
1594
- args: ListServiceProfilesCommandInput,
1595
- options: __HttpHandlerOptions,
1596
- cb: (err: any, data?: ListServiceProfilesCommandOutput) => void
1597
- ): void;
1598
- public listServiceProfiles(
1599
- args: ListServiceProfilesCommandInput,
1600
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListServiceProfilesCommandOutput) => void),
1601
- cb?: (err: any, data?: ListServiceProfilesCommandOutput) => void
1602
- ): Promise<ListServiceProfilesCommandOutput> | void {
1603
- const command = new ListServiceProfilesCommand(args);
1604
- if (typeof optionsOrCb === "function") {
1605
- this.send(command, optionsOrCb);
1606
- } else if (typeof cb === "function") {
1607
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1608
- this.send(command, optionsOrCb || {}, cb);
1609
- } else {
1610
- return this.send(command, optionsOrCb);
1611
- }
1612
- }
1613
-
1614
- /**
1615
- * <p>Lists the tags (metadata) you have assigned to the resource.</p>
1616
- */
1617
- public listTagsForResource(
1618
- args: ListTagsForResourceCommandInput,
1619
- options?: __HttpHandlerOptions
1620
- ): Promise<ListTagsForResourceCommandOutput>;
1621
- public listTagsForResource(
1622
- args: ListTagsForResourceCommandInput,
1623
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1624
- ): void;
1625
- public listTagsForResource(
1626
- args: ListTagsForResourceCommandInput,
1627
- options: __HttpHandlerOptions,
1628
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1629
- ): void;
1630
- public listTagsForResource(
1631
- args: ListTagsForResourceCommandInput,
1632
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1633
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1634
- ): Promise<ListTagsForResourceCommandOutput> | void {
1635
- const command = new ListTagsForResourceCommand(args);
1636
- if (typeof optionsOrCb === "function") {
1637
- this.send(command, optionsOrCb);
1638
- } else if (typeof cb === "function") {
1639
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1640
- this.send(command, optionsOrCb || {}, cb);
1641
- } else {
1642
- return this.send(command, optionsOrCb);
1643
- }
1644
- }
1645
-
1646
- /**
1647
- * <p>Lists the wireless devices registered to your AWS account.</p>
1648
- */
1649
- public listWirelessDevices(
1650
- args: ListWirelessDevicesCommandInput,
1651
- options?: __HttpHandlerOptions
1652
- ): Promise<ListWirelessDevicesCommandOutput>;
1653
- public listWirelessDevices(
1654
- args: ListWirelessDevicesCommandInput,
1655
- cb: (err: any, data?: ListWirelessDevicesCommandOutput) => void
1656
- ): void;
1657
- public listWirelessDevices(
1658
- args: ListWirelessDevicesCommandInput,
1659
- options: __HttpHandlerOptions,
1660
- cb: (err: any, data?: ListWirelessDevicesCommandOutput) => void
1661
- ): void;
1662
- public listWirelessDevices(
1663
- args: ListWirelessDevicesCommandInput,
1664
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWirelessDevicesCommandOutput) => void),
1665
- cb?: (err: any, data?: ListWirelessDevicesCommandOutput) => void
1666
- ): Promise<ListWirelessDevicesCommandOutput> | void {
1667
- const command = new ListWirelessDevicesCommand(args);
1668
- if (typeof optionsOrCb === "function") {
1669
- this.send(command, optionsOrCb);
1670
- } else if (typeof cb === "function") {
1671
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1672
- this.send(command, optionsOrCb || {}, cb);
1673
- } else {
1674
- return this.send(command, optionsOrCb);
1675
- }
1676
- }
1677
-
1678
- /**
1679
- * <p>Lists the wireless gateways registered to your AWS account.</p>
1680
- */
1681
- public listWirelessGateways(
1682
- args: ListWirelessGatewaysCommandInput,
1683
- options?: __HttpHandlerOptions
1684
- ): Promise<ListWirelessGatewaysCommandOutput>;
1685
- public listWirelessGateways(
1686
- args: ListWirelessGatewaysCommandInput,
1687
- cb: (err: any, data?: ListWirelessGatewaysCommandOutput) => void
1688
- ): void;
1689
- public listWirelessGateways(
1690
- args: ListWirelessGatewaysCommandInput,
1691
- options: __HttpHandlerOptions,
1692
- cb: (err: any, data?: ListWirelessGatewaysCommandOutput) => void
1693
- ): void;
1694
- public listWirelessGateways(
1695
- args: ListWirelessGatewaysCommandInput,
1696
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWirelessGatewaysCommandOutput) => void),
1697
- cb?: (err: any, data?: ListWirelessGatewaysCommandOutput) => void
1698
- ): Promise<ListWirelessGatewaysCommandOutput> | void {
1699
- const command = new ListWirelessGatewaysCommand(args);
1700
- if (typeof optionsOrCb === "function") {
1701
- this.send(command, optionsOrCb);
1702
- } else if (typeof cb === "function") {
1703
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1704
- this.send(command, optionsOrCb || {}, cb);
1705
- } else {
1706
- return this.send(command, optionsOrCb);
1707
- }
1708
- }
1709
-
1710
- /**
1711
- * <p>List the wireless gateway tasks definitions registered to your AWS account.</p>
1712
- */
1713
- public listWirelessGatewayTaskDefinitions(
1714
- args: ListWirelessGatewayTaskDefinitionsCommandInput,
1715
- options?: __HttpHandlerOptions
1716
- ): Promise<ListWirelessGatewayTaskDefinitionsCommandOutput>;
1717
- public listWirelessGatewayTaskDefinitions(
1718
- args: ListWirelessGatewayTaskDefinitionsCommandInput,
1719
- cb: (err: any, data?: ListWirelessGatewayTaskDefinitionsCommandOutput) => void
1720
- ): void;
1721
- public listWirelessGatewayTaskDefinitions(
1722
- args: ListWirelessGatewayTaskDefinitionsCommandInput,
1723
- options: __HttpHandlerOptions,
1724
- cb: (err: any, data?: ListWirelessGatewayTaskDefinitionsCommandOutput) => void
1725
- ): void;
1726
- public listWirelessGatewayTaskDefinitions(
1727
- args: ListWirelessGatewayTaskDefinitionsCommandInput,
1728
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWirelessGatewayTaskDefinitionsCommandOutput) => void),
1729
- cb?: (err: any, data?: ListWirelessGatewayTaskDefinitionsCommandOutput) => void
1730
- ): Promise<ListWirelessGatewayTaskDefinitionsCommandOutput> | void {
1731
- const command = new ListWirelessGatewayTaskDefinitionsCommand(args);
1732
- if (typeof optionsOrCb === "function") {
1733
- this.send(command, optionsOrCb);
1734
- } else if (typeof cb === "function") {
1735
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1736
- this.send(command, optionsOrCb || {}, cb);
1737
- } else {
1738
- return this.send(command, optionsOrCb);
1739
- }
1740
- }
1741
-
1742
- /**
1743
- * <p>Sets the log-level override for a resource-ID and resource-type. This option can be specified for a wireless gateway
1744
- * or a wireless device. A limit of 200 log level override can be set per account.</p>
1745
- */
1746
- public putResourceLogLevel(
1747
- args: PutResourceLogLevelCommandInput,
1748
- options?: __HttpHandlerOptions
1749
- ): Promise<PutResourceLogLevelCommandOutput>;
1750
- public putResourceLogLevel(
1751
- args: PutResourceLogLevelCommandInput,
1752
- cb: (err: any, data?: PutResourceLogLevelCommandOutput) => void
1753
- ): void;
1754
- public putResourceLogLevel(
1755
- args: PutResourceLogLevelCommandInput,
1756
- options: __HttpHandlerOptions,
1757
- cb: (err: any, data?: PutResourceLogLevelCommandOutput) => void
1758
- ): void;
1759
- public putResourceLogLevel(
1760
- args: PutResourceLogLevelCommandInput,
1761
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutResourceLogLevelCommandOutput) => void),
1762
- cb?: (err: any, data?: PutResourceLogLevelCommandOutput) => void
1763
- ): Promise<PutResourceLogLevelCommandOutput> | void {
1764
- const command = new PutResourceLogLevelCommand(args);
1765
- if (typeof optionsOrCb === "function") {
1766
- this.send(command, optionsOrCb);
1767
- } else if (typeof cb === "function") {
1768
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1769
- this.send(command, optionsOrCb || {}, cb);
1770
- } else {
1771
- return this.send(command, optionsOrCb);
1772
- }
1773
- }
1774
-
1775
- /**
1776
- * <p>Removes the log-level overrides for all resources; both wireless devices and wireless gateways.</p>
1777
- */
1778
- public resetAllResourceLogLevels(
1779
- args: ResetAllResourceLogLevelsCommandInput,
1780
- options?: __HttpHandlerOptions
1781
- ): Promise<ResetAllResourceLogLevelsCommandOutput>;
1782
- public resetAllResourceLogLevels(
1783
- args: ResetAllResourceLogLevelsCommandInput,
1784
- cb: (err: any, data?: ResetAllResourceLogLevelsCommandOutput) => void
1785
- ): void;
1786
- public resetAllResourceLogLevels(
1787
- args: ResetAllResourceLogLevelsCommandInput,
1788
- options: __HttpHandlerOptions,
1789
- cb: (err: any, data?: ResetAllResourceLogLevelsCommandOutput) => void
1790
- ): void;
1791
- public resetAllResourceLogLevels(
1792
- args: ResetAllResourceLogLevelsCommandInput,
1793
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResetAllResourceLogLevelsCommandOutput) => void),
1794
- cb?: (err: any, data?: ResetAllResourceLogLevelsCommandOutput) => void
1795
- ): Promise<ResetAllResourceLogLevelsCommandOutput> | void {
1796
- const command = new ResetAllResourceLogLevelsCommand(args);
1797
- if (typeof optionsOrCb === "function") {
1798
- this.send(command, optionsOrCb);
1799
- } else if (typeof cb === "function") {
1800
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1801
- this.send(command, optionsOrCb || {}, cb);
1802
- } else {
1803
- return this.send(command, optionsOrCb);
1804
- }
1805
- }
1806
-
1807
- /**
1808
- * <p>Removes the log-level override, if any, for a specific resource-ID and resource-type. It can be used for
1809
- * a wireless device or a wireless gateway.</p>
1810
- */
1811
- public resetResourceLogLevel(
1812
- args: ResetResourceLogLevelCommandInput,
1813
- options?: __HttpHandlerOptions
1814
- ): Promise<ResetResourceLogLevelCommandOutput>;
1815
- public resetResourceLogLevel(
1816
- args: ResetResourceLogLevelCommandInput,
1817
- cb: (err: any, data?: ResetResourceLogLevelCommandOutput) => void
1818
- ): void;
1819
- public resetResourceLogLevel(
1820
- args: ResetResourceLogLevelCommandInput,
1821
- options: __HttpHandlerOptions,
1822
- cb: (err: any, data?: ResetResourceLogLevelCommandOutput) => void
1823
- ): void;
1824
- public resetResourceLogLevel(
1825
- args: ResetResourceLogLevelCommandInput,
1826
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResetResourceLogLevelCommandOutput) => void),
1827
- cb?: (err: any, data?: ResetResourceLogLevelCommandOutput) => void
1828
- ): Promise<ResetResourceLogLevelCommandOutput> | void {
1829
- const command = new ResetResourceLogLevelCommand(args);
1830
- if (typeof optionsOrCb === "function") {
1831
- this.send(command, optionsOrCb);
1832
- } else if (typeof cb === "function") {
1833
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1834
- this.send(command, optionsOrCb || {}, cb);
1835
- } else {
1836
- return this.send(command, optionsOrCb);
1837
- }
1838
- }
1839
-
1840
- /**
1841
- * <p>Sends a decrypted application data frame to a device.</p>
1842
- */
1843
- public sendDataToWirelessDevice(
1844
- args: SendDataToWirelessDeviceCommandInput,
1845
- options?: __HttpHandlerOptions
1846
- ): Promise<SendDataToWirelessDeviceCommandOutput>;
1847
- public sendDataToWirelessDevice(
1848
- args: SendDataToWirelessDeviceCommandInput,
1849
- cb: (err: any, data?: SendDataToWirelessDeviceCommandOutput) => void
1850
- ): void;
1851
- public sendDataToWirelessDevice(
1852
- args: SendDataToWirelessDeviceCommandInput,
1853
- options: __HttpHandlerOptions,
1854
- cb: (err: any, data?: SendDataToWirelessDeviceCommandOutput) => void
1855
- ): void;
1856
- public sendDataToWirelessDevice(
1857
- args: SendDataToWirelessDeviceCommandInput,
1858
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SendDataToWirelessDeviceCommandOutput) => void),
1859
- cb?: (err: any, data?: SendDataToWirelessDeviceCommandOutput) => void
1860
- ): Promise<SendDataToWirelessDeviceCommandOutput> | void {
1861
- const command = new SendDataToWirelessDeviceCommand(args);
1862
- if (typeof optionsOrCb === "function") {
1863
- this.send(command, optionsOrCb);
1864
- } else if (typeof cb === "function") {
1865
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1866
- this.send(command, optionsOrCb || {}, cb);
1867
- } else {
1868
- return this.send(command, optionsOrCb);
1869
- }
1870
- }
1871
-
1872
- /**
1873
- * <p>Adds a tag to a resource.</p>
1874
- */
1875
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1876
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1877
- public tagResource(
1878
- args: TagResourceCommandInput,
1879
- options: __HttpHandlerOptions,
1880
- cb: (err: any, data?: TagResourceCommandOutput) => void
1881
- ): void;
1882
- public tagResource(
1883
- args: TagResourceCommandInput,
1884
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1885
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1886
- ): Promise<TagResourceCommandOutput> | void {
1887
- const command = new TagResourceCommand(args);
1888
- if (typeof optionsOrCb === "function") {
1889
- this.send(command, optionsOrCb);
1890
- } else if (typeof cb === "function") {
1891
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1892
- this.send(command, optionsOrCb || {}, cb);
1893
- } else {
1894
- return this.send(command, optionsOrCb);
1895
- }
1896
- }
1897
-
1898
- /**
1899
- * <p>Simulates a provisioned device by sending an uplink data payload of <code>Hello</code>.</p>
1900
- */
1901
- public testWirelessDevice(
1902
- args: TestWirelessDeviceCommandInput,
1903
- options?: __HttpHandlerOptions
1904
- ): Promise<TestWirelessDeviceCommandOutput>;
1905
- public testWirelessDevice(
1906
- args: TestWirelessDeviceCommandInput,
1907
- cb: (err: any, data?: TestWirelessDeviceCommandOutput) => void
1908
- ): void;
1909
- public testWirelessDevice(
1910
- args: TestWirelessDeviceCommandInput,
1911
- options: __HttpHandlerOptions,
1912
- cb: (err: any, data?: TestWirelessDeviceCommandOutput) => void
1913
- ): void;
1914
- public testWirelessDevice(
1915
- args: TestWirelessDeviceCommandInput,
1916
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TestWirelessDeviceCommandOutput) => void),
1917
- cb?: (err: any, data?: TestWirelessDeviceCommandOutput) => void
1918
- ): Promise<TestWirelessDeviceCommandOutput> | void {
1919
- const command = new TestWirelessDeviceCommand(args);
1920
- if (typeof optionsOrCb === "function") {
1921
- this.send(command, optionsOrCb);
1922
- } else if (typeof cb === "function") {
1923
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1924
- this.send(command, optionsOrCb || {}, cb);
1925
- } else {
1926
- return this.send(command, optionsOrCb);
1927
- }
1928
- }
1929
-
1930
- /**
1931
- * <p>Removes one or more tags from a resource.</p>
1932
- */
1933
- public untagResource(
1934
- args: UntagResourceCommandInput,
1935
- options?: __HttpHandlerOptions
1936
- ): Promise<UntagResourceCommandOutput>;
1937
- public untagResource(
1938
- args: UntagResourceCommandInput,
1939
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1940
- ): void;
1941
- public untagResource(
1942
- args: UntagResourceCommandInput,
1943
- options: __HttpHandlerOptions,
1944
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1945
- ): void;
1946
- public untagResource(
1947
- args: UntagResourceCommandInput,
1948
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1949
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1950
- ): Promise<UntagResourceCommandOutput> | void {
1951
- const command = new UntagResourceCommand(args);
1952
- if (typeof optionsOrCb === "function") {
1953
- this.send(command, optionsOrCb);
1954
- } else if (typeof cb === "function") {
1955
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1956
- this.send(command, optionsOrCb || {}, cb);
1957
- } else {
1958
- return this.send(command, optionsOrCb);
1959
- }
1960
- }
1961
-
1962
- /**
1963
- * <p>Updates properties of a destination.</p>
1964
- */
1965
- public updateDestination(
1966
- args: UpdateDestinationCommandInput,
1967
- options?: __HttpHandlerOptions
1968
- ): Promise<UpdateDestinationCommandOutput>;
1969
- public updateDestination(
1970
- args: UpdateDestinationCommandInput,
1971
- cb: (err: any, data?: UpdateDestinationCommandOutput) => void
1972
- ): void;
1973
- public updateDestination(
1974
- args: UpdateDestinationCommandInput,
1975
- options: __HttpHandlerOptions,
1976
- cb: (err: any, data?: UpdateDestinationCommandOutput) => void
1977
- ): void;
1978
- public updateDestination(
1979
- args: UpdateDestinationCommandInput,
1980
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDestinationCommandOutput) => void),
1981
- cb?: (err: any, data?: UpdateDestinationCommandOutput) => void
1982
- ): Promise<UpdateDestinationCommandOutput> | void {
1983
- const command = new UpdateDestinationCommand(args);
1984
- if (typeof optionsOrCb === "function") {
1985
- this.send(command, optionsOrCb);
1986
- } else if (typeof cb === "function") {
1987
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1988
- this.send(command, optionsOrCb || {}, cb);
1989
- } else {
1990
- return this.send(command, optionsOrCb);
1991
- }
1992
- }
1993
-
1994
- /**
1995
- * <p>Set default log level, or log levels by resource types. This can be for wireless device log options or
1996
- * wireless gateways log options and is used to control the log messages that'll be displayed in CloudWatch.</p>
1997
- */
1998
- public updateLogLevelsByResourceTypes(
1999
- args: UpdateLogLevelsByResourceTypesCommandInput,
2000
- options?: __HttpHandlerOptions
2001
- ): Promise<UpdateLogLevelsByResourceTypesCommandOutput>;
2002
- public updateLogLevelsByResourceTypes(
2003
- args: UpdateLogLevelsByResourceTypesCommandInput,
2004
- cb: (err: any, data?: UpdateLogLevelsByResourceTypesCommandOutput) => void
2005
- ): void;
2006
- public updateLogLevelsByResourceTypes(
2007
- args: UpdateLogLevelsByResourceTypesCommandInput,
2008
- options: __HttpHandlerOptions,
2009
- cb: (err: any, data?: UpdateLogLevelsByResourceTypesCommandOutput) => void
2010
- ): void;
2011
- public updateLogLevelsByResourceTypes(
2012
- args: UpdateLogLevelsByResourceTypesCommandInput,
2013
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateLogLevelsByResourceTypesCommandOutput) => void),
2014
- cb?: (err: any, data?: UpdateLogLevelsByResourceTypesCommandOutput) => void
2015
- ): Promise<UpdateLogLevelsByResourceTypesCommandOutput> | void {
2016
- const command = new UpdateLogLevelsByResourceTypesCommand(args);
2017
- if (typeof optionsOrCb === "function") {
2018
- this.send(command, optionsOrCb);
2019
- } else if (typeof cb === "function") {
2020
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2021
- this.send(command, optionsOrCb || {}, cb);
2022
- } else {
2023
- return this.send(command, optionsOrCb);
2024
- }
2025
- }
2026
-
2027
- /**
2028
- * <p>Updates properties of a partner account.</p>
2029
- */
2030
- public updatePartnerAccount(
2031
- args: UpdatePartnerAccountCommandInput,
2032
- options?: __HttpHandlerOptions
2033
- ): Promise<UpdatePartnerAccountCommandOutput>;
2034
- public updatePartnerAccount(
2035
- args: UpdatePartnerAccountCommandInput,
2036
- cb: (err: any, data?: UpdatePartnerAccountCommandOutput) => void
2037
- ): void;
2038
- public updatePartnerAccount(
2039
- args: UpdatePartnerAccountCommandInput,
2040
- options: __HttpHandlerOptions,
2041
- cb: (err: any, data?: UpdatePartnerAccountCommandOutput) => void
2042
- ): void;
2043
- public updatePartnerAccount(
2044
- args: UpdatePartnerAccountCommandInput,
2045
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdatePartnerAccountCommandOutput) => void),
2046
- cb?: (err: any, data?: UpdatePartnerAccountCommandOutput) => void
2047
- ): Promise<UpdatePartnerAccountCommandOutput> | void {
2048
- const command = new UpdatePartnerAccountCommand(args);
2049
- if (typeof optionsOrCb === "function") {
2050
- this.send(command, optionsOrCb);
2051
- } else if (typeof cb === "function") {
2052
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2053
- this.send(command, optionsOrCb || {}, cb);
2054
- } else {
2055
- return this.send(command, optionsOrCb);
2056
- }
2057
- }
2058
-
2059
- /**
2060
- * <p>Updates properties of a wireless device.</p>
2061
- */
2062
- public updateWirelessDevice(
2063
- args: UpdateWirelessDeviceCommandInput,
2064
- options?: __HttpHandlerOptions
2065
- ): Promise<UpdateWirelessDeviceCommandOutput>;
2066
- public updateWirelessDevice(
2067
- args: UpdateWirelessDeviceCommandInput,
2068
- cb: (err: any, data?: UpdateWirelessDeviceCommandOutput) => void
2069
- ): void;
2070
- public updateWirelessDevice(
2071
- args: UpdateWirelessDeviceCommandInput,
2072
- options: __HttpHandlerOptions,
2073
- cb: (err: any, data?: UpdateWirelessDeviceCommandOutput) => void
2074
- ): void;
2075
- public updateWirelessDevice(
2076
- args: UpdateWirelessDeviceCommandInput,
2077
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateWirelessDeviceCommandOutput) => void),
2078
- cb?: (err: any, data?: UpdateWirelessDeviceCommandOutput) => void
2079
- ): Promise<UpdateWirelessDeviceCommandOutput> | void {
2080
- const command = new UpdateWirelessDeviceCommand(args);
2081
- if (typeof optionsOrCb === "function") {
2082
- this.send(command, optionsOrCb);
2083
- } else if (typeof cb === "function") {
2084
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2085
- this.send(command, optionsOrCb || {}, cb);
2086
- } else {
2087
- return this.send(command, optionsOrCb);
2088
- }
2089
- }
2090
-
2091
- /**
2092
- * <p>Updates properties of a wireless gateway.</p>
2093
- */
2094
- public updateWirelessGateway(
2095
- args: UpdateWirelessGatewayCommandInput,
2096
- options?: __HttpHandlerOptions
2097
- ): Promise<UpdateWirelessGatewayCommandOutput>;
2098
- public updateWirelessGateway(
2099
- args: UpdateWirelessGatewayCommandInput,
2100
- cb: (err: any, data?: UpdateWirelessGatewayCommandOutput) => void
2101
- ): void;
2102
- public updateWirelessGateway(
2103
- args: UpdateWirelessGatewayCommandInput,
2104
- options: __HttpHandlerOptions,
2105
- cb: (err: any, data?: UpdateWirelessGatewayCommandOutput) => void
2106
- ): void;
2107
- public updateWirelessGateway(
2108
- args: UpdateWirelessGatewayCommandInput,
2109
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateWirelessGatewayCommandOutput) => void),
2110
- cb?: (err: any, data?: UpdateWirelessGatewayCommandOutput) => void
2111
- ): Promise<UpdateWirelessGatewayCommandOutput> | void {
2112
- const command = new UpdateWirelessGatewayCommand(args);
2113
- if (typeof optionsOrCb === "function") {
2114
- this.send(command, optionsOrCb);
2115
- } else if (typeof cb === "function") {
2116
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2117
- this.send(command, optionsOrCb || {}, cb);
2118
- } else {
2119
- return this.send(command, optionsOrCb);
2120
- }
2121
- }
2122
- }