aws-sdk-cloudtrail 1.42.0 → 1.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +727 -17
- data/lib/aws-sdk-cloudtrail/client_api.rb +478 -4
- data/lib/aws-sdk-cloudtrail/errors.rb +154 -0
- data/lib/aws-sdk-cloudtrail/types.rb +1106 -32
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- metadata +4 -4
@@ -21,35 +21,60 @@ module Aws::CloudTrail
|
|
21
21
|
AdvancedFieldSelectors = Shapes::ListShape.new(name: 'AdvancedFieldSelectors')
|
22
22
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
23
23
|
ByteBuffer = Shapes::BlobShape.new(name: 'ByteBuffer')
|
24
|
+
CancelQueryRequest = Shapes::StructureShape.new(name: 'CancelQueryRequest')
|
25
|
+
CancelQueryResponse = Shapes::StructureShape.new(name: 'CancelQueryResponse')
|
24
26
|
CloudTrailARNInvalidException = Shapes::StructureShape.new(name: 'CloudTrailARNInvalidException')
|
25
27
|
CloudTrailAccessNotEnabledException = Shapes::StructureShape.new(name: 'CloudTrailAccessNotEnabledException')
|
26
28
|
CloudTrailInvalidClientTokenIdException = Shapes::StructureShape.new(name: 'CloudTrailInvalidClientTokenIdException')
|
27
29
|
CloudWatchLogsDeliveryUnavailableException = Shapes::StructureShape.new(name: 'CloudWatchLogsDeliveryUnavailableException')
|
28
30
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
31
|
+
CreateEventDataStoreRequest = Shapes::StructureShape.new(name: 'CreateEventDataStoreRequest')
|
32
|
+
CreateEventDataStoreResponse = Shapes::StructureShape.new(name: 'CreateEventDataStoreResponse')
|
29
33
|
CreateTrailRequest = Shapes::StructureShape.new(name: 'CreateTrailRequest')
|
30
34
|
CreateTrailResponse = Shapes::StructureShape.new(name: 'CreateTrailResponse')
|
31
35
|
DataResource = Shapes::StructureShape.new(name: 'DataResource')
|
32
36
|
DataResourceValues = Shapes::ListShape.new(name: 'DataResourceValues')
|
33
37
|
DataResources = Shapes::ListShape.new(name: 'DataResources')
|
34
38
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
39
|
+
DeleteEventDataStoreRequest = Shapes::StructureShape.new(name: 'DeleteEventDataStoreRequest')
|
40
|
+
DeleteEventDataStoreResponse = Shapes::StructureShape.new(name: 'DeleteEventDataStoreResponse')
|
35
41
|
DeleteTrailRequest = Shapes::StructureShape.new(name: 'DeleteTrailRequest')
|
36
42
|
DeleteTrailResponse = Shapes::StructureShape.new(name: 'DeleteTrailResponse')
|
43
|
+
DescribeQueryRequest = Shapes::StructureShape.new(name: 'DescribeQueryRequest')
|
44
|
+
DescribeQueryResponse = Shapes::StructureShape.new(name: 'DescribeQueryResponse')
|
37
45
|
DescribeTrailsRequest = Shapes::StructureShape.new(name: 'DescribeTrailsRequest')
|
38
46
|
DescribeTrailsResponse = Shapes::StructureShape.new(name: 'DescribeTrailsResponse')
|
47
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
39
48
|
Event = Shapes::StructureShape.new(name: 'Event')
|
40
49
|
EventCategory = Shapes::StringShape.new(name: 'EventCategory')
|
50
|
+
EventDataStore = Shapes::StructureShape.new(name: 'EventDataStore')
|
51
|
+
EventDataStoreARNInvalidException = Shapes::StructureShape.new(name: 'EventDataStoreARNInvalidException')
|
52
|
+
EventDataStoreAlreadyExistsException = Shapes::StructureShape.new(name: 'EventDataStoreAlreadyExistsException')
|
53
|
+
EventDataStoreArn = Shapes::StringShape.new(name: 'EventDataStoreArn')
|
54
|
+
EventDataStoreMaxLimitExceededException = Shapes::StructureShape.new(name: 'EventDataStoreMaxLimitExceededException')
|
55
|
+
EventDataStoreName = Shapes::StringShape.new(name: 'EventDataStoreName')
|
56
|
+
EventDataStoreNotFoundException = Shapes::StructureShape.new(name: 'EventDataStoreNotFoundException')
|
57
|
+
EventDataStoreStatus = Shapes::StringShape.new(name: 'EventDataStoreStatus')
|
58
|
+
EventDataStoreTerminationProtectedException = Shapes::StructureShape.new(name: 'EventDataStoreTerminationProtectedException')
|
59
|
+
EventDataStores = Shapes::ListShape.new(name: 'EventDataStores')
|
41
60
|
EventSelector = Shapes::StructureShape.new(name: 'EventSelector')
|
42
61
|
EventSelectors = Shapes::ListShape.new(name: 'EventSelectors')
|
43
62
|
EventsList = Shapes::ListShape.new(name: 'EventsList')
|
44
63
|
ExcludeManagementEventSources = Shapes::ListShape.new(name: 'ExcludeManagementEventSources')
|
64
|
+
GetEventDataStoreRequest = Shapes::StructureShape.new(name: 'GetEventDataStoreRequest')
|
65
|
+
GetEventDataStoreResponse = Shapes::StructureShape.new(name: 'GetEventDataStoreResponse')
|
45
66
|
GetEventSelectorsRequest = Shapes::StructureShape.new(name: 'GetEventSelectorsRequest')
|
46
67
|
GetEventSelectorsResponse = Shapes::StructureShape.new(name: 'GetEventSelectorsResponse')
|
47
68
|
GetInsightSelectorsRequest = Shapes::StructureShape.new(name: 'GetInsightSelectorsRequest')
|
48
69
|
GetInsightSelectorsResponse = Shapes::StructureShape.new(name: 'GetInsightSelectorsResponse')
|
70
|
+
GetQueryResultsRequest = Shapes::StructureShape.new(name: 'GetQueryResultsRequest')
|
71
|
+
GetQueryResultsResponse = Shapes::StructureShape.new(name: 'GetQueryResultsResponse')
|
49
72
|
GetTrailRequest = Shapes::StructureShape.new(name: 'GetTrailRequest')
|
50
73
|
GetTrailResponse = Shapes::StructureShape.new(name: 'GetTrailResponse')
|
51
74
|
GetTrailStatusRequest = Shapes::StructureShape.new(name: 'GetTrailStatusRequest')
|
52
75
|
GetTrailStatusResponse = Shapes::StructureShape.new(name: 'GetTrailStatusResponse')
|
76
|
+
InactiveEventDataStoreException = Shapes::StructureShape.new(name: 'InactiveEventDataStoreException')
|
77
|
+
InactiveQueryException = Shapes::StructureShape.new(name: 'InactiveQueryException')
|
53
78
|
InsightNotEnabledException = Shapes::StructureShape.new(name: 'InsightNotEnabledException')
|
54
79
|
InsightSelector = Shapes::StructureShape.new(name: 'InsightSelector')
|
55
80
|
InsightSelectors = Shapes::ListShape.new(name: 'InsightSelectors')
|
@@ -58,9 +83,12 @@ module Aws::CloudTrail
|
|
58
83
|
InsufficientEncryptionPolicyException = Shapes::StructureShape.new(name: 'InsufficientEncryptionPolicyException')
|
59
84
|
InsufficientS3BucketPolicyException = Shapes::StructureShape.new(name: 'InsufficientS3BucketPolicyException')
|
60
85
|
InsufficientSnsTopicPolicyException = Shapes::StructureShape.new(name: 'InsufficientSnsTopicPolicyException')
|
86
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
61
87
|
InvalidCloudWatchLogsLogGroupArnException = Shapes::StructureShape.new(name: 'InvalidCloudWatchLogsLogGroupArnException')
|
62
88
|
InvalidCloudWatchLogsRoleArnException = Shapes::StructureShape.new(name: 'InvalidCloudWatchLogsRoleArnException')
|
89
|
+
InvalidDateRangeException = Shapes::StructureShape.new(name: 'InvalidDateRangeException')
|
63
90
|
InvalidEventCategoryException = Shapes::StructureShape.new(name: 'InvalidEventCategoryException')
|
91
|
+
InvalidEventDataStoreStatusException = Shapes::StructureShape.new(name: 'InvalidEventDataStoreStatusException')
|
64
92
|
InvalidEventSelectorsException = Shapes::StructureShape.new(name: 'InvalidEventSelectorsException')
|
65
93
|
InvalidHomeRegionException = Shapes::StructureShape.new(name: 'InvalidHomeRegionException')
|
66
94
|
InvalidInsightSelectorsException = Shapes::StructureShape.new(name: 'InvalidInsightSelectorsException')
|
@@ -69,6 +97,9 @@ module Aws::CloudTrail
|
|
69
97
|
InvalidMaxResultsException = Shapes::StructureShape.new(name: 'InvalidMaxResultsException')
|
70
98
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
71
99
|
InvalidParameterCombinationException = Shapes::StructureShape.new(name: 'InvalidParameterCombinationException')
|
100
|
+
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
101
|
+
InvalidQueryStatementException = Shapes::StructureShape.new(name: 'InvalidQueryStatementException')
|
102
|
+
InvalidQueryStatusException = Shapes::StructureShape.new(name: 'InvalidQueryStatusException')
|
72
103
|
InvalidS3BucketNameException = Shapes::StructureShape.new(name: 'InvalidS3BucketNameException')
|
73
104
|
InvalidS3PrefixException = Shapes::StructureShape.new(name: 'InvalidS3PrefixException')
|
74
105
|
InvalidSnsTopicNameException = Shapes::StructureShape.new(name: 'InvalidSnsTopicNameException')
|
@@ -79,17 +110,26 @@ module Aws::CloudTrail
|
|
79
110
|
KmsException = Shapes::StructureShape.new(name: 'KmsException')
|
80
111
|
KmsKeyDisabledException = Shapes::StructureShape.new(name: 'KmsKeyDisabledException')
|
81
112
|
KmsKeyNotFoundException = Shapes::StructureShape.new(name: 'KmsKeyNotFoundException')
|
113
|
+
ListEventDataStoresMaxResultsCount = Shapes::IntegerShape.new(name: 'ListEventDataStoresMaxResultsCount')
|
114
|
+
ListEventDataStoresRequest = Shapes::StructureShape.new(name: 'ListEventDataStoresRequest')
|
115
|
+
ListEventDataStoresResponse = Shapes::StructureShape.new(name: 'ListEventDataStoresResponse')
|
82
116
|
ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
|
83
117
|
ListPublicKeysResponse = Shapes::StructureShape.new(name: 'ListPublicKeysResponse')
|
118
|
+
ListQueriesMaxResultsCount = Shapes::IntegerShape.new(name: 'ListQueriesMaxResultsCount')
|
119
|
+
ListQueriesRequest = Shapes::StructureShape.new(name: 'ListQueriesRequest')
|
120
|
+
ListQueriesResponse = Shapes::StructureShape.new(name: 'ListQueriesResponse')
|
84
121
|
ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
|
85
122
|
ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
|
86
123
|
ListTrailsRequest = Shapes::StructureShape.new(name: 'ListTrailsRequest')
|
87
124
|
ListTrailsResponse = Shapes::StructureShape.new(name: 'ListTrailsResponse')
|
125
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
88
126
|
LookupAttribute = Shapes::StructureShape.new(name: 'LookupAttribute')
|
89
127
|
LookupAttributeKey = Shapes::StringShape.new(name: 'LookupAttributeKey')
|
90
128
|
LookupAttributesList = Shapes::ListShape.new(name: 'LookupAttributesList')
|
91
129
|
LookupEventsRequest = Shapes::StructureShape.new(name: 'LookupEventsRequest')
|
92
130
|
LookupEventsResponse = Shapes::StructureShape.new(name: 'LookupEventsResponse')
|
131
|
+
MaxConcurrentQueriesException = Shapes::StructureShape.new(name: 'MaxConcurrentQueriesException')
|
132
|
+
MaxQueryResults = Shapes::IntegerShape.new(name: 'MaxQueryResults')
|
93
133
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
94
134
|
MaximumNumberOfTrailsExceededException = Shapes::StructureShape.new(name: 'MaximumNumberOfTrailsExceededException')
|
95
135
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
@@ -99,12 +139,25 @@ module Aws::CloudTrail
|
|
99
139
|
OperatorValue = Shapes::StringShape.new(name: 'OperatorValue')
|
100
140
|
OrganizationNotInAllFeaturesModeException = Shapes::StructureShape.new(name: 'OrganizationNotInAllFeaturesModeException')
|
101
141
|
OrganizationsNotInUseException = Shapes::StructureShape.new(name: 'OrganizationsNotInUseException')
|
142
|
+
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
102
143
|
PublicKey = Shapes::StructureShape.new(name: 'PublicKey')
|
103
144
|
PublicKeyList = Shapes::ListShape.new(name: 'PublicKeyList')
|
104
145
|
PutEventSelectorsRequest = Shapes::StructureShape.new(name: 'PutEventSelectorsRequest')
|
105
146
|
PutEventSelectorsResponse = Shapes::StructureShape.new(name: 'PutEventSelectorsResponse')
|
106
147
|
PutInsightSelectorsRequest = Shapes::StructureShape.new(name: 'PutInsightSelectorsRequest')
|
107
148
|
PutInsightSelectorsResponse = Shapes::StructureShape.new(name: 'PutInsightSelectorsResponse')
|
149
|
+
Queries = Shapes::ListShape.new(name: 'Queries')
|
150
|
+
Query = Shapes::StructureShape.new(name: 'Query')
|
151
|
+
QueryIdNotFoundException = Shapes::StructureShape.new(name: 'QueryIdNotFoundException')
|
152
|
+
QueryResultColumn = Shapes::MapShape.new(name: 'QueryResultColumn')
|
153
|
+
QueryResultKey = Shapes::StringShape.new(name: 'QueryResultKey')
|
154
|
+
QueryResultRow = Shapes::ListShape.new(name: 'QueryResultRow')
|
155
|
+
QueryResultRows = Shapes::ListShape.new(name: 'QueryResultRows')
|
156
|
+
QueryResultValue = Shapes::StringShape.new(name: 'QueryResultValue')
|
157
|
+
QueryStatement = Shapes::StringShape.new(name: 'QueryStatement')
|
158
|
+
QueryStatistics = Shapes::StructureShape.new(name: 'QueryStatistics')
|
159
|
+
QueryStatisticsForDescribeQuery = Shapes::StructureShape.new(name: 'QueryStatisticsForDescribeQuery')
|
160
|
+
QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
|
108
161
|
ReadWriteType = Shapes::StringShape.new(name: 'ReadWriteType')
|
109
162
|
RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
|
110
163
|
RemoveTagsResponse = Shapes::StructureShape.new(name: 'RemoveTagsResponse')
|
@@ -115,17 +168,25 @@ module Aws::CloudTrail
|
|
115
168
|
ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
|
116
169
|
ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
|
117
170
|
ResourceTypeNotSupportedException = Shapes::StructureShape.new(name: 'ResourceTypeNotSupportedException')
|
171
|
+
RestoreEventDataStoreRequest = Shapes::StructureShape.new(name: 'RestoreEventDataStoreRequest')
|
172
|
+
RestoreEventDataStoreResponse = Shapes::StructureShape.new(name: 'RestoreEventDataStoreResponse')
|
173
|
+
RetentionPeriod = Shapes::IntegerShape.new(name: 'RetentionPeriod')
|
118
174
|
S3BucketDoesNotExistException = Shapes::StructureShape.new(name: 'S3BucketDoesNotExistException')
|
119
175
|
SelectorField = Shapes::StringShape.new(name: 'SelectorField')
|
120
176
|
SelectorName = Shapes::StringShape.new(name: 'SelectorName')
|
121
177
|
StartLoggingRequest = Shapes::StructureShape.new(name: 'StartLoggingRequest')
|
122
178
|
StartLoggingResponse = Shapes::StructureShape.new(name: 'StartLoggingResponse')
|
179
|
+
StartQueryRequest = Shapes::StructureShape.new(name: 'StartQueryRequest')
|
180
|
+
StartQueryResponse = Shapes::StructureShape.new(name: 'StartQueryResponse')
|
123
181
|
StopLoggingRequest = Shapes::StructureShape.new(name: 'StopLoggingRequest')
|
124
182
|
StopLoggingResponse = Shapes::StructureShape.new(name: 'StopLoggingResponse')
|
125
183
|
String = Shapes::StringShape.new(name: 'String')
|
126
184
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
185
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
186
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
127
187
|
TagsLimitExceededException = Shapes::StructureShape.new(name: 'TagsLimitExceededException')
|
128
188
|
TagsList = Shapes::ListShape.new(name: 'TagsList')
|
189
|
+
TerminationProtectionEnabled = Shapes::BooleanShape.new(name: 'TerminationProtectionEnabled')
|
129
190
|
Trail = Shapes::StructureShape.new(name: 'Trail')
|
130
191
|
TrailAlreadyExistsException = Shapes::StructureShape.new(name: 'TrailAlreadyExistsException')
|
131
192
|
TrailInfo = Shapes::StructureShape.new(name: 'TrailInfo')
|
@@ -134,12 +195,15 @@ module Aws::CloudTrail
|
|
134
195
|
TrailNotFoundException = Shapes::StructureShape.new(name: 'TrailNotFoundException')
|
135
196
|
TrailNotProvidedException = Shapes::StructureShape.new(name: 'TrailNotProvidedException')
|
136
197
|
Trails = Shapes::ListShape.new(name: 'Trails')
|
198
|
+
UUID = Shapes::StringShape.new(name: 'UUID')
|
137
199
|
UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
|
200
|
+
UpdateEventDataStoreRequest = Shapes::StructureShape.new(name: 'UpdateEventDataStoreRequest')
|
201
|
+
UpdateEventDataStoreResponse = Shapes::StructureShape.new(name: 'UpdateEventDataStoreResponse')
|
138
202
|
UpdateTrailRequest = Shapes::StructureShape.new(name: 'UpdateTrailRequest')
|
139
203
|
UpdateTrailResponse = Shapes::StructureShape.new(name: 'UpdateTrailResponse')
|
140
204
|
|
141
205
|
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"))
|
206
|
+
AddTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, required: true, location_name: "TagsList"))
|
143
207
|
AddTagsRequest.struct_class = Types::AddTagsRequest
|
144
208
|
|
145
209
|
AddTagsResponse.struct_class = Types::AddTagsResponse
|
@@ -161,6 +225,14 @@ module Aws::CloudTrail
|
|
161
225
|
|
162
226
|
AdvancedFieldSelectors.member = Shapes::ShapeRef.new(shape: AdvancedFieldSelector)
|
163
227
|
|
228
|
+
CancelQueryRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
229
|
+
CancelQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
230
|
+
CancelQueryRequest.struct_class = Types::CancelQueryRequest
|
231
|
+
|
232
|
+
CancelQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
233
|
+
CancelQueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, required: true, location_name: "QueryStatus"))
|
234
|
+
CancelQueryResponse.struct_class = Types::CancelQueryResponse
|
235
|
+
|
164
236
|
CloudTrailARNInvalidException.struct_class = Types::CloudTrailARNInvalidException
|
165
237
|
|
166
238
|
CloudTrailAccessNotEnabledException.struct_class = Types::CloudTrailAccessNotEnabledException
|
@@ -171,6 +243,28 @@ module Aws::CloudTrail
|
|
171
243
|
|
172
244
|
ConflictException.struct_class = Types::ConflictException
|
173
245
|
|
246
|
+
CreateEventDataStoreRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, required: true, location_name: "Name"))
|
247
|
+
CreateEventDataStoreRequest.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
248
|
+
CreateEventDataStoreRequest.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
|
249
|
+
CreateEventDataStoreRequest.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
|
250
|
+
CreateEventDataStoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
251
|
+
CreateEventDataStoreRequest.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
252
|
+
CreateEventDataStoreRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
253
|
+
CreateEventDataStoreRequest.struct_class = Types::CreateEventDataStoreRequest
|
254
|
+
|
255
|
+
CreateEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
|
256
|
+
CreateEventDataStoreResponse.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
|
257
|
+
CreateEventDataStoreResponse.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, location_name: "Status"))
|
258
|
+
CreateEventDataStoreResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
259
|
+
CreateEventDataStoreResponse.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
|
260
|
+
CreateEventDataStoreResponse.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
|
261
|
+
CreateEventDataStoreResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
262
|
+
CreateEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
263
|
+
CreateEventDataStoreResponse.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
264
|
+
CreateEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
265
|
+
CreateEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
266
|
+
CreateEventDataStoreResponse.struct_class = Types::CreateEventDataStoreResponse
|
267
|
+
|
174
268
|
CreateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
175
269
|
CreateTrailRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketName"))
|
176
270
|
CreateTrailRequest.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
@@ -208,11 +302,27 @@ module Aws::CloudTrail
|
|
208
302
|
|
209
303
|
DataResources.member = Shapes::ShapeRef.new(shape: DataResource)
|
210
304
|
|
305
|
+
DeleteEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
306
|
+
DeleteEventDataStoreRequest.struct_class = Types::DeleteEventDataStoreRequest
|
307
|
+
|
308
|
+
DeleteEventDataStoreResponse.struct_class = Types::DeleteEventDataStoreResponse
|
309
|
+
|
211
310
|
DeleteTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
212
311
|
DeleteTrailRequest.struct_class = Types::DeleteTrailRequest
|
213
312
|
|
214
313
|
DeleteTrailResponse.struct_class = Types::DeleteTrailResponse
|
215
314
|
|
315
|
+
DescribeQueryRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
316
|
+
DescribeQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
317
|
+
DescribeQueryRequest.struct_class = Types::DescribeQueryRequest
|
318
|
+
|
319
|
+
DescribeQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
|
320
|
+
DescribeQueryResponse.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryStatement, location_name: "QueryString"))
|
321
|
+
DescribeQueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
|
322
|
+
DescribeQueryResponse.add_member(:query_statistics, Shapes::ShapeRef.new(shape: QueryStatisticsForDescribeQuery, location_name: "QueryStatistics"))
|
323
|
+
DescribeQueryResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
324
|
+
DescribeQueryResponse.struct_class = Types::DescribeQueryResponse
|
325
|
+
|
216
326
|
DescribeTrailsRequest.add_member(:trail_name_list, Shapes::ShapeRef.new(shape: TrailNameList, location_name: "trailNameList"))
|
217
327
|
DescribeTrailsRequest.add_member(:include_shadow_trails, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeShadowTrails"))
|
218
328
|
DescribeTrailsRequest.struct_class = Types::DescribeTrailsRequest
|
@@ -231,6 +341,30 @@ module Aws::CloudTrail
|
|
231
341
|
Event.add_member(:cloud_trail_event, Shapes::ShapeRef.new(shape: String, location_name: "CloudTrailEvent"))
|
232
342
|
Event.struct_class = Types::Event
|
233
343
|
|
344
|
+
EventDataStore.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
|
345
|
+
EventDataStore.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
|
346
|
+
EventDataStore.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
347
|
+
EventDataStore.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, location_name: "Status"))
|
348
|
+
EventDataStore.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
349
|
+
EventDataStore.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
|
350
|
+
EventDataStore.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
|
351
|
+
EventDataStore.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
352
|
+
EventDataStore.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
353
|
+
EventDataStore.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
354
|
+
EventDataStore.struct_class = Types::EventDataStore
|
355
|
+
|
356
|
+
EventDataStoreARNInvalidException.struct_class = Types::EventDataStoreARNInvalidException
|
357
|
+
|
358
|
+
EventDataStoreAlreadyExistsException.struct_class = Types::EventDataStoreAlreadyExistsException
|
359
|
+
|
360
|
+
EventDataStoreMaxLimitExceededException.struct_class = Types::EventDataStoreMaxLimitExceededException
|
361
|
+
|
362
|
+
EventDataStoreNotFoundException.struct_class = Types::EventDataStoreNotFoundException
|
363
|
+
|
364
|
+
EventDataStoreTerminationProtectedException.struct_class = Types::EventDataStoreTerminationProtectedException
|
365
|
+
|
366
|
+
EventDataStores.member = Shapes::ShapeRef.new(shape: EventDataStore)
|
367
|
+
|
234
368
|
EventSelector.add_member(:read_write_type, Shapes::ShapeRef.new(shape: ReadWriteType, location_name: "ReadWriteType"))
|
235
369
|
EventSelector.add_member(:include_management_events, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeManagementEvents"))
|
236
370
|
EventSelector.add_member(:data_resources, Shapes::ShapeRef.new(shape: DataResources, location_name: "DataResources"))
|
@@ -243,6 +377,21 @@ module Aws::CloudTrail
|
|
243
377
|
|
244
378
|
ExcludeManagementEventSources.member = Shapes::ShapeRef.new(shape: String)
|
245
379
|
|
380
|
+
GetEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
381
|
+
GetEventDataStoreRequest.struct_class = Types::GetEventDataStoreRequest
|
382
|
+
|
383
|
+
GetEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
|
384
|
+
GetEventDataStoreResponse.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
|
385
|
+
GetEventDataStoreResponse.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, location_name: "Status"))
|
386
|
+
GetEventDataStoreResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
387
|
+
GetEventDataStoreResponse.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
|
388
|
+
GetEventDataStoreResponse.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
|
389
|
+
GetEventDataStoreResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
390
|
+
GetEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
391
|
+
GetEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
392
|
+
GetEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
393
|
+
GetEventDataStoreResponse.struct_class = Types::GetEventDataStoreResponse
|
394
|
+
|
246
395
|
GetEventSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
|
247
396
|
GetEventSelectorsRequest.struct_class = Types::GetEventSelectorsRequest
|
248
397
|
|
@@ -258,6 +407,19 @@ module Aws::CloudTrail
|
|
258
407
|
GetInsightSelectorsResponse.add_member(:insight_selectors, Shapes::ShapeRef.new(shape: InsightSelectors, location_name: "InsightSelectors"))
|
259
408
|
GetInsightSelectorsResponse.struct_class = Types::GetInsightSelectorsResponse
|
260
409
|
|
410
|
+
GetQueryResultsRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
411
|
+
GetQueryResultsRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
|
412
|
+
GetQueryResultsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
413
|
+
GetQueryResultsRequest.add_member(:max_query_results, Shapes::ShapeRef.new(shape: MaxQueryResults, location_name: "MaxQueryResults"))
|
414
|
+
GetQueryResultsRequest.struct_class = Types::GetQueryResultsRequest
|
415
|
+
|
416
|
+
GetQueryResultsResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
|
417
|
+
GetQueryResultsResponse.add_member(:query_statistics, Shapes::ShapeRef.new(shape: QueryStatistics, location_name: "QueryStatistics"))
|
418
|
+
GetQueryResultsResponse.add_member(:query_result_rows, Shapes::ShapeRef.new(shape: QueryResultRows, location_name: "QueryResultRows"))
|
419
|
+
GetQueryResultsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
420
|
+
GetQueryResultsResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
421
|
+
GetQueryResultsResponse.struct_class = Types::GetQueryResultsResponse
|
422
|
+
|
261
423
|
GetTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
262
424
|
GetTrailRequest.struct_class = Types::GetTrailRequest
|
263
425
|
|
@@ -286,6 +448,10 @@ module Aws::CloudTrail
|
|
286
448
|
GetTrailStatusResponse.add_member(:time_logging_stopped, Shapes::ShapeRef.new(shape: String, location_name: "TimeLoggingStopped"))
|
287
449
|
GetTrailStatusResponse.struct_class = Types::GetTrailStatusResponse
|
288
450
|
|
451
|
+
InactiveEventDataStoreException.struct_class = Types::InactiveEventDataStoreException
|
452
|
+
|
453
|
+
InactiveQueryException.struct_class = Types::InactiveQueryException
|
454
|
+
|
289
455
|
InsightNotEnabledException.struct_class = Types::InsightNotEnabledException
|
290
456
|
|
291
457
|
InsightSelector.add_member(:insight_type, Shapes::ShapeRef.new(shape: InsightType, location_name: "InsightType"))
|
@@ -305,8 +471,12 @@ module Aws::CloudTrail
|
|
305
471
|
|
306
472
|
InvalidCloudWatchLogsRoleArnException.struct_class = Types::InvalidCloudWatchLogsRoleArnException
|
307
473
|
|
474
|
+
InvalidDateRangeException.struct_class = Types::InvalidDateRangeException
|
475
|
+
|
308
476
|
InvalidEventCategoryException.struct_class = Types::InvalidEventCategoryException
|
309
477
|
|
478
|
+
InvalidEventDataStoreStatusException.struct_class = Types::InvalidEventDataStoreStatusException
|
479
|
+
|
310
480
|
InvalidEventSelectorsException.struct_class = Types::InvalidEventSelectorsException
|
311
481
|
|
312
482
|
InvalidHomeRegionException.struct_class = Types::InvalidHomeRegionException
|
@@ -323,6 +493,12 @@ module Aws::CloudTrail
|
|
323
493
|
|
324
494
|
InvalidParameterCombinationException.struct_class = Types::InvalidParameterCombinationException
|
325
495
|
|
496
|
+
InvalidParameterException.struct_class = Types::InvalidParameterException
|
497
|
+
|
498
|
+
InvalidQueryStatementException.struct_class = Types::InvalidQueryStatementException
|
499
|
+
|
500
|
+
InvalidQueryStatusException.struct_class = Types::InvalidQueryStatusException
|
501
|
+
|
326
502
|
InvalidS3BucketNameException.struct_class = Types::InvalidS3BucketNameException
|
327
503
|
|
328
504
|
InvalidS3PrefixException.struct_class = Types::InvalidS3PrefixException
|
@@ -343,6 +519,14 @@ module Aws::CloudTrail
|
|
343
519
|
|
344
520
|
KmsKeyNotFoundException.struct_class = Types::KmsKeyNotFoundException
|
345
521
|
|
522
|
+
ListEventDataStoresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
523
|
+
ListEventDataStoresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEventDataStoresMaxResultsCount, location_name: "MaxResults"))
|
524
|
+
ListEventDataStoresRequest.struct_class = Types::ListEventDataStoresRequest
|
525
|
+
|
526
|
+
ListEventDataStoresResponse.add_member(:event_data_stores, Shapes::ShapeRef.new(shape: EventDataStores, location_name: "EventDataStores"))
|
527
|
+
ListEventDataStoresResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
528
|
+
ListEventDataStoresResponse.struct_class = Types::ListEventDataStoresResponse
|
529
|
+
|
346
530
|
ListPublicKeysRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
|
347
531
|
ListPublicKeysRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
|
348
532
|
ListPublicKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -352,6 +536,18 @@ module Aws::CloudTrail
|
|
352
536
|
ListPublicKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
353
537
|
ListPublicKeysResponse.struct_class = Types::ListPublicKeysResponse
|
354
538
|
|
539
|
+
ListQueriesRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
540
|
+
ListQueriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
541
|
+
ListQueriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListQueriesMaxResultsCount, location_name: "MaxResults"))
|
542
|
+
ListQueriesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
|
543
|
+
ListQueriesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
|
544
|
+
ListQueriesRequest.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
|
545
|
+
ListQueriesRequest.struct_class = Types::ListQueriesRequest
|
546
|
+
|
547
|
+
ListQueriesResponse.add_member(:queries, Shapes::ShapeRef.new(shape: Queries, location_name: "Queries"))
|
548
|
+
ListQueriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
549
|
+
ListQueriesResponse.struct_class = Types::ListQueriesResponse
|
550
|
+
|
355
551
|
ListTagsRequest.add_member(:resource_id_list, Shapes::ShapeRef.new(shape: ResourceIdList, required: true, location_name: "ResourceIdList"))
|
356
552
|
ListTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
357
553
|
ListTagsRequest.struct_class = Types::ListTagsRequest
|
@@ -385,6 +581,8 @@ module Aws::CloudTrail
|
|
385
581
|
LookupEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
386
582
|
LookupEventsResponse.struct_class = Types::LookupEventsResponse
|
387
583
|
|
584
|
+
MaxConcurrentQueriesException.struct_class = Types::MaxConcurrentQueriesException
|
585
|
+
|
388
586
|
MaximumNumberOfTrailsExceededException.struct_class = Types::MaximumNumberOfTrailsExceededException
|
389
587
|
|
390
588
|
NotOrganizationMasterAccountException.struct_class = Types::NotOrganizationMasterAccountException
|
@@ -423,8 +621,34 @@ module Aws::CloudTrail
|
|
423
621
|
PutInsightSelectorsResponse.add_member(:insight_selectors, Shapes::ShapeRef.new(shape: InsightSelectors, location_name: "InsightSelectors"))
|
424
622
|
PutInsightSelectorsResponse.struct_class = Types::PutInsightSelectorsResponse
|
425
623
|
|
624
|
+
Queries.member = Shapes::ShapeRef.new(shape: Query)
|
625
|
+
|
626
|
+
Query.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
|
627
|
+
Query.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
|
628
|
+
Query.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
|
629
|
+
Query.struct_class = Types::Query
|
630
|
+
|
631
|
+
QueryIdNotFoundException.struct_class = Types::QueryIdNotFoundException
|
632
|
+
|
633
|
+
QueryResultColumn.key = Shapes::ShapeRef.new(shape: QueryResultKey)
|
634
|
+
QueryResultColumn.value = Shapes::ShapeRef.new(shape: QueryResultValue)
|
635
|
+
|
636
|
+
QueryResultRow.member = Shapes::ShapeRef.new(shape: QueryResultColumn)
|
637
|
+
|
638
|
+
QueryResultRows.member = Shapes::ShapeRef.new(shape: QueryResultRow)
|
639
|
+
|
640
|
+
QueryStatistics.add_member(:results_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ResultsCount"))
|
641
|
+
QueryStatistics.add_member(:total_results_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalResultsCount"))
|
642
|
+
QueryStatistics.struct_class = Types::QueryStatistics
|
643
|
+
|
644
|
+
QueryStatisticsForDescribeQuery.add_member(:events_matched, Shapes::ShapeRef.new(shape: Long, location_name: "EventsMatched"))
|
645
|
+
QueryStatisticsForDescribeQuery.add_member(:events_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "EventsScanned"))
|
646
|
+
QueryStatisticsForDescribeQuery.add_member(:execution_time_in_millis, Shapes::ShapeRef.new(shape: Integer, location_name: "ExecutionTimeInMillis"))
|
647
|
+
QueryStatisticsForDescribeQuery.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
|
648
|
+
QueryStatisticsForDescribeQuery.struct_class = Types::QueryStatisticsForDescribeQuery
|
649
|
+
|
426
650
|
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"))
|
651
|
+
RemoveTagsRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, required: true, location_name: "TagsList"))
|
428
652
|
RemoveTagsRequest.struct_class = Types::RemoveTagsRequest
|
429
653
|
|
430
654
|
RemoveTagsResponse.struct_class = Types::RemoveTagsResponse
|
@@ -447,6 +671,21 @@ module Aws::CloudTrail
|
|
447
671
|
|
448
672
|
ResourceTypeNotSupportedException.struct_class = Types::ResourceTypeNotSupportedException
|
449
673
|
|
674
|
+
RestoreEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
675
|
+
RestoreEventDataStoreRequest.struct_class = Types::RestoreEventDataStoreRequest
|
676
|
+
|
677
|
+
RestoreEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
|
678
|
+
RestoreEventDataStoreResponse.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
|
679
|
+
RestoreEventDataStoreResponse.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, location_name: "Status"))
|
680
|
+
RestoreEventDataStoreResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
681
|
+
RestoreEventDataStoreResponse.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
|
682
|
+
RestoreEventDataStoreResponse.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
|
683
|
+
RestoreEventDataStoreResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
684
|
+
RestoreEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
685
|
+
RestoreEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
686
|
+
RestoreEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
687
|
+
RestoreEventDataStoreResponse.struct_class = Types::RestoreEventDataStoreResponse
|
688
|
+
|
450
689
|
S3BucketDoesNotExistException.struct_class = Types::S3BucketDoesNotExistException
|
451
690
|
|
452
691
|
StartLoggingRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
@@ -454,13 +693,19 @@ module Aws::CloudTrail
|
|
454
693
|
|
455
694
|
StartLoggingResponse.struct_class = Types::StartLoggingResponse
|
456
695
|
|
696
|
+
StartQueryRequest.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, required: true, location_name: "QueryStatement"))
|
697
|
+
StartQueryRequest.struct_class = Types::StartQueryRequest
|
698
|
+
|
699
|
+
StartQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
|
700
|
+
StartQueryResponse.struct_class = Types::StartQueryResponse
|
701
|
+
|
457
702
|
StopLoggingRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
458
703
|
StopLoggingRequest.struct_class = Types::StopLoggingRequest
|
459
704
|
|
460
705
|
StopLoggingResponse.struct_class = Types::StopLoggingResponse
|
461
706
|
|
462
|
-
Tag.add_member(:key, Shapes::ShapeRef.new(shape:
|
463
|
-
Tag.add_member(:value, Shapes::ShapeRef.new(shape:
|
707
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
708
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
464
709
|
Tag.struct_class = Types::Tag
|
465
710
|
|
466
711
|
TagsLimitExceededException.struct_class = Types::TagsLimitExceededException
|
@@ -504,6 +749,27 @@ module Aws::CloudTrail
|
|
504
749
|
|
505
750
|
UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
|
506
751
|
|
752
|
+
UpdateEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
|
753
|
+
UpdateEventDataStoreRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
|
754
|
+
UpdateEventDataStoreRequest.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
755
|
+
UpdateEventDataStoreRequest.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
|
756
|
+
UpdateEventDataStoreRequest.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
|
757
|
+
UpdateEventDataStoreRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
758
|
+
UpdateEventDataStoreRequest.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
759
|
+
UpdateEventDataStoreRequest.struct_class = Types::UpdateEventDataStoreRequest
|
760
|
+
|
761
|
+
UpdateEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
|
762
|
+
UpdateEventDataStoreResponse.add_member(:name, Shapes::ShapeRef.new(shape: EventDataStoreName, location_name: "Name"))
|
763
|
+
UpdateEventDataStoreResponse.add_member(:status, Shapes::ShapeRef.new(shape: EventDataStoreStatus, location_name: "Status"))
|
764
|
+
UpdateEventDataStoreResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
765
|
+
UpdateEventDataStoreResponse.add_member(:multi_region_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegionEnabled"))
|
766
|
+
UpdateEventDataStoreResponse.add_member(:organization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "OrganizationEnabled"))
|
767
|
+
UpdateEventDataStoreResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
768
|
+
UpdateEventDataStoreResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
|
769
|
+
UpdateEventDataStoreResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedTimestamp"))
|
770
|
+
UpdateEventDataStoreResponse.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "UpdatedTimestamp"))
|
771
|
+
UpdateEventDataStoreResponse.struct_class = Types::UpdateEventDataStoreResponse
|
772
|
+
|
507
773
|
UpdateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
508
774
|
UpdateTrailRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
|
509
775
|
UpdateTrailRequest.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
@@ -563,9 +829,49 @@ module Aws::CloudTrail
|
|
563
829
|
o.errors << Shapes::ShapeRef.new(shape: TagsLimitExceededException)
|
564
830
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
565
831
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
566
834
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
567
835
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
568
836
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
838
|
+
end)
|
839
|
+
|
840
|
+
api.add_operation(:cancel_query, Seahorse::Model::Operation.new.tap do |o|
|
841
|
+
o.name = "CancelQuery"
|
842
|
+
o.http_method = "POST"
|
843
|
+
o.http_request_uri = "/"
|
844
|
+
o.input = Shapes::ShapeRef.new(shape: CancelQueryRequest)
|
845
|
+
o.output = Shapes::ShapeRef.new(shape: CancelQueryResponse)
|
846
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
847
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
848
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveQueryException)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: QueryIdNotFoundException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
855
|
+
end)
|
856
|
+
|
857
|
+
api.add_operation(:create_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
858
|
+
o.name = "CreateEventDataStore"
|
859
|
+
o.http_method = "POST"
|
860
|
+
o.http_request_uri = "/"
|
861
|
+
o.input = Shapes::ShapeRef.new(shape: CreateEventDataStoreRequest)
|
862
|
+
o.output = Shapes::ShapeRef.new(shape: CreateEventDataStoreResponse)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreAlreadyExistsException)
|
864
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreMaxLimitExceededException)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
866
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
869
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
870
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
|
871
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
873
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
569
875
|
end)
|
570
876
|
|
571
877
|
api.add_operation(:create_trail, Seahorse::Model::Operation.new.tap do |o|
|
@@ -602,6 +908,23 @@ module Aws::CloudTrail
|
|
602
908
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
603
909
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
604
910
|
o.errors << Shapes::ShapeRef.new(shape: CloudTrailInvalidClientTokenIdException)
|
911
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
912
|
+
end)
|
913
|
+
|
914
|
+
api.add_operation(:delete_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
915
|
+
o.name = "DeleteEventDataStore"
|
916
|
+
o.http_method = "POST"
|
917
|
+
o.http_request_uri = "/"
|
918
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEventDataStoreRequest)
|
919
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteEventDataStoreResponse)
|
920
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
921
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
922
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreTerminationProtectedException)
|
923
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
924
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
925
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
926
|
+
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
927
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
605
928
|
end)
|
606
929
|
|
607
930
|
api.add_operation(:delete_trail, Seahorse::Model::Operation.new.tap do |o|
|
@@ -620,6 +943,21 @@ module Aws::CloudTrail
|
|
620
943
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
621
944
|
end)
|
622
945
|
|
946
|
+
api.add_operation(:describe_query, Seahorse::Model::Operation.new.tap do |o|
|
947
|
+
o.name = "DescribeQuery"
|
948
|
+
o.http_method = "POST"
|
949
|
+
o.http_request_uri = "/"
|
950
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeQueryRequest)
|
951
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeQueryResponse)
|
952
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
953
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
954
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
955
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
956
|
+
o.errors << Shapes::ShapeRef.new(shape: QueryIdNotFoundException)
|
957
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
958
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
959
|
+
end)
|
960
|
+
|
623
961
|
api.add_operation(:describe_trails, Seahorse::Model::Operation.new.tap do |o|
|
624
962
|
o.name = "DescribeTrails"
|
625
963
|
o.http_method = "POST"
|
@@ -631,6 +969,19 @@ module Aws::CloudTrail
|
|
631
969
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
632
970
|
end)
|
633
971
|
|
972
|
+
api.add_operation(:get_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
973
|
+
o.name = "GetEventDataStore"
|
974
|
+
o.http_method = "POST"
|
975
|
+
o.http_request_uri = "/"
|
976
|
+
o.input = Shapes::ShapeRef.new(shape: GetEventDataStoreRequest)
|
977
|
+
o.output = Shapes::ShapeRef.new(shape: GetEventDataStoreResponse)
|
978
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
979
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
980
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
981
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
982
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
983
|
+
end)
|
984
|
+
|
634
985
|
api.add_operation(:get_event_selectors, Seahorse::Model::Operation.new.tap do |o|
|
635
986
|
o.name = "GetEventSelectors"
|
636
987
|
o.http_method = "POST"
|
@@ -656,6 +1007,28 @@ module Aws::CloudTrail
|
|
656
1007
|
o.errors << Shapes::ShapeRef.new(shape: InsightNotEnabledException)
|
657
1008
|
end)
|
658
1009
|
|
1010
|
+
api.add_operation(:get_query_results, Seahorse::Model::Operation.new.tap do |o|
|
1011
|
+
o.name = "GetQueryResults"
|
1012
|
+
o.http_method = "POST"
|
1013
|
+
o.http_request_uri = "/"
|
1014
|
+
o.input = Shapes::ShapeRef.new(shape: GetQueryResultsRequest)
|
1015
|
+
o.output = Shapes::ShapeRef.new(shape: GetQueryResultsResponse)
|
1016
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1021
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1022
|
+
o.errors << Shapes::ShapeRef.new(shape: QueryIdNotFoundException)
|
1023
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1024
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1025
|
+
o[:pager] = Aws::Pager.new(
|
1026
|
+
tokens: {
|
1027
|
+
"next_token" => "next_token"
|
1028
|
+
}
|
1029
|
+
)
|
1030
|
+
end)
|
1031
|
+
|
659
1032
|
api.add_operation(:get_trail, Seahorse::Model::Operation.new.tap do |o|
|
660
1033
|
o.name = "GetTrail"
|
661
1034
|
o.http_method = "POST"
|
@@ -680,6 +1053,24 @@ module Aws::CloudTrail
|
|
680
1053
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
681
1054
|
end)
|
682
1055
|
|
1056
|
+
api.add_operation(:list_event_data_stores, Seahorse::Model::Operation.new.tap do |o|
|
1057
|
+
o.name = "ListEventDataStores"
|
1058
|
+
o.http_method = "POST"
|
1059
|
+
o.http_request_uri = "/"
|
1060
|
+
o.input = Shapes::ShapeRef.new(shape: ListEventDataStoresRequest)
|
1061
|
+
o.output = Shapes::ShapeRef.new(shape: ListEventDataStoresResponse)
|
1062
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
1063
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1064
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1065
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1066
|
+
o[:pager] = Aws::Pager.new(
|
1067
|
+
limit_key: "max_results",
|
1068
|
+
tokens: {
|
1069
|
+
"next_token" => "next_token"
|
1070
|
+
}
|
1071
|
+
)
|
1072
|
+
end)
|
1073
|
+
|
683
1074
|
api.add_operation(:list_public_keys, Seahorse::Model::Operation.new.tap do |o|
|
684
1075
|
o.name = "ListPublicKeys"
|
685
1076
|
o.http_method = "POST"
|
@@ -697,6 +1088,30 @@ module Aws::CloudTrail
|
|
697
1088
|
)
|
698
1089
|
end)
|
699
1090
|
|
1091
|
+
api.add_operation(:list_queries, Seahorse::Model::Operation.new.tap do |o|
|
1092
|
+
o.name = "ListQueries"
|
1093
|
+
o.http_method = "POST"
|
1094
|
+
o.http_request_uri = "/"
|
1095
|
+
o.input = Shapes::ShapeRef.new(shape: ListQueriesRequest)
|
1096
|
+
o.output = Shapes::ShapeRef.new(shape: ListQueriesResponse)
|
1097
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
1098
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1099
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1100
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDateRangeException)
|
1101
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
1102
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1103
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1104
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStatusException)
|
1105
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1106
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1107
|
+
o[:pager] = Aws::Pager.new(
|
1108
|
+
limit_key: "max_results",
|
1109
|
+
tokens: {
|
1110
|
+
"next_token" => "next_token"
|
1111
|
+
}
|
1112
|
+
)
|
1113
|
+
end)
|
1114
|
+
|
700
1115
|
api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
|
701
1116
|
o.name = "ListTags"
|
702
1117
|
o.http_method = "POST"
|
@@ -707,6 +1122,8 @@ module Aws::CloudTrail
|
|
707
1122
|
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
708
1123
|
o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
|
709
1124
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1125
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1126
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
710
1127
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
711
1128
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
712
1129
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTokenException)
|
@@ -799,11 +1216,33 @@ module Aws::CloudTrail
|
|
799
1216
|
o.errors << Shapes::ShapeRef.new(shape: ResourceTypeNotSupportedException)
|
800
1217
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
801
1218
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
1219
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1220
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
802
1221
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
803
1222
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
804
1223
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
805
1224
|
end)
|
806
1225
|
|
1226
|
+
api.add_operation(:restore_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
1227
|
+
o.name = "RestoreEventDataStore"
|
1228
|
+
o.http_method = "POST"
|
1229
|
+
o.http_request_uri = "/"
|
1230
|
+
o.input = Shapes::ShapeRef.new(shape: RestoreEventDataStoreRequest)
|
1231
|
+
o.output = Shapes::ShapeRef.new(shape: RestoreEventDataStoreResponse)
|
1232
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
1233
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1234
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreMaxLimitExceededException)
|
1235
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreStatusException)
|
1236
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1237
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1238
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1239
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
|
1240
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1241
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
1242
|
+
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1243
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
1244
|
+
end)
|
1245
|
+
|
807
1246
|
api.add_operation(:start_logging, Seahorse::Model::Operation.new.tap do |o|
|
808
1247
|
o.name = "StartLogging"
|
809
1248
|
o.http_method = "POST"
|
@@ -819,6 +1258,22 @@ module Aws::CloudTrail
|
|
819
1258
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
820
1259
|
end)
|
821
1260
|
|
1261
|
+
api.add_operation(:start_query, Seahorse::Model::Operation.new.tap do |o|
|
1262
|
+
o.name = "StartQuery"
|
1263
|
+
o.http_method = "POST"
|
1264
|
+
o.http_request_uri = "/"
|
1265
|
+
o.input = Shapes::ShapeRef.new(shape: StartQueryRequest)
|
1266
|
+
o.output = Shapes::ShapeRef.new(shape: StartQueryResponse)
|
1267
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
1268
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1269
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1270
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1271
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStatementException)
|
1272
|
+
o.errors << Shapes::ShapeRef.new(shape: MaxConcurrentQueriesException)
|
1273
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1275
|
+
end)
|
1276
|
+
|
822
1277
|
api.add_operation(:stop_logging, Seahorse::Model::Operation.new.tap do |o|
|
823
1278
|
o.name = "StopLogging"
|
824
1279
|
o.http_method = "POST"
|
@@ -834,6 +1289,25 @@ module Aws::CloudTrail
|
|
834
1289
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
835
1290
|
end)
|
836
1291
|
|
1292
|
+
api.add_operation(:update_event_data_store, Seahorse::Model::Operation.new.tap do |o|
|
1293
|
+
o.name = "UpdateEventDataStore"
|
1294
|
+
o.http_method = "POST"
|
1295
|
+
o.http_request_uri = "/"
|
1296
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateEventDataStoreRequest)
|
1297
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateEventDataStoreResponse)
|
1298
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
1299
|
+
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1300
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1301
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1302
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1303
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1304
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailAccessNotEnabledException)
|
1305
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
1306
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationsNotInUseException)
|
1307
|
+
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
1308
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
1309
|
+
end)
|
1310
|
+
|
837
1311
|
api.add_operation(:update_trail, Seahorse::Model::Operation.new.tap do |o|
|
838
1312
|
o.name = "UpdateTrail"
|
839
1313
|
o.http_method = "POST"
|