aws-sdk-cloudtrail 1.42.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,11 +27,31 @@ module Aws::CloudTrail
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccountHasOngoingImportException}
31
+ # * {AccountNotFoundException}
32
+ # * {AccountNotRegisteredException}
33
+ # * {AccountRegisteredException}
34
+ # * {CannotDelegateManagementAccountException}
35
+ # * {ChannelARNInvalidException}
36
+ # * {ChannelAlreadyExistsException}
37
+ # * {ChannelExistsForEDSException}
38
+ # * {ChannelMaxLimitExceededException}
39
+ # * {ChannelNotFoundException}
30
40
  # * {CloudTrailARNInvalidException}
31
41
  # * {CloudTrailAccessNotEnabledException}
32
42
  # * {CloudTrailInvalidClientTokenIdException}
33
43
  # * {CloudWatchLogsDeliveryUnavailableException}
34
44
  # * {ConflictException}
45
+ # * {DelegatedAdminAccountLimitExceededException}
46
+ # * {EventDataStoreARNInvalidException}
47
+ # * {EventDataStoreAlreadyExistsException}
48
+ # * {EventDataStoreHasOngoingImportException}
49
+ # * {EventDataStoreMaxLimitExceededException}
50
+ # * {EventDataStoreNotFoundException}
51
+ # * {EventDataStoreTerminationProtectedException}
52
+ # * {ImportNotFoundException}
53
+ # * {InactiveEventDataStoreException}
54
+ # * {InactiveQueryException}
35
55
  # * {InsightNotEnabledException}
36
56
  # * {InsufficientDependencyServiceAccessPermissionException}
37
57
  # * {InsufficientEncryptionPolicyException}
@@ -39,18 +59,26 @@ module Aws::CloudTrail
39
59
  # * {InsufficientSnsTopicPolicyException}
40
60
  # * {InvalidCloudWatchLogsLogGroupArnException}
41
61
  # * {InvalidCloudWatchLogsRoleArnException}
62
+ # * {InvalidDateRangeException}
42
63
  # * {InvalidEventCategoryException}
64
+ # * {InvalidEventDataStoreCategoryException}
65
+ # * {InvalidEventDataStoreStatusException}
43
66
  # * {InvalidEventSelectorsException}
44
67
  # * {InvalidHomeRegionException}
68
+ # * {InvalidImportSourceException}
45
69
  # * {InvalidInsightSelectorsException}
46
70
  # * {InvalidKmsKeyIdException}
47
71
  # * {InvalidLookupAttributesException}
48
72
  # * {InvalidMaxResultsException}
49
73
  # * {InvalidNextTokenException}
50
74
  # * {InvalidParameterCombinationException}
75
+ # * {InvalidParameterException}
76
+ # * {InvalidQueryStatementException}
77
+ # * {InvalidQueryStatusException}
51
78
  # * {InvalidS3BucketNameException}
52
79
  # * {InvalidS3PrefixException}
53
80
  # * {InvalidSnsTopicNameException}
81
+ # * {InvalidSourceException}
54
82
  # * {InvalidTagParameterException}
55
83
  # * {InvalidTimeRangeException}
56
84
  # * {InvalidTokenException}
@@ -58,15 +86,23 @@ module Aws::CloudTrail
58
86
  # * {KmsException}
59
87
  # * {KmsKeyDisabledException}
60
88
  # * {KmsKeyNotFoundException}
89
+ # * {MaxConcurrentQueriesException}
61
90
  # * {MaximumNumberOfTrailsExceededException}
91
+ # * {NoManagementAccountSLRExistsException}
92
+ # * {NotOrganizationManagementAccountException}
62
93
  # * {NotOrganizationMasterAccountException}
63
94
  # * {OperationNotPermittedException}
64
95
  # * {OrganizationNotInAllFeaturesModeException}
65
96
  # * {OrganizationsNotInUseException}
97
+ # * {QueryIdNotFoundException}
98
+ # * {ResourceARNNotValidException}
66
99
  # * {ResourceNotFoundException}
100
+ # * {ResourcePolicyNotFoundException}
101
+ # * {ResourcePolicyNotValidException}
67
102
  # * {ResourceTypeNotSupportedException}
68
103
  # * {S3BucketDoesNotExistException}
69
104
  # * {TagsLimitExceededException}
105
+ # * {ThrottlingException}
70
106
  # * {TrailAlreadyExistsException}
71
107
  # * {TrailNotFoundException}
72
108
  # * {TrailNotProvidedException}
@@ -78,6 +114,106 @@ module Aws::CloudTrail
78
114
 
79
115
  extend Aws::Errors::DynamicErrors
80
116
 
117
+ class AccountHasOngoingImportException < ServiceError
118
+
119
+ # @param [Seahorse::Client::RequestContext] context
120
+ # @param [String] message
121
+ # @param [Aws::CloudTrail::Types::AccountHasOngoingImportException] data
122
+ def initialize(context, message, data = Aws::EmptyStructure.new)
123
+ super(context, message, data)
124
+ end
125
+ end
126
+
127
+ class AccountNotFoundException < ServiceError
128
+
129
+ # @param [Seahorse::Client::RequestContext] context
130
+ # @param [String] message
131
+ # @param [Aws::CloudTrail::Types::AccountNotFoundException] data
132
+ def initialize(context, message, data = Aws::EmptyStructure.new)
133
+ super(context, message, data)
134
+ end
135
+ end
136
+
137
+ class AccountNotRegisteredException < ServiceError
138
+
139
+ # @param [Seahorse::Client::RequestContext] context
140
+ # @param [String] message
141
+ # @param [Aws::CloudTrail::Types::AccountNotRegisteredException] data
142
+ def initialize(context, message, data = Aws::EmptyStructure.new)
143
+ super(context, message, data)
144
+ end
145
+ end
146
+
147
+ class AccountRegisteredException < ServiceError
148
+
149
+ # @param [Seahorse::Client::RequestContext] context
150
+ # @param [String] message
151
+ # @param [Aws::CloudTrail::Types::AccountRegisteredException] data
152
+ def initialize(context, message, data = Aws::EmptyStructure.new)
153
+ super(context, message, data)
154
+ end
155
+ end
156
+
157
+ class CannotDelegateManagementAccountException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::CloudTrail::Types::CannotDelegateManagementAccountException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+ end
166
+
167
+ class ChannelARNInvalidException < ServiceError
168
+
169
+ # @param [Seahorse::Client::RequestContext] context
170
+ # @param [String] message
171
+ # @param [Aws::CloudTrail::Types::ChannelARNInvalidException] data
172
+ def initialize(context, message, data = Aws::EmptyStructure.new)
173
+ super(context, message, data)
174
+ end
175
+ end
176
+
177
+ class ChannelAlreadyExistsException < ServiceError
178
+
179
+ # @param [Seahorse::Client::RequestContext] context
180
+ # @param [String] message
181
+ # @param [Aws::CloudTrail::Types::ChannelAlreadyExistsException] data
182
+ def initialize(context, message, data = Aws::EmptyStructure.new)
183
+ super(context, message, data)
184
+ end
185
+ end
186
+
187
+ class ChannelExistsForEDSException < ServiceError
188
+
189
+ # @param [Seahorse::Client::RequestContext] context
190
+ # @param [String] message
191
+ # @param [Aws::CloudTrail::Types::ChannelExistsForEDSException] data
192
+ def initialize(context, message, data = Aws::EmptyStructure.new)
193
+ super(context, message, data)
194
+ end
195
+ end
196
+
197
+ class ChannelMaxLimitExceededException < ServiceError
198
+
199
+ # @param [Seahorse::Client::RequestContext] context
200
+ # @param [String] message
201
+ # @param [Aws::CloudTrail::Types::ChannelMaxLimitExceededException] data
202
+ def initialize(context, message, data = Aws::EmptyStructure.new)
203
+ super(context, message, data)
204
+ end
205
+ end
206
+
207
+ class ChannelNotFoundException < ServiceError
208
+
209
+ # @param [Seahorse::Client::RequestContext] context
210
+ # @param [String] message
211
+ # @param [Aws::CloudTrail::Types::ChannelNotFoundException] data
212
+ def initialize(context, message, data = Aws::EmptyStructure.new)
213
+ super(context, message, data)
214
+ end
215
+ end
216
+
81
217
  class CloudTrailARNInvalidException < ServiceError
82
218
 
83
219
  # @param [Seahorse::Client::RequestContext] context
@@ -128,6 +264,106 @@ module Aws::CloudTrail
128
264
  end
129
265
  end
130
266
 
267
+ class DelegatedAdminAccountLimitExceededException < ServiceError
268
+
269
+ # @param [Seahorse::Client::RequestContext] context
270
+ # @param [String] message
271
+ # @param [Aws::CloudTrail::Types::DelegatedAdminAccountLimitExceededException] data
272
+ def initialize(context, message, data = Aws::EmptyStructure.new)
273
+ super(context, message, data)
274
+ end
275
+ end
276
+
277
+ class EventDataStoreARNInvalidException < ServiceError
278
+
279
+ # @param [Seahorse::Client::RequestContext] context
280
+ # @param [String] message
281
+ # @param [Aws::CloudTrail::Types::EventDataStoreARNInvalidException] data
282
+ def initialize(context, message, data = Aws::EmptyStructure.new)
283
+ super(context, message, data)
284
+ end
285
+ end
286
+
287
+ class EventDataStoreAlreadyExistsException < ServiceError
288
+
289
+ # @param [Seahorse::Client::RequestContext] context
290
+ # @param [String] message
291
+ # @param [Aws::CloudTrail::Types::EventDataStoreAlreadyExistsException] data
292
+ def initialize(context, message, data = Aws::EmptyStructure.new)
293
+ super(context, message, data)
294
+ end
295
+ end
296
+
297
+ class EventDataStoreHasOngoingImportException < ServiceError
298
+
299
+ # @param [Seahorse::Client::RequestContext] context
300
+ # @param [String] message
301
+ # @param [Aws::CloudTrail::Types::EventDataStoreHasOngoingImportException] data
302
+ def initialize(context, message, data = Aws::EmptyStructure.new)
303
+ super(context, message, data)
304
+ end
305
+ end
306
+
307
+ class EventDataStoreMaxLimitExceededException < ServiceError
308
+
309
+ # @param [Seahorse::Client::RequestContext] context
310
+ # @param [String] message
311
+ # @param [Aws::CloudTrail::Types::EventDataStoreMaxLimitExceededException] data
312
+ def initialize(context, message, data = Aws::EmptyStructure.new)
313
+ super(context, message, data)
314
+ end
315
+ end
316
+
317
+ class EventDataStoreNotFoundException < ServiceError
318
+
319
+ # @param [Seahorse::Client::RequestContext] context
320
+ # @param [String] message
321
+ # @param [Aws::CloudTrail::Types::EventDataStoreNotFoundException] data
322
+ def initialize(context, message, data = Aws::EmptyStructure.new)
323
+ super(context, message, data)
324
+ end
325
+ end
326
+
327
+ class EventDataStoreTerminationProtectedException < ServiceError
328
+
329
+ # @param [Seahorse::Client::RequestContext] context
330
+ # @param [String] message
331
+ # @param [Aws::CloudTrail::Types::EventDataStoreTerminationProtectedException] data
332
+ def initialize(context, message, data = Aws::EmptyStructure.new)
333
+ super(context, message, data)
334
+ end
335
+ end
336
+
337
+ class ImportNotFoundException < ServiceError
338
+
339
+ # @param [Seahorse::Client::RequestContext] context
340
+ # @param [String] message
341
+ # @param [Aws::CloudTrail::Types::ImportNotFoundException] data
342
+ def initialize(context, message, data = Aws::EmptyStructure.new)
343
+ super(context, message, data)
344
+ end
345
+ end
346
+
347
+ class InactiveEventDataStoreException < ServiceError
348
+
349
+ # @param [Seahorse::Client::RequestContext] context
350
+ # @param [String] message
351
+ # @param [Aws::CloudTrail::Types::InactiveEventDataStoreException] data
352
+ def initialize(context, message, data = Aws::EmptyStructure.new)
353
+ super(context, message, data)
354
+ end
355
+ end
356
+
357
+ class InactiveQueryException < ServiceError
358
+
359
+ # @param [Seahorse::Client::RequestContext] context
360
+ # @param [String] message
361
+ # @param [Aws::CloudTrail::Types::InactiveQueryException] data
362
+ def initialize(context, message, data = Aws::EmptyStructure.new)
363
+ super(context, message, data)
364
+ end
365
+ end
366
+
131
367
  class InsightNotEnabledException < ServiceError
132
368
 
133
369
  # @param [Seahorse::Client::RequestContext] context
@@ -198,6 +434,16 @@ module Aws::CloudTrail
198
434
  end
199
435
  end
200
436
 
437
+ class InvalidDateRangeException < ServiceError
438
+
439
+ # @param [Seahorse::Client::RequestContext] context
440
+ # @param [String] message
441
+ # @param [Aws::CloudTrail::Types::InvalidDateRangeException] data
442
+ def initialize(context, message, data = Aws::EmptyStructure.new)
443
+ super(context, message, data)
444
+ end
445
+ end
446
+
201
447
  class InvalidEventCategoryException < ServiceError
202
448
 
203
449
  # @param [Seahorse::Client::RequestContext] context
@@ -208,6 +454,26 @@ module Aws::CloudTrail
208
454
  end
209
455
  end
210
456
 
457
+ class InvalidEventDataStoreCategoryException < ServiceError
458
+
459
+ # @param [Seahorse::Client::RequestContext] context
460
+ # @param [String] message
461
+ # @param [Aws::CloudTrail::Types::InvalidEventDataStoreCategoryException] data
462
+ def initialize(context, message, data = Aws::EmptyStructure.new)
463
+ super(context, message, data)
464
+ end
465
+ end
466
+
467
+ class InvalidEventDataStoreStatusException < ServiceError
468
+
469
+ # @param [Seahorse::Client::RequestContext] context
470
+ # @param [String] message
471
+ # @param [Aws::CloudTrail::Types::InvalidEventDataStoreStatusException] data
472
+ def initialize(context, message, data = Aws::EmptyStructure.new)
473
+ super(context, message, data)
474
+ end
475
+ end
476
+
211
477
  class InvalidEventSelectorsException < ServiceError
212
478
 
213
479
  # @param [Seahorse::Client::RequestContext] context
@@ -228,6 +494,16 @@ module Aws::CloudTrail
228
494
  end
229
495
  end
230
496
 
497
+ class InvalidImportSourceException < ServiceError
498
+
499
+ # @param [Seahorse::Client::RequestContext] context
500
+ # @param [String] message
501
+ # @param [Aws::CloudTrail::Types::InvalidImportSourceException] data
502
+ def initialize(context, message, data = Aws::EmptyStructure.new)
503
+ super(context, message, data)
504
+ end
505
+ end
506
+
231
507
  class InvalidInsightSelectorsException < ServiceError
232
508
 
233
509
  # @param [Seahorse::Client::RequestContext] context
@@ -288,6 +564,36 @@ module Aws::CloudTrail
288
564
  end
289
565
  end
290
566
 
567
+ class InvalidParameterException < ServiceError
568
+
569
+ # @param [Seahorse::Client::RequestContext] context
570
+ # @param [String] message
571
+ # @param [Aws::CloudTrail::Types::InvalidParameterException] data
572
+ def initialize(context, message, data = Aws::EmptyStructure.new)
573
+ super(context, message, data)
574
+ end
575
+ end
576
+
577
+ class InvalidQueryStatementException < ServiceError
578
+
579
+ # @param [Seahorse::Client::RequestContext] context
580
+ # @param [String] message
581
+ # @param [Aws::CloudTrail::Types::InvalidQueryStatementException] data
582
+ def initialize(context, message, data = Aws::EmptyStructure.new)
583
+ super(context, message, data)
584
+ end
585
+ end
586
+
587
+ class InvalidQueryStatusException < ServiceError
588
+
589
+ # @param [Seahorse::Client::RequestContext] context
590
+ # @param [String] message
591
+ # @param [Aws::CloudTrail::Types::InvalidQueryStatusException] data
592
+ def initialize(context, message, data = Aws::EmptyStructure.new)
593
+ super(context, message, data)
594
+ end
595
+ end
596
+
291
597
  class InvalidS3BucketNameException < ServiceError
292
598
 
293
599
  # @param [Seahorse::Client::RequestContext] context
@@ -318,6 +624,16 @@ module Aws::CloudTrail
318
624
  end
319
625
  end
320
626
 
627
+ class InvalidSourceException < ServiceError
628
+
629
+ # @param [Seahorse::Client::RequestContext] context
630
+ # @param [String] message
631
+ # @param [Aws::CloudTrail::Types::InvalidSourceException] data
632
+ def initialize(context, message, data = Aws::EmptyStructure.new)
633
+ super(context, message, data)
634
+ end
635
+ end
636
+
321
637
  class InvalidTagParameterException < ServiceError
322
638
 
323
639
  # @param [Seahorse::Client::RequestContext] context
@@ -388,6 +704,16 @@ module Aws::CloudTrail
388
704
  end
389
705
  end
390
706
 
707
+ class MaxConcurrentQueriesException < ServiceError
708
+
709
+ # @param [Seahorse::Client::RequestContext] context
710
+ # @param [String] message
711
+ # @param [Aws::CloudTrail::Types::MaxConcurrentQueriesException] data
712
+ def initialize(context, message, data = Aws::EmptyStructure.new)
713
+ super(context, message, data)
714
+ end
715
+ end
716
+
391
717
  class MaximumNumberOfTrailsExceededException < ServiceError
392
718
 
393
719
  # @param [Seahorse::Client::RequestContext] context
@@ -398,6 +724,26 @@ module Aws::CloudTrail
398
724
  end
399
725
  end
400
726
 
727
+ class NoManagementAccountSLRExistsException < ServiceError
728
+
729
+ # @param [Seahorse::Client::RequestContext] context
730
+ # @param [String] message
731
+ # @param [Aws::CloudTrail::Types::NoManagementAccountSLRExistsException] data
732
+ def initialize(context, message, data = Aws::EmptyStructure.new)
733
+ super(context, message, data)
734
+ end
735
+ end
736
+
737
+ class NotOrganizationManagementAccountException < ServiceError
738
+
739
+ # @param [Seahorse::Client::RequestContext] context
740
+ # @param [String] message
741
+ # @param [Aws::CloudTrail::Types::NotOrganizationManagementAccountException] data
742
+ def initialize(context, message, data = Aws::EmptyStructure.new)
743
+ super(context, message, data)
744
+ end
745
+ end
746
+
401
747
  class NotOrganizationMasterAccountException < ServiceError
402
748
 
403
749
  # @param [Seahorse::Client::RequestContext] context
@@ -438,6 +784,26 @@ module Aws::CloudTrail
438
784
  end
439
785
  end
440
786
 
787
+ class QueryIdNotFoundException < ServiceError
788
+
789
+ # @param [Seahorse::Client::RequestContext] context
790
+ # @param [String] message
791
+ # @param [Aws::CloudTrail::Types::QueryIdNotFoundException] data
792
+ def initialize(context, message, data = Aws::EmptyStructure.new)
793
+ super(context, message, data)
794
+ end
795
+ end
796
+
797
+ class ResourceARNNotValidException < ServiceError
798
+
799
+ # @param [Seahorse::Client::RequestContext] context
800
+ # @param [String] message
801
+ # @param [Aws::CloudTrail::Types::ResourceARNNotValidException] data
802
+ def initialize(context, message, data = Aws::EmptyStructure.new)
803
+ super(context, message, data)
804
+ end
805
+ end
806
+
441
807
  class ResourceNotFoundException < ServiceError
442
808
 
443
809
  # @param [Seahorse::Client::RequestContext] context
@@ -448,6 +814,26 @@ module Aws::CloudTrail
448
814
  end
449
815
  end
450
816
 
817
+ class ResourcePolicyNotFoundException < ServiceError
818
+
819
+ # @param [Seahorse::Client::RequestContext] context
820
+ # @param [String] message
821
+ # @param [Aws::CloudTrail::Types::ResourcePolicyNotFoundException] data
822
+ def initialize(context, message, data = Aws::EmptyStructure.new)
823
+ super(context, message, data)
824
+ end
825
+ end
826
+
827
+ class ResourcePolicyNotValidException < ServiceError
828
+
829
+ # @param [Seahorse::Client::RequestContext] context
830
+ # @param [String] message
831
+ # @param [Aws::CloudTrail::Types::ResourcePolicyNotValidException] data
832
+ def initialize(context, message, data = Aws::EmptyStructure.new)
833
+ super(context, message, data)
834
+ end
835
+ end
836
+
451
837
  class ResourceTypeNotSupportedException < ServiceError
452
838
 
453
839
  # @param [Seahorse::Client::RequestContext] context
@@ -478,6 +864,16 @@ module Aws::CloudTrail
478
864
  end
479
865
  end
480
866
 
867
+ class ThrottlingException < ServiceError
868
+
869
+ # @param [Seahorse::Client::RequestContext] context
870
+ # @param [String] message
871
+ # @param [Aws::CloudTrail::Types::ThrottlingException] data
872
+ def initialize(context, message, data = Aws::EmptyStructure.new)
873
+ super(context, message, data)
874
+ end
875
+ end
876
+
481
877
  class TrailAlreadyExistsException < ServiceError
482
878
 
483
879
  # @param [Seahorse::Client::RequestContext] context
@@ -0,0 +1,160 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::CloudTrail
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::CloudTrail::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::CloudTrail::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::CloudTrail::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :add_tags
60
+ Aws::CloudTrail::Endpoints::AddTags.build(context)
61
+ when :cancel_query
62
+ Aws::CloudTrail::Endpoints::CancelQuery.build(context)
63
+ when :create_channel
64
+ Aws::CloudTrail::Endpoints::CreateChannel.build(context)
65
+ when :create_event_data_store
66
+ Aws::CloudTrail::Endpoints::CreateEventDataStore.build(context)
67
+ when :create_trail
68
+ Aws::CloudTrail::Endpoints::CreateTrail.build(context)
69
+ when :delete_channel
70
+ Aws::CloudTrail::Endpoints::DeleteChannel.build(context)
71
+ when :delete_event_data_store
72
+ Aws::CloudTrail::Endpoints::DeleteEventDataStore.build(context)
73
+ when :delete_resource_policy
74
+ Aws::CloudTrail::Endpoints::DeleteResourcePolicy.build(context)
75
+ when :delete_trail
76
+ Aws::CloudTrail::Endpoints::DeleteTrail.build(context)
77
+ when :deregister_organization_delegated_admin
78
+ Aws::CloudTrail::Endpoints::DeregisterOrganizationDelegatedAdmin.build(context)
79
+ when :describe_query
80
+ Aws::CloudTrail::Endpoints::DescribeQuery.build(context)
81
+ when :describe_trails
82
+ Aws::CloudTrail::Endpoints::DescribeTrails.build(context)
83
+ when :get_channel
84
+ Aws::CloudTrail::Endpoints::GetChannel.build(context)
85
+ when :get_event_data_store
86
+ Aws::CloudTrail::Endpoints::GetEventDataStore.build(context)
87
+ when :get_event_selectors
88
+ Aws::CloudTrail::Endpoints::GetEventSelectors.build(context)
89
+ when :get_import
90
+ Aws::CloudTrail::Endpoints::GetImport.build(context)
91
+ when :get_insight_selectors
92
+ Aws::CloudTrail::Endpoints::GetInsightSelectors.build(context)
93
+ when :get_query_results
94
+ Aws::CloudTrail::Endpoints::GetQueryResults.build(context)
95
+ when :get_resource_policy
96
+ Aws::CloudTrail::Endpoints::GetResourcePolicy.build(context)
97
+ when :get_trail
98
+ Aws::CloudTrail::Endpoints::GetTrail.build(context)
99
+ when :get_trail_status
100
+ Aws::CloudTrail::Endpoints::GetTrailStatus.build(context)
101
+ when :list_channels
102
+ Aws::CloudTrail::Endpoints::ListChannels.build(context)
103
+ when :list_event_data_stores
104
+ Aws::CloudTrail::Endpoints::ListEventDataStores.build(context)
105
+ when :list_import_failures
106
+ Aws::CloudTrail::Endpoints::ListImportFailures.build(context)
107
+ when :list_imports
108
+ Aws::CloudTrail::Endpoints::ListImports.build(context)
109
+ when :list_public_keys
110
+ Aws::CloudTrail::Endpoints::ListPublicKeys.build(context)
111
+ when :list_queries
112
+ Aws::CloudTrail::Endpoints::ListQueries.build(context)
113
+ when :list_tags
114
+ Aws::CloudTrail::Endpoints::ListTags.build(context)
115
+ when :list_trails
116
+ Aws::CloudTrail::Endpoints::ListTrails.build(context)
117
+ when :lookup_events
118
+ Aws::CloudTrail::Endpoints::LookupEvents.build(context)
119
+ when :put_event_selectors
120
+ Aws::CloudTrail::Endpoints::PutEventSelectors.build(context)
121
+ when :put_insight_selectors
122
+ Aws::CloudTrail::Endpoints::PutInsightSelectors.build(context)
123
+ when :put_resource_policy
124
+ Aws::CloudTrail::Endpoints::PutResourcePolicy.build(context)
125
+ when :register_organization_delegated_admin
126
+ Aws::CloudTrail::Endpoints::RegisterOrganizationDelegatedAdmin.build(context)
127
+ when :remove_tags
128
+ Aws::CloudTrail::Endpoints::RemoveTags.build(context)
129
+ when :restore_event_data_store
130
+ Aws::CloudTrail::Endpoints::RestoreEventDataStore.build(context)
131
+ when :start_event_data_store_ingestion
132
+ Aws::CloudTrail::Endpoints::StartEventDataStoreIngestion.build(context)
133
+ when :start_import
134
+ Aws::CloudTrail::Endpoints::StartImport.build(context)
135
+ when :start_logging
136
+ Aws::CloudTrail::Endpoints::StartLogging.build(context)
137
+ when :start_query
138
+ Aws::CloudTrail::Endpoints::StartQuery.build(context)
139
+ when :stop_event_data_store_ingestion
140
+ Aws::CloudTrail::Endpoints::StopEventDataStoreIngestion.build(context)
141
+ when :stop_import
142
+ Aws::CloudTrail::Endpoints::StopImport.build(context)
143
+ when :stop_logging
144
+ Aws::CloudTrail::Endpoints::StopLogging.build(context)
145
+ when :update_channel
146
+ Aws::CloudTrail::Endpoints::UpdateChannel.build(context)
147
+ when :update_event_data_store
148
+ Aws::CloudTrail::Endpoints::UpdateEventDataStore.build(context)
149
+ when :update_trail
150
+ Aws::CloudTrail::Endpoints::UpdateTrail.build(context)
151
+ end
152
+ end
153
+ end
154
+
155
+ def add_handlers(handlers, _config)
156
+ handlers.add(Handler, step: :build, priority: 75)
157
+ end
158
+ end
159
+ end
160
+ end