aws-sdk-iot 1.10.0 → 1.11.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.
@@ -15,10 +15,16 @@ module Aws::IoT
15
15
  Action = Shapes::StructureShape.new(name: 'Action')
16
16
  ActionList = Shapes::ListShape.new(name: 'ActionList')
17
17
  ActionType = Shapes::StringShape.new(name: 'ActionType')
18
+ ActiveViolation = Shapes::StructureShape.new(name: 'ActiveViolation')
19
+ ActiveViolations = Shapes::ListShape.new(name: 'ActiveViolations')
18
20
  AddThingToThingGroupRequest = Shapes::StructureShape.new(name: 'AddThingToThingGroupRequest')
19
21
  AddThingToThingGroupResponse = Shapes::StructureShape.new(name: 'AddThingToThingGroupResponse')
20
22
  AdditionalParameterMap = Shapes::MapShape.new(name: 'AdditionalParameterMap')
21
23
  AlarmName = Shapes::StringShape.new(name: 'AlarmName')
24
+ AlertTarget = Shapes::StructureShape.new(name: 'AlertTarget')
25
+ AlertTargetArn = Shapes::StringShape.new(name: 'AlertTargetArn')
26
+ AlertTargetType = Shapes::StringShape.new(name: 'AlertTargetType')
27
+ AlertTargets = Shapes::MapShape.new(name: 'AlertTargets')
22
28
  AllowAutoRegistration = Shapes::BooleanShape.new(name: 'AllowAutoRegistration')
23
29
  Allowed = Shapes::StructureShape.new(name: 'Allowed')
24
30
  AscendingOrder = Shapes::BooleanShape.new(name: 'AscendingOrder')
@@ -26,6 +32,8 @@ module Aws::IoT
26
32
  AssociateTargetsWithJobResponse = Shapes::StructureShape.new(name: 'AssociateTargetsWithJobResponse')
27
33
  AttachPolicyRequest = Shapes::StructureShape.new(name: 'AttachPolicyRequest')
28
34
  AttachPrincipalPolicyRequest = Shapes::StructureShape.new(name: 'AttachPrincipalPolicyRequest')
35
+ AttachSecurityProfileRequest = Shapes::StructureShape.new(name: 'AttachSecurityProfileRequest')
36
+ AttachSecurityProfileResponse = Shapes::StructureShape.new(name: 'AttachSecurityProfileResponse')
29
37
  AttachThingPrincipalRequest = Shapes::StructureShape.new(name: 'AttachThingPrincipalRequest')
30
38
  AttachThingPrincipalResponse = Shapes::StructureShape.new(name: 'AttachThingPrincipalResponse')
31
39
  AttributeName = Shapes::StringShape.new(name: 'AttributeName')
@@ -33,6 +41,24 @@ module Aws::IoT
33
41
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
34
42
  Attributes = Shapes::MapShape.new(name: 'Attributes')
35
43
  AttributesMap = Shapes::MapShape.new(name: 'AttributesMap')
44
+ AuditCheckConfiguration = Shapes::StructureShape.new(name: 'AuditCheckConfiguration')
45
+ AuditCheckConfigurations = Shapes::MapShape.new(name: 'AuditCheckConfigurations')
46
+ AuditCheckDetails = Shapes::StructureShape.new(name: 'AuditCheckDetails')
47
+ AuditCheckName = Shapes::StringShape.new(name: 'AuditCheckName')
48
+ AuditCheckRunStatus = Shapes::StringShape.new(name: 'AuditCheckRunStatus')
49
+ AuditDetails = Shapes::MapShape.new(name: 'AuditDetails')
50
+ AuditFinding = Shapes::StructureShape.new(name: 'AuditFinding')
51
+ AuditFindingSeverity = Shapes::StringShape.new(name: 'AuditFindingSeverity')
52
+ AuditFindings = Shapes::ListShape.new(name: 'AuditFindings')
53
+ AuditFrequency = Shapes::StringShape.new(name: 'AuditFrequency')
54
+ AuditNotificationTarget = Shapes::StructureShape.new(name: 'AuditNotificationTarget')
55
+ AuditNotificationTargetConfigurations = Shapes::MapShape.new(name: 'AuditNotificationTargetConfigurations')
56
+ AuditNotificationType = Shapes::StringShape.new(name: 'AuditNotificationType')
57
+ AuditTaskId = Shapes::StringShape.new(name: 'AuditTaskId')
58
+ AuditTaskMetadata = Shapes::StructureShape.new(name: 'AuditTaskMetadata')
59
+ AuditTaskMetadataList = Shapes::ListShape.new(name: 'AuditTaskMetadataList')
60
+ AuditTaskStatus = Shapes::StringShape.new(name: 'AuditTaskStatus')
61
+ AuditTaskType = Shapes::StringShape.new(name: 'AuditTaskType')
36
62
  AuthDecision = Shapes::StringShape.new(name: 'AuthDecision')
37
63
  AuthInfo = Shapes::StructureShape.new(name: 'AuthInfo')
38
64
  AuthInfos = Shapes::ListShape.new(name: 'AuthInfos')
@@ -51,16 +77,24 @@ module Aws::IoT
51
77
  AwsIotJobArn = Shapes::StringShape.new(name: 'AwsIotJobArn')
52
78
  AwsIotJobId = Shapes::StringShape.new(name: 'AwsIotJobId')
53
79
  AwsIotSqlVersion = Shapes::StringShape.new(name: 'AwsIotSqlVersion')
80
+ Behavior = Shapes::StructureShape.new(name: 'Behavior')
81
+ BehaviorCriteria = Shapes::StructureShape.new(name: 'BehaviorCriteria')
82
+ BehaviorMetric = Shapes::StringShape.new(name: 'BehaviorMetric')
83
+ BehaviorName = Shapes::StringShape.new(name: 'BehaviorName')
84
+ Behaviors = Shapes::ListShape.new(name: 'Behaviors')
54
85
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
55
86
  BucketName = Shapes::StringShape.new(name: 'BucketName')
56
87
  CACertificate = Shapes::StructureShape.new(name: 'CACertificate')
57
88
  CACertificateDescription = Shapes::StructureShape.new(name: 'CACertificateDescription')
58
89
  CACertificateStatus = Shapes::StringShape.new(name: 'CACertificateStatus')
59
90
  CACertificates = Shapes::ListShape.new(name: 'CACertificates')
91
+ CancelAuditTaskRequest = Shapes::StructureShape.new(name: 'CancelAuditTaskRequest')
92
+ CancelAuditTaskResponse = Shapes::StructureShape.new(name: 'CancelAuditTaskResponse')
60
93
  CancelCertificateTransferRequest = Shapes::StructureShape.new(name: 'CancelCertificateTransferRequest')
61
94
  CancelJobExecutionRequest = Shapes::StructureShape.new(name: 'CancelJobExecutionRequest')
62
95
  CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
63
96
  CancelJobResponse = Shapes::StructureShape.new(name: 'CancelJobResponse')
97
+ CanceledChecksCount = Shapes::IntegerShape.new(name: 'CanceledChecksCount')
64
98
  CanceledThings = Shapes::IntegerShape.new(name: 'CanceledThings')
65
99
  CannedAccessControlList = Shapes::StringShape.new(name: 'CannedAccessControlList')
66
100
  Certificate = Shapes::StructureShape.new(name: 'Certificate')
@@ -74,8 +108,12 @@ module Aws::IoT
74
108
  CertificateStateException = Shapes::StructureShape.new(name: 'CertificateStateException')
75
109
  CertificateStatus = Shapes::StringShape.new(name: 'CertificateStatus')
76
110
  CertificateValidationException = Shapes::StructureShape.new(name: 'CertificateValidationException')
111
+ CertificateValidity = Shapes::StructureShape.new(name: 'CertificateValidity')
77
112
  Certificates = Shapes::ListShape.new(name: 'Certificates')
78
113
  ChannelName = Shapes::StringShape.new(name: 'ChannelName')
114
+ CheckCompliant = Shapes::BooleanShape.new(name: 'CheckCompliant')
115
+ Cidr = Shapes::StringShape.new(name: 'Cidr')
116
+ Cidrs = Shapes::ListShape.new(name: 'Cidrs')
79
117
  ClearDefaultAuthorizerRequest = Shapes::StructureShape.new(name: 'ClearDefaultAuthorizerRequest')
80
118
  ClearDefaultAuthorizerResponse = Shapes::StructureShape.new(name: 'ClearDefaultAuthorizerResponse')
81
119
  ClientId = Shapes::StringShape.new(name: 'ClientId')
@@ -87,6 +125,8 @@ module Aws::IoT
87
125
  CodeSigningSignature = Shapes::StructureShape.new(name: 'CodeSigningSignature')
88
126
  CognitoIdentityPoolId = Shapes::StringShape.new(name: 'CognitoIdentityPoolId')
89
127
  Comment = Shapes::StringShape.new(name: 'Comment')
128
+ ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
129
+ CompliantChecksCount = Shapes::IntegerShape.new(name: 'CompliantChecksCount')
90
130
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
91
131
  ConflictingResourceUpdateException = Shapes::StructureShape.new(name: 'ConflictingResourceUpdateException')
92
132
  Count = Shapes::IntegerShape.new(name: 'Count')
@@ -106,6 +146,10 @@ module Aws::IoT
106
146
  CreatePolicyVersionResponse = Shapes::StructureShape.new(name: 'CreatePolicyVersionResponse')
107
147
  CreateRoleAliasRequest = Shapes::StructureShape.new(name: 'CreateRoleAliasRequest')
108
148
  CreateRoleAliasResponse = Shapes::StructureShape.new(name: 'CreateRoleAliasResponse')
149
+ CreateScheduledAuditRequest = Shapes::StructureShape.new(name: 'CreateScheduledAuditRequest')
150
+ CreateScheduledAuditResponse = Shapes::StructureShape.new(name: 'CreateScheduledAuditResponse')
151
+ CreateSecurityProfileRequest = Shapes::StructureShape.new(name: 'CreateSecurityProfileRequest')
152
+ CreateSecurityProfileResponse = Shapes::StructureShape.new(name: 'CreateSecurityProfileResponse')
109
153
  CreateStreamRequest = Shapes::StructureShape.new(name: 'CreateStreamRequest')
110
154
  CreateStreamResponse = Shapes::StructureShape.new(name: 'CreateStreamResponse')
111
155
  CreateThingGroupRequest = Shapes::StructureShape.new(name: 'CreateThingGroupRequest')
@@ -121,6 +165,10 @@ module Aws::IoT
121
165
  CustomCodeSigning = Shapes::StructureShape.new(name: 'CustomCodeSigning')
122
166
  CustomerVersion = Shapes::IntegerShape.new(name: 'CustomerVersion')
123
167
  DateType = Shapes::TimestampShape.new(name: 'DateType')
168
+ DayOfMonth = Shapes::StringShape.new(name: 'DayOfMonth')
169
+ DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
170
+ DeleteAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteAccountAuditConfigurationRequest')
171
+ DeleteAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteAccountAuditConfigurationResponse')
124
172
  DeleteAuthorizerRequest = Shapes::StructureShape.new(name: 'DeleteAuthorizerRequest')
125
173
  DeleteAuthorizerResponse = Shapes::StructureShape.new(name: 'DeleteAuthorizerResponse')
126
174
  DeleteCACertificateRequest = Shapes::StructureShape.new(name: 'DeleteCACertificateRequest')
@@ -137,6 +185,11 @@ module Aws::IoT
137
185
  DeleteRegistrationCodeResponse = Shapes::StructureShape.new(name: 'DeleteRegistrationCodeResponse')
138
186
  DeleteRoleAliasRequest = Shapes::StructureShape.new(name: 'DeleteRoleAliasRequest')
139
187
  DeleteRoleAliasResponse = Shapes::StructureShape.new(name: 'DeleteRoleAliasResponse')
188
+ DeleteScheduledAuditRequest = Shapes::StructureShape.new(name: 'DeleteScheduledAuditRequest')
189
+ DeleteScheduledAuditResponse = Shapes::StructureShape.new(name: 'DeleteScheduledAuditResponse')
190
+ DeleteScheduledAudits = Shapes::BooleanShape.new(name: 'DeleteScheduledAudits')
191
+ DeleteSecurityProfileRequest = Shapes::StructureShape.new(name: 'DeleteSecurityProfileRequest')
192
+ DeleteSecurityProfileResponse = Shapes::StructureShape.new(name: 'DeleteSecurityProfileResponse')
140
193
  DeleteStreamRequest = Shapes::StructureShape.new(name: 'DeleteStreamRequest')
141
194
  DeleteStreamResponse = Shapes::StructureShape.new(name: 'DeleteStreamResponse')
142
195
  DeleteThingGroupRequest = Shapes::StructureShape.new(name: 'DeleteThingGroupRequest')
@@ -152,6 +205,10 @@ module Aws::IoT
152
205
  DeprecateThingTypeRequest = Shapes::StructureShape.new(name: 'DeprecateThingTypeRequest')
153
206
  DeprecateThingTypeResponse = Shapes::StructureShape.new(name: 'DeprecateThingTypeResponse')
154
207
  DeprecationDate = Shapes::TimestampShape.new(name: 'DeprecationDate')
208
+ DescribeAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAccountAuditConfigurationRequest')
209
+ DescribeAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeAccountAuditConfigurationResponse')
210
+ DescribeAuditTaskRequest = Shapes::StructureShape.new(name: 'DescribeAuditTaskRequest')
211
+ DescribeAuditTaskResponse = Shapes::StructureShape.new(name: 'DescribeAuditTaskResponse')
155
212
  DescribeAuthorizerRequest = Shapes::StructureShape.new(name: 'DescribeAuthorizerRequest')
156
213
  DescribeAuthorizerResponse = Shapes::StructureShape.new(name: 'DescribeAuthorizerResponse')
157
214
  DescribeCACertificateRequest = Shapes::StructureShape.new(name: 'DescribeCACertificateRequest')
@@ -172,6 +229,10 @@ module Aws::IoT
172
229
  DescribeJobResponse = Shapes::StructureShape.new(name: 'DescribeJobResponse')
173
230
  DescribeRoleAliasRequest = Shapes::StructureShape.new(name: 'DescribeRoleAliasRequest')
174
231
  DescribeRoleAliasResponse = Shapes::StructureShape.new(name: 'DescribeRoleAliasResponse')
232
+ DescribeScheduledAuditRequest = Shapes::StructureShape.new(name: 'DescribeScheduledAuditRequest')
233
+ DescribeScheduledAuditResponse = Shapes::StructureShape.new(name: 'DescribeScheduledAuditResponse')
234
+ DescribeSecurityProfileRequest = Shapes::StructureShape.new(name: 'DescribeSecurityProfileRequest')
235
+ DescribeSecurityProfileResponse = Shapes::StructureShape.new(name: 'DescribeSecurityProfileResponse')
175
236
  DescribeStreamRequest = Shapes::StructureShape.new(name: 'DescribeStreamRequest')
176
237
  DescribeStreamResponse = Shapes::StructureShape.new(name: 'DescribeStreamResponse')
177
238
  DescribeThingGroupRequest = Shapes::StructureShape.new(name: 'DescribeThingGroupRequest')
@@ -185,6 +246,8 @@ module Aws::IoT
185
246
  Description = Shapes::StringShape.new(name: 'Description')
186
247
  DetachPolicyRequest = Shapes::StructureShape.new(name: 'DetachPolicyRequest')
187
248
  DetachPrincipalPolicyRequest = Shapes::StructureShape.new(name: 'DetachPrincipalPolicyRequest')
249
+ DetachSecurityProfileRequest = Shapes::StructureShape.new(name: 'DetachSecurityProfileRequest')
250
+ DetachSecurityProfileResponse = Shapes::StructureShape.new(name: 'DetachSecurityProfileResponse')
188
251
  DetachThingPrincipalRequest = Shapes::StructureShape.new(name: 'DetachThingPrincipalRequest')
189
252
  DetachThingPrincipalResponse = Shapes::StructureShape.new(name: 'DetachThingPrincipalResponse')
190
253
  DetailsKey = Shapes::StringShape.new(name: 'DetailsKey')
@@ -192,6 +255,7 @@ module Aws::IoT
192
255
  DetailsValue = Shapes::StringShape.new(name: 'DetailsValue')
193
256
  DisableAllLogs = Shapes::BooleanShape.new(name: 'DisableAllLogs')
194
257
  DisableTopicRuleRequest = Shapes::StructureShape.new(name: 'DisableTopicRuleRequest')
258
+ DurationSeconds = Shapes::IntegerShape.new(name: 'DurationSeconds')
195
259
  DynamoDBAction = Shapes::StructureShape.new(name: 'DynamoDBAction')
196
260
  DynamoDBv2Action = Shapes::StructureShape.new(name: 'DynamoDBv2Action')
197
261
  DynamoKeyType = Shapes::StringShape.new(name: 'DynamoKeyType')
@@ -207,14 +271,17 @@ module Aws::IoT
207
271
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
208
272
  EndpointAddress = Shapes::StringShape.new(name: 'EndpointAddress')
209
273
  EndpointType = Shapes::StringShape.new(name: 'EndpointType')
274
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
210
275
  ErrorInfo = Shapes::StructureShape.new(name: 'ErrorInfo')
211
276
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
212
277
  EventConfigurations = Shapes::MapShape.new(name: 'EventConfigurations')
213
278
  EventType = Shapes::StringShape.new(name: 'EventType')
279
+ ExecutionNamePrefix = Shapes::StringShape.new(name: 'ExecutionNamePrefix')
214
280
  ExecutionNumber = Shapes::IntegerShape.new(name: 'ExecutionNumber')
215
281
  ExpectedVersion = Shapes::IntegerShape.new(name: 'ExpectedVersion')
216
282
  ExpiresInSec = Shapes::IntegerShape.new(name: 'ExpiresInSec')
217
283
  ExplicitDeny = Shapes::StructureShape.new(name: 'ExplicitDeny')
284
+ FailedChecksCount = Shapes::IntegerShape.new(name: 'FailedChecksCount')
218
285
  FailedThings = Shapes::IntegerShape.new(name: 'FailedThings')
219
286
  FileId = Shapes::IntegerShape.new(name: 'FileId')
220
287
  FileName = Shapes::StringShape.new(name: 'FileName')
@@ -252,6 +319,7 @@ module Aws::IoT
252
319
  HashKeyField = Shapes::StringShape.new(name: 'HashKeyField')
253
320
  HashKeyValue = Shapes::StringShape.new(name: 'HashKeyValue')
254
321
  ImplicitDeny = Shapes::StructureShape.new(name: 'ImplicitDeny')
322
+ InProgressChecksCount = Shapes::IntegerShape.new(name: 'InProgressChecksCount')
255
323
  InProgressThings = Shapes::IntegerShape.new(name: 'InProgressThings')
256
324
  IndexName = Shapes::StringShape.new(name: 'IndexName')
257
325
  IndexNamesList = Shapes::ListShape.new(name: 'IndexNamesList')
@@ -299,8 +367,14 @@ module Aws::IoT
299
367
  LaserMaxResults = Shapes::IntegerShape.new(name: 'LaserMaxResults')
300
368
  LastModifiedDate = Shapes::TimestampShape.new(name: 'LastModifiedDate')
301
369
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
370
+ ListActiveViolationsRequest = Shapes::StructureShape.new(name: 'ListActiveViolationsRequest')
371
+ ListActiveViolationsResponse = Shapes::StructureShape.new(name: 'ListActiveViolationsResponse')
302
372
  ListAttachedPoliciesRequest = Shapes::StructureShape.new(name: 'ListAttachedPoliciesRequest')
303
373
  ListAttachedPoliciesResponse = Shapes::StructureShape.new(name: 'ListAttachedPoliciesResponse')
374
+ ListAuditFindingsRequest = Shapes::StructureShape.new(name: 'ListAuditFindingsRequest')
375
+ ListAuditFindingsResponse = Shapes::StructureShape.new(name: 'ListAuditFindingsResponse')
376
+ ListAuditTasksRequest = Shapes::StructureShape.new(name: 'ListAuditTasksRequest')
377
+ ListAuditTasksResponse = Shapes::StructureShape.new(name: 'ListAuditTasksResponse')
304
378
  ListAuthorizersRequest = Shapes::StructureShape.new(name: 'ListAuthorizersRequest')
305
379
  ListAuthorizersResponse = Shapes::StructureShape.new(name: 'ListAuthorizersResponse')
306
380
  ListCACertificatesRequest = Shapes::StructureShape.new(name: 'ListCACertificatesRequest')
@@ -333,10 +407,18 @@ module Aws::IoT
333
407
  ListPrincipalThingsResponse = Shapes::StructureShape.new(name: 'ListPrincipalThingsResponse')
334
408
  ListRoleAliasesRequest = Shapes::StructureShape.new(name: 'ListRoleAliasesRequest')
335
409
  ListRoleAliasesResponse = Shapes::StructureShape.new(name: 'ListRoleAliasesResponse')
410
+ ListScheduledAuditsRequest = Shapes::StructureShape.new(name: 'ListScheduledAuditsRequest')
411
+ ListScheduledAuditsResponse = Shapes::StructureShape.new(name: 'ListScheduledAuditsResponse')
412
+ ListSecurityProfilesForTargetRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesForTargetRequest')
413
+ ListSecurityProfilesForTargetResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesForTargetResponse')
414
+ ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
415
+ ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
336
416
  ListStreamsRequest = Shapes::StructureShape.new(name: 'ListStreamsRequest')
337
417
  ListStreamsResponse = Shapes::StructureShape.new(name: 'ListStreamsResponse')
338
418
  ListTargetsForPolicyRequest = Shapes::StructureShape.new(name: 'ListTargetsForPolicyRequest')
339
419
  ListTargetsForPolicyResponse = Shapes::StructureShape.new(name: 'ListTargetsForPolicyResponse')
420
+ ListTargetsForSecurityProfileRequest = Shapes::StructureShape.new(name: 'ListTargetsForSecurityProfileRequest')
421
+ ListTargetsForSecurityProfileResponse = Shapes::StructureShape.new(name: 'ListTargetsForSecurityProfileResponse')
340
422
  ListThingGroupsForThingRequest = Shapes::StructureShape.new(name: 'ListThingGroupsForThingRequest')
341
423
  ListThingGroupsForThingResponse = Shapes::StructureShape.new(name: 'ListThingGroupsForThingResponse')
342
424
  ListThingGroupsRequest = Shapes::StructureShape.new(name: 'ListThingGroupsRequest')
@@ -357,6 +439,8 @@ module Aws::IoT
357
439
  ListTopicRulesResponse = Shapes::StructureShape.new(name: 'ListTopicRulesResponse')
358
440
  ListV2LoggingLevelsRequest = Shapes::StructureShape.new(name: 'ListV2LoggingLevelsRequest')
359
441
  ListV2LoggingLevelsResponse = Shapes::StructureShape.new(name: 'ListV2LoggingLevelsResponse')
442
+ ListViolationEventsRequest = Shapes::StructureShape.new(name: 'ListViolationEventsRequest')
443
+ ListViolationEventsResponse = Shapes::StructureShape.new(name: 'ListViolationEventsResponse')
360
444
  LogLevel = Shapes::StringShape.new(name: 'LogLevel')
361
445
  LogTarget = Shapes::StructureShape.new(name: 'LogTarget')
362
446
  LogTargetConfiguration = Shapes::StructureShape.new(name: 'LogTargetConfiguration')
@@ -370,14 +454,13 @@ module Aws::IoT
370
454
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
371
455
  Message = Shapes::StringShape.new(name: 'Message')
372
456
  MessageFormat = Shapes::StringShape.new(name: 'MessageFormat')
373
- MetricName = Shapes::StringShape.new(name: 'MetricName')
374
- MetricNamespace = Shapes::StringShape.new(name: 'MetricNamespace')
375
- MetricTimestamp = Shapes::StringShape.new(name: 'MetricTimestamp')
376
- MetricUnit = Shapes::StringShape.new(name: 'MetricUnit')
377
- MetricValue = Shapes::StringShape.new(name: 'MetricValue')
457
+ MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
378
458
  MissingContextValue = Shapes::StringShape.new(name: 'MissingContextValue')
379
459
  MissingContextValues = Shapes::ListShape.new(name: 'MissingContextValues')
380
460
  NextToken = Shapes::StringShape.new(name: 'NextToken')
461
+ NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
462
+ NonCompliantResource = Shapes::StructureShape.new(name: 'NonCompliantResource')
463
+ NonCompliantResourcesCount = Shapes::IntegerShape.new(name: 'NonCompliantResourcesCount')
381
464
  NotConfiguredException = Shapes::StructureShape.new(name: 'NotConfiguredException')
382
465
  OTAUpdateArn = Shapes::StringShape.new(name: 'OTAUpdateArn')
383
466
  OTAUpdateDescription = Shapes::StringShape.new(name: 'OTAUpdateDescription')
@@ -410,7 +493,10 @@ module Aws::IoT
410
493
  PolicyTargets = Shapes::ListShape.new(name: 'PolicyTargets')
411
494
  PolicyVersion = Shapes::StructureShape.new(name: 'PolicyVersion')
412
495
  PolicyVersionId = Shapes::StringShape.new(name: 'PolicyVersionId')
496
+ PolicyVersionIdentifier = Shapes::StructureShape.new(name: 'PolicyVersionIdentifier')
413
497
  PolicyVersions = Shapes::ListShape.new(name: 'PolicyVersions')
498
+ Port = Shapes::IntegerShape.new(name: 'Port')
499
+ Ports = Shapes::ListShape.new(name: 'Ports')
414
500
  PresignedUrlConfig = Shapes::StructureShape.new(name: 'PresignedUrlConfig')
415
501
  Principal = Shapes::StringShape.new(name: 'Principal')
416
502
  PrincipalArn = Shapes::StringShape.new(name: 'PrincipalArn')
@@ -429,6 +515,8 @@ module Aws::IoT
429
515
  QueuedThings = Shapes::IntegerShape.new(name: 'QueuedThings')
430
516
  RangeKeyField = Shapes::StringShape.new(name: 'RangeKeyField')
431
517
  RangeKeyValue = Shapes::StringShape.new(name: 'RangeKeyValue')
518
+ ReasonForNonCompliance = Shapes::StringShape.new(name: 'ReasonForNonCompliance')
519
+ ReasonForNonComplianceCode = Shapes::StringShape.new(name: 'ReasonForNonComplianceCode')
432
520
  Recursive = Shapes::BooleanShape.new(name: 'Recursive')
433
521
  RecursiveWithoutDefault = Shapes::BooleanShape.new(name: 'RecursiveWithoutDefault')
434
522
  RegisterCACertificateRequest = Shapes::StructureShape.new(name: 'RegisterCACertificateRequest')
@@ -445,6 +533,8 @@ module Aws::IoT
445
533
  RegistryS3KeyName = Shapes::StringShape.new(name: 'RegistryS3KeyName')
446
534
  RejectCertificateTransferRequest = Shapes::StructureShape.new(name: 'RejectCertificateTransferRequest')
447
535
  RejectedThings = Shapes::IntegerShape.new(name: 'RejectedThings')
536
+ RelatedResource = Shapes::StructureShape.new(name: 'RelatedResource')
537
+ RelatedResources = Shapes::ListShape.new(name: 'RelatedResources')
448
538
  RemoveAutoRegistration = Shapes::BooleanShape.new(name: 'RemoveAutoRegistration')
449
539
  RemoveThingFromThingGroupRequest = Shapes::StructureShape.new(name: 'RemoveThingFromThingGroupRequest')
450
540
  RemoveThingFromThingGroupResponse = Shapes::StructureShape.new(name: 'RemoveThingFromThingGroupResponse')
@@ -457,9 +547,11 @@ module Aws::IoT
457
547
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
458
548
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
459
549
  ResourceArns = Shapes::MapShape.new(name: 'ResourceArns')
550
+ ResourceIdentifier = Shapes::StructureShape.new(name: 'ResourceIdentifier')
460
551
  ResourceLogicalId = Shapes::StringShape.new(name: 'ResourceLogicalId')
461
552
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
462
553
  ResourceRegistrationFailureException = Shapes::StructureShape.new(name: 'ResourceRegistrationFailureException')
554
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
463
555
  Resources = Shapes::ListShape.new(name: 'Resources')
464
556
  RoleAlias = Shapes::StringShape.new(name: 'RoleAlias')
465
557
  RoleAliasArn = Shapes::StringShape.new(name: 'RoleAliasArn')
@@ -479,10 +571,24 @@ module Aws::IoT
479
571
  SalesforceAction = Shapes::StructureShape.new(name: 'SalesforceAction')
480
572
  SalesforceEndpoint = Shapes::StringShape.new(name: 'SalesforceEndpoint')
481
573
  SalesforceToken = Shapes::StringShape.new(name: 'SalesforceToken')
574
+ ScheduledAuditArn = Shapes::StringShape.new(name: 'ScheduledAuditArn')
575
+ ScheduledAuditMetadata = Shapes::StructureShape.new(name: 'ScheduledAuditMetadata')
576
+ ScheduledAuditMetadataList = Shapes::ListShape.new(name: 'ScheduledAuditMetadataList')
577
+ ScheduledAuditName = Shapes::StringShape.new(name: 'ScheduledAuditName')
482
578
  SearchIndexRequest = Shapes::StructureShape.new(name: 'SearchIndexRequest')
483
579
  SearchIndexResponse = Shapes::StructureShape.new(name: 'SearchIndexResponse')
484
580
  SearchableAttributes = Shapes::ListShape.new(name: 'SearchableAttributes')
485
581
  Seconds = Shapes::IntegerShape.new(name: 'Seconds')
582
+ SecurityProfileArn = Shapes::StringShape.new(name: 'SecurityProfileArn')
583
+ SecurityProfileDescription = Shapes::StringShape.new(name: 'SecurityProfileDescription')
584
+ SecurityProfileIdentifier = Shapes::StructureShape.new(name: 'SecurityProfileIdentifier')
585
+ SecurityProfileIdentifiers = Shapes::ListShape.new(name: 'SecurityProfileIdentifiers')
586
+ SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
587
+ SecurityProfileTarget = Shapes::StructureShape.new(name: 'SecurityProfileTarget')
588
+ SecurityProfileTargetArn = Shapes::StringShape.new(name: 'SecurityProfileTargetArn')
589
+ SecurityProfileTargetMapping = Shapes::StructureShape.new(name: 'SecurityProfileTargetMapping')
590
+ SecurityProfileTargetMappings = Shapes::ListShape.new(name: 'SecurityProfileTargetMappings')
591
+ SecurityProfileTargets = Shapes::ListShape.new(name: 'SecurityProfileTargets')
486
592
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
487
593
  SetAsActive = Shapes::BooleanShape.new(name: 'SetAsActive')
488
594
  SetAsActiveFlag = Shapes::BooleanShape.new(name: 'SetAsActiveFlag')
@@ -500,11 +606,15 @@ module Aws::IoT
500
606
  SnsAction = Shapes::StructureShape.new(name: 'SnsAction')
501
607
  SqlParseException = Shapes::StructureShape.new(name: 'SqlParseException')
502
608
  SqsAction = Shapes::StructureShape.new(name: 'SqsAction')
609
+ StartOnDemandAuditTaskRequest = Shapes::StructureShape.new(name: 'StartOnDemandAuditTaskRequest')
610
+ StartOnDemandAuditTaskResponse = Shapes::StructureShape.new(name: 'StartOnDemandAuditTaskResponse')
503
611
  StartThingRegistrationTaskRequest = Shapes::StructureShape.new(name: 'StartThingRegistrationTaskRequest')
504
612
  StartThingRegistrationTaskResponse = Shapes::StructureShape.new(name: 'StartThingRegistrationTaskResponse')
613
+ StateMachineName = Shapes::StringShape.new(name: 'StateMachineName')
505
614
  StateReason = Shapes::StringShape.new(name: 'StateReason')
506
615
  StateValue = Shapes::StringShape.new(name: 'StateValue')
507
616
  Status = Shapes::StringShape.new(name: 'Status')
617
+ StepFunctionsAction = Shapes::StructureShape.new(name: 'StepFunctionsAction')
508
618
  StopThingRegistrationTaskRequest = Shapes::StructureShape.new(name: 'StopThingRegistrationTaskRequest')
509
619
  StopThingRegistrationTaskResponse = Shapes::StructureShape.new(name: 'StopThingRegistrationTaskResponse')
510
620
  Stream = Shapes::StructureShape.new(name: 'Stream')
@@ -518,14 +628,18 @@ module Aws::IoT
518
628
  StreamSummary = Shapes::StructureShape.new(name: 'StreamSummary')
519
629
  StreamVersion = Shapes::IntegerShape.new(name: 'StreamVersion')
520
630
  StreamsSummary = Shapes::ListShape.new(name: 'StreamsSummary')
631
+ String = Shapes::StringShape.new(name: 'String')
632
+ StringMap = Shapes::MapShape.new(name: 'StringMap')
521
633
  SucceededThings = Shapes::IntegerShape.new(name: 'SucceededThings')
522
634
  TableName = Shapes::StringShape.new(name: 'TableName')
523
635
  Target = Shapes::StringShape.new(name: 'Target')
524
636
  TargetArn = Shapes::StringShape.new(name: 'TargetArn')
637
+ TargetAuditCheckNames = Shapes::ListShape.new(name: 'TargetAuditCheckNames')
525
638
  TargetSelection = Shapes::StringShape.new(name: 'TargetSelection')
526
639
  Targets = Shapes::ListShape.new(name: 'Targets')
527
640
  TaskId = Shapes::StringShape.new(name: 'TaskId')
528
641
  TaskIdList = Shapes::ListShape.new(name: 'TaskIdList')
642
+ TaskStatistics = Shapes::StructureShape.new(name: 'TaskStatistics')
529
643
  TemplateBody = Shapes::StringShape.new(name: 'TemplateBody')
530
644
  TestAuthorizationRequest = Shapes::StructureShape.new(name: 'TestAuthorizationRequest')
531
645
  TestAuthorizationResponse = Shapes::StructureShape.new(name: 'TestAuthorizationResponse')
@@ -559,6 +673,7 @@ module Aws::IoT
559
673
  ThingTypeName = Shapes::StringShape.new(name: 'ThingTypeName')
560
674
  ThingTypeProperties = Shapes::StructureShape.new(name: 'ThingTypeProperties')
561
675
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
676
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
562
677
  Token = Shapes::StringShape.new(name: 'Token')
563
678
  TokenKeyName = Shapes::StringShape.new(name: 'TokenKeyName')
564
679
  TokenSignature = Shapes::StringShape.new(name: 'TokenSignature')
@@ -568,6 +683,8 @@ module Aws::IoT
568
683
  TopicRuleList = Shapes::ListShape.new(name: 'TopicRuleList')
569
684
  TopicRuleListItem = Shapes::StructureShape.new(name: 'TopicRuleListItem')
570
685
  TopicRulePayload = Shapes::StructureShape.new(name: 'TopicRulePayload')
686
+ TotalChecksCount = Shapes::IntegerShape.new(name: 'TotalChecksCount')
687
+ TotalResourcesCount = Shapes::IntegerShape.new(name: 'TotalResourcesCount')
571
688
  TransferAlreadyCompletedException = Shapes::StructureShape.new(name: 'TransferAlreadyCompletedException')
572
689
  TransferCertificateRequest = Shapes::StructureShape.new(name: 'TransferCertificateRequest')
573
690
  TransferCertificateResponse = Shapes::StructureShape.new(name: 'TransferCertificateResponse')
@@ -575,6 +692,9 @@ module Aws::IoT
575
692
  TransferData = Shapes::StructureShape.new(name: 'TransferData')
576
693
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
577
694
  UndoDeprecate = Shapes::BooleanShape.new(name: 'UndoDeprecate')
695
+ UnsignedLong = Shapes::IntegerShape.new(name: 'UnsignedLong')
696
+ UpdateAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationRequest')
697
+ UpdateAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationResponse')
578
698
  UpdateAuthorizerRequest = Shapes::StructureShape.new(name: 'UpdateAuthorizerRequest')
579
699
  UpdateAuthorizerResponse = Shapes::StructureShape.new(name: 'UpdateAuthorizerResponse')
580
700
  UpdateCACertificateRequest = Shapes::StructureShape.new(name: 'UpdateCACertificateRequest')
@@ -585,6 +705,10 @@ module Aws::IoT
585
705
  UpdateIndexingConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateIndexingConfigurationResponse')
586
706
  UpdateRoleAliasRequest = Shapes::StructureShape.new(name: 'UpdateRoleAliasRequest')
587
707
  UpdateRoleAliasResponse = Shapes::StructureShape.new(name: 'UpdateRoleAliasResponse')
708
+ UpdateScheduledAuditRequest = Shapes::StructureShape.new(name: 'UpdateScheduledAuditRequest')
709
+ UpdateScheduledAuditResponse = Shapes::StructureShape.new(name: 'UpdateScheduledAuditResponse')
710
+ UpdateSecurityProfileRequest = Shapes::StructureShape.new(name: 'UpdateSecurityProfileRequest')
711
+ UpdateSecurityProfileResponse = Shapes::StructureShape.new(name: 'UpdateSecurityProfileResponse')
588
712
  UpdateStreamRequest = Shapes::StructureShape.new(name: 'UpdateStreamRequest')
589
713
  UpdateStreamResponse = Shapes::StructureShape.new(name: 'UpdateStreamResponse')
590
714
  UpdateThingGroupRequest = Shapes::StructureShape.new(name: 'UpdateThingGroupRequest')
@@ -594,11 +718,21 @@ module Aws::IoT
594
718
  UpdateThingRequest = Shapes::StructureShape.new(name: 'UpdateThingRequest')
595
719
  UpdateThingResponse = Shapes::StructureShape.new(name: 'UpdateThingResponse')
596
720
  UseBase64 = Shapes::BooleanShape.new(name: 'UseBase64')
721
+ Valid = Shapes::BooleanShape.new(name: 'Valid')
722
+ ValidateSecurityProfileBehaviorsRequest = Shapes::StructureShape.new(name: 'ValidateSecurityProfileBehaviorsRequest')
723
+ ValidateSecurityProfileBehaviorsResponse = Shapes::StructureShape.new(name: 'ValidateSecurityProfileBehaviorsResponse')
724
+ ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
725
+ ValidationErrors = Shapes::ListShape.new(name: 'ValidationErrors')
597
726
  Value = Shapes::StringShape.new(name: 'Value')
598
727
  Version = Shapes::IntegerShape.new(name: 'Version')
599
728
  VersionConflictException = Shapes::StructureShape.new(name: 'VersionConflictException')
600
729
  VersionNumber = Shapes::IntegerShape.new(name: 'VersionNumber')
601
730
  VersionsLimitExceededException = Shapes::StructureShape.new(name: 'VersionsLimitExceededException')
731
+ ViolationEvent = Shapes::StructureShape.new(name: 'ViolationEvent')
732
+ ViolationEventType = Shapes::StringShape.new(name: 'ViolationEventType')
733
+ ViolationEvents = Shapes::ListShape.new(name: 'ViolationEvents')
734
+ ViolationId = Shapes::StringShape.new(name: 'ViolationId')
735
+ WaitingForDataCollectionChecksCount = Shapes::IntegerShape.new(name: 'WaitingForDataCollectionChecksCount')
602
736
  errorMessage = Shapes::StringShape.new(name: 'errorMessage')
603
737
  resourceArn = Shapes::StringShape.new(name: 'resourceArn')
604
738
  resourceId = Shapes::StringShape.new(name: 'resourceId')
@@ -621,10 +755,22 @@ module Aws::IoT
621
755
  Action.add_member(:elasticsearch, Shapes::ShapeRef.new(shape: ElasticsearchAction, location_name: "elasticsearch"))
622
756
  Action.add_member(:salesforce, Shapes::ShapeRef.new(shape: SalesforceAction, location_name: "salesforce"))
623
757
  Action.add_member(:iot_analytics, Shapes::ShapeRef.new(shape: IotAnalyticsAction, location_name: "iotAnalytics"))
758
+ Action.add_member(:step_functions, Shapes::ShapeRef.new(shape: StepFunctionsAction, location_name: "stepFunctions"))
624
759
  Action.struct_class = Types::Action
625
760
 
626
761
  ActionList.member = Shapes::ShapeRef.new(shape: Action)
627
762
 
763
+ ActiveViolation.add_member(:violation_id, Shapes::ShapeRef.new(shape: ViolationId, location_name: "violationId"))
764
+ ActiveViolation.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
765
+ ActiveViolation.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "securityProfileName"))
766
+ ActiveViolation.add_member(:behavior, Shapes::ShapeRef.new(shape: Behavior, location_name: "behavior"))
767
+ ActiveViolation.add_member(:last_violation_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "lastViolationValue"))
768
+ ActiveViolation.add_member(:last_violation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastViolationTime"))
769
+ ActiveViolation.add_member(:violation_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationStartTime"))
770
+ ActiveViolation.struct_class = Types::ActiveViolation
771
+
772
+ ActiveViolations.member = Shapes::ShapeRef.new(shape: ActiveViolation)
773
+
628
774
  AddThingToThingGroupRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, location_name: "thingGroupName"))
629
775
  AddThingToThingGroupRequest.add_member(:thing_group_arn, Shapes::ShapeRef.new(shape: ThingGroupArn, location_name: "thingGroupArn"))
630
776
  AddThingToThingGroupRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
@@ -636,6 +782,13 @@ module Aws::IoT
636
782
  AdditionalParameterMap.key = Shapes::ShapeRef.new(shape: Key)
637
783
  AdditionalParameterMap.value = Shapes::ShapeRef.new(shape: Value)
638
784
 
785
+ AlertTarget.add_member(:alert_target_arn, Shapes::ShapeRef.new(shape: AlertTargetArn, required: true, location_name: "alertTargetArn"))
786
+ AlertTarget.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
787
+ AlertTarget.struct_class = Types::AlertTarget
788
+
789
+ AlertTargets.key = Shapes::ShapeRef.new(shape: AlertTargetType)
790
+ AlertTargets.value = Shapes::ShapeRef.new(shape: AlertTarget)
791
+
639
792
  Allowed.add_member(:policies, Shapes::ShapeRef.new(shape: Policies, location_name: "policies"))
640
793
  Allowed.struct_class = Types::Allowed
641
794
 
@@ -657,6 +810,12 @@ module Aws::IoT
657
810
  AttachPrincipalPolicyRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-iot-principal"))
658
811
  AttachPrincipalPolicyRequest.struct_class = Types::AttachPrincipalPolicyRequest
659
812
 
813
+ AttachSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location: "uri", location_name: "securityProfileName"))
814
+ AttachSecurityProfileRequest.add_member(:security_profile_target_arn, Shapes::ShapeRef.new(shape: SecurityProfileTargetArn, required: true, location: "querystring", location_name: "securityProfileTargetArn"))
815
+ AttachSecurityProfileRequest.struct_class = Types::AttachSecurityProfileRequest
816
+
817
+ AttachSecurityProfileResponse.struct_class = Types::AttachSecurityProfileResponse
818
+
660
819
  AttachThingPrincipalRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
661
820
  AttachThingPrincipalRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
662
821
  AttachThingPrincipalRequest.struct_class = Types::AttachThingPrincipalRequest
@@ -673,6 +832,51 @@ module Aws::IoT
673
832
  AttributesMap.key = Shapes::ShapeRef.new(shape: Key)
674
833
  AttributesMap.value = Shapes::ShapeRef.new(shape: Value)
675
834
 
835
+ AuditCheckConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "enabled"))
836
+ AuditCheckConfiguration.struct_class = Types::AuditCheckConfiguration
837
+
838
+ AuditCheckConfigurations.key = Shapes::ShapeRef.new(shape: AuditCheckName)
839
+ AuditCheckConfigurations.value = Shapes::ShapeRef.new(shape: AuditCheckConfiguration)
840
+
841
+ AuditCheckDetails.add_member(:check_run_status, Shapes::ShapeRef.new(shape: AuditCheckRunStatus, location_name: "checkRunStatus"))
842
+ AuditCheckDetails.add_member(:check_compliant, Shapes::ShapeRef.new(shape: CheckCompliant, location_name: "checkCompliant"))
843
+ AuditCheckDetails.add_member(:total_resources_count, Shapes::ShapeRef.new(shape: TotalResourcesCount, location_name: "totalResourcesCount"))
844
+ AuditCheckDetails.add_member(:non_compliant_resources_count, Shapes::ShapeRef.new(shape: NonCompliantResourcesCount, location_name: "nonCompliantResourcesCount"))
845
+ AuditCheckDetails.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
846
+ AuditCheckDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
847
+ AuditCheckDetails.struct_class = Types::AuditCheckDetails
848
+
849
+ AuditDetails.key = Shapes::ShapeRef.new(shape: AuditCheckName)
850
+ AuditDetails.value = Shapes::ShapeRef.new(shape: AuditCheckDetails)
851
+
852
+ AuditFinding.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, location_name: "taskId"))
853
+ AuditFinding.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, location_name: "checkName"))
854
+ AuditFinding.add_member(:task_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "taskStartTime"))
855
+ AuditFinding.add_member(:finding_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "findingTime"))
856
+ AuditFinding.add_member(:severity, Shapes::ShapeRef.new(shape: AuditFindingSeverity, location_name: "severity"))
857
+ AuditFinding.add_member(:non_compliant_resource, Shapes::ShapeRef.new(shape: NonCompliantResource, location_name: "nonCompliantResource"))
858
+ AuditFinding.add_member(:related_resources, Shapes::ShapeRef.new(shape: RelatedResources, location_name: "relatedResources"))
859
+ AuditFinding.add_member(:reason_for_non_compliance, Shapes::ShapeRef.new(shape: ReasonForNonCompliance, location_name: "reasonForNonCompliance"))
860
+ AuditFinding.add_member(:reason_for_non_compliance_code, Shapes::ShapeRef.new(shape: ReasonForNonComplianceCode, location_name: "reasonForNonComplianceCode"))
861
+ AuditFinding.struct_class = Types::AuditFinding
862
+
863
+ AuditFindings.member = Shapes::ShapeRef.new(shape: AuditFinding)
864
+
865
+ AuditNotificationTarget.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "targetArn"))
866
+ AuditNotificationTarget.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
867
+ AuditNotificationTarget.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "enabled"))
868
+ AuditNotificationTarget.struct_class = Types::AuditNotificationTarget
869
+
870
+ AuditNotificationTargetConfigurations.key = Shapes::ShapeRef.new(shape: AuditNotificationType)
871
+ AuditNotificationTargetConfigurations.value = Shapes::ShapeRef.new(shape: AuditNotificationTarget)
872
+
873
+ AuditTaskMetadata.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, location_name: "taskId"))
874
+ AuditTaskMetadata.add_member(:task_status, Shapes::ShapeRef.new(shape: AuditTaskStatus, location_name: "taskStatus"))
875
+ AuditTaskMetadata.add_member(:task_type, Shapes::ShapeRef.new(shape: AuditTaskType, location_name: "taskType"))
876
+ AuditTaskMetadata.struct_class = Types::AuditTaskMetadata
877
+
878
+ AuditTaskMetadataList.member = Shapes::ShapeRef.new(shape: AuditTaskMetadata)
879
+
676
880
  AuthInfo.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, location_name: "actionType"))
677
881
  AuthInfo.add_member(:resources, Shapes::ShapeRef.new(shape: Resources, location_name: "resources"))
678
882
  AuthInfo.struct_class = Types::AuthInfo
@@ -704,6 +908,18 @@ module Aws::IoT
704
908
 
705
909
  Authorizers.member = Shapes::ShapeRef.new(shape: AuthorizerSummary)
706
910
 
911
+ Behavior.add_member(:name, Shapes::ShapeRef.new(shape: BehaviorName, required: true, location_name: "name"))
912
+ Behavior.add_member(:metric, Shapes::ShapeRef.new(shape: BehaviorMetric, location_name: "metric"))
913
+ Behavior.add_member(:criteria, Shapes::ShapeRef.new(shape: BehaviorCriteria, location_name: "criteria"))
914
+ Behavior.struct_class = Types::Behavior
915
+
916
+ BehaviorCriteria.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "comparisonOperator"))
917
+ BehaviorCriteria.add_member(:value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "value"))
918
+ BehaviorCriteria.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: DurationSeconds, location_name: "durationSeconds"))
919
+ BehaviorCriteria.struct_class = Types::BehaviorCriteria
920
+
921
+ Behaviors.member = Shapes::ShapeRef.new(shape: Behavior)
922
+
707
923
  CACertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
708
924
  CACertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
709
925
  CACertificate.add_member(:status, Shapes::ShapeRef.new(shape: CACertificateStatus, location_name: "status"))
@@ -720,10 +936,16 @@ module Aws::IoT
720
936
  CACertificateDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
721
937
  CACertificateDescription.add_member(:customer_version, Shapes::ShapeRef.new(shape: CustomerVersion, location_name: "customerVersion"))
722
938
  CACertificateDescription.add_member(:generation_id, Shapes::ShapeRef.new(shape: GenerationId, location_name: "generationId"))
939
+ CACertificateDescription.add_member(:validity, Shapes::ShapeRef.new(shape: CertificateValidity, location_name: "validity"))
723
940
  CACertificateDescription.struct_class = Types::CACertificateDescription
724
941
 
725
942
  CACertificates.member = Shapes::ShapeRef.new(shape: CACertificate)
726
943
 
944
+ CancelAuditTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, required: true, location: "uri", location_name: "taskId"))
945
+ CancelAuditTaskRequest.struct_class = Types::CancelAuditTaskRequest
946
+
947
+ CancelAuditTaskResponse.struct_class = Types::CancelAuditTaskResponse
948
+
727
949
  CancelCertificateTransferRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
728
950
  CancelCertificateTransferRequest.struct_class = Types::CancelCertificateTransferRequest
729
951
 
@@ -762,10 +984,17 @@ module Aws::IoT
762
984
  CertificateDescription.add_member(:customer_version, Shapes::ShapeRef.new(shape: CustomerVersion, location_name: "customerVersion"))
763
985
  CertificateDescription.add_member(:transfer_data, Shapes::ShapeRef.new(shape: TransferData, location_name: "transferData"))
764
986
  CertificateDescription.add_member(:generation_id, Shapes::ShapeRef.new(shape: GenerationId, location_name: "generationId"))
987
+ CertificateDescription.add_member(:validity, Shapes::ShapeRef.new(shape: CertificateValidity, location_name: "validity"))
765
988
  CertificateDescription.struct_class = Types::CertificateDescription
766
989
 
990
+ CertificateValidity.add_member(:not_before, Shapes::ShapeRef.new(shape: DateType, location_name: "notBefore"))
991
+ CertificateValidity.add_member(:not_after, Shapes::ShapeRef.new(shape: DateType, location_name: "notAfter"))
992
+ CertificateValidity.struct_class = Types::CertificateValidity
993
+
767
994
  Certificates.member = Shapes::ShapeRef.new(shape: Certificate)
768
995
 
996
+ Cidrs.member = Shapes::ShapeRef.new(shape: Cidr)
997
+
769
998
  ClearDefaultAuthorizerRequest.struct_class = Types::ClearDefaultAuthorizerRequest
770
999
 
771
1000
  ClearDefaultAuthorizerResponse.struct_class = Types::ClearDefaultAuthorizerResponse
@@ -777,11 +1006,11 @@ module Aws::IoT
777
1006
  CloudwatchAlarmAction.struct_class = Types::CloudwatchAlarmAction
778
1007
 
779
1008
  CloudwatchMetricAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
780
- CloudwatchMetricAction.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: MetricNamespace, required: true, location_name: "metricNamespace"))
781
- CloudwatchMetricAction.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "metricName"))
782
- CloudwatchMetricAction.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, required: true, location_name: "metricValue"))
783
- CloudwatchMetricAction.add_member(:metric_unit, Shapes::ShapeRef.new(shape: MetricUnit, required: true, location_name: "metricUnit"))
784
- CloudwatchMetricAction.add_member(:metric_timestamp, Shapes::ShapeRef.new(shape: MetricTimestamp, location_name: "metricTimestamp"))
1009
+ CloudwatchMetricAction.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: String, required: true, location_name: "metricNamespace"))
1010
+ CloudwatchMetricAction.add_member(:metric_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "metricName"))
1011
+ CloudwatchMetricAction.add_member(:metric_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "metricValue"))
1012
+ CloudwatchMetricAction.add_member(:metric_unit, Shapes::ShapeRef.new(shape: String, required: true, location_name: "metricUnit"))
1013
+ CloudwatchMetricAction.add_member(:metric_timestamp, Shapes::ShapeRef.new(shape: String, location_name: "metricTimestamp"))
785
1014
  CloudwatchMetricAction.struct_class = Types::CloudwatchMetricAction
786
1015
 
787
1016
  CodeSigning.add_member(:aws_signer_job_id, Shapes::ShapeRef.new(shape: SigningJobId, location_name: "awsSignerJobId"))
@@ -890,6 +1119,26 @@ module Aws::IoT
890
1119
  CreateRoleAliasResponse.add_member(:role_alias_arn, Shapes::ShapeRef.new(shape: RoleAliasArn, location_name: "roleAliasArn"))
891
1120
  CreateRoleAliasResponse.struct_class = Types::CreateRoleAliasResponse
892
1121
 
1122
+ CreateScheduledAuditRequest.add_member(:frequency, Shapes::ShapeRef.new(shape: AuditFrequency, required: true, location_name: "frequency"))
1123
+ CreateScheduledAuditRequest.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, location_name: "dayOfMonth"))
1124
+ CreateScheduledAuditRequest.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, location_name: "dayOfWeek"))
1125
+ CreateScheduledAuditRequest.add_member(:target_check_names, Shapes::ShapeRef.new(shape: TargetAuditCheckNames, required: true, location_name: "targetCheckNames"))
1126
+ CreateScheduledAuditRequest.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, required: true, location: "uri", location_name: "scheduledAuditName"))
1127
+ CreateScheduledAuditRequest.struct_class = Types::CreateScheduledAuditRequest
1128
+
1129
+ CreateScheduledAuditResponse.add_member(:scheduled_audit_arn, Shapes::ShapeRef.new(shape: ScheduledAuditArn, location_name: "scheduledAuditArn"))
1130
+ CreateScheduledAuditResponse.struct_class = Types::CreateScheduledAuditResponse
1131
+
1132
+ CreateSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location: "uri", location_name: "securityProfileName"))
1133
+ CreateSecurityProfileRequest.add_member(:security_profile_description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "securityProfileDescription"))
1134
+ CreateSecurityProfileRequest.add_member(:behaviors, Shapes::ShapeRef.new(shape: Behaviors, required: true, location_name: "behaviors"))
1135
+ CreateSecurityProfileRequest.add_member(:alert_targets, Shapes::ShapeRef.new(shape: AlertTargets, location_name: "alertTargets"))
1136
+ CreateSecurityProfileRequest.struct_class = Types::CreateSecurityProfileRequest
1137
+
1138
+ CreateSecurityProfileResponse.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "securityProfileName"))
1139
+ CreateSecurityProfileResponse.add_member(:security_profile_arn, Shapes::ShapeRef.new(shape: SecurityProfileArn, location_name: "securityProfileArn"))
1140
+ CreateSecurityProfileResponse.struct_class = Types::CreateSecurityProfileResponse
1141
+
893
1142
  CreateStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
894
1143
  CreateStreamRequest.add_member(:description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "description"))
895
1144
  CreateStreamRequest.add_member(:files, Shapes::ShapeRef.new(shape: StreamFiles, required: true, location_name: "files"))
@@ -943,6 +1192,11 @@ module Aws::IoT
943
1192
  CustomCodeSigning.add_member(:signature_algorithm, Shapes::ShapeRef.new(shape: SignatureAlgorithm, location_name: "signatureAlgorithm"))
944
1193
  CustomCodeSigning.struct_class = Types::CustomCodeSigning
945
1194
 
1195
+ DeleteAccountAuditConfigurationRequest.add_member(:delete_scheduled_audits, Shapes::ShapeRef.new(shape: DeleteScheduledAudits, location: "querystring", location_name: "deleteScheduledAudits"))
1196
+ DeleteAccountAuditConfigurationRequest.struct_class = Types::DeleteAccountAuditConfigurationRequest
1197
+
1198
+ DeleteAccountAuditConfigurationResponse.struct_class = Types::DeleteAccountAuditConfigurationResponse
1199
+
946
1200
  DeleteAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
947
1201
  DeleteAuthorizerRequest.struct_class = Types::DeleteAuthorizerRequest
948
1202
 
@@ -988,6 +1242,17 @@ module Aws::IoT
988
1242
 
989
1243
  DeleteRoleAliasResponse.struct_class = Types::DeleteRoleAliasResponse
990
1244
 
1245
+ DeleteScheduledAuditRequest.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, required: true, location: "uri", location_name: "scheduledAuditName"))
1246
+ DeleteScheduledAuditRequest.struct_class = Types::DeleteScheduledAuditRequest
1247
+
1248
+ DeleteScheduledAuditResponse.struct_class = Types::DeleteScheduledAuditResponse
1249
+
1250
+ DeleteSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location: "uri", location_name: "securityProfileName"))
1251
+ DeleteSecurityProfileRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
1252
+ DeleteSecurityProfileRequest.struct_class = Types::DeleteSecurityProfileRequest
1253
+
1254
+ DeleteSecurityProfileResponse.struct_class = Types::DeleteSecurityProfileResponse
1255
+
991
1256
  DeleteStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
992
1257
  DeleteStreamRequest.struct_class = Types::DeleteStreamRequest
993
1258
 
@@ -1027,6 +1292,24 @@ module Aws::IoT
1027
1292
 
1028
1293
  DeprecateThingTypeResponse.struct_class = Types::DeprecateThingTypeResponse
1029
1294
 
1295
+ DescribeAccountAuditConfigurationRequest.struct_class = Types::DescribeAccountAuditConfigurationRequest
1296
+
1297
+ DescribeAccountAuditConfigurationResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
1298
+ DescribeAccountAuditConfigurationResponse.add_member(:audit_notification_target_configurations, Shapes::ShapeRef.new(shape: AuditNotificationTargetConfigurations, location_name: "auditNotificationTargetConfigurations"))
1299
+ DescribeAccountAuditConfigurationResponse.add_member(:audit_check_configurations, Shapes::ShapeRef.new(shape: AuditCheckConfigurations, location_name: "auditCheckConfigurations"))
1300
+ DescribeAccountAuditConfigurationResponse.struct_class = Types::DescribeAccountAuditConfigurationResponse
1301
+
1302
+ DescribeAuditTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, required: true, location: "uri", location_name: "taskId"))
1303
+ DescribeAuditTaskRequest.struct_class = Types::DescribeAuditTaskRequest
1304
+
1305
+ DescribeAuditTaskResponse.add_member(:task_status, Shapes::ShapeRef.new(shape: AuditTaskStatus, location_name: "taskStatus"))
1306
+ DescribeAuditTaskResponse.add_member(:task_type, Shapes::ShapeRef.new(shape: AuditTaskType, location_name: "taskType"))
1307
+ DescribeAuditTaskResponse.add_member(:task_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "taskStartTime"))
1308
+ DescribeAuditTaskResponse.add_member(:task_statistics, Shapes::ShapeRef.new(shape: TaskStatistics, location_name: "taskStatistics"))
1309
+ DescribeAuditTaskResponse.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, location_name: "scheduledAuditName"))
1310
+ DescribeAuditTaskResponse.add_member(:audit_details, Shapes::ShapeRef.new(shape: AuditDetails, location_name: "auditDetails"))
1311
+ DescribeAuditTaskResponse.struct_class = Types::DescribeAuditTaskResponse
1312
+
1030
1313
  DescribeAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
1031
1314
  DescribeAuthorizerRequest.struct_class = Types::DescribeAuthorizerRequest
1032
1315
 
@@ -1093,6 +1376,30 @@ module Aws::IoT
1093
1376
  DescribeRoleAliasResponse.add_member(:role_alias_description, Shapes::ShapeRef.new(shape: RoleAliasDescription, location_name: "roleAliasDescription"))
1094
1377
  DescribeRoleAliasResponse.struct_class = Types::DescribeRoleAliasResponse
1095
1378
 
1379
+ DescribeScheduledAuditRequest.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, required: true, location: "uri", location_name: "scheduledAuditName"))
1380
+ DescribeScheduledAuditRequest.struct_class = Types::DescribeScheduledAuditRequest
1381
+
1382
+ DescribeScheduledAuditResponse.add_member(:frequency, Shapes::ShapeRef.new(shape: AuditFrequency, location_name: "frequency"))
1383
+ DescribeScheduledAuditResponse.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, location_name: "dayOfMonth"))
1384
+ DescribeScheduledAuditResponse.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, location_name: "dayOfWeek"))
1385
+ DescribeScheduledAuditResponse.add_member(:target_check_names, Shapes::ShapeRef.new(shape: TargetAuditCheckNames, location_name: "targetCheckNames"))
1386
+ DescribeScheduledAuditResponse.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, location_name: "scheduledAuditName"))
1387
+ DescribeScheduledAuditResponse.add_member(:scheduled_audit_arn, Shapes::ShapeRef.new(shape: ScheduledAuditArn, location_name: "scheduledAuditArn"))
1388
+ DescribeScheduledAuditResponse.struct_class = Types::DescribeScheduledAuditResponse
1389
+
1390
+ DescribeSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location: "uri", location_name: "securityProfileName"))
1391
+ DescribeSecurityProfileRequest.struct_class = Types::DescribeSecurityProfileRequest
1392
+
1393
+ DescribeSecurityProfileResponse.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "securityProfileName"))
1394
+ DescribeSecurityProfileResponse.add_member(:security_profile_arn, Shapes::ShapeRef.new(shape: SecurityProfileArn, location_name: "securityProfileArn"))
1395
+ DescribeSecurityProfileResponse.add_member(:security_profile_description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "securityProfileDescription"))
1396
+ DescribeSecurityProfileResponse.add_member(:behaviors, Shapes::ShapeRef.new(shape: Behaviors, location_name: "behaviors"))
1397
+ DescribeSecurityProfileResponse.add_member(:alert_targets, Shapes::ShapeRef.new(shape: AlertTargets, location_name: "alertTargets"))
1398
+ DescribeSecurityProfileResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
1399
+ DescribeSecurityProfileResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDate"))
1400
+ DescribeSecurityProfileResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedDate"))
1401
+ DescribeSecurityProfileResponse.struct_class = Types::DescribeSecurityProfileResponse
1402
+
1096
1403
  DescribeStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
1097
1404
  DescribeStreamRequest.struct_class = Types::DescribeStreamRequest
1098
1405
 
@@ -1157,6 +1464,12 @@ module Aws::IoT
1157
1464
  DetachPrincipalPolicyRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-iot-principal"))
1158
1465
  DetachPrincipalPolicyRequest.struct_class = Types::DetachPrincipalPolicyRequest
1159
1466
 
1467
+ DetachSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location: "uri", location_name: "securityProfileName"))
1468
+ DetachSecurityProfileRequest.add_member(:security_profile_target_arn, Shapes::ShapeRef.new(shape: SecurityProfileTargetArn, required: true, location: "querystring", location_name: "securityProfileTargetArn"))
1469
+ DetachSecurityProfileRequest.struct_class = Types::DetachSecurityProfileRequest
1470
+
1471
+ DetachSecurityProfileResponse.struct_class = Types::DetachSecurityProfileResponse
1472
+
1160
1473
  DetachThingPrincipalRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
1161
1474
  DetachThingPrincipalRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
1162
1475
  DetachThingPrincipalRequest.struct_class = Types::DetachThingPrincipalRequest
@@ -1396,6 +1709,16 @@ module Aws::IoT
1396
1709
  LambdaAction.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "functionArn"))
1397
1710
  LambdaAction.struct_class = Types::LambdaAction
1398
1711
 
1712
+ ListActiveViolationsRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location: "querystring", location_name: "thingName"))
1713
+ ListActiveViolationsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
1714
+ ListActiveViolationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1715
+ ListActiveViolationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1716
+ ListActiveViolationsRequest.struct_class = Types::ListActiveViolationsRequest
1717
+
1718
+ ListActiveViolationsResponse.add_member(:active_violations, Shapes::ShapeRef.new(shape: ActiveViolations, location_name: "activeViolations"))
1719
+ ListActiveViolationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1720
+ ListActiveViolationsResponse.struct_class = Types::ListActiveViolationsResponse
1721
+
1399
1722
  ListAttachedPoliciesRequest.add_member(:target, Shapes::ShapeRef.new(shape: PolicyTarget, required: true, location: "uri", location_name: "target"))
1400
1723
  ListAttachedPoliciesRequest.add_member(:recursive, Shapes::ShapeRef.new(shape: Recursive, location: "querystring", location_name: "recursive"))
1401
1724
  ListAttachedPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
@@ -1406,6 +1729,31 @@ module Aws::IoT
1406
1729
  ListAttachedPoliciesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
1407
1730
  ListAttachedPoliciesResponse.struct_class = Types::ListAttachedPoliciesResponse
1408
1731
 
1732
+ ListAuditFindingsRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, location_name: "taskId"))
1733
+ ListAuditFindingsRequest.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, location_name: "checkName"))
1734
+ ListAuditFindingsRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
1735
+ ListAuditFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1736
+ ListAuditFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1737
+ ListAuditFindingsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
1738
+ ListAuditFindingsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
1739
+ ListAuditFindingsRequest.struct_class = Types::ListAuditFindingsRequest
1740
+
1741
+ ListAuditFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: AuditFindings, location_name: "findings"))
1742
+ ListAuditFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1743
+ ListAuditFindingsResponse.struct_class = Types::ListAuditFindingsResponse
1744
+
1745
+ ListAuditTasksRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
1746
+ ListAuditTasksRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
1747
+ ListAuditTasksRequest.add_member(:task_type, Shapes::ShapeRef.new(shape: AuditTaskType, location: "querystring", location_name: "taskType"))
1748
+ ListAuditTasksRequest.add_member(:task_status, Shapes::ShapeRef.new(shape: AuditTaskStatus, location: "querystring", location_name: "taskStatus"))
1749
+ ListAuditTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1750
+ ListAuditTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1751
+ ListAuditTasksRequest.struct_class = Types::ListAuditTasksRequest
1752
+
1753
+ ListAuditTasksResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: AuditTaskMetadataList, location_name: "tasks"))
1754
+ ListAuditTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1755
+ ListAuditTasksResponse.struct_class = Types::ListAuditTasksResponse
1756
+
1409
1757
  ListAuthorizersRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
1410
1758
  ListAuthorizersRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
1411
1759
  ListAuthorizersRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
@@ -1555,6 +1903,32 @@ module Aws::IoT
1555
1903
  ListRoleAliasesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
1556
1904
  ListRoleAliasesResponse.struct_class = Types::ListRoleAliasesResponse
1557
1905
 
1906
+ ListScheduledAuditsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1907
+ ListScheduledAuditsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1908
+ ListScheduledAuditsRequest.struct_class = Types::ListScheduledAuditsRequest
1909
+
1910
+ ListScheduledAuditsResponse.add_member(:scheduled_audits, Shapes::ShapeRef.new(shape: ScheduledAuditMetadataList, location_name: "scheduledAudits"))
1911
+ ListScheduledAuditsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1912
+ ListScheduledAuditsResponse.struct_class = Types::ListScheduledAuditsResponse
1913
+
1914
+ ListSecurityProfilesForTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1915
+ ListSecurityProfilesForTargetRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1916
+ ListSecurityProfilesForTargetRequest.add_member(:recursive, Shapes::ShapeRef.new(shape: Recursive, location: "querystring", location_name: "recursive"))
1917
+ ListSecurityProfilesForTargetRequest.add_member(:security_profile_target_arn, Shapes::ShapeRef.new(shape: SecurityProfileTargetArn, required: true, location: "querystring", location_name: "securityProfileTargetArn"))
1918
+ ListSecurityProfilesForTargetRequest.struct_class = Types::ListSecurityProfilesForTargetRequest
1919
+
1920
+ ListSecurityProfilesForTargetResponse.add_member(:security_profile_target_mappings, Shapes::ShapeRef.new(shape: SecurityProfileTargetMappings, location_name: "securityProfileTargetMappings"))
1921
+ ListSecurityProfilesForTargetResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1922
+ ListSecurityProfilesForTargetResponse.struct_class = Types::ListSecurityProfilesForTargetResponse
1923
+
1924
+ ListSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1925
+ ListSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1926
+ ListSecurityProfilesRequest.struct_class = Types::ListSecurityProfilesRequest
1927
+
1928
+ ListSecurityProfilesResponse.add_member(:security_profile_identifiers, Shapes::ShapeRef.new(shape: SecurityProfileIdentifiers, location_name: "securityProfileIdentifiers"))
1929
+ ListSecurityProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1930
+ ListSecurityProfilesResponse.struct_class = Types::ListSecurityProfilesResponse
1931
+
1558
1932
  ListStreamsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1559
1933
  ListStreamsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1560
1934
  ListStreamsRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
@@ -1573,6 +1947,15 @@ module Aws::IoT
1573
1947
  ListTargetsForPolicyResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
1574
1948
  ListTargetsForPolicyResponse.struct_class = Types::ListTargetsForPolicyResponse
1575
1949
 
1950
+ ListTargetsForSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location: "uri", location_name: "securityProfileName"))
1951
+ ListTargetsForSecurityProfileRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1952
+ ListTargetsForSecurityProfileRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1953
+ ListTargetsForSecurityProfileRequest.struct_class = Types::ListTargetsForSecurityProfileRequest
1954
+
1955
+ ListTargetsForSecurityProfileResponse.add_member(:security_profile_targets, Shapes::ShapeRef.new(shape: SecurityProfileTargets, location_name: "securityProfileTargets"))
1956
+ ListTargetsForSecurityProfileResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1957
+ ListTargetsForSecurityProfileResponse.struct_class = Types::ListTargetsForSecurityProfileResponse
1958
+
1576
1959
  ListThingGroupsForThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
1577
1960
  ListThingGroupsForThingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1578
1961
  ListThingGroupsForThingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RegistryMaxResults, location: "querystring", location_name: "maxResults"))
@@ -1668,6 +2051,18 @@ module Aws::IoT
1668
2051
  ListV2LoggingLevelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1669
2052
  ListV2LoggingLevelsResponse.struct_class = Types::ListV2LoggingLevelsResponse
1670
2053
 
2054
+ ListViolationEventsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
2055
+ ListViolationEventsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
2056
+ ListViolationEventsRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location: "querystring", location_name: "thingName"))
2057
+ ListViolationEventsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
2058
+ ListViolationEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
2059
+ ListViolationEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
2060
+ ListViolationEventsRequest.struct_class = Types::ListViolationEventsRequest
2061
+
2062
+ ListViolationEventsResponse.add_member(:violation_events, Shapes::ShapeRef.new(shape: ViolationEvents, location_name: "violationEvents"))
2063
+ ListViolationEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2064
+ ListViolationEventsResponse.struct_class = Types::ListViolationEventsResponse
2065
+
1671
2066
  LogTarget.add_member(:target_type, Shapes::ShapeRef.new(shape: LogTargetType, required: true, location_name: "targetType"))
1672
2067
  LogTarget.add_member(:target_name, Shapes::ShapeRef.new(shape: LogTargetName, location_name: "targetName"))
1673
2068
  LogTarget.struct_class = Types::LogTarget
@@ -1682,8 +2077,18 @@ module Aws::IoT
1682
2077
  LoggingOptionsPayload.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "logLevel"))
1683
2078
  LoggingOptionsPayload.struct_class = Types::LoggingOptionsPayload
1684
2079
 
2080
+ MetricValue.add_member(:count, Shapes::ShapeRef.new(shape: UnsignedLong, location_name: "count"))
2081
+ MetricValue.add_member(:cidrs, Shapes::ShapeRef.new(shape: Cidrs, location_name: "cidrs"))
2082
+ MetricValue.add_member(:ports, Shapes::ShapeRef.new(shape: Ports, location_name: "ports"))
2083
+ MetricValue.struct_class = Types::MetricValue
2084
+
1685
2085
  MissingContextValues.member = Shapes::ShapeRef.new(shape: MissingContextValue)
1686
2086
 
2087
+ NonCompliantResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
2088
+ NonCompliantResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
2089
+ NonCompliantResource.add_member(:additional_info, Shapes::ShapeRef.new(shape: StringMap, location_name: "additionalInfo"))
2090
+ NonCompliantResource.struct_class = Types::NonCompliantResource
2091
+
1687
2092
  OTAUpdateFile.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "fileName"))
1688
2093
  OTAUpdateFile.add_member(:file_version, Shapes::ShapeRef.new(shape: OTAUpdateFileVersion, location_name: "fileVersion"))
1689
2094
  OTAUpdateFile.add_member(:file_source, Shapes::ShapeRef.new(shape: Stream, location_name: "fileSource"))
@@ -1745,8 +2150,14 @@ module Aws::IoT
1745
2150
  PolicyVersion.add_member(:create_date, Shapes::ShapeRef.new(shape: DateType, location_name: "createDate"))
1746
2151
  PolicyVersion.struct_class = Types::PolicyVersion
1747
2152
 
2153
+ PolicyVersionIdentifier.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
2154
+ PolicyVersionIdentifier.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "policyVersionId"))
2155
+ PolicyVersionIdentifier.struct_class = Types::PolicyVersionIdentifier
2156
+
1748
2157
  PolicyVersions.member = Shapes::ShapeRef.new(shape: PolicyVersion)
1749
2158
 
2159
+ Ports.member = Shapes::ShapeRef.new(shape: Port)
2160
+
1750
2161
  PresignedUrlConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
1751
2162
  PresignedUrlConfig.add_member(:expires_in_sec, Shapes::ShapeRef.new(shape: ExpiresInSec, location_name: "expiresInSec"))
1752
2163
  PresignedUrlConfig.struct_class = Types::PresignedUrlConfig
@@ -1798,6 +2209,13 @@ module Aws::IoT
1798
2209
  RejectCertificateTransferRequest.add_member(:reject_reason, Shapes::ShapeRef.new(shape: Message, location_name: "rejectReason"))
1799
2210
  RejectCertificateTransferRequest.struct_class = Types::RejectCertificateTransferRequest
1800
2211
 
2212
+ RelatedResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
2213
+ RelatedResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
2214
+ RelatedResource.add_member(:additional_info, Shapes::ShapeRef.new(shape: StringMap, location_name: "additionalInfo"))
2215
+ RelatedResource.struct_class = Types::RelatedResource
2216
+
2217
+ RelatedResources.member = Shapes::ShapeRef.new(shape: RelatedResource)
2218
+
1801
2219
  RemoveThingFromThingGroupRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, location_name: "thingGroupName"))
1802
2220
  RemoveThingFromThingGroupRequest.add_member(:thing_group_arn, Shapes::ShapeRef.new(shape: ThingGroupArn, location_name: "thingGroupArn"))
1803
2221
  RemoveThingFromThingGroupRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
@@ -1819,6 +2237,14 @@ module Aws::IoT
1819
2237
  ResourceArns.key = Shapes::ShapeRef.new(shape: ResourceLogicalId)
1820
2238
  ResourceArns.value = Shapes::ShapeRef.new(shape: ResourceArn)
1821
2239
 
2240
+ ResourceIdentifier.add_member(:device_certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "deviceCertificateId"))
2241
+ ResourceIdentifier.add_member(:ca_certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "caCertificateId"))
2242
+ ResourceIdentifier.add_member(:cognito_identity_pool_id, Shapes::ShapeRef.new(shape: CognitoIdentityPoolId, location_name: "cognitoIdentityPoolId"))
2243
+ ResourceIdentifier.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
2244
+ ResourceIdentifier.add_member(:policy_version_identifier, Shapes::ShapeRef.new(shape: PolicyVersionIdentifier, location_name: "policyVersionIdentifier"))
2245
+ ResourceIdentifier.add_member(:account, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "account"))
2246
+ ResourceIdentifier.struct_class = Types::ResourceIdentifier
2247
+
1822
2248
  Resources.member = Shapes::ShapeRef.new(shape: Resource)
1823
2249
 
1824
2250
  RoleAliasDescription.add_member(:role_alias, Shapes::ShapeRef.new(shape: RoleAlias, location_name: "roleAlias"))
@@ -1849,6 +2275,15 @@ module Aws::IoT
1849
2275
  SalesforceAction.add_member(:url, Shapes::ShapeRef.new(shape: SalesforceEndpoint, required: true, location_name: "url"))
1850
2276
  SalesforceAction.struct_class = Types::SalesforceAction
1851
2277
 
2278
+ ScheduledAuditMetadata.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, location_name: "scheduledAuditName"))
2279
+ ScheduledAuditMetadata.add_member(:scheduled_audit_arn, Shapes::ShapeRef.new(shape: ScheduledAuditArn, location_name: "scheduledAuditArn"))
2280
+ ScheduledAuditMetadata.add_member(:frequency, Shapes::ShapeRef.new(shape: AuditFrequency, location_name: "frequency"))
2281
+ ScheduledAuditMetadata.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, location_name: "dayOfMonth"))
2282
+ ScheduledAuditMetadata.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, location_name: "dayOfWeek"))
2283
+ ScheduledAuditMetadata.struct_class = Types::ScheduledAuditMetadata
2284
+
2285
+ ScheduledAuditMetadataList.member = Shapes::ShapeRef.new(shape: ScheduledAuditMetadata)
2286
+
1852
2287
  SearchIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
1853
2288
  SearchIndexRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
1854
2289
  SearchIndexRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -1862,6 +2297,23 @@ module Aws::IoT
1862
2297
 
1863
2298
  SearchableAttributes.member = Shapes::ShapeRef.new(shape: AttributeName)
1864
2299
 
2300
+ SecurityProfileIdentifier.add_member(:name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location_name: "name"))
2301
+ SecurityProfileIdentifier.add_member(:arn, Shapes::ShapeRef.new(shape: SecurityProfileArn, required: true, location_name: "arn"))
2302
+ SecurityProfileIdentifier.struct_class = Types::SecurityProfileIdentifier
2303
+
2304
+ SecurityProfileIdentifiers.member = Shapes::ShapeRef.new(shape: SecurityProfileIdentifier)
2305
+
2306
+ SecurityProfileTarget.add_member(:arn, Shapes::ShapeRef.new(shape: SecurityProfileTargetArn, required: true, location_name: "arn"))
2307
+ SecurityProfileTarget.struct_class = Types::SecurityProfileTarget
2308
+
2309
+ SecurityProfileTargetMapping.add_member(:security_profile_identifier, Shapes::ShapeRef.new(shape: SecurityProfileIdentifier, location_name: "securityProfileIdentifier"))
2310
+ SecurityProfileTargetMapping.add_member(:target, Shapes::ShapeRef.new(shape: SecurityProfileTarget, location_name: "target"))
2311
+ SecurityProfileTargetMapping.struct_class = Types::SecurityProfileTargetMapping
2312
+
2313
+ SecurityProfileTargetMappings.member = Shapes::ShapeRef.new(shape: SecurityProfileTargetMapping)
2314
+
2315
+ SecurityProfileTargets.member = Shapes::ShapeRef.new(shape: SecurityProfileTarget)
2316
+
1865
2317
  SetDefaultAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location_name: "authorizerName"))
1866
2318
  SetDefaultAuthorizerRequest.struct_class = Types::SetDefaultAuthorizerRequest
1867
2319
 
@@ -1897,6 +2349,12 @@ module Aws::IoT
1897
2349
  SqsAction.add_member(:use_base_64, Shapes::ShapeRef.new(shape: UseBase64, location_name: "useBase64"))
1898
2350
  SqsAction.struct_class = Types::SqsAction
1899
2351
 
2352
+ StartOnDemandAuditTaskRequest.add_member(:target_check_names, Shapes::ShapeRef.new(shape: TargetAuditCheckNames, required: true, location_name: "targetCheckNames"))
2353
+ StartOnDemandAuditTaskRequest.struct_class = Types::StartOnDemandAuditTaskRequest
2354
+
2355
+ StartOnDemandAuditTaskResponse.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, location_name: "taskId"))
2356
+ StartOnDemandAuditTaskResponse.struct_class = Types::StartOnDemandAuditTaskResponse
2357
+
1900
2358
  StartThingRegistrationTaskRequest.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, required: true, location_name: "templateBody"))
1901
2359
  StartThingRegistrationTaskRequest.add_member(:input_file_bucket, Shapes::ShapeRef.new(shape: RegistryS3BucketName, required: true, location_name: "inputFileBucket"))
1902
2360
  StartThingRegistrationTaskRequest.add_member(:input_file_key, Shapes::ShapeRef.new(shape: RegistryS3KeyName, required: true, location_name: "inputFileKey"))
@@ -1906,6 +2364,11 @@ module Aws::IoT
1906
2364
  StartThingRegistrationTaskResponse.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, location_name: "taskId"))
1907
2365
  StartThingRegistrationTaskResponse.struct_class = Types::StartThingRegistrationTaskResponse
1908
2366
 
2367
+ StepFunctionsAction.add_member(:execution_name_prefix, Shapes::ShapeRef.new(shape: ExecutionNamePrefix, location_name: "executionNamePrefix"))
2368
+ StepFunctionsAction.add_member(:state_machine_name, Shapes::ShapeRef.new(shape: StateMachineName, required: true, location_name: "stateMachineName"))
2369
+ StepFunctionsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
2370
+ StepFunctionsAction.struct_class = Types::StepFunctionsAction
2371
+
1909
2372
  StopThingRegistrationTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskId"))
1910
2373
  StopThingRegistrationTaskRequest.struct_class = Types::StopThingRegistrationTaskRequest
1911
2374
 
@@ -1939,10 +2402,24 @@ module Aws::IoT
1939
2402
 
1940
2403
  StreamsSummary.member = Shapes::ShapeRef.new(shape: StreamSummary)
1941
2404
 
2405
+ StringMap.key = Shapes::ShapeRef.new(shape: String)
2406
+ StringMap.value = Shapes::ShapeRef.new(shape: String)
2407
+
2408
+ TargetAuditCheckNames.member = Shapes::ShapeRef.new(shape: AuditCheckName)
2409
+
1942
2410
  Targets.member = Shapes::ShapeRef.new(shape: Target)
1943
2411
 
1944
2412
  TaskIdList.member = Shapes::ShapeRef.new(shape: TaskId)
1945
2413
 
2414
+ TaskStatistics.add_member(:total_checks, Shapes::ShapeRef.new(shape: TotalChecksCount, location_name: "totalChecks"))
2415
+ TaskStatistics.add_member(:in_progress_checks, Shapes::ShapeRef.new(shape: InProgressChecksCount, location_name: "inProgressChecks"))
2416
+ TaskStatistics.add_member(:waiting_for_data_collection_checks, Shapes::ShapeRef.new(shape: WaitingForDataCollectionChecksCount, location_name: "waitingForDataCollectionChecks"))
2417
+ TaskStatistics.add_member(:compliant_checks, Shapes::ShapeRef.new(shape: CompliantChecksCount, location_name: "compliantChecks"))
2418
+ TaskStatistics.add_member(:non_compliant_checks, Shapes::ShapeRef.new(shape: NonCompliantChecksCount, location_name: "nonCompliantChecks"))
2419
+ TaskStatistics.add_member(:failed_checks, Shapes::ShapeRef.new(shape: FailedChecksCount, location_name: "failedChecks"))
2420
+ TaskStatistics.add_member(:canceled_checks, Shapes::ShapeRef.new(shape: CanceledChecksCount, location_name: "canceledChecks"))
2421
+ TaskStatistics.struct_class = Types::TaskStatistics
2422
+
1946
2423
  TestAuthorizationRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "principal"))
1947
2424
  TestAuthorizationRequest.add_member(:cognito_identity_pool_id, Shapes::ShapeRef.new(shape: CognitoIdentityPoolId, location_name: "cognitoIdentityPoolId"))
1948
2425
  TestAuthorizationRequest.add_member(:auth_infos, Shapes::ShapeRef.new(shape: AuthInfos, required: true, location_name: "authInfos"))
@@ -2064,6 +2541,13 @@ module Aws::IoT
2064
2541
  TransferData.add_member(:reject_date, Shapes::ShapeRef.new(shape: DateType, location_name: "rejectDate"))
2065
2542
  TransferData.struct_class = Types::TransferData
2066
2543
 
2544
+ UpdateAccountAuditConfigurationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
2545
+ UpdateAccountAuditConfigurationRequest.add_member(:audit_notification_target_configurations, Shapes::ShapeRef.new(shape: AuditNotificationTargetConfigurations, location_name: "auditNotificationTargetConfigurations"))
2546
+ UpdateAccountAuditConfigurationRequest.add_member(:audit_check_configurations, Shapes::ShapeRef.new(shape: AuditCheckConfigurations, location_name: "auditCheckConfigurations"))
2547
+ UpdateAccountAuditConfigurationRequest.struct_class = Types::UpdateAccountAuditConfigurationRequest
2548
+
2549
+ UpdateAccountAuditConfigurationResponse.struct_class = Types::UpdateAccountAuditConfigurationResponse
2550
+
2067
2551
  UpdateAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
2068
2552
  UpdateAuthorizerRequest.add_member(:authorizer_function_arn, Shapes::ShapeRef.new(shape: AuthorizerFunctionArn, location_name: "authorizerFunctionArn"))
2069
2553
  UpdateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
@@ -2105,6 +2589,33 @@ module Aws::IoT
2105
2589
  UpdateRoleAliasResponse.add_member(:role_alias_arn, Shapes::ShapeRef.new(shape: RoleAliasArn, location_name: "roleAliasArn"))
2106
2590
  UpdateRoleAliasResponse.struct_class = Types::UpdateRoleAliasResponse
2107
2591
 
2592
+ UpdateScheduledAuditRequest.add_member(:frequency, Shapes::ShapeRef.new(shape: AuditFrequency, location_name: "frequency"))
2593
+ UpdateScheduledAuditRequest.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, location_name: "dayOfMonth"))
2594
+ UpdateScheduledAuditRequest.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, location_name: "dayOfWeek"))
2595
+ UpdateScheduledAuditRequest.add_member(:target_check_names, Shapes::ShapeRef.new(shape: TargetAuditCheckNames, location_name: "targetCheckNames"))
2596
+ UpdateScheduledAuditRequest.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, required: true, location: "uri", location_name: "scheduledAuditName"))
2597
+ UpdateScheduledAuditRequest.struct_class = Types::UpdateScheduledAuditRequest
2598
+
2599
+ UpdateScheduledAuditResponse.add_member(:scheduled_audit_arn, Shapes::ShapeRef.new(shape: ScheduledAuditArn, location_name: "scheduledAuditArn"))
2600
+ UpdateScheduledAuditResponse.struct_class = Types::UpdateScheduledAuditResponse
2601
+
2602
+ UpdateSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location: "uri", location_name: "securityProfileName"))
2603
+ UpdateSecurityProfileRequest.add_member(:security_profile_description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "securityProfileDescription"))
2604
+ UpdateSecurityProfileRequest.add_member(:behaviors, Shapes::ShapeRef.new(shape: Behaviors, location_name: "behaviors"))
2605
+ UpdateSecurityProfileRequest.add_member(:alert_targets, Shapes::ShapeRef.new(shape: AlertTargets, location_name: "alertTargets"))
2606
+ UpdateSecurityProfileRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
2607
+ UpdateSecurityProfileRequest.struct_class = Types::UpdateSecurityProfileRequest
2608
+
2609
+ UpdateSecurityProfileResponse.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "securityProfileName"))
2610
+ UpdateSecurityProfileResponse.add_member(:security_profile_arn, Shapes::ShapeRef.new(shape: SecurityProfileArn, location_name: "securityProfileArn"))
2611
+ UpdateSecurityProfileResponse.add_member(:security_profile_description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "securityProfileDescription"))
2612
+ UpdateSecurityProfileResponse.add_member(:behaviors, Shapes::ShapeRef.new(shape: Behaviors, location_name: "behaviors"))
2613
+ UpdateSecurityProfileResponse.add_member(:alert_targets, Shapes::ShapeRef.new(shape: AlertTargets, location_name: "alertTargets"))
2614
+ UpdateSecurityProfileResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
2615
+ UpdateSecurityProfileResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDate"))
2616
+ UpdateSecurityProfileResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedDate"))
2617
+ UpdateSecurityProfileResponse.struct_class = Types::UpdateSecurityProfileResponse
2618
+
2108
2619
  UpdateStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
2109
2620
  UpdateStreamRequest.add_member(:description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "description"))
2110
2621
  UpdateStreamRequest.add_member(:files, Shapes::ShapeRef.new(shape: StreamFiles, location_name: "files"))
@@ -2141,6 +2652,29 @@ module Aws::IoT
2141
2652
 
2142
2653
  UpdateThingResponse.struct_class = Types::UpdateThingResponse
2143
2654
 
2655
+ ValidateSecurityProfileBehaviorsRequest.add_member(:behaviors, Shapes::ShapeRef.new(shape: Behaviors, required: true, location_name: "behaviors"))
2656
+ ValidateSecurityProfileBehaviorsRequest.struct_class = Types::ValidateSecurityProfileBehaviorsRequest
2657
+
2658
+ ValidateSecurityProfileBehaviorsResponse.add_member(:valid, Shapes::ShapeRef.new(shape: Valid, location_name: "valid"))
2659
+ ValidateSecurityProfileBehaviorsResponse.add_member(:validation_errors, Shapes::ShapeRef.new(shape: ValidationErrors, location_name: "validationErrors"))
2660
+ ValidateSecurityProfileBehaviorsResponse.struct_class = Types::ValidateSecurityProfileBehaviorsResponse
2661
+
2662
+ ValidationError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
2663
+ ValidationError.struct_class = Types::ValidationError
2664
+
2665
+ ValidationErrors.member = Shapes::ShapeRef.new(shape: ValidationError)
2666
+
2667
+ ViolationEvent.add_member(:violation_id, Shapes::ShapeRef.new(shape: ViolationId, location_name: "violationId"))
2668
+ ViolationEvent.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
2669
+ ViolationEvent.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "securityProfileName"))
2670
+ ViolationEvent.add_member(:behavior, Shapes::ShapeRef.new(shape: Behavior, location_name: "behavior"))
2671
+ ViolationEvent.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "metricValue"))
2672
+ ViolationEvent.add_member(:violation_event_type, Shapes::ShapeRef.new(shape: ViolationEventType, location_name: "violationEventType"))
2673
+ ViolationEvent.add_member(:violation_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationEventTime"))
2674
+ ViolationEvent.struct_class = Types::ViolationEvent
2675
+
2676
+ ViolationEvents.member = Shapes::ShapeRef.new(shape: ViolationEvent)
2677
+
2144
2678
 
2145
2679
  # @api private
2146
2680
  API = Seahorse::Model::Api.new.tap do |api|
@@ -2226,6 +2760,20 @@ module Aws::IoT
2226
2760
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2227
2761
  end)
2228
2762
 
2763
+ api.add_operation(:attach_security_profile, Seahorse::Model::Operation.new.tap do |o|
2764
+ o.name = "AttachSecurityProfile"
2765
+ o.http_method = "PUT"
2766
+ o.http_request_uri = "/security-profiles/{securityProfileName}/targets"
2767
+ o.input = Shapes::ShapeRef.new(shape: AttachSecurityProfileRequest)
2768
+ o.output = Shapes::ShapeRef.new(shape: AttachSecurityProfileResponse)
2769
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2770
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2771
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2772
+ o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
2773
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2774
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2775
+ end)
2776
+
2229
2777
  api.add_operation(:attach_thing_principal, Seahorse::Model::Operation.new.tap do |o|
2230
2778
  o.name = "AttachThingPrincipal"
2231
2779
  o.http_method = "PUT"
@@ -2240,6 +2788,18 @@ module Aws::IoT
2240
2788
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2241
2789
  end)
2242
2790
 
2791
+ api.add_operation(:cancel_audit_task, Seahorse::Model::Operation.new.tap do |o|
2792
+ o.name = "CancelAuditTask"
2793
+ o.http_method = "PUT"
2794
+ o.http_request_uri = "/audit/tasks/{taskId}/cancel"
2795
+ o.input = Shapes::ShapeRef.new(shape: CancelAuditTaskRequest)
2796
+ o.output = Shapes::ShapeRef.new(shape: CancelAuditTaskResponse)
2797
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2798
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2799
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2800
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2801
+ end)
2802
+
2243
2803
  api.add_operation(:cancel_certificate_transfer, Seahorse::Model::Operation.new.tap do |o|
2244
2804
  o.name = "CancelCertificateTransfer"
2245
2805
  o.http_method = "PATCH"
@@ -2411,6 +2971,30 @@ module Aws::IoT
2411
2971
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2412
2972
  end)
2413
2973
 
2974
+ api.add_operation(:create_scheduled_audit, Seahorse::Model::Operation.new.tap do |o|
2975
+ o.name = "CreateScheduledAudit"
2976
+ o.http_method = "POST"
2977
+ o.http_request_uri = "/audit/scheduledaudits/{scheduledAuditName}"
2978
+ o.input = Shapes::ShapeRef.new(shape: CreateScheduledAuditRequest)
2979
+ o.output = Shapes::ShapeRef.new(shape: CreateScheduledAuditResponse)
2980
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2981
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2982
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2983
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2984
+ end)
2985
+
2986
+ api.add_operation(:create_security_profile, Seahorse::Model::Operation.new.tap do |o|
2987
+ o.name = "CreateSecurityProfile"
2988
+ o.http_method = "POST"
2989
+ o.http_request_uri = "/security-profiles/{securityProfileName}"
2990
+ o.input = Shapes::ShapeRef.new(shape: CreateSecurityProfileRequest)
2991
+ o.output = Shapes::ShapeRef.new(shape: CreateSecurityProfileResponse)
2992
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2993
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2994
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2995
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2996
+ end)
2997
+
2414
2998
  api.add_operation(:create_stream, Seahorse::Model::Operation.new.tap do |o|
2415
2999
  o.name = "CreateStream"
2416
3000
  o.http_method = "POST"
@@ -2480,6 +3064,18 @@ module Aws::IoT
2480
3064
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2481
3065
  end)
2482
3066
 
3067
+ api.add_operation(:delete_account_audit_configuration, Seahorse::Model::Operation.new.tap do |o|
3068
+ o.name = "DeleteAccountAuditConfiguration"
3069
+ o.http_method = "DELETE"
3070
+ o.http_request_uri = "/audit/configuration"
3071
+ o.input = Shapes::ShapeRef.new(shape: DeleteAccountAuditConfigurationRequest)
3072
+ o.output = Shapes::ShapeRef.new(shape: DeleteAccountAuditConfigurationResponse)
3073
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3074
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3075
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3076
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3077
+ end)
3078
+
2483
3079
  api.add_operation(:delete_authorizer, Seahorse::Model::Operation.new.tap do |o|
2484
3080
  o.name = "DeleteAuthorizer"
2485
3081
  o.http_method = "DELETE"
@@ -2625,6 +3221,30 @@ module Aws::IoT
2625
3221
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2626
3222
  end)
2627
3223
 
3224
+ api.add_operation(:delete_scheduled_audit, Seahorse::Model::Operation.new.tap do |o|
3225
+ o.name = "DeleteScheduledAudit"
3226
+ o.http_method = "DELETE"
3227
+ o.http_request_uri = "/audit/scheduledaudits/{scheduledAuditName}"
3228
+ o.input = Shapes::ShapeRef.new(shape: DeleteScheduledAuditRequest)
3229
+ o.output = Shapes::ShapeRef.new(shape: DeleteScheduledAuditResponse)
3230
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3231
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3232
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3233
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3234
+ end)
3235
+
3236
+ api.add_operation(:delete_security_profile, Seahorse::Model::Operation.new.tap do |o|
3237
+ o.name = "DeleteSecurityProfile"
3238
+ o.http_method = "DELETE"
3239
+ o.http_request_uri = "/security-profiles/{securityProfileName}"
3240
+ o.input = Shapes::ShapeRef.new(shape: DeleteSecurityProfileRequest)
3241
+ o.output = Shapes::ShapeRef.new(shape: DeleteSecurityProfileResponse)
3242
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3243
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3244
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3245
+ o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
3246
+ end)
3247
+
2628
3248
  api.add_operation(:delete_stream, Seahorse::Model::Operation.new.tap do |o|
2629
3249
  o.name = "DeleteStream"
2630
3250
  o.http_method = "DELETE"
@@ -2718,6 +3338,28 @@ module Aws::IoT
2718
3338
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2719
3339
  end)
2720
3340
 
3341
+ api.add_operation(:describe_account_audit_configuration, Seahorse::Model::Operation.new.tap do |o|
3342
+ o.name = "DescribeAccountAuditConfiguration"
3343
+ o.http_method = "GET"
3344
+ o.http_request_uri = "/audit/configuration"
3345
+ o.input = Shapes::ShapeRef.new(shape: DescribeAccountAuditConfigurationRequest)
3346
+ o.output = Shapes::ShapeRef.new(shape: DescribeAccountAuditConfigurationResponse)
3347
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3348
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3349
+ end)
3350
+
3351
+ api.add_operation(:describe_audit_task, Seahorse::Model::Operation.new.tap do |o|
3352
+ o.name = "DescribeAuditTask"
3353
+ o.http_method = "GET"
3354
+ o.http_request_uri = "/audit/tasks/{taskId}"
3355
+ o.input = Shapes::ShapeRef.new(shape: DescribeAuditTaskRequest)
3356
+ o.output = Shapes::ShapeRef.new(shape: DescribeAuditTaskResponse)
3357
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3358
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3359
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3360
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3361
+ end)
3362
+
2721
3363
  api.add_operation(:describe_authorizer, Seahorse::Model::Operation.new.tap do |o|
2722
3364
  o.name = "DescribeAuthorizer"
2723
3365
  o.http_method = "GET"
@@ -2848,6 +3490,30 @@ module Aws::IoT
2848
3490
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2849
3491
  end)
2850
3492
 
3493
+ api.add_operation(:describe_scheduled_audit, Seahorse::Model::Operation.new.tap do |o|
3494
+ o.name = "DescribeScheduledAudit"
3495
+ o.http_method = "GET"
3496
+ o.http_request_uri = "/audit/scheduledaudits/{scheduledAuditName}"
3497
+ o.input = Shapes::ShapeRef.new(shape: DescribeScheduledAuditRequest)
3498
+ o.output = Shapes::ShapeRef.new(shape: DescribeScheduledAuditResponse)
3499
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3500
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3501
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3502
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3503
+ end)
3504
+
3505
+ api.add_operation(:describe_security_profile, Seahorse::Model::Operation.new.tap do |o|
3506
+ o.name = "DescribeSecurityProfile"
3507
+ o.http_method = "GET"
3508
+ o.http_request_uri = "/security-profiles/{securityProfileName}"
3509
+ o.input = Shapes::ShapeRef.new(shape: DescribeSecurityProfileRequest)
3510
+ o.output = Shapes::ShapeRef.new(shape: DescribeSecurityProfileResponse)
3511
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3512
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3513
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3514
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3515
+ end)
3516
+
2851
3517
  api.add_operation(:describe_stream, Seahorse::Model::Operation.new.tap do |o|
2852
3518
  o.name = "DescribeStream"
2853
3519
  o.http_method = "GET"
@@ -2944,6 +3610,18 @@ module Aws::IoT
2944
3610
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2945
3611
  end)
2946
3612
 
3613
+ api.add_operation(:detach_security_profile, Seahorse::Model::Operation.new.tap do |o|
3614
+ o.name = "DetachSecurityProfile"
3615
+ o.http_method = "DELETE"
3616
+ o.http_request_uri = "/security-profiles/{securityProfileName}/targets"
3617
+ o.input = Shapes::ShapeRef.new(shape: DetachSecurityProfileRequest)
3618
+ o.output = Shapes::ShapeRef.new(shape: DetachSecurityProfileResponse)
3619
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3620
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3621
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3622
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3623
+ end)
3624
+
2947
3625
  api.add_operation(:detach_thing_principal, Seahorse::Model::Operation.new.tap do |o|
2948
3626
  o.name = "DetachThingPrincipal"
2949
3627
  o.http_method = "DELETE"
@@ -3107,10 +3785,22 @@ module Aws::IoT
3107
3785
  o.input = Shapes::ShapeRef.new(shape: GetV2LoggingOptionsRequest)
3108
3786
  o.output = Shapes::ShapeRef.new(shape: GetV2LoggingOptionsResponse)
3109
3787
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
3110
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3788
+ o.errors << Shapes::ShapeRef.new(shape: NotConfiguredException)
3111
3789
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3112
3790
  end)
3113
3791
 
3792
+ api.add_operation(:list_active_violations, Seahorse::Model::Operation.new.tap do |o|
3793
+ o.name = "ListActiveViolations"
3794
+ o.http_method = "GET"
3795
+ o.http_request_uri = "/active-violations"
3796
+ o.input = Shapes::ShapeRef.new(shape: ListActiveViolationsRequest)
3797
+ o.output = Shapes::ShapeRef.new(shape: ListActiveViolationsResponse)
3798
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3799
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3800
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3801
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3802
+ end)
3803
+
3114
3804
  api.add_operation(:list_attached_policies, Seahorse::Model::Operation.new.tap do |o|
3115
3805
  o.name = "ListAttachedPolicies"
3116
3806
  o.http_method = "POST"
@@ -3126,6 +3816,28 @@ module Aws::IoT
3126
3816
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3127
3817
  end)
3128
3818
 
3819
+ api.add_operation(:list_audit_findings, Seahorse::Model::Operation.new.tap do |o|
3820
+ o.name = "ListAuditFindings"
3821
+ o.http_method = "POST"
3822
+ o.http_request_uri = "/audit/findings"
3823
+ o.input = Shapes::ShapeRef.new(shape: ListAuditFindingsRequest)
3824
+ o.output = Shapes::ShapeRef.new(shape: ListAuditFindingsResponse)
3825
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3826
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3827
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3828
+ end)
3829
+
3830
+ api.add_operation(:list_audit_tasks, Seahorse::Model::Operation.new.tap do |o|
3831
+ o.name = "ListAuditTasks"
3832
+ o.http_method = "GET"
3833
+ o.http_request_uri = "/audit/tasks"
3834
+ o.input = Shapes::ShapeRef.new(shape: ListAuditTasksRequest)
3835
+ o.output = Shapes::ShapeRef.new(shape: ListAuditTasksResponse)
3836
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3837
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3838
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3839
+ end)
3840
+
3129
3841
  api.add_operation(:list_authorizers, Seahorse::Model::Operation.new.tap do |o|
3130
3842
  o.name = "ListAuthorizers"
3131
3843
  o.http_method = "GET"
@@ -3337,6 +4049,40 @@ module Aws::IoT
3337
4049
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3338
4050
  end)
3339
4051
 
4052
+ api.add_operation(:list_scheduled_audits, Seahorse::Model::Operation.new.tap do |o|
4053
+ o.name = "ListScheduledAudits"
4054
+ o.http_method = "GET"
4055
+ o.http_request_uri = "/audit/scheduledaudits"
4056
+ o.input = Shapes::ShapeRef.new(shape: ListScheduledAuditsRequest)
4057
+ o.output = Shapes::ShapeRef.new(shape: ListScheduledAuditsResponse)
4058
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4059
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4060
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4061
+ end)
4062
+
4063
+ api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
4064
+ o.name = "ListSecurityProfiles"
4065
+ o.http_method = "GET"
4066
+ o.http_request_uri = "/security-profiles"
4067
+ o.input = Shapes::ShapeRef.new(shape: ListSecurityProfilesRequest)
4068
+ o.output = Shapes::ShapeRef.new(shape: ListSecurityProfilesResponse)
4069
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4070
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4071
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4072
+ end)
4073
+
4074
+ api.add_operation(:list_security_profiles_for_target, Seahorse::Model::Operation.new.tap do |o|
4075
+ o.name = "ListSecurityProfilesForTarget"
4076
+ o.http_method = "GET"
4077
+ o.http_request_uri = "/security-profiles-for-target"
4078
+ o.input = Shapes::ShapeRef.new(shape: ListSecurityProfilesForTargetRequest)
4079
+ o.output = Shapes::ShapeRef.new(shape: ListSecurityProfilesForTargetResponse)
4080
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4081
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4082
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4083
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4084
+ end)
4085
+
3340
4086
  api.add_operation(:list_streams, Seahorse::Model::Operation.new.tap do |o|
3341
4087
  o.name = "ListStreams"
3342
4088
  o.http_method = "GET"
@@ -3365,6 +4111,18 @@ module Aws::IoT
3365
4111
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3366
4112
  end)
3367
4113
 
4114
+ api.add_operation(:list_targets_for_security_profile, Seahorse::Model::Operation.new.tap do |o|
4115
+ o.name = "ListTargetsForSecurityProfile"
4116
+ o.http_method = "GET"
4117
+ o.http_request_uri = "/security-profiles/{securityProfileName}/targets"
4118
+ o.input = Shapes::ShapeRef.new(shape: ListTargetsForSecurityProfileRequest)
4119
+ o.output = Shapes::ShapeRef.new(shape: ListTargetsForSecurityProfileResponse)
4120
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4121
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4122
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4123
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4124
+ end)
4125
+
3368
4126
  api.add_operation(:list_thing_groups, Seahorse::Model::Operation.new.tap do |o|
3369
4127
  o.name = "ListThingGroups"
3370
4128
  o.http_method = "GET"
@@ -3485,6 +4243,17 @@ module Aws::IoT
3485
4243
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3486
4244
  end)
3487
4245
 
4246
+ api.add_operation(:list_violation_events, Seahorse::Model::Operation.new.tap do |o|
4247
+ o.name = "ListViolationEvents"
4248
+ o.http_method = "GET"
4249
+ o.http_request_uri = "/violation-events"
4250
+ o.input = Shapes::ShapeRef.new(shape: ListViolationEventsRequest)
4251
+ o.output = Shapes::ShapeRef.new(shape: ListViolationEventsResponse)
4252
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4253
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4254
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4255
+ end)
4256
+
3488
4257
  api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
3489
4258
  o.name = "RegisterCACertificate"
3490
4259
  o.http_method = "POST"
@@ -3653,6 +4422,18 @@ module Aws::IoT
3653
4422
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3654
4423
  end)
3655
4424
 
4425
+ api.add_operation(:start_on_demand_audit_task, Seahorse::Model::Operation.new.tap do |o|
4426
+ o.name = "StartOnDemandAuditTask"
4427
+ o.http_method = "POST"
4428
+ o.http_request_uri = "/audit/tasks"
4429
+ o.input = Shapes::ShapeRef.new(shape: StartOnDemandAuditTaskRequest)
4430
+ o.output = Shapes::ShapeRef.new(shape: StartOnDemandAuditTaskResponse)
4431
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4432
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4433
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4434
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
4435
+ end)
4436
+
3656
4437
  api.add_operation(:start_thing_registration_task, Seahorse::Model::Operation.new.tap do |o|
3657
4438
  o.name = "StartThingRegistrationTask"
3658
4439
  o.http_method = "POST"
@@ -3724,6 +4505,17 @@ module Aws::IoT
3724
4505
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3725
4506
  end)
3726
4507
 
4508
+ api.add_operation(:update_account_audit_configuration, Seahorse::Model::Operation.new.tap do |o|
4509
+ o.name = "UpdateAccountAuditConfiguration"
4510
+ o.http_method = "PATCH"
4511
+ o.http_request_uri = "/audit/configuration"
4512
+ o.input = Shapes::ShapeRef.new(shape: UpdateAccountAuditConfigurationRequest)
4513
+ o.output = Shapes::ShapeRef.new(shape: UpdateAccountAuditConfigurationResponse)
4514
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4515
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4516
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4517
+ end)
4518
+
3727
4519
  api.add_operation(:update_authorizer, Seahorse::Model::Operation.new.tap do |o|
3728
4520
  o.name = "UpdateAuthorizer"
3729
4521
  o.http_method = "PUT"
@@ -3806,6 +4598,31 @@ module Aws::IoT
3806
4598
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3807
4599
  end)
3808
4600
 
4601
+ api.add_operation(:update_scheduled_audit, Seahorse::Model::Operation.new.tap do |o|
4602
+ o.name = "UpdateScheduledAudit"
4603
+ o.http_method = "PATCH"
4604
+ o.http_request_uri = "/audit/scheduledaudits/{scheduledAuditName}"
4605
+ o.input = Shapes::ShapeRef.new(shape: UpdateScheduledAuditRequest)
4606
+ o.output = Shapes::ShapeRef.new(shape: UpdateScheduledAuditResponse)
4607
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4608
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4609
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4610
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4611
+ end)
4612
+
4613
+ api.add_operation(:update_security_profile, Seahorse::Model::Operation.new.tap do |o|
4614
+ o.name = "UpdateSecurityProfile"
4615
+ o.http_method = "PATCH"
4616
+ o.http_request_uri = "/security-profiles/{securityProfileName}"
4617
+ o.input = Shapes::ShapeRef.new(shape: UpdateSecurityProfileRequest)
4618
+ o.output = Shapes::ShapeRef.new(shape: UpdateSecurityProfileResponse)
4619
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4620
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4621
+ o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
4622
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4623
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4624
+ end)
4625
+
3809
4626
  api.add_operation(:update_stream, Seahorse::Model::Operation.new.tap do |o|
3810
4627
  o.name = "UpdateStream"
3811
4628
  o.http_method = "PUT"
@@ -3859,6 +4676,17 @@ module Aws::IoT
3859
4676
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3860
4677
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3861
4678
  end)
4679
+
4680
+ api.add_operation(:validate_security_profile_behaviors, Seahorse::Model::Operation.new.tap do |o|
4681
+ o.name = "ValidateSecurityProfileBehaviors"
4682
+ o.http_method = "POST"
4683
+ o.http_request_uri = "/security-profile-behaviors/validate"
4684
+ o.input = Shapes::ShapeRef.new(shape: ValidateSecurityProfileBehaviorsRequest)
4685
+ o.output = Shapes::ShapeRef.new(shape: ValidateSecurityProfileBehaviorsResponse)
4686
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4687
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4688
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4689
+ end)
3862
4690
  end
3863
4691
 
3864
4692
  end