aws-sdk-cloudtrail 1.53.0 → 1.55.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 +132 -9
- data/lib/aws-sdk-cloudtrail/client_api.rb +135 -4
- data/lib/aws-sdk-cloudtrail/endpoint_provider.rb +59 -60
- data/lib/aws-sdk-cloudtrail/endpoints.rb +28 -0
- data/lib/aws-sdk-cloudtrail/errors.rb +77 -0
- data/lib/aws-sdk-cloudtrail/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-cloudtrail/types.rb +204 -511
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- metadata +2 -2
@@ -50,70 +50,69 @@ IHRoaXMgcmVxdWVzdCIsInR5cGUiOiJTdHJpbmcifX0sInJ1bGVzIjpbeyJj
|
|
50
50
|
b25kaXRpb25zIjpbeyJmbiI6ImF3cy5wYXJ0aXRpb24iLCJhcmd2IjpbeyJy
|
51
51
|
ZWYiOiJSZWdpb24ifV0sImFzc2lnbiI6IlBhcnRpdGlvblJlc3VsdCJ9XSwi
|
52
52
|
dHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W3siZm4iOiJp
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
53
|
+
c1NldCIsImFyZ3YiOlt7InJlZiI6IkVuZHBvaW50In1dfV0sInR5cGUiOiJ0
|
54
|
+
cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvb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
+
IjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBw
|
111
|
+
YXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoi
|
112
|
+
ZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6
|
113
|
+
Imh0dHBzOi8vY2xvdWR0cmFpbC57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0
|
114
|
+
I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0
|
115
|
+
eXBlIjoiZW5kcG9pbnQifV19XX0=
|
117
116
|
|
118
117
|
JSON
|
119
118
|
end
|
@@ -95,6 +95,20 @@ module Aws::CloudTrail
|
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
98
|
+
class DeregisterOrganizationDelegatedAdmin
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::CloudTrail::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
98
112
|
class DescribeQuery
|
99
113
|
def self.build(context)
|
100
114
|
unless context.config.regional_endpoint
|
@@ -389,6 +403,20 @@ module Aws::CloudTrail
|
|
389
403
|
end
|
390
404
|
end
|
391
405
|
|
406
|
+
class RegisterOrganizationDelegatedAdmin
|
407
|
+
def self.build(context)
|
408
|
+
unless context.config.regional_endpoint
|
409
|
+
endpoint = context.config.endpoint.to_s
|
410
|
+
end
|
411
|
+
Aws::CloudTrail::EndpointParameters.new(
|
412
|
+
region: context.config.region,
|
413
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
414
|
+
use_fips: context.config.use_fips_endpoint,
|
415
|
+
endpoint: endpoint,
|
416
|
+
)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
392
420
|
class RemoveTags
|
393
421
|
def self.build(context)
|
394
422
|
unless context.config.regional_endpoint
|
@@ -28,6 +28,10 @@ module Aws::CloudTrail
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccountHasOngoingImportException}
|
31
|
+
# * {AccountNotFoundException}
|
32
|
+
# * {AccountNotRegisteredException}
|
33
|
+
# * {AccountRegisteredException}
|
34
|
+
# * {CannotDelegateManagementAccountException}
|
31
35
|
# * {ChannelARNInvalidException}
|
32
36
|
# * {ChannelNotFoundException}
|
33
37
|
# * {CloudTrailARNInvalidException}
|
@@ -35,6 +39,7 @@ module Aws::CloudTrail
|
|
35
39
|
# * {CloudTrailInvalidClientTokenIdException}
|
36
40
|
# * {CloudWatchLogsDeliveryUnavailableException}
|
37
41
|
# * {ConflictException}
|
42
|
+
# * {DelegatedAdminAccountLimitExceededException}
|
38
43
|
# * {EventDataStoreARNInvalidException}
|
39
44
|
# * {EventDataStoreAlreadyExistsException}
|
40
45
|
# * {EventDataStoreHasOngoingImportException}
|
@@ -79,6 +84,8 @@ module Aws::CloudTrail
|
|
79
84
|
# * {KmsKeyNotFoundException}
|
80
85
|
# * {MaxConcurrentQueriesException}
|
81
86
|
# * {MaximumNumberOfTrailsExceededException}
|
87
|
+
# * {NoManagementAccountSLRExistsException}
|
88
|
+
# * {NotOrganizationManagementAccountException}
|
82
89
|
# * {NotOrganizationMasterAccountException}
|
83
90
|
# * {OperationNotPermittedException}
|
84
91
|
# * {OrganizationNotInAllFeaturesModeException}
|
@@ -109,6 +116,46 @@ module Aws::CloudTrail
|
|
109
116
|
end
|
110
117
|
end
|
111
118
|
|
119
|
+
class AccountNotFoundException < ServiceError
|
120
|
+
|
121
|
+
# @param [Seahorse::Client::RequestContext] context
|
122
|
+
# @param [String] message
|
123
|
+
# @param [Aws::CloudTrail::Types::AccountNotFoundException] data
|
124
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
125
|
+
super(context, message, data)
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
class AccountNotRegisteredException < ServiceError
|
130
|
+
|
131
|
+
# @param [Seahorse::Client::RequestContext] context
|
132
|
+
# @param [String] message
|
133
|
+
# @param [Aws::CloudTrail::Types::AccountNotRegisteredException] data
|
134
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
135
|
+
super(context, message, data)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
class AccountRegisteredException < ServiceError
|
140
|
+
|
141
|
+
# @param [Seahorse::Client::RequestContext] context
|
142
|
+
# @param [String] message
|
143
|
+
# @param [Aws::CloudTrail::Types::AccountRegisteredException] data
|
144
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
145
|
+
super(context, message, data)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
class CannotDelegateManagementAccountException < ServiceError
|
150
|
+
|
151
|
+
# @param [Seahorse::Client::RequestContext] context
|
152
|
+
# @param [String] message
|
153
|
+
# @param [Aws::CloudTrail::Types::CannotDelegateManagementAccountException] data
|
154
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
155
|
+
super(context, message, data)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
112
159
|
class ChannelARNInvalidException < ServiceError
|
113
160
|
|
114
161
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -179,6 +226,16 @@ module Aws::CloudTrail
|
|
179
226
|
end
|
180
227
|
end
|
181
228
|
|
229
|
+
class DelegatedAdminAccountLimitExceededException < ServiceError
|
230
|
+
|
231
|
+
# @param [Seahorse::Client::RequestContext] context
|
232
|
+
# @param [String] message
|
233
|
+
# @param [Aws::CloudTrail::Types::DelegatedAdminAccountLimitExceededException] data
|
234
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
235
|
+
super(context, message, data)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
182
239
|
class EventDataStoreARNInvalidException < ServiceError
|
183
240
|
|
184
241
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -619,6 +676,26 @@ module Aws::CloudTrail
|
|
619
676
|
end
|
620
677
|
end
|
621
678
|
|
679
|
+
class NoManagementAccountSLRExistsException < ServiceError
|
680
|
+
|
681
|
+
# @param [Seahorse::Client::RequestContext] context
|
682
|
+
# @param [String] message
|
683
|
+
# @param [Aws::CloudTrail::Types::NoManagementAccountSLRExistsException] data
|
684
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
685
|
+
super(context, message, data)
|
686
|
+
end
|
687
|
+
end
|
688
|
+
|
689
|
+
class NotOrganizationManagementAccountException < ServiceError
|
690
|
+
|
691
|
+
# @param [Seahorse::Client::RequestContext] context
|
692
|
+
# @param [String] message
|
693
|
+
# @param [Aws::CloudTrail::Types::NotOrganizationManagementAccountException] data
|
694
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
695
|
+
super(context, message, data)
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
622
699
|
class NotOrganizationMasterAccountException < ServiceError
|
623
700
|
|
624
701
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -68,6 +68,8 @@ module Aws::CloudTrail
|
|
68
68
|
Aws::CloudTrail::Endpoints::DeleteEventDataStore.build(context)
|
69
69
|
when :delete_trail
|
70
70
|
Aws::CloudTrail::Endpoints::DeleteTrail.build(context)
|
71
|
+
when :deregister_organization_delegated_admin
|
72
|
+
Aws::CloudTrail::Endpoints::DeregisterOrganizationDelegatedAdmin.build(context)
|
71
73
|
when :describe_query
|
72
74
|
Aws::CloudTrail::Endpoints::DescribeQuery.build(context)
|
73
75
|
when :describe_trails
|
@@ -110,6 +112,8 @@ module Aws::CloudTrail
|
|
110
112
|
Aws::CloudTrail::Endpoints::PutEventSelectors.build(context)
|
111
113
|
when :put_insight_selectors
|
112
114
|
Aws::CloudTrail::Endpoints::PutInsightSelectors.build(context)
|
115
|
+
when :register_organization_delegated_admin
|
116
|
+
Aws::CloudTrail::Endpoints::RegisterOrganizationDelegatedAdmin.build(context)
|
113
117
|
when :remove_tags
|
114
118
|
Aws::CloudTrail::Endpoints::RemoveTags.build(context)
|
115
119
|
when :restore_event_data_store
|