aws-sdk-cloudtrail 1.49.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,7 @@ module Aws::CloudTrail
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccountHasOngoingImportException = Shapes::StructureShape.new(name: 'AccountHasOngoingImportException')
16
17
  AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
17
18
  AddTagsResponse = Shapes::StructureShape.new(name: 'AddTagsResponse')
18
19
  AdvancedEventSelector = Shapes::StructureShape.new(name: 'AdvancedEventSelector')
@@ -23,6 +24,12 @@ module Aws::CloudTrail
23
24
  ByteBuffer = Shapes::BlobShape.new(name: 'ByteBuffer')
24
25
  CancelQueryRequest = Shapes::StructureShape.new(name: 'CancelQueryRequest')
25
26
  CancelQueryResponse = Shapes::StructureShape.new(name: 'CancelQueryResponse')
27
+ Channel = Shapes::StructureShape.new(name: 'Channel')
28
+ ChannelARNInvalidException = Shapes::StructureShape.new(name: 'ChannelARNInvalidException')
29
+ ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
30
+ ChannelName = Shapes::StringShape.new(name: 'ChannelName')
31
+ ChannelNotFoundException = Shapes::StructureShape.new(name: 'ChannelNotFoundException')
32
+ Channels = Shapes::ListShape.new(name: 'Channels')
26
33
  CloudTrailARNInvalidException = Shapes::StructureShape.new(name: 'CloudTrailARNInvalidException')
27
34
  CloudTrailAccessNotEnabledException = Shapes::StructureShape.new(name: 'CloudTrailAccessNotEnabledException')
28
35
  CloudTrailInvalidClientTokenIdException = Shapes::StructureShape.new(name: 'CloudTrailInvalidClientTokenIdException')
@@ -44,6 +51,9 @@ module Aws::CloudTrail
44
51
  DescribeQueryResponse = Shapes::StructureShape.new(name: 'DescribeQueryResponse')
45
52
  DescribeTrailsRequest = Shapes::StructureShape.new(name: 'DescribeTrailsRequest')
46
53
  DescribeTrailsResponse = Shapes::StructureShape.new(name: 'DescribeTrailsResponse')
54
+ Destination = Shapes::StructureShape.new(name: 'Destination')
55
+ DestinationType = Shapes::StringShape.new(name: 'DestinationType')
56
+ Destinations = Shapes::ListShape.new(name: 'Destinations')
47
57
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
48
58
  Event = Shapes::StructureShape.new(name: 'Event')
49
59
  EventCategory = Shapes::StringShape.new(name: 'EventCategory')
@@ -51,6 +61,7 @@ module Aws::CloudTrail
51
61
  EventDataStoreARNInvalidException = Shapes::StructureShape.new(name: 'EventDataStoreARNInvalidException')
52
62
  EventDataStoreAlreadyExistsException = Shapes::StructureShape.new(name: 'EventDataStoreAlreadyExistsException')
53
63
  EventDataStoreArn = Shapes::StringShape.new(name: 'EventDataStoreArn')
64
+ EventDataStoreHasOngoingImportException = Shapes::StructureShape.new(name: 'EventDataStoreHasOngoingImportException')
54
65
  EventDataStoreMaxLimitExceededException = Shapes::StructureShape.new(name: 'EventDataStoreMaxLimitExceededException')
55
66
  EventDataStoreName = Shapes::StringShape.new(name: 'EventDataStoreName')
56
67
  EventDataStoreNotFoundException = Shapes::StructureShape.new(name: 'EventDataStoreNotFoundException')
@@ -61,10 +72,14 @@ module Aws::CloudTrail
61
72
  EventSelectors = Shapes::ListShape.new(name: 'EventSelectors')
62
73
  EventsList = Shapes::ListShape.new(name: 'EventsList')
63
74
  ExcludeManagementEventSources = Shapes::ListShape.new(name: 'ExcludeManagementEventSources')
75
+ GetChannelRequest = Shapes::StructureShape.new(name: 'GetChannelRequest')
76
+ GetChannelResponse = Shapes::StructureShape.new(name: 'GetChannelResponse')
64
77
  GetEventDataStoreRequest = Shapes::StructureShape.new(name: 'GetEventDataStoreRequest')
65
78
  GetEventDataStoreResponse = Shapes::StructureShape.new(name: 'GetEventDataStoreResponse')
66
79
  GetEventSelectorsRequest = Shapes::StructureShape.new(name: 'GetEventSelectorsRequest')
67
80
  GetEventSelectorsResponse = Shapes::StructureShape.new(name: 'GetEventSelectorsResponse')
81
+ GetImportRequest = Shapes::StructureShape.new(name: 'GetImportRequest')
82
+ GetImportResponse = Shapes::StructureShape.new(name: 'GetImportResponse')
68
83
  GetInsightSelectorsRequest = Shapes::StructureShape.new(name: 'GetInsightSelectorsRequest')
69
84
  GetInsightSelectorsResponse = Shapes::StructureShape.new(name: 'GetInsightSelectorsResponse')
70
85
  GetQueryResultsRequest = Shapes::StructureShape.new(name: 'GetQueryResultsRequest')
@@ -73,6 +88,16 @@ module Aws::CloudTrail
73
88
  GetTrailResponse = Shapes::StructureShape.new(name: 'GetTrailResponse')
74
89
  GetTrailStatusRequest = Shapes::StructureShape.new(name: 'GetTrailStatusRequest')
75
90
  GetTrailStatusResponse = Shapes::StructureShape.new(name: 'GetTrailStatusResponse')
91
+ ImportDestinations = Shapes::ListShape.new(name: 'ImportDestinations')
92
+ ImportFailureList = Shapes::ListShape.new(name: 'ImportFailureList')
93
+ ImportFailureListItem = Shapes::StructureShape.new(name: 'ImportFailureListItem')
94
+ ImportFailureStatus = Shapes::StringShape.new(name: 'ImportFailureStatus')
95
+ ImportNotFoundException = Shapes::StructureShape.new(name: 'ImportNotFoundException')
96
+ ImportSource = Shapes::StructureShape.new(name: 'ImportSource')
97
+ ImportStatistics = Shapes::StructureShape.new(name: 'ImportStatistics')
98
+ ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
99
+ ImportsList = Shapes::ListShape.new(name: 'ImportsList')
100
+ ImportsListItem = Shapes::StructureShape.new(name: 'ImportsListItem')
76
101
  InactiveEventDataStoreException = Shapes::StructureShape.new(name: 'InactiveEventDataStoreException')
77
102
  InactiveQueryException = Shapes::StructureShape.new(name: 'InactiveQueryException')
78
103
  InsightNotEnabledException = Shapes::StructureShape.new(name: 'InsightNotEnabledException')
@@ -88,9 +113,11 @@ module Aws::CloudTrail
88
113
  InvalidCloudWatchLogsRoleArnException = Shapes::StructureShape.new(name: 'InvalidCloudWatchLogsRoleArnException')
89
114
  InvalidDateRangeException = Shapes::StructureShape.new(name: 'InvalidDateRangeException')
90
115
  InvalidEventCategoryException = Shapes::StructureShape.new(name: 'InvalidEventCategoryException')
116
+ InvalidEventDataStoreCategoryException = Shapes::StructureShape.new(name: 'InvalidEventDataStoreCategoryException')
91
117
  InvalidEventDataStoreStatusException = Shapes::StructureShape.new(name: 'InvalidEventDataStoreStatusException')
92
118
  InvalidEventSelectorsException = Shapes::StructureShape.new(name: 'InvalidEventSelectorsException')
93
119
  InvalidHomeRegionException = Shapes::StructureShape.new(name: 'InvalidHomeRegionException')
120
+ InvalidImportSourceException = Shapes::StructureShape.new(name: 'InvalidImportSourceException')
94
121
  InvalidInsightSelectorsException = Shapes::StructureShape.new(name: 'InvalidInsightSelectorsException')
95
122
  InvalidKmsKeyIdException = Shapes::StructureShape.new(name: 'InvalidKmsKeyIdException')
96
123
  InvalidLookupAttributesException = Shapes::StructureShape.new(name: 'InvalidLookupAttributesException')
@@ -110,9 +137,18 @@ module Aws::CloudTrail
110
137
  KmsException = Shapes::StructureShape.new(name: 'KmsException')
111
138
  KmsKeyDisabledException = Shapes::StructureShape.new(name: 'KmsKeyDisabledException')
112
139
  KmsKeyNotFoundException = Shapes::StructureShape.new(name: 'KmsKeyNotFoundException')
140
+ ListChannelsMaxResultsCount = Shapes::IntegerShape.new(name: 'ListChannelsMaxResultsCount')
141
+ ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
142
+ ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
113
143
  ListEventDataStoresMaxResultsCount = Shapes::IntegerShape.new(name: 'ListEventDataStoresMaxResultsCount')
114
144
  ListEventDataStoresRequest = Shapes::StructureShape.new(name: 'ListEventDataStoresRequest')
115
145
  ListEventDataStoresResponse = Shapes::StructureShape.new(name: 'ListEventDataStoresResponse')
146
+ ListImportFailuresMaxResultsCount = Shapes::IntegerShape.new(name: 'ListImportFailuresMaxResultsCount')
147
+ ListImportFailuresRequest = Shapes::StructureShape.new(name: 'ListImportFailuresRequest')
148
+ ListImportFailuresResponse = Shapes::StructureShape.new(name: 'ListImportFailuresResponse')
149
+ ListImportsMaxResultsCount = Shapes::IntegerShape.new(name: 'ListImportsMaxResultsCount')
150
+ ListImportsRequest = Shapes::StructureShape.new(name: 'ListImportsRequest')
151
+ ListImportsResponse = Shapes::StructureShape.new(name: 'ListImportsResponse')
116
152
  ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
117
153
  ListPublicKeysResponse = Shapes::StructureShape.new(name: 'ListPublicKeysResponse')
118
154
  ListQueriesMaxResultsCount = Shapes::IntegerShape.new(name: 'ListQueriesMaxResultsCount')
@@ -122,6 +158,7 @@ module Aws::CloudTrail
122
158
  ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
123
159
  ListTrailsRequest = Shapes::StructureShape.new(name: 'ListTrailsRequest')
124
160
  ListTrailsResponse = Shapes::StructureShape.new(name: 'ListTrailsResponse')
161
+ Location = Shapes::StringShape.new(name: 'Location')
125
162
  Long = Shapes::IntegerShape.new(name: 'Long')
126
163
  LookupAttribute = Shapes::StructureShape.new(name: 'LookupAttribute')
127
164
  LookupAttributeKey = Shapes::StringShape.new(name: 'LookupAttributeKey')
@@ -172,12 +209,19 @@ module Aws::CloudTrail
172
209
  RestoreEventDataStoreResponse = Shapes::StructureShape.new(name: 'RestoreEventDataStoreResponse')
173
210
  RetentionPeriod = Shapes::IntegerShape.new(name: 'RetentionPeriod')
174
211
  S3BucketDoesNotExistException = Shapes::StructureShape.new(name: 'S3BucketDoesNotExistException')
212
+ S3ImportSource = Shapes::StructureShape.new(name: 'S3ImportSource')
175
213
  SelectorField = Shapes::StringShape.new(name: 'SelectorField')
176
214
  SelectorName = Shapes::StringShape.new(name: 'SelectorName')
215
+ Source = Shapes::StringShape.new(name: 'Source')
216
+ SourceConfig = Shapes::StructureShape.new(name: 'SourceConfig')
217
+ StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
218
+ StartImportResponse = Shapes::StructureShape.new(name: 'StartImportResponse')
177
219
  StartLoggingRequest = Shapes::StructureShape.new(name: 'StartLoggingRequest')
178
220
  StartLoggingResponse = Shapes::StructureShape.new(name: 'StartLoggingResponse')
179
221
  StartQueryRequest = Shapes::StructureShape.new(name: 'StartQueryRequest')
180
222
  StartQueryResponse = Shapes::StructureShape.new(name: 'StartQueryResponse')
223
+ StopImportRequest = Shapes::StructureShape.new(name: 'StopImportRequest')
224
+ StopImportResponse = Shapes::StructureShape.new(name: 'StopImportResponse')
181
225
  StopLoggingRequest = Shapes::StructureShape.new(name: 'StopLoggingRequest')
182
226
  StopLoggingResponse = Shapes::StructureShape.new(name: 'StopLoggingResponse')
183
227
  String = Shapes::StringShape.new(name: 'String')
@@ -202,6 +246,8 @@ module Aws::CloudTrail
202
246
  UpdateTrailRequest = Shapes::StructureShape.new(name: 'UpdateTrailRequest')
203
247
  UpdateTrailResponse = Shapes::StructureShape.new(name: 'UpdateTrailResponse')
204
248
 
249
+ AccountHasOngoingImportException.struct_class = Types::AccountHasOngoingImportException
250
+
205
251
  AddTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
206
252
  AddTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, required: true, location_name: "TagsList"))
207
253
  AddTagsRequest.struct_class = Types::AddTagsRequest
@@ -233,6 +279,16 @@ module Aws::CloudTrail
233
279
  CancelQueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, required: true, location_name: "QueryStatus"))
234
280
  CancelQueryResponse.struct_class = Types::CancelQueryResponse
235
281
 
282
+ Channel.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "ChannelArn"))
283
+ Channel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "Name"))
284
+ Channel.struct_class = Types::Channel
285
+
286
+ ChannelARNInvalidException.struct_class = Types::ChannelARNInvalidException
287
+
288
+ ChannelNotFoundException.struct_class = Types::ChannelNotFoundException
289
+
290
+ Channels.member = Shapes::ShapeRef.new(shape: Channel)
291
+
236
292
  CloudTrailARNInvalidException.struct_class = Types::CloudTrailARNInvalidException
237
293
 
238
294
  CloudTrailAccessNotEnabledException.struct_class = Types::CloudTrailAccessNotEnabledException
@@ -330,6 +386,12 @@ module Aws::CloudTrail
330
386
  DescribeTrailsResponse.add_member(:trail_list, Shapes::ShapeRef.new(shape: TrailList, location_name: "trailList"))
331
387
  DescribeTrailsResponse.struct_class = Types::DescribeTrailsResponse
332
388
 
389
+ Destination.add_member(:type, Shapes::ShapeRef.new(shape: DestinationType, required: true, location_name: "Type"))
390
+ Destination.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "Location"))
391
+ Destination.struct_class = Types::Destination
392
+
393
+ Destinations.member = Shapes::ShapeRef.new(shape: Destination)
394
+
333
395
  Event.add_member(:event_id, Shapes::ShapeRef.new(shape: String, location_name: "EventId"))
334
396
  Event.add_member(:event_name, Shapes::ShapeRef.new(shape: String, location_name: "EventName"))
335
397
  Event.add_member(:read_only, Shapes::ShapeRef.new(shape: String, location_name: "ReadOnly"))
@@ -357,6 +419,8 @@ module Aws::CloudTrail
357
419
 
358
420
  EventDataStoreAlreadyExistsException.struct_class = Types::EventDataStoreAlreadyExistsException
359
421
 
422
+ EventDataStoreHasOngoingImportException.struct_class = Types::EventDataStoreHasOngoingImportException
423
+
360
424
  EventDataStoreMaxLimitExceededException.struct_class = Types::EventDataStoreMaxLimitExceededException
361
425
 
362
426
  EventDataStoreNotFoundException.struct_class = Types::EventDataStoreNotFoundException
@@ -377,6 +441,16 @@ module Aws::CloudTrail
377
441
 
378
442
  ExcludeManagementEventSources.member = Shapes::ShapeRef.new(shape: String)
379
443
 
444
+ GetChannelRequest.add_member(:channel, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "Channel"))
445
+ GetChannelRequest.struct_class = Types::GetChannelRequest
446
+
447
+ GetChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "ChannelArn"))
448
+ GetChannelResponse.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "Name"))
449
+ GetChannelResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "Source"))
450
+ GetChannelResponse.add_member(:source_config, Shapes::ShapeRef.new(shape: SourceConfig, location_name: "SourceConfig"))
451
+ GetChannelResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, location_name: "Destinations"))
452
+ GetChannelResponse.struct_class = Types::GetChannelResponse
453
+
380
454
  GetEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
381
455
  GetEventDataStoreRequest.struct_class = Types::GetEventDataStoreRequest
382
456
 
@@ -400,6 +474,20 @@ module Aws::CloudTrail
400
474
  GetEventSelectorsResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
401
475
  GetEventSelectorsResponse.struct_class = Types::GetEventSelectorsResponse
402
476
 
477
+ GetImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "ImportId"))
478
+ GetImportRequest.struct_class = Types::GetImportRequest
479
+
480
+ GetImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
481
+ GetImportResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
482
+ GetImportResponse.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
483
+ GetImportResponse.add_member(:start_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartEventTime"))
484
+ GetImportResponse.add_member(:end_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndEventTime"))
485
+ GetImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
486
+ GetImportResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
487
+ GetImportResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
488
+ GetImportResponse.add_member(:import_statistics, Shapes::ShapeRef.new(shape: ImportStatistics, location_name: "ImportStatistics"))
489
+ GetImportResponse.struct_class = Types::GetImportResponse
490
+
403
491
  GetInsightSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
404
492
  GetInsightSelectorsRequest.struct_class = Types::GetInsightSelectorsRequest
405
493
 
@@ -448,6 +536,38 @@ module Aws::CloudTrail
448
536
  GetTrailStatusResponse.add_member(:time_logging_stopped, Shapes::ShapeRef.new(shape: String, location_name: "TimeLoggingStopped"))
449
537
  GetTrailStatusResponse.struct_class = Types::GetTrailStatusResponse
450
538
 
539
+ ImportDestinations.member = Shapes::ShapeRef.new(shape: EventDataStoreArn)
540
+
541
+ ImportFailureList.member = Shapes::ShapeRef.new(shape: ImportFailureListItem)
542
+
543
+ ImportFailureListItem.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
544
+ ImportFailureListItem.add_member(:status, Shapes::ShapeRef.new(shape: ImportFailureStatus, location_name: "Status"))
545
+ ImportFailureListItem.add_member(:error_type, Shapes::ShapeRef.new(shape: String, location_name: "ErrorType"))
546
+ ImportFailureListItem.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
547
+ ImportFailureListItem.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastUpdatedTime"))
548
+ ImportFailureListItem.struct_class = Types::ImportFailureListItem
549
+
550
+ ImportNotFoundException.struct_class = Types::ImportNotFoundException
551
+
552
+ ImportSource.add_member(:s3, Shapes::ShapeRef.new(shape: S3ImportSource, required: true, location_name: "S3"))
553
+ ImportSource.struct_class = Types::ImportSource
554
+
555
+ ImportStatistics.add_member(:prefixes_found, Shapes::ShapeRef.new(shape: Long, location_name: "PrefixesFound"))
556
+ ImportStatistics.add_member(:prefixes_completed, Shapes::ShapeRef.new(shape: Long, location_name: "PrefixesCompleted"))
557
+ ImportStatistics.add_member(:files_completed, Shapes::ShapeRef.new(shape: Long, location_name: "FilesCompleted"))
558
+ ImportStatistics.add_member(:events_completed, Shapes::ShapeRef.new(shape: Long, location_name: "EventsCompleted"))
559
+ ImportStatistics.add_member(:failed_entries, Shapes::ShapeRef.new(shape: Long, location_name: "FailedEntries"))
560
+ ImportStatistics.struct_class = Types::ImportStatistics
561
+
562
+ ImportsList.member = Shapes::ShapeRef.new(shape: ImportsListItem)
563
+
564
+ ImportsListItem.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
565
+ ImportsListItem.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
566
+ ImportsListItem.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
567
+ ImportsListItem.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
568
+ ImportsListItem.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
569
+ ImportsListItem.struct_class = Types::ImportsListItem
570
+
451
571
  InactiveEventDataStoreException.struct_class = Types::InactiveEventDataStoreException
452
572
 
453
573
  InactiveQueryException.struct_class = Types::InactiveQueryException
@@ -475,12 +595,16 @@ module Aws::CloudTrail
475
595
 
476
596
  InvalidEventCategoryException.struct_class = Types::InvalidEventCategoryException
477
597
 
598
+ InvalidEventDataStoreCategoryException.struct_class = Types::InvalidEventDataStoreCategoryException
599
+
478
600
  InvalidEventDataStoreStatusException.struct_class = Types::InvalidEventDataStoreStatusException
479
601
 
480
602
  InvalidEventSelectorsException.struct_class = Types::InvalidEventSelectorsException
481
603
 
482
604
  InvalidHomeRegionException.struct_class = Types::InvalidHomeRegionException
483
605
 
606
+ InvalidImportSourceException.struct_class = Types::InvalidImportSourceException
607
+
484
608
  InvalidInsightSelectorsException.struct_class = Types::InvalidInsightSelectorsException
485
609
 
486
610
  InvalidKmsKeyIdException.struct_class = Types::InvalidKmsKeyIdException
@@ -519,6 +643,14 @@ module Aws::CloudTrail
519
643
 
520
644
  KmsKeyNotFoundException.struct_class = Types::KmsKeyNotFoundException
521
645
 
646
+ ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListChannelsMaxResultsCount, location_name: "MaxResults"))
647
+ ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
648
+ ListChannelsRequest.struct_class = Types::ListChannelsRequest
649
+
650
+ ListChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "Channels"))
651
+ ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
652
+ ListChannelsResponse.struct_class = Types::ListChannelsResponse
653
+
522
654
  ListEventDataStoresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
523
655
  ListEventDataStoresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEventDataStoresMaxResultsCount, location_name: "MaxResults"))
524
656
  ListEventDataStoresRequest.struct_class = Types::ListEventDataStoresRequest
@@ -527,6 +659,25 @@ module Aws::CloudTrail
527
659
  ListEventDataStoresResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
528
660
  ListEventDataStoresResponse.struct_class = Types::ListEventDataStoresResponse
529
661
 
662
+ ListImportFailuresRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "ImportId"))
663
+ ListImportFailuresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListImportFailuresMaxResultsCount, location_name: "MaxResults"))
664
+ ListImportFailuresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
665
+ ListImportFailuresRequest.struct_class = Types::ListImportFailuresRequest
666
+
667
+ ListImportFailuresResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ImportFailureList, location_name: "Failures"))
668
+ ListImportFailuresResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
669
+ ListImportFailuresResponse.struct_class = Types::ListImportFailuresResponse
670
+
671
+ ListImportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListImportsMaxResultsCount, location_name: "MaxResults"))
672
+ ListImportsRequest.add_member(:destination, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "Destination"))
673
+ ListImportsRequest.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
674
+ ListImportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
675
+ ListImportsRequest.struct_class = Types::ListImportsRequest
676
+
677
+ ListImportsResponse.add_member(:imports, Shapes::ShapeRef.new(shape: ImportsList, location_name: "Imports"))
678
+ ListImportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
679
+ ListImportsResponse.struct_class = Types::ListImportsResponse
680
+
530
681
  ListPublicKeysRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
531
682
  ListPublicKeysRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
532
683
  ListPublicKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
@@ -690,6 +841,32 @@ module Aws::CloudTrail
690
841
 
691
842
  S3BucketDoesNotExistException.struct_class = Types::S3BucketDoesNotExistException
692
843
 
844
+ S3ImportSource.add_member(:s3_location_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3LocationUri"))
845
+ S3ImportSource.add_member(:s3_bucket_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketRegion"))
846
+ S3ImportSource.add_member(:s3_bucket_access_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketAccessRoleArn"))
847
+ S3ImportSource.struct_class = Types::S3ImportSource
848
+
849
+ SourceConfig.add_member(:apply_to_all_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyToAllRegions"))
850
+ SourceConfig.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
851
+ SourceConfig.struct_class = Types::SourceConfig
852
+
853
+ StartImportRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
854
+ StartImportRequest.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
855
+ StartImportRequest.add_member(:start_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartEventTime"))
856
+ StartImportRequest.add_member(:end_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndEventTime"))
857
+ StartImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
858
+ StartImportRequest.struct_class = Types::StartImportRequest
859
+
860
+ StartImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
861
+ StartImportResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
862
+ StartImportResponse.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
863
+ StartImportResponse.add_member(:start_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartEventTime"))
864
+ StartImportResponse.add_member(:end_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndEventTime"))
865
+ StartImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
866
+ StartImportResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
867
+ StartImportResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
868
+ StartImportResponse.struct_class = Types::StartImportResponse
869
+
693
870
  StartLoggingRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
694
871
  StartLoggingRequest.struct_class = Types::StartLoggingRequest
695
872
 
@@ -701,6 +878,20 @@ module Aws::CloudTrail
701
878
  StartQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
702
879
  StartQueryResponse.struct_class = Types::StartQueryResponse
703
880
 
881
+ StopImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "ImportId"))
882
+ StopImportRequest.struct_class = Types::StopImportRequest
883
+
884
+ StopImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
885
+ StopImportResponse.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
886
+ StopImportResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
887
+ StopImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
888
+ StopImportResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
889
+ StopImportResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
890
+ StopImportResponse.add_member(:start_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartEventTime"))
891
+ StopImportResponse.add_member(:end_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndEventTime"))
892
+ StopImportResponse.add_member(:import_statistics, Shapes::ShapeRef.new(shape: ImportStatistics, location_name: "ImportStatistics"))
893
+ StopImportResponse.struct_class = Types::StopImportResponse
894
+
704
895
  StopLoggingRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
705
896
  StopLoggingRequest.struct_class = Types::StopLoggingRequest
706
897
 
@@ -922,6 +1113,7 @@ module Aws::CloudTrail
922
1113
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
923
1114
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
924
1115
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreTerminationProtectedException)
1116
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreHasOngoingImportException)
925
1117
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
926
1118
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
927
1119
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
@@ -971,6 +1163,18 @@ module Aws::CloudTrail
971
1163
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
972
1164
  end)
973
1165
 
1166
+ api.add_operation(:get_channel, Seahorse::Model::Operation.new.tap do |o|
1167
+ o.name = "GetChannel"
1168
+ o.http_method = "POST"
1169
+ o.http_request_uri = "/"
1170
+ o.input = Shapes::ShapeRef.new(shape: GetChannelRequest)
1171
+ o.output = Shapes::ShapeRef.new(shape: GetChannelResponse)
1172
+ o.errors << Shapes::ShapeRef.new(shape: ChannelARNInvalidException)
1173
+ o.errors << Shapes::ShapeRef.new(shape: ChannelNotFoundException)
1174
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1176
+ end)
1177
+
974
1178
  api.add_operation(:get_event_data_store, Seahorse::Model::Operation.new.tap do |o|
975
1179
  o.name = "GetEventDataStore"
976
1180
  o.http_method = "POST"
@@ -996,6 +1200,18 @@ module Aws::CloudTrail
996
1200
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
997
1201
  end)
998
1202
 
1203
+ api.add_operation(:get_import, Seahorse::Model::Operation.new.tap do |o|
1204
+ o.name = "GetImport"
1205
+ o.http_method = "POST"
1206
+ o.http_request_uri = "/"
1207
+ o.input = Shapes::ShapeRef.new(shape: GetImportRequest)
1208
+ o.output = Shapes::ShapeRef.new(shape: GetImportResponse)
1209
+ o.errors << Shapes::ShapeRef.new(shape: ImportNotFoundException)
1210
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1211
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1212
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1213
+ end)
1214
+
999
1215
  api.add_operation(:get_insight_selectors, Seahorse::Model::Operation.new.tap do |o|
1000
1216
  o.name = "GetInsightSelectors"
1001
1217
  o.http_method = "POST"
@@ -1055,6 +1271,23 @@ module Aws::CloudTrail
1055
1271
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1056
1272
  end)
1057
1273
 
1274
+ api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
1275
+ o.name = "ListChannels"
1276
+ o.http_method = "POST"
1277
+ o.http_request_uri = "/"
1278
+ o.input = Shapes::ShapeRef.new(shape: ListChannelsRequest)
1279
+ o.output = Shapes::ShapeRef.new(shape: ListChannelsResponse)
1280
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1281
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1282
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1283
+ o[:pager] = Aws::Pager.new(
1284
+ limit_key: "max_results",
1285
+ tokens: {
1286
+ "next_token" => "next_token"
1287
+ }
1288
+ )
1289
+ end)
1290
+
1058
1291
  api.add_operation(:list_event_data_stores, Seahorse::Model::Operation.new.tap do |o|
1059
1292
  o.name = "ListEventDataStores"
1060
1293
  o.http_method = "POST"
@@ -1073,6 +1306,42 @@ module Aws::CloudTrail
1073
1306
  )
1074
1307
  end)
1075
1308
 
1309
+ api.add_operation(:list_import_failures, Seahorse::Model::Operation.new.tap do |o|
1310
+ o.name = "ListImportFailures"
1311
+ o.http_method = "POST"
1312
+ o.http_request_uri = "/"
1313
+ o.input = Shapes::ShapeRef.new(shape: ListImportFailuresRequest)
1314
+ o.output = Shapes::ShapeRef.new(shape: ListImportFailuresResponse)
1315
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1317
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1318
+ o[:pager] = Aws::Pager.new(
1319
+ limit_key: "max_results",
1320
+ tokens: {
1321
+ "next_token" => "next_token"
1322
+ }
1323
+ )
1324
+ end)
1325
+
1326
+ api.add_operation(:list_imports, Seahorse::Model::Operation.new.tap do |o|
1327
+ o.name = "ListImports"
1328
+ o.http_method = "POST"
1329
+ o.http_request_uri = "/"
1330
+ o.input = Shapes::ShapeRef.new(shape: ListImportsRequest)
1331
+ o.output = Shapes::ShapeRef.new(shape: ListImportsResponse)
1332
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1333
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1334
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1335
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1336
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1337
+ o[:pager] = Aws::Pager.new(
1338
+ limit_key: "max_results",
1339
+ tokens: {
1340
+ "next_token" => "next_token"
1341
+ }
1342
+ )
1343
+ end)
1344
+
1076
1345
  api.add_operation(:list_public_keys, Seahorse::Model::Operation.new.tap do |o|
1077
1346
  o.name = "ListPublicKeys"
1078
1347
  o.http_method = "POST"
@@ -1245,6 +1514,27 @@ module Aws::CloudTrail
1245
1514
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
1246
1515
  end)
1247
1516
 
1517
+ api.add_operation(:start_import, Seahorse::Model::Operation.new.tap do |o|
1518
+ o.name = "StartImport"
1519
+ o.http_method = "POST"
1520
+ o.http_request_uri = "/"
1521
+ o.input = Shapes::ShapeRef.new(shape: StartImportRequest)
1522
+ o.output = Shapes::ShapeRef.new(shape: StartImportResponse)
1523
+ o.errors << Shapes::ShapeRef.new(shape: AccountHasOngoingImportException)
1524
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1525
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1526
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreStatusException)
1527
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreCategoryException)
1528
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1529
+ o.errors << Shapes::ShapeRef.new(shape: InvalidImportSourceException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: ImportNotFoundException)
1531
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1532
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1533
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1534
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1535
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1536
+ end)
1537
+
1248
1538
  api.add_operation(:start_logging, Seahorse::Model::Operation.new.tap do |o|
1249
1539
  o.name = "StartLogging"
1250
1540
  o.http_method = "POST"
@@ -1276,6 +1566,18 @@ module Aws::CloudTrail
1276
1566
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1277
1567
  end)
1278
1568
 
1569
+ api.add_operation(:stop_import, Seahorse::Model::Operation.new.tap do |o|
1570
+ o.name = "StopImport"
1571
+ o.http_method = "POST"
1572
+ o.http_request_uri = "/"
1573
+ o.input = Shapes::ShapeRef.new(shape: StopImportRequest)
1574
+ o.output = Shapes::ShapeRef.new(shape: StopImportResponse)
1575
+ o.errors << Shapes::ShapeRef.new(shape: ImportNotFoundException)
1576
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1577
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1578
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1579
+ end)
1580
+
1279
1581
  api.add_operation(:stop_logging, Seahorse::Model::Operation.new.tap do |o|
1280
1582
  o.name = "StopLogging"
1281
1583
  o.http_method = "POST"
@@ -1299,6 +1601,7 @@ module Aws::CloudTrail
1299
1601
  o.output = Shapes::ShapeRef.new(shape: UpdateEventDataStoreResponse)
1300
1602
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1301
1603
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1604
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreHasOngoingImportException)
1302
1605
  o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1303
1606
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1304
1607
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)