@aws-sdk/client-iot 3.40.0 → 3.44.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 (285) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/IoT.js +30 -0
  3. package/dist-cjs/commands/DescribeManagedJobTemplateCommand.js +36 -0
  4. package/dist-cjs/commands/ListManagedJobTemplatesCommand.js +36 -0
  5. package/dist-cjs/commands/ListThingRegistrationTasksCommand.js +2 -1
  6. package/dist-cjs/commands/ListThingTypesCommand.js +1 -2
  7. package/dist-cjs/commands/ListThingsCommand.js +3 -3
  8. package/dist-cjs/commands/ListThingsInBillingGroupCommand.js +3 -3
  9. package/dist-cjs/commands/ListThingsInThingGroupCommand.js +3 -3
  10. package/dist-cjs/commands/index.js +2 -0
  11. package/dist-cjs/endpoints.js +8 -0
  12. package/dist-cjs/models/models_1.js +57 -59
  13. package/dist-cjs/models/models_2.js +57 -3
  14. package/dist-cjs/protocols/Aws_restJson1.js +332 -9
  15. package/dist-es/IoT.js +30 -0
  16. package/dist-es/commands/DescribeManagedJobTemplateCommand.js +39 -0
  17. package/dist-es/commands/ListManagedJobTemplatesCommand.js +39 -0
  18. package/dist-es/commands/ListThingRegistrationTasksCommand.js +2 -1
  19. package/dist-es/commands/ListThingTypesCommand.js +1 -2
  20. package/dist-es/commands/ListThingsCommand.js +1 -1
  21. package/dist-es/commands/ListThingsInBillingGroupCommand.js +1 -1
  22. package/dist-es/commands/ListThingsInThingGroupCommand.js +1 -1
  23. package/dist-es/commands/index.js +2 -0
  24. package/dist-es/endpoints.js +8 -0
  25. package/dist-es/models/models_1.js +38 -36
  26. package/dist-es/models/models_2.js +36 -0
  27. package/dist-es/protocols/Aws_restJson1.js +358 -5
  28. package/dist-types/IoT.d.ts +24 -3
  29. package/dist-types/IoTClient.d.ts +4 -2
  30. package/dist-types/commands/AcceptCertificateTransferCommand.d.ts +1 -1
  31. package/dist-types/commands/AddThingToBillingGroupCommand.d.ts +1 -1
  32. package/dist-types/commands/AddThingToThingGroupCommand.d.ts +1 -1
  33. package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +1 -1
  34. package/dist-types/commands/AttachPolicyCommand.d.ts +1 -1
  35. package/dist-types/commands/AttachPrincipalPolicyCommand.d.ts +1 -1
  36. package/dist-types/commands/AttachSecurityProfileCommand.d.ts +1 -1
  37. package/dist-types/commands/AttachThingPrincipalCommand.d.ts +1 -1
  38. package/dist-types/commands/CancelAuditMitigationActionsTaskCommand.d.ts +1 -1
  39. package/dist-types/commands/CancelAuditTaskCommand.d.ts +1 -1
  40. package/dist-types/commands/CancelCertificateTransferCommand.d.ts +1 -1
  41. package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +1 -1
  42. package/dist-types/commands/CancelJobCommand.d.ts +1 -1
  43. package/dist-types/commands/CancelJobExecutionCommand.d.ts +1 -1
  44. package/dist-types/commands/ClearDefaultAuthorizerCommand.d.ts +1 -1
  45. package/dist-types/commands/ConfirmTopicRuleDestinationCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateAuditSuppressionCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateAuthorizerCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateBillingGroupCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +4 -3
  50. package/dist-types/commands/CreateCustomMetricCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateDimensionCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateDynamicThingGroupCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateFleetMetricCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateJobCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateJobTemplateCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateKeysAndCertificateCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateMitigationActionCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateOTAUpdateCommand.d.ts +1 -1
  60. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
  61. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateProvisioningClaimCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateProvisioningTemplateCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateProvisioningTemplateVersionCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateRoleAliasCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateScheduledAuditCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateStreamCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateThingCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateThingGroupCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateThingTypeCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateTopicRuleCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +1 -1
  74. package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
  75. package/dist-types/commands/DeleteAuditSuppressionCommand.d.ts +1 -1
  76. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
  77. package/dist-types/commands/DeleteBillingGroupCommand.d.ts +1 -1
  78. package/dist-types/commands/DeleteCACertificateCommand.d.ts +1 -1
  79. package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
  80. package/dist-types/commands/DeleteCustomMetricCommand.d.ts +1 -1
  81. package/dist-types/commands/DeleteDimensionCommand.d.ts +1 -1
  82. package/dist-types/commands/DeleteDomainConfigurationCommand.d.ts +1 -1
  83. package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +1 -1
  84. package/dist-types/commands/DeleteFleetMetricCommand.d.ts +1 -1
  85. package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
  86. package/dist-types/commands/DeleteJobExecutionCommand.d.ts +1 -1
  87. package/dist-types/commands/DeleteJobTemplateCommand.d.ts +1 -1
  88. package/dist-types/commands/DeleteMitigationActionCommand.d.ts +1 -1
  89. package/dist-types/commands/DeleteOTAUpdateCommand.d.ts +1 -1
  90. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  91. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -1
  92. package/dist-types/commands/DeleteProvisioningTemplateCommand.d.ts +1 -1
  93. package/dist-types/commands/DeleteProvisioningTemplateVersionCommand.d.ts +1 -1
  94. package/dist-types/commands/DeleteRegistrationCodeCommand.d.ts +1 -1
  95. package/dist-types/commands/DeleteRoleAliasCommand.d.ts +1 -1
  96. package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  97. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -1
  98. package/dist-types/commands/DeleteStreamCommand.d.ts +1 -1
  99. package/dist-types/commands/DeleteThingCommand.d.ts +1 -1
  100. package/dist-types/commands/DeleteThingGroupCommand.d.ts +1 -1
  101. package/dist-types/commands/DeleteThingTypeCommand.d.ts +1 -1
  102. package/dist-types/commands/DeleteTopicRuleCommand.d.ts +1 -1
  103. package/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +1 -1
  104. package/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
  105. package/dist-types/commands/DeprecateThingTypeCommand.d.ts +1 -1
  106. package/dist-types/commands/DescribeAccountAuditConfigurationCommand.d.ts +1 -1
  107. package/dist-types/commands/DescribeAuditFindingCommand.d.ts +1 -1
  108. package/dist-types/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +1 -1
  109. package/dist-types/commands/DescribeAuditSuppressionCommand.d.ts +1 -1
  110. package/dist-types/commands/DescribeAuditTaskCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeAuthorizerCommand.d.ts +1 -1
  112. package/dist-types/commands/DescribeBillingGroupCommand.d.ts +1 -1
  113. package/dist-types/commands/DescribeCACertificateCommand.d.ts +1 -1
  114. package/dist-types/commands/DescribeCertificateCommand.d.ts +1 -1
  115. package/dist-types/commands/DescribeCustomMetricCommand.d.ts +1 -1
  116. package/dist-types/commands/DescribeDefaultAuthorizerCommand.d.ts +1 -1
  117. package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +1 -1
  118. package/dist-types/commands/DescribeDimensionCommand.d.ts +1 -1
  119. package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +1 -1
  120. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -1
  121. package/dist-types/commands/DescribeEventConfigurationsCommand.d.ts +1 -1
  122. package/dist-types/commands/DescribeFleetMetricCommand.d.ts +1 -1
  123. package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
  124. package/dist-types/commands/DescribeJobCommand.d.ts +1 -1
  125. package/dist-types/commands/DescribeJobExecutionCommand.d.ts +1 -1
  126. package/dist-types/commands/DescribeJobTemplateCommand.d.ts +1 -1
  127. package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +35 -0
  128. package/dist-types/commands/DescribeMitigationActionCommand.d.ts +1 -1
  129. package/dist-types/commands/DescribeProvisioningTemplateCommand.d.ts +1 -1
  130. package/dist-types/commands/DescribeProvisioningTemplateVersionCommand.d.ts +1 -1
  131. package/dist-types/commands/DescribeRoleAliasCommand.d.ts +1 -1
  132. package/dist-types/commands/DescribeScheduledAuditCommand.d.ts +1 -1
  133. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  134. package/dist-types/commands/DescribeStreamCommand.d.ts +1 -1
  135. package/dist-types/commands/DescribeThingCommand.d.ts +1 -1
  136. package/dist-types/commands/DescribeThingGroupCommand.d.ts +1 -1
  137. package/dist-types/commands/DescribeThingRegistrationTaskCommand.d.ts +1 -1
  138. package/dist-types/commands/DescribeThingTypeCommand.d.ts +1 -1
  139. package/dist-types/commands/DetachPolicyCommand.d.ts +1 -1
  140. package/dist-types/commands/DetachPrincipalPolicyCommand.d.ts +1 -1
  141. package/dist-types/commands/DetachSecurityProfileCommand.d.ts +1 -1
  142. package/dist-types/commands/DetachThingPrincipalCommand.d.ts +1 -1
  143. package/dist-types/commands/DisableTopicRuleCommand.d.ts +1 -1
  144. package/dist-types/commands/EnableTopicRuleCommand.d.ts +1 -1
  145. package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +1 -1
  146. package/dist-types/commands/GetBucketsAggregationCommand.d.ts +1 -1
  147. package/dist-types/commands/GetCardinalityCommand.d.ts +1 -1
  148. package/dist-types/commands/GetEffectivePoliciesCommand.d.ts +1 -1
  149. package/dist-types/commands/GetIndexingConfigurationCommand.d.ts +1 -1
  150. package/dist-types/commands/GetJobDocumentCommand.d.ts +1 -1
  151. package/dist-types/commands/GetLoggingOptionsCommand.d.ts +1 -1
  152. package/dist-types/commands/GetOTAUpdateCommand.d.ts +1 -1
  153. package/dist-types/commands/GetPercentilesCommand.d.ts +1 -1
  154. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  155. package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -1
  156. package/dist-types/commands/GetRegistrationCodeCommand.d.ts +1 -1
  157. package/dist-types/commands/GetStatisticsCommand.d.ts +1 -1
  158. package/dist-types/commands/GetTopicRuleCommand.d.ts +1 -1
  159. package/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +1 -1
  160. package/dist-types/commands/GetV2LoggingOptionsCommand.d.ts +1 -1
  161. package/dist-types/commands/ListActiveViolationsCommand.d.ts +1 -1
  162. package/dist-types/commands/ListAttachedPoliciesCommand.d.ts +1 -1
  163. package/dist-types/commands/ListAuditFindingsCommand.d.ts +1 -1
  164. package/dist-types/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +1 -1
  165. package/dist-types/commands/ListAuditMitigationActionsTasksCommand.d.ts +1 -1
  166. package/dist-types/commands/ListAuditSuppressionsCommand.d.ts +1 -1
  167. package/dist-types/commands/ListAuditTasksCommand.d.ts +1 -1
  168. package/dist-types/commands/ListAuthorizersCommand.d.ts +1 -1
  169. package/dist-types/commands/ListBillingGroupsCommand.d.ts +1 -1
  170. package/dist-types/commands/ListCACertificatesCommand.d.ts +1 -1
  171. package/dist-types/commands/ListCertificatesByCACommand.d.ts +1 -1
  172. package/dist-types/commands/ListCertificatesCommand.d.ts +1 -1
  173. package/dist-types/commands/ListCustomMetricsCommand.d.ts +1 -1
  174. package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +1 -1
  175. package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
  176. package/dist-types/commands/ListDimensionsCommand.d.ts +1 -1
  177. package/dist-types/commands/ListDomainConfigurationsCommand.d.ts +1 -1
  178. package/dist-types/commands/ListFleetMetricsCommand.d.ts +1 -1
  179. package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
  180. package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
  181. package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
  182. package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -1
  183. package/dist-types/commands/ListJobsCommand.d.ts +1 -1
  184. package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +35 -0
  185. package/dist-types/commands/ListMitigationActionsCommand.d.ts +1 -1
  186. package/dist-types/commands/ListOTAUpdatesCommand.d.ts +1 -1
  187. package/dist-types/commands/ListOutgoingCertificatesCommand.d.ts +1 -1
  188. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
  189. package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +1 -1
  190. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -1
  191. package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +1 -1
  192. package/dist-types/commands/ListPrincipalThingsCommand.d.ts +1 -1
  193. package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
  194. package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
  195. package/dist-types/commands/ListRoleAliasesCommand.d.ts +1 -1
  196. package/dist-types/commands/ListScheduledAuditsCommand.d.ts +1 -1
  197. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  198. package/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +1 -1
  199. package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
  200. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  201. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -1
  202. package/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +1 -1
  203. package/dist-types/commands/ListThingGroupsCommand.d.ts +1 -1
  204. package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +1 -1
  205. package/dist-types/commands/ListThingPrincipalsCommand.d.ts +1 -1
  206. package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  207. package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +3 -2
  208. package/dist-types/commands/ListThingTypesCommand.d.ts +2 -3
  209. package/dist-types/commands/ListThingsCommand.d.ts +2 -2
  210. package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +2 -2
  211. package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +2 -2
  212. package/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +1 -1
  213. package/dist-types/commands/ListTopicRulesCommand.d.ts +1 -1
  214. package/dist-types/commands/ListV2LoggingLevelsCommand.d.ts +1 -1
  215. package/dist-types/commands/ListViolationEventsCommand.d.ts +1 -1
  216. package/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +1 -1
  217. package/dist-types/commands/RegisterCACertificateCommand.d.ts +1 -1
  218. package/dist-types/commands/RegisterCertificateCommand.d.ts +1 -1
  219. package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +5 -2
  220. package/dist-types/commands/RegisterThingCommand.d.ts +1 -1
  221. package/dist-types/commands/RejectCertificateTransferCommand.d.ts +1 -1
  222. package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +4 -1
  223. package/dist-types/commands/RemoveThingFromThingGroupCommand.d.ts +1 -1
  224. package/dist-types/commands/ReplaceTopicRuleCommand.d.ts +1 -1
  225. package/dist-types/commands/SearchIndexCommand.d.ts +1 -1
  226. package/dist-types/commands/SetDefaultAuthorizerCommand.d.ts +1 -1
  227. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  228. package/dist-types/commands/SetLoggingOptionsCommand.d.ts +1 -1
  229. package/dist-types/commands/SetV2LoggingLevelCommand.d.ts +1 -1
  230. package/dist-types/commands/SetV2LoggingOptionsCommand.d.ts +1 -1
  231. package/dist-types/commands/StartAuditMitigationActionsTaskCommand.d.ts +1 -1
  232. package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +1 -1
  233. package/dist-types/commands/StartOnDemandAuditTaskCommand.d.ts +1 -1
  234. package/dist-types/commands/StartThingRegistrationTaskCommand.d.ts +1 -1
  235. package/dist-types/commands/StopThingRegistrationTaskCommand.d.ts +1 -1
  236. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  237. package/dist-types/commands/TestAuthorizationCommand.d.ts +1 -1
  238. package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +1 -1
  239. package/dist-types/commands/TransferCertificateCommand.d.ts +1 -1
  240. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  241. package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +1 -1
  242. package/dist-types/commands/UpdateAuditSuppressionCommand.d.ts +1 -1
  243. package/dist-types/commands/UpdateAuthorizerCommand.d.ts +1 -1
  244. package/dist-types/commands/UpdateBillingGroupCommand.d.ts +1 -1
  245. package/dist-types/commands/UpdateCACertificateCommand.d.ts +1 -1
  246. package/dist-types/commands/UpdateCertificateCommand.d.ts +1 -1
  247. package/dist-types/commands/UpdateCustomMetricCommand.d.ts +1 -1
  248. package/dist-types/commands/UpdateDimensionCommand.d.ts +1 -1
  249. package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +1 -1
  250. package/dist-types/commands/UpdateDynamicThingGroupCommand.d.ts +1 -1
  251. package/dist-types/commands/UpdateEventConfigurationsCommand.d.ts +1 -1
  252. package/dist-types/commands/UpdateFleetMetricCommand.d.ts +1 -1
  253. package/dist-types/commands/UpdateIndexingConfigurationCommand.d.ts +1 -1
  254. package/dist-types/commands/UpdateJobCommand.d.ts +1 -1
  255. package/dist-types/commands/UpdateMitigationActionCommand.d.ts +1 -1
  256. package/dist-types/commands/UpdateProvisioningTemplateCommand.d.ts +1 -1
  257. package/dist-types/commands/UpdateRoleAliasCommand.d.ts +1 -1
  258. package/dist-types/commands/UpdateScheduledAuditCommand.d.ts +1 -1
  259. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  260. package/dist-types/commands/UpdateStreamCommand.d.ts +1 -1
  261. package/dist-types/commands/UpdateThingCommand.d.ts +1 -1
  262. package/dist-types/commands/UpdateThingGroupCommand.d.ts +1 -1
  263. package/dist-types/commands/UpdateThingGroupsForThingCommand.d.ts +1 -1
  264. package/dist-types/commands/UpdateTopicRuleDestinationCommand.d.ts +1 -1
  265. package/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +1 -1
  266. package/dist-types/commands/index.d.ts +2 -0
  267. package/dist-types/models/models_0.d.ts +11 -3
  268. package/dist-types/models/models_1.d.ts +232 -221
  269. package/dist-types/models/models_2.d.ts +225 -2
  270. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  271. package/dist-types/ts3.4/IoT.d.ts +10 -0
  272. package/dist-types/ts3.4/IoTClient.d.ts +4 -2
  273. package/dist-types/ts3.4/commands/DescribeManagedJobTemplateCommand.d.ts +17 -0
  274. package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +17 -0
  275. package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +2 -1
  276. package/dist-types/ts3.4/commands/ListThingTypesCommand.d.ts +1 -2
  277. package/dist-types/ts3.4/commands/ListThingsCommand.d.ts +1 -1
  278. package/dist-types/ts3.4/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
  279. package/dist-types/ts3.4/commands/ListThingsInThingGroupCommand.d.ts +1 -1
  280. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  281. package/dist-types/ts3.4/models/models_0.d.ts +4 -0
  282. package/dist-types/ts3.4/models/models_1.d.ts +112 -118
  283. package/dist-types/ts3.4/models/models_2.d.ts +120 -0
  284. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  285. package/package.json +4 -4
@@ -878,8 +878,11 @@ export var serializeAws_restJson1CreateJobCommand = function (input, context) {
878
878
  else {
879
879
  throw new Error("No value provided for input HTTP label: jobId.");
880
880
  }
881
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
882
- input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentSource !== undefined &&
881
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
882
+ input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentParameters !== undefined &&
883
+ input.documentParameters !== null && {
884
+ documentParameters: serializeAws_restJson1ParameterMap(input.documentParameters, context),
885
+ })), (input.documentSource !== undefined &&
883
886
  input.documentSource !== null && { documentSource: input.documentSource })), (input.jobExecutionsRolloutConfig !== undefined &&
884
887
  input.jobExecutionsRolloutConfig !== null && {
885
888
  jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
@@ -3240,6 +3243,39 @@ export var serializeAws_restJson1DescribeJobTemplateCommand = function (input, c
3240
3243
  }
3241
3244
  });
3242
3245
  }); };
3246
+ export var serializeAws_restJson1DescribeManagedJobTemplateCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
3247
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
3248
+ return __generator(this, function (_c) {
3249
+ switch (_c.label) {
3250
+ case 0: return [4, context.endpoint()];
3251
+ case 1:
3252
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3253
+ headers = {};
3254
+ resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/managed-job-templates/{templateName}";
3255
+ if (input.templateName !== undefined) {
3256
+ labelValue = input.templateName;
3257
+ if (labelValue.length <= 0) {
3258
+ throw new Error("Empty value provided for input HTTP label: templateName.");
3259
+ }
3260
+ resolvedPath = resolvedPath.replace("{templateName}", __extendedEncodeURIComponent(labelValue));
3261
+ }
3262
+ else {
3263
+ throw new Error("No value provided for input HTTP label: templateName.");
3264
+ }
3265
+ query = __assign({}, (input.templateVersion !== undefined && { templateVersion: input.templateVersion }));
3266
+ return [2, new __HttpRequest({
3267
+ protocol: protocol,
3268
+ hostname: hostname,
3269
+ port: port,
3270
+ method: "GET",
3271
+ headers: headers,
3272
+ path: resolvedPath,
3273
+ query: query,
3274
+ body: body,
3275
+ })];
3276
+ }
3277
+ });
3278
+ }); };
3243
3279
  export var serializeAws_restJson1DescribeMitigationActionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
3244
3280
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
3245
3281
  return __generator(this, function (_c) {
@@ -4816,6 +4852,29 @@ export var serializeAws_restJson1ListJobTemplatesCommand = function (input, cont
4816
4852
  }
4817
4853
  });
4818
4854
  }); };
4855
+ export var serializeAws_restJson1ListManagedJobTemplatesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
4856
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
4857
+ return __generator(this, function (_c) {
4858
+ switch (_c.label) {
4859
+ case 0: return [4, context.endpoint()];
4860
+ case 1:
4861
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
4862
+ headers = {};
4863
+ resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/managed-job-templates";
4864
+ query = __assign(__assign(__assign({}, (input.templateName !== undefined && { templateName: input.templateName })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
4865
+ return [2, new __HttpRequest({
4866
+ protocol: protocol,
4867
+ hostname: hostname,
4868
+ port: port,
4869
+ method: "GET",
4870
+ headers: headers,
4871
+ path: resolvedPath,
4872
+ query: query,
4873
+ body: body,
4874
+ })];
4875
+ }
4876
+ });
4877
+ }); };
4819
4878
  export var serializeAws_restJson1ListMitigationActionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
4820
4879
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
4821
4880
  return __generator(this, function (_c) {
@@ -16917,6 +16976,116 @@ var deserializeAws_restJson1DescribeJobTemplateCommandError = function (output,
16917
16976
  }
16918
16977
  });
16919
16978
  }); };
16979
+ export var deserializeAws_restJson1DescribeManagedJobTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
16980
+ var contents, data, _a, _b;
16981
+ return __generator(this, function (_c) {
16982
+ switch (_c.label) {
16983
+ case 0:
16984
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
16985
+ return [2, deserializeAws_restJson1DescribeManagedJobTemplateCommandError(output, context)];
16986
+ }
16987
+ contents = {
16988
+ $metadata: deserializeMetadata(output),
16989
+ description: undefined,
16990
+ document: undefined,
16991
+ documentParameters: undefined,
16992
+ environments: undefined,
16993
+ templateArn: undefined,
16994
+ templateName: undefined,
16995
+ templateVersion: undefined,
16996
+ };
16997
+ _a = __expectNonNull;
16998
+ _b = __expectObject;
16999
+ return [4, parseBody(output.body, context)];
17000
+ case 1:
17001
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
17002
+ if (data.description !== undefined && data.description !== null) {
17003
+ contents.description = __expectString(data.description);
17004
+ }
17005
+ if (data.document !== undefined && data.document !== null) {
17006
+ contents.document = __expectString(data.document);
17007
+ }
17008
+ if (data.documentParameters !== undefined && data.documentParameters !== null) {
17009
+ contents.documentParameters = deserializeAws_restJson1DocumentParameters(data.documentParameters, context);
17010
+ }
17011
+ if (data.environments !== undefined && data.environments !== null) {
17012
+ contents.environments = deserializeAws_restJson1Environments(data.environments, context);
17013
+ }
17014
+ if (data.templateArn !== undefined && data.templateArn !== null) {
17015
+ contents.templateArn = __expectString(data.templateArn);
17016
+ }
17017
+ if (data.templateName !== undefined && data.templateName !== null) {
17018
+ contents.templateName = __expectString(data.templateName);
17019
+ }
17020
+ if (data.templateVersion !== undefined && data.templateVersion !== null) {
17021
+ contents.templateVersion = __expectString(data.templateVersion);
17022
+ }
17023
+ return [2, Promise.resolve(contents)];
17024
+ }
17025
+ });
17026
+ }); };
17027
+ var deserializeAws_restJson1DescribeManagedJobTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
17028
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
17029
+ var _g;
17030
+ return __generator(this, function (_h) {
17031
+ switch (_h.label) {
17032
+ case 0:
17033
+ _a = [__assign({}, output)];
17034
+ _g = {};
17035
+ return [4, parseBody(output.body, context)];
17036
+ case 1:
17037
+ parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
17038
+ errorCode = "UnknownError";
17039
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
17040
+ _b = errorCode;
17041
+ switch (_b) {
17042
+ case "InternalServerException": return [3, 2];
17043
+ case "com.amazonaws.iot#InternalServerException": return [3, 2];
17044
+ case "InvalidRequestException": return [3, 4];
17045
+ case "com.amazonaws.iot#InvalidRequestException": return [3, 4];
17046
+ case "ResourceNotFoundException": return [3, 6];
17047
+ case "com.amazonaws.iot#ResourceNotFoundException": return [3, 6];
17048
+ case "ThrottlingException": return [3, 8];
17049
+ case "com.amazonaws.iot#ThrottlingException": return [3, 8];
17050
+ }
17051
+ return [3, 10];
17052
+ case 2:
17053
+ _c = [{}];
17054
+ return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
17055
+ case 3:
17056
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
17057
+ return [3, 11];
17058
+ case 4:
17059
+ _d = [{}];
17060
+ return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
17061
+ case 5:
17062
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
17063
+ return [3, 11];
17064
+ case 6:
17065
+ _e = [{}];
17066
+ return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
17067
+ case 7:
17068
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
17069
+ return [3, 11];
17070
+ case 8:
17071
+ _f = [{}];
17072
+ return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
17073
+ case 9:
17074
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
17075
+ return [3, 11];
17076
+ case 10:
17077
+ parsedBody = parsedOutput.body;
17078
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
17079
+ response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
17080
+ _h.label = 11;
17081
+ case 11:
17082
+ message = response.message || response.Message || errorCode;
17083
+ response.message = message;
17084
+ delete response.Message;
17085
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
17086
+ }
17087
+ });
17088
+ }); };
16920
17089
  export var deserializeAws_restJson1DescribeMitigationActionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
16921
17090
  var contents, data, _a, _b;
16922
17091
  return __generator(this, function (_c) {
@@ -22509,6 +22678,96 @@ var deserializeAws_restJson1ListJobTemplatesCommandError = function (output, con
22509
22678
  }
22510
22679
  });
22511
22680
  }); };
22681
+ export var deserializeAws_restJson1ListManagedJobTemplatesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
22682
+ var contents, data, _a, _b;
22683
+ return __generator(this, function (_c) {
22684
+ switch (_c.label) {
22685
+ case 0:
22686
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
22687
+ return [2, deserializeAws_restJson1ListManagedJobTemplatesCommandError(output, context)];
22688
+ }
22689
+ contents = {
22690
+ $metadata: deserializeMetadata(output),
22691
+ managedJobTemplates: undefined,
22692
+ nextToken: undefined,
22693
+ };
22694
+ _a = __expectNonNull;
22695
+ _b = __expectObject;
22696
+ return [4, parseBody(output.body, context)];
22697
+ case 1:
22698
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
22699
+ if (data.managedJobTemplates !== undefined && data.managedJobTemplates !== null) {
22700
+ contents.managedJobTemplates = deserializeAws_restJson1ManagedJobTemplatesSummaryList(data.managedJobTemplates, context);
22701
+ }
22702
+ if (data.nextToken !== undefined && data.nextToken !== null) {
22703
+ contents.nextToken = __expectString(data.nextToken);
22704
+ }
22705
+ return [2, Promise.resolve(contents)];
22706
+ }
22707
+ });
22708
+ }); };
22709
+ var deserializeAws_restJson1ListManagedJobTemplatesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
22710
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
22711
+ var _g;
22712
+ return __generator(this, function (_h) {
22713
+ switch (_h.label) {
22714
+ case 0:
22715
+ _a = [__assign({}, output)];
22716
+ _g = {};
22717
+ return [4, parseBody(output.body, context)];
22718
+ case 1:
22719
+ parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
22720
+ errorCode = "UnknownError";
22721
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
22722
+ _b = errorCode;
22723
+ switch (_b) {
22724
+ case "InternalServerException": return [3, 2];
22725
+ case "com.amazonaws.iot#InternalServerException": return [3, 2];
22726
+ case "InvalidRequestException": return [3, 4];
22727
+ case "com.amazonaws.iot#InvalidRequestException": return [3, 4];
22728
+ case "ResourceNotFoundException": return [3, 6];
22729
+ case "com.amazonaws.iot#ResourceNotFoundException": return [3, 6];
22730
+ case "ThrottlingException": return [3, 8];
22731
+ case "com.amazonaws.iot#ThrottlingException": return [3, 8];
22732
+ }
22733
+ return [3, 10];
22734
+ case 2:
22735
+ _c = [{}];
22736
+ return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
22737
+ case 3:
22738
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
22739
+ return [3, 11];
22740
+ case 4:
22741
+ _d = [{}];
22742
+ return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
22743
+ case 5:
22744
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
22745
+ return [3, 11];
22746
+ case 6:
22747
+ _e = [{}];
22748
+ return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
22749
+ case 7:
22750
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
22751
+ return [3, 11];
22752
+ case 8:
22753
+ _f = [{}];
22754
+ return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
22755
+ case 9:
22756
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
22757
+ return [3, 11];
22758
+ case 10:
22759
+ parsedBody = parsedOutput.body;
22760
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
22761
+ response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
22762
+ _h.label = 11;
22763
+ case 11:
22764
+ message = response.message || response.Message || errorCode;
22765
+ response.message = message;
22766
+ delete response.Message;
22767
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
22768
+ }
22769
+ });
22770
+ }); };
22512
22771
  export var deserializeAws_restJson1ListMitigationActionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
22513
22772
  var contents, data, _a, _b;
22514
22773
  return __generator(this, function (_c) {
@@ -30463,6 +30722,22 @@ var deserializeAws_restJson1InternalFailureExceptionResponse = function (parsedO
30463
30722
  return [2, contents];
30464
30723
  });
30465
30724
  }); };
30725
+ var deserializeAws_restJson1InternalServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
30726
+ var contents, data;
30727
+ return __generator(this, function (_a) {
30728
+ contents = {
30729
+ name: "InternalServerException",
30730
+ $fault: "server",
30731
+ $metadata: deserializeMetadata(parsedOutput),
30732
+ message: undefined,
30733
+ };
30734
+ data = parsedOutput.body;
30735
+ if (data.message !== undefined && data.message !== null) {
30736
+ contents.message = __expectString(data.message);
30737
+ }
30738
+ return [2, contents];
30739
+ });
30740
+ }); };
30466
30741
  var deserializeAws_restJson1InvalidAggregationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
30467
30742
  var contents, data;
30468
30743
  return __generator(this, function (_a) {
@@ -31498,6 +31773,16 @@ var serializeAws_restJson1OTAUpdateFiles = function (input, context) {
31498
31773
  return serializeAws_restJson1OTAUpdateFile(entry, context);
31499
31774
  });
31500
31775
  };
31776
+ var serializeAws_restJson1ParameterMap = function (input, context) {
31777
+ return Object.entries(input).reduce(function (acc, _a) {
31778
+ var _b;
31779
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
31780
+ if (value === null) {
31781
+ return acc;
31782
+ }
31783
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
31784
+ }, {});
31785
+ };
31501
31786
  var serializeAws_restJson1Parameters = function (input, context) {
31502
31787
  return Object.entries(input).reduce(function (acc, _a) {
31503
31788
  var _b;
@@ -31833,9 +32118,11 @@ var serializeAws_restJson1ThingGroupProperties = function (input, context) {
31833
32118
  input.thingGroupDescription !== null && { thingGroupDescription: input.thingGroupDescription }));
31834
32119
  };
31835
32120
  var serializeAws_restJson1ThingIndexingConfiguration = function (input, context) {
31836
- return __assign(__assign(__assign(__assign({}, (input.customFields !== undefined &&
31837
- input.customFields !== null && { customFields: serializeAws_restJson1Fields(input.customFields, context) })), (input.managedFields !== undefined &&
31838
- input.managedFields !== null && { managedFields: serializeAws_restJson1Fields(input.managedFields, context) })), (input.thingConnectivityIndexingMode !== undefined &&
32121
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.customFields !== undefined &&
32122
+ input.customFields !== null && { customFields: serializeAws_restJson1Fields(input.customFields, context) })), (input.deviceDefenderIndexingMode !== undefined &&
32123
+ input.deviceDefenderIndexingMode !== null && { deviceDefenderIndexingMode: input.deviceDefenderIndexingMode })), (input.managedFields !== undefined &&
32124
+ input.managedFields !== null && { managedFields: serializeAws_restJson1Fields(input.managedFields, context) })), (input.namedShadowIndexingMode !== undefined &&
32125
+ input.namedShadowIndexingMode !== null && { namedShadowIndexingMode: input.namedShadowIndexingMode })), (input.thingConnectivityIndexingMode !== undefined &&
31839
32126
  input.thingConnectivityIndexingMode !== null && {
31840
32127
  thingConnectivityIndexingMode: input.thingConnectivityIndexingMode,
31841
32128
  })), (input.thingIndexingMode !== undefined &&
@@ -32925,6 +33212,25 @@ var deserializeAws_restJson1DimensionStringValues = function (output, context) {
32925
33212
  return __expectString(entry);
32926
33213
  });
32927
33214
  };
33215
+ var deserializeAws_restJson1DocumentParameter = function (output, context) {
33216
+ return {
33217
+ description: __expectString(output.description),
33218
+ example: __expectString(output.example),
33219
+ key: __expectString(output.key),
33220
+ optional: __expectBoolean(output.optional),
33221
+ regex: __expectString(output.regex),
33222
+ };
33223
+ };
33224
+ var deserializeAws_restJson1DocumentParameters = function (output, context) {
33225
+ return (output || [])
33226
+ .filter(function (e) { return e != null; })
33227
+ .map(function (entry) {
33228
+ if (entry === null) {
33229
+ return null;
33230
+ }
33231
+ return deserializeAws_restJson1DocumentParameter(entry, context);
33232
+ });
33233
+ };
32928
33234
  var deserializeAws_restJson1DomainConfigurations = function (output, context) {
32929
33235
  return (output || [])
32930
33236
  .filter(function (e) { return e != null; })
@@ -32996,6 +33302,16 @@ var deserializeAws_restJson1EnableIoTLoggingParams = function (output, context)
32996
33302
  roleArnForLogging: __expectString(output.roleArnForLogging),
32997
33303
  };
32998
33304
  };
33305
+ var deserializeAws_restJson1Environments = function (output, context) {
33306
+ return (output || [])
33307
+ .filter(function (e) { return e != null; })
33308
+ .map(function (entry) {
33309
+ if (entry === null) {
33310
+ return null;
33311
+ }
33312
+ return __expectString(entry);
33313
+ });
33314
+ };
32999
33315
  var deserializeAws_restJson1ErrorInfo = function (output, context) {
33000
33316
  return {
33001
33317
  code: __expectString(output.code),
@@ -33193,6 +33509,9 @@ var deserializeAws_restJson1Job = function (output, context) {
33193
33509
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
33194
33510
  : undefined,
33195
33511
  description: __expectString(output.description),
33512
+ documentParameters: output.documentParameters !== undefined && output.documentParameters !== null
33513
+ ? deserializeAws_restJson1ParameterMap(output.documentParameters, context)
33514
+ : undefined,
33196
33515
  forceCanceled: __expectBoolean(output.forceCanceled),
33197
33516
  jobArn: __expectString(output.jobArn),
33198
33517
  jobExecutionsRolloutConfig: output.jobExecutionsRolloutConfig !== undefined && output.jobExecutionsRolloutConfig !== null
@@ -33441,6 +33760,27 @@ var deserializeAws_restJson1MachineLearningDetectionConfig = function (output, c
33441
33760
  confidenceLevel: __expectString(output.confidenceLevel),
33442
33761
  };
33443
33762
  };
33763
+ var deserializeAws_restJson1ManagedJobTemplatesSummaryList = function (output, context) {
33764
+ return (output || [])
33765
+ .filter(function (e) { return e != null; })
33766
+ .map(function (entry) {
33767
+ if (entry === null) {
33768
+ return null;
33769
+ }
33770
+ return deserializeAws_restJson1ManagedJobTemplateSummary(entry, context);
33771
+ });
33772
+ };
33773
+ var deserializeAws_restJson1ManagedJobTemplateSummary = function (output, context) {
33774
+ return {
33775
+ description: __expectString(output.description),
33776
+ environments: output.environments !== undefined && output.environments !== null
33777
+ ? deserializeAws_restJson1Environments(output.environments, context)
33778
+ : undefined,
33779
+ templateArn: __expectString(output.templateArn),
33780
+ templateName: __expectString(output.templateName),
33781
+ templateVersion: __expectString(output.templateVersion),
33782
+ };
33783
+ };
33444
33784
  var deserializeAws_restJson1MetricDimension = function (output, context) {
33445
33785
  return {
33446
33786
  dimensionName: __expectString(output.dimensionName),
@@ -33701,6 +34041,16 @@ var deserializeAws_restJson1OutgoingCertificates = function (output, context) {
33701
34041
  return deserializeAws_restJson1OutgoingCertificate(entry, context);
33702
34042
  });
33703
34043
  };
34044
+ var deserializeAws_restJson1ParameterMap = function (output, context) {
34045
+ return Object.entries(output).reduce(function (acc, _a) {
34046
+ var _b;
34047
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
34048
+ if (value === null) {
34049
+ return acc;
34050
+ }
34051
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
34052
+ }, {});
34053
+ };
33704
34054
  var deserializeAws_restJson1Percentiles = function (output, context) {
33705
34055
  return (output || [])
33706
34056
  .filter(function (e) { return e != null; })
@@ -34437,6 +34787,7 @@ var deserializeAws_restJson1ThingDocument = function (output, context) {
34437
34787
  connectivity: output.connectivity !== undefined && output.connectivity !== null
34438
34788
  ? deserializeAws_restJson1ThingConnectivity(output.connectivity, context)
34439
34789
  : undefined,
34790
+ deviceDefender: __expectString(output.deviceDefender),
34440
34791
  shadow: __expectString(output.shadow),
34441
34792
  thingGroupNames: output.thingGroupNames !== undefined && output.thingGroupNames !== null
34442
34793
  ? deserializeAws_restJson1ThingGroupNameList(output.thingGroupNames, context)
@@ -34544,9 +34895,11 @@ var deserializeAws_restJson1ThingIndexingConfiguration = function (output, conte
34544
34895
  customFields: output.customFields !== undefined && output.customFields !== null
34545
34896
  ? deserializeAws_restJson1Fields(output.customFields, context)
34546
34897
  : undefined,
34898
+ deviceDefenderIndexingMode: __expectString(output.deviceDefenderIndexingMode),
34547
34899
  managedFields: output.managedFields !== undefined && output.managedFields !== null
34548
34900
  ? deserializeAws_restJson1Fields(output.managedFields, context)
34549
34901
  : undefined,
34902
+ namedShadowIndexingMode: __expectString(output.namedShadowIndexingMode),
34550
34903
  thingConnectivityIndexingMode: __expectString(output.thingConnectivityIndexingMode),
34551
34904
  thingIndexingMode: __expectString(output.thingIndexingMode),
34552
34905
  };
@@ -96,6 +96,7 @@ import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "./command
96
96
  import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand";
97
97
  import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
98
98
  import { DescribeJobTemplateCommandInput, DescribeJobTemplateCommandOutput } from "./commands/DescribeJobTemplateCommand";
99
+ import { DescribeManagedJobTemplateCommandInput, DescribeManagedJobTemplateCommandOutput } from "./commands/DescribeManagedJobTemplateCommand";
99
100
  import { DescribeMitigationActionCommandInput, DescribeMitigationActionCommandOutput } from "./commands/DescribeMitigationActionCommand";
100
101
  import { DescribeProvisioningTemplateCommandInput, DescribeProvisioningTemplateCommandOutput } from "./commands/DescribeProvisioningTemplateCommand";
101
102
  import { DescribeProvisioningTemplateVersionCommandInput, DescribeProvisioningTemplateVersionCommandOutput } from "./commands/DescribeProvisioningTemplateVersionCommand";
@@ -152,6 +153,7 @@ import { ListJobExecutionsForJobCommandInput, ListJobExecutionsForJobCommandOutp
152
153
  import { ListJobExecutionsForThingCommandInput, ListJobExecutionsForThingCommandOutput } from "./commands/ListJobExecutionsForThingCommand";
153
154
  import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
154
155
  import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "./commands/ListJobTemplatesCommand";
156
+ import { ListManagedJobTemplatesCommandInput, ListManagedJobTemplatesCommandOutput } from "./commands/ListManagedJobTemplatesCommand";
155
157
  import { ListMitigationActionsCommandInput, ListMitigationActionsCommandOutput } from "./commands/ListMitigationActionsCommand";
156
158
  import { ListOTAUpdatesCommandInput, ListOTAUpdatesCommandOutput } from "./commands/ListOTAUpdatesCommand";
157
159
  import { ListOutgoingCertificatesCommandInput, ListOutgoingCertificatesCommandOutput } from "./commands/ListOutgoingCertificatesCommand";
@@ -431,8 +433,9 @@ export declare class IoT extends IoTClient {
431
433
  * request.</p>
432
434
  * <p>
433
435
  * <b>Note:</b> The CSR must include a public key that is either an
434
- * RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384
435
- * curves. </p>
436
+ * RSA key with a length of at least 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-512
437
+ * curves. For supported certificates, consult <a href="https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms">
438
+ * Certificate signing algorithms supported by IoT</a>.</p>
436
439
  * <p>
437
440
  * <b>Note:</b> Reusing the same certificate signing request (CSR)
438
441
  * results in a distinct certificate.</p>
@@ -1091,6 +1094,12 @@ export declare class IoT extends IoTClient {
1091
1094
  describeJobTemplate(args: DescribeJobTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobTemplateCommandOutput>;
1092
1095
  describeJobTemplate(args: DescribeJobTemplateCommandInput, cb: (err: any, data?: DescribeJobTemplateCommandOutput) => void): void;
1093
1096
  describeJobTemplate(args: DescribeJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobTemplateCommandOutput) => void): void;
1097
+ /**
1098
+ * <p>View details of a managed job template.</p>
1099
+ */
1100
+ describeManagedJobTemplate(args: DescribeManagedJobTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeManagedJobTemplateCommandOutput>;
1101
+ describeManagedJobTemplate(args: DescribeManagedJobTemplateCommandInput, cb: (err: any, data?: DescribeManagedJobTemplateCommandOutput) => void): void;
1102
+ describeManagedJobTemplate(args: DescribeManagedJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeManagedJobTemplateCommandOutput) => void): void;
1094
1103
  /**
1095
1104
  * <p>Gets information about a mitigation action.</p>
1096
1105
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DescribeMitigationAction</a> action.</p>
@@ -1530,6 +1539,12 @@ export declare class IoT extends IoTClient {
1530
1539
  listJobTemplates(args: ListJobTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListJobTemplatesCommandOutput>;
1531
1540
  listJobTemplates(args: ListJobTemplatesCommandInput, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
1532
1541
  listJobTemplates(args: ListJobTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
1542
+ /**
1543
+ * <p>Returns a list of managed job templates.</p>
1544
+ */
1545
+ listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedJobTemplatesCommandOutput>;
1546
+ listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, cb: (err: any, data?: ListManagedJobTemplatesCommandOutput) => void): void;
1547
+ listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedJobTemplatesCommandOutput) => void): void;
1533
1548
  /**
1534
1549
  * <p>Gets a list of all mitigation actions that match the specified filter criteria.</p>
1535
1550
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListMitigationActions</a> action.</p>
@@ -1804,7 +1819,10 @@ export declare class IoT extends IoTClient {
1804
1819
  registerCertificate(args: RegisterCertificateCommandInput, cb: (err: any, data?: RegisterCertificateCommandOutput) => void): void;
1805
1820
  registerCertificate(args: RegisterCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterCertificateCommandOutput) => void): void;
1806
1821
  /**
1807
- * <p>Register a certificate that does not have a certificate authority (CA).</p>
1822
+ * <p>Register a certificate that does not have a certificate authority (CA).
1823
+ * For supported certificates, consult <a href="https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms">
1824
+ * Certificate signing algorithms supported by IoT</a>.
1825
+ * </p>
1808
1826
  */
1809
1827
  registerCertificateWithoutCA(args: RegisterCertificateWithoutCACommandInput, options?: __HttpHandlerOptions): Promise<RegisterCertificateWithoutCACommandOutput>;
1810
1828
  registerCertificateWithoutCA(args: RegisterCertificateWithoutCACommandInput, cb: (err: any, data?: RegisterCertificateWithoutCACommandOutput) => void): void;
@@ -1835,6 +1853,9 @@ export declare class IoT extends IoTClient {
1835
1853
  /**
1836
1854
  * <p>Removes the given thing from the billing group.</p>
1837
1855
  * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">RemoveThingFromBillingGroup</a> action.</p>
1856
+ * <note>
1857
+ * <p>This call is asynchronous. It might take several seconds for the detachment to propagate.</p>
1858
+ * </note>
1838
1859
  */
1839
1860
  removeThingFromBillingGroup(args: RemoveThingFromBillingGroupCommandInput, options?: __HttpHandlerOptions): Promise<RemoveThingFromBillingGroupCommandOutput>;
1840
1861
  removeThingFromBillingGroup(args: RemoveThingFromBillingGroupCommandInput, cb: (err: any, data?: RemoveThingFromBillingGroupCommandOutput) => void): void;