aws-sdk-iot 1.52.0 → 1.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iot.rb +5 -2
- data/lib/aws-sdk-iot/client.rb +461 -21
- data/lib/aws-sdk-iot/client_api.rb +418 -0
- data/lib/aws-sdk-iot/customizations.rb +1 -0
- data/lib/aws-sdk-iot/errors.rb +2 -0
- data/lib/aws-sdk-iot/resource.rb +2 -0
- data/lib/aws-sdk-iot/types.rb +946 -17
- metadata +2 -2
@@ -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')
|
@@ -211,6 +216,8 @@ module Aws::IoT
|
|
211
216
|
ConsecutiveDatapointsToAlarm = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToAlarm')
|
212
217
|
ConsecutiveDatapointsToClear = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToClear')
|
213
218
|
Count = Shapes::IntegerShape.new(name: 'Count')
|
219
|
+
CreateAuditSuppressionRequest = Shapes::StructureShape.new(name: 'CreateAuditSuppressionRequest')
|
220
|
+
CreateAuditSuppressionResponse = Shapes::StructureShape.new(name: 'CreateAuditSuppressionResponse')
|
214
221
|
CreateAuthorizerRequest = Shapes::StructureShape.new(name: 'CreateAuthorizerRequest')
|
215
222
|
CreateAuthorizerResponse = Shapes::StructureShape.new(name: 'CreateAuthorizerResponse')
|
216
223
|
CreateBillingGroupRequest = Shapes::StructureShape.new(name: 'CreateBillingGroupRequest')
|
@@ -270,6 +277,8 @@ module Aws::IoT
|
|
270
277
|
DeleteAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteAccountAuditConfigurationResponse')
|
271
278
|
DeleteAdditionalMetricsToRetain = Shapes::BooleanShape.new(name: 'DeleteAdditionalMetricsToRetain')
|
272
279
|
DeleteAlertTargets = Shapes::BooleanShape.new(name: 'DeleteAlertTargets')
|
280
|
+
DeleteAuditSuppressionRequest = Shapes::StructureShape.new(name: 'DeleteAuditSuppressionRequest')
|
281
|
+
DeleteAuditSuppressionResponse = Shapes::StructureShape.new(name: 'DeleteAuditSuppressionResponse')
|
273
282
|
DeleteAuthorizerRequest = Shapes::StructureShape.new(name: 'DeleteAuthorizerRequest')
|
274
283
|
DeleteAuthorizerResponse = Shapes::StructureShape.new(name: 'DeleteAuthorizerResponse')
|
275
284
|
DeleteBehaviors = Shapes::BooleanShape.new(name: 'DeleteBehaviors')
|
@@ -330,6 +339,8 @@ module Aws::IoT
|
|
330
339
|
DescribeAuditFindingResponse = Shapes::StructureShape.new(name: 'DescribeAuditFindingResponse')
|
331
340
|
DescribeAuditMitigationActionsTaskRequest = Shapes::StructureShape.new(name: 'DescribeAuditMitigationActionsTaskRequest')
|
332
341
|
DescribeAuditMitigationActionsTaskResponse = Shapes::StructureShape.new(name: 'DescribeAuditMitigationActionsTaskResponse')
|
342
|
+
DescribeAuditSuppressionRequest = Shapes::StructureShape.new(name: 'DescribeAuditSuppressionRequest')
|
343
|
+
DescribeAuditSuppressionResponse = Shapes::StructureShape.new(name: 'DescribeAuditSuppressionResponse')
|
333
344
|
DescribeAuditTaskRequest = Shapes::StructureShape.new(name: 'DescribeAuditTaskRequest')
|
334
345
|
DescribeAuditTaskResponse = Shapes::StructureShape.new(name: 'DescribeAuditTaskResponse')
|
335
346
|
DescribeAuthorizerRequest = Shapes::StructureShape.new(name: 'DescribeAuthorizerRequest')
|
@@ -530,6 +541,7 @@ module Aws::IoT
|
|
530
541
|
IsAuthenticated = Shapes::BooleanShape.new(name: 'IsAuthenticated')
|
531
542
|
IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
|
532
543
|
IsDisabled = Shapes::BooleanShape.new(name: 'IsDisabled')
|
544
|
+
IsSuppressed = Shapes::BooleanShape.new(name: 'IsSuppressed')
|
533
545
|
Job = Shapes::StructureShape.new(name: 'Job')
|
534
546
|
JobArn = Shapes::StringShape.new(name: 'JobArn')
|
535
547
|
JobDescription = Shapes::StringShape.new(name: 'JobDescription')
|
@@ -571,6 +583,8 @@ module Aws::IoT
|
|
571
583
|
ListAuditMitigationActionsExecutionsResponse = Shapes::StructureShape.new(name: 'ListAuditMitigationActionsExecutionsResponse')
|
572
584
|
ListAuditMitigationActionsTasksRequest = Shapes::StructureShape.new(name: 'ListAuditMitigationActionsTasksRequest')
|
573
585
|
ListAuditMitigationActionsTasksResponse = Shapes::StructureShape.new(name: 'ListAuditMitigationActionsTasksResponse')
|
586
|
+
ListAuditSuppressionsRequest = Shapes::StructureShape.new(name: 'ListAuditSuppressionsRequest')
|
587
|
+
ListAuditSuppressionsResponse = Shapes::StructureShape.new(name: 'ListAuditSuppressionsResponse')
|
574
588
|
ListAuditTasksRequest = Shapes::StructureShape.new(name: 'ListAuditTasksRequest')
|
575
589
|
ListAuditTasksResponse = Shapes::StructureShape.new(name: 'ListAuditTasksResponse')
|
576
590
|
ListAuthorizersRequest = Shapes::StructureShape.new(name: 'ListAuthorizersRequest')
|
@@ -625,6 +639,7 @@ module Aws::IoT
|
|
625
639
|
ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
|
626
640
|
ListStreamsRequest = Shapes::StructureShape.new(name: 'ListStreamsRequest')
|
627
641
|
ListStreamsResponse = Shapes::StructureShape.new(name: 'ListStreamsResponse')
|
642
|
+
ListSuppressedFindings = Shapes::BooleanShape.new(name: 'ListSuppressedFindings')
|
628
643
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
629
644
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
630
645
|
ListTargetsForPolicyRequest = Shapes::StructureShape.new(name: 'ListTargetsForPolicyRequest')
|
@@ -927,6 +942,8 @@ module Aws::IoT
|
|
927
942
|
SucceededThings = Shapes::IntegerShape.new(name: 'SucceededThings')
|
928
943
|
Sum = Shapes::FloatShape.new(name: 'Sum')
|
929
944
|
SumOfSquares = Shapes::FloatShape.new(name: 'SumOfSquares')
|
945
|
+
SuppressIndefinitely = Shapes::BooleanShape.new(name: 'SuppressIndefinitely')
|
946
|
+
SuppressedNonCompliantResourcesCount = Shapes::IntegerShape.new(name: 'SuppressedNonCompliantResourcesCount')
|
930
947
|
TableName = Shapes::StringShape.new(name: 'TableName')
|
931
948
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
932
949
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -1024,6 +1041,8 @@ module Aws::IoT
|
|
1024
1041
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
1025
1042
|
UpdateAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationRequest')
|
1026
1043
|
UpdateAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationResponse')
|
1044
|
+
UpdateAuditSuppressionRequest = Shapes::StructureShape.new(name: 'UpdateAuditSuppressionRequest')
|
1045
|
+
UpdateAuditSuppressionResponse = Shapes::StructureShape.new(name: 'UpdateAuditSuppressionResponse')
|
1027
1046
|
UpdateAuthorizerRequest = Shapes::StructureShape.new(name: 'UpdateAuthorizerRequest')
|
1028
1047
|
UpdateAuthorizerResponse = Shapes::StructureShape.new(name: 'UpdateAuthorizerResponse')
|
1029
1048
|
UpdateBillingGroupRequest = Shapes::StructureShape.new(name: 'UpdateBillingGroupRequest')
|
@@ -1239,6 +1258,7 @@ module Aws::IoT
|
|
1239
1258
|
AuditCheckDetails.add_member(:check_compliant, Shapes::ShapeRef.new(shape: CheckCompliant, location_name: "checkCompliant"))
|
1240
1259
|
AuditCheckDetails.add_member(:total_resources_count, Shapes::ShapeRef.new(shape: TotalResourcesCount, location_name: "totalResourcesCount"))
|
1241
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"))
|
1242
1262
|
AuditCheckDetails.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
|
1243
1263
|
AuditCheckDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1244
1264
|
AuditCheckDetails.struct_class = Types::AuditCheckDetails
|
@@ -1262,6 +1282,7 @@ module Aws::IoT
|
|
1262
1282
|
AuditFinding.add_member(:related_resources, Shapes::ShapeRef.new(shape: RelatedResources, location_name: "relatedResources"))
|
1263
1283
|
AuditFinding.add_member(:reason_for_non_compliance, Shapes::ShapeRef.new(shape: ReasonForNonCompliance, location_name: "reasonForNonCompliance"))
|
1264
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"))
|
1265
1286
|
AuditFinding.struct_class = Types::AuditFinding
|
1266
1287
|
|
1267
1288
|
AuditFindings.member = Shapes::ShapeRef.new(shape: AuditFinding)
|
@@ -1302,6 +1323,15 @@ module Aws::IoT
|
|
1302
1323
|
AuditNotificationTargetConfigurations.key = Shapes::ShapeRef.new(shape: AuditNotificationType)
|
1303
1324
|
AuditNotificationTargetConfigurations.value = Shapes::ShapeRef.new(shape: AuditNotificationTarget)
|
1304
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
|
+
|
1305
1335
|
AuditTaskMetadata.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, location_name: "taskId"))
|
1306
1336
|
AuditTaskMetadata.add_member(:task_status, Shapes::ShapeRef.new(shape: AuditTaskStatus, location_name: "taskStatus"))
|
1307
1337
|
AuditTaskMetadata.add_member(:task_type, Shapes::ShapeRef.new(shape: AuditTaskType, location_name: "taskType"))
|
@@ -1536,6 +1566,16 @@ module Aws::IoT
|
|
1536
1566
|
ConflictingResourceUpdateException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1537
1567
|
ConflictingResourceUpdateException.struct_class = Types::ConflictingResourceUpdateException
|
1538
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
|
+
|
1539
1579
|
CreateAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
|
1540
1580
|
CreateAuthorizerRequest.add_member(:authorizer_function_arn, Shapes::ShapeRef.new(shape: AuthorizerFunctionArn, required: true, location_name: "authorizerFunctionArn"))
|
1541
1581
|
CreateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
|
@@ -1826,6 +1866,12 @@ module Aws::IoT
|
|
1826
1866
|
|
1827
1867
|
DeleteAccountAuditConfigurationResponse.struct_class = Types::DeleteAccountAuditConfigurationResponse
|
1828
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
|
+
|
1829
1875
|
DeleteAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
|
1830
1876
|
DeleteAuthorizerRequest.struct_class = Types::DeleteAuthorizerRequest
|
1831
1877
|
|
@@ -1994,6 +2040,17 @@ module Aws::IoT
|
|
1994
2040
|
DescribeAuditMitigationActionsTaskResponse.add_member(:actions_definition, Shapes::ShapeRef.new(shape: MitigationActionList, location_name: "actionsDefinition"))
|
1995
2041
|
DescribeAuditMitigationActionsTaskResponse.struct_class = Types::DescribeAuditMitigationActionsTaskResponse
|
1996
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
|
+
|
1997
2054
|
DescribeAuditTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: AuditTaskId, required: true, location: "uri", location_name: "taskId"))
|
1998
2055
|
DescribeAuditTaskRequest.struct_class = Types::DescribeAuditTaskRequest
|
1999
2056
|
|
@@ -2654,6 +2711,7 @@ module Aws::IoT
|
|
2654
2711
|
ListAuditFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2655
2712
|
ListAuditFindingsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
2656
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"))
|
2657
2715
|
ListAuditFindingsRequest.struct_class = Types::ListAuditFindingsRequest
|
2658
2716
|
|
2659
2717
|
ListAuditFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: AuditFindings, location_name: "findings"))
|
@@ -2684,6 +2742,17 @@ module Aws::IoT
|
|
2684
2742
|
ListAuditMitigationActionsTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2685
2743
|
ListAuditMitigationActionsTasksResponse.struct_class = Types::ListAuditMitigationActionsTasksResponse
|
2686
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
|
+
|
2687
2756
|
ListAuditTasksRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "startTime"))
|
2688
2757
|
ListAuditTasksRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "endTime"))
|
2689
2758
|
ListAuditTasksRequest.add_member(:task_type, Shapes::ShapeRef.new(shape: AuditTaskType, location: "querystring", location_name: "taskType"))
|
@@ -3850,6 +3919,15 @@ module Aws::IoT
|
|
3850
3919
|
|
3851
3920
|
UpdateAccountAuditConfigurationResponse.struct_class = Types::UpdateAccountAuditConfigurationResponse
|
3852
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
|
+
|
3853
3931
|
UpdateAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
|
3854
3932
|
UpdateAuthorizerRequest.add_member(:authorizer_function_arn, Shapes::ShapeRef.new(shape: AuthorizerFunctionArn, location_name: "authorizerFunctionArn"))
|
3855
3933
|
UpdateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, location_name: "tokenKeyName"))
|
@@ -4293,6 +4371,19 @@ module Aws::IoT
|
|
4293
4371
|
o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
|
4294
4372
|
end)
|
4295
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
|
+
|
4296
4387
|
api.add_operation(:create_authorizer, Seahorse::Model::Operation.new.tap do |o|
|
4297
4388
|
o.name = "CreateAuthorizer"
|
4298
4389
|
o.http_method = "POST"
|
@@ -4643,6 +4734,17 @@ module Aws::IoT
|
|
4643
4734
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
4644
4735
|
end)
|
4645
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
|
+
|
4646
4748
|
api.add_operation(:delete_authorizer, Seahorse::Model::Operation.new.tap do |o|
|
4647
4749
|
o.name = "DeleteAuthorizer"
|
4648
4750
|
o.http_method = "DELETE"
|
@@ -5042,6 +5144,18 @@ module Aws::IoT
|
|
5042
5144
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5043
5145
|
end)
|
5044
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
|
+
|
5045
5159
|
api.add_operation(:describe_audit_task, Seahorse::Model::Operation.new.tap do |o|
|
5046
5160
|
o.name = "DescribeAuditTask"
|
5047
5161
|
o.http_method = "GET"
|
@@ -5634,6 +5748,12 @@ module Aws::IoT
|
|
5634
5748
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5635
5749
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5636
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
|
+
)
|
5637
5757
|
end)
|
5638
5758
|
|
5639
5759
|
api.add_operation(:list_attached_policies, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5649,6 +5769,12 @@ module Aws::IoT
|
|
5649
5769
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5650
5770
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5651
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
|
+
)
|
5652
5778
|
end)
|
5653
5779
|
|
5654
5780
|
api.add_operation(:list_audit_findings, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5660,6 +5786,12 @@ module Aws::IoT
|
|
5660
5786
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5661
5787
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5662
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
|
+
)
|
5663
5795
|
end)
|
5664
5796
|
|
5665
5797
|
api.add_operation(:list_audit_mitigation_actions_executions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5671,6 +5803,12 @@ module Aws::IoT
|
|
5671
5803
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5672
5804
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5673
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
|
+
)
|
5674
5812
|
end)
|
5675
5813
|
|
5676
5814
|
api.add_operation(:list_audit_mitigation_actions_tasks, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5682,6 +5820,29 @@ module Aws::IoT
|
|
5682
5820
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5683
5821
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5684
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
|
+
)
|
5685
5846
|
end)
|
5686
5847
|
|
5687
5848
|
api.add_operation(:list_audit_tasks, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5693,6 +5854,12 @@ module Aws::IoT
|
|
5693
5854
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5694
5855
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5695
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
|
+
)
|
5696
5863
|
end)
|
5697
5864
|
|
5698
5865
|
api.add_operation(:list_authorizers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5706,6 +5873,12 @@ module Aws::IoT
|
|
5706
5873
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5707
5874
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5708
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
|
+
)
|
5709
5882
|
end)
|
5710
5883
|
|
5711
5884
|
api.add_operation(:list_billing_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5718,6 +5891,12 @@ module Aws::IoT
|
|
5718
5891
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5719
5892
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5720
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
|
+
)
|
5721
5900
|
end)
|
5722
5901
|
|
5723
5902
|
api.add_operation(:list_ca_certificates, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5731,6 +5910,12 @@ module Aws::IoT
|
|
5731
5910
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5732
5911
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5733
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
|
+
)
|
5734
5919
|
end)
|
5735
5920
|
|
5736
5921
|
api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5744,6 +5929,12 @@ module Aws::IoT
|
|
5744
5929
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5745
5930
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5746
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
|
+
)
|
5747
5938
|
end)
|
5748
5939
|
|
5749
5940
|
api.add_operation(:list_certificates_by_ca, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5757,6 +5948,12 @@ module Aws::IoT
|
|
5757
5948
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5758
5949
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5759
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
|
+
)
|
5760
5957
|
end)
|
5761
5958
|
|
5762
5959
|
api.add_operation(:list_dimensions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5768,6 +5965,12 @@ module Aws::IoT
|
|
5768
5965
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5769
5966
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5770
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
|
+
)
|
5771
5974
|
end)
|
5772
5975
|
|
5773
5976
|
api.add_operation(:list_domain_configurations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5781,6 +5984,12 @@ module Aws::IoT
|
|
5781
5984
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5782
5985
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5783
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
|
+
)
|
5784
5993
|
end)
|
5785
5994
|
|
5786
5995
|
api.add_operation(:list_indices, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5794,6 +6003,12 @@ module Aws::IoT
|
|
5794
6003
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5795
6004
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5796
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
|
+
)
|
5797
6012
|
end)
|
5798
6013
|
|
5799
6014
|
api.add_operation(:list_job_executions_for_job, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5806,6 +6021,12 @@ module Aws::IoT
|
|
5806
6021
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5807
6022
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5808
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
|
+
)
|
5809
6030
|
end)
|
5810
6031
|
|
5811
6032
|
api.add_operation(:list_job_executions_for_thing, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5818,6 +6039,12 @@ module Aws::IoT
|
|
5818
6039
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5819
6040
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5820
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
|
+
)
|
5821
6048
|
end)
|
5822
6049
|
|
5823
6050
|
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5830,6 +6057,12 @@ module Aws::IoT
|
|
5830
6057
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5831
6058
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5832
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
|
+
)
|
5833
6066
|
end)
|
5834
6067
|
|
5835
6068
|
api.add_operation(:list_mitigation_actions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5841,6 +6074,12 @@ module Aws::IoT
|
|
5841
6074
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5842
6075
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5843
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
|
+
)
|
5844
6083
|
end)
|
5845
6084
|
|
5846
6085
|
api.add_operation(:list_ota_updates, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5854,6 +6093,12 @@ module Aws::IoT
|
|
5854
6093
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5855
6094
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5856
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
|
+
)
|
5857
6102
|
end)
|
5858
6103
|
|
5859
6104
|
api.add_operation(:list_outgoing_certificates, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5867,6 +6112,12 @@ module Aws::IoT
|
|
5867
6112
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5868
6113
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5869
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
|
+
)
|
5870
6121
|
end)
|
5871
6122
|
|
5872
6123
|
api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5880,6 +6131,12 @@ module Aws::IoT
|
|
5880
6131
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5881
6132
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5882
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
|
+
)
|
5883
6140
|
end)
|
5884
6141
|
|
5885
6142
|
api.add_operation(:list_policy_principals, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5895,6 +6152,12 @@ module Aws::IoT
|
|
5895
6152
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5896
6153
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5897
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
|
+
)
|
5898
6161
|
end)
|
5899
6162
|
|
5900
6163
|
api.add_operation(:list_policy_versions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5924,6 +6187,12 @@ module Aws::IoT
|
|
5924
6187
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5925
6188
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5926
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
|
+
)
|
5927
6196
|
end)
|
5928
6197
|
|
5929
6198
|
api.add_operation(:list_principal_things, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5938,6 +6207,12 @@ module Aws::IoT
|
|
5938
6207
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5939
6208
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5940
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
|
+
)
|
5941
6216
|
end)
|
5942
6217
|
|
5943
6218
|
api.add_operation(:list_provisioning_template_versions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5951,6 +6226,12 @@ module Aws::IoT
|
|
5951
6226
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5952
6227
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5953
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
|
+
)
|
5954
6235
|
end)
|
5955
6236
|
|
5956
6237
|
api.add_operation(:list_provisioning_templates, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5963,6 +6244,12 @@ module Aws::IoT
|
|
5963
6244
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5964
6245
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5965
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
|
+
)
|
5966
6253
|
end)
|
5967
6254
|
|
5968
6255
|
api.add_operation(:list_role_aliases, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5976,6 +6263,12 @@ module Aws::IoT
|
|
5976
6263
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5977
6264
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5978
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
|
+
)
|
5979
6272
|
end)
|
5980
6273
|
|
5981
6274
|
api.add_operation(:list_scheduled_audits, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5987,6 +6280,12 @@ module Aws::IoT
|
|
5987
6280
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5988
6281
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5989
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
|
+
)
|
5990
6289
|
end)
|
5991
6290
|
|
5992
6291
|
api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5999,6 +6298,12 @@ module Aws::IoT
|
|
5999
6298
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6000
6299
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6001
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
|
+
)
|
6002
6307
|
end)
|
6003
6308
|
|
6004
6309
|
api.add_operation(:list_security_profiles_for_target, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6011,6 +6316,12 @@ module Aws::IoT
|
|
6011
6316
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6012
6317
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6013
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
|
+
)
|
6014
6325
|
end)
|
6015
6326
|
|
6016
6327
|
api.add_operation(:list_streams, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6024,6 +6335,12 @@ module Aws::IoT
|
|
6024
6335
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
6025
6336
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6026
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
|
+
)
|
6027
6344
|
end)
|
6028
6345
|
|
6029
6346
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6036,6 +6353,11 @@ module Aws::IoT
|
|
6036
6353
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6037
6354
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6038
6355
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6356
|
+
o[:pager] = Aws::Pager.new(
|
6357
|
+
tokens: {
|
6358
|
+
"next_token" => "next_token"
|
6359
|
+
}
|
6360
|
+
)
|
6039
6361
|
end)
|
6040
6362
|
|
6041
6363
|
api.add_operation(:list_targets_for_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6051,6 +6373,12 @@ module Aws::IoT
|
|
6051
6373
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6052
6374
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6053
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
|
+
)
|
6054
6382
|
end)
|
6055
6383
|
|
6056
6384
|
api.add_operation(:list_targets_for_security_profile, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6063,6 +6391,12 @@ module Aws::IoT
|
|
6063
6391
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6064
6392
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6065
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
|
+
)
|
6066
6400
|
end)
|
6067
6401
|
|
6068
6402
|
api.add_operation(:list_thing_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6074,6 +6408,12 @@ module Aws::IoT
|
|
6074
6408
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6075
6409
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6076
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
|
+
)
|
6077
6417
|
end)
|
6078
6418
|
|
6079
6419
|
api.add_operation(:list_thing_groups_for_thing, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6085,6 +6425,12 @@ module Aws::IoT
|
|
6085
6425
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6086
6426
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6087
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
|
+
)
|
6088
6434
|
end)
|
6089
6435
|
|
6090
6436
|
api.add_operation(:list_thing_principals, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6111,6 +6457,12 @@ module Aws::IoT
|
|
6111
6457
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6112
6458
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
6113
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
|
+
)
|
6114
6466
|
end)
|
6115
6467
|
|
6116
6468
|
api.add_operation(:list_thing_registration_tasks, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6123,6 +6475,12 @@ module Aws::IoT
|
|
6123
6475
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6124
6476
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
6125
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
|
+
)
|
6126
6484
|
end)
|
6127
6485
|
|
6128
6486
|
api.add_operation(:list_thing_types, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6136,6 +6494,12 @@ module Aws::IoT
|
|
6136
6494
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
6137
6495
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6138
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
|
+
)
|
6139
6503
|
end)
|
6140
6504
|
|
6141
6505
|
api.add_operation(:list_things, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6149,6 +6513,12 @@ module Aws::IoT
|
|
6149
6513
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
6150
6514
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6151
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
|
+
)
|
6152
6522
|
end)
|
6153
6523
|
|
6154
6524
|
api.add_operation(:list_things_in_billing_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6161,6 +6531,12 @@ module Aws::IoT
|
|
6161
6531
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6162
6532
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6163
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
|
+
)
|
6164
6540
|
end)
|
6165
6541
|
|
6166
6542
|
api.add_operation(:list_things_in_thing_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6172,6 +6548,12 @@ module Aws::IoT
|
|
6172
6548
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6173
6549
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6174
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
|
+
)
|
6175
6557
|
end)
|
6176
6558
|
|
6177
6559
|
api.add_operation(:list_topic_rule_destinations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6184,6 +6566,12 @@ module Aws::IoT
|
|
6184
6566
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6185
6567
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6186
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
|
+
)
|
6187
6575
|
end)
|
6188
6576
|
|
6189
6577
|
api.add_operation(:list_topic_rules, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6195,6 +6583,12 @@ module Aws::IoT
|
|
6195
6583
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
6196
6584
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6197
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
|
+
)
|
6198
6592
|
end)
|
6199
6593
|
|
6200
6594
|
api.add_operation(:list_v2_logging_levels, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6207,6 +6601,12 @@ module Aws::IoT
|
|
6207
6601
|
o.errors << Shapes::ShapeRef.new(shape: NotConfiguredException)
|
6208
6602
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6209
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
|
+
)
|
6210
6610
|
end)
|
6211
6611
|
|
6212
6612
|
api.add_operation(:list_violation_events, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6218,6 +6618,12 @@ module Aws::IoT
|
|
6218
6618
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6219
6619
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6220
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
|
+
)
|
6221
6627
|
end)
|
6222
6628
|
|
6223
6629
|
api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6549,6 +6955,18 @@ module Aws::IoT
|
|
6549
6955
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6550
6956
|
end)
|
6551
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
|
+
|
6552
6970
|
api.add_operation(:update_authorizer, Seahorse::Model::Operation.new.tap do |o|
|
6553
6971
|
o.name = "UpdateAuthorizer"
|
6554
6972
|
o.http_method = "PUT"
|