aws-sdk-cloudtrail 1.42.0 → 1.69.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,11 @@ module Aws::CloudTrail
13
13
 
14
14
  include Seahorse::Model
15
15
 
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')
16
21
  AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
17
22
  AddTagsResponse = Shapes::StructureShape.new(name: 'AddTagsResponse')
18
23
  AdvancedEventSelector = Shapes::StructureShape.new(name: 'AdvancedEventSelector')
@@ -21,35 +26,103 @@ module Aws::CloudTrail
21
26
  AdvancedFieldSelectors = Shapes::ListShape.new(name: 'AdvancedFieldSelectors')
22
27
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
23
28
  ByteBuffer = Shapes::BlobShape.new(name: 'ByteBuffer')
29
+ CancelQueryRequest = Shapes::StructureShape.new(name: 'CancelQueryRequest')
30
+ CancelQueryResponse = Shapes::StructureShape.new(name: 'CancelQueryResponse')
31
+ CannotDelegateManagementAccountException = Shapes::StructureShape.new(name: 'CannotDelegateManagementAccountException')
32
+ Channel = Shapes::StructureShape.new(name: 'Channel')
33
+ ChannelARNInvalidException = Shapes::StructureShape.new(name: 'ChannelARNInvalidException')
34
+ ChannelAlreadyExistsException = Shapes::StructureShape.new(name: 'ChannelAlreadyExistsException')
35
+ ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
36
+ ChannelExistsForEDSException = Shapes::StructureShape.new(name: 'ChannelExistsForEDSException')
37
+ ChannelMaxLimitExceededException = Shapes::StructureShape.new(name: 'ChannelMaxLimitExceededException')
38
+ ChannelName = Shapes::StringShape.new(name: 'ChannelName')
39
+ ChannelNotFoundException = Shapes::StructureShape.new(name: 'ChannelNotFoundException')
40
+ Channels = Shapes::ListShape.new(name: 'Channels')
24
41
  CloudTrailARNInvalidException = Shapes::StructureShape.new(name: 'CloudTrailARNInvalidException')
25
42
  CloudTrailAccessNotEnabledException = Shapes::StructureShape.new(name: 'CloudTrailAccessNotEnabledException')
26
43
  CloudTrailInvalidClientTokenIdException = Shapes::StructureShape.new(name: 'CloudTrailInvalidClientTokenIdException')
27
44
  CloudWatchLogsDeliveryUnavailableException = Shapes::StructureShape.new(name: 'CloudWatchLogsDeliveryUnavailableException')
28
45
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
46
+ CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
47
+ CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
48
+ CreateEventDataStoreRequest = Shapes::StructureShape.new(name: 'CreateEventDataStoreRequest')
49
+ CreateEventDataStoreResponse = Shapes::StructureShape.new(name: 'CreateEventDataStoreResponse')
29
50
  CreateTrailRequest = Shapes::StructureShape.new(name: 'CreateTrailRequest')
30
51
  CreateTrailResponse = Shapes::StructureShape.new(name: 'CreateTrailResponse')
31
52
  DataResource = Shapes::StructureShape.new(name: 'DataResource')
32
53
  DataResourceValues = Shapes::ListShape.new(name: 'DataResourceValues')
33
54
  DataResources = Shapes::ListShape.new(name: 'DataResources')
34
55
  Date = Shapes::TimestampShape.new(name: 'Date')
56
+ DelegatedAdminAccountLimitExceededException = Shapes::StructureShape.new(name: 'DelegatedAdminAccountLimitExceededException')
57
+ DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
58
+ DeleteChannelResponse = Shapes::StructureShape.new(name: 'DeleteChannelResponse')
59
+ DeleteEventDataStoreRequest = Shapes::StructureShape.new(name: 'DeleteEventDataStoreRequest')
60
+ DeleteEventDataStoreResponse = Shapes::StructureShape.new(name: 'DeleteEventDataStoreResponse')
61
+ DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
62
+ DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
35
63
  DeleteTrailRequest = Shapes::StructureShape.new(name: 'DeleteTrailRequest')
36
64
  DeleteTrailResponse = Shapes::StructureShape.new(name: 'DeleteTrailResponse')
65
+ DeliveryS3Uri = Shapes::StringShape.new(name: 'DeliveryS3Uri')
66
+ DeliveryStatus = Shapes::StringShape.new(name: 'DeliveryStatus')
67
+ DeregisterOrganizationDelegatedAdminRequest = Shapes::StructureShape.new(name: 'DeregisterOrganizationDelegatedAdminRequest')
68
+ DeregisterOrganizationDelegatedAdminResponse = Shapes::StructureShape.new(name: 'DeregisterOrganizationDelegatedAdminResponse')
69
+ DescribeQueryRequest = Shapes::StructureShape.new(name: 'DescribeQueryRequest')
70
+ DescribeQueryResponse = Shapes::StructureShape.new(name: 'DescribeQueryResponse')
37
71
  DescribeTrailsRequest = Shapes::StructureShape.new(name: 'DescribeTrailsRequest')
38
72
  DescribeTrailsResponse = Shapes::StructureShape.new(name: 'DescribeTrailsResponse')
73
+ Destination = Shapes::StructureShape.new(name: 'Destination')
74
+ DestinationType = Shapes::StringShape.new(name: 'DestinationType')
75
+ Destinations = Shapes::ListShape.new(name: 'Destinations')
76
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
39
77
  Event = Shapes::StructureShape.new(name: 'Event')
40
78
  EventCategory = Shapes::StringShape.new(name: 'EventCategory')
79
+ EventDataStore = Shapes::StructureShape.new(name: 'EventDataStore')
80
+ EventDataStoreARNInvalidException = Shapes::StructureShape.new(name: 'EventDataStoreARNInvalidException')
81
+ EventDataStoreAlreadyExistsException = Shapes::StructureShape.new(name: 'EventDataStoreAlreadyExistsException')
82
+ EventDataStoreArn = Shapes::StringShape.new(name: 'EventDataStoreArn')
83
+ EventDataStoreHasOngoingImportException = Shapes::StructureShape.new(name: 'EventDataStoreHasOngoingImportException')
84
+ EventDataStoreKmsKeyId = Shapes::StringShape.new(name: 'EventDataStoreKmsKeyId')
85
+ EventDataStoreMaxLimitExceededException = Shapes::StructureShape.new(name: 'EventDataStoreMaxLimitExceededException')
86
+ EventDataStoreName = Shapes::StringShape.new(name: 'EventDataStoreName')
87
+ EventDataStoreNotFoundException = Shapes::StructureShape.new(name: 'EventDataStoreNotFoundException')
88
+ EventDataStoreStatus = Shapes::StringShape.new(name: 'EventDataStoreStatus')
89
+ EventDataStoreTerminationProtectedException = Shapes::StructureShape.new(name: 'EventDataStoreTerminationProtectedException')
90
+ EventDataStores = Shapes::ListShape.new(name: 'EventDataStores')
41
91
  EventSelector = Shapes::StructureShape.new(name: 'EventSelector')
42
92
  EventSelectors = Shapes::ListShape.new(name: 'EventSelectors')
43
93
  EventsList = Shapes::ListShape.new(name: 'EventsList')
44
94
  ExcludeManagementEventSources = Shapes::ListShape.new(name: 'ExcludeManagementEventSources')
95
+ GetChannelRequest = Shapes::StructureShape.new(name: 'GetChannelRequest')
96
+ GetChannelResponse = Shapes::StructureShape.new(name: 'GetChannelResponse')
97
+ GetEventDataStoreRequest = Shapes::StructureShape.new(name: 'GetEventDataStoreRequest')
98
+ GetEventDataStoreResponse = Shapes::StructureShape.new(name: 'GetEventDataStoreResponse')
45
99
  GetEventSelectorsRequest = Shapes::StructureShape.new(name: 'GetEventSelectorsRequest')
46
100
  GetEventSelectorsResponse = Shapes::StructureShape.new(name: 'GetEventSelectorsResponse')
101
+ GetImportRequest = Shapes::StructureShape.new(name: 'GetImportRequest')
102
+ GetImportResponse = Shapes::StructureShape.new(name: 'GetImportResponse')
47
103
  GetInsightSelectorsRequest = Shapes::StructureShape.new(name: 'GetInsightSelectorsRequest')
48
104
  GetInsightSelectorsResponse = Shapes::StructureShape.new(name: 'GetInsightSelectorsResponse')
105
+ GetQueryResultsRequest = Shapes::StructureShape.new(name: 'GetQueryResultsRequest')
106
+ GetQueryResultsResponse = Shapes::StructureShape.new(name: 'GetQueryResultsResponse')
107
+ GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
108
+ GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
49
109
  GetTrailRequest = Shapes::StructureShape.new(name: 'GetTrailRequest')
50
110
  GetTrailResponse = Shapes::StructureShape.new(name: 'GetTrailResponse')
51
111
  GetTrailStatusRequest = Shapes::StructureShape.new(name: 'GetTrailStatusRequest')
52
112
  GetTrailStatusResponse = Shapes::StructureShape.new(name: 'GetTrailStatusResponse')
113
+ ImportDestinations = Shapes::ListShape.new(name: 'ImportDestinations')
114
+ ImportFailureList = Shapes::ListShape.new(name: 'ImportFailureList')
115
+ ImportFailureListItem = Shapes::StructureShape.new(name: 'ImportFailureListItem')
116
+ ImportFailureStatus = Shapes::StringShape.new(name: 'ImportFailureStatus')
117
+ ImportNotFoundException = Shapes::StructureShape.new(name: 'ImportNotFoundException')
118
+ ImportSource = Shapes::StructureShape.new(name: 'ImportSource')
119
+ ImportStatistics = Shapes::StructureShape.new(name: 'ImportStatistics')
120
+ ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
121
+ ImportsList = Shapes::ListShape.new(name: 'ImportsList')
122
+ ImportsListItem = Shapes::StructureShape.new(name: 'ImportsListItem')
123
+ InactiveEventDataStoreException = Shapes::StructureShape.new(name: 'InactiveEventDataStoreException')
124
+ InactiveQueryException = Shapes::StructureShape.new(name: 'InactiveQueryException')
125
+ IngestionStatus = Shapes::StructureShape.new(name: 'IngestionStatus')
53
126
  InsightNotEnabledException = Shapes::StructureShape.new(name: 'InsightNotEnabledException')
54
127
  InsightSelector = Shapes::StructureShape.new(name: 'InsightSelector')
55
128
  InsightSelectors = Shapes::ListShape.new(name: 'InsightSelectors')
@@ -58,20 +131,29 @@ module Aws::CloudTrail
58
131
  InsufficientEncryptionPolicyException = Shapes::StructureShape.new(name: 'InsufficientEncryptionPolicyException')
59
132
  InsufficientS3BucketPolicyException = Shapes::StructureShape.new(name: 'InsufficientS3BucketPolicyException')
60
133
  InsufficientSnsTopicPolicyException = Shapes::StructureShape.new(name: 'InsufficientSnsTopicPolicyException')
134
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
61
135
  InvalidCloudWatchLogsLogGroupArnException = Shapes::StructureShape.new(name: 'InvalidCloudWatchLogsLogGroupArnException')
62
136
  InvalidCloudWatchLogsRoleArnException = Shapes::StructureShape.new(name: 'InvalidCloudWatchLogsRoleArnException')
137
+ InvalidDateRangeException = Shapes::StructureShape.new(name: 'InvalidDateRangeException')
63
138
  InvalidEventCategoryException = Shapes::StructureShape.new(name: 'InvalidEventCategoryException')
139
+ InvalidEventDataStoreCategoryException = Shapes::StructureShape.new(name: 'InvalidEventDataStoreCategoryException')
140
+ InvalidEventDataStoreStatusException = Shapes::StructureShape.new(name: 'InvalidEventDataStoreStatusException')
64
141
  InvalidEventSelectorsException = Shapes::StructureShape.new(name: 'InvalidEventSelectorsException')
65
142
  InvalidHomeRegionException = Shapes::StructureShape.new(name: 'InvalidHomeRegionException')
143
+ InvalidImportSourceException = Shapes::StructureShape.new(name: 'InvalidImportSourceException')
66
144
  InvalidInsightSelectorsException = Shapes::StructureShape.new(name: 'InvalidInsightSelectorsException')
67
145
  InvalidKmsKeyIdException = Shapes::StructureShape.new(name: 'InvalidKmsKeyIdException')
68
146
  InvalidLookupAttributesException = Shapes::StructureShape.new(name: 'InvalidLookupAttributesException')
69
147
  InvalidMaxResultsException = Shapes::StructureShape.new(name: 'InvalidMaxResultsException')
70
148
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
71
149
  InvalidParameterCombinationException = Shapes::StructureShape.new(name: 'InvalidParameterCombinationException')
150
+ InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
151
+ InvalidQueryStatementException = Shapes::StructureShape.new(name: 'InvalidQueryStatementException')
152
+ InvalidQueryStatusException = Shapes::StructureShape.new(name: 'InvalidQueryStatusException')
72
153
  InvalidS3BucketNameException = Shapes::StructureShape.new(name: 'InvalidS3BucketNameException')
73
154
  InvalidS3PrefixException = Shapes::StructureShape.new(name: 'InvalidS3PrefixException')
74
155
  InvalidSnsTopicNameException = Shapes::StructureShape.new(name: 'InvalidSnsTopicNameException')
156
+ InvalidSourceException = Shapes::StructureShape.new(name: 'InvalidSourceException')
75
157
  InvalidTagParameterException = Shapes::StructureShape.new(name: 'InvalidTagParameterException')
76
158
  InvalidTimeRangeException = Shapes::StructureShape.new(name: 'InvalidTimeRangeException')
77
159
  InvalidTokenException = Shapes::StructureShape.new(name: 'InvalidTokenException')
@@ -79,53 +161,120 @@ module Aws::CloudTrail
79
161
  KmsException = Shapes::StructureShape.new(name: 'KmsException')
80
162
  KmsKeyDisabledException = Shapes::StructureShape.new(name: 'KmsKeyDisabledException')
81
163
  KmsKeyNotFoundException = Shapes::StructureShape.new(name: 'KmsKeyNotFoundException')
164
+ ListChannelsMaxResultsCount = Shapes::IntegerShape.new(name: 'ListChannelsMaxResultsCount')
165
+ ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
166
+ ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
167
+ ListEventDataStoresMaxResultsCount = Shapes::IntegerShape.new(name: 'ListEventDataStoresMaxResultsCount')
168
+ ListEventDataStoresRequest = Shapes::StructureShape.new(name: 'ListEventDataStoresRequest')
169
+ ListEventDataStoresResponse = Shapes::StructureShape.new(name: 'ListEventDataStoresResponse')
170
+ ListImportFailuresMaxResultsCount = Shapes::IntegerShape.new(name: 'ListImportFailuresMaxResultsCount')
171
+ ListImportFailuresRequest = Shapes::StructureShape.new(name: 'ListImportFailuresRequest')
172
+ ListImportFailuresResponse = Shapes::StructureShape.new(name: 'ListImportFailuresResponse')
173
+ ListImportsMaxResultsCount = Shapes::IntegerShape.new(name: 'ListImportsMaxResultsCount')
174
+ ListImportsRequest = Shapes::StructureShape.new(name: 'ListImportsRequest')
175
+ ListImportsResponse = Shapes::StructureShape.new(name: 'ListImportsResponse')
82
176
  ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
83
177
  ListPublicKeysResponse = Shapes::StructureShape.new(name: 'ListPublicKeysResponse')
178
+ ListQueriesMaxResultsCount = Shapes::IntegerShape.new(name: 'ListQueriesMaxResultsCount')
179
+ ListQueriesRequest = Shapes::StructureShape.new(name: 'ListQueriesRequest')
180
+ ListQueriesResponse = Shapes::StructureShape.new(name: 'ListQueriesResponse')
84
181
  ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
85
182
  ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
86
183
  ListTrailsRequest = Shapes::StructureShape.new(name: 'ListTrailsRequest')
87
184
  ListTrailsResponse = Shapes::StructureShape.new(name: 'ListTrailsResponse')
185
+ Location = Shapes::StringShape.new(name: 'Location')
186
+ Long = Shapes::IntegerShape.new(name: 'Long')
88
187
  LookupAttribute = Shapes::StructureShape.new(name: 'LookupAttribute')
89
188
  LookupAttributeKey = Shapes::StringShape.new(name: 'LookupAttributeKey')
189
+ LookupAttributeValue = Shapes::StringShape.new(name: 'LookupAttributeValue')
90
190
  LookupAttributesList = Shapes::ListShape.new(name: 'LookupAttributesList')
91
191
  LookupEventsRequest = Shapes::StructureShape.new(name: 'LookupEventsRequest')
92
192
  LookupEventsResponse = Shapes::StructureShape.new(name: 'LookupEventsResponse')
193
+ MaxConcurrentQueriesException = Shapes::StructureShape.new(name: 'MaxConcurrentQueriesException')
194
+ MaxQueryResults = Shapes::IntegerShape.new(name: 'MaxQueryResults')
93
195
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
94
196
  MaximumNumberOfTrailsExceededException = Shapes::StructureShape.new(name: 'MaximumNumberOfTrailsExceededException')
95
197
  NextToken = Shapes::StringShape.new(name: 'NextToken')
198
+ NoManagementAccountSLRExistsException = Shapes::StructureShape.new(name: 'NoManagementAccountSLRExistsException')
199
+ NotOrganizationManagementAccountException = Shapes::StructureShape.new(name: 'NotOrganizationManagementAccountException')
96
200
  NotOrganizationMasterAccountException = Shapes::StructureShape.new(name: 'NotOrganizationMasterAccountException')
97
201
  OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
98
202
  Operator = Shapes::ListShape.new(name: 'Operator')
99
203
  OperatorValue = Shapes::StringShape.new(name: 'OperatorValue')
100
204
  OrganizationNotInAllFeaturesModeException = Shapes::StructureShape.new(name: 'OrganizationNotInAllFeaturesModeException')
101
205
  OrganizationsNotInUseException = Shapes::StructureShape.new(name: 'OrganizationsNotInUseException')
206
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
102
207
  PublicKey = Shapes::StructureShape.new(name: 'PublicKey')
103
208
  PublicKeyList = Shapes::ListShape.new(name: 'PublicKeyList')
104
209
  PutEventSelectorsRequest = Shapes::StructureShape.new(name: 'PutEventSelectorsRequest')
105
210
  PutEventSelectorsResponse = Shapes::StructureShape.new(name: 'PutEventSelectorsResponse')
106
211
  PutInsightSelectorsRequest = Shapes::StructureShape.new(name: 'PutInsightSelectorsRequest')
107
212
  PutInsightSelectorsResponse = Shapes::StructureShape.new(name: 'PutInsightSelectorsResponse')
213
+ PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
214
+ PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
215
+ Queries = Shapes::ListShape.new(name: 'Queries')
216
+ Query = Shapes::StructureShape.new(name: 'Query')
217
+ QueryAlias = Shapes::StringShape.new(name: 'QueryAlias')
218
+ QueryIdNotFoundException = Shapes::StructureShape.new(name: 'QueryIdNotFoundException')
219
+ QueryParameter = Shapes::StringShape.new(name: 'QueryParameter')
220
+ QueryParameters = Shapes::ListShape.new(name: 'QueryParameters')
221
+ QueryResultColumn = Shapes::MapShape.new(name: 'QueryResultColumn')
222
+ QueryResultKey = Shapes::StringShape.new(name: 'QueryResultKey')
223
+ QueryResultRow = Shapes::ListShape.new(name: 'QueryResultRow')
224
+ QueryResultRows = Shapes::ListShape.new(name: 'QueryResultRows')
225
+ QueryResultValue = Shapes::StringShape.new(name: 'QueryResultValue')
226
+ QueryStatement = Shapes::StringShape.new(name: 'QueryStatement')
227
+ QueryStatistics = Shapes::StructureShape.new(name: 'QueryStatistics')
228
+ QueryStatisticsForDescribeQuery = Shapes::StructureShape.new(name: 'QueryStatisticsForDescribeQuery')
229
+ QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
108
230
  ReadWriteType = Shapes::StringShape.new(name: 'ReadWriteType')
231
+ RegisterOrganizationDelegatedAdminRequest = Shapes::StructureShape.new(name: 'RegisterOrganizationDelegatedAdminRequest')
232
+ RegisterOrganizationDelegatedAdminResponse = Shapes::StructureShape.new(name: 'RegisterOrganizationDelegatedAdminResponse')
109
233
  RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
110
234
  RemoveTagsResponse = Shapes::StructureShape.new(name: 'RemoveTagsResponse')
111
235
  Resource = Shapes::StructureShape.new(name: 'Resource')
236
+ ResourceARNNotValidException = Shapes::StructureShape.new(name: 'ResourceARNNotValidException')
237
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
112
238
  ResourceIdList = Shapes::ListShape.new(name: 'ResourceIdList')
113
239
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
114
240
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
241
+ ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
242
+ ResourcePolicyNotFoundException = Shapes::StructureShape.new(name: 'ResourcePolicyNotFoundException')
243
+ ResourcePolicyNotValidException = Shapes::StructureShape.new(name: 'ResourcePolicyNotValidException')
115
244
  ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
116
245
  ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
117
246
  ResourceTypeNotSupportedException = Shapes::StructureShape.new(name: 'ResourceTypeNotSupportedException')
247
+ RestoreEventDataStoreRequest = Shapes::StructureShape.new(name: 'RestoreEventDataStoreRequest')
248
+ RestoreEventDataStoreResponse = Shapes::StructureShape.new(name: 'RestoreEventDataStoreResponse')
249
+ RetentionPeriod = Shapes::IntegerShape.new(name: 'RetentionPeriod')
118
250
  S3BucketDoesNotExistException = Shapes::StructureShape.new(name: 'S3BucketDoesNotExistException')
251
+ S3ImportSource = Shapes::StructureShape.new(name: 'S3ImportSource')
119
252
  SelectorField = Shapes::StringShape.new(name: 'SelectorField')
120
253
  SelectorName = Shapes::StringShape.new(name: 'SelectorName')
254
+ Source = Shapes::StringShape.new(name: 'Source')
255
+ SourceConfig = Shapes::StructureShape.new(name: 'SourceConfig')
256
+ StartEventDataStoreIngestionRequest = Shapes::StructureShape.new(name: 'StartEventDataStoreIngestionRequest')
257
+ StartEventDataStoreIngestionResponse = Shapes::StructureShape.new(name: 'StartEventDataStoreIngestionResponse')
258
+ StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
259
+ StartImportResponse = Shapes::StructureShape.new(name: 'StartImportResponse')
121
260
  StartLoggingRequest = Shapes::StructureShape.new(name: 'StartLoggingRequest')
122
261
  StartLoggingResponse = Shapes::StructureShape.new(name: 'StartLoggingResponse')
262
+ StartQueryRequest = Shapes::StructureShape.new(name: 'StartQueryRequest')
263
+ StartQueryResponse = Shapes::StructureShape.new(name: 'StartQueryResponse')
264
+ StopEventDataStoreIngestionRequest = Shapes::StructureShape.new(name: 'StopEventDataStoreIngestionRequest')
265
+ StopEventDataStoreIngestionResponse = Shapes::StructureShape.new(name: 'StopEventDataStoreIngestionResponse')
266
+ StopImportRequest = Shapes::StructureShape.new(name: 'StopImportRequest')
267
+ StopImportResponse = Shapes::StructureShape.new(name: 'StopImportResponse')
123
268
  StopLoggingRequest = Shapes::StructureShape.new(name: 'StopLoggingRequest')
124
269
  StopLoggingResponse = Shapes::StructureShape.new(name: 'StopLoggingResponse')
125
270
  String = Shapes::StringShape.new(name: 'String')
126
271
  Tag = Shapes::StructureShape.new(name: 'Tag')
272
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
273
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
127
274
  TagsLimitExceededException = Shapes::StructureShape.new(name: 'TagsLimitExceededException')
128
275
  TagsList = Shapes::ListShape.new(name: 'TagsList')
276
+ TerminationProtectionEnabled = Shapes::BooleanShape.new(name: 'TerminationProtectionEnabled')
277
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
129
278
  Trail = Shapes::StructureShape.new(name: 'Trail')
130
279
  TrailAlreadyExistsException = Shapes::StructureShape.new(name: 'TrailAlreadyExistsException')
131
280
  TrailInfo = Shapes::StructureShape.new(name: 'TrailInfo')
@@ -134,12 +283,25 @@ module Aws::CloudTrail
134
283
  TrailNotFoundException = Shapes::StructureShape.new(name: 'TrailNotFoundException')
135
284
  TrailNotProvidedException = Shapes::StructureShape.new(name: 'TrailNotProvidedException')
136
285
  Trails = Shapes::ListShape.new(name: 'Trails')
286
+ UUID = Shapes::StringShape.new(name: 'UUID')
137
287
  UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
288
+ UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
289
+ UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
290
+ UpdateEventDataStoreRequest = Shapes::StructureShape.new(name: 'UpdateEventDataStoreRequest')
291
+ UpdateEventDataStoreResponse = Shapes::StructureShape.new(name: 'UpdateEventDataStoreResponse')
138
292
  UpdateTrailRequest = Shapes::StructureShape.new(name: 'UpdateTrailRequest')
139
293
  UpdateTrailResponse = Shapes::StructureShape.new(name: 'UpdateTrailResponse')
140
294
 
295
+ AccountHasOngoingImportException.struct_class = Types::AccountHasOngoingImportException
296
+
297
+ AccountNotFoundException.struct_class = Types::AccountNotFoundException
298
+
299
+ AccountNotRegisteredException.struct_class = Types::AccountNotRegisteredException
300
+
301
+ AccountRegisteredException.struct_class = Types::AccountRegisteredException
302
+
141
303
  AddTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
142
- AddTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
304
+ AddTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, required: true, location_name: "TagsList"))
143
305
  AddTagsRequest.struct_class = Types::AddTagsRequest
144
306
 
145
307
  AddTagsResponse.struct_class = Types::AddTagsResponse
@@ -161,6 +323,32 @@ module Aws::CloudTrail
161
323
 
162
324
  AdvancedFieldSelectors.member = Shapes::ShapeRef.new(shape: AdvancedFieldSelector)
163
325
 
326
+ 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"}))
327
+ CancelQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
328
+ CancelQueryRequest.struct_class = Types::CancelQueryRequest
329
+
330
+ CancelQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
331
+ CancelQueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, required: true, location_name: "QueryStatus"))
332
+ CancelQueryResponse.struct_class = Types::CancelQueryResponse
333
+
334
+ CannotDelegateManagementAccountException.struct_class = Types::CannotDelegateManagementAccountException
335
+
336
+ Channel.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "ChannelArn"))
337
+ Channel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "Name"))
338
+ Channel.struct_class = Types::Channel
339
+
340
+ ChannelARNInvalidException.struct_class = Types::ChannelARNInvalidException
341
+
342
+ ChannelAlreadyExistsException.struct_class = Types::ChannelAlreadyExistsException
343
+
344
+ ChannelExistsForEDSException.struct_class = Types::ChannelExistsForEDSException
345
+
346
+ ChannelMaxLimitExceededException.struct_class = Types::ChannelMaxLimitExceededException
347
+
348
+ ChannelNotFoundException.struct_class = Types::ChannelNotFoundException
349
+
350
+ Channels.member = Shapes::ShapeRef.new(shape: Channel)
351
+
164
352
  CloudTrailARNInvalidException.struct_class = Types::CloudTrailARNInvalidException
165
353
 
166
354
  CloudTrailAccessNotEnabledException.struct_class = Types::CloudTrailAccessNotEnabledException
@@ -171,6 +359,44 @@ module Aws::CloudTrail
171
359
 
172
360
  ConflictException.struct_class = Types::ConflictException
173
361
 
362
+ CreateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, required: true, location_name: "Name"))
363
+ CreateChannelRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "Source"))
364
+ CreateChannelRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, required: true, location_name: "Destinations"))
365
+ CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsList, location_name: "Tags"))
366
+ CreateChannelRequest.struct_class = Types::CreateChannelRequest
367
+
368
+ CreateChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "ChannelArn"))
369
+ CreateChannelResponse.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "Name"))
370
+ CreateChannelResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "Source"))
371
+ CreateChannelResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, location_name: "Destinations"))
372
+ CreateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsList, location_name: "Tags"))
373
+ CreateChannelResponse.struct_class = Types::CreateChannelResponse
374
+
375
+ CreateEventDataStoreRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, required: true, location_name: "Name"))
376
+ CreateEventDataStoreRequest.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
377
+ CreateEventDataStoreRequest.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
378
+ CreateEventDataStoreRequest.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
379
+ CreateEventDataStoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
380
+ CreateEventDataStoreRequest.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
381
+ CreateEventDataStoreRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
382
+ CreateEventDataStoreRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
383
+ CreateEventDataStoreRequest.add_member(:start_ingestion, Shapes::ShapeRef.new(shape: Boolean, location_name: "StartIngestion"))
384
+ CreateEventDataStoreRequest.struct_class = Types::CreateEventDataStoreRequest
385
+
386
+ CreateEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
387
+ CreateEventDataStoreResponse.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
388
+ CreateEventDataStoreResponse.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, location_name: "Status"))
389
+ CreateEventDataStoreResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
390
+ CreateEventDataStoreResponse.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
391
+ CreateEventDataStoreResponse.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
392
+ CreateEventDataStoreResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
393
+ CreateEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
394
+ CreateEventDataStoreResponse.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
395
+ CreateEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
396
+ CreateEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
397
+ CreateEventDataStoreResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
398
+ CreateEventDataStoreResponse.struct_class = Types::CreateEventDataStoreResponse
399
+
174
400
  CreateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
175
401
  CreateTrailRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketName"))
176
402
  CreateTrailRequest.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
@@ -208,11 +434,47 @@ module Aws::CloudTrail
208
434
 
209
435
  DataResources.member = Shapes::ShapeRef.new(shape: DataResource)
210
436
 
437
+ DelegatedAdminAccountLimitExceededException.struct_class = Types::DelegatedAdminAccountLimitExceededException
438
+
439
+ DeleteChannelRequest.add_member(:channel, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "Channel"))
440
+ DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
441
+
442
+ DeleteChannelResponse.struct_class = Types::DeleteChannelResponse
443
+
444
+ DeleteEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
445
+ DeleteEventDataStoreRequest.struct_class = Types::DeleteEventDataStoreRequest
446
+
447
+ DeleteEventDataStoreResponse.struct_class = Types::DeleteEventDataStoreResponse
448
+
449
+ DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
450
+ DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
451
+
452
+ DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
453
+
211
454
  DeleteTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
212
455
  DeleteTrailRequest.struct_class = Types::DeleteTrailRequest
213
456
 
214
457
  DeleteTrailResponse.struct_class = Types::DeleteTrailResponse
215
458
 
459
+ DeregisterOrganizationDelegatedAdminRequest.add_member(:delegated_admin_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "DelegatedAdminAccountId"))
460
+ DeregisterOrganizationDelegatedAdminRequest.struct_class = Types::DeregisterOrganizationDelegatedAdminRequest
461
+
462
+ DeregisterOrganizationDelegatedAdminResponse.struct_class = Types::DeregisterOrganizationDelegatedAdminResponse
463
+
464
+ 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"}))
465
+ DescribeQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
466
+ DescribeQueryRequest.add_member(:query_alias, Shapes::ShapeRef.new(shape: QueryAlias, location_name: "QueryAlias"))
467
+ DescribeQueryRequest.struct_class = Types::DescribeQueryRequest
468
+
469
+ DescribeQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
470
+ DescribeQueryResponse.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryStatement, location_name: "QueryString"))
471
+ DescribeQueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
472
+ DescribeQueryResponse.add_member(:query_statistics, Shapes::ShapeRef.new(shape: QueryStatisticsForDescribeQuery, location_name: "QueryStatistics"))
473
+ DescribeQueryResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
474
+ DescribeQueryResponse.add_member(:delivery_s3_uri, Shapes::ShapeRef.new(shape: DeliveryS3Uri, location_name: "DeliveryS3Uri"))
475
+ DescribeQueryResponse.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus"))
476
+ DescribeQueryResponse.struct_class = Types::DescribeQueryResponse
477
+
216
478
  DescribeTrailsRequest.add_member(:trail_name_list, Shapes::ShapeRef.new(shape: TrailNameList, location_name: "trailNameList"))
217
479
  DescribeTrailsRequest.add_member(:include_shadow_trails, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeShadowTrails"))
218
480
  DescribeTrailsRequest.struct_class = Types::DescribeTrailsRequest
@@ -220,6 +482,12 @@ module Aws::CloudTrail
220
482
  DescribeTrailsResponse.add_member(:trail_list, Shapes::ShapeRef.new(shape: TrailList, location_name: "trailList"))
221
483
  DescribeTrailsResponse.struct_class = Types::DescribeTrailsResponse
222
484
 
485
+ Destination.add_member(:type, Shapes::ShapeRef.new(shape: DestinationType, required: true, location_name: "Type"))
486
+ Destination.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "Location"))
487
+ Destination.struct_class = Types::Destination
488
+
489
+ Destinations.member = Shapes::ShapeRef.new(shape: Destination)
490
+
223
491
  Event.add_member(:event_id, Shapes::ShapeRef.new(shape: String, location_name: "EventId"))
224
492
  Event.add_member(:event_name, Shapes::ShapeRef.new(shape: String, location_name: "EventName"))
225
493
  Event.add_member(:read_only, Shapes::ShapeRef.new(shape: String, location_name: "ReadOnly"))
@@ -231,6 +499,32 @@ module Aws::CloudTrail
231
499
  Event.add_member(:cloud_trail_event, Shapes::ShapeRef.new(shape: String, location_name: "CloudTrailEvent"))
232
500
  Event.struct_class = Types::Event
233
501
 
502
+ EventDataStore.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
503
+ EventDataStore.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
504
+ EventDataStore.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, deprecated: true, location_name: "TerminationProtectionEnabled", metadata: {"deprecatedMessage"=>"TerminationProtectionEnabled is no longer returned by ListEventDataStores"}))
505
+ EventDataStore.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, deprecated: true, location_name: "Status", metadata: {"deprecatedMessage"=>"Status is no longer returned by ListEventDataStores"}))
506
+ EventDataStore.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, deprecated: true, location_name: "AdvancedEventSelectors", metadata: {"deprecatedMessage"=>"AdvancedEventSelectors is no longer returned by ListEventDataStores"}))
507
+ EventDataStore.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "MultiRegionEnabled", metadata: {"deprecatedMessage"=>"MultiRegionEnabled is no longer returned by ListEventDataStores"}))
508
+ EventDataStore.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "OrganizationEnabled", metadata: {"deprecatedMessage"=>"OrganizationEnabled is no longer returned by ListEventDataStores"}))
509
+ EventDataStore.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, deprecated: true, location_name: "RetentionPeriod", metadata: {"deprecatedMessage"=>"RetentionPeriod is no longer returned by ListEventDataStores"}))
510
+ EventDataStore.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, deprecated: true, location_name: "CreatedTimestamp", metadata: {"deprecatedMessage"=>"CreatedTimestamp is no longer returned by ListEventDataStores"}))
511
+ EventDataStore.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, deprecated: true, location_name: "UpdatedTimestamp", metadata: {"deprecatedMessage"=>"UpdatedTimestamp is no longer returned by ListEventDataStores"}))
512
+ EventDataStore.struct_class = Types::EventDataStore
513
+
514
+ EventDataStoreARNInvalidException.struct_class = Types::EventDataStoreARNInvalidException
515
+
516
+ EventDataStoreAlreadyExistsException.struct_class = Types::EventDataStoreAlreadyExistsException
517
+
518
+ EventDataStoreHasOngoingImportException.struct_class = Types::EventDataStoreHasOngoingImportException
519
+
520
+ EventDataStoreMaxLimitExceededException.struct_class = Types::EventDataStoreMaxLimitExceededException
521
+
522
+ EventDataStoreNotFoundException.struct_class = Types::EventDataStoreNotFoundException
523
+
524
+ EventDataStoreTerminationProtectedException.struct_class = Types::EventDataStoreTerminationProtectedException
525
+
526
+ EventDataStores.member = Shapes::ShapeRef.new(shape: EventDataStore)
527
+
234
528
  EventSelector.add_member(:read_write_type, Shapes::ShapeRef.new(shape: ReadWriteType, location_name: "ReadWriteType"))
235
529
  EventSelector.add_member(:include_management_events, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeManagementEvents"))
236
530
  EventSelector.add_member(:data_resources, Shapes::ShapeRef.new(shape: DataResources, location_name: "DataResources"))
@@ -243,6 +537,33 @@ module Aws::CloudTrail
243
537
 
244
538
  ExcludeManagementEventSources.member = Shapes::ShapeRef.new(shape: String)
245
539
 
540
+ GetChannelRequest.add_member(:channel, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "Channel"))
541
+ GetChannelRequest.struct_class = Types::GetChannelRequest
542
+
543
+ GetChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "ChannelArn"))
544
+ GetChannelResponse.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "Name"))
545
+ GetChannelResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "Source"))
546
+ GetChannelResponse.add_member(:source_config, Shapes::ShapeRef.new(shape: SourceConfig, location_name: "SourceConfig"))
547
+ GetChannelResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, location_name: "Destinations"))
548
+ GetChannelResponse.add_member(:ingestion_status, Shapes::ShapeRef.new(shape: IngestionStatus, location_name: "IngestionStatus"))
549
+ GetChannelResponse.struct_class = Types::GetChannelResponse
550
+
551
+ GetEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
552
+ GetEventDataStoreRequest.struct_class = Types::GetEventDataStoreRequest
553
+
554
+ GetEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
555
+ GetEventDataStoreResponse.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
556
+ GetEventDataStoreResponse.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, location_name: "Status"))
557
+ GetEventDataStoreResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
558
+ GetEventDataStoreResponse.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
559
+ GetEventDataStoreResponse.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
560
+ GetEventDataStoreResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
561
+ GetEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
562
+ GetEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
563
+ GetEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
564
+ GetEventDataStoreResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
565
+ GetEventDataStoreResponse.struct_class = Types::GetEventDataStoreResponse
566
+
246
567
  GetEventSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
247
568
  GetEventSelectorsRequest.struct_class = Types::GetEventSelectorsRequest
248
569
 
@@ -251,6 +572,20 @@ module Aws::CloudTrail
251
572
  GetEventSelectorsResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
252
573
  GetEventSelectorsResponse.struct_class = Types::GetEventSelectorsResponse
253
574
 
575
+ GetImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "ImportId"))
576
+ GetImportRequest.struct_class = Types::GetImportRequest
577
+
578
+ GetImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
579
+ GetImportResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
580
+ GetImportResponse.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
581
+ GetImportResponse.add_member(:start_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartEventTime"))
582
+ GetImportResponse.add_member(:end_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndEventTime"))
583
+ GetImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
584
+ GetImportResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
585
+ GetImportResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
586
+ GetImportResponse.add_member(:import_statistics, Shapes::ShapeRef.new(shape: ImportStatistics, location_name: "ImportStatistics"))
587
+ GetImportResponse.struct_class = Types::GetImportResponse
588
+
254
589
  GetInsightSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
255
590
  GetInsightSelectorsRequest.struct_class = Types::GetInsightSelectorsRequest
256
591
 
@@ -258,6 +593,26 @@ module Aws::CloudTrail
258
593
  GetInsightSelectorsResponse.add_member(:insight_selectors, Shapes::ShapeRef.new(shape: InsightSelectors, location_name: "InsightSelectors"))
259
594
  GetInsightSelectorsResponse.struct_class = Types::GetInsightSelectorsResponse
260
595
 
596
+ 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"}))
597
+ GetQueryResultsRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
598
+ GetQueryResultsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
599
+ GetQueryResultsRequest.add_member(:max_query_results, Shapes::ShapeRef.new(shape: MaxQueryResults, location_name: "MaxQueryResults"))
600
+ GetQueryResultsRequest.struct_class = Types::GetQueryResultsRequest
601
+
602
+ GetQueryResultsResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
603
+ GetQueryResultsResponse.add_member(:query_statistics, Shapes::ShapeRef.new(shape: QueryStatistics, location_name: "QueryStatistics"))
604
+ GetQueryResultsResponse.add_member(:query_result_rows, Shapes::ShapeRef.new(shape: QueryResultRows, location_name: "QueryResultRows"))
605
+ GetQueryResultsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
606
+ GetQueryResultsResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
607
+ GetQueryResultsResponse.struct_class = Types::GetQueryResultsResponse
608
+
609
+ GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
610
+ GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
611
+
612
+ GetResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
613
+ GetResourcePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
614
+ GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
615
+
261
616
  GetTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
262
617
  GetTrailRequest.struct_class = Types::GetTrailRequest
263
618
 
@@ -286,6 +641,49 @@ module Aws::CloudTrail
286
641
  GetTrailStatusResponse.add_member(:time_logging_stopped, Shapes::ShapeRef.new(shape: String, location_name: "TimeLoggingStopped"))
287
642
  GetTrailStatusResponse.struct_class = Types::GetTrailStatusResponse
288
643
 
644
+ ImportDestinations.member = Shapes::ShapeRef.new(shape: EventDataStoreArn)
645
+
646
+ ImportFailureList.member = Shapes::ShapeRef.new(shape: ImportFailureListItem)
647
+
648
+ ImportFailureListItem.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
649
+ ImportFailureListItem.add_member(:status, Shapes::ShapeRef.new(shape: ImportFailureStatus, location_name: "Status"))
650
+ ImportFailureListItem.add_member(:error_type, Shapes::ShapeRef.new(shape: String, location_name: "ErrorType"))
651
+ ImportFailureListItem.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
652
+ ImportFailureListItem.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastUpdatedTime"))
653
+ ImportFailureListItem.struct_class = Types::ImportFailureListItem
654
+
655
+ ImportNotFoundException.struct_class = Types::ImportNotFoundException
656
+
657
+ ImportSource.add_member(:s3, Shapes::ShapeRef.new(shape: S3ImportSource, required: true, location_name: "S3"))
658
+ ImportSource.struct_class = Types::ImportSource
659
+
660
+ ImportStatistics.add_member(:prefixes_found, Shapes::ShapeRef.new(shape: Long, location_name: "PrefixesFound"))
661
+ ImportStatistics.add_member(:prefixes_completed, Shapes::ShapeRef.new(shape: Long, location_name: "PrefixesCompleted"))
662
+ ImportStatistics.add_member(:files_completed, Shapes::ShapeRef.new(shape: Long, location_name: "FilesCompleted"))
663
+ ImportStatistics.add_member(:events_completed, Shapes::ShapeRef.new(shape: Long, location_name: "EventsCompleted"))
664
+ ImportStatistics.add_member(:failed_entries, Shapes::ShapeRef.new(shape: Long, location_name: "FailedEntries"))
665
+ ImportStatistics.struct_class = Types::ImportStatistics
666
+
667
+ ImportsList.member = Shapes::ShapeRef.new(shape: ImportsListItem)
668
+
669
+ ImportsListItem.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
670
+ ImportsListItem.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
671
+ ImportsListItem.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
672
+ ImportsListItem.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
673
+ ImportsListItem.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
674
+ ImportsListItem.struct_class = Types::ImportsListItem
675
+
676
+ InactiveEventDataStoreException.struct_class = Types::InactiveEventDataStoreException
677
+
678
+ InactiveQueryException.struct_class = Types::InactiveQueryException
679
+
680
+ IngestionStatus.add_member(:latest_ingestion_success_time, Shapes::ShapeRef.new(shape: Date, location_name: "LatestIngestionSuccessTime"))
681
+ IngestionStatus.add_member(:latest_ingestion_success_event_id, Shapes::ShapeRef.new(shape: UUID, location_name: "LatestIngestionSuccessEventID"))
682
+ IngestionStatus.add_member(:latest_ingestion_error_code, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "LatestIngestionErrorCode"))
683
+ IngestionStatus.add_member(:latest_ingestion_attempt_time, Shapes::ShapeRef.new(shape: Date, location_name: "LatestIngestionAttemptTime"))
684
+ IngestionStatus.add_member(:latest_ingestion_attempt_event_id, Shapes::ShapeRef.new(shape: UUID, location_name: "LatestIngestionAttemptEventID"))
685
+ IngestionStatus.struct_class = Types::IngestionStatus
686
+
289
687
  InsightNotEnabledException.struct_class = Types::InsightNotEnabledException
290
688
 
291
689
  InsightSelector.add_member(:insight_type, Shapes::ShapeRef.new(shape: InsightType, location_name: "InsightType"))
@@ -305,12 +703,20 @@ module Aws::CloudTrail
305
703
 
306
704
  InvalidCloudWatchLogsRoleArnException.struct_class = Types::InvalidCloudWatchLogsRoleArnException
307
705
 
706
+ InvalidDateRangeException.struct_class = Types::InvalidDateRangeException
707
+
308
708
  InvalidEventCategoryException.struct_class = Types::InvalidEventCategoryException
309
709
 
710
+ InvalidEventDataStoreCategoryException.struct_class = Types::InvalidEventDataStoreCategoryException
711
+
712
+ InvalidEventDataStoreStatusException.struct_class = Types::InvalidEventDataStoreStatusException
713
+
310
714
  InvalidEventSelectorsException.struct_class = Types::InvalidEventSelectorsException
311
715
 
312
716
  InvalidHomeRegionException.struct_class = Types::InvalidHomeRegionException
313
717
 
718
+ InvalidImportSourceException.struct_class = Types::InvalidImportSourceException
719
+
314
720
  InvalidInsightSelectorsException.struct_class = Types::InvalidInsightSelectorsException
315
721
 
316
722
  InvalidKmsKeyIdException.struct_class = Types::InvalidKmsKeyIdException
@@ -323,12 +729,20 @@ module Aws::CloudTrail
323
729
 
324
730
  InvalidParameterCombinationException.struct_class = Types::InvalidParameterCombinationException
325
731
 
732
+ InvalidParameterException.struct_class = Types::InvalidParameterException
733
+
734
+ InvalidQueryStatementException.struct_class = Types::InvalidQueryStatementException
735
+
736
+ InvalidQueryStatusException.struct_class = Types::InvalidQueryStatusException
737
+
326
738
  InvalidS3BucketNameException.struct_class = Types::InvalidS3BucketNameException
327
739
 
328
740
  InvalidS3PrefixException.struct_class = Types::InvalidS3PrefixException
329
741
 
330
742
  InvalidSnsTopicNameException.struct_class = Types::InvalidSnsTopicNameException
331
743
 
744
+ InvalidSourceException.struct_class = Types::InvalidSourceException
745
+
332
746
  InvalidTagParameterException.struct_class = Types::InvalidTagParameterException
333
747
 
334
748
  InvalidTimeRangeException.struct_class = Types::InvalidTimeRangeException
@@ -343,6 +757,41 @@ module Aws::CloudTrail
343
757
 
344
758
  KmsKeyNotFoundException.struct_class = Types::KmsKeyNotFoundException
345
759
 
760
+ ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListChannelsMaxResultsCount, location_name: "MaxResults"))
761
+ ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
762
+ ListChannelsRequest.struct_class = Types::ListChannelsRequest
763
+
764
+ ListChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "Channels"))
765
+ ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
766
+ ListChannelsResponse.struct_class = Types::ListChannelsResponse
767
+
768
+ ListEventDataStoresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
769
+ ListEventDataStoresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEventDataStoresMaxResultsCount, location_name: "MaxResults"))
770
+ ListEventDataStoresRequest.struct_class = Types::ListEventDataStoresRequest
771
+
772
+ ListEventDataStoresResponse.add_member(:event_data_stores, Shapes::ShapeRef.new(shape: EventDataStores, location_name: "EventDataStores"))
773
+ ListEventDataStoresResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
774
+ ListEventDataStoresResponse.struct_class = Types::ListEventDataStoresResponse
775
+
776
+ ListImportFailuresRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "ImportId"))
777
+ ListImportFailuresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListImportFailuresMaxResultsCount, location_name: "MaxResults"))
778
+ ListImportFailuresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
779
+ ListImportFailuresRequest.struct_class = Types::ListImportFailuresRequest
780
+
781
+ ListImportFailuresResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ImportFailureList, location_name: "Failures"))
782
+ ListImportFailuresResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
783
+ ListImportFailuresResponse.struct_class = Types::ListImportFailuresResponse
784
+
785
+ ListImportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListImportsMaxResultsCount, location_name: "MaxResults"))
786
+ ListImportsRequest.add_member(:destination, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "Destination"))
787
+ ListImportsRequest.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
788
+ ListImportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
789
+ ListImportsRequest.struct_class = Types::ListImportsRequest
790
+
791
+ ListImportsResponse.add_member(:imports, Shapes::ShapeRef.new(shape: ImportsList, location_name: "Imports"))
792
+ ListImportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
793
+ ListImportsResponse.struct_class = Types::ListImportsResponse
794
+
346
795
  ListPublicKeysRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
347
796
  ListPublicKeysRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
348
797
  ListPublicKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
@@ -352,6 +801,18 @@ module Aws::CloudTrail
352
801
  ListPublicKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
353
802
  ListPublicKeysResponse.struct_class = Types::ListPublicKeysResponse
354
803
 
804
+ ListQueriesRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
805
+ ListQueriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
806
+ ListQueriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListQueriesMaxResultsCount, location_name: "MaxResults"))
807
+ ListQueriesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
808
+ ListQueriesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
809
+ ListQueriesRequest.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
810
+ ListQueriesRequest.struct_class = Types::ListQueriesRequest
811
+
812
+ ListQueriesResponse.add_member(:queries, Shapes::ShapeRef.new(shape: Queries, location_name: "Queries"))
813
+ ListQueriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
814
+ ListQueriesResponse.struct_class = Types::ListQueriesResponse
815
+
355
816
  ListTagsRequest.add_member(:resource_id_list, Shapes::ShapeRef.new(shape: ResourceIdList, required: true, location_name: "ResourceIdList"))
356
817
  ListTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
357
818
  ListTagsRequest.struct_class = Types::ListTagsRequest
@@ -368,7 +829,7 @@ module Aws::CloudTrail
368
829
  ListTrailsResponse.struct_class = Types::ListTrailsResponse
369
830
 
370
831
  LookupAttribute.add_member(:attribute_key, Shapes::ShapeRef.new(shape: LookupAttributeKey, required: true, location_name: "AttributeKey"))
371
- LookupAttribute.add_member(:attribute_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AttributeValue"))
832
+ LookupAttribute.add_member(:attribute_value, Shapes::ShapeRef.new(shape: LookupAttributeValue, required: true, location_name: "AttributeValue"))
372
833
  LookupAttribute.struct_class = Types::LookupAttribute
373
834
 
374
835
  LookupAttributesList.member = Shapes::ShapeRef.new(shape: LookupAttribute)
@@ -385,8 +846,14 @@ module Aws::CloudTrail
385
846
  LookupEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
386
847
  LookupEventsResponse.struct_class = Types::LookupEventsResponse
387
848
 
849
+ MaxConcurrentQueriesException.struct_class = Types::MaxConcurrentQueriesException
850
+
388
851
  MaximumNumberOfTrailsExceededException.struct_class = Types::MaximumNumberOfTrailsExceededException
389
852
 
853
+ NoManagementAccountSLRExistsException.struct_class = Types::NoManagementAccountSLRExistsException
854
+
855
+ NotOrganizationManagementAccountException.struct_class = Types::NotOrganizationManagementAccountException
856
+
390
857
  NotOrganizationMasterAccountException.struct_class = Types::NotOrganizationMasterAccountException
391
858
 
392
859
  OperationNotPermittedException.struct_class = Types::OperationNotPermittedException
@@ -423,8 +890,51 @@ module Aws::CloudTrail
423
890
  PutInsightSelectorsResponse.add_member(:insight_selectors, Shapes::ShapeRef.new(shape: InsightSelectors, location_name: "InsightSelectors"))
424
891
  PutInsightSelectorsResponse.struct_class = Types::PutInsightSelectorsResponse
425
892
 
893
+ PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
894
+ PutResourcePolicyRequest.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "ResourcePolicy"))
895
+ PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
896
+
897
+ PutResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
898
+ PutResourcePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
899
+ PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
900
+
901
+ Queries.member = Shapes::ShapeRef.new(shape: Query)
902
+
903
+ Query.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
904
+ Query.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
905
+ Query.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
906
+ Query.struct_class = Types::Query
907
+
908
+ QueryIdNotFoundException.struct_class = Types::QueryIdNotFoundException
909
+
910
+ QueryParameters.member = Shapes::ShapeRef.new(shape: QueryParameter)
911
+
912
+ QueryResultColumn.key = Shapes::ShapeRef.new(shape: QueryResultKey)
913
+ QueryResultColumn.value = Shapes::ShapeRef.new(shape: QueryResultValue)
914
+
915
+ QueryResultRow.member = Shapes::ShapeRef.new(shape: QueryResultColumn)
916
+
917
+ QueryResultRows.member = Shapes::ShapeRef.new(shape: QueryResultRow)
918
+
919
+ QueryStatistics.add_member(:results_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ResultsCount"))
920
+ QueryStatistics.add_member(:total_results_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalResultsCount"))
921
+ QueryStatistics.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "BytesScanned"))
922
+ QueryStatistics.struct_class = Types::QueryStatistics
923
+
924
+ QueryStatisticsForDescribeQuery.add_member(:events_matched, Shapes::ShapeRef.new(shape: Long, location_name: "EventsMatched"))
925
+ QueryStatisticsForDescribeQuery.add_member(:events_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "EventsScanned"))
926
+ QueryStatisticsForDescribeQuery.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "BytesScanned"))
927
+ QueryStatisticsForDescribeQuery.add_member(:execution_time_in_millis, Shapes::ShapeRef.new(shape: Integer, location_name: "ExecutionTimeInMillis"))
928
+ QueryStatisticsForDescribeQuery.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
929
+ QueryStatisticsForDescribeQuery.struct_class = Types::QueryStatisticsForDescribeQuery
930
+
931
+ RegisterOrganizationDelegatedAdminRequest.add_member(:member_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "MemberAccountId"))
932
+ RegisterOrganizationDelegatedAdminRequest.struct_class = Types::RegisterOrganizationDelegatedAdminRequest
933
+
934
+ RegisterOrganizationDelegatedAdminResponse.struct_class = Types::RegisterOrganizationDelegatedAdminResponse
935
+
426
936
  RemoveTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
427
- RemoveTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
937
+ RemoveTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, required: true, location_name: "TagsList"))
428
938
  RemoveTagsRequest.struct_class = Types::RemoveTagsRequest
429
939
 
430
940
  RemoveTagsResponse.struct_class = Types::RemoveTagsResponse
@@ -433,12 +943,18 @@ module Aws::CloudTrail
433
943
  Resource.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "ResourceName"))
434
944
  Resource.struct_class = Types::Resource
435
945
 
946
+ ResourceARNNotValidException.struct_class = Types::ResourceARNNotValidException
947
+
436
948
  ResourceIdList.member = Shapes::ShapeRef.new(shape: String)
437
949
 
438
950
  ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
439
951
 
440
952
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
441
953
 
954
+ ResourcePolicyNotFoundException.struct_class = Types::ResourcePolicyNotFoundException
955
+
956
+ ResourcePolicyNotValidException.struct_class = Types::ResourcePolicyNotValidException
957
+
442
958
  ResourceTag.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
443
959
  ResourceTag.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
444
960
  ResourceTag.struct_class = Types::ResourceTag
@@ -447,26 +963,103 @@ module Aws::CloudTrail
447
963
 
448
964
  ResourceTypeNotSupportedException.struct_class = Types::ResourceTypeNotSupportedException
449
965
 
966
+ RestoreEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
967
+ RestoreEventDataStoreRequest.struct_class = Types::RestoreEventDataStoreRequest
968
+
969
+ RestoreEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
970
+ RestoreEventDataStoreResponse.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
971
+ RestoreEventDataStoreResponse.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, location_name: "Status"))
972
+ RestoreEventDataStoreResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
973
+ RestoreEventDataStoreResponse.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
974
+ RestoreEventDataStoreResponse.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
975
+ RestoreEventDataStoreResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
976
+ RestoreEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
977
+ RestoreEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
978
+ RestoreEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
979
+ RestoreEventDataStoreResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
980
+ RestoreEventDataStoreResponse.struct_class = Types::RestoreEventDataStoreResponse
981
+
450
982
  S3BucketDoesNotExistException.struct_class = Types::S3BucketDoesNotExistException
451
983
 
984
+ S3ImportSource.add_member(:s3_location_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3LocationUri"))
985
+ S3ImportSource.add_member(:s3_bucket_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketRegion"))
986
+ S3ImportSource.add_member(:s3_bucket_access_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketAccessRoleArn"))
987
+ S3ImportSource.struct_class = Types::S3ImportSource
988
+
989
+ SourceConfig.add_member(:apply_to_all_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyToAllRegions"))
990
+ SourceConfig.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
991
+ SourceConfig.struct_class = Types::SourceConfig
992
+
993
+ StartEventDataStoreIngestionRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
994
+ StartEventDataStoreIngestionRequest.struct_class = Types::StartEventDataStoreIngestionRequest
995
+
996
+ StartEventDataStoreIngestionResponse.struct_class = Types::StartEventDataStoreIngestionResponse
997
+
998
+ StartImportRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
999
+ StartImportRequest.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
1000
+ StartImportRequest.add_member(:start_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartEventTime"))
1001
+ StartImportRequest.add_member(:end_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndEventTime"))
1002
+ StartImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
1003
+ StartImportRequest.struct_class = Types::StartImportRequest
1004
+
1005
+ StartImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
1006
+ StartImportResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
1007
+ StartImportResponse.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
1008
+ StartImportResponse.add_member(:start_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartEventTime"))
1009
+ StartImportResponse.add_member(:end_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndEventTime"))
1010
+ StartImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
1011
+ StartImportResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
1012
+ StartImportResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
1013
+ StartImportResponse.struct_class = Types::StartImportResponse
1014
+
452
1015
  StartLoggingRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
453
1016
  StartLoggingRequest.struct_class = Types::StartLoggingRequest
454
1017
 
455
1018
  StartLoggingResponse.struct_class = Types::StartLoggingResponse
456
1019
 
1020
+ StartQueryRequest.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, location_name: "QueryStatement"))
1021
+ StartQueryRequest.add_member(:delivery_s3_uri, Shapes::ShapeRef.new(shape: DeliveryS3Uri, location_name: "DeliveryS3Uri"))
1022
+ StartQueryRequest.add_member(:query_alias, Shapes::ShapeRef.new(shape: QueryAlias, location_name: "QueryAlias"))
1023
+ StartQueryRequest.add_member(:query_parameters, Shapes::ShapeRef.new(shape: QueryParameters, location_name: "QueryParameters"))
1024
+ StartQueryRequest.struct_class = Types::StartQueryRequest
1025
+
1026
+ StartQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
1027
+ StartQueryResponse.struct_class = Types::StartQueryResponse
1028
+
1029
+ StopEventDataStoreIngestionRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
1030
+ StopEventDataStoreIngestionRequest.struct_class = Types::StopEventDataStoreIngestionRequest
1031
+
1032
+ StopEventDataStoreIngestionResponse.struct_class = Types::StopEventDataStoreIngestionResponse
1033
+
1034
+ StopImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "ImportId"))
1035
+ StopImportRequest.struct_class = Types::StopImportRequest
1036
+
1037
+ StopImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ImportId"))
1038
+ StopImportResponse.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
1039
+ StopImportResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
1040
+ StopImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
1041
+ StopImportResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
1042
+ StopImportResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
1043
+ StopImportResponse.add_member(:start_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartEventTime"))
1044
+ StopImportResponse.add_member(:end_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndEventTime"))
1045
+ StopImportResponse.add_member(:import_statistics, Shapes::ShapeRef.new(shape: ImportStatistics, location_name: "ImportStatistics"))
1046
+ StopImportResponse.struct_class = Types::StopImportResponse
1047
+
457
1048
  StopLoggingRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
458
1049
  StopLoggingRequest.struct_class = Types::StopLoggingRequest
459
1050
 
460
1051
  StopLoggingResponse.struct_class = Types::StopLoggingResponse
461
1052
 
462
- Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Key"))
463
- Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
1053
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
1054
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
464
1055
  Tag.struct_class = Types::Tag
465
1056
 
466
1057
  TagsLimitExceededException.struct_class = Types::TagsLimitExceededException
467
1058
 
468
1059
  TagsList.member = Shapes::ShapeRef.new(shape: Tag)
469
1060
 
1061
+ ThrottlingException.struct_class = Types::ThrottlingException
1062
+
470
1063
  Trail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
471
1064
  Trail.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
472
1065
  Trail.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
@@ -504,6 +1097,40 @@ module Aws::CloudTrail
504
1097
 
505
1098
  UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
506
1099
 
1100
+ UpdateChannelRequest.add_member(:channel, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "Channel"))
1101
+ UpdateChannelRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, location_name: "Destinations"))
1102
+ UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "Name"))
1103
+ UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
1104
+
1105
+ UpdateChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "ChannelArn"))
1106
+ UpdateChannelResponse.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "Name"))
1107
+ UpdateChannelResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "Source"))
1108
+ UpdateChannelResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, location_name: "Destinations"))
1109
+ UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
1110
+
1111
+ UpdateEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
1112
+ UpdateEventDataStoreRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
1113
+ UpdateEventDataStoreRequest.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
1114
+ UpdateEventDataStoreRequest.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
1115
+ UpdateEventDataStoreRequest.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
1116
+ UpdateEventDataStoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
1117
+ UpdateEventDataStoreRequest.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
1118
+ UpdateEventDataStoreRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
1119
+ UpdateEventDataStoreRequest.struct_class = Types::UpdateEventDataStoreRequest
1120
+
1121
+ UpdateEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
1122
+ UpdateEventDataStoreResponse.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
1123
+ UpdateEventDataStoreResponse.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, location_name: "Status"))
1124
+ UpdateEventDataStoreResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
1125
+ UpdateEventDataStoreResponse.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
1126
+ UpdateEventDataStoreResponse.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
1127
+ UpdateEventDataStoreResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
1128
+ UpdateEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
1129
+ UpdateEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
1130
+ UpdateEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
1131
+ UpdateEventDataStoreResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
1132
+ UpdateEventDataStoreResponse.struct_class = Types::UpdateEventDataStoreResponse
1133
+
507
1134
  UpdateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
508
1135
  UpdateTrailRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
509
1136
  UpdateTrailRequest.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
@@ -559,13 +1186,84 @@ module Aws::CloudTrail
559
1186
  o.output = Shapes::ShapeRef.new(shape: AddTagsResponse)
560
1187
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
561
1188
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1189
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1190
+ o.errors << Shapes::ShapeRef.new(shape: ChannelARNInvalidException)
562
1191
  o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
563
1192
  o.errors << Shapes::ShapeRef.new(shape: TagsLimitExceededException)
564
1193
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
565
1194
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
1195
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1196
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1197
+ o.errors << Shapes::ShapeRef.new(shape: ChannelNotFoundException)
566
1198
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
567
1199
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
568
1200
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1201
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1203
+ end)
1204
+
1205
+ api.add_operation(:cancel_query, Seahorse::Model::Operation.new.tap do |o|
1206
+ o.name = "CancelQuery"
1207
+ o.http_method = "POST"
1208
+ o.http_request_uri = "/"
1209
+ o.input = Shapes::ShapeRef.new(shape: CancelQueryRequest)
1210
+ o.output = Shapes::ShapeRef.new(shape: CancelQueryResponse)
1211
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1212
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1213
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1214
+ o.errors << Shapes::ShapeRef.new(shape: InactiveQueryException)
1215
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1216
+ o.errors << Shapes::ShapeRef.new(shape: QueryIdNotFoundException)
1217
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1218
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1219
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1220
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1221
+ end)
1222
+
1223
+ api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
1224
+ o.name = "CreateChannel"
1225
+ o.http_method = "POST"
1226
+ o.http_request_uri = "/"
1227
+ o.input = Shapes::ShapeRef.new(shape: CreateChannelRequest)
1228
+ o.output = Shapes::ShapeRef.new(shape: CreateChannelResponse)
1229
+ o.errors << Shapes::ShapeRef.new(shape: ChannelMaxLimitExceededException)
1230
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSourceException)
1231
+ o.errors << Shapes::ShapeRef.new(shape: ChannelAlreadyExistsException)
1232
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1233
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1234
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreCategoryException)
1235
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1236
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1237
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
1238
+ o.errors << Shapes::ShapeRef.new(shape: TagsLimitExceededException)
1239
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1240
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1241
+ end)
1242
+
1243
+ api.add_operation(:create_event_data_store, Seahorse::Model::Operation.new.tap do |o|
1244
+ o.name = "CreateEventDataStore"
1245
+ o.http_method = "POST"
1246
+ o.http_request_uri = "/"
1247
+ o.input = Shapes::ShapeRef.new(shape: CreateEventDataStoreRequest)
1248
+ o.output = Shapes::ShapeRef.new(shape: CreateEventDataStoreResponse)
1249
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreAlreadyExistsException)
1250
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreMaxLimitExceededException)
1251
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
1252
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1253
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
1254
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1255
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1256
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1257
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
1258
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKmsKeyIdException)
1259
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
1260
+ o.errors << Shapes::ShapeRef.new(shape: KmsException)
1261
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
1262
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1263
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1264
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
1265
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
1266
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
569
1267
  end)
570
1268
 
571
1269
  api.add_operation(:create_trail, Seahorse::Model::Operation.new.tap do |o|
@@ -586,6 +1284,7 @@ module Aws::CloudTrail
586
1284
  o.errors << Shapes::ShapeRef.new(shape: InvalidKmsKeyIdException)
587
1285
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
588
1286
  o.errors << Shapes::ShapeRef.new(shape: TrailNotProvidedException)
1287
+ o.errors << Shapes::ShapeRef.new(shape: TagsLimitExceededException)
589
1288
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
590
1289
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
591
1290
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyDisabledException)
@@ -601,7 +1300,56 @@ module Aws::CloudTrail
601
1300
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
602
1301
  o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
603
1302
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
1303
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
604
1304
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailInvalidClientTokenIdException)
1305
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1306
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1307
+ end)
1308
+
1309
+ api.add_operation(:delete_channel, Seahorse::Model::Operation.new.tap do |o|
1310
+ o.name = "DeleteChannel"
1311
+ o.http_method = "POST"
1312
+ o.http_request_uri = "/"
1313
+ o.input = Shapes::ShapeRef.new(shape: DeleteChannelRequest)
1314
+ o.output = Shapes::ShapeRef.new(shape: DeleteChannelResponse)
1315
+ o.errors << Shapes::ShapeRef.new(shape: ChannelARNInvalidException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: ChannelNotFoundException)
1317
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1319
+ end)
1320
+
1321
+ api.add_operation(:delete_event_data_store, Seahorse::Model::Operation.new.tap do |o|
1322
+ o.name = "DeleteEventDataStore"
1323
+ o.http_method = "POST"
1324
+ o.http_request_uri = "/"
1325
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventDataStoreRequest)
1326
+ o.output = Shapes::ShapeRef.new(shape: DeleteEventDataStoreResponse)
1327
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreTerminationProtectedException)
1330
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreHasOngoingImportException)
1331
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1332
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1333
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1334
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1335
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1336
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1337
+ o.errors << Shapes::ShapeRef.new(shape: ChannelExistsForEDSException)
1338
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1339
+ end)
1340
+
1341
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1342
+ o.name = "DeleteResourcePolicy"
1343
+ o.http_method = "POST"
1344
+ o.http_request_uri = "/"
1345
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
1346
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResponse)
1347
+ o.errors << Shapes::ShapeRef.new(shape: ResourceARNNotValidException)
1348
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotFoundException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1352
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
605
1353
  end)
606
1354
 
607
1355
  api.add_operation(:delete_trail, Seahorse::Model::Operation.new.tap do |o|
@@ -612,12 +1360,50 @@ module Aws::CloudTrail
612
1360
  o.output = Shapes::ShapeRef.new(shape: DeleteTrailResponse)
613
1361
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
614
1362
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1363
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1364
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1365
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
615
1366
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
616
1367
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
617
1368
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
618
1369
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1370
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
619
1371
  o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1372
+ end)
1373
+
1374
+ api.add_operation(:deregister_organization_delegated_admin, Seahorse::Model::Operation.new.tap do |o|
1375
+ o.name = "DeregisterOrganizationDelegatedAdmin"
1376
+ o.http_method = "POST"
1377
+ o.http_request_uri = "/"
1378
+ o.input = Shapes::ShapeRef.new(shape: DeregisterOrganizationDelegatedAdminRequest)
1379
+ o.output = Shapes::ShapeRef.new(shape: DeregisterOrganizationDelegatedAdminResponse)
1380
+ o.errors << Shapes::ShapeRef.new(shape: AccountNotFoundException)
1381
+ o.errors << Shapes::ShapeRef.new(shape: AccountNotRegisteredException)
1382
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
620
1383
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1384
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1385
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1386
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationManagementAccountException)
1387
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
1388
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
1389
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1390
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1391
+ end)
1392
+
1393
+ api.add_operation(:describe_query, Seahorse::Model::Operation.new.tap do |o|
1394
+ o.name = "DescribeQuery"
1395
+ o.http_method = "POST"
1396
+ o.http_request_uri = "/"
1397
+ o.input = Shapes::ShapeRef.new(shape: DescribeQueryRequest)
1398
+ o.output = Shapes::ShapeRef.new(shape: DescribeQueryResponse)
1399
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1401
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: QueryIdNotFoundException)
1404
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1405
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1406
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
621
1407
  end)
622
1408
 
623
1409
  api.add_operation(:describe_trails, Seahorse::Model::Operation.new.tap do |o|
@@ -629,6 +1415,33 @@ module Aws::CloudTrail
629
1415
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
630
1416
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
631
1417
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1418
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1419
+ end)
1420
+
1421
+ api.add_operation(:get_channel, Seahorse::Model::Operation.new.tap do |o|
1422
+ o.name = "GetChannel"
1423
+ o.http_method = "POST"
1424
+ o.http_request_uri = "/"
1425
+ o.input = Shapes::ShapeRef.new(shape: GetChannelRequest)
1426
+ o.output = Shapes::ShapeRef.new(shape: GetChannelResponse)
1427
+ o.errors << Shapes::ShapeRef.new(shape: ChannelARNInvalidException)
1428
+ o.errors << Shapes::ShapeRef.new(shape: ChannelNotFoundException)
1429
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1430
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1431
+ end)
1432
+
1433
+ api.add_operation(:get_event_data_store, Seahorse::Model::Operation.new.tap do |o|
1434
+ o.name = "GetEventDataStore"
1435
+ o.http_method = "POST"
1436
+ o.http_request_uri = "/"
1437
+ o.input = Shapes::ShapeRef.new(shape: GetEventDataStoreRequest)
1438
+ o.output = Shapes::ShapeRef.new(shape: GetEventDataStoreResponse)
1439
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1440
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1441
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1442
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1443
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1444
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
632
1445
  end)
633
1446
 
634
1447
  api.add_operation(:get_event_selectors, Seahorse::Model::Operation.new.tap do |o|
@@ -639,8 +1452,22 @@ module Aws::CloudTrail
639
1452
  o.output = Shapes::ShapeRef.new(shape: GetEventSelectorsResponse)
640
1453
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
641
1454
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1455
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
642
1456
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
643
1457
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1458
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1459
+ end)
1460
+
1461
+ api.add_operation(:get_import, Seahorse::Model::Operation.new.tap do |o|
1462
+ o.name = "GetImport"
1463
+ o.http_method = "POST"
1464
+ o.http_request_uri = "/"
1465
+ o.input = Shapes::ShapeRef.new(shape: GetImportRequest)
1466
+ o.output = Shapes::ShapeRef.new(shape: GetImportResponse)
1467
+ o.errors << Shapes::ShapeRef.new(shape: ImportNotFoundException)
1468
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1470
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
644
1471
  end)
645
1472
 
646
1473
  api.add_operation(:get_insight_selectors, Seahorse::Model::Operation.new.tap do |o|
@@ -651,9 +1478,50 @@ module Aws::CloudTrail
651
1478
  o.output = Shapes::ShapeRef.new(shape: GetInsightSelectorsResponse)
652
1479
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
653
1480
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1481
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
654
1482
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
655
1483
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
656
1484
  o.errors << Shapes::ShapeRef.new(shape: InsightNotEnabledException)
1485
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1486
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1487
+ end)
1488
+
1489
+ api.add_operation(:get_query_results, Seahorse::Model::Operation.new.tap do |o|
1490
+ o.name = "GetQueryResults"
1491
+ o.http_method = "POST"
1492
+ o.http_request_uri = "/"
1493
+ o.input = Shapes::ShapeRef.new(shape: GetQueryResultsRequest)
1494
+ o.output = Shapes::ShapeRef.new(shape: GetQueryResultsResponse)
1495
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1496
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1498
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
1499
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1500
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1501
+ o.errors << Shapes::ShapeRef.new(shape: QueryIdNotFoundException)
1502
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
1503
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1504
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1505
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1506
+ o[:pager] = Aws::Pager.new(
1507
+ tokens: {
1508
+ "next_token" => "next_token"
1509
+ }
1510
+ )
1511
+ end)
1512
+
1513
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1514
+ o.name = "GetResourcePolicy"
1515
+ o.http_method = "POST"
1516
+ o.http_request_uri = "/"
1517
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
1518
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
1519
+ o.errors << Shapes::ShapeRef.new(shape: ResourceARNNotValidException)
1520
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1521
+ o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotFoundException)
1522
+ o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
1523
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1524
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
657
1525
  end)
658
1526
 
659
1527
  api.add_operation(:get_trail, Seahorse::Model::Operation.new.tap do |o|
@@ -662,6 +1530,7 @@ module Aws::CloudTrail
662
1530
  o.http_request_uri = "/"
663
1531
  o.input = Shapes::ShapeRef.new(shape: GetTrailRequest)
664
1532
  o.output = Shapes::ShapeRef.new(shape: GetTrailResponse)
1533
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
665
1534
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
666
1535
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
667
1536
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
@@ -674,12 +1543,85 @@ module Aws::CloudTrail
674
1543
  o.http_request_uri = "/"
675
1544
  o.input = Shapes::ShapeRef.new(shape: GetTrailStatusRequest)
676
1545
  o.output = Shapes::ShapeRef.new(shape: GetTrailStatusResponse)
1546
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
677
1547
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
678
1548
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
679
1549
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
680
1550
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
681
1551
  end)
682
1552
 
1553
+ api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
1554
+ o.name = "ListChannels"
1555
+ o.http_method = "POST"
1556
+ o.http_request_uri = "/"
1557
+ o.input = Shapes::ShapeRef.new(shape: ListChannelsRequest)
1558
+ o.output = Shapes::ShapeRef.new(shape: ListChannelsResponse)
1559
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1560
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1561
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1562
+ o[:pager] = Aws::Pager.new(
1563
+ limit_key: "max_results",
1564
+ tokens: {
1565
+ "next_token" => "next_token"
1566
+ }
1567
+ )
1568
+ end)
1569
+
1570
+ api.add_operation(:list_event_data_stores, Seahorse::Model::Operation.new.tap do |o|
1571
+ o.name = "ListEventDataStores"
1572
+ o.http_method = "POST"
1573
+ o.http_request_uri = "/"
1574
+ o.input = Shapes::ShapeRef.new(shape: ListEventDataStoresRequest)
1575
+ o.output = Shapes::ShapeRef.new(shape: ListEventDataStoresResponse)
1576
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
1577
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1578
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1579
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1580
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1581
+ o[:pager] = Aws::Pager.new(
1582
+ limit_key: "max_results",
1583
+ tokens: {
1584
+ "next_token" => "next_token"
1585
+ }
1586
+ )
1587
+ end)
1588
+
1589
+ api.add_operation(:list_import_failures, Seahorse::Model::Operation.new.tap do |o|
1590
+ o.name = "ListImportFailures"
1591
+ o.http_method = "POST"
1592
+ o.http_request_uri = "/"
1593
+ o.input = Shapes::ShapeRef.new(shape: ListImportFailuresRequest)
1594
+ o.output = Shapes::ShapeRef.new(shape: ListImportFailuresResponse)
1595
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1596
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1597
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1598
+ o[:pager] = Aws::Pager.new(
1599
+ limit_key: "max_results",
1600
+ tokens: {
1601
+ "next_token" => "next_token"
1602
+ }
1603
+ )
1604
+ end)
1605
+
1606
+ api.add_operation(:list_imports, Seahorse::Model::Operation.new.tap do |o|
1607
+ o.name = "ListImports"
1608
+ o.http_method = "POST"
1609
+ o.http_request_uri = "/"
1610
+ o.input = Shapes::ShapeRef.new(shape: ListImportsRequest)
1611
+ o.output = Shapes::ShapeRef.new(shape: ListImportsResponse)
1612
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1613
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1614
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1615
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1616
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1617
+ o[:pager] = Aws::Pager.new(
1618
+ limit_key: "max_results",
1619
+ tokens: {
1620
+ "next_token" => "next_token"
1621
+ }
1622
+ )
1623
+ end)
1624
+
683
1625
  api.add_operation(:list_public_keys, Seahorse::Model::Operation.new.tap do |o|
684
1626
  o.name = "ListPublicKeys"
685
1627
  o.http_method = "POST"
@@ -697,6 +1639,31 @@ module Aws::CloudTrail
697
1639
  )
698
1640
  end)
699
1641
 
1642
+ api.add_operation(:list_queries, Seahorse::Model::Operation.new.tap do |o|
1643
+ o.name = "ListQueries"
1644
+ o.http_method = "POST"
1645
+ o.http_request_uri = "/"
1646
+ o.input = Shapes::ShapeRef.new(shape: ListQueriesRequest)
1647
+ o.output = Shapes::ShapeRef.new(shape: ListQueriesResponse)
1648
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1649
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1650
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1651
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDateRangeException)
1652
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
1653
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1654
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1655
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStatusException)
1656
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1657
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1658
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1659
+ o[:pager] = Aws::Pager.new(
1660
+ limit_key: "max_results",
1661
+ tokens: {
1662
+ "next_token" => "next_token"
1663
+ }
1664
+ )
1665
+ end)
1666
+
700
1667
  api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
701
1668
  o.name = "ListTags"
702
1669
  o.http_method = "POST"
@@ -705,11 +1672,16 @@ module Aws::CloudTrail
705
1672
  o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
706
1673
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
707
1674
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1675
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1676
+ o.errors << Shapes::ShapeRef.new(shape: ChannelARNInvalidException)
708
1677
  o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
709
1678
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1679
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
710
1681
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
711
1682
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
712
1683
  o.errors << Shapes::ShapeRef.new(shape: InvalidTokenException)
1684
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
713
1685
  o[:pager] = Aws::Pager.new(
714
1686
  tokens: {
715
1687
  "next_token" => "next_token"
@@ -761,11 +1733,15 @@ module Aws::CloudTrail
761
1733
  o.output = Shapes::ShapeRef.new(shape: PutEventSelectorsResponse)
762
1734
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
763
1735
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1736
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
764
1737
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
765
1738
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
1739
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
766
1741
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
767
1742
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
768
1743
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1744
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
769
1745
  o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
770
1746
  end)
771
1747
 
@@ -777,6 +1753,7 @@ module Aws::CloudTrail
777
1753
  o.output = Shapes::ShapeRef.new(shape: PutInsightSelectorsResponse)
778
1754
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
779
1755
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1756
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
780
1757
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
781
1758
  o.errors << Shapes::ShapeRef.new(shape: InvalidInsightSelectorsException)
782
1759
  o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyException)
@@ -786,6 +1763,43 @@ module Aws::CloudTrail
786
1763
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
787
1764
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
788
1765
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1766
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1767
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1768
+ end)
1769
+
1770
+ api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1771
+ o.name = "PutResourcePolicy"
1772
+ o.http_method = "POST"
1773
+ o.http_request_uri = "/"
1774
+ o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
1775
+ o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
1776
+ o.errors << Shapes::ShapeRef.new(shape: ResourceARNNotValidException)
1777
+ o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotValidException)
1778
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1779
+ o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
1780
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1781
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1782
+ end)
1783
+
1784
+ api.add_operation(:register_organization_delegated_admin, Seahorse::Model::Operation.new.tap do |o|
1785
+ o.name = "RegisterOrganizationDelegatedAdmin"
1786
+ o.http_method = "POST"
1787
+ o.http_request_uri = "/"
1788
+ o.input = Shapes::ShapeRef.new(shape: RegisterOrganizationDelegatedAdminRequest)
1789
+ o.output = Shapes::ShapeRef.new(shape: RegisterOrganizationDelegatedAdminResponse)
1790
+ o.errors << Shapes::ShapeRef.new(shape: AccountRegisteredException)
1791
+ o.errors << Shapes::ShapeRef.new(shape: AccountNotFoundException)
1792
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1793
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1794
+ o.errors << Shapes::ShapeRef.new(shape: CannotDelegateManagementAccountException)
1795
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
1796
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1797
+ o.errors << Shapes::ShapeRef.new(shape: DelegatedAdminAccountLimitExceededException)
1798
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationManagementAccountException)
1799
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
1800
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
1801
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1802
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
789
1803
  end)
790
1804
 
791
1805
  api.add_operation(:remove_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -796,12 +1810,79 @@ module Aws::CloudTrail
796
1810
  o.output = Shapes::ShapeRef.new(shape: RemoveTagsResponse)
797
1811
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
798
1812
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1813
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1814
+ o.errors << Shapes::ShapeRef.new(shape: ChannelARNInvalidException)
799
1815
  o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
800
1816
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
801
1817
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
1818
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1819
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1820
+ o.errors << Shapes::ShapeRef.new(shape: ChannelNotFoundException)
802
1821
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
803
1822
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
804
1823
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1824
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1825
+ end)
1826
+
1827
+ api.add_operation(:restore_event_data_store, Seahorse::Model::Operation.new.tap do |o|
1828
+ o.name = "RestoreEventDataStore"
1829
+ o.http_method = "POST"
1830
+ o.http_request_uri = "/"
1831
+ o.input = Shapes::ShapeRef.new(shape: RestoreEventDataStoreRequest)
1832
+ o.output = Shapes::ShapeRef.new(shape: RestoreEventDataStoreResponse)
1833
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1834
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1835
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreMaxLimitExceededException)
1836
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreStatusException)
1837
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1838
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1839
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1840
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
1841
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1842
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
1843
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1844
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1845
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
1846
+ end)
1847
+
1848
+ api.add_operation(:start_event_data_store_ingestion, Seahorse::Model::Operation.new.tap do |o|
1849
+ o.name = "StartEventDataStoreIngestion"
1850
+ o.http_method = "POST"
1851
+ o.http_request_uri = "/"
1852
+ o.input = Shapes::ShapeRef.new(shape: StartEventDataStoreIngestionRequest)
1853
+ o.output = Shapes::ShapeRef.new(shape: StartEventDataStoreIngestionResponse)
1854
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreStatusException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1858
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreCategoryException)
1859
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1860
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1861
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1862
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1863
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1864
+ end)
1865
+
1866
+ api.add_operation(:start_import, Seahorse::Model::Operation.new.tap do |o|
1867
+ o.name = "StartImport"
1868
+ o.http_method = "POST"
1869
+ o.http_request_uri = "/"
1870
+ o.input = Shapes::ShapeRef.new(shape: StartImportRequest)
1871
+ o.output = Shapes::ShapeRef.new(shape: StartImportResponse)
1872
+ o.errors << Shapes::ShapeRef.new(shape: AccountHasOngoingImportException)
1873
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1874
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1875
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreStatusException)
1876
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreCategoryException)
1877
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1878
+ o.errors << Shapes::ShapeRef.new(shape: InvalidImportSourceException)
1879
+ o.errors << Shapes::ShapeRef.new(shape: ImportNotFoundException)
1880
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1881
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
1882
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1883
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1884
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1885
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
805
1886
  end)
806
1887
 
807
1888
  api.add_operation(:start_logging, Seahorse::Model::Operation.new.tap do |o|
@@ -810,15 +1891,71 @@ module Aws::CloudTrail
810
1891
  o.http_request_uri = "/"
811
1892
  o.input = Shapes::ShapeRef.new(shape: StartLoggingRequest)
812
1893
  o.output = Shapes::ShapeRef.new(shape: StartLoggingResponse)
1894
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1895
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1896
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
813
1897
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
814
1898
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
815
1899
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
816
1900
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
817
1901
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
818
1902
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1903
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
819
1904
  o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
820
1905
  end)
821
1906
 
1907
+ api.add_operation(:start_query, Seahorse::Model::Operation.new.tap do |o|
1908
+ o.name = "StartQuery"
1909
+ o.http_method = "POST"
1910
+ o.http_request_uri = "/"
1911
+ o.input = Shapes::ShapeRef.new(shape: StartQueryRequest)
1912
+ o.output = Shapes::ShapeRef.new(shape: StartQueryResponse)
1913
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1914
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1915
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1916
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1917
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStatementException)
1918
+ o.errors << Shapes::ShapeRef.new(shape: MaxConcurrentQueriesException)
1919
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
1920
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3PrefixException)
1921
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3BucketNameException)
1922
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyException)
1923
+ o.errors << Shapes::ShapeRef.new(shape: S3BucketDoesNotExistException)
1924
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1925
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1926
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1927
+ end)
1928
+
1929
+ api.add_operation(:stop_event_data_store_ingestion, Seahorse::Model::Operation.new.tap do |o|
1930
+ o.name = "StopEventDataStoreIngestion"
1931
+ o.http_method = "POST"
1932
+ o.http_request_uri = "/"
1933
+ o.input = Shapes::ShapeRef.new(shape: StopEventDataStoreIngestionRequest)
1934
+ o.output = Shapes::ShapeRef.new(shape: StopEventDataStoreIngestionResponse)
1935
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1936
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1937
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreStatusException)
1938
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1939
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreCategoryException)
1940
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1941
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1942
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1943
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1944
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1945
+ end)
1946
+
1947
+ api.add_operation(:stop_import, Seahorse::Model::Operation.new.tap do |o|
1948
+ o.name = "StopImport"
1949
+ o.http_method = "POST"
1950
+ o.http_request_uri = "/"
1951
+ o.input = Shapes::ShapeRef.new(shape: StopImportRequest)
1952
+ o.output = Shapes::ShapeRef.new(shape: StopImportResponse)
1953
+ o.errors << Shapes::ShapeRef.new(shape: ImportNotFoundException)
1954
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1955
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1956
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1957
+ end)
1958
+
822
1959
  api.add_operation(:stop_logging, Seahorse::Model::Operation.new.tap do |o|
823
1960
  o.name = "StopLogging"
824
1961
  o.http_method = "POST"
@@ -827,13 +1964,62 @@ module Aws::CloudTrail
827
1964
  o.output = Shapes::ShapeRef.new(shape: StopLoggingResponse)
828
1965
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
829
1966
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1967
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1968
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1969
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
830
1970
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
831
1971
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
832
1972
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
833
1973
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1974
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
834
1975
  o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
835
1976
  end)
836
1977
 
1978
+ api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
1979
+ o.name = "UpdateChannel"
1980
+ o.http_method = "POST"
1981
+ o.http_request_uri = "/"
1982
+ o.input = Shapes::ShapeRef.new(shape: UpdateChannelRequest)
1983
+ o.output = Shapes::ShapeRef.new(shape: UpdateChannelResponse)
1984
+ o.errors << Shapes::ShapeRef.new(shape: ChannelARNInvalidException)
1985
+ o.errors << Shapes::ShapeRef.new(shape: ChannelNotFoundException)
1986
+ o.errors << Shapes::ShapeRef.new(shape: ChannelAlreadyExistsException)
1987
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1988
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1989
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreCategoryException)
1990
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
1991
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1992
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1993
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1994
+ end)
1995
+
1996
+ api.add_operation(:update_event_data_store, Seahorse::Model::Operation.new.tap do |o|
1997
+ o.name = "UpdateEventDataStore"
1998
+ o.http_method = "POST"
1999
+ o.http_request_uri = "/"
2000
+ o.input = Shapes::ShapeRef.new(shape: UpdateEventDataStoreRequest)
2001
+ o.output = Shapes::ShapeRef.new(shape: UpdateEventDataStoreResponse)
2002
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreAlreadyExistsException)
2003
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
2004
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
2005
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
2006
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreHasOngoingImportException)
2007
+ o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
2008
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2009
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
2010
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2011
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
2012
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKmsKeyIdException)
2013
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
2014
+ o.errors << Shapes::ShapeRef.new(shape: KmsException)
2015
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
2016
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
2017
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
2018
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
2019
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
2020
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
2021
+ end)
2022
+
837
2023
  api.add_operation(:update_trail, Seahorse::Model::Operation.new.tap do |o|
838
2024
  o.name = "UpdateTrail"
839
2025
  o.http_method = "POST"
@@ -852,6 +2038,9 @@ module Aws::CloudTrail
852
2038
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
853
2039
  o.errors << Shapes::ShapeRef.new(shape: TrailNotProvidedException)
854
2040
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
2041
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
2042
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2043
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
855
2044
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
856
2045
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
857
2046
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
@@ -867,7 +2056,9 @@ module Aws::CloudTrail
867
2056
  o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
868
2057
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
869
2058
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
2059
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
870
2060
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailInvalidClientTokenIdException)
2061
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
871
2062
  end)
872
2063
  end
873
2064