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