@aws-sdk/client-iot 3.185.0 → 3.188.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 (306) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/IoT.js +950 -957
  3. package/dist-es/IoTClient.js +23 -29
  4. package/dist-es/commands/AcceptCertificateTransferCommand.js +22 -29
  5. package/dist-es/commands/AddThingToBillingGroupCommand.js +21 -28
  6. package/dist-es/commands/AddThingToThingGroupCommand.js +21 -28
  7. package/dist-es/commands/AssociateTargetsWithJobCommand.js +21 -28
  8. package/dist-es/commands/AttachPolicyCommand.js +22 -29
  9. package/dist-es/commands/AttachPrincipalPolicyCommand.js +22 -29
  10. package/dist-es/commands/AttachSecurityProfileCommand.js +21 -28
  11. package/dist-es/commands/AttachThingPrincipalCommand.js +21 -28
  12. package/dist-es/commands/CancelAuditMitigationActionsTaskCommand.js +21 -28
  13. package/dist-es/commands/CancelAuditTaskCommand.js +21 -28
  14. package/dist-es/commands/CancelCertificateTransferCommand.js +22 -29
  15. package/dist-es/commands/CancelDetectMitigationActionsTaskCommand.js +21 -28
  16. package/dist-es/commands/CancelJobCommand.js +21 -28
  17. package/dist-es/commands/CancelJobExecutionCommand.js +22 -29
  18. package/dist-es/commands/ClearDefaultAuthorizerCommand.js +21 -28
  19. package/dist-es/commands/ConfirmTopicRuleDestinationCommand.js +21 -28
  20. package/dist-es/commands/CreateAuditSuppressionCommand.js +21 -28
  21. package/dist-es/commands/CreateAuthorizerCommand.js +21 -28
  22. package/dist-es/commands/CreateBillingGroupCommand.js +21 -28
  23. package/dist-es/commands/CreateCertificateFromCsrCommand.js +21 -28
  24. package/dist-es/commands/CreateCustomMetricCommand.js +21 -28
  25. package/dist-es/commands/CreateDimensionCommand.js +21 -28
  26. package/dist-es/commands/CreateDomainConfigurationCommand.js +21 -28
  27. package/dist-es/commands/CreateDynamicThingGroupCommand.js +21 -28
  28. package/dist-es/commands/CreateFleetMetricCommand.js +21 -28
  29. package/dist-es/commands/CreateJobCommand.js +21 -28
  30. package/dist-es/commands/CreateJobTemplateCommand.js +21 -28
  31. package/dist-es/commands/CreateKeysAndCertificateCommand.js +21 -28
  32. package/dist-es/commands/CreateMitigationActionCommand.js +21 -28
  33. package/dist-es/commands/CreateOTAUpdateCommand.js +21 -28
  34. package/dist-es/commands/CreatePolicyCommand.js +21 -28
  35. package/dist-es/commands/CreatePolicyVersionCommand.js +21 -28
  36. package/dist-es/commands/CreateProvisioningClaimCommand.js +21 -28
  37. package/dist-es/commands/CreateProvisioningTemplateCommand.js +21 -28
  38. package/dist-es/commands/CreateProvisioningTemplateVersionCommand.js +21 -28
  39. package/dist-es/commands/CreateRoleAliasCommand.js +21 -28
  40. package/dist-es/commands/CreateScheduledAuditCommand.js +21 -28
  41. package/dist-es/commands/CreateSecurityProfileCommand.js +21 -28
  42. package/dist-es/commands/CreateStreamCommand.js +21 -28
  43. package/dist-es/commands/CreateThingCommand.js +21 -28
  44. package/dist-es/commands/CreateThingGroupCommand.js +21 -28
  45. package/dist-es/commands/CreateThingTypeCommand.js +21 -28
  46. package/dist-es/commands/CreateTopicRuleCommand.js +22 -29
  47. package/dist-es/commands/CreateTopicRuleDestinationCommand.js +21 -28
  48. package/dist-es/commands/DeleteAccountAuditConfigurationCommand.js +21 -28
  49. package/dist-es/commands/DeleteAuditSuppressionCommand.js +21 -28
  50. package/dist-es/commands/DeleteAuthorizerCommand.js +21 -28
  51. package/dist-es/commands/DeleteBillingGroupCommand.js +21 -28
  52. package/dist-es/commands/DeleteCACertificateCommand.js +21 -28
  53. package/dist-es/commands/DeleteCertificateCommand.js +22 -29
  54. package/dist-es/commands/DeleteCustomMetricCommand.js +21 -28
  55. package/dist-es/commands/DeleteDimensionCommand.js +21 -28
  56. package/dist-es/commands/DeleteDomainConfigurationCommand.js +21 -28
  57. package/dist-es/commands/DeleteDynamicThingGroupCommand.js +21 -28
  58. package/dist-es/commands/DeleteFleetMetricCommand.js +22 -29
  59. package/dist-es/commands/DeleteJobCommand.js +22 -29
  60. package/dist-es/commands/DeleteJobExecutionCommand.js +22 -29
  61. package/dist-es/commands/DeleteJobTemplateCommand.js +22 -29
  62. package/dist-es/commands/DeleteMitigationActionCommand.js +21 -28
  63. package/dist-es/commands/DeleteOTAUpdateCommand.js +21 -28
  64. package/dist-es/commands/DeletePolicyCommand.js +22 -29
  65. package/dist-es/commands/DeletePolicyVersionCommand.js +22 -29
  66. package/dist-es/commands/DeleteProvisioningTemplateCommand.js +21 -28
  67. package/dist-es/commands/DeleteProvisioningTemplateVersionCommand.js +21 -28
  68. package/dist-es/commands/DeleteRegistrationCodeCommand.js +21 -28
  69. package/dist-es/commands/DeleteRoleAliasCommand.js +21 -28
  70. package/dist-es/commands/DeleteScheduledAuditCommand.js +21 -28
  71. package/dist-es/commands/DeleteSecurityProfileCommand.js +21 -28
  72. package/dist-es/commands/DeleteStreamCommand.js +21 -28
  73. package/dist-es/commands/DeleteThingCommand.js +21 -28
  74. package/dist-es/commands/DeleteThingGroupCommand.js +21 -28
  75. package/dist-es/commands/DeleteThingTypeCommand.js +21 -28
  76. package/dist-es/commands/DeleteTopicRuleCommand.js +22 -29
  77. package/dist-es/commands/DeleteTopicRuleDestinationCommand.js +21 -28
  78. package/dist-es/commands/DeleteV2LoggingLevelCommand.js +22 -29
  79. package/dist-es/commands/DeprecateThingTypeCommand.js +21 -28
  80. package/dist-es/commands/DescribeAccountAuditConfigurationCommand.js +21 -28
  81. package/dist-es/commands/DescribeAuditFindingCommand.js +21 -28
  82. package/dist-es/commands/DescribeAuditMitigationActionsTaskCommand.js +21 -28
  83. package/dist-es/commands/DescribeAuditSuppressionCommand.js +21 -28
  84. package/dist-es/commands/DescribeAuditTaskCommand.js +21 -28
  85. package/dist-es/commands/DescribeAuthorizerCommand.js +21 -28
  86. package/dist-es/commands/DescribeBillingGroupCommand.js +21 -28
  87. package/dist-es/commands/DescribeCACertificateCommand.js +21 -28
  88. package/dist-es/commands/DescribeCertificateCommand.js +21 -28
  89. package/dist-es/commands/DescribeCustomMetricCommand.js +21 -28
  90. package/dist-es/commands/DescribeDefaultAuthorizerCommand.js +21 -28
  91. package/dist-es/commands/DescribeDetectMitigationActionsTaskCommand.js +21 -28
  92. package/dist-es/commands/DescribeDimensionCommand.js +21 -28
  93. package/dist-es/commands/DescribeDomainConfigurationCommand.js +21 -28
  94. package/dist-es/commands/DescribeEndpointCommand.js +21 -28
  95. package/dist-es/commands/DescribeEventConfigurationsCommand.js +21 -28
  96. package/dist-es/commands/DescribeFleetMetricCommand.js +21 -28
  97. package/dist-es/commands/DescribeIndexCommand.js +21 -28
  98. package/dist-es/commands/DescribeJobCommand.js +21 -28
  99. package/dist-es/commands/DescribeJobExecutionCommand.js +21 -28
  100. package/dist-es/commands/DescribeJobTemplateCommand.js +21 -28
  101. package/dist-es/commands/DescribeManagedJobTemplateCommand.js +21 -28
  102. package/dist-es/commands/DescribeMitigationActionCommand.js +21 -28
  103. package/dist-es/commands/DescribeProvisioningTemplateCommand.js +21 -28
  104. package/dist-es/commands/DescribeProvisioningTemplateVersionCommand.js +21 -28
  105. package/dist-es/commands/DescribeRoleAliasCommand.js +21 -28
  106. package/dist-es/commands/DescribeScheduledAuditCommand.js +21 -28
  107. package/dist-es/commands/DescribeSecurityProfileCommand.js +21 -28
  108. package/dist-es/commands/DescribeStreamCommand.js +21 -28
  109. package/dist-es/commands/DescribeThingCommand.js +21 -28
  110. package/dist-es/commands/DescribeThingGroupCommand.js +21 -28
  111. package/dist-es/commands/DescribeThingRegistrationTaskCommand.js +21 -28
  112. package/dist-es/commands/DescribeThingTypeCommand.js +21 -28
  113. package/dist-es/commands/DetachPolicyCommand.js +22 -29
  114. package/dist-es/commands/DetachPrincipalPolicyCommand.js +22 -29
  115. package/dist-es/commands/DetachSecurityProfileCommand.js +21 -28
  116. package/dist-es/commands/DetachThingPrincipalCommand.js +21 -28
  117. package/dist-es/commands/DisableTopicRuleCommand.js +22 -29
  118. package/dist-es/commands/EnableTopicRuleCommand.js +22 -29
  119. package/dist-es/commands/GetBehaviorModelTrainingSummariesCommand.js +21 -28
  120. package/dist-es/commands/GetBucketsAggregationCommand.js +21 -28
  121. package/dist-es/commands/GetCardinalityCommand.js +21 -28
  122. package/dist-es/commands/GetEffectivePoliciesCommand.js +21 -28
  123. package/dist-es/commands/GetIndexingConfigurationCommand.js +21 -28
  124. package/dist-es/commands/GetJobDocumentCommand.js +21 -28
  125. package/dist-es/commands/GetLoggingOptionsCommand.js +21 -28
  126. package/dist-es/commands/GetOTAUpdateCommand.js +21 -28
  127. package/dist-es/commands/GetPercentilesCommand.js +21 -28
  128. package/dist-es/commands/GetPolicyCommand.js +21 -28
  129. package/dist-es/commands/GetPolicyVersionCommand.js +21 -28
  130. package/dist-es/commands/GetRegistrationCodeCommand.js +21 -28
  131. package/dist-es/commands/GetStatisticsCommand.js +21 -28
  132. package/dist-es/commands/GetTopicRuleCommand.js +21 -28
  133. package/dist-es/commands/GetTopicRuleDestinationCommand.js +21 -28
  134. package/dist-es/commands/GetV2LoggingOptionsCommand.js +21 -28
  135. package/dist-es/commands/ListActiveViolationsCommand.js +21 -28
  136. package/dist-es/commands/ListAttachedPoliciesCommand.js +21 -28
  137. package/dist-es/commands/ListAuditFindingsCommand.js +21 -28
  138. package/dist-es/commands/ListAuditMitigationActionsExecutionsCommand.js +21 -28
  139. package/dist-es/commands/ListAuditMitigationActionsTasksCommand.js +21 -28
  140. package/dist-es/commands/ListAuditSuppressionsCommand.js +21 -28
  141. package/dist-es/commands/ListAuditTasksCommand.js +21 -28
  142. package/dist-es/commands/ListAuthorizersCommand.js +21 -28
  143. package/dist-es/commands/ListBillingGroupsCommand.js +21 -28
  144. package/dist-es/commands/ListCACertificatesCommand.js +21 -28
  145. package/dist-es/commands/ListCertificatesByCACommand.js +21 -28
  146. package/dist-es/commands/ListCertificatesCommand.js +21 -28
  147. package/dist-es/commands/ListCustomMetricsCommand.js +21 -28
  148. package/dist-es/commands/ListDetectMitigationActionsExecutionsCommand.js +21 -28
  149. package/dist-es/commands/ListDetectMitigationActionsTasksCommand.js +21 -28
  150. package/dist-es/commands/ListDimensionsCommand.js +21 -28
  151. package/dist-es/commands/ListDomainConfigurationsCommand.js +21 -28
  152. package/dist-es/commands/ListFleetMetricsCommand.js +21 -28
  153. package/dist-es/commands/ListIndicesCommand.js +21 -28
  154. package/dist-es/commands/ListJobExecutionsForJobCommand.js +21 -28
  155. package/dist-es/commands/ListJobExecutionsForThingCommand.js +21 -28
  156. package/dist-es/commands/ListJobTemplatesCommand.js +21 -28
  157. package/dist-es/commands/ListJobsCommand.js +21 -28
  158. package/dist-es/commands/ListManagedJobTemplatesCommand.js +21 -28
  159. package/dist-es/commands/ListMetricValuesCommand.js +21 -28
  160. package/dist-es/commands/ListMitigationActionsCommand.js +21 -28
  161. package/dist-es/commands/ListOTAUpdatesCommand.js +21 -28
  162. package/dist-es/commands/ListOutgoingCertificatesCommand.js +21 -28
  163. package/dist-es/commands/ListPoliciesCommand.js +21 -28
  164. package/dist-es/commands/ListPolicyPrincipalsCommand.js +21 -28
  165. package/dist-es/commands/ListPolicyVersionsCommand.js +21 -28
  166. package/dist-es/commands/ListPrincipalPoliciesCommand.js +21 -28
  167. package/dist-es/commands/ListPrincipalThingsCommand.js +21 -28
  168. package/dist-es/commands/ListProvisioningTemplateVersionsCommand.js +21 -28
  169. package/dist-es/commands/ListProvisioningTemplatesCommand.js +21 -28
  170. package/dist-es/commands/ListRoleAliasesCommand.js +21 -28
  171. package/dist-es/commands/ListScheduledAuditsCommand.js +21 -28
  172. package/dist-es/commands/ListSecurityProfilesCommand.js +21 -28
  173. package/dist-es/commands/ListSecurityProfilesForTargetCommand.js +21 -28
  174. package/dist-es/commands/ListStreamsCommand.js +21 -28
  175. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  176. package/dist-es/commands/ListTargetsForPolicyCommand.js +21 -28
  177. package/dist-es/commands/ListTargetsForSecurityProfileCommand.js +21 -28
  178. package/dist-es/commands/ListThingGroupsCommand.js +21 -28
  179. package/dist-es/commands/ListThingGroupsForThingCommand.js +21 -28
  180. package/dist-es/commands/ListThingPrincipalsCommand.js +21 -28
  181. package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +21 -28
  182. package/dist-es/commands/ListThingRegistrationTasksCommand.js +21 -28
  183. package/dist-es/commands/ListThingTypesCommand.js +21 -28
  184. package/dist-es/commands/ListThingsCommand.js +21 -28
  185. package/dist-es/commands/ListThingsInBillingGroupCommand.js +21 -28
  186. package/dist-es/commands/ListThingsInThingGroupCommand.js +21 -28
  187. package/dist-es/commands/ListTopicRuleDestinationsCommand.js +21 -28
  188. package/dist-es/commands/ListTopicRulesCommand.js +21 -28
  189. package/dist-es/commands/ListV2LoggingLevelsCommand.js +21 -28
  190. package/dist-es/commands/ListViolationEventsCommand.js +21 -28
  191. package/dist-es/commands/PutVerificationStateOnViolationCommand.js +21 -28
  192. package/dist-es/commands/RegisterCACertificateCommand.js +21 -28
  193. package/dist-es/commands/RegisterCertificateCommand.js +21 -28
  194. package/dist-es/commands/RegisterCertificateWithoutCACommand.js +21 -28
  195. package/dist-es/commands/RegisterThingCommand.js +21 -28
  196. package/dist-es/commands/RejectCertificateTransferCommand.js +22 -29
  197. package/dist-es/commands/RemoveThingFromBillingGroupCommand.js +21 -28
  198. package/dist-es/commands/RemoveThingFromThingGroupCommand.js +21 -28
  199. package/dist-es/commands/ReplaceTopicRuleCommand.js +22 -29
  200. package/dist-es/commands/SearchIndexCommand.js +21 -28
  201. package/dist-es/commands/SetDefaultAuthorizerCommand.js +21 -28
  202. package/dist-es/commands/SetDefaultPolicyVersionCommand.js +22 -29
  203. package/dist-es/commands/SetLoggingOptionsCommand.js +22 -29
  204. package/dist-es/commands/SetV2LoggingLevelCommand.js +22 -29
  205. package/dist-es/commands/SetV2LoggingOptionsCommand.js +22 -29
  206. package/dist-es/commands/StartAuditMitigationActionsTaskCommand.js +21 -28
  207. package/dist-es/commands/StartDetectMitigationActionsTaskCommand.js +21 -28
  208. package/dist-es/commands/StartOnDemandAuditTaskCommand.js +21 -28
  209. package/dist-es/commands/StartThingRegistrationTaskCommand.js +21 -28
  210. package/dist-es/commands/StopThingRegistrationTaskCommand.js +21 -28
  211. package/dist-es/commands/TagResourceCommand.js +21 -28
  212. package/dist-es/commands/TestAuthorizationCommand.js +21 -28
  213. package/dist-es/commands/TestInvokeAuthorizerCommand.js +21 -28
  214. package/dist-es/commands/TransferCertificateCommand.js +21 -28
  215. package/dist-es/commands/UntagResourceCommand.js +21 -28
  216. package/dist-es/commands/UpdateAccountAuditConfigurationCommand.js +21 -28
  217. package/dist-es/commands/UpdateAuditSuppressionCommand.js +21 -28
  218. package/dist-es/commands/UpdateAuthorizerCommand.js +21 -28
  219. package/dist-es/commands/UpdateBillingGroupCommand.js +21 -28
  220. package/dist-es/commands/UpdateCACertificateCommand.js +22 -29
  221. package/dist-es/commands/UpdateCertificateCommand.js +22 -29
  222. package/dist-es/commands/UpdateCustomMetricCommand.js +21 -28
  223. package/dist-es/commands/UpdateDimensionCommand.js +21 -28
  224. package/dist-es/commands/UpdateDomainConfigurationCommand.js +21 -28
  225. package/dist-es/commands/UpdateDynamicThingGroupCommand.js +21 -28
  226. package/dist-es/commands/UpdateEventConfigurationsCommand.js +21 -28
  227. package/dist-es/commands/UpdateFleetMetricCommand.js +22 -29
  228. package/dist-es/commands/UpdateIndexingConfigurationCommand.js +21 -28
  229. package/dist-es/commands/UpdateJobCommand.js +22 -29
  230. package/dist-es/commands/UpdateMitigationActionCommand.js +21 -28
  231. package/dist-es/commands/UpdateProvisioningTemplateCommand.js +21 -28
  232. package/dist-es/commands/UpdateRoleAliasCommand.js +21 -28
  233. package/dist-es/commands/UpdateScheduledAuditCommand.js +21 -28
  234. package/dist-es/commands/UpdateSecurityProfileCommand.js +21 -28
  235. package/dist-es/commands/UpdateStreamCommand.js +21 -28
  236. package/dist-es/commands/UpdateThingCommand.js +21 -28
  237. package/dist-es/commands/UpdateThingGroupCommand.js +21 -28
  238. package/dist-es/commands/UpdateThingGroupsForThingCommand.js +21 -28
  239. package/dist-es/commands/UpdateTopicRuleDestinationCommand.js +21 -28
  240. package/dist-es/commands/ValidateSecurityProfileBehaviorsCommand.js +21 -28
  241. package/dist-es/endpoints.js +8 -8
  242. package/dist-es/models/IoTServiceException.js +5 -10
  243. package/dist-es/models/models_0.js +970 -497
  244. package/dist-es/models/models_1.js +844 -297
  245. package/dist-es/models/models_2.js +459 -198
  246. package/dist-es/pagination/GetBehaviorModelTrainingSummariesPaginator.js +25 -68
  247. package/dist-es/pagination/ListActiveViolationsPaginator.js +25 -68
  248. package/dist-es/pagination/ListAttachedPoliciesPaginator.js +25 -68
  249. package/dist-es/pagination/ListAuditFindingsPaginator.js +25 -68
  250. package/dist-es/pagination/ListAuditMitigationActionsExecutionsPaginator.js +25 -68
  251. package/dist-es/pagination/ListAuditMitigationActionsTasksPaginator.js +25 -68
  252. package/dist-es/pagination/ListAuditSuppressionsPaginator.js +25 -68
  253. package/dist-es/pagination/ListAuditTasksPaginator.js +25 -68
  254. package/dist-es/pagination/ListAuthorizersPaginator.js +25 -68
  255. package/dist-es/pagination/ListBillingGroupsPaginator.js +25 -68
  256. package/dist-es/pagination/ListCACertificatesPaginator.js +25 -68
  257. package/dist-es/pagination/ListCertificatesByCAPaginator.js +25 -68
  258. package/dist-es/pagination/ListCertificatesPaginator.js +25 -68
  259. package/dist-es/pagination/ListCustomMetricsPaginator.js +25 -68
  260. package/dist-es/pagination/ListDetectMitigationActionsExecutionsPaginator.js +25 -68
  261. package/dist-es/pagination/ListDetectMitigationActionsTasksPaginator.js +25 -68
  262. package/dist-es/pagination/ListDimensionsPaginator.js +25 -68
  263. package/dist-es/pagination/ListDomainConfigurationsPaginator.js +25 -68
  264. package/dist-es/pagination/ListFleetMetricsPaginator.js +25 -68
  265. package/dist-es/pagination/ListIndicesPaginator.js +25 -68
  266. package/dist-es/pagination/ListJobExecutionsForJobPaginator.js +25 -68
  267. package/dist-es/pagination/ListJobExecutionsForThingPaginator.js +25 -68
  268. package/dist-es/pagination/ListJobTemplatesPaginator.js +25 -68
  269. package/dist-es/pagination/ListJobsPaginator.js +25 -68
  270. package/dist-es/pagination/ListMetricValuesPaginator.js +25 -68
  271. package/dist-es/pagination/ListMitigationActionsPaginator.js +25 -68
  272. package/dist-es/pagination/ListOTAUpdatesPaginator.js +25 -68
  273. package/dist-es/pagination/ListOutgoingCertificatesPaginator.js +25 -68
  274. package/dist-es/pagination/ListPoliciesPaginator.js +25 -68
  275. package/dist-es/pagination/ListPolicyPrincipalsPaginator.js +25 -68
  276. package/dist-es/pagination/ListPrincipalPoliciesPaginator.js +25 -68
  277. package/dist-es/pagination/ListPrincipalThingsPaginator.js +25 -68
  278. package/dist-es/pagination/ListProvisioningTemplateVersionsPaginator.js +25 -68
  279. package/dist-es/pagination/ListProvisioningTemplatesPaginator.js +25 -68
  280. package/dist-es/pagination/ListRoleAliasesPaginator.js +25 -68
  281. package/dist-es/pagination/ListScheduledAuditsPaginator.js +25 -68
  282. package/dist-es/pagination/ListSecurityProfilesForTargetPaginator.js +25 -68
  283. package/dist-es/pagination/ListSecurityProfilesPaginator.js +25 -68
  284. package/dist-es/pagination/ListStreamsPaginator.js +25 -68
  285. package/dist-es/pagination/ListTagsForResourcePaginator.js +24 -67
  286. package/dist-es/pagination/ListTargetsForPolicyPaginator.js +25 -68
  287. package/dist-es/pagination/ListTargetsForSecurityProfilePaginator.js +25 -68
  288. package/dist-es/pagination/ListThingGroupsForThingPaginator.js +25 -68
  289. package/dist-es/pagination/ListThingGroupsPaginator.js +25 -68
  290. package/dist-es/pagination/ListThingPrincipalsPaginator.js +25 -68
  291. package/dist-es/pagination/ListThingRegistrationTaskReportsPaginator.js +25 -68
  292. package/dist-es/pagination/ListThingRegistrationTasksPaginator.js +25 -68
  293. package/dist-es/pagination/ListThingTypesPaginator.js +25 -68
  294. package/dist-es/pagination/ListThingsInBillingGroupPaginator.js +25 -68
  295. package/dist-es/pagination/ListThingsInThingGroupPaginator.js +25 -68
  296. package/dist-es/pagination/ListThingsPaginator.js +25 -68
  297. package/dist-es/pagination/ListTopicRuleDestinationsPaginator.js +25 -68
  298. package/dist-es/pagination/ListTopicRulesPaginator.js +25 -68
  299. package/dist-es/pagination/ListV2LoggingLevelsPaginator.js +25 -68
  300. package/dist-es/pagination/ListViolationEventsPaginator.js +25 -68
  301. package/dist-es/protocols/Aws_restJson1.js +18411 -25273
  302. package/dist-es/runtimeConfig.browser.js +26 -12
  303. package/dist-es/runtimeConfig.js +30 -12
  304. package/dist-es/runtimeConfig.native.js +8 -5
  305. package/dist-es/runtimeConfig.shared.js +8 -11
  306. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,32 +8,27 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var IoTClient = (function (_super) {
13
- __extends(IoTClient, _super);
14
- function IoTClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- _this.middlewareStack.use(getOmitRetryHeadersPlugin(_this.config));
33
- return _this;
11
+ export class IoTClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
29
+ this.middlewareStack.use(getOmitRetryHeadersPlugin(this.config));
34
30
  }
35
- IoTClient.prototype.destroy = function () {
36
- _super.prototype.destroy.call(this);
37
- };
38
- return IoTClient;
39
- }(__Client));
40
- export { IoTClient };
31
+ destroy() {
32
+ super.destroy();
33
+ }
34
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AcceptCertificateTransferRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AcceptCertificateTransferCommand, serializeAws_restJson1AcceptCertificateTransferCommand, } from "../protocols/Aws_restJson1";
6
- var AcceptCertificateTransferCommand = (function (_super) {
7
- __extends(AcceptCertificateTransferCommand, _super);
8
- function AcceptCertificateTransferCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AcceptCertificateTransferCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AcceptCertificateTransferCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTClient";
18
- var commandName = "AcceptCertificateTransferCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTClient";
15
+ const commandName = "AcceptCertificateTransferCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AcceptCertificateTransferRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AcceptCertificateTransferCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AcceptCertificateTransferCommand(input, context);
33
- };
34
- AcceptCertificateTransferCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AcceptCertificateTransferCommand(output, context);
36
- };
37
- return AcceptCertificateTransferCommand;
38
- }($Command));
39
- export { AcceptCertificateTransferCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AddThingToBillingGroupRequestFilterSensitiveLog, AddThingToBillingGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AddThingToBillingGroupCommand, serializeAws_restJson1AddThingToBillingGroupCommand, } from "../protocols/Aws_restJson1";
6
- var AddThingToBillingGroupCommand = (function (_super) {
7
- __extends(AddThingToBillingGroupCommand, _super);
8
- function AddThingToBillingGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AddThingToBillingGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AddThingToBillingGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTClient";
18
- var commandName = "AddThingToBillingGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTClient";
15
+ const commandName = "AddThingToBillingGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddThingToBillingGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AddThingToBillingGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AddThingToBillingGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AddThingToBillingGroupCommand(input, context);
33
- };
34
- AddThingToBillingGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AddThingToBillingGroupCommand(output, context);
36
- };
37
- return AddThingToBillingGroupCommand;
38
- }($Command));
39
- export { AddThingToBillingGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AddThingToThingGroupRequestFilterSensitiveLog, AddThingToThingGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AddThingToThingGroupCommand, serializeAws_restJson1AddThingToThingGroupCommand, } from "../protocols/Aws_restJson1";
6
- var AddThingToThingGroupCommand = (function (_super) {
7
- __extends(AddThingToThingGroupCommand, _super);
8
- function AddThingToThingGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AddThingToThingGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AddThingToThingGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTClient";
18
- var commandName = "AddThingToThingGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTClient";
15
+ const commandName = "AddThingToThingGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddThingToThingGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AddThingToThingGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AddThingToThingGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AddThingToThingGroupCommand(input, context);
33
- };
34
- AddThingToThingGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AddThingToThingGroupCommand(output, context);
36
- };
37
- return AddThingToThingGroupCommand;
38
- }($Command));
39
- export { AddThingToThingGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateTargetsWithJobRequestFilterSensitiveLog, AssociateTargetsWithJobResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateTargetsWithJobCommand, serializeAws_restJson1AssociateTargetsWithJobCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateTargetsWithJobCommand = (function (_super) {
7
- __extends(AssociateTargetsWithJobCommand, _super);
8
- function AssociateTargetsWithJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateTargetsWithJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateTargetsWithJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTClient";
18
- var commandName = "AssociateTargetsWithJobCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTClient";
15
+ const commandName = "AssociateTargetsWithJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateTargetsWithJobRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateTargetsWithJobResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateTargetsWithJobCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AssociateTargetsWithJobCommand(input, context);
33
- };
34
- AssociateTargetsWithJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateTargetsWithJobCommand(output, context);
36
- };
37
- return AssociateTargetsWithJobCommand;
38
- }($Command));
39
- export { AssociateTargetsWithJobCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AttachPolicyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AttachPolicyCommand, serializeAws_restJson1AttachPolicyCommand, } from "../protocols/Aws_restJson1";
6
- var AttachPolicyCommand = (function (_super) {
7
- __extends(AttachPolicyCommand, _super);
8
- function AttachPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AttachPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AttachPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTClient";
18
- var commandName = "AttachPolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTClient";
15
+ const commandName = "AttachPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AttachPolicyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AttachPolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AttachPolicyCommand(input, context);
33
- };
34
- AttachPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AttachPolicyCommand(output, context);
36
- };
37
- return AttachPolicyCommand;
38
- }($Command));
39
- export { AttachPolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AttachPrincipalPolicyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AttachPrincipalPolicyCommand, serializeAws_restJson1AttachPrincipalPolicyCommand, } from "../protocols/Aws_restJson1";
6
- var AttachPrincipalPolicyCommand = (function (_super) {
7
- __extends(AttachPrincipalPolicyCommand, _super);
8
- function AttachPrincipalPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AttachPrincipalPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AttachPrincipalPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTClient";
18
- var commandName = "AttachPrincipalPolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTClient";
15
+ const commandName = "AttachPrincipalPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AttachPrincipalPolicyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AttachPrincipalPolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AttachPrincipalPolicyCommand(input, context);
33
- };
34
- AttachPrincipalPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AttachPrincipalPolicyCommand(output, context);
36
- };
37
- return AttachPrincipalPolicyCommand;
38
- }($Command));
39
- export { AttachPrincipalPolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AttachSecurityProfileRequestFilterSensitiveLog, AttachSecurityProfileResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AttachSecurityProfileCommand, serializeAws_restJson1AttachSecurityProfileCommand, } from "../protocols/Aws_restJson1";
6
- var AttachSecurityProfileCommand = (function (_super) {
7
- __extends(AttachSecurityProfileCommand, _super);
8
- function AttachSecurityProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AttachSecurityProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AttachSecurityProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTClient";
18
- var commandName = "AttachSecurityProfileCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTClient";
15
+ const commandName = "AttachSecurityProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AttachSecurityProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AttachSecurityProfileResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AttachSecurityProfileCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AttachSecurityProfileCommand(input, context);
33
- };
34
- AttachSecurityProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AttachSecurityProfileCommand(output, context);
36
- };
37
- return AttachSecurityProfileCommand;
38
- }($Command));
39
- export { AttachSecurityProfileCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AttachThingPrincipalRequestFilterSensitiveLog, AttachThingPrincipalResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AttachThingPrincipalCommand, serializeAws_restJson1AttachThingPrincipalCommand, } from "../protocols/Aws_restJson1";
6
- var AttachThingPrincipalCommand = (function (_super) {
7
- __extends(AttachThingPrincipalCommand, _super);
8
- function AttachThingPrincipalCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AttachThingPrincipalCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AttachThingPrincipalCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTClient";
18
- var commandName = "AttachThingPrincipalCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTClient";
15
+ const commandName = "AttachThingPrincipalCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AttachThingPrincipalRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AttachThingPrincipalResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AttachThingPrincipalCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AttachThingPrincipalCommand(input, context);
33
- };
34
- AttachThingPrincipalCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AttachThingPrincipalCommand(output, context);
36
- };
37
- return AttachThingPrincipalCommand;
38
- }($Command));
39
- export { AttachThingPrincipalCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CancelAuditMitigationActionsTaskRequestFilterSensitiveLog, CancelAuditMitigationActionsTaskResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CancelAuditMitigationActionsTaskCommand, serializeAws_restJson1CancelAuditMitigationActionsTaskCommand, } from "../protocols/Aws_restJson1";
6
- var CancelAuditMitigationActionsTaskCommand = (function (_super) {
7
- __extends(CancelAuditMitigationActionsTaskCommand, _super);
8
- function CancelAuditMitigationActionsTaskCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelAuditMitigationActionsTaskCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelAuditMitigationActionsTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTClient";
18
- var commandName = "CancelAuditMitigationActionsTaskCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTClient";
15
+ const commandName = "CancelAuditMitigationActionsTaskCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelAuditMitigationActionsTaskRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelAuditMitigationActionsTaskResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelAuditMitigationActionsTaskCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CancelAuditMitigationActionsTaskCommand(input, context);
33
- };
34
- CancelAuditMitigationActionsTaskCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CancelAuditMitigationActionsTaskCommand(output, context);
36
- };
37
- return CancelAuditMitigationActionsTaskCommand;
38
- }($Command));
39
- export { CancelAuditMitigationActionsTaskCommand };
31
+ }
32
+ }