aws-sdk-iot 1.54.0 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,6 +80,7 @@ module Aws::IoT
80
80
  AuditCheckRunStatus = Shapes::StringShape.new(name: 'AuditCheckRunStatus')
81
81
  AuditCheckToActionsMapping = Shapes::MapShape.new(name: 'AuditCheckToActionsMapping')
82
82
  AuditCheckToReasonCodeFilter = Shapes::MapShape.new(name: 'AuditCheckToReasonCodeFilter')
83
+ AuditDescription = Shapes::StringShape.new(name: 'AuditDescription')
83
84
  AuditDetails = Shapes::MapShape.new(name: 'AuditDetails')
84
85
  AuditFinding = Shapes::StructureShape.new(name: 'AuditFinding')
85
86
  AuditFindingSeverity = Shapes::StringShape.new(name: 'AuditFindingSeverity')
@@ -97,6 +98,8 @@ module Aws::IoT
97
98
  AuditNotificationTarget = Shapes::StructureShape.new(name: 'AuditNotificationTarget')
98
99
  AuditNotificationTargetConfigurations = Shapes::MapShape.new(name: 'AuditNotificationTargetConfigurations')
99
100
  AuditNotificationType = Shapes::StringShape.new(name: 'AuditNotificationType')
101
+ AuditSuppression = Shapes::StructureShape.new(name: 'AuditSuppression')
102
+ AuditSuppressionList = Shapes::ListShape.new(name: 'AuditSuppressionList')
100
103
  AuditTaskId = Shapes::StringShape.new(name: 'AuditTaskId')
101
104
  AuditTaskMetadata = Shapes::StructureShape.new(name: 'AuditTaskMetadata')
102
105
  AuditTaskMetadataList = Shapes::ListShape.new(name: 'AuditTaskMetadataList')
@@ -213,6 +216,8 @@ module Aws::IoT
213
216
  ConsecutiveDatapointsToAlarm = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToAlarm')
214
217
  ConsecutiveDatapointsToClear = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToClear')
215
218
  Count = Shapes::IntegerShape.new(name: 'Count')
219
+ CreateAuditSuppressionRequest = Shapes::StructureShape.new(name: 'CreateAuditSuppressionRequest')
220
+ CreateAuditSuppressionResponse = Shapes::StructureShape.new(name: 'CreateAuditSuppressionResponse')
216
221
  CreateAuthorizerRequest = Shapes::StructureShape.new(name: 'CreateAuthorizerRequest')
217
222
  CreateAuthorizerResponse = Shapes::StructureShape.new(name: 'CreateAuthorizerResponse')
218
223
  CreateBillingGroupRequest = Shapes::StructureShape.new(name: 'CreateBillingGroupRequest')
@@ -272,6 +277,8 @@ module Aws::IoT
272
277
  DeleteAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteAccountAuditConfigurationResponse')
273
278
  DeleteAdditionalMetricsToRetain = Shapes::BooleanShape.new(name: 'DeleteAdditionalMetricsToRetain')
274
279
  DeleteAlertTargets = Shapes::BooleanShape.new(name: 'DeleteAlertTargets')
280
+ DeleteAuditSuppressionRequest = Shapes::StructureShape.new(name: 'DeleteAuditSuppressionRequest')
281
+ DeleteAuditSuppressionResponse = Shapes::StructureShape.new(name: 'DeleteAuditSuppressionResponse')
275
282
  DeleteAuthorizerRequest = Shapes::StructureShape.new(name: 'DeleteAuthorizerRequest')
276
283
  DeleteAuthorizerResponse = Shapes::StructureShape.new(name: 'DeleteAuthorizerResponse')
277
284
  DeleteBehaviors = Shapes::BooleanShape.new(name: 'DeleteBehaviors')
@@ -332,6 +339,8 @@ module Aws::IoT
332
339
  DescribeAuditFindingResponse = Shapes::StructureShape.new(name: 'DescribeAuditFindingResponse')
333
340
  DescribeAuditMitigationActionsTaskRequest = Shapes::StructureShape.new(name: 'DescribeAuditMitigationActionsTaskRequest')
334
341
  DescribeAuditMitigationActionsTaskResponse = Shapes::StructureShape.new(name: 'DescribeAuditMitigationActionsTaskResponse')
342
+ DescribeAuditSuppressionRequest = Shapes::StructureShape.new(name: 'DescribeAuditSuppressionRequest')
343
+ DescribeAuditSuppressionResponse = Shapes::StructureShape.new(name: 'DescribeAuditSuppressionResponse')
335
344
  DescribeAuditTaskRequest = Shapes::StructureShape.new(name: 'DescribeAuditTaskRequest')
336
345
  DescribeAuditTaskResponse = Shapes::StructureShape.new(name: 'DescribeAuditTaskResponse')
337
346
  DescribeAuthorizerRequest = Shapes::StructureShape.new(name: 'DescribeAuthorizerRequest')
@@ -532,6 +541,7 @@ module Aws::IoT
532
541
  IsAuthenticated = Shapes::BooleanShape.new(name: 'IsAuthenticated')
533
542
  IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
534
543
  IsDisabled = Shapes::BooleanShape.new(name: 'IsDisabled')
544
+ IsSuppressed = Shapes::BooleanShape.new(name: 'IsSuppressed')
535
545
  Job = Shapes::StructureShape.new(name: 'Job')
536
546
  JobArn = Shapes::StringShape.new(name: 'JobArn')
537
547
  JobDescription = Shapes::StringShape.new(name: 'JobDescription')
@@ -573,6 +583,8 @@ module Aws::IoT
573
583
  ListAuditMitigationActionsExecutionsResponse = Shapes::StructureShape.new(name: 'ListAuditMitigationActionsExecutionsResponse')
574
584
  ListAuditMitigationActionsTasksRequest = Shapes::StructureShape.new(name: 'ListAuditMitigationActionsTasksRequest')
575
585
  ListAuditMitigationActionsTasksResponse = Shapes::StructureShape.new(name: 'ListAuditMitigationActionsTasksResponse')
586
+ ListAuditSuppressionsRequest = Shapes::StructureShape.new(name: 'ListAuditSuppressionsRequest')
587
+ ListAuditSuppressionsResponse = Shapes::StructureShape.new(name: 'ListAuditSuppressionsResponse')
576
588
  ListAuditTasksRequest = Shapes::StructureShape.new(name: 'ListAuditTasksRequest')
577
589
  ListAuditTasksResponse = Shapes::StructureShape.new(name: 'ListAuditTasksResponse')
578
590
  ListAuthorizersRequest = Shapes::StructureShape.new(name: 'ListAuthorizersRequest')
@@ -627,6 +639,7 @@ module Aws::IoT
627
639
  ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
628
640
  ListStreamsRequest = Shapes::StructureShape.new(name: 'ListStreamsRequest')
629
641
  ListStreamsResponse = Shapes::StructureShape.new(name: 'ListStreamsResponse')
642
+ ListSuppressedFindings = Shapes::BooleanShape.new(name: 'ListSuppressedFindings')
630
643
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
631
644
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
632
645
  ListTargetsForPolicyRequest = Shapes::StructureShape.new(name: 'ListTargetsForPolicyRequest')
@@ -929,6 +942,8 @@ module Aws::IoT
929
942
  SucceededThings = Shapes::IntegerShape.new(name: 'SucceededThings')
930
943
  Sum = Shapes::FloatShape.new(name: 'Sum')
931
944
  SumOfSquares = Shapes::FloatShape.new(name: 'SumOfSquares')
945
+ SuppressIndefinitely = Shapes::BooleanShape.new(name: 'SuppressIndefinitely')
946
+ SuppressedNonCompliantResourcesCount = Shapes::IntegerShape.new(name: 'SuppressedNonCompliantResourcesCount')
932
947
  TableName = Shapes::StringShape.new(name: 'TableName')
933
948
  Tag = Shapes::StructureShape.new(name: 'Tag')
934
949
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -1026,6 +1041,8 @@ module Aws::IoT
1026
1041
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
1027
1042
  UpdateAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationRequest')
1028
1043
  UpdateAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationResponse')
1044
+ UpdateAuditSuppressionRequest = Shapes::StructureShape.new(name: 'UpdateAuditSuppressionRequest')
1045
+ UpdateAuditSuppressionResponse = Shapes::StructureShape.new(name: 'UpdateAuditSuppressionResponse')
1029
1046
  UpdateAuthorizerRequest = Shapes::StructureShape.new(name: 'UpdateAuthorizerRequest')
1030
1047
  UpdateAuthorizerResponse = Shapes::StructureShape.new(name: 'UpdateAuthorizerResponse')
1031
1048
  UpdateBillingGroupRequest = Shapes::StructureShape.new(name: 'UpdateBillingGroupRequest')
@@ -1241,6 +1258,7 @@ module Aws::IoT
1241
1258
  AuditCheckDetails.add_member(:check_compliant, Shapes::ShapeRef.new(shape: CheckCompliant, location_name: "checkCompliant"))
1242
1259
  AuditCheckDetails.add_member(:total_resources_count, Shapes::ShapeRef.new(shape: TotalResourcesCount, location_name: "totalResourcesCount"))
1243
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"))
1244
1262
  AuditCheckDetails.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
1245
1263
  AuditCheckDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1246
1264
  AuditCheckDetails.struct_class = Types::AuditCheckDetails
@@ -1264,6 +1282,7 @@ module Aws::IoT
1264
1282
  AuditFinding.add_member(:related_resources, Shapes::ShapeRef.new(shape: RelatedResources, location_name: "relatedResources"))
1265
1283
  AuditFinding.add_member(:reason_for_non_compliance, Shapes::ShapeRef.new(shape: ReasonForNonCompliance, location_name: "reasonForNonCompliance"))
1266
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"))
1267
1286
  AuditFinding.struct_class = Types::AuditFinding
1268
1287
 
1269
1288
  AuditFindings.member = Shapes::ShapeRef.new(shape: AuditFinding)
@@ -1304,6 +1323,15 @@ module Aws::IoT
1304
1323
  AuditNotificationTargetConfigurations.key = Shapes::ShapeRef.new(shape: AuditNotificationType)
1305
1324
  AuditNotificationTargetConfigurations.value = Shapes::ShapeRef.new(shape: AuditNotificationTarget)
1306
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
+
1307
1335
  AuditTaskMetadata.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, location_name: "taskId"))
1308
1336
  AuditTaskMetadata.add_member(:task_status, Shapes::ShapeRef.new(shape: AuditTaskStatus, location_name: "taskStatus"))
1309
1337
  AuditTaskMetadata.add_member(:task_type, Shapes::ShapeRef.new(shape: AuditTaskType, location_name: "taskType"))
@@ -1538,6 +1566,16 @@ module Aws::IoT
1538
1566
  ConflictingResourceUpdateException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
1539
1567
  ConflictingResourceUpdateException.struct_class = Types::ConflictingResourceUpdateException
1540
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
+
1541
1579
  CreateAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
1542
1580
  CreateAuthorizerRequest.add_member(:authorizer_function_arn, Shapes::ShapeRef.new(shape: AuthorizerFunctionArn, required: true, location_name: "authorizerFunctionArn"))
1543
1581
  CreateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
@@ -1828,6 +1866,12 @@ module Aws::IoT
1828
1866
 
1829
1867
  DeleteAccountAuditConfigurationResponse.struct_class = Types::DeleteAccountAuditConfigurationResponse
1830
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
+
1831
1875
  DeleteAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
1832
1876
  DeleteAuthorizerRequest.struct_class = Types::DeleteAuthorizerRequest
1833
1877
 
@@ -1996,6 +2040,17 @@ module Aws::IoT
1996
2040
  DescribeAuditMitigationActionsTaskResponse.add_member(:actions_definition, Shapes::ShapeRef.new(shape: MitigationActionList, location_name: "actionsDefinition"))
1997
2041
  DescribeAuditMitigationActionsTaskResponse.struct_class = Types::DescribeAuditMitigationActionsTaskResponse
1998
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
+
1999
2054
  DescribeAuditTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, required: true, location: "uri", location_name: "taskId"))
2000
2055
  DescribeAuditTaskRequest.struct_class = Types::DescribeAuditTaskRequest
2001
2056
 
@@ -2656,6 +2711,7 @@ module Aws::IoT
2656
2711
  ListAuditFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2657
2712
  ListAuditFindingsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
2658
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"))
2659
2715
  ListAuditFindingsRequest.struct_class = Types::ListAuditFindingsRequest
2660
2716
 
2661
2717
  ListAuditFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: AuditFindings, location_name: "findings"))
@@ -2686,6 +2742,17 @@ module Aws::IoT
2686
2742
  ListAuditMitigationActionsTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2687
2743
  ListAuditMitigationActionsTasksResponse.struct_class = Types::ListAuditMitigationActionsTasksResponse
2688
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
+
2689
2756
  ListAuditTasksRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
2690
2757
  ListAuditTasksRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
2691
2758
  ListAuditTasksRequest.add_member(:task_type, Shapes::ShapeRef.new(shape: AuditTaskType, location: "querystring", location_name: "taskType"))
@@ -3852,6 +3919,15 @@ module Aws::IoT
3852
3919
 
3853
3920
  UpdateAccountAuditConfigurationResponse.struct_class = Types::UpdateAccountAuditConfigurationResponse
3854
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
+
3855
3931
  UpdateAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
3856
3932
  UpdateAuthorizerRequest.add_member(:authorizer_function_arn, Shapes::ShapeRef.new(shape: AuthorizerFunctionArn, location_name: "authorizerFunctionArn"))
3857
3933
  UpdateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
@@ -4295,6 +4371,19 @@ module Aws::IoT
4295
4371
  o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
4296
4372
  end)
4297
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
+
4298
4387
  api.add_operation(:create_authorizer, Seahorse::Model::Operation.new.tap do |o|
4299
4388
  o.name = "CreateAuthorizer"
4300
4389
  o.http_method = "POST"
@@ -4645,6 +4734,17 @@ module Aws::IoT
4645
4734
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4646
4735
  end)
4647
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
+
4648
4748
  api.add_operation(:delete_authorizer, Seahorse::Model::Operation.new.tap do |o|
4649
4749
  o.name = "DeleteAuthorizer"
4650
4750
  o.http_method = "DELETE"
@@ -5044,6 +5144,18 @@ module Aws::IoT
5044
5144
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5045
5145
  end)
5046
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
+
5047
5159
  api.add_operation(:describe_audit_task, Seahorse::Model::Operation.new.tap do |o|
5048
5160
  o.name = "DescribeAuditTask"
5049
5161
  o.http_method = "GET"
@@ -5636,6 +5748,12 @@ module Aws::IoT
5636
5748
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5637
5749
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5638
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
+ )
5639
5757
  end)
5640
5758
 
5641
5759
  api.add_operation(:list_attached_policies, Seahorse::Model::Operation.new.tap do |o|
@@ -5651,6 +5769,12 @@ module Aws::IoT
5651
5769
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5652
5770
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5653
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
+ )
5654
5778
  end)
5655
5779
 
5656
5780
  api.add_operation(:list_audit_findings, Seahorse::Model::Operation.new.tap do |o|
@@ -5662,6 +5786,12 @@ module Aws::IoT
5662
5786
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5663
5787
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5664
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
+ )
5665
5795
  end)
5666
5796
 
5667
5797
  api.add_operation(:list_audit_mitigation_actions_executions, Seahorse::Model::Operation.new.tap do |o|
@@ -5673,6 +5803,12 @@ module Aws::IoT
5673
5803
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5674
5804
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5675
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
+ )
5676
5812
  end)
5677
5813
 
5678
5814
  api.add_operation(:list_audit_mitigation_actions_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -5684,6 +5820,29 @@ module Aws::IoT
5684
5820
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5685
5821
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5686
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
+ )
5687
5846
  end)
5688
5847
 
5689
5848
  api.add_operation(:list_audit_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -5695,6 +5854,12 @@ module Aws::IoT
5695
5854
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5696
5855
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5697
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
+ )
5698
5863
  end)
5699
5864
 
5700
5865
  api.add_operation(:list_authorizers, Seahorse::Model::Operation.new.tap do |o|
@@ -5708,6 +5873,12 @@ module Aws::IoT
5708
5873
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5709
5874
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5710
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
+ )
5711
5882
  end)
5712
5883
 
5713
5884
  api.add_operation(:list_billing_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -5720,6 +5891,12 @@ module Aws::IoT
5720
5891
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5721
5892
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5722
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
+ )
5723
5900
  end)
5724
5901
 
5725
5902
  api.add_operation(:list_ca_certificates, Seahorse::Model::Operation.new.tap do |o|
@@ -5733,6 +5910,12 @@ module Aws::IoT
5733
5910
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5734
5911
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5735
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
+ )
5736
5919
  end)
5737
5920
 
5738
5921
  api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
@@ -5746,6 +5929,12 @@ module Aws::IoT
5746
5929
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5747
5930
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5748
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
+ )
5749
5938
  end)
5750
5939
 
5751
5940
  api.add_operation(:list_certificates_by_ca, Seahorse::Model::Operation.new.tap do |o|
@@ -5759,6 +5948,12 @@ module Aws::IoT
5759
5948
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5760
5949
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5761
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
+ )
5762
5957
  end)
5763
5958
 
5764
5959
  api.add_operation(:list_dimensions, Seahorse::Model::Operation.new.tap do |o|
@@ -5770,6 +5965,12 @@ module Aws::IoT
5770
5965
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5771
5966
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5772
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
+ )
5773
5974
  end)
5774
5975
 
5775
5976
  api.add_operation(:list_domain_configurations, Seahorse::Model::Operation.new.tap do |o|
@@ -5783,6 +5984,12 @@ module Aws::IoT
5783
5984
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5784
5985
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5785
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
+ )
5786
5993
  end)
5787
5994
 
5788
5995
  api.add_operation(:list_indices, Seahorse::Model::Operation.new.tap do |o|
@@ -5796,6 +6003,12 @@ module Aws::IoT
5796
6003
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5797
6004
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5798
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
+ )
5799
6012
  end)
5800
6013
 
5801
6014
  api.add_operation(:list_job_executions_for_job, Seahorse::Model::Operation.new.tap do |o|
@@ -5808,6 +6021,12 @@ module Aws::IoT
5808
6021
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5809
6022
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5810
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
+ )
5811
6030
  end)
5812
6031
 
5813
6032
  api.add_operation(:list_job_executions_for_thing, Seahorse::Model::Operation.new.tap do |o|
@@ -5820,6 +6039,12 @@ module Aws::IoT
5820
6039
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5821
6040
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5822
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
+ )
5823
6048
  end)
5824
6049
 
5825
6050
  api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
@@ -5832,6 +6057,12 @@ module Aws::IoT
5832
6057
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5833
6058
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5834
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
+ )
5835
6066
  end)
5836
6067
 
5837
6068
  api.add_operation(:list_mitigation_actions, Seahorse::Model::Operation.new.tap do |o|
@@ -5843,6 +6074,12 @@ module Aws::IoT
5843
6074
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5844
6075
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5845
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
+ )
5846
6083
  end)
5847
6084
 
5848
6085
  api.add_operation(:list_ota_updates, Seahorse::Model::Operation.new.tap do |o|
@@ -5856,6 +6093,12 @@ module Aws::IoT
5856
6093
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5857
6094
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5858
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
+ )
5859
6102
  end)
5860
6103
 
5861
6104
  api.add_operation(:list_outgoing_certificates, Seahorse::Model::Operation.new.tap do |o|
@@ -5869,6 +6112,12 @@ module Aws::IoT
5869
6112
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5870
6113
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5871
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
+ )
5872
6121
  end)
5873
6122
 
5874
6123
  api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
@@ -5882,6 +6131,12 @@ module Aws::IoT
5882
6131
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5883
6132
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5884
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
+ )
5885
6140
  end)
5886
6141
 
5887
6142
  api.add_operation(:list_policy_principals, Seahorse::Model::Operation.new.tap do |o|
@@ -5897,6 +6152,12 @@ module Aws::IoT
5897
6152
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5898
6153
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5899
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
+ )
5900
6161
  end)
5901
6162
 
5902
6163
  api.add_operation(:list_policy_versions, Seahorse::Model::Operation.new.tap do |o|
@@ -5926,6 +6187,12 @@ module Aws::IoT
5926
6187
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5927
6188
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5928
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
+ )
5929
6196
  end)
5930
6197
 
5931
6198
  api.add_operation(:list_principal_things, Seahorse::Model::Operation.new.tap do |o|
@@ -5940,6 +6207,12 @@ module Aws::IoT
5940
6207
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5941
6208
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5942
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
+ )
5943
6216
  end)
5944
6217
 
5945
6218
  api.add_operation(:list_provisioning_template_versions, Seahorse::Model::Operation.new.tap do |o|
@@ -5953,6 +6226,12 @@ module Aws::IoT
5953
6226
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5954
6227
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5955
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
+ )
5956
6235
  end)
5957
6236
 
5958
6237
  api.add_operation(:list_provisioning_templates, Seahorse::Model::Operation.new.tap do |o|
@@ -5965,6 +6244,12 @@ module Aws::IoT
5965
6244
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5966
6245
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5967
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
+ )
5968
6253
  end)
5969
6254
 
5970
6255
  api.add_operation(:list_role_aliases, Seahorse::Model::Operation.new.tap do |o|
@@ -5978,6 +6263,12 @@ module Aws::IoT
5978
6263
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5979
6264
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5980
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
+ )
5981
6272
  end)
5982
6273
 
5983
6274
  api.add_operation(:list_scheduled_audits, Seahorse::Model::Operation.new.tap do |o|
@@ -5989,6 +6280,12 @@ module Aws::IoT
5989
6280
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5990
6281
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5991
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
+ )
5992
6289
  end)
5993
6290
 
5994
6291
  api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
@@ -6001,6 +6298,12 @@ module Aws::IoT
6001
6298
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6002
6299
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6003
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
+ )
6004
6307
  end)
6005
6308
 
6006
6309
  api.add_operation(:list_security_profiles_for_target, Seahorse::Model::Operation.new.tap do |o|
@@ -6013,6 +6316,12 @@ module Aws::IoT
6013
6316
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6014
6317
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6015
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
+ )
6016
6325
  end)
6017
6326
 
6018
6327
  api.add_operation(:list_streams, Seahorse::Model::Operation.new.tap do |o|
@@ -6026,6 +6335,12 @@ module Aws::IoT
6026
6335
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6027
6336
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6028
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
+ )
6029
6344
  end)
6030
6345
 
6031
6346
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -6038,6 +6353,11 @@ module Aws::IoT
6038
6353
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6039
6354
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6040
6355
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6356
+ o[:pager] = Aws::Pager.new(
6357
+ tokens: {
6358
+ "next_token" => "next_token"
6359
+ }
6360
+ )
6041
6361
  end)
6042
6362
 
6043
6363
  api.add_operation(:list_targets_for_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -6053,6 +6373,12 @@ module Aws::IoT
6053
6373
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6054
6374
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6055
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
+ )
6056
6382
  end)
6057
6383
 
6058
6384
  api.add_operation(:list_targets_for_security_profile, Seahorse::Model::Operation.new.tap do |o|
@@ -6065,6 +6391,12 @@ module Aws::IoT
6065
6391
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6066
6392
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6067
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
+ )
6068
6400
  end)
6069
6401
 
6070
6402
  api.add_operation(:list_thing_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -6076,6 +6408,12 @@ module Aws::IoT
6076
6408
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6077
6409
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6078
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
+ )
6079
6417
  end)
6080
6418
 
6081
6419
  api.add_operation(:list_thing_groups_for_thing, Seahorse::Model::Operation.new.tap do |o|
@@ -6087,6 +6425,12 @@ module Aws::IoT
6087
6425
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6088
6426
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6089
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
+ )
6090
6434
  end)
6091
6435
 
6092
6436
  api.add_operation(:list_thing_principals, Seahorse::Model::Operation.new.tap do |o|
@@ -6113,6 +6457,12 @@ module Aws::IoT
6113
6457
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6114
6458
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6115
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
+ )
6116
6466
  end)
6117
6467
 
6118
6468
  api.add_operation(:list_thing_registration_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -6125,6 +6475,12 @@ module Aws::IoT
6125
6475
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6126
6476
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6127
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
+ )
6128
6484
  end)
6129
6485
 
6130
6486
  api.add_operation(:list_thing_types, Seahorse::Model::Operation.new.tap do |o|
@@ -6138,6 +6494,12 @@ module Aws::IoT
6138
6494
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6139
6495
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6140
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
+ )
6141
6503
  end)
6142
6504
 
6143
6505
  api.add_operation(:list_things, Seahorse::Model::Operation.new.tap do |o|
@@ -6151,6 +6513,12 @@ module Aws::IoT
6151
6513
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6152
6514
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6153
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
+ )
6154
6522
  end)
6155
6523
 
6156
6524
  api.add_operation(:list_things_in_billing_group, Seahorse::Model::Operation.new.tap do |o|
@@ -6163,6 +6531,12 @@ module Aws::IoT
6163
6531
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6164
6532
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6165
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
+ )
6166
6540
  end)
6167
6541
 
6168
6542
  api.add_operation(:list_things_in_thing_group, Seahorse::Model::Operation.new.tap do |o|
@@ -6174,6 +6548,12 @@ module Aws::IoT
6174
6548
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6175
6549
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6176
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
+ )
6177
6557
  end)
6178
6558
 
6179
6559
  api.add_operation(:list_topic_rule_destinations, Seahorse::Model::Operation.new.tap do |o|
@@ -6186,6 +6566,12 @@ module Aws::IoT
6186
6566
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6187
6567
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6188
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
+ )
6189
6575
  end)
6190
6576
 
6191
6577
  api.add_operation(:list_topic_rules, Seahorse::Model::Operation.new.tap do |o|
@@ -6197,6 +6583,12 @@ module Aws::IoT
6197
6583
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
6198
6584
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6199
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
+ )
6200
6592
  end)
6201
6593
 
6202
6594
  api.add_operation(:list_v2_logging_levels, Seahorse::Model::Operation.new.tap do |o|
@@ -6209,6 +6601,12 @@ module Aws::IoT
6209
6601
  o.errors << Shapes::ShapeRef.new(shape: NotConfiguredException)
6210
6602
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6211
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
+ )
6212
6610
  end)
6213
6611
 
6214
6612
  api.add_operation(:list_violation_events, Seahorse::Model::Operation.new.tap do |o|
@@ -6220,6 +6618,12 @@ module Aws::IoT
6220
6618
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6221
6619
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6222
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
+ )
6223
6627
  end)
6224
6628
 
6225
6629
  api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
@@ -6551,6 +6955,18 @@ module Aws::IoT
6551
6955
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6552
6956
  end)
6553
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
+
6554
6970
  api.add_operation(:update_authorizer, Seahorse::Model::Operation.new.tap do |o|
6555
6971
  o.name = "UpdateAuthorizer"
6556
6972
  o.http_method = "PUT"