@aws-sdk/client-iot 3.300.0 → 3.303.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 (242) hide show
  1. package/dist-cjs/models/models_0.js +251 -293
  2. package/dist-cjs/models/models_1.js +139 -163
  3. package/dist-cjs/models/models_2.js +9 -11
  4. package/dist-es/models/models_0.js +251 -293
  5. package/dist-es/models/models_1.js +139 -163
  6. package/dist-es/models/models_2.js +9 -11
  7. package/dist-types/commands/AcceptCertificateTransferCommand.d.ts +1 -1
  8. package/dist-types/commands/AddThingToBillingGroupCommand.d.ts +1 -1
  9. package/dist-types/commands/AddThingToThingGroupCommand.d.ts +1 -1
  10. package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +2 -2
  11. package/dist-types/commands/AttachPolicyCommand.d.ts +1 -1
  12. package/dist-types/commands/AttachPrincipalPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/AttachSecurityProfileCommand.d.ts +1 -1
  14. package/dist-types/commands/AttachThingPrincipalCommand.d.ts +1 -1
  15. package/dist-types/commands/CancelAuditMitigationActionsTaskCommand.d.ts +1 -1
  16. package/dist-types/commands/CancelAuditTaskCommand.d.ts +1 -1
  17. package/dist-types/commands/CancelCertificateTransferCommand.d.ts +1 -1
  18. package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +1 -1
  19. package/dist-types/commands/CancelJobCommand.d.ts +1 -1
  20. package/dist-types/commands/CancelJobExecutionCommand.d.ts +2 -2
  21. package/dist-types/commands/ConfirmTopicRuleDestinationCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateAuditSuppressionCommand.d.ts +4 -4
  23. package/dist-types/commands/CreateAuthorizerCommand.d.ts +4 -4
  24. package/dist-types/commands/CreateBillingGroupCommand.d.ts +4 -4
  25. package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateCustomMetricCommand.d.ts +3 -3
  27. package/dist-types/commands/CreateDimensionCommand.d.ts +4 -4
  28. package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +5 -5
  29. package/dist-types/commands/CreateDynamicThingGroupCommand.d.ts +6 -6
  30. package/dist-types/commands/CreateFleetMetricCommand.d.ts +5 -5
  31. package/dist-types/commands/CreateJobCommand.d.ts +19 -19
  32. package/dist-types/commands/CreateJobTemplateCommand.d.ts +16 -16
  33. package/dist-types/commands/CreateKeysAndCertificateCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateMitigationActionCommand.d.ts +11 -11
  35. package/dist-types/commands/CreateOTAUpdateCommand.d.ts +28 -28
  36. package/dist-types/commands/CreatePolicyCommand.d.ts +3 -3
  37. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateProvisioningClaimCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateProvisioningTemplateCommand.d.ts +4 -4
  40. package/dist-types/commands/CreateProvisioningTemplateVersionCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateRoleAliasCommand.d.ts +3 -3
  42. package/dist-types/commands/CreateScheduledAuditCommand.d.ts +4 -4
  43. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +19 -19
  44. package/dist-types/commands/CreateStreamCommand.d.ts +6 -6
  45. package/dist-types/commands/CreateThingCommand.d.ts +3 -3
  46. package/dist-types/commands/CreateThingGroupCommand.d.ts +6 -6
  47. package/dist-types/commands/CreateThingTypeCommand.d.ts +5 -5
  48. package/dist-types/commands/CreateTopicRuleCommand.d.ts +47 -47
  49. package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +6 -6
  50. package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
  51. package/dist-types/commands/DeleteAuditSuppressionCommand.d.ts +4 -4
  52. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
  53. package/dist-types/commands/DeleteBillingGroupCommand.d.ts +1 -1
  54. package/dist-types/commands/DeleteCACertificateCommand.d.ts +1 -1
  55. package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteCustomMetricCommand.d.ts +1 -1
  57. package/dist-types/commands/DeleteDimensionCommand.d.ts +1 -1
  58. package/dist-types/commands/DeleteDomainConfigurationCommand.d.ts +1 -1
  59. package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +1 -1
  60. package/dist-types/commands/DeleteFleetMetricCommand.d.ts +1 -1
  61. package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
  62. package/dist-types/commands/DeleteJobExecutionCommand.d.ts +1 -1
  63. package/dist-types/commands/DeleteJobTemplateCommand.d.ts +1 -1
  64. package/dist-types/commands/DeleteMitigationActionCommand.d.ts +1 -1
  65. package/dist-types/commands/DeleteOTAUpdateCommand.d.ts +1 -1
  66. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  67. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -1
  68. package/dist-types/commands/DeleteProvisioningTemplateCommand.d.ts +1 -1
  69. package/dist-types/commands/DeleteProvisioningTemplateVersionCommand.d.ts +1 -1
  70. package/dist-types/commands/DeleteRoleAliasCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  72. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -1
  73. package/dist-types/commands/DeleteStreamCommand.d.ts +1 -1
  74. package/dist-types/commands/DeleteThingCommand.d.ts +1 -1
  75. package/dist-types/commands/DeleteThingGroupCommand.d.ts +1 -1
  76. package/dist-types/commands/DeleteThingTypeCommand.d.ts +1 -1
  77. package/dist-types/commands/DeleteTopicRuleCommand.d.ts +1 -1
  78. package/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +1 -1
  79. package/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
  80. package/dist-types/commands/DeprecateThingTypeCommand.d.ts +1 -1
  81. package/dist-types/commands/DescribeAuditFindingCommand.d.ts +1 -1
  82. package/dist-types/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +1 -1
  83. package/dist-types/commands/DescribeAuditSuppressionCommand.d.ts +4 -4
  84. package/dist-types/commands/DescribeAuditTaskCommand.d.ts +1 -1
  85. package/dist-types/commands/DescribeAuthorizerCommand.d.ts +1 -1
  86. package/dist-types/commands/DescribeBillingGroupCommand.d.ts +1 -1
  87. package/dist-types/commands/DescribeCACertificateCommand.d.ts +1 -1
  88. package/dist-types/commands/DescribeCertificateCommand.d.ts +1 -1
  89. package/dist-types/commands/DescribeCustomMetricCommand.d.ts +1 -1
  90. package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +1 -1
  91. package/dist-types/commands/DescribeDimensionCommand.d.ts +1 -1
  92. package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +1 -1
  93. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -1
  94. package/dist-types/commands/DescribeFleetMetricCommand.d.ts +1 -1
  95. package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
  96. package/dist-types/commands/DescribeJobCommand.d.ts +1 -1
  97. package/dist-types/commands/DescribeJobExecutionCommand.d.ts +1 -1
  98. package/dist-types/commands/DescribeJobTemplateCommand.d.ts +1 -1
  99. package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +1 -1
  100. package/dist-types/commands/DescribeMitigationActionCommand.d.ts +1 -1
  101. package/dist-types/commands/DescribeProvisioningTemplateCommand.d.ts +1 -1
  102. package/dist-types/commands/DescribeProvisioningTemplateVersionCommand.d.ts +1 -1
  103. package/dist-types/commands/DescribeRoleAliasCommand.d.ts +1 -1
  104. package/dist-types/commands/DescribeScheduledAuditCommand.d.ts +1 -1
  105. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  106. package/dist-types/commands/DescribeStreamCommand.d.ts +1 -1
  107. package/dist-types/commands/DescribeThingCommand.d.ts +1 -1
  108. package/dist-types/commands/DescribeThingGroupCommand.d.ts +1 -1
  109. package/dist-types/commands/DescribeThingRegistrationTaskCommand.d.ts +1 -1
  110. package/dist-types/commands/DescribeThingTypeCommand.d.ts +1 -1
  111. package/dist-types/commands/DetachPolicyCommand.d.ts +1 -1
  112. package/dist-types/commands/DetachPrincipalPolicyCommand.d.ts +1 -1
  113. package/dist-types/commands/DetachSecurityProfileCommand.d.ts +1 -1
  114. package/dist-types/commands/DetachThingPrincipalCommand.d.ts +1 -1
  115. package/dist-types/commands/DisableTopicRuleCommand.d.ts +1 -1
  116. package/dist-types/commands/EnableTopicRuleCommand.d.ts +1 -1
  117. package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +1 -1
  118. package/dist-types/commands/GetBucketsAggregationCommand.d.ts +3 -3
  119. package/dist-types/commands/GetCardinalityCommand.d.ts +1 -1
  120. package/dist-types/commands/GetEffectivePoliciesCommand.d.ts +1 -1
  121. package/dist-types/commands/GetJobDocumentCommand.d.ts +1 -1
  122. package/dist-types/commands/GetOTAUpdateCommand.d.ts +1 -1
  123. package/dist-types/commands/GetPercentilesCommand.d.ts +2 -2
  124. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  125. package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -1
  126. package/dist-types/commands/GetStatisticsCommand.d.ts +1 -1
  127. package/dist-types/commands/GetTopicRuleCommand.d.ts +1 -1
  128. package/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +1 -1
  129. package/dist-types/commands/ListActiveViolationsCommand.d.ts +1 -1
  130. package/dist-types/commands/ListAttachedPoliciesCommand.d.ts +1 -1
  131. package/dist-types/commands/ListAuditFindingsCommand.d.ts +4 -4
  132. package/dist-types/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +1 -1
  133. package/dist-types/commands/ListAuditMitigationActionsTasksCommand.d.ts +1 -1
  134. package/dist-types/commands/ListAuditSuppressionsCommand.d.ts +4 -4
  135. package/dist-types/commands/ListAuditTasksCommand.d.ts +1 -1
  136. package/dist-types/commands/ListAuthorizersCommand.d.ts +1 -1
  137. package/dist-types/commands/ListBillingGroupsCommand.d.ts +1 -1
  138. package/dist-types/commands/ListCACertificatesCommand.d.ts +1 -1
  139. package/dist-types/commands/ListCertificatesByCACommand.d.ts +1 -1
  140. package/dist-types/commands/ListCertificatesCommand.d.ts +1 -1
  141. package/dist-types/commands/ListCustomMetricsCommand.d.ts +1 -1
  142. package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +1 -1
  143. package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
  144. package/dist-types/commands/ListDimensionsCommand.d.ts +1 -1
  145. package/dist-types/commands/ListDomainConfigurationsCommand.d.ts +1 -1
  146. package/dist-types/commands/ListFleetMetricsCommand.d.ts +1 -1
  147. package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
  148. package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
  149. package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
  150. package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -1
  151. package/dist-types/commands/ListJobsCommand.d.ts +1 -1
  152. package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +1 -1
  153. package/dist-types/commands/ListMetricValuesCommand.d.ts +1 -1
  154. package/dist-types/commands/ListMitigationActionsCommand.d.ts +1 -1
  155. package/dist-types/commands/ListOTAUpdatesCommand.d.ts +1 -1
  156. package/dist-types/commands/ListOutgoingCertificatesCommand.d.ts +1 -1
  157. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
  158. package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +1 -1
  159. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -1
  160. package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +1 -1
  161. package/dist-types/commands/ListPrincipalThingsCommand.d.ts +1 -1
  162. package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
  163. package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
  164. package/dist-types/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +1 -1
  165. package/dist-types/commands/ListRoleAliasesCommand.d.ts +1 -1
  166. package/dist-types/commands/ListScheduledAuditsCommand.d.ts +1 -1
  167. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  168. package/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +1 -1
  169. package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
  170. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  171. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -1
  172. package/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +1 -1
  173. package/dist-types/commands/ListThingGroupsCommand.d.ts +1 -1
  174. package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +1 -1
  175. package/dist-types/commands/ListThingPrincipalsCommand.d.ts +1 -1
  176. package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  177. package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
  178. package/dist-types/commands/ListThingTypesCommand.d.ts +1 -1
  179. package/dist-types/commands/ListThingsCommand.d.ts +1 -1
  180. package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
  181. package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +1 -1
  182. package/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +1 -1
  183. package/dist-types/commands/ListTopicRulesCommand.d.ts +1 -1
  184. package/dist-types/commands/ListV2LoggingLevelsCommand.d.ts +1 -1
  185. package/dist-types/commands/ListViolationEventsCommand.d.ts +1 -1
  186. package/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +1 -1
  187. package/dist-types/commands/RegisterCACertificateCommand.d.ts +4 -4
  188. package/dist-types/commands/RegisterCertificateCommand.d.ts +1 -1
  189. package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +1 -1
  190. package/dist-types/commands/RegisterThingCommand.d.ts +2 -2
  191. package/dist-types/commands/RejectCertificateTransferCommand.d.ts +1 -1
  192. package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +1 -1
  193. package/dist-types/commands/RemoveThingFromThingGroupCommand.d.ts +1 -1
  194. package/dist-types/commands/ReplaceTopicRuleCommand.d.ts +47 -47
  195. package/dist-types/commands/SearchIndexCommand.d.ts +1 -1
  196. package/dist-types/commands/SetDefaultAuthorizerCommand.d.ts +1 -1
  197. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  198. package/dist-types/commands/SetLoggingOptionsCommand.d.ts +2 -2
  199. package/dist-types/commands/SetV2LoggingLevelCommand.d.ts +2 -2
  200. package/dist-types/commands/SetV2LoggingOptionsCommand.d.ts +1 -1
  201. package/dist-types/commands/StartAuditMitigationActionsTaskCommand.d.ts +7 -7
  202. package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +5 -5
  203. package/dist-types/commands/StartOnDemandAuditTaskCommand.d.ts +2 -2
  204. package/dist-types/commands/StartThingRegistrationTaskCommand.d.ts +1 -1
  205. package/dist-types/commands/StopThingRegistrationTaskCommand.d.ts +1 -1
  206. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  207. package/dist-types/commands/TestAuthorizationCommand.d.ts +5 -5
  208. package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +5 -5
  209. package/dist-types/commands/TransferCertificateCommand.d.ts +1 -1
  210. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  211. package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +5 -5
  212. package/dist-types/commands/UpdateAuditSuppressionCommand.d.ts +4 -4
  213. package/dist-types/commands/UpdateAuthorizerCommand.d.ts +2 -2
  214. package/dist-types/commands/UpdateBillingGroupCommand.d.ts +2 -2
  215. package/dist-types/commands/UpdateCACertificateCommand.d.ts +2 -2
  216. package/dist-types/commands/UpdateCertificateCommand.d.ts +1 -1
  217. package/dist-types/commands/UpdateCustomMetricCommand.d.ts +1 -1
  218. package/dist-types/commands/UpdateDimensionCommand.d.ts +2 -2
  219. package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +2 -2
  220. package/dist-types/commands/UpdateDynamicThingGroupCommand.d.ts +4 -4
  221. package/dist-types/commands/UpdateEventConfigurationsCommand.d.ts +3 -3
  222. package/dist-types/commands/UpdateFleetMetricCommand.d.ts +3 -3
  223. package/dist-types/commands/UpdateIndexingConfigurationCommand.d.ts +7 -7
  224. package/dist-types/commands/UpdateJobCommand.d.ts +12 -12
  225. package/dist-types/commands/UpdateMitigationActionCommand.d.ts +9 -9
  226. package/dist-types/commands/UpdateProvisioningTemplateCommand.d.ts +2 -2
  227. package/dist-types/commands/UpdateRoleAliasCommand.d.ts +1 -1
  228. package/dist-types/commands/UpdateScheduledAuditCommand.d.ts +2 -2
  229. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +17 -17
  230. package/dist-types/commands/UpdateStreamCommand.d.ts +4 -4
  231. package/dist-types/commands/UpdateThingCommand.d.ts +3 -3
  232. package/dist-types/commands/UpdateThingGroupCommand.d.ts +4 -4
  233. package/dist-types/commands/UpdateThingGroupsForThingCommand.d.ts +2 -2
  234. package/dist-types/commands/UpdateTopicRuleDestinationCommand.d.ts +1 -1
  235. package/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +12 -12
  236. package/dist-types/models/models_0.d.ts +461 -251
  237. package/dist-types/models/models_1.d.ts +259 -139
  238. package/dist-types/models/models_2.d.ts +19 -9
  239. package/dist-types/ts3.4/models/models_0.d.ts +322 -251
  240. package/dist-types/ts3.4/models/models_1.d.ts +179 -139
  241. package/dist-types/ts3.4/models/models_2.d.ts +12 -9
  242. package/package.json +34 -34
@@ -2,95 +2,83 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DetectMitigationActionExecutionStatus = exports.BehaviorCriteriaType = exports.NotConfiguredException = exports.ThingIndexingMode = exports.ThingConnectivityIndexingMode = exports.NamedShadowIndexingMode = exports.DeviceDefenderIndexingMode = exports.ThingGroupIndexingMode = exports.FieldType = exports.ModelStatus = exports.Status = exports.DynamicGroupStatus = exports.MitigationActionType = exports.InternalServerException = exports.JobExecutionStatus = exports.JobStatus = exports.IndexStatus = exports.EventType = exports.ServerCertificateStatus = exports.DomainType = exports.DomainConfigurationStatus = exports.DetectMitigationActionsTaskStatus = exports.CertificateStatus = exports.CACertificateStatus = exports.CertificateMode = exports.LogTargetType = void 0;
4
4
  const IoTServiceException_1 = require("./IoTServiceException");
5
- var LogTargetType;
6
- (function (LogTargetType) {
7
- LogTargetType["CLIENT_ID"] = "CLIENT_ID";
8
- LogTargetType["DEFAULT"] = "DEFAULT";
9
- LogTargetType["PRINCIPAL_ID"] = "PRINCIPAL_ID";
10
- LogTargetType["SOURCE_IP"] = "SOURCE_IP";
11
- LogTargetType["THING_GROUP"] = "THING_GROUP";
12
- })(LogTargetType = exports.LogTargetType || (exports.LogTargetType = {}));
13
- var CertificateMode;
14
- (function (CertificateMode) {
15
- CertificateMode["DEFAULT"] = "DEFAULT";
16
- CertificateMode["SNI_ONLY"] = "SNI_ONLY";
17
- })(CertificateMode = exports.CertificateMode || (exports.CertificateMode = {}));
18
- var CACertificateStatus;
19
- (function (CACertificateStatus) {
20
- CACertificateStatus["ACTIVE"] = "ACTIVE";
21
- CACertificateStatus["INACTIVE"] = "INACTIVE";
22
- })(CACertificateStatus = exports.CACertificateStatus || (exports.CACertificateStatus = {}));
23
- var CertificateStatus;
24
- (function (CertificateStatus) {
25
- CertificateStatus["ACTIVE"] = "ACTIVE";
26
- CertificateStatus["INACTIVE"] = "INACTIVE";
27
- CertificateStatus["PENDING_ACTIVATION"] = "PENDING_ACTIVATION";
28
- CertificateStatus["PENDING_TRANSFER"] = "PENDING_TRANSFER";
29
- CertificateStatus["REGISTER_INACTIVE"] = "REGISTER_INACTIVE";
30
- CertificateStatus["REVOKED"] = "REVOKED";
31
- })(CertificateStatus = exports.CertificateStatus || (exports.CertificateStatus = {}));
32
- var DetectMitigationActionsTaskStatus;
33
- (function (DetectMitigationActionsTaskStatus) {
34
- DetectMitigationActionsTaskStatus["CANCELED"] = "CANCELED";
35
- DetectMitigationActionsTaskStatus["FAILED"] = "FAILED";
36
- DetectMitigationActionsTaskStatus["IN_PROGRESS"] = "IN_PROGRESS";
37
- DetectMitigationActionsTaskStatus["SUCCESSFUL"] = "SUCCESSFUL";
38
- })(DetectMitigationActionsTaskStatus = exports.DetectMitigationActionsTaskStatus || (exports.DetectMitigationActionsTaskStatus = {}));
39
- var DomainConfigurationStatus;
40
- (function (DomainConfigurationStatus) {
41
- DomainConfigurationStatus["DISABLED"] = "DISABLED";
42
- DomainConfigurationStatus["ENABLED"] = "ENABLED";
43
- })(DomainConfigurationStatus = exports.DomainConfigurationStatus || (exports.DomainConfigurationStatus = {}));
44
- var DomainType;
45
- (function (DomainType) {
46
- DomainType["AWS_MANAGED"] = "AWS_MANAGED";
47
- DomainType["CUSTOMER_MANAGED"] = "CUSTOMER_MANAGED";
48
- DomainType["ENDPOINT"] = "ENDPOINT";
49
- })(DomainType = exports.DomainType || (exports.DomainType = {}));
50
- var ServerCertificateStatus;
51
- (function (ServerCertificateStatus) {
52
- ServerCertificateStatus["INVALID"] = "INVALID";
53
- ServerCertificateStatus["VALID"] = "VALID";
54
- })(ServerCertificateStatus = exports.ServerCertificateStatus || (exports.ServerCertificateStatus = {}));
55
- var EventType;
56
- (function (EventType) {
57
- EventType["CA_CERTIFICATE"] = "CA_CERTIFICATE";
58
- EventType["CERTIFICATE"] = "CERTIFICATE";
59
- EventType["JOB"] = "JOB";
60
- EventType["JOB_EXECUTION"] = "JOB_EXECUTION";
61
- EventType["POLICY"] = "POLICY";
62
- EventType["THING"] = "THING";
63
- EventType["THING_GROUP"] = "THING_GROUP";
64
- EventType["THING_GROUP_HIERARCHY"] = "THING_GROUP_HIERARCHY";
65
- EventType["THING_GROUP_MEMBERSHIP"] = "THING_GROUP_MEMBERSHIP";
66
- EventType["THING_TYPE"] = "THING_TYPE";
67
- EventType["THING_TYPE_ASSOCIATION"] = "THING_TYPE_ASSOCIATION";
68
- })(EventType = exports.EventType || (exports.EventType = {}));
69
- var IndexStatus;
70
- (function (IndexStatus) {
71
- IndexStatus["ACTIVE"] = "ACTIVE";
72
- IndexStatus["BUILDING"] = "BUILDING";
73
- IndexStatus["REBUILDING"] = "REBUILDING";
74
- })(IndexStatus = exports.IndexStatus || (exports.IndexStatus = {}));
75
- var JobStatus;
76
- (function (JobStatus) {
77
- JobStatus["CANCELED"] = "CANCELED";
78
- JobStatus["COMPLETED"] = "COMPLETED";
79
- JobStatus["DELETION_IN_PROGRESS"] = "DELETION_IN_PROGRESS";
80
- JobStatus["IN_PROGRESS"] = "IN_PROGRESS";
81
- JobStatus["SCHEDULED"] = "SCHEDULED";
82
- })(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
83
- var JobExecutionStatus;
84
- (function (JobExecutionStatus) {
85
- JobExecutionStatus["CANCELED"] = "CANCELED";
86
- JobExecutionStatus["FAILED"] = "FAILED";
87
- JobExecutionStatus["IN_PROGRESS"] = "IN_PROGRESS";
88
- JobExecutionStatus["QUEUED"] = "QUEUED";
89
- JobExecutionStatus["REJECTED"] = "REJECTED";
90
- JobExecutionStatus["REMOVED"] = "REMOVED";
91
- JobExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
92
- JobExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
93
- })(JobExecutionStatus = exports.JobExecutionStatus || (exports.JobExecutionStatus = {}));
5
+ exports.LogTargetType = {
6
+ CLIENT_ID: "CLIENT_ID",
7
+ DEFAULT: "DEFAULT",
8
+ PRINCIPAL_ID: "PRINCIPAL_ID",
9
+ SOURCE_IP: "SOURCE_IP",
10
+ THING_GROUP: "THING_GROUP",
11
+ };
12
+ exports.CertificateMode = {
13
+ DEFAULT: "DEFAULT",
14
+ SNI_ONLY: "SNI_ONLY",
15
+ };
16
+ exports.CACertificateStatus = {
17
+ ACTIVE: "ACTIVE",
18
+ INACTIVE: "INACTIVE",
19
+ };
20
+ exports.CertificateStatus = {
21
+ ACTIVE: "ACTIVE",
22
+ INACTIVE: "INACTIVE",
23
+ PENDING_ACTIVATION: "PENDING_ACTIVATION",
24
+ PENDING_TRANSFER: "PENDING_TRANSFER",
25
+ REGISTER_INACTIVE: "REGISTER_INACTIVE",
26
+ REVOKED: "REVOKED",
27
+ };
28
+ exports.DetectMitigationActionsTaskStatus = {
29
+ CANCELED: "CANCELED",
30
+ FAILED: "FAILED",
31
+ IN_PROGRESS: "IN_PROGRESS",
32
+ SUCCESSFUL: "SUCCESSFUL",
33
+ };
34
+ exports.DomainConfigurationStatus = {
35
+ DISABLED: "DISABLED",
36
+ ENABLED: "ENABLED",
37
+ };
38
+ exports.DomainType = {
39
+ AWS_MANAGED: "AWS_MANAGED",
40
+ CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
41
+ ENDPOINT: "ENDPOINT",
42
+ };
43
+ exports.ServerCertificateStatus = {
44
+ INVALID: "INVALID",
45
+ VALID: "VALID",
46
+ };
47
+ exports.EventType = {
48
+ CA_CERTIFICATE: "CA_CERTIFICATE",
49
+ CERTIFICATE: "CERTIFICATE",
50
+ JOB: "JOB",
51
+ JOB_EXECUTION: "JOB_EXECUTION",
52
+ POLICY: "POLICY",
53
+ THING: "THING",
54
+ THING_GROUP: "THING_GROUP",
55
+ THING_GROUP_HIERARCHY: "THING_GROUP_HIERARCHY",
56
+ THING_GROUP_MEMBERSHIP: "THING_GROUP_MEMBERSHIP",
57
+ THING_TYPE: "THING_TYPE",
58
+ THING_TYPE_ASSOCIATION: "THING_TYPE_ASSOCIATION",
59
+ };
60
+ exports.IndexStatus = {
61
+ ACTIVE: "ACTIVE",
62
+ BUILDING: "BUILDING",
63
+ REBUILDING: "REBUILDING",
64
+ };
65
+ exports.JobStatus = {
66
+ CANCELED: "CANCELED",
67
+ COMPLETED: "COMPLETED",
68
+ DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
69
+ IN_PROGRESS: "IN_PROGRESS",
70
+ SCHEDULED: "SCHEDULED",
71
+ };
72
+ exports.JobExecutionStatus = {
73
+ CANCELED: "CANCELED",
74
+ FAILED: "FAILED",
75
+ IN_PROGRESS: "IN_PROGRESS",
76
+ QUEUED: "QUEUED",
77
+ REJECTED: "REJECTED",
78
+ REMOVED: "REMOVED",
79
+ SUCCEEDED: "SUCCEEDED",
80
+ TIMED_OUT: "TIMED_OUT",
81
+ };
94
82
  class InternalServerException extends IoTServiceException_1.IoTServiceException {
95
83
  constructor(opts) {
96
84
  super({
@@ -104,67 +92,57 @@ class InternalServerException extends IoTServiceException_1.IoTServiceException
104
92
  }
105
93
  }
106
94
  exports.InternalServerException = InternalServerException;
107
- var MitigationActionType;
108
- (function (MitigationActionType) {
109
- MitigationActionType["ADD_THINGS_TO_THING_GROUP"] = "ADD_THINGS_TO_THING_GROUP";
110
- MitigationActionType["ENABLE_IOT_LOGGING"] = "ENABLE_IOT_LOGGING";
111
- MitigationActionType["PUBLISH_FINDING_TO_SNS"] = "PUBLISH_FINDING_TO_SNS";
112
- MitigationActionType["REPLACE_DEFAULT_POLICY_VERSION"] = "REPLACE_DEFAULT_POLICY_VERSION";
113
- MitigationActionType["UPDATE_CA_CERTIFICATE"] = "UPDATE_CA_CERTIFICATE";
114
- MitigationActionType["UPDATE_DEVICE_CERTIFICATE"] = "UPDATE_DEVICE_CERTIFICATE";
115
- })(MitigationActionType = exports.MitigationActionType || (exports.MitigationActionType = {}));
116
- var DynamicGroupStatus;
117
- (function (DynamicGroupStatus) {
118
- DynamicGroupStatus["ACTIVE"] = "ACTIVE";
119
- DynamicGroupStatus["BUILDING"] = "BUILDING";
120
- DynamicGroupStatus["REBUILDING"] = "REBUILDING";
121
- })(DynamicGroupStatus = exports.DynamicGroupStatus || (exports.DynamicGroupStatus = {}));
122
- var Status;
123
- (function (Status) {
124
- Status["Cancelled"] = "Cancelled";
125
- Status["Cancelling"] = "Cancelling";
126
- Status["Completed"] = "Completed";
127
- Status["Failed"] = "Failed";
128
- Status["InProgress"] = "InProgress";
129
- })(Status = exports.Status || (exports.Status = {}));
130
- var ModelStatus;
131
- (function (ModelStatus) {
132
- ModelStatus["ACTIVE"] = "ACTIVE";
133
- ModelStatus["EXPIRED"] = "EXPIRED";
134
- ModelStatus["PENDING_BUILD"] = "PENDING_BUILD";
135
- })(ModelStatus = exports.ModelStatus || (exports.ModelStatus = {}));
136
- var FieldType;
137
- (function (FieldType) {
138
- FieldType["BOOLEAN"] = "Boolean";
139
- FieldType["NUMBER"] = "Number";
140
- FieldType["STRING"] = "String";
141
- })(FieldType = exports.FieldType || (exports.FieldType = {}));
142
- var ThingGroupIndexingMode;
143
- (function (ThingGroupIndexingMode) {
144
- ThingGroupIndexingMode["OFF"] = "OFF";
145
- ThingGroupIndexingMode["ON"] = "ON";
146
- })(ThingGroupIndexingMode = exports.ThingGroupIndexingMode || (exports.ThingGroupIndexingMode = {}));
147
- var DeviceDefenderIndexingMode;
148
- (function (DeviceDefenderIndexingMode) {
149
- DeviceDefenderIndexingMode["OFF"] = "OFF";
150
- DeviceDefenderIndexingMode["VIOLATIONS"] = "VIOLATIONS";
151
- })(DeviceDefenderIndexingMode = exports.DeviceDefenderIndexingMode || (exports.DeviceDefenderIndexingMode = {}));
152
- var NamedShadowIndexingMode;
153
- (function (NamedShadowIndexingMode) {
154
- NamedShadowIndexingMode["OFF"] = "OFF";
155
- NamedShadowIndexingMode["ON"] = "ON";
156
- })(NamedShadowIndexingMode = exports.NamedShadowIndexingMode || (exports.NamedShadowIndexingMode = {}));
157
- var ThingConnectivityIndexingMode;
158
- (function (ThingConnectivityIndexingMode) {
159
- ThingConnectivityIndexingMode["OFF"] = "OFF";
160
- ThingConnectivityIndexingMode["STATUS"] = "STATUS";
161
- })(ThingConnectivityIndexingMode = exports.ThingConnectivityIndexingMode || (exports.ThingConnectivityIndexingMode = {}));
162
- var ThingIndexingMode;
163
- (function (ThingIndexingMode) {
164
- ThingIndexingMode["OFF"] = "OFF";
165
- ThingIndexingMode["REGISTRY"] = "REGISTRY";
166
- ThingIndexingMode["REGISTRY_AND_SHADOW"] = "REGISTRY_AND_SHADOW";
167
- })(ThingIndexingMode = exports.ThingIndexingMode || (exports.ThingIndexingMode = {}));
95
+ exports.MitigationActionType = {
96
+ ADD_THINGS_TO_THING_GROUP: "ADD_THINGS_TO_THING_GROUP",
97
+ ENABLE_IOT_LOGGING: "ENABLE_IOT_LOGGING",
98
+ PUBLISH_FINDING_TO_SNS: "PUBLISH_FINDING_TO_SNS",
99
+ REPLACE_DEFAULT_POLICY_VERSION: "REPLACE_DEFAULT_POLICY_VERSION",
100
+ UPDATE_CA_CERTIFICATE: "UPDATE_CA_CERTIFICATE",
101
+ UPDATE_DEVICE_CERTIFICATE: "UPDATE_DEVICE_CERTIFICATE",
102
+ };
103
+ exports.DynamicGroupStatus = {
104
+ ACTIVE: "ACTIVE",
105
+ BUILDING: "BUILDING",
106
+ REBUILDING: "REBUILDING",
107
+ };
108
+ exports.Status = {
109
+ Cancelled: "Cancelled",
110
+ Cancelling: "Cancelling",
111
+ Completed: "Completed",
112
+ Failed: "Failed",
113
+ InProgress: "InProgress",
114
+ };
115
+ exports.ModelStatus = {
116
+ ACTIVE: "ACTIVE",
117
+ EXPIRED: "EXPIRED",
118
+ PENDING_BUILD: "PENDING_BUILD",
119
+ };
120
+ exports.FieldType = {
121
+ BOOLEAN: "Boolean",
122
+ NUMBER: "Number",
123
+ STRING: "String",
124
+ };
125
+ exports.ThingGroupIndexingMode = {
126
+ OFF: "OFF",
127
+ ON: "ON",
128
+ };
129
+ exports.DeviceDefenderIndexingMode = {
130
+ OFF: "OFF",
131
+ VIOLATIONS: "VIOLATIONS",
132
+ };
133
+ exports.NamedShadowIndexingMode = {
134
+ OFF: "OFF",
135
+ ON: "ON",
136
+ };
137
+ exports.ThingConnectivityIndexingMode = {
138
+ OFF: "OFF",
139
+ STATUS: "STATUS",
140
+ };
141
+ exports.ThingIndexingMode = {
142
+ OFF: "OFF",
143
+ REGISTRY: "REGISTRY",
144
+ REGISTRY_AND_SHADOW: "REGISTRY_AND_SHADOW",
145
+ };
168
146
  class NotConfiguredException extends IoTServiceException_1.IoTServiceException {
169
147
  constructor(opts) {
170
148
  super({
@@ -178,16 +156,14 @@ class NotConfiguredException extends IoTServiceException_1.IoTServiceException {
178
156
  }
179
157
  }
180
158
  exports.NotConfiguredException = NotConfiguredException;
181
- var BehaviorCriteriaType;
182
- (function (BehaviorCriteriaType) {
183
- BehaviorCriteriaType["MACHINE_LEARNING"] = "MACHINE_LEARNING";
184
- BehaviorCriteriaType["STATIC"] = "STATIC";
185
- BehaviorCriteriaType["STATISTICAL"] = "STATISTICAL";
186
- })(BehaviorCriteriaType = exports.BehaviorCriteriaType || (exports.BehaviorCriteriaType = {}));
187
- var DetectMitigationActionExecutionStatus;
188
- (function (DetectMitigationActionExecutionStatus) {
189
- DetectMitigationActionExecutionStatus["FAILED"] = "FAILED";
190
- DetectMitigationActionExecutionStatus["IN_PROGRESS"] = "IN_PROGRESS";
191
- DetectMitigationActionExecutionStatus["SKIPPED"] = "SKIPPED";
192
- DetectMitigationActionExecutionStatus["SUCCESSFUL"] = "SUCCESSFUL";
193
- })(DetectMitigationActionExecutionStatus = exports.DetectMitigationActionExecutionStatus || (exports.DetectMitigationActionExecutionStatus = {}));
159
+ exports.BehaviorCriteriaType = {
160
+ MACHINE_LEARNING: "MACHINE_LEARNING",
161
+ STATIC: "STATIC",
162
+ STATISTICAL: "STATISTICAL",
163
+ };
164
+ exports.DetectMitigationActionExecutionStatus = {
165
+ FAILED: "FAILED",
166
+ IN_PROGRESS: "IN_PROGRESS",
167
+ SKIPPED: "SKIPPED",
168
+ SUCCESSFUL: "SUCCESSFUL",
169
+ };
@@ -2,17 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TransferConflictException = exports.InvalidResponseException = exports.TaskAlreadyExistsException = exports.ResourceRegistrationFailureException = exports.CertificateConflictException = exports.RegistrationCodeValidationException = exports.ViolationEventType = exports.ReportType = void 0;
4
4
  const IoTServiceException_1 = require("./IoTServiceException");
5
- var ReportType;
6
- (function (ReportType) {
7
- ReportType["ERRORS"] = "ERRORS";
8
- ReportType["RESULTS"] = "RESULTS";
9
- })(ReportType = exports.ReportType || (exports.ReportType = {}));
10
- var ViolationEventType;
11
- (function (ViolationEventType) {
12
- ViolationEventType["ALARM_CLEARED"] = "alarm-cleared";
13
- ViolationEventType["ALARM_INVALIDATED"] = "alarm-invalidated";
14
- ViolationEventType["IN_ALARM"] = "in-alarm";
15
- })(ViolationEventType = exports.ViolationEventType || (exports.ViolationEventType = {}));
5
+ exports.ReportType = {
6
+ ERRORS: "ERRORS",
7
+ RESULTS: "RESULTS",
8
+ };
9
+ exports.ViolationEventType = {
10
+ ALARM_CLEARED: "alarm-cleared",
11
+ ALARM_INVALIDATED: "alarm-invalidated",
12
+ IN_ALARM: "in-alarm",
13
+ };
16
14
  class RegistrationCodeValidationException extends IoTServiceException_1.IoTServiceException {
17
15
  constructor(opts) {
18
16
  super({