aws-sdk-cloudtrail 1.49.0 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +401 -15
- data/lib/aws-sdk-cloudtrail/client_api.rb +303 -0
- data/lib/aws-sdk-cloudtrail/errors.rb +77 -0
- data/lib/aws-sdk-cloudtrail/types.rb +755 -16
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- metadata +2 -2
@@ -27,6 +27,9 @@ module Aws::CloudTrail
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {AccountHasOngoingImportException}
|
31
|
+
# * {ChannelARNInvalidException}
|
32
|
+
# * {ChannelNotFoundException}
|
30
33
|
# * {CloudTrailARNInvalidException}
|
31
34
|
# * {CloudTrailAccessNotEnabledException}
|
32
35
|
# * {CloudTrailInvalidClientTokenIdException}
|
@@ -34,9 +37,11 @@ module Aws::CloudTrail
|
|
34
37
|
# * {ConflictException}
|
35
38
|
# * {EventDataStoreARNInvalidException}
|
36
39
|
# * {EventDataStoreAlreadyExistsException}
|
40
|
+
# * {EventDataStoreHasOngoingImportException}
|
37
41
|
# * {EventDataStoreMaxLimitExceededException}
|
38
42
|
# * {EventDataStoreNotFoundException}
|
39
43
|
# * {EventDataStoreTerminationProtectedException}
|
44
|
+
# * {ImportNotFoundException}
|
40
45
|
# * {InactiveEventDataStoreException}
|
41
46
|
# * {InactiveQueryException}
|
42
47
|
# * {InsightNotEnabledException}
|
@@ -48,9 +53,11 @@ module Aws::CloudTrail
|
|
48
53
|
# * {InvalidCloudWatchLogsRoleArnException}
|
49
54
|
# * {InvalidDateRangeException}
|
50
55
|
# * {InvalidEventCategoryException}
|
56
|
+
# * {InvalidEventDataStoreCategoryException}
|
51
57
|
# * {InvalidEventDataStoreStatusException}
|
52
58
|
# * {InvalidEventSelectorsException}
|
53
59
|
# * {InvalidHomeRegionException}
|
60
|
+
# * {InvalidImportSourceException}
|
54
61
|
# * {InvalidInsightSelectorsException}
|
55
62
|
# * {InvalidKmsKeyIdException}
|
56
63
|
# * {InvalidLookupAttributesException}
|
@@ -92,6 +99,36 @@ module Aws::CloudTrail
|
|
92
99
|
|
93
100
|
extend Aws::Errors::DynamicErrors
|
94
101
|
|
102
|
+
class AccountHasOngoingImportException < ServiceError
|
103
|
+
|
104
|
+
# @param [Seahorse::Client::RequestContext] context
|
105
|
+
# @param [String] message
|
106
|
+
# @param [Aws::CloudTrail::Types::AccountHasOngoingImportException] data
|
107
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
108
|
+
super(context, message, data)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class ChannelARNInvalidException < ServiceError
|
113
|
+
|
114
|
+
# @param [Seahorse::Client::RequestContext] context
|
115
|
+
# @param [String] message
|
116
|
+
# @param [Aws::CloudTrail::Types::ChannelARNInvalidException] data
|
117
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
118
|
+
super(context, message, data)
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
class ChannelNotFoundException < ServiceError
|
123
|
+
|
124
|
+
# @param [Seahorse::Client::RequestContext] context
|
125
|
+
# @param [String] message
|
126
|
+
# @param [Aws::CloudTrail::Types::ChannelNotFoundException] data
|
127
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
128
|
+
super(context, message, data)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
95
132
|
class CloudTrailARNInvalidException < ServiceError
|
96
133
|
|
97
134
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -162,6 +199,16 @@ module Aws::CloudTrail
|
|
162
199
|
end
|
163
200
|
end
|
164
201
|
|
202
|
+
class EventDataStoreHasOngoingImportException < ServiceError
|
203
|
+
|
204
|
+
# @param [Seahorse::Client::RequestContext] context
|
205
|
+
# @param [String] message
|
206
|
+
# @param [Aws::CloudTrail::Types::EventDataStoreHasOngoingImportException] data
|
207
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
208
|
+
super(context, message, data)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
165
212
|
class EventDataStoreMaxLimitExceededException < ServiceError
|
166
213
|
|
167
214
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -192,6 +239,16 @@ module Aws::CloudTrail
|
|
192
239
|
end
|
193
240
|
end
|
194
241
|
|
242
|
+
class ImportNotFoundException < ServiceError
|
243
|
+
|
244
|
+
# @param [Seahorse::Client::RequestContext] context
|
245
|
+
# @param [String] message
|
246
|
+
# @param [Aws::CloudTrail::Types::ImportNotFoundException] data
|
247
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
248
|
+
super(context, message, data)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
195
252
|
class InactiveEventDataStoreException < ServiceError
|
196
253
|
|
197
254
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -302,6 +359,16 @@ module Aws::CloudTrail
|
|
302
359
|
end
|
303
360
|
end
|
304
361
|
|
362
|
+
class InvalidEventDataStoreCategoryException < ServiceError
|
363
|
+
|
364
|
+
# @param [Seahorse::Client::RequestContext] context
|
365
|
+
# @param [String] message
|
366
|
+
# @param [Aws::CloudTrail::Types::InvalidEventDataStoreCategoryException] data
|
367
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
368
|
+
super(context, message, data)
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
305
372
|
class InvalidEventDataStoreStatusException < ServiceError
|
306
373
|
|
307
374
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -332,6 +399,16 @@ module Aws::CloudTrail
|
|
332
399
|
end
|
333
400
|
end
|
334
401
|
|
402
|
+
class InvalidImportSourceException < ServiceError
|
403
|
+
|
404
|
+
# @param [Seahorse::Client::RequestContext] context
|
405
|
+
# @param [String] message
|
406
|
+
# @param [Aws::CloudTrail::Types::InvalidImportSourceException] data
|
407
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
408
|
+
super(context, message, data)
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
335
412
|
class InvalidInsightSelectorsException < ServiceError
|
336
413
|
|
337
414
|
# @param [Seahorse::Client::RequestContext] context
|