@aws-sdk/client-iot-managed-integrations 3.761.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 (359) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +661 -0
  3. package/dist-cjs/IoTManagedIntegrations.js +125 -0
  4. package/dist-cjs/IoTManagedIntegrationsClient.js +51 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateCredentialLockerCommand.js +27 -0
  8. package/dist-cjs/commands/CreateDestinationCommand.js +27 -0
  9. package/dist-cjs/commands/CreateEventLogConfigurationCommand.js +26 -0
  10. package/dist-cjs/commands/CreateManagedThingCommand.js +27 -0
  11. package/dist-cjs/commands/CreateNotificationConfigurationCommand.js +27 -0
  12. package/dist-cjs/commands/CreateOtaTaskCommand.js +27 -0
  13. package/dist-cjs/commands/CreateOtaTaskConfigurationCommand.js +27 -0
  14. package/dist-cjs/commands/CreateProvisioningProfileCommand.js +27 -0
  15. package/dist-cjs/commands/DeleteCredentialLockerCommand.js +26 -0
  16. package/dist-cjs/commands/DeleteDestinationCommand.js +26 -0
  17. package/dist-cjs/commands/DeleteEventLogConfigurationCommand.js +26 -0
  18. package/dist-cjs/commands/DeleteManagedThingCommand.js +26 -0
  19. package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +26 -0
  20. package/dist-cjs/commands/DeleteOtaTaskCommand.js +26 -0
  21. package/dist-cjs/commands/DeleteOtaTaskConfigurationCommand.js +26 -0
  22. package/dist-cjs/commands/DeleteProvisioningProfileCommand.js +26 -0
  23. package/dist-cjs/commands/GetCredentialLockerCommand.js +27 -0
  24. package/dist-cjs/commands/GetCustomEndpointCommand.js +26 -0
  25. package/dist-cjs/commands/GetDefaultEncryptionConfigurationCommand.js +26 -0
  26. package/dist-cjs/commands/GetDestinationCommand.js +27 -0
  27. package/dist-cjs/commands/GetDeviceDiscoveryCommand.js +27 -0
  28. package/dist-cjs/commands/GetEventLogConfigurationCommand.js +26 -0
  29. package/dist-cjs/commands/GetHubConfigurationCommand.js +26 -0
  30. package/dist-cjs/commands/GetManagedThingCapabilitiesCommand.js +26 -0
  31. package/dist-cjs/commands/GetManagedThingCommand.js +27 -0
  32. package/dist-cjs/commands/GetManagedThingConnectivityDataCommand.js +26 -0
  33. package/dist-cjs/commands/GetManagedThingMetaDataCommand.js +26 -0
  34. package/dist-cjs/commands/GetManagedThingStateCommand.js +27 -0
  35. package/dist-cjs/commands/GetNotificationConfigurationCommand.js +27 -0
  36. package/dist-cjs/commands/GetOtaTaskCommand.js +26 -0
  37. package/dist-cjs/commands/GetOtaTaskConfigurationCommand.js +27 -0
  38. package/dist-cjs/commands/GetProvisioningProfileCommand.js +27 -0
  39. package/dist-cjs/commands/GetRuntimeLogConfigurationCommand.js +26 -0
  40. package/dist-cjs/commands/GetSchemaVersionCommand.js +26 -0
  41. package/dist-cjs/commands/ListCredentialLockersCommand.js +27 -0
  42. package/dist-cjs/commands/ListDestinationsCommand.js +26 -0
  43. package/dist-cjs/commands/ListEventLogConfigurationsCommand.js +26 -0
  44. package/dist-cjs/commands/ListManagedThingSchemasCommand.js +26 -0
  45. package/dist-cjs/commands/ListManagedThingsCommand.js +27 -0
  46. package/dist-cjs/commands/ListNotificationConfigurationsCommand.js +26 -0
  47. package/dist-cjs/commands/ListOtaTaskConfigurationsCommand.js +27 -0
  48. package/dist-cjs/commands/ListOtaTaskExecutionsCommand.js +26 -0
  49. package/dist-cjs/commands/ListOtaTasksCommand.js +26 -0
  50. package/dist-cjs/commands/ListProvisioningProfilesCommand.js +26 -0
  51. package/dist-cjs/commands/ListSchemaVersionsCommand.js +26 -0
  52. package/dist-cjs/commands/PutDefaultEncryptionConfigurationCommand.js +26 -0
  53. package/dist-cjs/commands/PutHubConfigurationCommand.js +26 -0
  54. package/dist-cjs/commands/PutRuntimeLogConfigurationCommand.js +26 -0
  55. package/dist-cjs/commands/RegisterCustomEndpointCommand.js +26 -0
  56. package/dist-cjs/commands/ResetRuntimeLogConfigurationCommand.js +26 -0
  57. package/dist-cjs/commands/SendManagedThingCommandCommand.js +27 -0
  58. package/dist-cjs/commands/StartDeviceDiscoveryCommand.js +27 -0
  59. package/dist-cjs/commands/UpdateDestinationCommand.js +26 -0
  60. package/dist-cjs/commands/UpdateEventLogConfigurationCommand.js +26 -0
  61. package/dist-cjs/commands/UpdateManagedThingCommand.js +27 -0
  62. package/dist-cjs/commands/UpdateNotificationConfigurationCommand.js +26 -0
  63. package/dist-cjs/commands/UpdateOtaTaskCommand.js +26 -0
  64. package/dist-cjs/commands/index.js +60 -0
  65. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  66. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  67. package/dist-cjs/endpoint/ruleset.js +7 -0
  68. package/dist-cjs/extensionConfiguration.js +2 -0
  69. package/dist-cjs/index.js +11 -0
  70. package/dist-cjs/models/IoTManagedIntegrationsServiceException.js +12 -0
  71. package/dist-cjs/models/index.js +4 -0
  72. package/dist-cjs/models/models_0.js +484 -0
  73. package/dist-cjs/pagination/Interfaces.js +2 -0
  74. package/dist-cjs/pagination/ListCredentialLockersPaginator.js +7 -0
  75. package/dist-cjs/pagination/ListDestinationsPaginator.js +7 -0
  76. package/dist-cjs/pagination/ListEventLogConfigurationsPaginator.js +7 -0
  77. package/dist-cjs/pagination/ListManagedThingSchemasPaginator.js +7 -0
  78. package/dist-cjs/pagination/ListManagedThingsPaginator.js +7 -0
  79. package/dist-cjs/pagination/ListNotificationConfigurationsPaginator.js +7 -0
  80. package/dist-cjs/pagination/ListOtaTaskConfigurationsPaginator.js +7 -0
  81. package/dist-cjs/pagination/ListOtaTaskExecutionsPaginator.js +7 -0
  82. package/dist-cjs/pagination/ListOtaTasksPaginator.js +7 -0
  83. package/dist-cjs/pagination/ListProvisioningProfilesPaginator.js +7 -0
  84. package/dist-cjs/pagination/ListSchemaVersionsPaginator.js +7 -0
  85. package/dist-cjs/pagination/index.js +15 -0
  86. package/dist-cjs/protocols/Aws_restJson1.js +2179 -0
  87. package/dist-cjs/runtimeConfig.browser.js +39 -0
  88. package/dist-cjs/runtimeConfig.js +52 -0
  89. package/dist-cjs/runtimeConfig.native.js +15 -0
  90. package/dist-cjs/runtimeConfig.shared.js +34 -0
  91. package/dist-cjs/runtimeExtensions.js +25 -0
  92. package/dist-es/IoTManagedIntegrations.js +121 -0
  93. package/dist-es/IoTManagedIntegrationsClient.js +47 -0
  94. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  95. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  96. package/dist-es/commands/CreateCredentialLockerCommand.js +23 -0
  97. package/dist-es/commands/CreateDestinationCommand.js +23 -0
  98. package/dist-es/commands/CreateEventLogConfigurationCommand.js +22 -0
  99. package/dist-es/commands/CreateManagedThingCommand.js +23 -0
  100. package/dist-es/commands/CreateNotificationConfigurationCommand.js +23 -0
  101. package/dist-es/commands/CreateOtaTaskCommand.js +23 -0
  102. package/dist-es/commands/CreateOtaTaskConfigurationCommand.js +23 -0
  103. package/dist-es/commands/CreateProvisioningProfileCommand.js +23 -0
  104. package/dist-es/commands/DeleteCredentialLockerCommand.js +22 -0
  105. package/dist-es/commands/DeleteDestinationCommand.js +22 -0
  106. package/dist-es/commands/DeleteEventLogConfigurationCommand.js +22 -0
  107. package/dist-es/commands/DeleteManagedThingCommand.js +22 -0
  108. package/dist-es/commands/DeleteNotificationConfigurationCommand.js +22 -0
  109. package/dist-es/commands/DeleteOtaTaskCommand.js +22 -0
  110. package/dist-es/commands/DeleteOtaTaskConfigurationCommand.js +22 -0
  111. package/dist-es/commands/DeleteProvisioningProfileCommand.js +22 -0
  112. package/dist-es/commands/GetCredentialLockerCommand.js +23 -0
  113. package/dist-es/commands/GetCustomEndpointCommand.js +22 -0
  114. package/dist-es/commands/GetDefaultEncryptionConfigurationCommand.js +22 -0
  115. package/dist-es/commands/GetDestinationCommand.js +23 -0
  116. package/dist-es/commands/GetDeviceDiscoveryCommand.js +23 -0
  117. package/dist-es/commands/GetEventLogConfigurationCommand.js +22 -0
  118. package/dist-es/commands/GetHubConfigurationCommand.js +22 -0
  119. package/dist-es/commands/GetManagedThingCapabilitiesCommand.js +22 -0
  120. package/dist-es/commands/GetManagedThingCommand.js +23 -0
  121. package/dist-es/commands/GetManagedThingConnectivityDataCommand.js +22 -0
  122. package/dist-es/commands/GetManagedThingMetaDataCommand.js +22 -0
  123. package/dist-es/commands/GetManagedThingStateCommand.js +23 -0
  124. package/dist-es/commands/GetNotificationConfigurationCommand.js +23 -0
  125. package/dist-es/commands/GetOtaTaskCommand.js +22 -0
  126. package/dist-es/commands/GetOtaTaskConfigurationCommand.js +23 -0
  127. package/dist-es/commands/GetProvisioningProfileCommand.js +23 -0
  128. package/dist-es/commands/GetRuntimeLogConfigurationCommand.js +22 -0
  129. package/dist-es/commands/GetSchemaVersionCommand.js +22 -0
  130. package/dist-es/commands/ListCredentialLockersCommand.js +23 -0
  131. package/dist-es/commands/ListDestinationsCommand.js +22 -0
  132. package/dist-es/commands/ListEventLogConfigurationsCommand.js +22 -0
  133. package/dist-es/commands/ListManagedThingSchemasCommand.js +22 -0
  134. package/dist-es/commands/ListManagedThingsCommand.js +23 -0
  135. package/dist-es/commands/ListNotificationConfigurationsCommand.js +22 -0
  136. package/dist-es/commands/ListOtaTaskConfigurationsCommand.js +23 -0
  137. package/dist-es/commands/ListOtaTaskExecutionsCommand.js +22 -0
  138. package/dist-es/commands/ListOtaTasksCommand.js +22 -0
  139. package/dist-es/commands/ListProvisioningProfilesCommand.js +22 -0
  140. package/dist-es/commands/ListSchemaVersionsCommand.js +22 -0
  141. package/dist-es/commands/PutDefaultEncryptionConfigurationCommand.js +22 -0
  142. package/dist-es/commands/PutHubConfigurationCommand.js +22 -0
  143. package/dist-es/commands/PutRuntimeLogConfigurationCommand.js +22 -0
  144. package/dist-es/commands/RegisterCustomEndpointCommand.js +22 -0
  145. package/dist-es/commands/ResetRuntimeLogConfigurationCommand.js +22 -0
  146. package/dist-es/commands/SendManagedThingCommandCommand.js +23 -0
  147. package/dist-es/commands/StartDeviceDiscoveryCommand.js +23 -0
  148. package/dist-es/commands/UpdateDestinationCommand.js +22 -0
  149. package/dist-es/commands/UpdateEventLogConfigurationCommand.js +22 -0
  150. package/dist-es/commands/UpdateManagedThingCommand.js +23 -0
  151. package/dist-es/commands/UpdateNotificationConfigurationCommand.js +22 -0
  152. package/dist-es/commands/UpdateOtaTaskCommand.js +22 -0
  153. package/dist-es/commands/index.js +57 -0
  154. package/dist-es/endpoint/EndpointParameters.js +12 -0
  155. package/dist-es/endpoint/endpointResolver.js +14 -0
  156. package/dist-es/endpoint/ruleset.js +4 -0
  157. package/dist-es/extensionConfiguration.js +1 -0
  158. package/dist-es/index.js +6 -0
  159. package/dist-es/models/IoTManagedIntegrationsServiceException.js +8 -0
  160. package/dist-es/models/index.js +1 -0
  161. package/dist-es/models/models_0.js +439 -0
  162. package/dist-es/pagination/Interfaces.js +1 -0
  163. package/dist-es/pagination/ListCredentialLockersPaginator.js +4 -0
  164. package/dist-es/pagination/ListDestinationsPaginator.js +4 -0
  165. package/dist-es/pagination/ListEventLogConfigurationsPaginator.js +4 -0
  166. package/dist-es/pagination/ListManagedThingSchemasPaginator.js +4 -0
  167. package/dist-es/pagination/ListManagedThingsPaginator.js +4 -0
  168. package/dist-es/pagination/ListNotificationConfigurationsPaginator.js +4 -0
  169. package/dist-es/pagination/ListOtaTaskConfigurationsPaginator.js +4 -0
  170. package/dist-es/pagination/ListOtaTaskExecutionsPaginator.js +4 -0
  171. package/dist-es/pagination/ListOtaTasksPaginator.js +4 -0
  172. package/dist-es/pagination/ListProvisioningProfilesPaginator.js +4 -0
  173. package/dist-es/pagination/ListSchemaVersionsPaginator.js +4 -0
  174. package/dist-es/pagination/index.js +12 -0
  175. package/dist-es/protocols/Aws_restJson1.js +2060 -0
  176. package/dist-es/runtimeConfig.browser.js +34 -0
  177. package/dist-es/runtimeConfig.js +47 -0
  178. package/dist-es/runtimeConfig.native.js +11 -0
  179. package/dist-es/runtimeConfig.shared.js +30 -0
  180. package/dist-es/runtimeExtensions.js +21 -0
  181. package/dist-types/IoTManagedIntegrations.d.ts +423 -0
  182. package/dist-types/IoTManagedIntegrationsClient.d.ts +244 -0
  183. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  184. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  185. package/dist-types/commands/CreateCredentialLockerCommand.d.ts +100 -0
  186. package/dist-types/commands/CreateDestinationCommand.d.ts +96 -0
  187. package/dist-types/commands/CreateEventLogConfigurationCommand.d.ts +94 -0
  188. package/dist-types/commands/CreateManagedThingCommand.d.ts +144 -0
  189. package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +93 -0
  190. package/dist-types/commands/CreateOtaTaskCommand.d.ts +121 -0
  191. package/dist-types/commands/CreateOtaTaskConfigurationCommand.d.ts +115 -0
  192. package/dist-types/commands/CreateProvisioningProfileCommand.d.ts +106 -0
  193. package/dist-types/commands/DeleteCredentialLockerCommand.d.ts +92 -0
  194. package/dist-types/commands/DeleteDestinationCommand.d.ts +85 -0
  195. package/dist-types/commands/DeleteEventLogConfigurationCommand.d.ts +85 -0
  196. package/dist-types/commands/DeleteManagedThingCommand.d.ts +97 -0
  197. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +85 -0
  198. package/dist-types/commands/DeleteOtaTaskCommand.d.ts +85 -0
  199. package/dist-types/commands/DeleteOtaTaskConfigurationCommand.d.ts +85 -0
  200. package/dist-types/commands/DeleteProvisioningProfileCommand.d.ts +91 -0
  201. package/dist-types/commands/GetCredentialLockerCommand.d.ts +96 -0
  202. package/dist-types/commands/GetCustomEndpointCommand.d.ts +91 -0
  203. package/dist-types/commands/GetDefaultEncryptionConfigurationCommand.d.ts +100 -0
  204. package/dist-types/commands/GetDestinationCommand.d.ts +96 -0
  205. package/dist-types/commands/GetDeviceDiscoveryCommand.d.ts +103 -0
  206. package/dist-types/commands/GetEventLogConfigurationCommand.d.ts +90 -0
  207. package/dist-types/commands/GetHubConfigurationCommand.d.ts +89 -0
  208. package/dist-types/commands/GetManagedThingCapabilitiesCommand.d.ts +122 -0
  209. package/dist-types/commands/GetManagedThingCommand.d.ts +121 -0
  210. package/dist-types/commands/GetManagedThingConnectivityDataCommand.d.ts +96 -0
  211. package/dist-types/commands/GetManagedThingMetaDataCommand.d.ts +96 -0
  212. package/dist-types/commands/GetManagedThingStateCommand.d.ts +104 -0
  213. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +93 -0
  214. package/dist-types/commands/GetOtaTaskCommand.d.ts +133 -0
  215. package/dist-types/commands/GetOtaTaskConfigurationCommand.d.ts +116 -0
  216. package/dist-types/commands/GetProvisioningProfileCommand.d.ts +100 -0
  217. package/dist-types/commands/GetRuntimeLogConfigurationCommand.d.ts +98 -0
  218. package/dist-types/commands/GetSchemaVersionCommand.d.ts +101 -0
  219. package/dist-types/commands/ListCredentialLockersCommand.d.ts +96 -0
  220. package/dist-types/commands/ListDestinationsCommand.d.ts +94 -0
  221. package/dist-types/commands/ListEventLogConfigurationsCommand.d.ts +93 -0
  222. package/dist-types/commands/ListManagedThingSchemasCommand.d.ts +104 -0
  223. package/dist-types/commands/ListManagedThingsCommand.d.ts +120 -0
  224. package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +91 -0
  225. package/dist-types/commands/ListOtaTaskConfigurationsCommand.d.ts +92 -0
  226. package/dist-types/commands/ListOtaTaskExecutionsCommand.d.ts +99 -0
  227. package/dist-types/commands/ListOtaTasksCommand.d.ts +95 -0
  228. package/dist-types/commands/ListProvisioningProfilesCommand.d.ts +99 -0
  229. package/dist-types/commands/ListSchemaVersionsCommand.d.ts +106 -0
  230. package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +103 -0
  231. package/dist-types/commands/PutHubConfigurationCommand.d.ts +90 -0
  232. package/dist-types/commands/PutRuntimeLogConfigurationCommand.d.ts +96 -0
  233. package/dist-types/commands/RegisterCustomEndpointCommand.d.ts +92 -0
  234. package/dist-types/commands/ResetRuntimeLogConfigurationCommand.d.ts +86 -0
  235. package/dist-types/commands/SendManagedThingCommandCommand.d.ts +111 -0
  236. package/dist-types/commands/StartDeviceDiscoveryCommand.d.ts +107 -0
  237. package/dist-types/commands/UpdateDestinationCommand.d.ts +89 -0
  238. package/dist-types/commands/UpdateEventLogConfigurationCommand.d.ts +86 -0
  239. package/dist-types/commands/UpdateManagedThingCommand.d.ts +134 -0
  240. package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +86 -0
  241. package/dist-types/commands/UpdateOtaTaskCommand.d.ts +87 -0
  242. package/dist-types/commands/index.d.ts +57 -0
  243. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  244. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  245. package/dist-types/endpoint/ruleset.d.ts +2 -0
  246. package/dist-types/extensionConfiguration.d.ts +9 -0
  247. package/dist-types/index.d.ts +14 -0
  248. package/dist-types/models/IoTManagedIntegrationsServiceException.d.ts +14 -0
  249. package/dist-types/models/index.d.ts +1 -0
  250. package/dist-types/models/models_0.d.ts +3678 -0
  251. package/dist-types/pagination/Interfaces.d.ts +8 -0
  252. package/dist-types/pagination/ListCredentialLockersPaginator.d.ts +7 -0
  253. package/dist-types/pagination/ListDestinationsPaginator.d.ts +7 -0
  254. package/dist-types/pagination/ListEventLogConfigurationsPaginator.d.ts +7 -0
  255. package/dist-types/pagination/ListManagedThingSchemasPaginator.d.ts +7 -0
  256. package/dist-types/pagination/ListManagedThingsPaginator.d.ts +7 -0
  257. package/dist-types/pagination/ListNotificationConfigurationsPaginator.d.ts +7 -0
  258. package/dist-types/pagination/ListOtaTaskConfigurationsPaginator.d.ts +7 -0
  259. package/dist-types/pagination/ListOtaTaskExecutionsPaginator.d.ts +7 -0
  260. package/dist-types/pagination/ListOtaTasksPaginator.d.ts +7 -0
  261. package/dist-types/pagination/ListProvisioningProfilesPaginator.d.ts +7 -0
  262. package/dist-types/pagination/ListSchemaVersionsPaginator.d.ts +7 -0
  263. package/dist-types/pagination/index.d.ts +12 -0
  264. package/dist-types/protocols/Aws_restJson1.d.ts +515 -0
  265. package/dist-types/runtimeConfig.browser.d.ts +49 -0
  266. package/dist-types/runtimeConfig.d.ts +49 -0
  267. package/dist-types/runtimeConfig.native.d.ts +48 -0
  268. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  269. package/dist-types/runtimeExtensions.d.ts +17 -0
  270. package/dist-types/ts3.4/IoTManagedIntegrations.d.ts +1002 -0
  271. package/dist-types/ts3.4/IoTManagedIntegrationsClient.d.ts +464 -0
  272. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  273. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  274. package/dist-types/ts3.4/commands/CreateCredentialLockerCommand.d.ts +51 -0
  275. package/dist-types/ts3.4/commands/CreateDestinationCommand.d.ts +51 -0
  276. package/dist-types/ts3.4/commands/CreateEventLogConfigurationCommand.d.ts +51 -0
  277. package/dist-types/ts3.4/commands/CreateManagedThingCommand.d.ts +51 -0
  278. package/dist-types/ts3.4/commands/CreateNotificationConfigurationCommand.d.ts +51 -0
  279. package/dist-types/ts3.4/commands/CreateOtaTaskCommand.d.ts +50 -0
  280. package/dist-types/ts3.4/commands/CreateOtaTaskConfigurationCommand.d.ts +51 -0
  281. package/dist-types/ts3.4/commands/CreateProvisioningProfileCommand.d.ts +51 -0
  282. package/dist-types/ts3.4/commands/DeleteCredentialLockerCommand.d.ts +46 -0
  283. package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +46 -0
  284. package/dist-types/ts3.4/commands/DeleteEventLogConfigurationCommand.d.ts +47 -0
  285. package/dist-types/ts3.4/commands/DeleteManagedThingCommand.d.ts +46 -0
  286. package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +47 -0
  287. package/dist-types/ts3.4/commands/DeleteOtaTaskCommand.d.ts +45 -0
  288. package/dist-types/ts3.4/commands/DeleteOtaTaskConfigurationCommand.d.ts +47 -0
  289. package/dist-types/ts3.4/commands/DeleteProvisioningProfileCommand.d.ts +47 -0
  290. package/dist-types/ts3.4/commands/GetCredentialLockerCommand.d.ts +51 -0
  291. package/dist-types/ts3.4/commands/GetCustomEndpointCommand.d.ts +51 -0
  292. package/dist-types/ts3.4/commands/GetDefaultEncryptionConfigurationCommand.d.ts +51 -0
  293. package/dist-types/ts3.4/commands/GetDestinationCommand.d.ts +50 -0
  294. package/dist-types/ts3.4/commands/GetDeviceDiscoveryCommand.d.ts +51 -0
  295. package/dist-types/ts3.4/commands/GetEventLogConfigurationCommand.d.ts +51 -0
  296. package/dist-types/ts3.4/commands/GetHubConfigurationCommand.d.ts +51 -0
  297. package/dist-types/ts3.4/commands/GetManagedThingCapabilitiesCommand.d.ts +51 -0
  298. package/dist-types/ts3.4/commands/GetManagedThingCommand.d.ts +50 -0
  299. package/dist-types/ts3.4/commands/GetManagedThingConnectivityDataCommand.d.ts +51 -0
  300. package/dist-types/ts3.4/commands/GetManagedThingMetaDataCommand.d.ts +51 -0
  301. package/dist-types/ts3.4/commands/GetManagedThingStateCommand.d.ts +51 -0
  302. package/dist-types/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +51 -0
  303. package/dist-types/ts3.4/commands/GetOtaTaskCommand.d.ts +47 -0
  304. package/dist-types/ts3.4/commands/GetOtaTaskConfigurationCommand.d.ts +51 -0
  305. package/dist-types/ts3.4/commands/GetProvisioningProfileCommand.d.ts +51 -0
  306. package/dist-types/ts3.4/commands/GetRuntimeLogConfigurationCommand.d.ts +51 -0
  307. package/dist-types/ts3.4/commands/GetSchemaVersionCommand.d.ts +50 -0
  308. package/dist-types/ts3.4/commands/ListCredentialLockersCommand.d.ts +51 -0
  309. package/dist-types/ts3.4/commands/ListDestinationsCommand.d.ts +50 -0
  310. package/dist-types/ts3.4/commands/ListEventLogConfigurationsCommand.d.ts +51 -0
  311. package/dist-types/ts3.4/commands/ListManagedThingSchemasCommand.d.ts +51 -0
  312. package/dist-types/ts3.4/commands/ListManagedThingsCommand.d.ts +51 -0
  313. package/dist-types/ts3.4/commands/ListNotificationConfigurationsCommand.d.ts +51 -0
  314. package/dist-types/ts3.4/commands/ListOtaTaskConfigurationsCommand.d.ts +51 -0
  315. package/dist-types/ts3.4/commands/ListOtaTaskExecutionsCommand.d.ts +51 -0
  316. package/dist-types/ts3.4/commands/ListOtaTasksCommand.d.ts +47 -0
  317. package/dist-types/ts3.4/commands/ListProvisioningProfilesCommand.d.ts +51 -0
  318. package/dist-types/ts3.4/commands/ListSchemaVersionsCommand.d.ts +51 -0
  319. package/dist-types/ts3.4/commands/PutDefaultEncryptionConfigurationCommand.d.ts +51 -0
  320. package/dist-types/ts3.4/commands/PutHubConfigurationCommand.d.ts +51 -0
  321. package/dist-types/ts3.4/commands/PutRuntimeLogConfigurationCommand.d.ts +47 -0
  322. package/dist-types/ts3.4/commands/RegisterCustomEndpointCommand.d.ts +51 -0
  323. package/dist-types/ts3.4/commands/ResetRuntimeLogConfigurationCommand.d.ts +47 -0
  324. package/dist-types/ts3.4/commands/SendManagedThingCommandCommand.d.ts +51 -0
  325. package/dist-types/ts3.4/commands/StartDeviceDiscoveryCommand.d.ts +51 -0
  326. package/dist-types/ts3.4/commands/UpdateDestinationCommand.d.ts +46 -0
  327. package/dist-types/ts3.4/commands/UpdateEventLogConfigurationCommand.d.ts +47 -0
  328. package/dist-types/ts3.4/commands/UpdateManagedThingCommand.d.ts +46 -0
  329. package/dist-types/ts3.4/commands/UpdateNotificationConfigurationCommand.d.ts +47 -0
  330. package/dist-types/ts3.4/commands/UpdateOtaTaskCommand.d.ts +45 -0
  331. package/dist-types/ts3.4/commands/index.d.ts +57 -0
  332. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  333. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  334. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  335. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  336. package/dist-types/ts3.4/index.d.ts +9 -0
  337. package/dist-types/ts3.4/models/IoTManagedIntegrationsServiceException.d.ts +9 -0
  338. package/dist-types/ts3.4/models/index.d.ts +1 -0
  339. package/dist-types/ts3.4/models/models_0.d.ts +1080 -0
  340. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  341. package/dist-types/ts3.4/pagination/ListCredentialLockersPaginator.d.ts +11 -0
  342. package/dist-types/ts3.4/pagination/ListDestinationsPaginator.d.ts +11 -0
  343. package/dist-types/ts3.4/pagination/ListEventLogConfigurationsPaginator.d.ts +11 -0
  344. package/dist-types/ts3.4/pagination/ListManagedThingSchemasPaginator.d.ts +11 -0
  345. package/dist-types/ts3.4/pagination/ListManagedThingsPaginator.d.ts +11 -0
  346. package/dist-types/ts3.4/pagination/ListNotificationConfigurationsPaginator.d.ts +11 -0
  347. package/dist-types/ts3.4/pagination/ListOtaTaskConfigurationsPaginator.d.ts +11 -0
  348. package/dist-types/ts3.4/pagination/ListOtaTaskExecutionsPaginator.d.ts +11 -0
  349. package/dist-types/ts3.4/pagination/ListOtaTasksPaginator.d.ts +11 -0
  350. package/dist-types/ts3.4/pagination/ListProvisioningProfilesPaginator.d.ts +11 -0
  351. package/dist-types/ts3.4/pagination/ListSchemaVersionsPaginator.d.ts +11 -0
  352. package/dist-types/ts3.4/pagination/index.d.ts +12 -0
  353. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +689 -0
  354. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +98 -0
  355. package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
  356. package/dist-types/ts3.4/runtimeConfig.native.d.ts +102 -0
  357. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  358. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  359. package/package.json +101 -0
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
+ const getRuntimeConfig = (config) => {
17
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
+ return {
21
+ ...clientSharedValues,
22
+ ...config,
23
+ runtime: "browser",
24
+ defaultsMode,
25
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
+ (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
+ maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
35
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
36
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
37
+ };
38
+ };
39
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const core_1 = require("@aws-sdk/core");
7
+ const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_retry_1 = require("@smithy/util-retry");
16
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
+ const smithy_client_1 = require("@smithy/smithy-client");
18
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
+ const smithy_client_2 = require("@smithy/smithy-client");
20
+ const getRuntimeConfig = (config) => {
21
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
+ (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ const profileConfig = { profile: config?.profile };
27
+ return {
28
+ ...clientSharedValues,
29
+ ...config,
30
+ runtime: "node",
31
+ defaultsMode,
32
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
33
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
34
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
35
+ (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
36
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
37
+ region: config?.region ??
38
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
39
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
40
+ retryMode: config?.retryMode ??
41
+ (0, node_config_provider_1.loadConfig)({
42
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
43
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
44
+ }, config),
45
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
46
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
50
+ };
51
+ };
52
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
+ const getRuntimeConfig = (config) => {
7
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
8
+ return {
9
+ ...browserDefaults,
10
+ ...config,
11
+ runtime: "react-native",
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
13
+ };
14
+ };
15
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const smithy_client_1 = require("@smithy/smithy-client");
6
+ const url_parser_1 = require("@smithy/url-parser");
7
+ const util_base64_1 = require("@smithy/util-base64");
8
+ const util_utf8_1 = require("@smithy/util-utf8");
9
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
10
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
11
+ const getRuntimeConfig = (config) => {
12
+ return {
13
+ apiVersion: "2025-03-03",
14
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
15
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
16
+ disableHostPrefix: config?.disableHostPrefix ?? false,
17
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
18
+ extensions: config?.extensions ?? [],
19
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultIoTManagedIntegrationsHttpAuthSchemeProvider,
20
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
21
+ {
22
+ schemeId: "aws.auth#sigv4",
23
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
24
+ signer: new core_1.AwsSdkSigV4Signer(),
25
+ },
26
+ ],
27
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
28
+ serviceId: config?.serviceId ?? "IoT Managed Integrations",
29
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
31
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
32
+ };
33
+ };
34
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveRuntimeExtensions = void 0;
4
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
+ const protocol_http_1 = require("@smithy/protocol-http");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
8
+ const asPartial = (t) => t;
9
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
10
+ const extensionConfiguration = {
11
+ ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
12
+ ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
13
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
14
+ ...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
15
+ };
16
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
17
+ return {
18
+ ...runtimeConfig,
19
+ ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
20
+ ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
21
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
22
+ ...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
23
+ };
24
+ };
25
+ exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -0,0 +1,121 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { CreateCredentialLockerCommand, } from "./commands/CreateCredentialLockerCommand";
3
+ import { CreateDestinationCommand, } from "./commands/CreateDestinationCommand";
4
+ import { CreateEventLogConfigurationCommand, } from "./commands/CreateEventLogConfigurationCommand";
5
+ import { CreateManagedThingCommand, } from "./commands/CreateManagedThingCommand";
6
+ import { CreateNotificationConfigurationCommand, } from "./commands/CreateNotificationConfigurationCommand";
7
+ import { CreateOtaTaskCommand, } from "./commands/CreateOtaTaskCommand";
8
+ import { CreateOtaTaskConfigurationCommand, } from "./commands/CreateOtaTaskConfigurationCommand";
9
+ import { CreateProvisioningProfileCommand, } from "./commands/CreateProvisioningProfileCommand";
10
+ import { DeleteCredentialLockerCommand, } from "./commands/DeleteCredentialLockerCommand";
11
+ import { DeleteDestinationCommand, } from "./commands/DeleteDestinationCommand";
12
+ import { DeleteEventLogConfigurationCommand, } from "./commands/DeleteEventLogConfigurationCommand";
13
+ import { DeleteManagedThingCommand, } from "./commands/DeleteManagedThingCommand";
14
+ import { DeleteNotificationConfigurationCommand, } from "./commands/DeleteNotificationConfigurationCommand";
15
+ import { DeleteOtaTaskCommand, } from "./commands/DeleteOtaTaskCommand";
16
+ import { DeleteOtaTaskConfigurationCommand, } from "./commands/DeleteOtaTaskConfigurationCommand";
17
+ import { DeleteProvisioningProfileCommand, } from "./commands/DeleteProvisioningProfileCommand";
18
+ import { GetCredentialLockerCommand, } from "./commands/GetCredentialLockerCommand";
19
+ import { GetCustomEndpointCommand, } from "./commands/GetCustomEndpointCommand";
20
+ import { GetDefaultEncryptionConfigurationCommand, } from "./commands/GetDefaultEncryptionConfigurationCommand";
21
+ import { GetDestinationCommand, } from "./commands/GetDestinationCommand";
22
+ import { GetDeviceDiscoveryCommand, } from "./commands/GetDeviceDiscoveryCommand";
23
+ import { GetEventLogConfigurationCommand, } from "./commands/GetEventLogConfigurationCommand";
24
+ import { GetHubConfigurationCommand, } from "./commands/GetHubConfigurationCommand";
25
+ import { GetManagedThingCapabilitiesCommand, } from "./commands/GetManagedThingCapabilitiesCommand";
26
+ import { GetManagedThingCommand, } from "./commands/GetManagedThingCommand";
27
+ import { GetManagedThingConnectivityDataCommand, } from "./commands/GetManagedThingConnectivityDataCommand";
28
+ import { GetManagedThingMetaDataCommand, } from "./commands/GetManagedThingMetaDataCommand";
29
+ import { GetManagedThingStateCommand, } from "./commands/GetManagedThingStateCommand";
30
+ import { GetNotificationConfigurationCommand, } from "./commands/GetNotificationConfigurationCommand";
31
+ import { GetOtaTaskCommand } from "./commands/GetOtaTaskCommand";
32
+ import { GetOtaTaskConfigurationCommand, } from "./commands/GetOtaTaskConfigurationCommand";
33
+ import { GetProvisioningProfileCommand, } from "./commands/GetProvisioningProfileCommand";
34
+ import { GetRuntimeLogConfigurationCommand, } from "./commands/GetRuntimeLogConfigurationCommand";
35
+ import { GetSchemaVersionCommand, } from "./commands/GetSchemaVersionCommand";
36
+ import { ListCredentialLockersCommand, } from "./commands/ListCredentialLockersCommand";
37
+ import { ListDestinationsCommand, } from "./commands/ListDestinationsCommand";
38
+ import { ListEventLogConfigurationsCommand, } from "./commands/ListEventLogConfigurationsCommand";
39
+ import { ListManagedThingSchemasCommand, } from "./commands/ListManagedThingSchemasCommand";
40
+ import { ListManagedThingsCommand, } from "./commands/ListManagedThingsCommand";
41
+ import { ListNotificationConfigurationsCommand, } from "./commands/ListNotificationConfigurationsCommand";
42
+ import { ListOtaTaskConfigurationsCommand, } from "./commands/ListOtaTaskConfigurationsCommand";
43
+ import { ListOtaTaskExecutionsCommand, } from "./commands/ListOtaTaskExecutionsCommand";
44
+ import { ListOtaTasksCommand, } from "./commands/ListOtaTasksCommand";
45
+ import { ListProvisioningProfilesCommand, } from "./commands/ListProvisioningProfilesCommand";
46
+ import { ListSchemaVersionsCommand, } from "./commands/ListSchemaVersionsCommand";
47
+ import { PutDefaultEncryptionConfigurationCommand, } from "./commands/PutDefaultEncryptionConfigurationCommand";
48
+ import { PutHubConfigurationCommand, } from "./commands/PutHubConfigurationCommand";
49
+ import { PutRuntimeLogConfigurationCommand, } from "./commands/PutRuntimeLogConfigurationCommand";
50
+ import { RegisterCustomEndpointCommand, } from "./commands/RegisterCustomEndpointCommand";
51
+ import { ResetRuntimeLogConfigurationCommand, } from "./commands/ResetRuntimeLogConfigurationCommand";
52
+ import { SendManagedThingCommandCommand, } from "./commands/SendManagedThingCommandCommand";
53
+ import { StartDeviceDiscoveryCommand, } from "./commands/StartDeviceDiscoveryCommand";
54
+ import { UpdateDestinationCommand, } from "./commands/UpdateDestinationCommand";
55
+ import { UpdateEventLogConfigurationCommand, } from "./commands/UpdateEventLogConfigurationCommand";
56
+ import { UpdateManagedThingCommand, } from "./commands/UpdateManagedThingCommand";
57
+ import { UpdateNotificationConfigurationCommand, } from "./commands/UpdateNotificationConfigurationCommand";
58
+ import { UpdateOtaTaskCommand, } from "./commands/UpdateOtaTaskCommand";
59
+ import { IoTManagedIntegrationsClient } from "./IoTManagedIntegrationsClient";
60
+ const commands = {
61
+ CreateCredentialLockerCommand,
62
+ CreateDestinationCommand,
63
+ CreateEventLogConfigurationCommand,
64
+ CreateManagedThingCommand,
65
+ CreateNotificationConfigurationCommand,
66
+ CreateOtaTaskCommand,
67
+ CreateOtaTaskConfigurationCommand,
68
+ CreateProvisioningProfileCommand,
69
+ DeleteCredentialLockerCommand,
70
+ DeleteDestinationCommand,
71
+ DeleteEventLogConfigurationCommand,
72
+ DeleteManagedThingCommand,
73
+ DeleteNotificationConfigurationCommand,
74
+ DeleteOtaTaskCommand,
75
+ DeleteOtaTaskConfigurationCommand,
76
+ DeleteProvisioningProfileCommand,
77
+ GetCredentialLockerCommand,
78
+ GetCustomEndpointCommand,
79
+ GetDefaultEncryptionConfigurationCommand,
80
+ GetDestinationCommand,
81
+ GetDeviceDiscoveryCommand,
82
+ GetEventLogConfigurationCommand,
83
+ GetHubConfigurationCommand,
84
+ GetManagedThingCommand,
85
+ GetManagedThingCapabilitiesCommand,
86
+ GetManagedThingConnectivityDataCommand,
87
+ GetManagedThingMetaDataCommand,
88
+ GetManagedThingStateCommand,
89
+ GetNotificationConfigurationCommand,
90
+ GetOtaTaskCommand,
91
+ GetOtaTaskConfigurationCommand,
92
+ GetProvisioningProfileCommand,
93
+ GetRuntimeLogConfigurationCommand,
94
+ GetSchemaVersionCommand,
95
+ ListCredentialLockersCommand,
96
+ ListDestinationsCommand,
97
+ ListEventLogConfigurationsCommand,
98
+ ListManagedThingsCommand,
99
+ ListManagedThingSchemasCommand,
100
+ ListNotificationConfigurationsCommand,
101
+ ListOtaTaskConfigurationsCommand,
102
+ ListOtaTaskExecutionsCommand,
103
+ ListOtaTasksCommand,
104
+ ListProvisioningProfilesCommand,
105
+ ListSchemaVersionsCommand,
106
+ PutDefaultEncryptionConfigurationCommand,
107
+ PutHubConfigurationCommand,
108
+ PutRuntimeLogConfigurationCommand,
109
+ RegisterCustomEndpointCommand,
110
+ ResetRuntimeLogConfigurationCommand,
111
+ SendManagedThingCommandCommand,
112
+ StartDeviceDiscoveryCommand,
113
+ UpdateDestinationCommand,
114
+ UpdateEventLogConfigurationCommand,
115
+ UpdateManagedThingCommand,
116
+ UpdateNotificationConfigurationCommand,
117
+ UpdateOtaTaskCommand,
118
+ };
119
+ export class IoTManagedIntegrations extends IoTManagedIntegrationsClient {
120
+ }
121
+ createAggregatedClient(commands, IoTManagedIntegrations);
@@ -0,0 +1,47 @@
1
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
+ import { resolveRegionConfig } from "@smithy/config-resolver";
6
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
+ import { defaultIoTManagedIntegrationsHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
12
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
13
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
+ export { __Client };
16
+ export class IoTManagedIntegrationsClient extends __Client {
17
+ config;
18
+ constructor(...[configuration]) {
19
+ const _config_0 = __getRuntimeConfig(configuration || {});
20
+ const _config_1 = resolveClientEndpointParameters(_config_0);
21
+ const _config_2 = resolveUserAgentConfig(_config_1);
22
+ const _config_3 = resolveRetryConfig(_config_2);
23
+ const _config_4 = resolveRegionConfig(_config_3);
24
+ const _config_5 = resolveHostHeaderConfig(_config_4);
25
+ const _config_6 = resolveEndpointConfig(_config_5);
26
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
+ super(_config_8);
29
+ this.config = _config_8;
30
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
31
+ this.middlewareStack.use(getRetryPlugin(this.config));
32
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
33
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
34
+ this.middlewareStack.use(getLoggerPlugin(this.config));
35
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
36
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
37
+ httpAuthSchemeParametersProvider: defaultIoTManagedIntegrationsHttpAuthSchemeParametersProvider,
38
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
39
+ "aws.auth#sigv4": config.credentials,
40
+ }),
41
+ }));
42
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
43
+ }
44
+ destroy() {
45
+ super.destroy();
46
+ }
47
+ }
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -0,0 +1,41 @@
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ export const defaultIoTManagedIntegrationsHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: (await normalizeProvider(config.region)()) ||
7
+ (() => {
8
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
+ })(),
10
+ };
11
+ };
12
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "aws.auth#sigv4",
15
+ signingProperties: {
16
+ name: "iotmanagedintegrations",
17
+ region: authParameters.region,
18
+ },
19
+ propertiesExtractor: (config, context) => ({
20
+ signingProperties: {
21
+ config,
22
+ context,
23
+ },
24
+ }),
25
+ };
26
+ }
27
+ export const defaultIoTManagedIntegrationsHttpAuthSchemeProvider = (authParameters) => {
28
+ const options = [];
29
+ switch (authParameters.operation) {
30
+ default: {
31
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
32
+ }
33
+ }
34
+ return options;
35
+ };
36
+ export const resolveHttpAuthSchemeConfig = (config) => {
37
+ const config_0 = resolveAwsSdkSigV4Config(config);
38
+ return {
39
+ ...config_0,
40
+ };
41
+ };
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateCredentialLockerRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateCredentialLockerCommand, se_CreateCredentialLockerCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateCredentialLockerCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("IotManagedIntegrations", "CreateCredentialLocker", {})
18
+ .n("IoTManagedIntegrationsClient", "CreateCredentialLockerCommand")
19
+ .f(CreateCredentialLockerRequestFilterSensitiveLog, void 0)
20
+ .ser(se_CreateCredentialLockerCommand)
21
+ .de(de_CreateCredentialLockerCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateDestinationRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateDestinationCommand, se_CreateDestinationCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateDestinationCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("IotManagedIntegrations", "CreateDestination", {})
18
+ .n("IoTManagedIntegrationsClient", "CreateDestinationCommand")
19
+ .f(CreateDestinationRequestFilterSensitiveLog, void 0)
20
+ .ser(se_CreateDestinationCommand)
21
+ .de(de_CreateDestinationCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateEventLogConfigurationCommand, se_CreateEventLogConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateEventLogConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("IotManagedIntegrations", "CreateEventLogConfiguration", {})
17
+ .n("IoTManagedIntegrationsClient", "CreateEventLogConfigurationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateEventLogConfigurationCommand)
20
+ .de(de_CreateEventLogConfigurationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateManagedThingRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateManagedThingCommand, se_CreateManagedThingCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateManagedThingCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("IotManagedIntegrations", "CreateManagedThing", {})
18
+ .n("IoTManagedIntegrationsClient", "CreateManagedThingCommand")
19
+ .f(CreateManagedThingRequestFilterSensitiveLog, void 0)
20
+ .ser(se_CreateManagedThingCommand)
21
+ .de(de_CreateManagedThingCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateNotificationConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateNotificationConfigurationCommand, se_CreateNotificationConfigurationCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateNotificationConfigurationCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("IotManagedIntegrations", "CreateNotificationConfiguration", {})
18
+ .n("IoTManagedIntegrationsClient", "CreateNotificationConfigurationCommand")
19
+ .f(CreateNotificationConfigurationRequestFilterSensitiveLog, void 0)
20
+ .ser(se_CreateNotificationConfigurationCommand)
21
+ .de(de_CreateNotificationConfigurationCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateOtaTaskRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateOtaTaskCommand, se_CreateOtaTaskCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateOtaTaskCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("IotManagedIntegrations", "CreateOtaTask", {})
18
+ .n("IoTManagedIntegrationsClient", "CreateOtaTaskCommand")
19
+ .f(CreateOtaTaskRequestFilterSensitiveLog, void 0)
20
+ .ser(se_CreateOtaTaskCommand)
21
+ .de(de_CreateOtaTaskCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateOtaTaskConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateOtaTaskConfigurationCommand, se_CreateOtaTaskConfigurationCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateOtaTaskConfigurationCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("IotManagedIntegrations", "CreateOtaTaskConfiguration", {})
18
+ .n("IoTManagedIntegrationsClient", "CreateOtaTaskConfigurationCommand")
19
+ .f(CreateOtaTaskConfigurationRequestFilterSensitiveLog, void 0)
20
+ .ser(se_CreateOtaTaskConfigurationCommand)
21
+ .de(de_CreateOtaTaskConfigurationCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateProvisioningProfileRequestFilterSensitiveLog, CreateProvisioningProfileResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateProvisioningProfileCommand, se_CreateProvisioningProfileCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateProvisioningProfileCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("IotManagedIntegrations", "CreateProvisioningProfile", {})
18
+ .n("IoTManagedIntegrationsClient", "CreateProvisioningProfileCommand")
19
+ .f(CreateProvisioningProfileRequestFilterSensitiveLog, CreateProvisioningProfileResponseFilterSensitiveLog)
20
+ .ser(se_CreateProvisioningProfileCommand)
21
+ .de(de_CreateProvisioningProfileCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteCredentialLockerCommand, se_DeleteCredentialLockerCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteCredentialLockerCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("IotManagedIntegrations", "DeleteCredentialLocker", {})
17
+ .n("IoTManagedIntegrationsClient", "DeleteCredentialLockerCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteCredentialLockerCommand)
20
+ .de(de_DeleteCredentialLockerCommand)
21
+ .build() {
22
+ }