aws-sdk-iot 1.51.1 → 1.56.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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -78,6 +80,7 @@ module Aws::IoT
78
80
  AuditCheckRunStatus = Shapes::StringShape.new(name: 'AuditCheckRunStatus')
79
81
  AuditCheckToActionsMapping = Shapes::MapShape.new(name: 'AuditCheckToActionsMapping')
80
82
  AuditCheckToReasonCodeFilter = Shapes::MapShape.new(name: 'AuditCheckToReasonCodeFilter')
83
+ AuditDescription = Shapes::StringShape.new(name: 'AuditDescription')
81
84
  AuditDetails = Shapes::MapShape.new(name: 'AuditDetails')
82
85
  AuditFinding = Shapes::StructureShape.new(name: 'AuditFinding')
83
86
  AuditFindingSeverity = Shapes::StringShape.new(name: 'AuditFindingSeverity')
@@ -95,6 +98,8 @@ module Aws::IoT
95
98
  AuditNotificationTarget = Shapes::StructureShape.new(name: 'AuditNotificationTarget')
96
99
  AuditNotificationTargetConfigurations = Shapes::MapShape.new(name: 'AuditNotificationTargetConfigurations')
97
100
  AuditNotificationType = Shapes::StringShape.new(name: 'AuditNotificationType')
101
+ AuditSuppression = Shapes::StructureShape.new(name: 'AuditSuppression')
102
+ AuditSuppressionList = Shapes::ListShape.new(name: 'AuditSuppressionList')
98
103
  AuditTaskId = Shapes::StringShape.new(name: 'AuditTaskId')
99
104
  AuditTaskMetadata = Shapes::StructureShape.new(name: 'AuditTaskMetadata')
100
105
  AuditTaskMetadataList = Shapes::ListShape.new(name: 'AuditTaskMetadataList')
@@ -120,8 +125,22 @@ module Aws::IoT
120
125
  AwsIotJobArn = Shapes::StringShape.new(name: 'AwsIotJobArn')
121
126
  AwsIotJobId = Shapes::StringShape.new(name: 'AwsIotJobId')
122
127
  AwsIotSqlVersion = Shapes::StringShape.new(name: 'AwsIotSqlVersion')
128
+ AwsJobAbortConfig = Shapes::StructureShape.new(name: 'AwsJobAbortConfig')
129
+ AwsJobAbortCriteria = Shapes::StructureShape.new(name: 'AwsJobAbortCriteria')
130
+ AwsJobAbortCriteriaAbortAction = Shapes::StringShape.new(name: 'AwsJobAbortCriteriaAbortAction')
131
+ AwsJobAbortCriteriaAbortThresholdPercentage = Shapes::FloatShape.new(name: 'AwsJobAbortCriteriaAbortThresholdPercentage')
132
+ AwsJobAbortCriteriaFailureType = Shapes::StringShape.new(name: 'AwsJobAbortCriteriaFailureType')
133
+ AwsJobAbortCriteriaList = Shapes::ListShape.new(name: 'AwsJobAbortCriteriaList')
134
+ AwsJobAbortCriteriaMinimumNumberOfExecutedThings = Shapes::IntegerShape.new(name: 'AwsJobAbortCriteriaMinimumNumberOfExecutedThings')
123
135
  AwsJobExecutionsRolloutConfig = Shapes::StructureShape.new(name: 'AwsJobExecutionsRolloutConfig')
136
+ AwsJobExponentialRolloutRate = Shapes::StructureShape.new(name: 'AwsJobExponentialRolloutRate')
124
137
  AwsJobPresignedUrlConfig = Shapes::StructureShape.new(name: 'AwsJobPresignedUrlConfig')
138
+ AwsJobRateIncreaseCriteria = Shapes::StructureShape.new(name: 'AwsJobRateIncreaseCriteria')
139
+ AwsJobRateIncreaseCriteriaNumberOfThings = Shapes::IntegerShape.new(name: 'AwsJobRateIncreaseCriteriaNumberOfThings')
140
+ AwsJobRolloutIncrementFactor = Shapes::FloatShape.new(name: 'AwsJobRolloutIncrementFactor')
141
+ AwsJobRolloutRatePerMinute = Shapes::IntegerShape.new(name: 'AwsJobRolloutRatePerMinute')
142
+ AwsJobTimeoutConfig = Shapes::StructureShape.new(name: 'AwsJobTimeoutConfig')
143
+ AwsJobTimeoutInProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'AwsJobTimeoutInProgressTimeoutInMinutes')
125
144
  Behavior = Shapes::StructureShape.new(name: 'Behavior')
126
145
  BehaviorCriteria = Shapes::StructureShape.new(name: 'BehaviorCriteria')
127
146
  BehaviorMetric = Shapes::StringShape.new(name: 'BehaviorMetric')
@@ -197,6 +216,8 @@ module Aws::IoT
197
216
  ConsecutiveDatapointsToAlarm = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToAlarm')
198
217
  ConsecutiveDatapointsToClear = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToClear')
199
218
  Count = Shapes::IntegerShape.new(name: 'Count')
219
+ CreateAuditSuppressionRequest = Shapes::StructureShape.new(name: 'CreateAuditSuppressionRequest')
220
+ CreateAuditSuppressionResponse = Shapes::StructureShape.new(name: 'CreateAuditSuppressionResponse')
200
221
  CreateAuthorizerRequest = Shapes::StructureShape.new(name: 'CreateAuthorizerRequest')
201
222
  CreateAuthorizerResponse = Shapes::StructureShape.new(name: 'CreateAuthorizerResponse')
202
223
  CreateBillingGroupRequest = Shapes::StructureShape.new(name: 'CreateBillingGroupRequest')
@@ -256,6 +277,8 @@ module Aws::IoT
256
277
  DeleteAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteAccountAuditConfigurationResponse')
257
278
  DeleteAdditionalMetricsToRetain = Shapes::BooleanShape.new(name: 'DeleteAdditionalMetricsToRetain')
258
279
  DeleteAlertTargets = Shapes::BooleanShape.new(name: 'DeleteAlertTargets')
280
+ DeleteAuditSuppressionRequest = Shapes::StructureShape.new(name: 'DeleteAuditSuppressionRequest')
281
+ DeleteAuditSuppressionResponse = Shapes::StructureShape.new(name: 'DeleteAuditSuppressionResponse')
259
282
  DeleteAuthorizerRequest = Shapes::StructureShape.new(name: 'DeleteAuthorizerRequest')
260
283
  DeleteAuthorizerResponse = Shapes::StructureShape.new(name: 'DeleteAuthorizerResponse')
261
284
  DeleteBehaviors = Shapes::BooleanShape.new(name: 'DeleteBehaviors')
@@ -316,6 +339,8 @@ module Aws::IoT
316
339
  DescribeAuditFindingResponse = Shapes::StructureShape.new(name: 'DescribeAuditFindingResponse')
317
340
  DescribeAuditMitigationActionsTaskRequest = Shapes::StructureShape.new(name: 'DescribeAuditMitigationActionsTaskRequest')
318
341
  DescribeAuditMitigationActionsTaskResponse = Shapes::StructureShape.new(name: 'DescribeAuditMitigationActionsTaskResponse')
342
+ DescribeAuditSuppressionRequest = Shapes::StructureShape.new(name: 'DescribeAuditSuppressionRequest')
343
+ DescribeAuditSuppressionResponse = Shapes::StructureShape.new(name: 'DescribeAuditSuppressionResponse')
319
344
  DescribeAuditTaskRequest = Shapes::StructureShape.new(name: 'DescribeAuditTaskRequest')
320
345
  DescribeAuditTaskResponse = Shapes::StructureShape.new(name: 'DescribeAuditTaskResponse')
321
346
  DescribeAuthorizerRequest = Shapes::StructureShape.new(name: 'DescribeAuthorizerRequest')
@@ -516,6 +541,7 @@ module Aws::IoT
516
541
  IsAuthenticated = Shapes::BooleanShape.new(name: 'IsAuthenticated')
517
542
  IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
518
543
  IsDisabled = Shapes::BooleanShape.new(name: 'IsDisabled')
544
+ IsSuppressed = Shapes::BooleanShape.new(name: 'IsSuppressed')
519
545
  Job = Shapes::StructureShape.new(name: 'Job')
520
546
  JobArn = Shapes::StringShape.new(name: 'JobArn')
521
547
  JobDescription = Shapes::StringShape.new(name: 'JobDescription')
@@ -557,6 +583,8 @@ module Aws::IoT
557
583
  ListAuditMitigationActionsExecutionsResponse = Shapes::StructureShape.new(name: 'ListAuditMitigationActionsExecutionsResponse')
558
584
  ListAuditMitigationActionsTasksRequest = Shapes::StructureShape.new(name: 'ListAuditMitigationActionsTasksRequest')
559
585
  ListAuditMitigationActionsTasksResponse = Shapes::StructureShape.new(name: 'ListAuditMitigationActionsTasksResponse')
586
+ ListAuditSuppressionsRequest = Shapes::StructureShape.new(name: 'ListAuditSuppressionsRequest')
587
+ ListAuditSuppressionsResponse = Shapes::StructureShape.new(name: 'ListAuditSuppressionsResponse')
560
588
  ListAuditTasksRequest = Shapes::StructureShape.new(name: 'ListAuditTasksRequest')
561
589
  ListAuditTasksResponse = Shapes::StructureShape.new(name: 'ListAuditTasksResponse')
562
590
  ListAuthorizersRequest = Shapes::StructureShape.new(name: 'ListAuthorizersRequest')
@@ -611,6 +639,7 @@ module Aws::IoT
611
639
  ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
612
640
  ListStreamsRequest = Shapes::StructureShape.new(name: 'ListStreamsRequest')
613
641
  ListStreamsResponse = Shapes::StructureShape.new(name: 'ListStreamsResponse')
642
+ ListSuppressedFindings = Shapes::BooleanShape.new(name: 'ListSuppressedFindings')
614
643
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
615
644
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
616
645
  ListTargetsForPolicyRequest = Shapes::StructureShape.new(name: 'ListTargetsForPolicyRequest')
@@ -913,6 +942,8 @@ module Aws::IoT
913
942
  SucceededThings = Shapes::IntegerShape.new(name: 'SucceededThings')
914
943
  Sum = Shapes::FloatShape.new(name: 'Sum')
915
944
  SumOfSquares = Shapes::FloatShape.new(name: 'SumOfSquares')
945
+ SuppressIndefinitely = Shapes::BooleanShape.new(name: 'SuppressIndefinitely')
946
+ SuppressedNonCompliantResourcesCount = Shapes::IntegerShape.new(name: 'SuppressedNonCompliantResourcesCount')
916
947
  TableName = Shapes::StringShape.new(name: 'TableName')
917
948
  Tag = Shapes::StructureShape.new(name: 'Tag')
918
949
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -1010,6 +1041,8 @@ module Aws::IoT
1010
1041
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
1011
1042
  UpdateAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationRequest')
1012
1043
  UpdateAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationResponse')
1044
+ UpdateAuditSuppressionRequest = Shapes::StructureShape.new(name: 'UpdateAuditSuppressionRequest')
1045
+ UpdateAuditSuppressionResponse = Shapes::StructureShape.new(name: 'UpdateAuditSuppressionResponse')
1013
1046
  UpdateAuthorizerRequest = Shapes::StructureShape.new(name: 'UpdateAuthorizerRequest')
1014
1047
  UpdateAuthorizerResponse = Shapes::StructureShape.new(name: 'UpdateAuthorizerResponse')
1015
1048
  UpdateBillingGroupRequest = Shapes::StructureShape.new(name: 'UpdateBillingGroupRequest')
@@ -1225,6 +1258,7 @@ module Aws::IoT
1225
1258
  AuditCheckDetails.add_member(:check_compliant, Shapes::ShapeRef.new(shape: CheckCompliant, location_name: "checkCompliant"))
1226
1259
  AuditCheckDetails.add_member(:total_resources_count, Shapes::ShapeRef.new(shape: TotalResourcesCount, location_name: "totalResourcesCount"))
1227
1260
  AuditCheckDetails.add_member(:non_compliant_resources_count, Shapes::ShapeRef.new(shape: NonCompliantResourcesCount, location_name: "nonCompliantResourcesCount"))
1261
+ AuditCheckDetails.add_member(:suppressed_non_compliant_resources_count, Shapes::ShapeRef.new(shape: SuppressedNonCompliantResourcesCount, location_name: "suppressedNonCompliantResourcesCount"))
1228
1262
  AuditCheckDetails.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
1229
1263
  AuditCheckDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1230
1264
  AuditCheckDetails.struct_class = Types::AuditCheckDetails
@@ -1248,6 +1282,7 @@ module Aws::IoT
1248
1282
  AuditFinding.add_member(:related_resources, Shapes::ShapeRef.new(shape: RelatedResources, location_name: "relatedResources"))
1249
1283
  AuditFinding.add_member(:reason_for_non_compliance, Shapes::ShapeRef.new(shape: ReasonForNonCompliance, location_name: "reasonForNonCompliance"))
1250
1284
  AuditFinding.add_member(:reason_for_non_compliance_code, Shapes::ShapeRef.new(shape: ReasonForNonComplianceCode, location_name: "reasonForNonComplianceCode"))
1285
+ AuditFinding.add_member(:is_suppressed, Shapes::ShapeRef.new(shape: IsSuppressed, location_name: "isSuppressed"))
1251
1286
  AuditFinding.struct_class = Types::AuditFinding
1252
1287
 
1253
1288
  AuditFindings.member = Shapes::ShapeRef.new(shape: AuditFinding)
@@ -1288,6 +1323,15 @@ module Aws::IoT
1288
1323
  AuditNotificationTargetConfigurations.key = Shapes::ShapeRef.new(shape: AuditNotificationType)
1289
1324
  AuditNotificationTargetConfigurations.value = Shapes::ShapeRef.new(shape: AuditNotificationTarget)
1290
1325
 
1326
+ AuditSuppression.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, required: true, location_name: "checkName"))
1327
+ AuditSuppression.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
1328
+ AuditSuppression.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationDate"))
1329
+ AuditSuppression.add_member(:suppress_indefinitely, Shapes::ShapeRef.new(shape: SuppressIndefinitely, location_name: "suppressIndefinitely"))
1330
+ AuditSuppression.add_member(:description, Shapes::ShapeRef.new(shape: AuditDescription, location_name: "description"))
1331
+ AuditSuppression.struct_class = Types::AuditSuppression
1332
+
1333
+ AuditSuppressionList.member = Shapes::ShapeRef.new(shape: AuditSuppression)
1334
+
1291
1335
  AuditTaskMetadata.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, location_name: "taskId"))
1292
1336
  AuditTaskMetadata.add_member(:task_status, Shapes::ShapeRef.new(shape: AuditTaskStatus, location_name: "taskStatus"))
1293
1337
  AuditTaskMetadata.add_member(:task_type, Shapes::ShapeRef.new(shape: AuditTaskType, location_name: "taskType"))
@@ -1331,12 +1375,36 @@ module Aws::IoT
1331
1375
 
1332
1376
  Authorizers.member = Shapes::ShapeRef.new(shape: AuthorizerSummary)
1333
1377
 
1378
+ AwsJobAbortConfig.add_member(:abort_criteria_list, Shapes::ShapeRef.new(shape: AwsJobAbortCriteriaList, required: true, location_name: "abortCriteriaList"))
1379
+ AwsJobAbortConfig.struct_class = Types::AwsJobAbortConfig
1380
+
1381
+ AwsJobAbortCriteria.add_member(:failure_type, Shapes::ShapeRef.new(shape: AwsJobAbortCriteriaFailureType, required: true, location_name: "failureType"))
1382
+ AwsJobAbortCriteria.add_member(:action, Shapes::ShapeRef.new(shape: AwsJobAbortCriteriaAbortAction, required: true, location_name: "action"))
1383
+ AwsJobAbortCriteria.add_member(:threshold_percentage, Shapes::ShapeRef.new(shape: AwsJobAbortCriteriaAbortThresholdPercentage, required: true, location_name: "thresholdPercentage"))
1384
+ AwsJobAbortCriteria.add_member(:min_number_of_executed_things, Shapes::ShapeRef.new(shape: AwsJobAbortCriteriaMinimumNumberOfExecutedThings, required: true, location_name: "minNumberOfExecutedThings"))
1385
+ AwsJobAbortCriteria.struct_class = Types::AwsJobAbortCriteria
1386
+
1387
+ AwsJobAbortCriteriaList.member = Shapes::ShapeRef.new(shape: AwsJobAbortCriteria)
1388
+
1334
1389
  AwsJobExecutionsRolloutConfig.add_member(:maximum_per_minute, Shapes::ShapeRef.new(shape: MaximumPerMinute, location_name: "maximumPerMinute"))
1390
+ AwsJobExecutionsRolloutConfig.add_member(:exponential_rate, Shapes::ShapeRef.new(shape: AwsJobExponentialRolloutRate, location_name: "exponentialRate"))
1335
1391
  AwsJobExecutionsRolloutConfig.struct_class = Types::AwsJobExecutionsRolloutConfig
1336
1392
 
1393
+ AwsJobExponentialRolloutRate.add_member(:base_rate_per_minute, Shapes::ShapeRef.new(shape: AwsJobRolloutRatePerMinute, required: true, location_name: "baseRatePerMinute"))
1394
+ AwsJobExponentialRolloutRate.add_member(:increment_factor, Shapes::ShapeRef.new(shape: AwsJobRolloutIncrementFactor, required: true, location_name: "incrementFactor"))
1395
+ AwsJobExponentialRolloutRate.add_member(:rate_increase_criteria, Shapes::ShapeRef.new(shape: AwsJobRateIncreaseCriteria, required: true, location_name: "rateIncreaseCriteria"))
1396
+ AwsJobExponentialRolloutRate.struct_class = Types::AwsJobExponentialRolloutRate
1397
+
1337
1398
  AwsJobPresignedUrlConfig.add_member(:expires_in_sec, Shapes::ShapeRef.new(shape: ExpiresInSeconds, location_name: "expiresInSec"))
1338
1399
  AwsJobPresignedUrlConfig.struct_class = Types::AwsJobPresignedUrlConfig
1339
1400
 
1401
+ AwsJobRateIncreaseCriteria.add_member(:number_of_notified_things, Shapes::ShapeRef.new(shape: AwsJobRateIncreaseCriteriaNumberOfThings, location_name: "numberOfNotifiedThings"))
1402
+ AwsJobRateIncreaseCriteria.add_member(:number_of_succeeded_things, Shapes::ShapeRef.new(shape: AwsJobRateIncreaseCriteriaNumberOfThings, location_name: "numberOfSucceededThings"))
1403
+ AwsJobRateIncreaseCriteria.struct_class = Types::AwsJobRateIncreaseCriteria
1404
+
1405
+ AwsJobTimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: AwsJobTimeoutInProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes"))
1406
+ AwsJobTimeoutConfig.struct_class = Types::AwsJobTimeoutConfig
1407
+
1340
1408
  Behavior.add_member(:name, Shapes::ShapeRef.new(shape: BehaviorName, required: true, location_name: "name"))
1341
1409
  Behavior.add_member(:metric, Shapes::ShapeRef.new(shape: BehaviorMetric, location_name: "metric"))
1342
1410
  Behavior.add_member(:metric_dimension, Shapes::ShapeRef.new(shape: MetricDimension, location_name: "metricDimension"))
@@ -1498,6 +1566,16 @@ module Aws::IoT
1498
1566
  ConflictingResourceUpdateException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
1499
1567
  ConflictingResourceUpdateException.struct_class = Types::ConflictingResourceUpdateException
1500
1568
 
1569
+ CreateAuditSuppressionRequest.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, required: true, location_name: "checkName"))
1570
+ CreateAuditSuppressionRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
1571
+ CreateAuditSuppressionRequest.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationDate"))
1572
+ CreateAuditSuppressionRequest.add_member(:suppress_indefinitely, Shapes::ShapeRef.new(shape: SuppressIndefinitely, location_name: "suppressIndefinitely"))
1573
+ CreateAuditSuppressionRequest.add_member(:description, Shapes::ShapeRef.new(shape: AuditDescription, location_name: "description"))
1574
+ CreateAuditSuppressionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
1575
+ CreateAuditSuppressionRequest.struct_class = Types::CreateAuditSuppressionRequest
1576
+
1577
+ CreateAuditSuppressionResponse.struct_class = Types::CreateAuditSuppressionResponse
1578
+
1501
1579
  CreateAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
1502
1580
  CreateAuthorizerRequest.add_member(:authorizer_function_arn, Shapes::ShapeRef.new(shape: AuthorizerFunctionArn, required: true, location_name: "authorizerFunctionArn"))
1503
1581
  CreateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
@@ -1614,6 +1692,8 @@ module Aws::IoT
1614
1692
  CreateOTAUpdateRequest.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
1615
1693
  CreateOTAUpdateRequest.add_member(:aws_job_executions_rollout_config, Shapes::ShapeRef.new(shape: AwsJobExecutionsRolloutConfig, location_name: "awsJobExecutionsRolloutConfig"))
1616
1694
  CreateOTAUpdateRequest.add_member(:aws_job_presigned_url_config, Shapes::ShapeRef.new(shape: AwsJobPresignedUrlConfig, location_name: "awsJobPresignedUrlConfig"))
1695
+ CreateOTAUpdateRequest.add_member(:aws_job_abort_config, Shapes::ShapeRef.new(shape: AwsJobAbortConfig, location_name: "awsJobAbortConfig"))
1696
+ CreateOTAUpdateRequest.add_member(:aws_job_timeout_config, Shapes::ShapeRef.new(shape: AwsJobTimeoutConfig, location_name: "awsJobTimeoutConfig"))
1617
1697
  CreateOTAUpdateRequest.add_member(:files, Shapes::ShapeRef.new(shape: OTAUpdateFiles, required: true, location_name: "files"))
1618
1698
  CreateOTAUpdateRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
1619
1699
  CreateOTAUpdateRequest.add_member(:additional_parameters, Shapes::ShapeRef.new(shape: AdditionalParameterMap, location_name: "additionalParameters"))
@@ -1786,6 +1866,12 @@ module Aws::IoT
1786
1866
 
1787
1867
  DeleteAccountAuditConfigurationResponse.struct_class = Types::DeleteAccountAuditConfigurationResponse
1788
1868
 
1869
+ DeleteAuditSuppressionRequest.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, required: true, location_name: "checkName"))
1870
+ DeleteAuditSuppressionRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
1871
+ DeleteAuditSuppressionRequest.struct_class = Types::DeleteAuditSuppressionRequest
1872
+
1873
+ DeleteAuditSuppressionResponse.struct_class = Types::DeleteAuditSuppressionResponse
1874
+
1789
1875
  DeleteAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
1790
1876
  DeleteAuthorizerRequest.struct_class = Types::DeleteAuthorizerRequest
1791
1877
 
@@ -1954,6 +2040,17 @@ module Aws::IoT
1954
2040
  DescribeAuditMitigationActionsTaskResponse.add_member(:actions_definition, Shapes::ShapeRef.new(shape: MitigationActionList, location_name: "actionsDefinition"))
1955
2041
  DescribeAuditMitigationActionsTaskResponse.struct_class = Types::DescribeAuditMitigationActionsTaskResponse
1956
2042
 
2043
+ DescribeAuditSuppressionRequest.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, required: true, location_name: "checkName"))
2044
+ DescribeAuditSuppressionRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
2045
+ DescribeAuditSuppressionRequest.struct_class = Types::DescribeAuditSuppressionRequest
2046
+
2047
+ DescribeAuditSuppressionResponse.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, location_name: "checkName"))
2048
+ DescribeAuditSuppressionResponse.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
2049
+ DescribeAuditSuppressionResponse.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationDate"))
2050
+ DescribeAuditSuppressionResponse.add_member(:suppress_indefinitely, Shapes::ShapeRef.new(shape: SuppressIndefinitely, location_name: "suppressIndefinitely"))
2051
+ DescribeAuditSuppressionResponse.add_member(:description, Shapes::ShapeRef.new(shape: AuditDescription, location_name: "description"))
2052
+ DescribeAuditSuppressionResponse.struct_class = Types::DescribeAuditSuppressionResponse
2053
+
1957
2054
  DescribeAuditTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, required: true, location: "uri", location_name: "taskId"))
1958
2055
  DescribeAuditTaskRequest.struct_class = Types::DescribeAuditTaskRequest
1959
2056
 
@@ -2614,6 +2711,7 @@ module Aws::IoT
2614
2711
  ListAuditFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2615
2712
  ListAuditFindingsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
2616
2713
  ListAuditFindingsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
2714
+ ListAuditFindingsRequest.add_member(:list_suppressed_findings, Shapes::ShapeRef.new(shape: ListSuppressedFindings, location_name: "listSuppressedFindings"))
2617
2715
  ListAuditFindingsRequest.struct_class = Types::ListAuditFindingsRequest
2618
2716
 
2619
2717
  ListAuditFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: AuditFindings, location_name: "findings"))
@@ -2644,6 +2742,17 @@ module Aws::IoT
2644
2742
  ListAuditMitigationActionsTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2645
2743
  ListAuditMitigationActionsTasksResponse.struct_class = Types::ListAuditMitigationActionsTasksResponse
2646
2744
 
2745
+ ListAuditSuppressionsRequest.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, location_name: "checkName"))
2746
+ ListAuditSuppressionsRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
2747
+ ListAuditSuppressionsRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location_name: "ascendingOrder"))
2748
+ ListAuditSuppressionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2749
+ ListAuditSuppressionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
2750
+ ListAuditSuppressionsRequest.struct_class = Types::ListAuditSuppressionsRequest
2751
+
2752
+ ListAuditSuppressionsResponse.add_member(:suppressions, Shapes::ShapeRef.new(shape: AuditSuppressionList, location_name: "suppressions"))
2753
+ ListAuditSuppressionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2754
+ ListAuditSuppressionsResponse.struct_class = Types::ListAuditSuppressionsResponse
2755
+
2647
2756
  ListAuditTasksRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
2648
2757
  ListAuditTasksRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
2649
2758
  ListAuditTasksRequest.add_member(:task_type, Shapes::ShapeRef.new(shape: AuditTaskType, location: "querystring", location_name: "taskType"))
@@ -3810,6 +3919,15 @@ module Aws::IoT
3810
3919
 
3811
3920
  UpdateAccountAuditConfigurationResponse.struct_class = Types::UpdateAccountAuditConfigurationResponse
3812
3921
 
3922
+ UpdateAuditSuppressionRequest.add_member(:check_name, Shapes::ShapeRef.new(shape: AuditCheckName, required: true, location_name: "checkName"))
3923
+ UpdateAuditSuppressionRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
3924
+ UpdateAuditSuppressionRequest.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationDate"))
3925
+ UpdateAuditSuppressionRequest.add_member(:suppress_indefinitely, Shapes::ShapeRef.new(shape: SuppressIndefinitely, location_name: "suppressIndefinitely"))
3926
+ UpdateAuditSuppressionRequest.add_member(:description, Shapes::ShapeRef.new(shape: AuditDescription, location_name: "description"))
3927
+ UpdateAuditSuppressionRequest.struct_class = Types::UpdateAuditSuppressionRequest
3928
+
3929
+ UpdateAuditSuppressionResponse.struct_class = Types::UpdateAuditSuppressionResponse
3930
+
3813
3931
  UpdateAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
3814
3932
  UpdateAuthorizerRequest.add_member(:authorizer_function_arn, Shapes::ShapeRef.new(shape: AuthorizerFunctionArn, location_name: "authorizerFunctionArn"))
3815
3933
  UpdateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
@@ -4253,6 +4371,19 @@ module Aws::IoT
4253
4371
  o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
4254
4372
  end)
4255
4373
 
4374
+ api.add_operation(:create_audit_suppression, Seahorse::Model::Operation.new.tap do |o|
4375
+ o.name = "CreateAuditSuppression"
4376
+ o.http_method = "POST"
4377
+ o.http_request_uri = "/audit/suppressions/create"
4378
+ o.input = Shapes::ShapeRef.new(shape: CreateAuditSuppressionRequest)
4379
+ o.output = Shapes::ShapeRef.new(shape: CreateAuditSuppressionResponse)
4380
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4381
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
4382
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4383
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4384
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
4385
+ end)
4386
+
4256
4387
  api.add_operation(:create_authorizer, Seahorse::Model::Operation.new.tap do |o|
4257
4388
  o.name = "CreateAuthorizer"
4258
4389
  o.http_method = "POST"
@@ -4603,6 +4734,17 @@ module Aws::IoT
4603
4734
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4604
4735
  end)
4605
4736
 
4737
+ api.add_operation(:delete_audit_suppression, Seahorse::Model::Operation.new.tap do |o|
4738
+ o.name = "DeleteAuditSuppression"
4739
+ o.http_method = "POST"
4740
+ o.http_request_uri = "/audit/suppressions/delete"
4741
+ o.input = Shapes::ShapeRef.new(shape: DeleteAuditSuppressionRequest)
4742
+ o.output = Shapes::ShapeRef.new(shape: DeleteAuditSuppressionResponse)
4743
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4744
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4745
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4746
+ end)
4747
+
4606
4748
  api.add_operation(:delete_authorizer, Seahorse::Model::Operation.new.tap do |o|
4607
4749
  o.name = "DeleteAuthorizer"
4608
4750
  o.http_method = "DELETE"
@@ -5002,6 +5144,18 @@ module Aws::IoT
5002
5144
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5003
5145
  end)
5004
5146
 
5147
+ api.add_operation(:describe_audit_suppression, Seahorse::Model::Operation.new.tap do |o|
5148
+ o.name = "DescribeAuditSuppression"
5149
+ o.http_method = "POST"
5150
+ o.http_request_uri = "/audit/suppressions/describe"
5151
+ o.input = Shapes::ShapeRef.new(shape: DescribeAuditSuppressionRequest)
5152
+ o.output = Shapes::ShapeRef.new(shape: DescribeAuditSuppressionResponse)
5153
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5154
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5155
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5156
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5157
+ end)
5158
+
5005
5159
  api.add_operation(:describe_audit_task, Seahorse::Model::Operation.new.tap do |o|
5006
5160
  o.name = "DescribeAuditTask"
5007
5161
  o.http_method = "GET"
@@ -5594,6 +5748,12 @@ module Aws::IoT
5594
5748
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5595
5749
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5596
5750
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5751
+ o[:pager] = Aws::Pager.new(
5752
+ limit_key: "max_results",
5753
+ tokens: {
5754
+ "next_token" => "next_token"
5755
+ }
5756
+ )
5597
5757
  end)
5598
5758
 
5599
5759
  api.add_operation(:list_attached_policies, Seahorse::Model::Operation.new.tap do |o|
@@ -5609,6 +5769,12 @@ module Aws::IoT
5609
5769
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5610
5770
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5611
5771
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
5772
+ o[:pager] = Aws::Pager.new(
5773
+ limit_key: "page_size",
5774
+ tokens: {
5775
+ "next_marker" => "marker"
5776
+ }
5777
+ )
5612
5778
  end)
5613
5779
 
5614
5780
  api.add_operation(:list_audit_findings, Seahorse::Model::Operation.new.tap do |o|
@@ -5620,6 +5786,12 @@ module Aws::IoT
5620
5786
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5621
5787
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5622
5788
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5789
+ o[:pager] = Aws::Pager.new(
5790
+ limit_key: "max_results",
5791
+ tokens: {
5792
+ "next_token" => "next_token"
5793
+ }
5794
+ )
5623
5795
  end)
5624
5796
 
5625
5797
  api.add_operation(:list_audit_mitigation_actions_executions, Seahorse::Model::Operation.new.tap do |o|
@@ -5631,6 +5803,12 @@ module Aws::IoT
5631
5803
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5632
5804
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5633
5805
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5806
+ o[:pager] = Aws::Pager.new(
5807
+ limit_key: "max_results",
5808
+ tokens: {
5809
+ "next_token" => "next_token"
5810
+ }
5811
+ )
5634
5812
  end)
5635
5813
 
5636
5814
  api.add_operation(:list_audit_mitigation_actions_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -5642,6 +5820,29 @@ module Aws::IoT
5642
5820
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5643
5821
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5644
5822
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5823
+ o[:pager] = Aws::Pager.new(
5824
+ limit_key: "max_results",
5825
+ tokens: {
5826
+ "next_token" => "next_token"
5827
+ }
5828
+ )
5829
+ end)
5830
+
5831
+ api.add_operation(:list_audit_suppressions, Seahorse::Model::Operation.new.tap do |o|
5832
+ o.name = "ListAuditSuppressions"
5833
+ o.http_method = "POST"
5834
+ o.http_request_uri = "/audit/suppressions/list"
5835
+ o.input = Shapes::ShapeRef.new(shape: ListAuditSuppressionsRequest)
5836
+ o.output = Shapes::ShapeRef.new(shape: ListAuditSuppressionsResponse)
5837
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5838
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5839
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5840
+ o[:pager] = Aws::Pager.new(
5841
+ limit_key: "max_results",
5842
+ tokens: {
5843
+ "next_token" => "next_token"
5844
+ }
5845
+ )
5645
5846
  end)
5646
5847
 
5647
5848
  api.add_operation(:list_audit_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -5653,6 +5854,12 @@ module Aws::IoT
5653
5854
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5654
5855
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5655
5856
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5857
+ o[:pager] = Aws::Pager.new(
5858
+ limit_key: "max_results",
5859
+ tokens: {
5860
+ "next_token" => "next_token"
5861
+ }
5862
+ )
5656
5863
  end)
5657
5864
 
5658
5865
  api.add_operation(:list_authorizers, Seahorse::Model::Operation.new.tap do |o|
@@ -5666,6 +5873,12 @@ module Aws::IoT
5666
5873
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5667
5874
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5668
5875
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5876
+ o[:pager] = Aws::Pager.new(
5877
+ limit_key: "page_size",
5878
+ tokens: {
5879
+ "next_marker" => "marker"
5880
+ }
5881
+ )
5669
5882
  end)
5670
5883
 
5671
5884
  api.add_operation(:list_billing_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -5678,6 +5891,12 @@ module Aws::IoT
5678
5891
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5679
5892
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5680
5893
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5894
+ o[:pager] = Aws::Pager.new(
5895
+ limit_key: "max_results",
5896
+ tokens: {
5897
+ "next_token" => "next_token"
5898
+ }
5899
+ )
5681
5900
  end)
5682
5901
 
5683
5902
  api.add_operation(:list_ca_certificates, Seahorse::Model::Operation.new.tap do |o|
@@ -5691,6 +5910,12 @@ module Aws::IoT
5691
5910
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5692
5911
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5693
5912
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5913
+ o[:pager] = Aws::Pager.new(
5914
+ limit_key: "page_size",
5915
+ tokens: {
5916
+ "next_marker" => "marker"
5917
+ }
5918
+ )
5694
5919
  end)
5695
5920
 
5696
5921
  api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
@@ -5704,6 +5929,12 @@ module Aws::IoT
5704
5929
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5705
5930
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5706
5931
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5932
+ o[:pager] = Aws::Pager.new(
5933
+ limit_key: "page_size",
5934
+ tokens: {
5935
+ "next_marker" => "marker"
5936
+ }
5937
+ )
5707
5938
  end)
5708
5939
 
5709
5940
  api.add_operation(:list_certificates_by_ca, Seahorse::Model::Operation.new.tap do |o|
@@ -5717,6 +5948,12 @@ module Aws::IoT
5717
5948
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5718
5949
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5719
5950
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5951
+ o[:pager] = Aws::Pager.new(
5952
+ limit_key: "page_size",
5953
+ tokens: {
5954
+ "next_marker" => "marker"
5955
+ }
5956
+ )
5720
5957
  end)
5721
5958
 
5722
5959
  api.add_operation(:list_dimensions, Seahorse::Model::Operation.new.tap do |o|
@@ -5728,6 +5965,12 @@ module Aws::IoT
5728
5965
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5729
5966
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5730
5967
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5968
+ o[:pager] = Aws::Pager.new(
5969
+ limit_key: "max_results",
5970
+ tokens: {
5971
+ "next_token" => "next_token"
5972
+ }
5973
+ )
5731
5974
  end)
5732
5975
 
5733
5976
  api.add_operation(:list_domain_configurations, Seahorse::Model::Operation.new.tap do |o|
@@ -5741,6 +5984,12 @@ module Aws::IoT
5741
5984
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5742
5985
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5743
5986
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5987
+ o[:pager] = Aws::Pager.new(
5988
+ limit_key: "page_size",
5989
+ tokens: {
5990
+ "next_marker" => "marker"
5991
+ }
5992
+ )
5744
5993
  end)
5745
5994
 
5746
5995
  api.add_operation(:list_indices, Seahorse::Model::Operation.new.tap do |o|
@@ -5754,6 +6003,12 @@ module Aws::IoT
5754
6003
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5755
6004
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5756
6005
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6006
+ o[:pager] = Aws::Pager.new(
6007
+ limit_key: "max_results",
6008
+ tokens: {
6009
+ "next_token" => "next_token"
6010
+ }
6011
+ )
5757
6012
  end)
5758
6013
 
5759
6014
  api.add_operation(:list_job_executions_for_job, Seahorse::Model::Operation.new.tap do |o|
@@ -5766,6 +6021,12 @@ module Aws::IoT
5766
6021
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5767
6022
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5768
6023
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6024
+ o[:pager] = Aws::Pager.new(
6025
+ limit_key: "max_results",
6026
+ tokens: {
6027
+ "next_token" => "next_token"
6028
+ }
6029
+ )
5769
6030
  end)
5770
6031
 
5771
6032
  api.add_operation(:list_job_executions_for_thing, Seahorse::Model::Operation.new.tap do |o|
@@ -5778,6 +6039,12 @@ module Aws::IoT
5778
6039
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5779
6040
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5780
6041
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6042
+ o[:pager] = Aws::Pager.new(
6043
+ limit_key: "max_results",
6044
+ tokens: {
6045
+ "next_token" => "next_token"
6046
+ }
6047
+ )
5781
6048
  end)
5782
6049
 
5783
6050
  api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
@@ -5790,6 +6057,12 @@ module Aws::IoT
5790
6057
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5791
6058
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5792
6059
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6060
+ o[:pager] = Aws::Pager.new(
6061
+ limit_key: "max_results",
6062
+ tokens: {
6063
+ "next_token" => "next_token"
6064
+ }
6065
+ )
5793
6066
  end)
5794
6067
 
5795
6068
  api.add_operation(:list_mitigation_actions, Seahorse::Model::Operation.new.tap do |o|
@@ -5801,6 +6074,12 @@ module Aws::IoT
5801
6074
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5802
6075
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5803
6076
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6077
+ o[:pager] = Aws::Pager.new(
6078
+ limit_key: "max_results",
6079
+ tokens: {
6080
+ "next_token" => "next_token"
6081
+ }
6082
+ )
5804
6083
  end)
5805
6084
 
5806
6085
  api.add_operation(:list_ota_updates, Seahorse::Model::Operation.new.tap do |o|
@@ -5814,6 +6093,12 @@ module Aws::IoT
5814
6093
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5815
6094
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5816
6095
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6096
+ o[:pager] = Aws::Pager.new(
6097
+ limit_key: "max_results",
6098
+ tokens: {
6099
+ "next_token" => "next_token"
6100
+ }
6101
+ )
5817
6102
  end)
5818
6103
 
5819
6104
  api.add_operation(:list_outgoing_certificates, Seahorse::Model::Operation.new.tap do |o|
@@ -5827,6 +6112,12 @@ module Aws::IoT
5827
6112
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5828
6113
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5829
6114
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6115
+ o[:pager] = Aws::Pager.new(
6116
+ limit_key: "page_size",
6117
+ tokens: {
6118
+ "next_marker" => "marker"
6119
+ }
6120
+ )
5830
6121
  end)
5831
6122
 
5832
6123
  api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
@@ -5840,6 +6131,12 @@ module Aws::IoT
5840
6131
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5841
6132
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5842
6133
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6134
+ o[:pager] = Aws::Pager.new(
6135
+ limit_key: "page_size",
6136
+ tokens: {
6137
+ "next_marker" => "marker"
6138
+ }
6139
+ )
5843
6140
  end)
5844
6141
 
5845
6142
  api.add_operation(:list_policy_principals, Seahorse::Model::Operation.new.tap do |o|
@@ -5855,6 +6152,12 @@ module Aws::IoT
5855
6152
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5856
6153
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5857
6154
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6155
+ o[:pager] = Aws::Pager.new(
6156
+ limit_key: "page_size",
6157
+ tokens: {
6158
+ "next_marker" => "marker"
6159
+ }
6160
+ )
5858
6161
  end)
5859
6162
 
5860
6163
  api.add_operation(:list_policy_versions, Seahorse::Model::Operation.new.tap do |o|
@@ -5884,6 +6187,12 @@ module Aws::IoT
5884
6187
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5885
6188
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5886
6189
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6190
+ o[:pager] = Aws::Pager.new(
6191
+ limit_key: "page_size",
6192
+ tokens: {
6193
+ "next_marker" => "marker"
6194
+ }
6195
+ )
5887
6196
  end)
5888
6197
 
5889
6198
  api.add_operation(:list_principal_things, Seahorse::Model::Operation.new.tap do |o|
@@ -5898,6 +6207,12 @@ module Aws::IoT
5898
6207
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5899
6208
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5900
6209
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6210
+ o[:pager] = Aws::Pager.new(
6211
+ limit_key: "max_results",
6212
+ tokens: {
6213
+ "next_token" => "next_token"
6214
+ }
6215
+ )
5901
6216
  end)
5902
6217
 
5903
6218
  api.add_operation(:list_provisioning_template_versions, Seahorse::Model::Operation.new.tap do |o|
@@ -5911,6 +6226,12 @@ module Aws::IoT
5911
6226
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5912
6227
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5913
6228
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6229
+ o[:pager] = Aws::Pager.new(
6230
+ limit_key: "max_results",
6231
+ tokens: {
6232
+ "next_token" => "next_token"
6233
+ }
6234
+ )
5914
6235
  end)
5915
6236
 
5916
6237
  api.add_operation(:list_provisioning_templates, Seahorse::Model::Operation.new.tap do |o|
@@ -5923,6 +6244,12 @@ module Aws::IoT
5923
6244
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5924
6245
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5925
6246
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6247
+ o[:pager] = Aws::Pager.new(
6248
+ limit_key: "max_results",
6249
+ tokens: {
6250
+ "next_token" => "next_token"
6251
+ }
6252
+ )
5926
6253
  end)
5927
6254
 
5928
6255
  api.add_operation(:list_role_aliases, Seahorse::Model::Operation.new.tap do |o|
@@ -5936,6 +6263,12 @@ module Aws::IoT
5936
6263
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5937
6264
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5938
6265
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6266
+ o[:pager] = Aws::Pager.new(
6267
+ limit_key: "page_size",
6268
+ tokens: {
6269
+ "next_marker" => "marker"
6270
+ }
6271
+ )
5939
6272
  end)
5940
6273
 
5941
6274
  api.add_operation(:list_scheduled_audits, Seahorse::Model::Operation.new.tap do |o|
@@ -5947,6 +6280,12 @@ module Aws::IoT
5947
6280
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5948
6281
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5949
6282
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6283
+ o[:pager] = Aws::Pager.new(
6284
+ limit_key: "max_results",
6285
+ tokens: {
6286
+ "next_token" => "next_token"
6287
+ }
6288
+ )
5950
6289
  end)
5951
6290
 
5952
6291
  api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
@@ -5959,6 +6298,12 @@ module Aws::IoT
5959
6298
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5960
6299
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5961
6300
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6301
+ o[:pager] = Aws::Pager.new(
6302
+ limit_key: "max_results",
6303
+ tokens: {
6304
+ "next_token" => "next_token"
6305
+ }
6306
+ )
5962
6307
  end)
5963
6308
 
5964
6309
  api.add_operation(:list_security_profiles_for_target, Seahorse::Model::Operation.new.tap do |o|
@@ -5971,6 +6316,12 @@ module Aws::IoT
5971
6316
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5972
6317
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5973
6318
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6319
+ o[:pager] = Aws::Pager.new(
6320
+ limit_key: "max_results",
6321
+ tokens: {
6322
+ "next_token" => "next_token"
6323
+ }
6324
+ )
5974
6325
  end)
5975
6326
 
5976
6327
  api.add_operation(:list_streams, Seahorse::Model::Operation.new.tap do |o|
@@ -5984,6 +6335,12 @@ module Aws::IoT
5984
6335
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5985
6336
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5986
6337
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6338
+ o[:pager] = Aws::Pager.new(
6339
+ limit_key: "max_results",
6340
+ tokens: {
6341
+ "next_token" => "next_token"
6342
+ }
6343
+ )
5987
6344
  end)
5988
6345
 
5989
6346
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -5996,6 +6353,11 @@ module Aws::IoT
5996
6353
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5997
6354
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5998
6355
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6356
+ o[:pager] = Aws::Pager.new(
6357
+ tokens: {
6358
+ "next_token" => "next_token"
6359
+ }
6360
+ )
5999
6361
  end)
6000
6362
 
6001
6363
  api.add_operation(:list_targets_for_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -6011,6 +6373,12 @@ module Aws::IoT
6011
6373
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6012
6374
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6013
6375
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
6376
+ o[:pager] = Aws::Pager.new(
6377
+ limit_key: "page_size",
6378
+ tokens: {
6379
+ "next_marker" => "marker"
6380
+ }
6381
+ )
6014
6382
  end)
6015
6383
 
6016
6384
  api.add_operation(:list_targets_for_security_profile, Seahorse::Model::Operation.new.tap do |o|
@@ -6023,6 +6391,12 @@ module Aws::IoT
6023
6391
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6024
6392
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6025
6393
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6394
+ o[:pager] = Aws::Pager.new(
6395
+ limit_key: "max_results",
6396
+ tokens: {
6397
+ "next_token" => "next_token"
6398
+ }
6399
+ )
6026
6400
  end)
6027
6401
 
6028
6402
  api.add_operation(:list_thing_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -6034,6 +6408,12 @@ module Aws::IoT
6034
6408
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6035
6409
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6036
6410
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6411
+ o[:pager] = Aws::Pager.new(
6412
+ limit_key: "max_results",
6413
+ tokens: {
6414
+ "next_token" => "next_token"
6415
+ }
6416
+ )
6037
6417
  end)
6038
6418
 
6039
6419
  api.add_operation(:list_thing_groups_for_thing, Seahorse::Model::Operation.new.tap do |o|
@@ -6045,6 +6425,12 @@ module Aws::IoT
6045
6425
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6046
6426
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6047
6427
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6428
+ o[:pager] = Aws::Pager.new(
6429
+ limit_key: "max_results",
6430
+ tokens: {
6431
+ "next_token" => "next_token"
6432
+ }
6433
+ )
6048
6434
  end)
6049
6435
 
6050
6436
  api.add_operation(:list_thing_principals, Seahorse::Model::Operation.new.tap do |o|
@@ -6071,6 +6457,12 @@ module Aws::IoT
6071
6457
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6072
6458
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6073
6459
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6460
+ o[:pager] = Aws::Pager.new(
6461
+ limit_key: "max_results",
6462
+ tokens: {
6463
+ "next_token" => "next_token"
6464
+ }
6465
+ )
6074
6466
  end)
6075
6467
 
6076
6468
  api.add_operation(:list_thing_registration_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -6083,6 +6475,12 @@ module Aws::IoT
6083
6475
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6084
6476
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6085
6477
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6478
+ o[:pager] = Aws::Pager.new(
6479
+ limit_key: "max_results",
6480
+ tokens: {
6481
+ "next_token" => "next_token"
6482
+ }
6483
+ )
6086
6484
  end)
6087
6485
 
6088
6486
  api.add_operation(:list_thing_types, Seahorse::Model::Operation.new.tap do |o|
@@ -6096,6 +6494,12 @@ module Aws::IoT
6096
6494
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6097
6495
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6098
6496
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6497
+ o[:pager] = Aws::Pager.new(
6498
+ limit_key: "max_results",
6499
+ tokens: {
6500
+ "next_token" => "next_token"
6501
+ }
6502
+ )
6099
6503
  end)
6100
6504
 
6101
6505
  api.add_operation(:list_things, Seahorse::Model::Operation.new.tap do |o|
@@ -6109,6 +6513,12 @@ module Aws::IoT
6109
6513
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6110
6514
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6111
6515
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6516
+ o[:pager] = Aws::Pager.new(
6517
+ limit_key: "max_results",
6518
+ tokens: {
6519
+ "next_token" => "next_token"
6520
+ }
6521
+ )
6112
6522
  end)
6113
6523
 
6114
6524
  api.add_operation(:list_things_in_billing_group, Seahorse::Model::Operation.new.tap do |o|
@@ -6121,6 +6531,12 @@ module Aws::IoT
6121
6531
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6122
6532
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6123
6533
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6534
+ o[:pager] = Aws::Pager.new(
6535
+ limit_key: "max_results",
6536
+ tokens: {
6537
+ "next_token" => "next_token"
6538
+ }
6539
+ )
6124
6540
  end)
6125
6541
 
6126
6542
  api.add_operation(:list_things_in_thing_group, Seahorse::Model::Operation.new.tap do |o|
@@ -6132,6 +6548,12 @@ module Aws::IoT
6132
6548
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6133
6549
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6134
6550
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6551
+ o[:pager] = Aws::Pager.new(
6552
+ limit_key: "max_results",
6553
+ tokens: {
6554
+ "next_token" => "next_token"
6555
+ }
6556
+ )
6135
6557
  end)
6136
6558
 
6137
6559
  api.add_operation(:list_topic_rule_destinations, Seahorse::Model::Operation.new.tap do |o|
@@ -6144,6 +6566,12 @@ module Aws::IoT
6144
6566
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6145
6567
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6146
6568
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6569
+ o[:pager] = Aws::Pager.new(
6570
+ limit_key: "max_results",
6571
+ tokens: {
6572
+ "next_token" => "next_token"
6573
+ }
6574
+ )
6147
6575
  end)
6148
6576
 
6149
6577
  api.add_operation(:list_topic_rules, Seahorse::Model::Operation.new.tap do |o|
@@ -6155,6 +6583,12 @@ module Aws::IoT
6155
6583
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
6156
6584
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6157
6585
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6586
+ o[:pager] = Aws::Pager.new(
6587
+ limit_key: "max_results",
6588
+ tokens: {
6589
+ "next_token" => "next_token"
6590
+ }
6591
+ )
6158
6592
  end)
6159
6593
 
6160
6594
  api.add_operation(:list_v2_logging_levels, Seahorse::Model::Operation.new.tap do |o|
@@ -6167,6 +6601,12 @@ module Aws::IoT
6167
6601
  o.errors << Shapes::ShapeRef.new(shape: NotConfiguredException)
6168
6602
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6169
6603
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6604
+ o[:pager] = Aws::Pager.new(
6605
+ limit_key: "max_results",
6606
+ tokens: {
6607
+ "next_token" => "next_token"
6608
+ }
6609
+ )
6170
6610
  end)
6171
6611
 
6172
6612
  api.add_operation(:list_violation_events, Seahorse::Model::Operation.new.tap do |o|
@@ -6178,6 +6618,12 @@ module Aws::IoT
6178
6618
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6179
6619
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6180
6620
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6621
+ o[:pager] = Aws::Pager.new(
6622
+ limit_key: "max_results",
6623
+ tokens: {
6624
+ "next_token" => "next_token"
6625
+ }
6626
+ )
6181
6627
  end)
6182
6628
 
6183
6629
  api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
@@ -6509,6 +6955,18 @@ module Aws::IoT
6509
6955
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6510
6956
  end)
6511
6957
 
6958
+ api.add_operation(:update_audit_suppression, Seahorse::Model::Operation.new.tap do |o|
6959
+ o.name = "UpdateAuditSuppression"
6960
+ o.http_method = "PATCH"
6961
+ o.http_request_uri = "/audit/suppressions/update"
6962
+ o.input = Shapes::ShapeRef.new(shape: UpdateAuditSuppressionRequest)
6963
+ o.output = Shapes::ShapeRef.new(shape: UpdateAuditSuppressionResponse)
6964
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6965
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6966
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6967
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6968
+ end)
6969
+
6512
6970
  api.add_operation(:update_authorizer, Seahorse::Model::Operation.new.tap do |o|
6513
6971
  o.name = "UpdateAuthorizer"
6514
6972
  o.http_method = "PUT"