aws-sdk-cloudtrail 1.53.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +132 -9
- data/lib/aws-sdk-cloudtrail/client_api.rb +135 -4
- data/lib/aws-sdk-cloudtrail/endpoint_provider.rb +59 -60
- data/lib/aws-sdk-cloudtrail/endpoints.rb +28 -0
- data/lib/aws-sdk-cloudtrail/errors.rb +77 -0
- data/lib/aws-sdk-cloudtrail/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-cloudtrail/types.rb +204 -511
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- metadata +2 -2
@@ -14,6 +14,10 @@ module Aws::CloudTrail
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccountHasOngoingImportException = Shapes::StructureShape.new(name: 'AccountHasOngoingImportException')
|
17
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
18
|
+
AccountNotFoundException = Shapes::StructureShape.new(name: 'AccountNotFoundException')
|
19
|
+
AccountNotRegisteredException = Shapes::StructureShape.new(name: 'AccountNotRegisteredException')
|
20
|
+
AccountRegisteredException = Shapes::StructureShape.new(name: 'AccountRegisteredException')
|
17
21
|
AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
|
18
22
|
AddTagsResponse = Shapes::StructureShape.new(name: 'AddTagsResponse')
|
19
23
|
AdvancedEventSelector = Shapes::StructureShape.new(name: 'AdvancedEventSelector')
|
@@ -24,6 +28,7 @@ module Aws::CloudTrail
|
|
24
28
|
ByteBuffer = Shapes::BlobShape.new(name: 'ByteBuffer')
|
25
29
|
CancelQueryRequest = Shapes::StructureShape.new(name: 'CancelQueryRequest')
|
26
30
|
CancelQueryResponse = Shapes::StructureShape.new(name: 'CancelQueryResponse')
|
31
|
+
CannotDelegateManagementAccountException = Shapes::StructureShape.new(name: 'CannotDelegateManagementAccountException')
|
27
32
|
Channel = Shapes::StructureShape.new(name: 'Channel')
|
28
33
|
ChannelARNInvalidException = Shapes::StructureShape.new(name: 'ChannelARNInvalidException')
|
29
34
|
ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
|
@@ -43,12 +48,15 @@ module Aws::CloudTrail
|
|
43
48
|
DataResourceValues = Shapes::ListShape.new(name: 'DataResourceValues')
|
44
49
|
DataResources = Shapes::ListShape.new(name: 'DataResources')
|
45
50
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
51
|
+
DelegatedAdminAccountLimitExceededException = Shapes::StructureShape.new(name: 'DelegatedAdminAccountLimitExceededException')
|
46
52
|
DeleteEventDataStoreRequest = Shapes::StructureShape.new(name: 'DeleteEventDataStoreRequest')
|
47
53
|
DeleteEventDataStoreResponse = Shapes::StructureShape.new(name: 'DeleteEventDataStoreResponse')
|
48
54
|
DeleteTrailRequest = Shapes::StructureShape.new(name: 'DeleteTrailRequest')
|
49
55
|
DeleteTrailResponse = Shapes::StructureShape.new(name: 'DeleteTrailResponse')
|
50
56
|
DeliveryS3Uri = Shapes::StringShape.new(name: 'DeliveryS3Uri')
|
51
57
|
DeliveryStatus = Shapes::StringShape.new(name: 'DeliveryStatus')
|
58
|
+
DeregisterOrganizationDelegatedAdminRequest = Shapes::StructureShape.new(name: 'DeregisterOrganizationDelegatedAdminRequest')
|
59
|
+
DeregisterOrganizationDelegatedAdminResponse = Shapes::StructureShape.new(name: 'DeregisterOrganizationDelegatedAdminResponse')
|
52
60
|
DescribeQueryRequest = Shapes::StructureShape.new(name: 'DescribeQueryRequest')
|
53
61
|
DescribeQueryResponse = Shapes::StructureShape.new(name: 'DescribeQueryResponse')
|
54
62
|
DescribeTrailsRequest = Shapes::StructureShape.new(name: 'DescribeTrailsRequest')
|
@@ -64,6 +72,7 @@ module Aws::CloudTrail
|
|
64
72
|
EventDataStoreAlreadyExistsException = Shapes::StructureShape.new(name: 'EventDataStoreAlreadyExistsException')
|
65
73
|
EventDataStoreArn = Shapes::StringShape.new(name: 'EventDataStoreArn')
|
66
74
|
EventDataStoreHasOngoingImportException = Shapes::StructureShape.new(name: 'EventDataStoreHasOngoingImportException')
|
75
|
+
EventDataStoreKmsKeyId = Shapes::StringShape.new(name: 'EventDataStoreKmsKeyId')
|
67
76
|
EventDataStoreMaxLimitExceededException = Shapes::StructureShape.new(name: 'EventDataStoreMaxLimitExceededException')
|
68
77
|
EventDataStoreName = Shapes::StringShape.new(name: 'EventDataStoreName')
|
69
78
|
EventDataStoreNotFoundException = Shapes::StructureShape.new(name: 'EventDataStoreNotFoundException')
|
@@ -164,6 +173,7 @@ module Aws::CloudTrail
|
|
164
173
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
165
174
|
LookupAttribute = Shapes::StructureShape.new(name: 'LookupAttribute')
|
166
175
|
LookupAttributeKey = Shapes::StringShape.new(name: 'LookupAttributeKey')
|
176
|
+
LookupAttributeValue = Shapes::StringShape.new(name: 'LookupAttributeValue')
|
167
177
|
LookupAttributesList = Shapes::ListShape.new(name: 'LookupAttributesList')
|
168
178
|
LookupEventsRequest = Shapes::StructureShape.new(name: 'LookupEventsRequest')
|
169
179
|
LookupEventsResponse = Shapes::StructureShape.new(name: 'LookupEventsResponse')
|
@@ -172,6 +182,8 @@ module Aws::CloudTrail
|
|
172
182
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
173
183
|
MaximumNumberOfTrailsExceededException = Shapes::StructureShape.new(name: 'MaximumNumberOfTrailsExceededException')
|
174
184
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
185
|
+
NoManagementAccountSLRExistsException = Shapes::StructureShape.new(name: 'NoManagementAccountSLRExistsException')
|
186
|
+
NotOrganizationManagementAccountException = Shapes::StructureShape.new(name: 'NotOrganizationManagementAccountException')
|
175
187
|
NotOrganizationMasterAccountException = Shapes::StructureShape.new(name: 'NotOrganizationMasterAccountException')
|
176
188
|
OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
|
177
189
|
Operator = Shapes::ListShape.new(name: 'Operator')
|
@@ -198,6 +210,8 @@ module Aws::CloudTrail
|
|
198
210
|
QueryStatisticsForDescribeQuery = Shapes::StructureShape.new(name: 'QueryStatisticsForDescribeQuery')
|
199
211
|
QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
|
200
212
|
ReadWriteType = Shapes::StringShape.new(name: 'ReadWriteType')
|
213
|
+
RegisterOrganizationDelegatedAdminRequest = Shapes::StructureShape.new(name: 'RegisterOrganizationDelegatedAdminRequest')
|
214
|
+
RegisterOrganizationDelegatedAdminResponse = Shapes::StructureShape.new(name: 'RegisterOrganizationDelegatedAdminResponse')
|
201
215
|
RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
|
202
216
|
RemoveTagsResponse = Shapes::StructureShape.new(name: 'RemoveTagsResponse')
|
203
217
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
@@ -250,6 +264,12 @@ module Aws::CloudTrail
|
|
250
264
|
|
251
265
|
AccountHasOngoingImportException.struct_class = Types::AccountHasOngoingImportException
|
252
266
|
|
267
|
+
AccountNotFoundException.struct_class = Types::AccountNotFoundException
|
268
|
+
|
269
|
+
AccountNotRegisteredException.struct_class = Types::AccountNotRegisteredException
|
270
|
+
|
271
|
+
AccountRegisteredException.struct_class = Types::AccountRegisteredException
|
272
|
+
|
253
273
|
AddTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
|
254
274
|
AddTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, required: true, location_name: "TagsList"))
|
255
275
|
AddTagsRequest.struct_class = Types::AddTagsRequest
|
@@ -273,7 +293,7 @@ module Aws::CloudTrail
|
|
273
293
|
|
274
294
|
AdvancedFieldSelectors.member = Shapes::ShapeRef.new(shape: AdvancedFieldSelector)
|
275
295
|
|
276
|
-
CancelQueryRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn,
|
296
|
+
CancelQueryRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, deprecated: true, location_name: "EventDataStore", metadata: {"deprecatedMessage"=>"EventDataStore is no longer required by CancelQueryRequest"}))
|
277
297
|
CancelQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
278
298
|
CancelQueryRequest.struct_class = Types::CancelQueryRequest
|
279
299
|
|
@@ -281,6 +301,8 @@ module Aws::CloudTrail
|
|
281
301
|
CancelQueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, required: true, location_name: "QueryStatus"))
|
282
302
|
CancelQueryResponse.struct_class = Types::CancelQueryResponse
|
283
303
|
|
304
|
+
CannotDelegateManagementAccountException.struct_class = Types::CannotDelegateManagementAccountException
|
305
|
+
|
284
306
|
Channel.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "ChannelArn"))
|
285
307
|
Channel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "Name"))
|
286
308
|
Channel.struct_class = Types::Channel
|
@@ -308,6 +330,7 @@ module Aws::CloudTrail
|
|
308
330
|
CreateEventDataStoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
309
331
|
CreateEventDataStoreRequest.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
310
332
|
CreateEventDataStoreRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
333
|
+
CreateEventDataStoreRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
|
311
334
|
CreateEventDataStoreRequest.struct_class = Types::CreateEventDataStoreRequest
|
312
335
|
|
313
336
|
CreateEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
|
@@ -321,6 +344,7 @@ module Aws::CloudTrail
|
|
321
344
|
CreateEventDataStoreResponse.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
322
345
|
CreateEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
323
346
|
CreateEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
347
|
+
CreateEventDataStoreResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
|
324
348
|
CreateEventDataStoreResponse.struct_class = Types::CreateEventDataStoreResponse
|
325
349
|
|
326
350
|
CreateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
@@ -360,6 +384,8 @@ module Aws::CloudTrail
|
|
360
384
|
|
361
385
|
DataResources.member = Shapes::ShapeRef.new(shape: DataResource)
|
362
386
|
|
387
|
+
DelegatedAdminAccountLimitExceededException.struct_class = Types::DelegatedAdminAccountLimitExceededException
|
388
|
+
|
363
389
|
DeleteEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
364
390
|
DeleteEventDataStoreRequest.struct_class = Types::DeleteEventDataStoreRequest
|
365
391
|
|
@@ -370,7 +396,12 @@ module Aws::CloudTrail
|
|
370
396
|
|
371
397
|
DeleteTrailResponse.struct_class = Types::DeleteTrailResponse
|
372
398
|
|
373
|
-
|
399
|
+
DeregisterOrganizationDelegatedAdminRequest.add_member(:delegated_admin_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "DelegatedAdminAccountId"))
|
400
|
+
DeregisterOrganizationDelegatedAdminRequest.struct_class = Types::DeregisterOrganizationDelegatedAdminRequest
|
401
|
+
|
402
|
+
DeregisterOrganizationDelegatedAdminResponse.struct_class = Types::DeregisterOrganizationDelegatedAdminResponse
|
403
|
+
|
404
|
+
DescribeQueryRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, deprecated: true, location_name: "EventDataStore", metadata: {"deprecatedMessage"=>"EventDataStore is no longer required by DescribeQueryRequest"}))
|
374
405
|
DescribeQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
375
406
|
DescribeQueryRequest.struct_class = Types::DescribeQueryRequest
|
376
407
|
|
@@ -468,6 +499,7 @@ module Aws::CloudTrail
|
|
468
499
|
GetEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
469
500
|
GetEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
470
501
|
GetEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
502
|
+
GetEventDataStoreResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
|
471
503
|
GetEventDataStoreResponse.struct_class = Types::GetEventDataStoreResponse
|
472
504
|
|
473
505
|
GetEventSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
|
@@ -499,7 +531,7 @@ module Aws::CloudTrail
|
|
499
531
|
GetInsightSelectorsResponse.add_member(:insight_selectors, Shapes::ShapeRef.new(shape: InsightSelectors, location_name: "InsightSelectors"))
|
500
532
|
GetInsightSelectorsResponse.struct_class = Types::GetInsightSelectorsResponse
|
501
533
|
|
502
|
-
GetQueryResultsRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn,
|
534
|
+
GetQueryResultsRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, deprecated: true, location_name: "EventDataStore", metadata: {"deprecatedMessage"=>"EventDataStore is no longer required by GetQueryResultsRequest"}))
|
503
535
|
GetQueryResultsRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
504
536
|
GetQueryResultsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
505
537
|
GetQueryResultsRequest.add_member(:max_query_results, Shapes::ShapeRef.new(shape: MaxQueryResults, location_name: "MaxQueryResults"))
|
@@ -719,7 +751,7 @@ module Aws::CloudTrail
|
|
719
751
|
ListTrailsResponse.struct_class = Types::ListTrailsResponse
|
720
752
|
|
721
753
|
LookupAttribute.add_member(:attribute_key, Shapes::ShapeRef.new(shape: LookupAttributeKey, required: true, location_name: "AttributeKey"))
|
722
|
-
LookupAttribute.add_member(:attribute_value, Shapes::ShapeRef.new(shape:
|
754
|
+
LookupAttribute.add_member(:attribute_value, Shapes::ShapeRef.new(shape: LookupAttributeValue, required: true, location_name: "AttributeValue"))
|
723
755
|
LookupAttribute.struct_class = Types::LookupAttribute
|
724
756
|
|
725
757
|
LookupAttributesList.member = Shapes::ShapeRef.new(shape: LookupAttribute)
|
@@ -740,6 +772,10 @@ module Aws::CloudTrail
|
|
740
772
|
|
741
773
|
MaximumNumberOfTrailsExceededException.struct_class = Types::MaximumNumberOfTrailsExceededException
|
742
774
|
|
775
|
+
NoManagementAccountSLRExistsException.struct_class = Types::NoManagementAccountSLRExistsException
|
776
|
+
|
777
|
+
NotOrganizationManagementAccountException.struct_class = Types::NotOrganizationManagementAccountException
|
778
|
+
|
743
779
|
NotOrganizationMasterAccountException.struct_class = Types::NotOrganizationMasterAccountException
|
744
780
|
|
745
781
|
OperationNotPermittedException.struct_class = Types::OperationNotPermittedException
|
@@ -804,6 +840,11 @@ module Aws::CloudTrail
|
|
804
840
|
QueryStatisticsForDescribeQuery.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
|
805
841
|
QueryStatisticsForDescribeQuery.struct_class = Types::QueryStatisticsForDescribeQuery
|
806
842
|
|
843
|
+
RegisterOrganizationDelegatedAdminRequest.add_member(:member_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "MemberAccountId"))
|
844
|
+
RegisterOrganizationDelegatedAdminRequest.struct_class = Types::RegisterOrganizationDelegatedAdminRequest
|
845
|
+
|
846
|
+
RegisterOrganizationDelegatedAdminResponse.struct_class = Types::RegisterOrganizationDelegatedAdminResponse
|
847
|
+
|
807
848
|
RemoveTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
|
808
849
|
RemoveTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, required: true, location_name: "TagsList"))
|
809
850
|
RemoveTagsRequest.struct_class = Types::RemoveTagsRequest
|
@@ -841,6 +882,7 @@ module Aws::CloudTrail
|
|
841
882
|
RestoreEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
842
883
|
RestoreEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
843
884
|
RestoreEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
885
|
+
RestoreEventDataStoreResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
|
844
886
|
RestoreEventDataStoreResponse.struct_class = Types::RestoreEventDataStoreResponse
|
845
887
|
|
846
888
|
S3BucketDoesNotExistException.struct_class = Types::S3BucketDoesNotExistException
|
@@ -954,6 +996,7 @@ module Aws::CloudTrail
|
|
954
996
|
UpdateEventDataStoreRequest.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
|
955
997
|
UpdateEventDataStoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
956
998
|
UpdateEventDataStoreRequest.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
999
|
+
UpdateEventDataStoreRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
|
957
1000
|
UpdateEventDataStoreRequest.struct_class = Types::UpdateEventDataStoreRequest
|
958
1001
|
|
959
1002
|
UpdateEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
|
@@ -966,6 +1009,7 @@ module Aws::CloudTrail
|
|
966
1009
|
UpdateEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
967
1010
|
UpdateEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
968
1011
|
UpdateEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
1012
|
+
UpdateEventDataStoreResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
|
969
1013
|
UpdateEventDataStoreResponse.struct_class = Types::UpdateEventDataStoreResponse
|
970
1014
|
|
971
1015
|
UpdateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
@@ -1032,6 +1076,7 @@ module Aws::CloudTrail
|
|
1032
1076
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1033
1077
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1034
1078
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1079
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1035
1080
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1036
1081
|
end)
|
1037
1082
|
|
@@ -1049,6 +1094,7 @@ module Aws::CloudTrail
|
|
1049
1094
|
o.errors << Shapes::ShapeRef.new(shape: QueryIdNotFoundException)
|
1050
1095
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1051
1096
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1097
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1052
1098
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1053
1099
|
end)
|
1054
1100
|
|
@@ -1060,16 +1106,22 @@ module Aws::CloudTrail
|
|
1060
1106
|
o.output = Shapes::ShapeRef.new(shape: CreateEventDataStoreResponse)
|
1061
1107
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreAlreadyExistsException)
|
1062
1108
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreMaxLimitExceededException)
|
1109
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
|
1063
1110
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1064
1111
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
1065
1112
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1066
1113
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1067
1114
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1115
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
|
1116
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKmsKeyIdException)
|
1117
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
|
1118
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsException)
|
1068
1119
|
o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
|
1069
1120
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1070
1121
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1071
1122
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
1072
1123
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
1124
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1073
1125
|
end)
|
1074
1126
|
|
1075
1127
|
api.add_operation(:create_trail, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1090,6 +1142,7 @@ module Aws::CloudTrail
|
|
1090
1142
|
o.errors << Shapes::ShapeRef.new(shape: InvalidKmsKeyIdException)
|
1091
1143
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1092
1144
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotProvidedException)
|
1145
|
+
o.errors << Shapes::ShapeRef.new(shape: TagsLimitExceededException)
|
1093
1146
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1094
1147
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
|
1095
1148
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyDisabledException)
|
@@ -1105,6 +1158,7 @@ module Aws::CloudTrail
|
|
1105
1158
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1106
1159
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
1107
1160
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
1161
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1108
1162
|
o.errors << Shapes::ShapeRef.new(shape: CloudTrailInvalidClientTokenIdException)
|
1109
1163
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1110
1164
|
end)
|
@@ -1119,10 +1173,12 @@ module Aws::CloudTrail
|
|
1119
1173
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1120
1174
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreTerminationProtectedException)
|
1121
1175
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreHasOngoingImportException)
|
1176
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1122
1177
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1123
1178
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1124
1179
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1125
1180
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1181
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1126
1182
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1127
1183
|
end)
|
1128
1184
|
|
@@ -1134,14 +1190,34 @@ module Aws::CloudTrail
|
|
1134
1190
|
o.output = Shapes::ShapeRef.new(shape: DeleteTrailResponse)
|
1135
1191
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1136
1192
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1193
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1137
1194
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1138
1195
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1139
1196
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1140
1197
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1198
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1141
1199
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1142
1200
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1143
1201
|
end)
|
1144
1202
|
|
1203
|
+
api.add_operation(:deregister_organization_delegated_admin, Seahorse::Model::Operation.new.tap do |o|
|
1204
|
+
o.name = "DeregisterOrganizationDelegatedAdmin"
|
1205
|
+
o.http_method = "POST"
|
1206
|
+
o.http_request_uri = "/"
|
1207
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterOrganizationDelegatedAdminRequest)
|
1208
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterOrganizationDelegatedAdminResponse)
|
1209
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountNotFoundException)
|
1210
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountNotRegisteredException)
|
1211
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
|
1212
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1213
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationManagementAccountException)
|
1215
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
1216
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
1217
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1218
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1219
|
+
end)
|
1220
|
+
|
1145
1221
|
api.add_operation(:describe_query, Seahorse::Model::Operation.new.tap do |o|
|
1146
1222
|
o.name = "DescribeQuery"
|
1147
1223
|
o.http_method = "POST"
|
@@ -1155,6 +1231,7 @@ module Aws::CloudTrail
|
|
1155
1231
|
o.errors << Shapes::ShapeRef.new(shape: QueryIdNotFoundException)
|
1156
1232
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1157
1233
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1234
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1158
1235
|
end)
|
1159
1236
|
|
1160
1237
|
api.add_operation(:describe_trails, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1166,6 +1243,7 @@ module Aws::CloudTrail
|
|
1166
1243
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1167
1244
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1168
1245
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1246
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1169
1247
|
end)
|
1170
1248
|
|
1171
1249
|
api.add_operation(:get_channel, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1191,6 +1269,7 @@ module Aws::CloudTrail
|
|
1191
1269
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1192
1270
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1193
1271
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1272
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1194
1273
|
end)
|
1195
1274
|
|
1196
1275
|
api.add_operation(:get_event_selectors, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1201,8 +1280,10 @@ module Aws::CloudTrail
|
|
1201
1280
|
o.output = Shapes::ShapeRef.new(shape: GetEventSelectorsResponse)
|
1202
1281
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1203
1282
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1283
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1204
1284
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1205
1285
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1286
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1206
1287
|
end)
|
1207
1288
|
|
1208
1289
|
api.add_operation(:get_import, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1225,9 +1306,11 @@ module Aws::CloudTrail
|
|
1225
1306
|
o.output = Shapes::ShapeRef.new(shape: GetInsightSelectorsResponse)
|
1226
1307
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1227
1308
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1309
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1228
1310
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1229
1311
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1230
1312
|
o.errors << Shapes::ShapeRef.new(shape: InsightNotEnabledException)
|
1313
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1231
1314
|
end)
|
1232
1315
|
|
1233
1316
|
api.add_operation(:get_query_results, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1243,8 +1326,10 @@ module Aws::CloudTrail
|
|
1243
1326
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1244
1327
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1245
1328
|
o.errors << Shapes::ShapeRef.new(shape: QueryIdNotFoundException)
|
1329
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
|
1246
1330
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1247
1331
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1332
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1248
1333
|
o[:pager] = Aws::Pager.new(
|
1249
1334
|
tokens: {
|
1250
1335
|
"next_token" => "next_token"
|
@@ -1258,6 +1343,7 @@ module Aws::CloudTrail
|
|
1258
1343
|
o.http_request_uri = "/"
|
1259
1344
|
o.input = Shapes::ShapeRef.new(shape: GetTrailRequest)
|
1260
1345
|
o.output = Shapes::ShapeRef.new(shape: GetTrailResponse)
|
1346
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1261
1347
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1262
1348
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1263
1349
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
@@ -1270,6 +1356,7 @@ module Aws::CloudTrail
|
|
1270
1356
|
o.http_request_uri = "/"
|
1271
1357
|
o.input = Shapes::ShapeRef.new(shape: GetTrailStatusRequest)
|
1272
1358
|
o.output = Shapes::ShapeRef.new(shape: GetTrailStatusResponse)
|
1359
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1273
1360
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1274
1361
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1275
1362
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
@@ -1303,6 +1390,7 @@ module Aws::CloudTrail
|
|
1303
1390
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1304
1391
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1305
1392
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1306
1394
|
o[:pager] = Aws::Pager.new(
|
1307
1395
|
limit_key: "max_results",
|
1308
1396
|
tokens: {
|
@@ -1380,6 +1468,7 @@ module Aws::CloudTrail
|
|
1380
1468
|
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStatusException)
|
1381
1469
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1382
1470
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1471
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1383
1472
|
o[:pager] = Aws::Pager.new(
|
1384
1473
|
limit_key: "max_results",
|
1385
1474
|
tokens: {
|
@@ -1403,6 +1492,7 @@ module Aws::CloudTrail
|
|
1403
1492
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1404
1493
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1405
1494
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTokenException)
|
1495
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1406
1496
|
o[:pager] = Aws::Pager.new(
|
1407
1497
|
tokens: {
|
1408
1498
|
"next_token" => "next_token"
|
@@ -1454,11 +1544,13 @@ module Aws::CloudTrail
|
|
1454
1544
|
o.output = Shapes::ShapeRef.new(shape: PutEventSelectorsResponse)
|
1455
1545
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1456
1546
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1547
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1457
1548
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1458
1549
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
|
1459
1550
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1460
1551
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1461
1552
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1553
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1462
1554
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1463
1555
|
end)
|
1464
1556
|
|
@@ -1470,6 +1562,7 @@ module Aws::CloudTrail
|
|
1470
1562
|
o.output = Shapes::ShapeRef.new(shape: PutInsightSelectorsResponse)
|
1471
1563
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1472
1564
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1565
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1473
1566
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1474
1567
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInsightSelectorsException)
|
1475
1568
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyException)
|
@@ -1479,6 +1572,27 @@ module Aws::CloudTrail
|
|
1479
1572
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1480
1573
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1481
1574
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1575
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1576
|
+
end)
|
1577
|
+
|
1578
|
+
api.add_operation(:register_organization_delegated_admin, Seahorse::Model::Operation.new.tap do |o|
|
1579
|
+
o.name = "RegisterOrganizationDelegatedAdmin"
|
1580
|
+
o.http_method = "POST"
|
1581
|
+
o.http_request_uri = "/"
|
1582
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterOrganizationDelegatedAdminRequest)
|
1583
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterOrganizationDelegatedAdminResponse)
|
1584
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountRegisteredException)
|
1585
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountNotFoundException)
|
1586
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1587
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1588
|
+
o.errors << Shapes::ShapeRef.new(shape: CannotDelegateManagementAccountException)
|
1589
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
|
1590
|
+
o.errors << Shapes::ShapeRef.new(shape: DelegatedAdminAccountLimitExceededException)
|
1591
|
+
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationManagementAccountException)
|
1592
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
1593
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
1594
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1595
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1482
1596
|
end)
|
1483
1597
|
|
1484
1598
|
api.add_operation(:remove_tags, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1497,6 +1611,7 @@ module Aws::CloudTrail
|
|
1497
1611
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1498
1612
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1499
1613
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1614
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1500
1615
|
end)
|
1501
1616
|
|
1502
1617
|
api.add_operation(:restore_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1516,6 +1631,7 @@ module Aws::CloudTrail
|
|
1516
1631
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1517
1632
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
1518
1633
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1634
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1519
1635
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
1520
1636
|
end)
|
1521
1637
|
|
@@ -1546,12 +1662,14 @@ module Aws::CloudTrail
|
|
1546
1662
|
o.http_request_uri = "/"
|
1547
1663
|
o.input = Shapes::ShapeRef.new(shape: StartLoggingRequest)
|
1548
1664
|
o.output = Shapes::ShapeRef.new(shape: StartLoggingResponse)
|
1665
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1549
1666
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1550
1667
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1551
1668
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1552
1669
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1553
1670
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1554
1671
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1672
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1555
1673
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1556
1674
|
end)
|
1557
1675
|
|
@@ -1567,12 +1685,14 @@ module Aws::CloudTrail
|
|
1567
1685
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1568
1686
|
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStatementException)
|
1569
1687
|
o.errors << Shapes::ShapeRef.new(shape: MaxConcurrentQueriesException)
|
1688
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
|
1570
1689
|
o.errors << Shapes::ShapeRef.new(shape: InvalidS3PrefixException)
|
1571
1690
|
o.errors << Shapes::ShapeRef.new(shape: InvalidS3BucketNameException)
|
1572
1691
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyException)
|
1573
1692
|
o.errors << Shapes::ShapeRef.new(shape: S3BucketDoesNotExistException)
|
1574
1693
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1575
1694
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1695
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1576
1696
|
end)
|
1577
1697
|
|
1578
1698
|
api.add_operation(:stop_import, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1595,10 +1715,12 @@ module Aws::CloudTrail
|
|
1595
1715
|
o.output = Shapes::ShapeRef.new(shape: StopLoggingResponse)
|
1596
1716
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1597
1717
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1718
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1598
1719
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1599
1720
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1600
1721
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1601
1722
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1723
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1602
1724
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1603
1725
|
end)
|
1604
1726
|
|
@@ -1610,15 +1732,21 @@ module Aws::CloudTrail
|
|
1610
1732
|
o.output = Shapes::ShapeRef.new(shape: UpdateEventDataStoreResponse)
|
1611
1733
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
1612
1734
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1735
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
|
1613
1736
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreHasOngoingImportException)
|
1614
1737
|
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1615
1738
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1616
1739
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1617
1740
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1741
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
|
1742
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKmsKeyIdException)
|
1743
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
|
1744
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsException)
|
1618
1745
|
o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
|
1619
1746
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1620
1747
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
1621
1748
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1749
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1622
1750
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
1623
1751
|
end)
|
1624
1752
|
|
@@ -1640,6 +1768,7 @@ module Aws::CloudTrail
|
|
1640
1768
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1641
1769
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotProvidedException)
|
1642
1770
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
|
1771
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1643
1772
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1644
1773
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1645
1774
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
|
@@ -1655,7 +1784,9 @@ module Aws::CloudTrail
|
|
1655
1784
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
1656
1785
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1657
1786
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
1787
|
+
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
1658
1788
|
o.errors << Shapes::ShapeRef.new(shape: CloudTrailInvalidClientTokenIdException)
|
1789
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1659
1790
|
end)
|
1660
1791
|
end
|
1661
1792
|
|