aws-sdk-cloudtrail 1.94.0 → 1.96.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 +535 -47
- data/lib/aws-sdk-cloudtrail/client_api.rb +232 -0
- data/lib/aws-sdk-cloudtrail/errors.rb +11 -0
- data/lib/aws-sdk-cloudtrail/types.rb +699 -65
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- data/sig/client.rbs +139 -4
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +140 -0
- metadata +2 -2
@@ -49,10 +49,18 @@ module Aws::CloudTrail
|
|
49
49
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
50
50
|
CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
|
51
51
|
CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
|
52
|
+
CreateDashboardRequest = Shapes::StructureShape.new(name: 'CreateDashboardRequest')
|
53
|
+
CreateDashboardResponse = Shapes::StructureShape.new(name: 'CreateDashboardResponse')
|
52
54
|
CreateEventDataStoreRequest = Shapes::StructureShape.new(name: 'CreateEventDataStoreRequest')
|
53
55
|
CreateEventDataStoreResponse = Shapes::StructureShape.new(name: 'CreateEventDataStoreResponse')
|
54
56
|
CreateTrailRequest = Shapes::StructureShape.new(name: 'CreateTrailRequest')
|
55
57
|
CreateTrailResponse = Shapes::StructureShape.new(name: 'CreateTrailResponse')
|
58
|
+
DashboardArn = Shapes::StringShape.new(name: 'DashboardArn')
|
59
|
+
DashboardDetail = Shapes::StructureShape.new(name: 'DashboardDetail')
|
60
|
+
DashboardName = Shapes::StringShape.new(name: 'DashboardName')
|
61
|
+
DashboardStatus = Shapes::StringShape.new(name: 'DashboardStatus')
|
62
|
+
DashboardType = Shapes::StringShape.new(name: 'DashboardType')
|
63
|
+
Dashboards = Shapes::ListShape.new(name: 'Dashboards')
|
56
64
|
DataResource = Shapes::StructureShape.new(name: 'DataResource')
|
57
65
|
DataResourceValues = Shapes::ListShape.new(name: 'DataResourceValues')
|
58
66
|
DataResources = Shapes::ListShape.new(name: 'DataResources')
|
@@ -60,6 +68,8 @@ module Aws::CloudTrail
|
|
60
68
|
DelegatedAdminAccountLimitExceededException = Shapes::StructureShape.new(name: 'DelegatedAdminAccountLimitExceededException')
|
61
69
|
DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
|
62
70
|
DeleteChannelResponse = Shapes::StructureShape.new(name: 'DeleteChannelResponse')
|
71
|
+
DeleteDashboardRequest = Shapes::StructureShape.new(name: 'DeleteDashboardRequest')
|
72
|
+
DeleteDashboardResponse = Shapes::StructureShape.new(name: 'DeleteDashboardResponse')
|
63
73
|
DeleteEventDataStoreRequest = Shapes::StructureShape.new(name: 'DeleteEventDataStoreRequest')
|
64
74
|
DeleteEventDataStoreResponse = Shapes::StructureShape.new(name: 'DeleteEventDataStoreResponse')
|
65
75
|
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
@@ -113,6 +123,8 @@ module Aws::CloudTrail
|
|
113
123
|
GenerateResponseException = Shapes::StructureShape.new(name: 'GenerateResponseException')
|
114
124
|
GetChannelRequest = Shapes::StructureShape.new(name: 'GetChannelRequest')
|
115
125
|
GetChannelResponse = Shapes::StructureShape.new(name: 'GetChannelResponse')
|
126
|
+
GetDashboardRequest = Shapes::StructureShape.new(name: 'GetDashboardRequest')
|
127
|
+
GetDashboardResponse = Shapes::StructureShape.new(name: 'GetDashboardResponse')
|
116
128
|
GetEventDataStoreRequest = Shapes::StructureShape.new(name: 'GetEventDataStoreRequest')
|
117
129
|
GetEventDataStoreResponse = Shapes::StructureShape.new(name: 'GetEventDataStoreResponse')
|
118
130
|
GetEventSelectorsRequest = Shapes::StructureShape.new(name: 'GetEventSelectorsRequest')
|
@@ -188,6 +200,9 @@ module Aws::CloudTrail
|
|
188
200
|
ListChannelsMaxResultsCount = Shapes::IntegerShape.new(name: 'ListChannelsMaxResultsCount')
|
189
201
|
ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
|
190
202
|
ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
|
203
|
+
ListDashboardsMaxResultsCount = Shapes::IntegerShape.new(name: 'ListDashboardsMaxResultsCount')
|
204
|
+
ListDashboardsRequest = Shapes::StructureShape.new(name: 'ListDashboardsRequest')
|
205
|
+
ListDashboardsResponse = Shapes::StructureShape.new(name: 'ListDashboardsResponse')
|
191
206
|
ListEventDataStoresMaxResultsCount = Shapes::IntegerShape.new(name: 'ListEventDataStoresMaxResultsCount')
|
192
207
|
ListEventDataStoresRequest = Shapes::StructureShape.new(name: 'ListEventDataStoresRequest')
|
193
208
|
ListEventDataStoresResponse = Shapes::StructureShape.new(name: 'ListEventDataStoresResponse')
|
@@ -248,6 +263,9 @@ module Aws::CloudTrail
|
|
248
263
|
QueryAlias = Shapes::StringShape.new(name: 'QueryAlias')
|
249
264
|
QueryIdNotFoundException = Shapes::StructureShape.new(name: 'QueryIdNotFoundException')
|
250
265
|
QueryParameter = Shapes::StringShape.new(name: 'QueryParameter')
|
266
|
+
QueryParameterKey = Shapes::StringShape.new(name: 'QueryParameterKey')
|
267
|
+
QueryParameterValue = Shapes::StringShape.new(name: 'QueryParameterValue')
|
268
|
+
QueryParameterValues = Shapes::MapShape.new(name: 'QueryParameterValues')
|
251
269
|
QueryParameters = Shapes::ListShape.new(name: 'QueryParameters')
|
252
270
|
QueryResultColumn = Shapes::MapShape.new(name: 'QueryResultColumn')
|
253
271
|
QueryResultKey = Shapes::StringShape.new(name: 'QueryResultKey')
|
@@ -259,10 +277,18 @@ module Aws::CloudTrail
|
|
259
277
|
QueryStatisticsForDescribeQuery = Shapes::StructureShape.new(name: 'QueryStatisticsForDescribeQuery')
|
260
278
|
QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
|
261
279
|
ReadWriteType = Shapes::StringShape.new(name: 'ReadWriteType')
|
280
|
+
RefreshId = Shapes::StringShape.new(name: 'RefreshId')
|
281
|
+
RefreshSchedule = Shapes::StructureShape.new(name: 'RefreshSchedule')
|
282
|
+
RefreshScheduleFrequency = Shapes::StructureShape.new(name: 'RefreshScheduleFrequency')
|
283
|
+
RefreshScheduleFrequencyUnit = Shapes::StringShape.new(name: 'RefreshScheduleFrequencyUnit')
|
284
|
+
RefreshScheduleFrequencyValue = Shapes::IntegerShape.new(name: 'RefreshScheduleFrequencyValue')
|
285
|
+
RefreshScheduleStatus = Shapes::StringShape.new(name: 'RefreshScheduleStatus')
|
262
286
|
RegisterOrganizationDelegatedAdminRequest = Shapes::StructureShape.new(name: 'RegisterOrganizationDelegatedAdminRequest')
|
263
287
|
RegisterOrganizationDelegatedAdminResponse = Shapes::StructureShape.new(name: 'RegisterOrganizationDelegatedAdminResponse')
|
264
288
|
RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
|
265
289
|
RemoveTagsResponse = Shapes::StructureShape.new(name: 'RemoveTagsResponse')
|
290
|
+
RequestWidget = Shapes::StructureShape.new(name: 'RequestWidget')
|
291
|
+
RequestWidgetList = Shapes::ListShape.new(name: 'RequestWidgetList')
|
266
292
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
267
293
|
ResourceARNNotValidException = Shapes::StructureShape.new(name: 'ResourceARNNotValidException')
|
268
294
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
@@ -282,8 +308,11 @@ module Aws::CloudTrail
|
|
282
308
|
S3ImportSource = Shapes::StructureShape.new(name: 'S3ImportSource')
|
283
309
|
SelectorField = Shapes::StringShape.new(name: 'SelectorField')
|
284
310
|
SelectorName = Shapes::StringShape.new(name: 'SelectorName')
|
311
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
285
312
|
Source = Shapes::StringShape.new(name: 'Source')
|
286
313
|
SourceConfig = Shapes::StructureShape.new(name: 'SourceConfig')
|
314
|
+
StartDashboardRefreshRequest = Shapes::StructureShape.new(name: 'StartDashboardRefreshRequest')
|
315
|
+
StartDashboardRefreshResponse = Shapes::StructureShape.new(name: 'StartDashboardRefreshResponse')
|
287
316
|
StartEventDataStoreIngestionRequest = Shapes::StructureShape.new(name: 'StartEventDataStoreIngestionRequest')
|
288
317
|
StartEventDataStoreIngestionResponse = Shapes::StructureShape.new(name: 'StartEventDataStoreIngestionResponse')
|
289
318
|
StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
|
@@ -306,6 +335,7 @@ module Aws::CloudTrail
|
|
306
335
|
TagsList = Shapes::ListShape.new(name: 'TagsList')
|
307
336
|
TerminationProtectionEnabled = Shapes::BooleanShape.new(name: 'TerminationProtectionEnabled')
|
308
337
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
338
|
+
TimeOfDay = Shapes::StringShape.new(name: 'TimeOfDay')
|
309
339
|
Timestamps = Shapes::ListShape.new(name: 'Timestamps')
|
310
340
|
Trail = Shapes::StructureShape.new(name: 'Trail')
|
311
341
|
TrailAlreadyExistsException = Shapes::StructureShape.new(name: 'TrailAlreadyExistsException')
|
@@ -319,10 +349,17 @@ module Aws::CloudTrail
|
|
319
349
|
UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
|
320
350
|
UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
|
321
351
|
UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
|
352
|
+
UpdateDashboardRequest = Shapes::StructureShape.new(name: 'UpdateDashboardRequest')
|
353
|
+
UpdateDashboardResponse = Shapes::StructureShape.new(name: 'UpdateDashboardResponse')
|
322
354
|
UpdateEventDataStoreRequest = Shapes::StructureShape.new(name: 'UpdateEventDataStoreRequest')
|
323
355
|
UpdateEventDataStoreResponse = Shapes::StructureShape.new(name: 'UpdateEventDataStoreResponse')
|
324
356
|
UpdateTrailRequest = Shapes::StructureShape.new(name: 'UpdateTrailRequest')
|
325
357
|
UpdateTrailResponse = Shapes::StructureShape.new(name: 'UpdateTrailResponse')
|
358
|
+
ViewPropertiesKey = Shapes::StringShape.new(name: 'ViewPropertiesKey')
|
359
|
+
ViewPropertiesMap = Shapes::MapShape.new(name: 'ViewPropertiesMap')
|
360
|
+
ViewPropertiesValue = Shapes::StringShape.new(name: 'ViewPropertiesValue')
|
361
|
+
Widget = Shapes::StructureShape.new(name: 'Widget')
|
362
|
+
WidgetList = Shapes::ListShape.new(name: 'WidgetList')
|
326
363
|
|
327
364
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
328
365
|
|
@@ -359,10 +396,12 @@ module Aws::CloudTrail
|
|
359
396
|
|
360
397
|
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"}))
|
361
398
|
CancelQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
399
|
+
CancelQueryRequest.add_member(:event_data_store_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "EventDataStoreOwnerAccountId"))
|
362
400
|
CancelQueryRequest.struct_class = Types::CancelQueryRequest
|
363
401
|
|
364
402
|
CancelQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
365
403
|
CancelQueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, required: true, location_name: "QueryStatus"))
|
404
|
+
CancelQueryResponse.add_member(:event_data_store_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "EventDataStoreOwnerAccountId"))
|
366
405
|
CancelQueryResponse.struct_class = Types::CancelQueryResponse
|
367
406
|
|
368
407
|
CannotDelegateManagementAccountException.struct_class = Types::CannotDelegateManagementAccountException
|
@@ -408,6 +447,22 @@ module Aws::CloudTrail
|
|
408
447
|
CreateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsList, location_name: "Tags"))
|
409
448
|
CreateChannelResponse.struct_class = Types::CreateChannelResponse
|
410
449
|
|
450
|
+
CreateDashboardRequest.add_member(:name, Shapes::ShapeRef.new(shape: DashboardName, required: true, location_name: "Name"))
|
451
|
+
CreateDashboardRequest.add_member(:refresh_schedule, Shapes::ShapeRef.new(shape: RefreshSchedule, location_name: "RefreshSchedule"))
|
452
|
+
CreateDashboardRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
453
|
+
CreateDashboardRequest.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
454
|
+
CreateDashboardRequest.add_member(:widgets, Shapes::ShapeRef.new(shape: RequestWidgetList, location_name: "Widgets"))
|
455
|
+
CreateDashboardRequest.struct_class = Types::CreateDashboardRequest
|
456
|
+
|
457
|
+
CreateDashboardResponse.add_member(:dashboard_arn, Shapes::ShapeRef.new(shape: DashboardArn, location_name: "DashboardArn"))
|
458
|
+
CreateDashboardResponse.add_member(:name, Shapes::ShapeRef.new(shape: DashboardName, location_name: "Name"))
|
459
|
+
CreateDashboardResponse.add_member(:type, Shapes::ShapeRef.new(shape: DashboardType, location_name: "Type"))
|
460
|
+
CreateDashboardResponse.add_member(:widgets, Shapes::ShapeRef.new(shape: WidgetList, location_name: "Widgets"))
|
461
|
+
CreateDashboardResponse.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
462
|
+
CreateDashboardResponse.add_member(:refresh_schedule, Shapes::ShapeRef.new(shape: RefreshSchedule, location_name: "RefreshSchedule"))
|
463
|
+
CreateDashboardResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
464
|
+
CreateDashboardResponse.struct_class = Types::CreateDashboardResponse
|
465
|
+
|
411
466
|
CreateEventDataStoreRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, required: true, location_name: "Name"))
|
412
467
|
CreateEventDataStoreRequest.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
413
468
|
CreateEventDataStoreRequest.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
|
@@ -464,6 +519,12 @@ module Aws::CloudTrail
|
|
464
519
|
CreateTrailResponse.add_member(:is_organization_trail, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsOrganizationTrail"))
|
465
520
|
CreateTrailResponse.struct_class = Types::CreateTrailResponse
|
466
521
|
|
522
|
+
DashboardDetail.add_member(:dashboard_arn, Shapes::ShapeRef.new(shape: DashboardArn, location_name: "DashboardArn"))
|
523
|
+
DashboardDetail.add_member(:type, Shapes::ShapeRef.new(shape: DashboardType, location_name: "Type"))
|
524
|
+
DashboardDetail.struct_class = Types::DashboardDetail
|
525
|
+
|
526
|
+
Dashboards.member = Shapes::ShapeRef.new(shape: DashboardDetail)
|
527
|
+
|
467
528
|
DataResource.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
468
529
|
DataResource.add_member(:values, Shapes::ShapeRef.new(shape: DataResourceValues, location_name: "Values"))
|
469
530
|
DataResource.struct_class = Types::DataResource
|
@@ -479,6 +540,11 @@ module Aws::CloudTrail
|
|
479
540
|
|
480
541
|
DeleteChannelResponse.struct_class = Types::DeleteChannelResponse
|
481
542
|
|
543
|
+
DeleteDashboardRequest.add_member(:dashboard_id, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "DashboardId"))
|
544
|
+
DeleteDashboardRequest.struct_class = Types::DeleteDashboardRequest
|
545
|
+
|
546
|
+
DeleteDashboardResponse.struct_class = Types::DeleteDashboardResponse
|
547
|
+
|
482
548
|
DeleteEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
483
549
|
DeleteEventDataStoreRequest.struct_class = Types::DeleteEventDataStoreRequest
|
484
550
|
|
@@ -502,6 +568,8 @@ module Aws::CloudTrail
|
|
502
568
|
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"}))
|
503
569
|
DescribeQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
|
504
570
|
DescribeQueryRequest.add_member(:query_alias, Shapes::ShapeRef.new(shape: QueryAlias, location_name: "QueryAlias"))
|
571
|
+
DescribeQueryRequest.add_member(:refresh_id, Shapes::ShapeRef.new(shape: RefreshId, location_name: "RefreshId"))
|
572
|
+
DescribeQueryRequest.add_member(:event_data_store_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "EventDataStoreOwnerAccountId"))
|
505
573
|
DescribeQueryRequest.struct_class = Types::DescribeQueryRequest
|
506
574
|
|
507
575
|
DescribeQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
|
@@ -512,6 +580,7 @@ module Aws::CloudTrail
|
|
512
580
|
DescribeQueryResponse.add_member(:delivery_s3_uri, Shapes::ShapeRef.new(shape: DeliveryS3Uri, location_name: "DeliveryS3Uri"))
|
513
581
|
DescribeQueryResponse.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus"))
|
514
582
|
DescribeQueryResponse.add_member(:prompt, Shapes::ShapeRef.new(shape: Prompt, location_name: "Prompt"))
|
583
|
+
DescribeQueryResponse.add_member(:event_data_store_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "EventDataStoreOwnerAccountId"))
|
515
584
|
DescribeQueryResponse.struct_class = Types::DescribeQueryResponse
|
516
585
|
|
517
586
|
DescribeTrailsRequest.add_member(:trail_name_list, Shapes::ShapeRef.new(shape: TrailNameList, location_name: "trailNameList"))
|
@@ -602,6 +671,7 @@ module Aws::CloudTrail
|
|
602
671
|
|
603
672
|
GenerateQueryResponse.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, location_name: "QueryStatement"))
|
604
673
|
GenerateQueryResponse.add_member(:query_alias, Shapes::ShapeRef.new(shape: QueryAlias, location_name: "QueryAlias"))
|
674
|
+
GenerateQueryResponse.add_member(:event_data_store_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "EventDataStoreOwnerAccountId"))
|
605
675
|
GenerateQueryResponse.struct_class = Types::GenerateQueryResponse
|
606
676
|
|
607
677
|
GenerateResponseException.struct_class = Types::GenerateResponseException
|
@@ -617,6 +687,21 @@ module Aws::CloudTrail
|
|
617
687
|
GetChannelResponse.add_member(:ingestion_status, Shapes::ShapeRef.new(shape: IngestionStatus, location_name: "IngestionStatus"))
|
618
688
|
GetChannelResponse.struct_class = Types::GetChannelResponse
|
619
689
|
|
690
|
+
GetDashboardRequest.add_member(:dashboard_id, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "DashboardId"))
|
691
|
+
GetDashboardRequest.struct_class = Types::GetDashboardRequest
|
692
|
+
|
693
|
+
GetDashboardResponse.add_member(:dashboard_arn, Shapes::ShapeRef.new(shape: DashboardArn, location_name: "DashboardArn"))
|
694
|
+
GetDashboardResponse.add_member(:type, Shapes::ShapeRef.new(shape: DashboardType, location_name: "Type"))
|
695
|
+
GetDashboardResponse.add_member(:status, Shapes::ShapeRef.new(shape: DashboardStatus, location_name: "Status"))
|
696
|
+
GetDashboardResponse.add_member(:widgets, Shapes::ShapeRef.new(shape: WidgetList, location_name: "Widgets"))
|
697
|
+
GetDashboardResponse.add_member(:refresh_schedule, Shapes::ShapeRef.new(shape: RefreshSchedule, location_name: "RefreshSchedule"))
|
698
|
+
GetDashboardResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
699
|
+
GetDashboardResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
700
|
+
GetDashboardResponse.add_member(:last_refresh_id, Shapes::ShapeRef.new(shape: RefreshId, location_name: "LastRefreshId"))
|
701
|
+
GetDashboardResponse.add_member(:last_refresh_failure_reason, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "LastRefreshFailureReason"))
|
702
|
+
GetDashboardResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
703
|
+
GetDashboardResponse.struct_class = Types::GetDashboardResponse
|
704
|
+
|
620
705
|
GetEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
621
706
|
GetEventDataStoreRequest.struct_class = Types::GetEventDataStoreRequest
|
622
707
|
|
@@ -673,6 +758,7 @@ module Aws::CloudTrail
|
|
673
758
|
GetQueryResultsRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
674
759
|
GetQueryResultsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
675
760
|
GetQueryResultsRequest.add_member(:max_query_results, Shapes::ShapeRef.new(shape: MaxQueryResults, location_name: "MaxQueryResults"))
|
761
|
+
GetQueryResultsRequest.add_member(:event_data_store_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "EventDataStoreOwnerAccountId"))
|
676
762
|
GetQueryResultsRequest.struct_class = Types::GetQueryResultsRequest
|
677
763
|
|
678
764
|
GetQueryResultsResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
|
@@ -687,6 +773,7 @@ module Aws::CloudTrail
|
|
687
773
|
|
688
774
|
GetResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
|
689
775
|
GetResourcePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
|
776
|
+
GetResourcePolicyResponse.add_member(:delegated_admin_resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "DelegatedAdminResourcePolicy"))
|
690
777
|
GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
|
691
778
|
|
692
779
|
GetTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
@@ -843,6 +930,16 @@ module Aws::CloudTrail
|
|
843
930
|
ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
844
931
|
ListChannelsResponse.struct_class = Types::ListChannelsResponse
|
845
932
|
|
933
|
+
ListDashboardsRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: DashboardName, location_name: "NamePrefix"))
|
934
|
+
ListDashboardsRequest.add_member(:type, Shapes::ShapeRef.new(shape: DashboardType, location_name: "Type"))
|
935
|
+
ListDashboardsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
936
|
+
ListDashboardsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDashboardsMaxResultsCount, location_name: "MaxResults"))
|
937
|
+
ListDashboardsRequest.struct_class = Types::ListDashboardsRequest
|
938
|
+
|
939
|
+
ListDashboardsResponse.add_member(:dashboards, Shapes::ShapeRef.new(shape: Dashboards, location_name: "Dashboards"))
|
940
|
+
ListDashboardsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
941
|
+
ListDashboardsResponse.struct_class = Types::ListDashboardsResponse
|
942
|
+
|
846
943
|
ListEventDataStoresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
847
944
|
ListEventDataStoresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEventDataStoresMaxResultsCount, location_name: "MaxResults"))
|
848
945
|
ListEventDataStoresRequest.struct_class = Types::ListEventDataStoresRequest
|
@@ -1005,6 +1102,7 @@ module Aws::CloudTrail
|
|
1005
1102
|
|
1006
1103
|
PutResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
|
1007
1104
|
PutResourcePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
|
1105
|
+
PutResourcePolicyResponse.add_member(:delegated_admin_resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "DelegatedAdminResourcePolicy"))
|
1008
1106
|
PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
|
1009
1107
|
|
1010
1108
|
Queries.member = Shapes::ShapeRef.new(shape: Query)
|
@@ -1016,6 +1114,9 @@ module Aws::CloudTrail
|
|
1016
1114
|
|
1017
1115
|
QueryIdNotFoundException.struct_class = Types::QueryIdNotFoundException
|
1018
1116
|
|
1117
|
+
QueryParameterValues.key = Shapes::ShapeRef.new(shape: QueryParameterKey)
|
1118
|
+
QueryParameterValues.value = Shapes::ShapeRef.new(shape: QueryParameterValue)
|
1119
|
+
|
1019
1120
|
QueryParameters.member = Shapes::ShapeRef.new(shape: QueryParameter)
|
1020
1121
|
|
1021
1122
|
QueryResultColumn.key = Shapes::ShapeRef.new(shape: QueryResultKey)
|
@@ -1037,6 +1138,15 @@ module Aws::CloudTrail
|
|
1037
1138
|
QueryStatisticsForDescribeQuery.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
|
1038
1139
|
QueryStatisticsForDescribeQuery.struct_class = Types::QueryStatisticsForDescribeQuery
|
1039
1140
|
|
1141
|
+
RefreshSchedule.add_member(:frequency, Shapes::ShapeRef.new(shape: RefreshScheduleFrequency, location_name: "Frequency"))
|
1142
|
+
RefreshSchedule.add_member(:status, Shapes::ShapeRef.new(shape: RefreshScheduleStatus, location_name: "Status"))
|
1143
|
+
RefreshSchedule.add_member(:time_of_day, Shapes::ShapeRef.new(shape: TimeOfDay, location_name: "TimeOfDay"))
|
1144
|
+
RefreshSchedule.struct_class = Types::RefreshSchedule
|
1145
|
+
|
1146
|
+
RefreshScheduleFrequency.add_member(:unit, Shapes::ShapeRef.new(shape: RefreshScheduleFrequencyUnit, location_name: "Unit"))
|
1147
|
+
RefreshScheduleFrequency.add_member(:value, Shapes::ShapeRef.new(shape: RefreshScheduleFrequencyValue, location_name: "Value"))
|
1148
|
+
RefreshScheduleFrequency.struct_class = Types::RefreshScheduleFrequency
|
1149
|
+
|
1040
1150
|
RegisterOrganizationDelegatedAdminRequest.add_member(:member_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "MemberAccountId"))
|
1041
1151
|
RegisterOrganizationDelegatedAdminRequest.struct_class = Types::RegisterOrganizationDelegatedAdminRequest
|
1042
1152
|
|
@@ -1048,6 +1158,13 @@ module Aws::CloudTrail
|
|
1048
1158
|
|
1049
1159
|
RemoveTagsResponse.struct_class = Types::RemoveTagsResponse
|
1050
1160
|
|
1161
|
+
RequestWidget.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, required: true, location_name: "QueryStatement"))
|
1162
|
+
RequestWidget.add_member(:query_parameters, Shapes::ShapeRef.new(shape: QueryParameters, location_name: "QueryParameters"))
|
1163
|
+
RequestWidget.add_member(:view_properties, Shapes::ShapeRef.new(shape: ViewPropertiesMap, required: true, location_name: "ViewProperties"))
|
1164
|
+
RequestWidget.struct_class = Types::RequestWidget
|
1165
|
+
|
1166
|
+
RequestWidgetList.member = Shapes::ShapeRef.new(shape: RequestWidget)
|
1167
|
+
|
1051
1168
|
Resource.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
|
1052
1169
|
Resource.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "ResourceName"))
|
1053
1170
|
Resource.struct_class = Types::Resource
|
@@ -1096,10 +1213,19 @@ module Aws::CloudTrail
|
|
1096
1213
|
S3ImportSource.add_member(:s3_bucket_access_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketAccessRoleArn"))
|
1097
1214
|
S3ImportSource.struct_class = Types::S3ImportSource
|
1098
1215
|
|
1216
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
1217
|
+
|
1099
1218
|
SourceConfig.add_member(:apply_to_all_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyToAllRegions"))
|
1100
1219
|
SourceConfig.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
1101
1220
|
SourceConfig.struct_class = Types::SourceConfig
|
1102
1221
|
|
1222
|
+
StartDashboardRefreshRequest.add_member(:dashboard_id, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "DashboardId"))
|
1223
|
+
StartDashboardRefreshRequest.add_member(:query_parameter_values, Shapes::ShapeRef.new(shape: QueryParameterValues, location_name: "QueryParameterValues"))
|
1224
|
+
StartDashboardRefreshRequest.struct_class = Types::StartDashboardRefreshRequest
|
1225
|
+
|
1226
|
+
StartDashboardRefreshResponse.add_member(:refresh_id, Shapes::ShapeRef.new(shape: RefreshId, location_name: "RefreshId"))
|
1227
|
+
StartDashboardRefreshResponse.struct_class = Types::StartDashboardRefreshResponse
|
1228
|
+
|
1103
1229
|
StartEventDataStoreIngestionRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
1104
1230
|
StartEventDataStoreIngestionRequest.struct_class = Types::StartEventDataStoreIngestionRequest
|
1105
1231
|
|
@@ -1131,9 +1257,11 @@ module Aws::CloudTrail
|
|
1131
1257
|
StartQueryRequest.add_member(:delivery_s3_uri, Shapes::ShapeRef.new(shape: DeliveryS3Uri, location_name: "DeliveryS3Uri"))
|
1132
1258
|
StartQueryRequest.add_member(:query_alias, Shapes::ShapeRef.new(shape: QueryAlias, location_name: "QueryAlias"))
|
1133
1259
|
StartQueryRequest.add_member(:query_parameters, Shapes::ShapeRef.new(shape: QueryParameters, location_name: "QueryParameters"))
|
1260
|
+
StartQueryRequest.add_member(:event_data_store_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "EventDataStoreOwnerAccountId"))
|
1134
1261
|
StartQueryRequest.struct_class = Types::StartQueryRequest
|
1135
1262
|
|
1136
1263
|
StartQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
|
1264
|
+
StartQueryResponse.add_member(:event_data_store_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "EventDataStoreOwnerAccountId"))
|
1137
1265
|
StartQueryResponse.struct_class = Types::StartQueryResponse
|
1138
1266
|
|
1139
1267
|
StopEventDataStoreIngestionRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
@@ -1220,6 +1348,22 @@ module Aws::CloudTrail
|
|
1220
1348
|
UpdateChannelResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, location_name: "Destinations"))
|
1221
1349
|
UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
|
1222
1350
|
|
1351
|
+
UpdateDashboardRequest.add_member(:dashboard_id, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "DashboardId"))
|
1352
|
+
UpdateDashboardRequest.add_member(:widgets, Shapes::ShapeRef.new(shape: RequestWidgetList, location_name: "Widgets"))
|
1353
|
+
UpdateDashboardRequest.add_member(:refresh_schedule, Shapes::ShapeRef.new(shape: RefreshSchedule, location_name: "RefreshSchedule"))
|
1354
|
+
UpdateDashboardRequest.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
1355
|
+
UpdateDashboardRequest.struct_class = Types::UpdateDashboardRequest
|
1356
|
+
|
1357
|
+
UpdateDashboardResponse.add_member(:dashboard_arn, Shapes::ShapeRef.new(shape: DashboardArn, location_name: "DashboardArn"))
|
1358
|
+
UpdateDashboardResponse.add_member(:name, Shapes::ShapeRef.new(shape: DashboardName, location_name: "Name"))
|
1359
|
+
UpdateDashboardResponse.add_member(:type, Shapes::ShapeRef.new(shape: DashboardType, location_name: "Type"))
|
1360
|
+
UpdateDashboardResponse.add_member(:widgets, Shapes::ShapeRef.new(shape: WidgetList, location_name: "Widgets"))
|
1361
|
+
UpdateDashboardResponse.add_member(:refresh_schedule, Shapes::ShapeRef.new(shape: RefreshSchedule, location_name: "RefreshSchedule"))
|
1362
|
+
UpdateDashboardResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
1363
|
+
UpdateDashboardResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
1364
|
+
UpdateDashboardResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
1365
|
+
UpdateDashboardResponse.struct_class = Types::UpdateDashboardResponse
|
1366
|
+
|
1223
1367
|
UpdateEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
1224
1368
|
UpdateEventDataStoreRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
|
1225
1369
|
UpdateEventDataStoreRequest.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
@@ -1275,6 +1419,17 @@ module Aws::CloudTrail
|
|
1275
1419
|
UpdateTrailResponse.add_member(:is_organization_trail, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsOrganizationTrail"))
|
1276
1420
|
UpdateTrailResponse.struct_class = Types::UpdateTrailResponse
|
1277
1421
|
|
1422
|
+
ViewPropertiesMap.key = Shapes::ShapeRef.new(shape: ViewPropertiesKey)
|
1423
|
+
ViewPropertiesMap.value = Shapes::ShapeRef.new(shape: ViewPropertiesValue)
|
1424
|
+
|
1425
|
+
Widget.add_member(:query_alias, Shapes::ShapeRef.new(shape: QueryAlias, location_name: "QueryAlias"))
|
1426
|
+
Widget.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, location_name: "QueryStatement"))
|
1427
|
+
Widget.add_member(:query_parameters, Shapes::ShapeRef.new(shape: QueryParameters, location_name: "QueryParameters"))
|
1428
|
+
Widget.add_member(:view_properties, Shapes::ShapeRef.new(shape: ViewPropertiesMap, location_name: "ViewProperties"))
|
1429
|
+
Widget.struct_class = Types::Widget
|
1430
|
+
|
1431
|
+
WidgetList.member = Shapes::ShapeRef.new(shape: Widget)
|
1432
|
+
|
1278
1433
|
|
1279
1434
|
# @api private
|
1280
1435
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -1358,6 +1513,22 @@ module Aws::CloudTrail
|
|
1358
1513
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1359
1514
|
end)
|
1360
1515
|
|
1516
|
+
api.add_operation(:create_dashboard, Seahorse::Model::Operation.new.tap do |o|
|
1517
|
+
o.name = "CreateDashboard"
|
1518
|
+
o.http_method = "POST"
|
1519
|
+
o.http_request_uri = "/"
|
1520
|
+
o.input = Shapes::ShapeRef.new(shape: CreateDashboardRequest)
|
1521
|
+
o.output = Shapes::ShapeRef.new(shape: CreateDashboardResponse)
|
1522
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1523
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
1524
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1525
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
|
1527
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStatementException)
|
1528
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1529
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1530
|
+
end)
|
1531
|
+
|
1361
1532
|
api.add_operation(:create_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
1362
1533
|
o.name = "CreateEventDataStore"
|
1363
1534
|
o.http_method = "POST"
|
@@ -1437,6 +1608,17 @@ module Aws::CloudTrail
|
|
1437
1608
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1438
1609
|
end)
|
1439
1610
|
|
1611
|
+
api.add_operation(:delete_dashboard, Seahorse::Model::Operation.new.tap do |o|
|
1612
|
+
o.name = "DeleteDashboard"
|
1613
|
+
o.http_method = "POST"
|
1614
|
+
o.http_request_uri = "/"
|
1615
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDashboardRequest)
|
1616
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteDashboardResponse)
|
1617
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1618
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1619
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1620
|
+
end)
|
1621
|
+
|
1440
1622
|
api.add_operation(:delete_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
1441
1623
|
o.name = "DeleteEventDataStore"
|
1442
1624
|
o.http_method = "POST"
|
@@ -1469,6 +1651,7 @@ module Aws::CloudTrail
|
|
1469
1651
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1470
1652
|
o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotFoundException)
|
1471
1653
|
o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
|
1654
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1472
1655
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1473
1656
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1474
1657
|
end)
|
@@ -1613,6 +1796,16 @@ module Aws::CloudTrail
|
|
1613
1796
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1614
1797
|
end)
|
1615
1798
|
|
1799
|
+
api.add_operation(:get_dashboard, Seahorse::Model::Operation.new.tap do |o|
|
1800
|
+
o.name = "GetDashboard"
|
1801
|
+
o.http_method = "POST"
|
1802
|
+
o.http_request_uri = "/"
|
1803
|
+
o.input = Shapes::ShapeRef.new(shape: GetDashboardRequest)
|
1804
|
+
o.output = Shapes::ShapeRef.new(shape: GetDashboardResponse)
|
1805
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1806
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1807
|
+
end)
|
1808
|
+
|
1616
1809
|
api.add_operation(:get_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
1617
1810
|
o.name = "GetEventDataStore"
|
1618
1811
|
o.http_method = "POST"
|
@@ -1752,6 +1945,15 @@ module Aws::CloudTrail
|
|
1752
1945
|
)
|
1753
1946
|
end)
|
1754
1947
|
|
1948
|
+
api.add_operation(:list_dashboards, Seahorse::Model::Operation.new.tap do |o|
|
1949
|
+
o.name = "ListDashboards"
|
1950
|
+
o.http_method = "POST"
|
1951
|
+
o.http_request_uri = "/"
|
1952
|
+
o.input = Shapes::ShapeRef.new(shape: ListDashboardsRequest)
|
1953
|
+
o.output = Shapes::ShapeRef.new(shape: ListDashboardsResponse)
|
1954
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1955
|
+
end)
|
1956
|
+
|
1755
1957
|
api.add_operation(:list_event_data_stores, Seahorse::Model::Operation.new.tap do |o|
|
1756
1958
|
o.name = "ListEventDataStores"
|
1757
1959
|
o.http_method = "POST"
|
@@ -1982,6 +2184,7 @@ module Aws::CloudTrail
|
|
1982
2184
|
o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotValidException)
|
1983
2185
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1984
2186
|
o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
|
2187
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1985
2188
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1986
2189
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1987
2190
|
end)
|
@@ -2051,6 +2254,19 @@ module Aws::CloudTrail
|
|
2051
2254
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
2052
2255
|
end)
|
2053
2256
|
|
2257
|
+
api.add_operation(:start_dashboard_refresh, Seahorse::Model::Operation.new.tap do |o|
|
2258
|
+
o.name = "StartDashboardRefresh"
|
2259
|
+
o.http_method = "POST"
|
2260
|
+
o.http_request_uri = "/"
|
2261
|
+
o.input = Shapes::ShapeRef.new(shape: StartDashboardRefreshRequest)
|
2262
|
+
o.output = Shapes::ShapeRef.new(shape: StartDashboardRefreshResponse)
|
2263
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2264
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
2265
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
2266
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2267
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
2268
|
+
end)
|
2269
|
+
|
2054
2270
|
api.add_operation(:start_event_data_store_ingestion, Seahorse::Model::Operation.new.tap do |o|
|
2055
2271
|
o.name = "StartEventDataStoreIngestion"
|
2056
2272
|
o.http_method = "POST"
|
@@ -2199,6 +2415,22 @@ module Aws::CloudTrail
|
|
2199
2415
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
2200
2416
|
end)
|
2201
2417
|
|
2418
|
+
api.add_operation(:update_dashboard, Seahorse::Model::Operation.new.tap do |o|
|
2419
|
+
o.name = "UpdateDashboard"
|
2420
|
+
o.http_method = "POST"
|
2421
|
+
o.http_request_uri = "/"
|
2422
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDashboardRequest)
|
2423
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDashboardResponse)
|
2424
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2425
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2426
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
2427
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
2428
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
|
2429
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStatementException)
|
2430
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2431
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
2432
|
+
end)
|
2433
|
+
|
2202
2434
|
api.add_operation(:update_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
2203
2435
|
o.name = "UpdateEventDataStore"
|
2204
2436
|
o.http_method = "POST"
|
@@ -105,6 +105,7 @@ module Aws::CloudTrail
|
|
105
105
|
# * {ResourcePolicyNotValidException}
|
106
106
|
# * {ResourceTypeNotSupportedException}
|
107
107
|
# * {S3BucketDoesNotExistException}
|
108
|
+
# * {ServiceQuotaExceededException}
|
108
109
|
# * {TagsLimitExceededException}
|
109
110
|
# * {ThrottlingException}
|
110
111
|
# * {TrailAlreadyExistsException}
|
@@ -898,6 +899,16 @@ module Aws::CloudTrail
|
|
898
899
|
end
|
899
900
|
end
|
900
901
|
|
902
|
+
class ServiceQuotaExceededException < ServiceError
|
903
|
+
|
904
|
+
# @param [Seahorse::Client::RequestContext] context
|
905
|
+
# @param [String] message
|
906
|
+
# @param [Aws::CloudTrail::Types::ServiceQuotaExceededException] data
|
907
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
908
|
+
super(context, message, data)
|
909
|
+
end
|
910
|
+
end
|
911
|
+
|
901
912
|
class TagsLimitExceededException < ServiceError
|
902
913
|
|
903
914
|
# @param [Seahorse::Client::RequestContext] context
|