aws-sdk-cloudtrail 1.20.0 → 1.25.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.
- checksums.yaml +5 -5
- data/lib/aws-sdk-cloudtrail.rb +9 -4
- data/lib/aws-sdk-cloudtrail/client.rb +80 -14
- data/lib/aws-sdk-cloudtrail/client_api.rb +86 -0
- data/lib/aws-sdk-cloudtrail/customizations.rb +1 -0
- data/lib/aws-sdk-cloudtrail/errors.rb +486 -0
- data/lib/aws-sdk-cloudtrail/resource.rb +3 -0
- data/lib/aws-sdk-cloudtrail/types.rb +389 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 989cb5b5609319a460437334ddcd58854f02fa1c84c652fcda9616816ee6086c
|
4
|
+
data.tar.gz: 199142d70c64ab36bfc48291aab80e7ef5b46c9aa2749f617fe1622695ea320a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abfd16f253086dd53615f9a1064ea9642fe2ff7ef9e49fbc5f0cc625a5a008e0c822f5ff6741cb53e6a2d256bbe4833f322028ffb369bc29ec2e15de949a868d
|
7
|
+
data.tar.gz: a92429c605daf4a49bb4e756cf00ddc25667e1fd18925e6c08800b0667133c176d21d5f58bc0ced8c50eaeec886f8b8a5344edf1f872d7373b1a8e0964c978a9
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-cloudtrail/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# cloud_trail = Aws::CloudTrail::Client.new
|
30
|
+
# resp = cloud_trail.add_tags(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from AWS CloudTrail
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from AWS CloudTrail are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::CloudTrail::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all AWS CloudTrail API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-cloudtrail/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::CloudTrail
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.25.0'
|
46
51
|
|
47
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:cloudtrail)
|
31
34
|
|
32
35
|
module Aws::CloudTrail
|
36
|
+
# An API client for CloudTrail. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::CloudTrail::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::CloudTrail
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::CloudTrail
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::CloudTrail
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::CloudTrail
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::CloudTrail
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::CloudTrail
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::CloudTrail
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::CloudTrail
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -219,16 +278,15 @@ module Aws::CloudTrail
|
|
219
278
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
279
|
#
|
221
280
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
281
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
282
|
# `Timeout::Error`.
|
224
283
|
#
|
225
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
285
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
229
287
|
#
|
230
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
289
|
+
# seconds a connection is allowed to sit idle before it is
|
232
290
|
# considered stale. Stale connections are closed and removed
|
233
291
|
# from the pool before making a request.
|
234
292
|
#
|
@@ -237,7 +295,7 @@ module Aws::CloudTrail
|
|
237
295
|
# request body. This option has no effect unless the request has
|
238
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
297
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
298
|
+
# request on the session.
|
241
299
|
#
|
242
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -849,6 +907,8 @@ module Aws::CloudTrail
|
|
849
907
|
# * {Types::ListPublicKeysResponse#public_key_list #public_key_list} => Array<Types::PublicKey>
|
850
908
|
# * {Types::ListPublicKeysResponse#next_token #next_token} => String
|
851
909
|
#
|
910
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
911
|
+
#
|
852
912
|
# @example Request syntax with placeholder values
|
853
913
|
#
|
854
914
|
# resp = client.list_public_keys({
|
@@ -891,6 +951,8 @@ module Aws::CloudTrail
|
|
891
951
|
# * {Types::ListTagsResponse#resource_tag_list #resource_tag_list} => Array<Types::ResourceTag>
|
892
952
|
# * {Types::ListTagsResponse#next_token #next_token} => String
|
893
953
|
#
|
954
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
955
|
+
#
|
894
956
|
# @example Request syntax with placeholder values
|
895
957
|
#
|
896
958
|
# resp = client.list_tags({
|
@@ -930,6 +992,8 @@ module Aws::CloudTrail
|
|
930
992
|
# * {Types::ListTrailsResponse#trails #trails} => Array<Types::TrailInfo>
|
931
993
|
# * {Types::ListTrailsResponse#next_token #next_token} => String
|
932
994
|
#
|
995
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
996
|
+
#
|
933
997
|
# @example Request syntax with placeholder values
|
934
998
|
#
|
935
999
|
# resp = client.list_trails({
|
@@ -1030,6 +1094,8 @@ module Aws::CloudTrail
|
|
1030
1094
|
# * {Types::LookupEventsResponse#events #events} => Array<Types::Event>
|
1031
1095
|
# * {Types::LookupEventsResponse#next_token #next_token} => String
|
1032
1096
|
#
|
1097
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1098
|
+
#
|
1033
1099
|
# @example Request syntax with placeholder values
|
1034
1100
|
#
|
1035
1101
|
# resp = client.lookup_events({
|
@@ -1512,7 +1578,7 @@ module Aws::CloudTrail
|
|
1512
1578
|
params: params,
|
1513
1579
|
config: config)
|
1514
1580
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
1515
|
-
context[:gem_version] = '1.
|
1581
|
+
context[:gem_version] = '1.25.0'
|
1516
1582
|
Seahorse::Client::Request.new(handlers, context)
|
1517
1583
|
end
|
1518
1584
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -132,6 +134,12 @@ module Aws::CloudTrail
|
|
132
134
|
|
133
135
|
AddTagsResponse.struct_class = Types::AddTagsResponse
|
134
136
|
|
137
|
+
CloudTrailARNInvalidException.struct_class = Types::CloudTrailARNInvalidException
|
138
|
+
|
139
|
+
CloudTrailAccessNotEnabledException.struct_class = Types::CloudTrailAccessNotEnabledException
|
140
|
+
|
141
|
+
CloudWatchLogsDeliveryUnavailableException.struct_class = Types::CloudWatchLogsDeliveryUnavailableException
|
142
|
+
|
135
143
|
CreateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
136
144
|
CreateTrailRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketName"))
|
137
145
|
CreateTrailRequest.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
@@ -246,11 +254,63 @@ module Aws::CloudTrail
|
|
246
254
|
GetTrailStatusResponse.add_member(:time_logging_stopped, Shapes::ShapeRef.new(shape: String, location_name: "TimeLoggingStopped"))
|
247
255
|
GetTrailStatusResponse.struct_class = Types::GetTrailStatusResponse
|
248
256
|
|
257
|
+
InsightNotEnabledException.struct_class = Types::InsightNotEnabledException
|
258
|
+
|
249
259
|
InsightSelector.add_member(:insight_type, Shapes::ShapeRef.new(shape: InsightType, location_name: "InsightType"))
|
250
260
|
InsightSelector.struct_class = Types::InsightSelector
|
251
261
|
|
252
262
|
InsightSelectors.member = Shapes::ShapeRef.new(shape: InsightSelector)
|
253
263
|
|
264
|
+
InsufficientDependencyServiceAccessPermissionException.struct_class = Types::InsufficientDependencyServiceAccessPermissionException
|
265
|
+
|
266
|
+
InsufficientEncryptionPolicyException.struct_class = Types::InsufficientEncryptionPolicyException
|
267
|
+
|
268
|
+
InsufficientS3BucketPolicyException.struct_class = Types::InsufficientS3BucketPolicyException
|
269
|
+
|
270
|
+
InsufficientSnsTopicPolicyException.struct_class = Types::InsufficientSnsTopicPolicyException
|
271
|
+
|
272
|
+
InvalidCloudWatchLogsLogGroupArnException.struct_class = Types::InvalidCloudWatchLogsLogGroupArnException
|
273
|
+
|
274
|
+
InvalidCloudWatchLogsRoleArnException.struct_class = Types::InvalidCloudWatchLogsRoleArnException
|
275
|
+
|
276
|
+
InvalidEventCategoryException.struct_class = Types::InvalidEventCategoryException
|
277
|
+
|
278
|
+
InvalidEventSelectorsException.struct_class = Types::InvalidEventSelectorsException
|
279
|
+
|
280
|
+
InvalidHomeRegionException.struct_class = Types::InvalidHomeRegionException
|
281
|
+
|
282
|
+
InvalidInsightSelectorsException.struct_class = Types::InvalidInsightSelectorsException
|
283
|
+
|
284
|
+
InvalidKmsKeyIdException.struct_class = Types::InvalidKmsKeyIdException
|
285
|
+
|
286
|
+
InvalidLookupAttributesException.struct_class = Types::InvalidLookupAttributesException
|
287
|
+
|
288
|
+
InvalidMaxResultsException.struct_class = Types::InvalidMaxResultsException
|
289
|
+
|
290
|
+
InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
|
291
|
+
|
292
|
+
InvalidParameterCombinationException.struct_class = Types::InvalidParameterCombinationException
|
293
|
+
|
294
|
+
InvalidS3BucketNameException.struct_class = Types::InvalidS3BucketNameException
|
295
|
+
|
296
|
+
InvalidS3PrefixException.struct_class = Types::InvalidS3PrefixException
|
297
|
+
|
298
|
+
InvalidSnsTopicNameException.struct_class = Types::InvalidSnsTopicNameException
|
299
|
+
|
300
|
+
InvalidTagParameterException.struct_class = Types::InvalidTagParameterException
|
301
|
+
|
302
|
+
InvalidTimeRangeException.struct_class = Types::InvalidTimeRangeException
|
303
|
+
|
304
|
+
InvalidTokenException.struct_class = Types::InvalidTokenException
|
305
|
+
|
306
|
+
InvalidTrailNameException.struct_class = Types::InvalidTrailNameException
|
307
|
+
|
308
|
+
KmsException.struct_class = Types::KmsException
|
309
|
+
|
310
|
+
KmsKeyDisabledException.struct_class = Types::KmsKeyDisabledException
|
311
|
+
|
312
|
+
KmsKeyNotFoundException.struct_class = Types::KmsKeyNotFoundException
|
313
|
+
|
254
314
|
ListPublicKeysRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
|
255
315
|
ListPublicKeysRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
|
256
316
|
ListPublicKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -293,6 +353,16 @@ module Aws::CloudTrail
|
|
293
353
|
LookupEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
294
354
|
LookupEventsResponse.struct_class = Types::LookupEventsResponse
|
295
355
|
|
356
|
+
MaximumNumberOfTrailsExceededException.struct_class = Types::MaximumNumberOfTrailsExceededException
|
357
|
+
|
358
|
+
NotOrganizationMasterAccountException.struct_class = Types::NotOrganizationMasterAccountException
|
359
|
+
|
360
|
+
OperationNotPermittedException.struct_class = Types::OperationNotPermittedException
|
361
|
+
|
362
|
+
OrganizationNotInAllFeaturesModeException.struct_class = Types::OrganizationNotInAllFeaturesModeException
|
363
|
+
|
364
|
+
OrganizationsNotInUseException.struct_class = Types::OrganizationsNotInUseException
|
365
|
+
|
296
366
|
PublicKey.add_member(:value, Shapes::ShapeRef.new(shape: ByteBuffer, location_name: "Value"))
|
297
367
|
PublicKey.add_member(:validity_start_time, Shapes::ShapeRef.new(shape: Date, location_name: "ValidityStartTime"))
|
298
368
|
PublicKey.add_member(:validity_end_time, Shapes::ShapeRef.new(shape: Date, location_name: "ValidityEndTime"))
|
@@ -331,12 +401,18 @@ module Aws::CloudTrail
|
|
331
401
|
|
332
402
|
ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
|
333
403
|
|
404
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
405
|
+
|
334
406
|
ResourceTag.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
335
407
|
ResourceTag.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
|
336
408
|
ResourceTag.struct_class = Types::ResourceTag
|
337
409
|
|
338
410
|
ResourceTagList.member = Shapes::ShapeRef.new(shape: ResourceTag)
|
339
411
|
|
412
|
+
ResourceTypeNotSupportedException.struct_class = Types::ResourceTypeNotSupportedException
|
413
|
+
|
414
|
+
S3BucketDoesNotExistException.struct_class = Types::S3BucketDoesNotExistException
|
415
|
+
|
340
416
|
StartLoggingRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
341
417
|
StartLoggingRequest.struct_class = Types::StartLoggingRequest
|
342
418
|
|
@@ -351,6 +427,8 @@ module Aws::CloudTrail
|
|
351
427
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
352
428
|
Tag.struct_class = Types::Tag
|
353
429
|
|
430
|
+
TagsLimitExceededException.struct_class = Types::TagsLimitExceededException
|
431
|
+
|
354
432
|
TagsList.member = Shapes::ShapeRef.new(shape: Tag)
|
355
433
|
|
356
434
|
Trail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
@@ -371,6 +449,8 @@ module Aws::CloudTrail
|
|
371
449
|
Trail.add_member(:is_organization_trail, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsOrganizationTrail"))
|
372
450
|
Trail.struct_class = Types::Trail
|
373
451
|
|
452
|
+
TrailAlreadyExistsException.struct_class = Types::TrailAlreadyExistsException
|
453
|
+
|
374
454
|
TrailInfo.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
|
375
455
|
TrailInfo.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
376
456
|
TrailInfo.add_member(:home_region, Shapes::ShapeRef.new(shape: String, location_name: "HomeRegion"))
|
@@ -380,8 +460,14 @@ module Aws::CloudTrail
|
|
380
460
|
|
381
461
|
TrailNameList.member = Shapes::ShapeRef.new(shape: String)
|
382
462
|
|
463
|
+
TrailNotFoundException.struct_class = Types::TrailNotFoundException
|
464
|
+
|
465
|
+
TrailNotProvidedException.struct_class = Types::TrailNotProvidedException
|
466
|
+
|
383
467
|
Trails.member = Shapes::ShapeRef.new(shape: TrailInfo)
|
384
468
|
|
469
|
+
UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
|
470
|
+
|
385
471
|
UpdateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
386
472
|
UpdateTrailRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
|
387
473
|
UpdateTrailRequest.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,9 +8,493 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::CloudTrail
|
11
|
+
|
12
|
+
# When CloudTrail returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::CloudTrail::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all CloudTrail errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::CloudTrail::Errors::ServiceError
|
20
|
+
# # rescues all CloudTrail API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {CloudTrailARNInvalidException}
|
31
|
+
# * {CloudTrailAccessNotEnabledException}
|
32
|
+
# * {CloudWatchLogsDeliveryUnavailableException}
|
33
|
+
# * {InsightNotEnabledException}
|
34
|
+
# * {InsufficientDependencyServiceAccessPermissionException}
|
35
|
+
# * {InsufficientEncryptionPolicyException}
|
36
|
+
# * {InsufficientS3BucketPolicyException}
|
37
|
+
# * {InsufficientSnsTopicPolicyException}
|
38
|
+
# * {InvalidCloudWatchLogsLogGroupArnException}
|
39
|
+
# * {InvalidCloudWatchLogsRoleArnException}
|
40
|
+
# * {InvalidEventCategoryException}
|
41
|
+
# * {InvalidEventSelectorsException}
|
42
|
+
# * {InvalidHomeRegionException}
|
43
|
+
# * {InvalidInsightSelectorsException}
|
44
|
+
# * {InvalidKmsKeyIdException}
|
45
|
+
# * {InvalidLookupAttributesException}
|
46
|
+
# * {InvalidMaxResultsException}
|
47
|
+
# * {InvalidNextTokenException}
|
48
|
+
# * {InvalidParameterCombinationException}
|
49
|
+
# * {InvalidS3BucketNameException}
|
50
|
+
# * {InvalidS3PrefixException}
|
51
|
+
# * {InvalidSnsTopicNameException}
|
52
|
+
# * {InvalidTagParameterException}
|
53
|
+
# * {InvalidTimeRangeException}
|
54
|
+
# * {InvalidTokenException}
|
55
|
+
# * {InvalidTrailNameException}
|
56
|
+
# * {KmsException}
|
57
|
+
# * {KmsKeyDisabledException}
|
58
|
+
# * {KmsKeyNotFoundException}
|
59
|
+
# * {MaximumNumberOfTrailsExceededException}
|
60
|
+
# * {NotOrganizationMasterAccountException}
|
61
|
+
# * {OperationNotPermittedException}
|
62
|
+
# * {OrganizationNotInAllFeaturesModeException}
|
63
|
+
# * {OrganizationsNotInUseException}
|
64
|
+
# * {ResourceNotFoundException}
|
65
|
+
# * {ResourceTypeNotSupportedException}
|
66
|
+
# * {S3BucketDoesNotExistException}
|
67
|
+
# * {TagsLimitExceededException}
|
68
|
+
# * {TrailAlreadyExistsException}
|
69
|
+
# * {TrailNotFoundException}
|
70
|
+
# * {TrailNotProvidedException}
|
71
|
+
# * {UnsupportedOperationException}
|
72
|
+
#
|
73
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
74
|
+
# if they are not defined above.
|
9
75
|
module Errors
|
10
76
|
|
11
77
|
extend Aws::Errors::DynamicErrors
|
12
78
|
|
79
|
+
class CloudTrailARNInvalidException < ServiceError
|
80
|
+
|
81
|
+
# @param [Seahorse::Client::RequestContext] context
|
82
|
+
# @param [String] message
|
83
|
+
# @param [Aws::CloudTrail::Types::CloudTrailARNInvalidException] data
|
84
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
85
|
+
super(context, message, data)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
class CloudTrailAccessNotEnabledException < ServiceError
|
90
|
+
|
91
|
+
# @param [Seahorse::Client::RequestContext] context
|
92
|
+
# @param [String] message
|
93
|
+
# @param [Aws::CloudTrail::Types::CloudTrailAccessNotEnabledException] data
|
94
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
95
|
+
super(context, message, data)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
class CloudWatchLogsDeliveryUnavailableException < ServiceError
|
100
|
+
|
101
|
+
# @param [Seahorse::Client::RequestContext] context
|
102
|
+
# @param [String] message
|
103
|
+
# @param [Aws::CloudTrail::Types::CloudWatchLogsDeliveryUnavailableException] data
|
104
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
105
|
+
super(context, message, data)
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
class InsightNotEnabledException < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::CloudTrail::Types::InsightNotEnabledException] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
class InsufficientDependencyServiceAccessPermissionException < ServiceError
|
120
|
+
|
121
|
+
# @param [Seahorse::Client::RequestContext] context
|
122
|
+
# @param [String] message
|
123
|
+
# @param [Aws::CloudTrail::Types::InsufficientDependencyServiceAccessPermissionException] data
|
124
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
125
|
+
super(context, message, data)
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
class InsufficientEncryptionPolicyException < ServiceError
|
130
|
+
|
131
|
+
# @param [Seahorse::Client::RequestContext] context
|
132
|
+
# @param [String] message
|
133
|
+
# @param [Aws::CloudTrail::Types::InsufficientEncryptionPolicyException] data
|
134
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
135
|
+
super(context, message, data)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
class InsufficientS3BucketPolicyException < ServiceError
|
140
|
+
|
141
|
+
# @param [Seahorse::Client::RequestContext] context
|
142
|
+
# @param [String] message
|
143
|
+
# @param [Aws::CloudTrail::Types::InsufficientS3BucketPolicyException] data
|
144
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
145
|
+
super(context, message, data)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
class InsufficientSnsTopicPolicyException < ServiceError
|
150
|
+
|
151
|
+
# @param [Seahorse::Client::RequestContext] context
|
152
|
+
# @param [String] message
|
153
|
+
# @param [Aws::CloudTrail::Types::InsufficientSnsTopicPolicyException] data
|
154
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
155
|
+
super(context, message, data)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
class InvalidCloudWatchLogsLogGroupArnException < ServiceError
|
160
|
+
|
161
|
+
# @param [Seahorse::Client::RequestContext] context
|
162
|
+
# @param [String] message
|
163
|
+
# @param [Aws::CloudTrail::Types::InvalidCloudWatchLogsLogGroupArnException] data
|
164
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
165
|
+
super(context, message, data)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
class InvalidCloudWatchLogsRoleArnException < ServiceError
|
170
|
+
|
171
|
+
# @param [Seahorse::Client::RequestContext] context
|
172
|
+
# @param [String] message
|
173
|
+
# @param [Aws::CloudTrail::Types::InvalidCloudWatchLogsRoleArnException] data
|
174
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
175
|
+
super(context, message, data)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
class InvalidEventCategoryException < ServiceError
|
180
|
+
|
181
|
+
# @param [Seahorse::Client::RequestContext] context
|
182
|
+
# @param [String] message
|
183
|
+
# @param [Aws::CloudTrail::Types::InvalidEventCategoryException] data
|
184
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
185
|
+
super(context, message, data)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
class InvalidEventSelectorsException < ServiceError
|
190
|
+
|
191
|
+
# @param [Seahorse::Client::RequestContext] context
|
192
|
+
# @param [String] message
|
193
|
+
# @param [Aws::CloudTrail::Types::InvalidEventSelectorsException] data
|
194
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
195
|
+
super(context, message, data)
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
199
|
+
class InvalidHomeRegionException < ServiceError
|
200
|
+
|
201
|
+
# @param [Seahorse::Client::RequestContext] context
|
202
|
+
# @param [String] message
|
203
|
+
# @param [Aws::CloudTrail::Types::InvalidHomeRegionException] data
|
204
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
205
|
+
super(context, message, data)
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
class InvalidInsightSelectorsException < ServiceError
|
210
|
+
|
211
|
+
# @param [Seahorse::Client::RequestContext] context
|
212
|
+
# @param [String] message
|
213
|
+
# @param [Aws::CloudTrail::Types::InvalidInsightSelectorsException] data
|
214
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
215
|
+
super(context, message, data)
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
class InvalidKmsKeyIdException < ServiceError
|
220
|
+
|
221
|
+
# @param [Seahorse::Client::RequestContext] context
|
222
|
+
# @param [String] message
|
223
|
+
# @param [Aws::CloudTrail::Types::InvalidKmsKeyIdException] data
|
224
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
225
|
+
super(context, message, data)
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
class InvalidLookupAttributesException < ServiceError
|
230
|
+
|
231
|
+
# @param [Seahorse::Client::RequestContext] context
|
232
|
+
# @param [String] message
|
233
|
+
# @param [Aws::CloudTrail::Types::InvalidLookupAttributesException] data
|
234
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
235
|
+
super(context, message, data)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
class InvalidMaxResultsException < ServiceError
|
240
|
+
|
241
|
+
# @param [Seahorse::Client::RequestContext] context
|
242
|
+
# @param [String] message
|
243
|
+
# @param [Aws::CloudTrail::Types::InvalidMaxResultsException] data
|
244
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
245
|
+
super(context, message, data)
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
class InvalidNextTokenException < ServiceError
|
250
|
+
|
251
|
+
# @param [Seahorse::Client::RequestContext] context
|
252
|
+
# @param [String] message
|
253
|
+
# @param [Aws::CloudTrail::Types::InvalidNextTokenException] data
|
254
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
255
|
+
super(context, message, data)
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
class InvalidParameterCombinationException < ServiceError
|
260
|
+
|
261
|
+
# @param [Seahorse::Client::RequestContext] context
|
262
|
+
# @param [String] message
|
263
|
+
# @param [Aws::CloudTrail::Types::InvalidParameterCombinationException] data
|
264
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
265
|
+
super(context, message, data)
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class InvalidS3BucketNameException < ServiceError
|
270
|
+
|
271
|
+
# @param [Seahorse::Client::RequestContext] context
|
272
|
+
# @param [String] message
|
273
|
+
# @param [Aws::CloudTrail::Types::InvalidS3BucketNameException] data
|
274
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
275
|
+
super(context, message, data)
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
class InvalidS3PrefixException < ServiceError
|
280
|
+
|
281
|
+
# @param [Seahorse::Client::RequestContext] context
|
282
|
+
# @param [String] message
|
283
|
+
# @param [Aws::CloudTrail::Types::InvalidS3PrefixException] data
|
284
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
285
|
+
super(context, message, data)
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
class InvalidSnsTopicNameException < ServiceError
|
290
|
+
|
291
|
+
# @param [Seahorse::Client::RequestContext] context
|
292
|
+
# @param [String] message
|
293
|
+
# @param [Aws::CloudTrail::Types::InvalidSnsTopicNameException] data
|
294
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
295
|
+
super(context, message, data)
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
class InvalidTagParameterException < ServiceError
|
300
|
+
|
301
|
+
# @param [Seahorse::Client::RequestContext] context
|
302
|
+
# @param [String] message
|
303
|
+
# @param [Aws::CloudTrail::Types::InvalidTagParameterException] data
|
304
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
305
|
+
super(context, message, data)
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
309
|
+
class InvalidTimeRangeException < ServiceError
|
310
|
+
|
311
|
+
# @param [Seahorse::Client::RequestContext] context
|
312
|
+
# @param [String] message
|
313
|
+
# @param [Aws::CloudTrail::Types::InvalidTimeRangeException] data
|
314
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
315
|
+
super(context, message, data)
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
class InvalidTokenException < ServiceError
|
320
|
+
|
321
|
+
# @param [Seahorse::Client::RequestContext] context
|
322
|
+
# @param [String] message
|
323
|
+
# @param [Aws::CloudTrail::Types::InvalidTokenException] data
|
324
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
325
|
+
super(context, message, data)
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
class InvalidTrailNameException < ServiceError
|
330
|
+
|
331
|
+
# @param [Seahorse::Client::RequestContext] context
|
332
|
+
# @param [String] message
|
333
|
+
# @param [Aws::CloudTrail::Types::InvalidTrailNameException] data
|
334
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
335
|
+
super(context, message, data)
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
class KmsException < ServiceError
|
340
|
+
|
341
|
+
# @param [Seahorse::Client::RequestContext] context
|
342
|
+
# @param [String] message
|
343
|
+
# @param [Aws::CloudTrail::Types::KmsException] data
|
344
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
345
|
+
super(context, message, data)
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
class KmsKeyDisabledException < ServiceError
|
350
|
+
|
351
|
+
# @param [Seahorse::Client::RequestContext] context
|
352
|
+
# @param [String] message
|
353
|
+
# @param [Aws::CloudTrail::Types::KmsKeyDisabledException] data
|
354
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
355
|
+
super(context, message, data)
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
class KmsKeyNotFoundException < ServiceError
|
360
|
+
|
361
|
+
# @param [Seahorse::Client::RequestContext] context
|
362
|
+
# @param [String] message
|
363
|
+
# @param [Aws::CloudTrail::Types::KmsKeyNotFoundException] data
|
364
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
365
|
+
super(context, message, data)
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
class MaximumNumberOfTrailsExceededException < ServiceError
|
370
|
+
|
371
|
+
# @param [Seahorse::Client::RequestContext] context
|
372
|
+
# @param [String] message
|
373
|
+
# @param [Aws::CloudTrail::Types::MaximumNumberOfTrailsExceededException] data
|
374
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
375
|
+
super(context, message, data)
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
class NotOrganizationMasterAccountException < ServiceError
|
380
|
+
|
381
|
+
# @param [Seahorse::Client::RequestContext] context
|
382
|
+
# @param [String] message
|
383
|
+
# @param [Aws::CloudTrail::Types::NotOrganizationMasterAccountException] data
|
384
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
385
|
+
super(context, message, data)
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
class OperationNotPermittedException < ServiceError
|
390
|
+
|
391
|
+
# @param [Seahorse::Client::RequestContext] context
|
392
|
+
# @param [String] message
|
393
|
+
# @param [Aws::CloudTrail::Types::OperationNotPermittedException] data
|
394
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
395
|
+
super(context, message, data)
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
class OrganizationNotInAllFeaturesModeException < ServiceError
|
400
|
+
|
401
|
+
# @param [Seahorse::Client::RequestContext] context
|
402
|
+
# @param [String] message
|
403
|
+
# @param [Aws::CloudTrail::Types::OrganizationNotInAllFeaturesModeException] data
|
404
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
405
|
+
super(context, message, data)
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
class OrganizationsNotInUseException < ServiceError
|
410
|
+
|
411
|
+
# @param [Seahorse::Client::RequestContext] context
|
412
|
+
# @param [String] message
|
413
|
+
# @param [Aws::CloudTrail::Types::OrganizationsNotInUseException] data
|
414
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
415
|
+
super(context, message, data)
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
class ResourceNotFoundException < ServiceError
|
420
|
+
|
421
|
+
# @param [Seahorse::Client::RequestContext] context
|
422
|
+
# @param [String] message
|
423
|
+
# @param [Aws::CloudTrail::Types::ResourceNotFoundException] data
|
424
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
425
|
+
super(context, message, data)
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
class ResourceTypeNotSupportedException < ServiceError
|
430
|
+
|
431
|
+
# @param [Seahorse::Client::RequestContext] context
|
432
|
+
# @param [String] message
|
433
|
+
# @param [Aws::CloudTrail::Types::ResourceTypeNotSupportedException] data
|
434
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
435
|
+
super(context, message, data)
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
class S3BucketDoesNotExistException < ServiceError
|
440
|
+
|
441
|
+
# @param [Seahorse::Client::RequestContext] context
|
442
|
+
# @param [String] message
|
443
|
+
# @param [Aws::CloudTrail::Types::S3BucketDoesNotExistException] data
|
444
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
445
|
+
super(context, message, data)
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
class TagsLimitExceededException < ServiceError
|
450
|
+
|
451
|
+
# @param [Seahorse::Client::RequestContext] context
|
452
|
+
# @param [String] message
|
453
|
+
# @param [Aws::CloudTrail::Types::TagsLimitExceededException] data
|
454
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
455
|
+
super(context, message, data)
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
class TrailAlreadyExistsException < ServiceError
|
460
|
+
|
461
|
+
# @param [Seahorse::Client::RequestContext] context
|
462
|
+
# @param [String] message
|
463
|
+
# @param [Aws::CloudTrail::Types::TrailAlreadyExistsException] data
|
464
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
465
|
+
super(context, message, data)
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
469
|
+
class TrailNotFoundException < ServiceError
|
470
|
+
|
471
|
+
# @param [Seahorse::Client::RequestContext] context
|
472
|
+
# @param [String] message
|
473
|
+
# @param [Aws::CloudTrail::Types::TrailNotFoundException] data
|
474
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
475
|
+
super(context, message, data)
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
class TrailNotProvidedException < ServiceError
|
480
|
+
|
481
|
+
# @param [Seahorse::Client::RequestContext] context
|
482
|
+
# @param [String] message
|
483
|
+
# @param [Aws::CloudTrail::Types::TrailNotProvidedException] data
|
484
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
485
|
+
super(context, message, data)
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
class UnsupportedOperationException < ServiceError
|
490
|
+
|
491
|
+
# @param [Seahorse::Client::RequestContext] context
|
492
|
+
# @param [String] message
|
493
|
+
# @param [Aws::CloudTrail::Types::UnsupportedOperationException] data
|
494
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
495
|
+
super(context, message, data)
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
13
499
|
end
|
14
500
|
end
|