aws-sdk-cloudtrail 1.75.0 → 1.76.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,924 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudTrail
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _AddTagsResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddTagsResponse]
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#add_tags-instance_method
80
+ def add_tags: (
81
+ resource_id: ::String,
82
+ tags_list: Array[
83
+ {
84
+ key: ::String,
85
+ value: ::String?
86
+ },
87
+ ]
88
+ ) -> _AddTagsResponseSuccess
89
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddTagsResponseSuccess
90
+
91
+ interface _CancelQueryResponseSuccess
92
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelQueryResponse]
93
+ def query_id: () -> ::String
94
+ def query_status: () -> ("QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT")
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#cancel_query-instance_method
97
+ def cancel_query: (
98
+ ?event_data_store: ::String,
99
+ query_id: ::String
100
+ ) -> _CancelQueryResponseSuccess
101
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelQueryResponseSuccess
102
+
103
+ interface _CreateChannelResponseSuccess
104
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelResponse]
105
+ def channel_arn: () -> ::String
106
+ def name: () -> ::String
107
+ def source: () -> ::String
108
+ def destinations: () -> ::Array[Types::Destination]
109
+ def tags: () -> ::Array[Types::Tag]
110
+ end
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#create_channel-instance_method
112
+ def create_channel: (
113
+ name: ::String,
114
+ source: ::String,
115
+ destinations: Array[
116
+ {
117
+ type: ("EVENT_DATA_STORE" | "AWS_SERVICE"),
118
+ location: ::String
119
+ },
120
+ ],
121
+ ?tags: Array[
122
+ {
123
+ key: ::String,
124
+ value: ::String?
125
+ },
126
+ ]
127
+ ) -> _CreateChannelResponseSuccess
128
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelResponseSuccess
129
+
130
+ interface _CreateEventDataStoreResponseSuccess
131
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventDataStoreResponse]
132
+ def event_data_store_arn: () -> ::String
133
+ def name: () -> ::String
134
+ def status: () -> ("CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION")
135
+ def advanced_event_selectors: () -> ::Array[Types::AdvancedEventSelector]
136
+ def multi_region_enabled: () -> bool
137
+ def organization_enabled: () -> bool
138
+ def retention_period: () -> ::Integer
139
+ def termination_protection_enabled: () -> bool
140
+ def tags_list: () -> ::Array[Types::Tag]
141
+ def created_timestamp: () -> ::Time
142
+ def updated_timestamp: () -> ::Time
143
+ def kms_key_id: () -> ::String
144
+ def billing_mode: () -> ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
145
+ end
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#create_event_data_store-instance_method
147
+ def create_event_data_store: (
148
+ name: ::String,
149
+ ?advanced_event_selectors: Array[
150
+ {
151
+ name: ::String?,
152
+ field_selectors: Array[
153
+ {
154
+ field: ::String,
155
+ equals: Array[::String]?,
156
+ starts_with: Array[::String]?,
157
+ ends_with: Array[::String]?,
158
+ not_equals: Array[::String]?,
159
+ not_starts_with: Array[::String]?,
160
+ not_ends_with: Array[::String]?
161
+ },
162
+ ]
163
+ },
164
+ ],
165
+ ?multi_region_enabled: bool,
166
+ ?organization_enabled: bool,
167
+ ?retention_period: ::Integer,
168
+ ?termination_protection_enabled: bool,
169
+ ?tags_list: Array[
170
+ {
171
+ key: ::String,
172
+ value: ::String?
173
+ },
174
+ ],
175
+ ?kms_key_id: ::String,
176
+ ?start_ingestion: bool,
177
+ ?billing_mode: ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
178
+ ) -> _CreateEventDataStoreResponseSuccess
179
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventDataStoreResponseSuccess
180
+
181
+ interface _CreateTrailResponseSuccess
182
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTrailResponse]
183
+ def name: () -> ::String
184
+ def s3_bucket_name: () -> ::String
185
+ def s3_key_prefix: () -> ::String
186
+ def sns_topic_name: () -> ::String
187
+ def sns_topic_arn: () -> ::String
188
+ def include_global_service_events: () -> bool
189
+ def is_multi_region_trail: () -> bool
190
+ def trail_arn: () -> ::String
191
+ def log_file_validation_enabled: () -> bool
192
+ def cloud_watch_logs_log_group_arn: () -> ::String
193
+ def cloud_watch_logs_role_arn: () -> ::String
194
+ def kms_key_id: () -> ::String
195
+ def is_organization_trail: () -> bool
196
+ end
197
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#create_trail-instance_method
198
+ def create_trail: (
199
+ name: ::String,
200
+ s3_bucket_name: ::String,
201
+ ?s3_key_prefix: ::String,
202
+ ?sns_topic_name: ::String,
203
+ ?include_global_service_events: bool,
204
+ ?is_multi_region_trail: bool,
205
+ ?enable_log_file_validation: bool,
206
+ ?cloud_watch_logs_log_group_arn: ::String,
207
+ ?cloud_watch_logs_role_arn: ::String,
208
+ ?kms_key_id: ::String,
209
+ ?is_organization_trail: bool,
210
+ ?tags_list: Array[
211
+ {
212
+ key: ::String,
213
+ value: ::String?
214
+ },
215
+ ]
216
+ ) -> _CreateTrailResponseSuccess
217
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrailResponseSuccess
218
+
219
+ interface _DeleteChannelResponseSuccess
220
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChannelResponse]
221
+ end
222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#delete_channel-instance_method
223
+ def delete_channel: (
224
+ channel: ::String
225
+ ) -> _DeleteChannelResponseSuccess
226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChannelResponseSuccess
227
+
228
+ interface _DeleteEventDataStoreResponseSuccess
229
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventDataStoreResponse]
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#delete_event_data_store-instance_method
232
+ def delete_event_data_store: (
233
+ event_data_store: ::String
234
+ ) -> _DeleteEventDataStoreResponseSuccess
235
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEventDataStoreResponseSuccess
236
+
237
+ interface _DeleteResourcePolicyResponseSuccess
238
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
239
+ end
240
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#delete_resource_policy-instance_method
241
+ def delete_resource_policy: (
242
+ resource_arn: ::String
243
+ ) -> _DeleteResourcePolicyResponseSuccess
244
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
245
+
246
+ interface _DeleteTrailResponseSuccess
247
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTrailResponse]
248
+ end
249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#delete_trail-instance_method
250
+ def delete_trail: (
251
+ name: ::String
252
+ ) -> _DeleteTrailResponseSuccess
253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTrailResponseSuccess
254
+
255
+ interface _DeregisterOrganizationDelegatedAdminResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterOrganizationDelegatedAdminResponse]
257
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#deregister_organization_delegated_admin-instance_method
259
+ def deregister_organization_delegated_admin: (
260
+ delegated_admin_account_id: ::String
261
+ ) -> _DeregisterOrganizationDelegatedAdminResponseSuccess
262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterOrganizationDelegatedAdminResponseSuccess
263
+
264
+ interface _DescribeQueryResponseSuccess
265
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeQueryResponse]
266
+ def query_id: () -> ::String
267
+ def query_string: () -> ::String
268
+ def query_status: () -> ("QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT")
269
+ def query_statistics: () -> Types::QueryStatisticsForDescribeQuery
270
+ def error_message: () -> ::String
271
+ def delivery_s3_uri: () -> ::String
272
+ def delivery_status: () -> ("SUCCESS" | "FAILED" | "FAILED_SIGNING_FILE" | "PENDING" | "RESOURCE_NOT_FOUND" | "ACCESS_DENIED" | "ACCESS_DENIED_SIGNING_FILE" | "CANCELLED" | "UNKNOWN")
273
+ end
274
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#describe_query-instance_method
275
+ def describe_query: (
276
+ ?event_data_store: ::String,
277
+ ?query_id: ::String,
278
+ ?query_alias: ::String
279
+ ) -> _DescribeQueryResponseSuccess
280
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeQueryResponseSuccess
281
+
282
+ interface _DescribeTrailsResponseSuccess
283
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTrailsResponse]
284
+ def trail_list: () -> ::Array[Types::Trail]
285
+ end
286
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#describe_trails-instance_method
287
+ def describe_trails: (
288
+ ?trail_name_list: Array[::String],
289
+ ?include_shadow_trails: bool
290
+ ) -> _DescribeTrailsResponseSuccess
291
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTrailsResponseSuccess
292
+
293
+ interface _DisableFederationResponseSuccess
294
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableFederationResponse]
295
+ def event_data_store_arn: () -> ::String
296
+ def federation_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
297
+ end
298
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#disable_federation-instance_method
299
+ def disable_federation: (
300
+ event_data_store: ::String
301
+ ) -> _DisableFederationResponseSuccess
302
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableFederationResponseSuccess
303
+
304
+ interface _EnableFederationResponseSuccess
305
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableFederationResponse]
306
+ def event_data_store_arn: () -> ::String
307
+ def federation_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
308
+ def federation_role_arn: () -> ::String
309
+ end
310
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#enable_federation-instance_method
311
+ def enable_federation: (
312
+ event_data_store: ::String,
313
+ federation_role_arn: ::String
314
+ ) -> _EnableFederationResponseSuccess
315
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableFederationResponseSuccess
316
+
317
+ interface _GetChannelResponseSuccess
318
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelResponse]
319
+ def channel_arn: () -> ::String
320
+ def name: () -> ::String
321
+ def source: () -> ::String
322
+ def source_config: () -> Types::SourceConfig
323
+ def destinations: () -> ::Array[Types::Destination]
324
+ def ingestion_status: () -> Types::IngestionStatus
325
+ end
326
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_channel-instance_method
327
+ def get_channel: (
328
+ channel: ::String
329
+ ) -> _GetChannelResponseSuccess
330
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelResponseSuccess
331
+
332
+ interface _GetEventDataStoreResponseSuccess
333
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEventDataStoreResponse]
334
+ def event_data_store_arn: () -> ::String
335
+ def name: () -> ::String
336
+ def status: () -> ("CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION")
337
+ def advanced_event_selectors: () -> ::Array[Types::AdvancedEventSelector]
338
+ def multi_region_enabled: () -> bool
339
+ def organization_enabled: () -> bool
340
+ def retention_period: () -> ::Integer
341
+ def termination_protection_enabled: () -> bool
342
+ def created_timestamp: () -> ::Time
343
+ def updated_timestamp: () -> ::Time
344
+ def kms_key_id: () -> ::String
345
+ def billing_mode: () -> ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
346
+ def federation_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
347
+ def federation_role_arn: () -> ::String
348
+ end
349
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_event_data_store-instance_method
350
+ def get_event_data_store: (
351
+ event_data_store: ::String
352
+ ) -> _GetEventDataStoreResponseSuccess
353
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventDataStoreResponseSuccess
354
+
355
+ interface _GetEventSelectorsResponseSuccess
356
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEventSelectorsResponse]
357
+ def trail_arn: () -> ::String
358
+ def event_selectors: () -> ::Array[Types::EventSelector]
359
+ def advanced_event_selectors: () -> ::Array[Types::AdvancedEventSelector]
360
+ end
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_event_selectors-instance_method
362
+ def get_event_selectors: (
363
+ trail_name: ::String
364
+ ) -> _GetEventSelectorsResponseSuccess
365
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventSelectorsResponseSuccess
366
+
367
+ interface _GetImportResponseSuccess
368
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetImportResponse]
369
+ def import_id: () -> ::String
370
+ def destinations: () -> ::Array[::String]
371
+ def import_source: () -> Types::ImportSource
372
+ def start_event_time: () -> ::Time
373
+ def end_event_time: () -> ::Time
374
+ def import_status: () -> ("INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED")
375
+ def created_timestamp: () -> ::Time
376
+ def updated_timestamp: () -> ::Time
377
+ def import_statistics: () -> Types::ImportStatistics
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_import-instance_method
380
+ def get_import: (
381
+ import_id: ::String
382
+ ) -> _GetImportResponseSuccess
383
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImportResponseSuccess
384
+
385
+ interface _GetInsightSelectorsResponseSuccess
386
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightSelectorsResponse]
387
+ def trail_arn: () -> ::String
388
+ def insight_selectors: () -> ::Array[Types::InsightSelector]
389
+ def event_data_store_arn: () -> ::String
390
+ def insights_destination: () -> ::String
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_insight_selectors-instance_method
393
+ def get_insight_selectors: (
394
+ ?trail_name: ::String,
395
+ ?event_data_store: ::String
396
+ ) -> _GetInsightSelectorsResponseSuccess
397
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightSelectorsResponseSuccess
398
+
399
+ interface _GetQueryResultsResponseSuccess
400
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryResultsResponse]
401
+ def query_status: () -> ("QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT")
402
+ def query_statistics: () -> Types::QueryStatistics
403
+ def query_result_rows: () -> ::Array[::Array[::Hash[::String, ::String]]]
404
+ def next_token: () -> ::String
405
+ def error_message: () -> ::String
406
+ end
407
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_query_results-instance_method
408
+ def get_query_results: (
409
+ ?event_data_store: ::String,
410
+ query_id: ::String,
411
+ ?next_token: ::String,
412
+ ?max_query_results: ::Integer
413
+ ) -> _GetQueryResultsResponseSuccess
414
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResultsResponseSuccess
415
+
416
+ interface _GetResourcePolicyResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
418
+ def resource_arn: () -> ::String
419
+ def resource_policy: () -> ::String
420
+ end
421
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_resource_policy-instance_method
422
+ def get_resource_policy: (
423
+ resource_arn: ::String
424
+ ) -> _GetResourcePolicyResponseSuccess
425
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
426
+
427
+ interface _GetTrailResponseSuccess
428
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTrailResponse]
429
+ def trail: () -> Types::Trail
430
+ end
431
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_trail-instance_method
432
+ def get_trail: (
433
+ name: ::String
434
+ ) -> _GetTrailResponseSuccess
435
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTrailResponseSuccess
436
+
437
+ interface _GetTrailStatusResponseSuccess
438
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTrailStatusResponse]
439
+ def is_logging: () -> bool
440
+ def latest_delivery_error: () -> ::String
441
+ def latest_notification_error: () -> ::String
442
+ def latest_delivery_time: () -> ::Time
443
+ def latest_notification_time: () -> ::Time
444
+ def start_logging_time: () -> ::Time
445
+ def stop_logging_time: () -> ::Time
446
+ def latest_cloud_watch_logs_delivery_error: () -> ::String
447
+ def latest_cloud_watch_logs_delivery_time: () -> ::Time
448
+ def latest_digest_delivery_time: () -> ::Time
449
+ def latest_digest_delivery_error: () -> ::String
450
+ def latest_delivery_attempt_time: () -> ::String
451
+ def latest_notification_attempt_time: () -> ::String
452
+ def latest_notification_attempt_succeeded: () -> ::String
453
+ def latest_delivery_attempt_succeeded: () -> ::String
454
+ def time_logging_started: () -> ::String
455
+ def time_logging_stopped: () -> ::String
456
+ end
457
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_trail_status-instance_method
458
+ def get_trail_status: (
459
+ name: ::String
460
+ ) -> _GetTrailStatusResponseSuccess
461
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTrailStatusResponseSuccess
462
+
463
+ interface _ListChannelsResponseSuccess
464
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelsResponse]
465
+ def channels: () -> ::Array[Types::Channel]
466
+ def next_token: () -> ::String
467
+ end
468
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#list_channels-instance_method
469
+ def list_channels: (
470
+ ?max_results: ::Integer,
471
+ ?next_token: ::String
472
+ ) -> _ListChannelsResponseSuccess
473
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelsResponseSuccess
474
+
475
+ interface _ListEventDataStoresResponseSuccess
476
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEventDataStoresResponse]
477
+ def event_data_stores: () -> ::Array[Types::EventDataStore]
478
+ def next_token: () -> ::String
479
+ end
480
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#list_event_data_stores-instance_method
481
+ def list_event_data_stores: (
482
+ ?next_token: ::String,
483
+ ?max_results: ::Integer
484
+ ) -> _ListEventDataStoresResponseSuccess
485
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventDataStoresResponseSuccess
486
+
487
+ interface _ListImportFailuresResponseSuccess
488
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListImportFailuresResponse]
489
+ def failures: () -> ::Array[Types::ImportFailureListItem]
490
+ def next_token: () -> ::String
491
+ end
492
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#list_import_failures-instance_method
493
+ def list_import_failures: (
494
+ import_id: ::String,
495
+ ?max_results: ::Integer,
496
+ ?next_token: ::String
497
+ ) -> _ListImportFailuresResponseSuccess
498
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportFailuresResponseSuccess
499
+
500
+ interface _ListImportsResponseSuccess
501
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListImportsResponse]
502
+ def imports: () -> ::Array[Types::ImportsListItem]
503
+ def next_token: () -> ::String
504
+ end
505
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#list_imports-instance_method
506
+ def list_imports: (
507
+ ?max_results: ::Integer,
508
+ ?destination: ::String,
509
+ ?import_status: ("INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED"),
510
+ ?next_token: ::String
511
+ ) -> _ListImportsResponseSuccess
512
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportsResponseSuccess
513
+
514
+ interface _ListInsightsMetricDataResponseSuccess
515
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInsightsMetricDataResponse]
516
+ def event_source: () -> ::String
517
+ def event_name: () -> ::String
518
+ def insight_type: () -> ("ApiCallRateInsight" | "ApiErrorRateInsight")
519
+ def error_code: () -> ::String
520
+ def timestamps: () -> ::Array[::Time]
521
+ def values: () -> ::Array[::Float]
522
+ def next_token: () -> ::String
523
+ end
524
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#list_insights_metric_data-instance_method
525
+ def list_insights_metric_data: (
526
+ event_source: ::String,
527
+ event_name: ::String,
528
+ insight_type: ("ApiCallRateInsight" | "ApiErrorRateInsight"),
529
+ ?error_code: ::String,
530
+ ?start_time: ::Time,
531
+ ?end_time: ::Time,
532
+ ?period: ::Integer,
533
+ ?data_type: ("FillWithZeros" | "NonZeroData"),
534
+ ?max_results: ::Integer,
535
+ ?next_token: ::String
536
+ ) -> _ListInsightsMetricDataResponseSuccess
537
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInsightsMetricDataResponseSuccess
538
+
539
+ interface _ListPublicKeysResponseSuccess
540
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPublicKeysResponse]
541
+ def public_key_list: () -> ::Array[Types::PublicKey]
542
+ def next_token: () -> ::String
543
+ end
544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#list_public_keys-instance_method
545
+ def list_public_keys: (
546
+ ?start_time: ::Time,
547
+ ?end_time: ::Time,
548
+ ?next_token: ::String
549
+ ) -> _ListPublicKeysResponseSuccess
550
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPublicKeysResponseSuccess
551
+
552
+ interface _ListQueriesResponseSuccess
553
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListQueriesResponse]
554
+ def queries: () -> ::Array[Types::Query]
555
+ def next_token: () -> ::String
556
+ end
557
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#list_queries-instance_method
558
+ def list_queries: (
559
+ event_data_store: ::String,
560
+ ?next_token: ::String,
561
+ ?max_results: ::Integer,
562
+ ?start_time: ::Time,
563
+ ?end_time: ::Time,
564
+ ?query_status: ("QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT")
565
+ ) -> _ListQueriesResponseSuccess
566
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQueriesResponseSuccess
567
+
568
+ interface _ListTagsResponseSuccess
569
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsResponse]
570
+ def resource_tag_list: () -> ::Array[Types::ResourceTag]
571
+ def next_token: () -> ::String
572
+ end
573
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#list_tags-instance_method
574
+ def list_tags: (
575
+ resource_id_list: Array[::String],
576
+ ?next_token: ::String
577
+ ) -> _ListTagsResponseSuccess
578
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
579
+
580
+ interface _ListTrailsResponseSuccess
581
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTrailsResponse]
582
+ def trails: () -> ::Array[Types::TrailInfo]
583
+ def next_token: () -> ::String
584
+ end
585
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#list_trails-instance_method
586
+ def list_trails: (
587
+ ?next_token: ::String
588
+ ) -> _ListTrailsResponseSuccess
589
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrailsResponseSuccess
590
+
591
+ interface _LookupEventsResponseSuccess
592
+ include ::Seahorse::Client::_ResponseSuccess[Types::LookupEventsResponse]
593
+ def events: () -> ::Array[Types::Event]
594
+ def next_token: () -> ::String
595
+ end
596
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#lookup_events-instance_method
597
+ def lookup_events: (
598
+ ?lookup_attributes: Array[
599
+ {
600
+ attribute_key: ("EventId" | "EventName" | "ReadOnly" | "Username" | "ResourceType" | "ResourceName" | "EventSource" | "AccessKeyId"),
601
+ attribute_value: ::String
602
+ },
603
+ ],
604
+ ?start_time: ::Time,
605
+ ?end_time: ::Time,
606
+ ?event_category: ("insight"),
607
+ ?max_results: ::Integer,
608
+ ?next_token: ::String
609
+ ) -> _LookupEventsResponseSuccess
610
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _LookupEventsResponseSuccess
611
+
612
+ interface _PutEventSelectorsResponseSuccess
613
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutEventSelectorsResponse]
614
+ def trail_arn: () -> ::String
615
+ def event_selectors: () -> ::Array[Types::EventSelector]
616
+ def advanced_event_selectors: () -> ::Array[Types::AdvancedEventSelector]
617
+ end
618
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#put_event_selectors-instance_method
619
+ def put_event_selectors: (
620
+ trail_name: ::String,
621
+ ?event_selectors: Array[
622
+ {
623
+ read_write_type: ("ReadOnly" | "WriteOnly" | "All")?,
624
+ include_management_events: bool?,
625
+ data_resources: Array[
626
+ {
627
+ type: ::String?,
628
+ values: Array[::String]?
629
+ },
630
+ ]?,
631
+ exclude_management_event_sources: Array[::String]?
632
+ },
633
+ ],
634
+ ?advanced_event_selectors: Array[
635
+ {
636
+ name: ::String?,
637
+ field_selectors: Array[
638
+ {
639
+ field: ::String,
640
+ equals: Array[::String]?,
641
+ starts_with: Array[::String]?,
642
+ ends_with: Array[::String]?,
643
+ not_equals: Array[::String]?,
644
+ not_starts_with: Array[::String]?,
645
+ not_ends_with: Array[::String]?
646
+ },
647
+ ]
648
+ },
649
+ ]
650
+ ) -> _PutEventSelectorsResponseSuccess
651
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEventSelectorsResponseSuccess
652
+
653
+ interface _PutInsightSelectorsResponseSuccess
654
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutInsightSelectorsResponse]
655
+ def trail_arn: () -> ::String
656
+ def insight_selectors: () -> ::Array[Types::InsightSelector]
657
+ def event_data_store_arn: () -> ::String
658
+ def insights_destination: () -> ::String
659
+ end
660
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#put_insight_selectors-instance_method
661
+ def put_insight_selectors: (
662
+ ?trail_name: ::String,
663
+ insight_selectors: Array[
664
+ {
665
+ insight_type: ("ApiCallRateInsight" | "ApiErrorRateInsight")?
666
+ },
667
+ ],
668
+ ?event_data_store: ::String,
669
+ ?insights_destination: ::String
670
+ ) -> _PutInsightSelectorsResponseSuccess
671
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutInsightSelectorsResponseSuccess
672
+
673
+ interface _PutResourcePolicyResponseSuccess
674
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
675
+ def resource_arn: () -> ::String
676
+ def resource_policy: () -> ::String
677
+ end
678
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#put_resource_policy-instance_method
679
+ def put_resource_policy: (
680
+ resource_arn: ::String,
681
+ resource_policy: ::String
682
+ ) -> _PutResourcePolicyResponseSuccess
683
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
684
+
685
+ interface _RegisterOrganizationDelegatedAdminResponseSuccess
686
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterOrganizationDelegatedAdminResponse]
687
+ end
688
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#register_organization_delegated_admin-instance_method
689
+ def register_organization_delegated_admin: (
690
+ member_account_id: ::String
691
+ ) -> _RegisterOrganizationDelegatedAdminResponseSuccess
692
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterOrganizationDelegatedAdminResponseSuccess
693
+
694
+ interface _RemoveTagsResponseSuccess
695
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveTagsResponse]
696
+ end
697
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#remove_tags-instance_method
698
+ def remove_tags: (
699
+ resource_id: ::String,
700
+ tags_list: Array[
701
+ {
702
+ key: ::String,
703
+ value: ::String?
704
+ },
705
+ ]
706
+ ) -> _RemoveTagsResponseSuccess
707
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveTagsResponseSuccess
708
+
709
+ interface _RestoreEventDataStoreResponseSuccess
710
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreEventDataStoreResponse]
711
+ def event_data_store_arn: () -> ::String
712
+ def name: () -> ::String
713
+ def status: () -> ("CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION")
714
+ def advanced_event_selectors: () -> ::Array[Types::AdvancedEventSelector]
715
+ def multi_region_enabled: () -> bool
716
+ def organization_enabled: () -> bool
717
+ def retention_period: () -> ::Integer
718
+ def termination_protection_enabled: () -> bool
719
+ def created_timestamp: () -> ::Time
720
+ def updated_timestamp: () -> ::Time
721
+ def kms_key_id: () -> ::String
722
+ def billing_mode: () -> ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
723
+ end
724
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#restore_event_data_store-instance_method
725
+ def restore_event_data_store: (
726
+ event_data_store: ::String
727
+ ) -> _RestoreEventDataStoreResponseSuccess
728
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreEventDataStoreResponseSuccess
729
+
730
+ interface _StartEventDataStoreIngestionResponseSuccess
731
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartEventDataStoreIngestionResponse]
732
+ end
733
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#start_event_data_store_ingestion-instance_method
734
+ def start_event_data_store_ingestion: (
735
+ event_data_store: ::String
736
+ ) -> _StartEventDataStoreIngestionResponseSuccess
737
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartEventDataStoreIngestionResponseSuccess
738
+
739
+ interface _StartImportResponseSuccess
740
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartImportResponse]
741
+ def import_id: () -> ::String
742
+ def destinations: () -> ::Array[::String]
743
+ def import_source: () -> Types::ImportSource
744
+ def start_event_time: () -> ::Time
745
+ def end_event_time: () -> ::Time
746
+ def import_status: () -> ("INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED")
747
+ def created_timestamp: () -> ::Time
748
+ def updated_timestamp: () -> ::Time
749
+ end
750
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#start_import-instance_method
751
+ def start_import: (
752
+ ?destinations: Array[::String],
753
+ ?import_source: {
754
+ s3: {
755
+ s3_location_uri: ::String,
756
+ s3_bucket_region: ::String,
757
+ s3_bucket_access_role_arn: ::String
758
+ }
759
+ },
760
+ ?start_event_time: ::Time,
761
+ ?end_event_time: ::Time,
762
+ ?import_id: ::String
763
+ ) -> _StartImportResponseSuccess
764
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartImportResponseSuccess
765
+
766
+ interface _StartLoggingResponseSuccess
767
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartLoggingResponse]
768
+ end
769
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#start_logging-instance_method
770
+ def start_logging: (
771
+ name: ::String
772
+ ) -> _StartLoggingResponseSuccess
773
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartLoggingResponseSuccess
774
+
775
+ interface _StartQueryResponseSuccess
776
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartQueryResponse]
777
+ def query_id: () -> ::String
778
+ end
779
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#start_query-instance_method
780
+ def start_query: (
781
+ ?query_statement: ::String,
782
+ ?delivery_s3_uri: ::String,
783
+ ?query_alias: ::String,
784
+ ?query_parameters: Array[::String]
785
+ ) -> _StartQueryResponseSuccess
786
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartQueryResponseSuccess
787
+
788
+ interface _StopEventDataStoreIngestionResponseSuccess
789
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopEventDataStoreIngestionResponse]
790
+ end
791
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#stop_event_data_store_ingestion-instance_method
792
+ def stop_event_data_store_ingestion: (
793
+ event_data_store: ::String
794
+ ) -> _StopEventDataStoreIngestionResponseSuccess
795
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopEventDataStoreIngestionResponseSuccess
796
+
797
+ interface _StopImportResponseSuccess
798
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopImportResponse]
799
+ def import_id: () -> ::String
800
+ def import_source: () -> Types::ImportSource
801
+ def destinations: () -> ::Array[::String]
802
+ def import_status: () -> ("INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED")
803
+ def created_timestamp: () -> ::Time
804
+ def updated_timestamp: () -> ::Time
805
+ def start_event_time: () -> ::Time
806
+ def end_event_time: () -> ::Time
807
+ def import_statistics: () -> Types::ImportStatistics
808
+ end
809
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#stop_import-instance_method
810
+ def stop_import: (
811
+ import_id: ::String
812
+ ) -> _StopImportResponseSuccess
813
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopImportResponseSuccess
814
+
815
+ interface _StopLoggingResponseSuccess
816
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopLoggingResponse]
817
+ end
818
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#stop_logging-instance_method
819
+ def stop_logging: (
820
+ name: ::String
821
+ ) -> _StopLoggingResponseSuccess
822
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopLoggingResponseSuccess
823
+
824
+ interface _UpdateChannelResponseSuccess
825
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelResponse]
826
+ def channel_arn: () -> ::String
827
+ def name: () -> ::String
828
+ def source: () -> ::String
829
+ def destinations: () -> ::Array[Types::Destination]
830
+ end
831
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#update_channel-instance_method
832
+ def update_channel: (
833
+ channel: ::String,
834
+ ?destinations: Array[
835
+ {
836
+ type: ("EVENT_DATA_STORE" | "AWS_SERVICE"),
837
+ location: ::String
838
+ },
839
+ ],
840
+ ?name: ::String
841
+ ) -> _UpdateChannelResponseSuccess
842
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelResponseSuccess
843
+
844
+ interface _UpdateEventDataStoreResponseSuccess
845
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventDataStoreResponse]
846
+ def event_data_store_arn: () -> ::String
847
+ def name: () -> ::String
848
+ def status: () -> ("CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION")
849
+ def advanced_event_selectors: () -> ::Array[Types::AdvancedEventSelector]
850
+ def multi_region_enabled: () -> bool
851
+ def organization_enabled: () -> bool
852
+ def retention_period: () -> ::Integer
853
+ def termination_protection_enabled: () -> bool
854
+ def created_timestamp: () -> ::Time
855
+ def updated_timestamp: () -> ::Time
856
+ def kms_key_id: () -> ::String
857
+ def billing_mode: () -> ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
858
+ def federation_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
859
+ def federation_role_arn: () -> ::String
860
+ end
861
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#update_event_data_store-instance_method
862
+ def update_event_data_store: (
863
+ event_data_store: ::String,
864
+ ?name: ::String,
865
+ ?advanced_event_selectors: Array[
866
+ {
867
+ name: ::String?,
868
+ field_selectors: Array[
869
+ {
870
+ field: ::String,
871
+ equals: Array[::String]?,
872
+ starts_with: Array[::String]?,
873
+ ends_with: Array[::String]?,
874
+ not_equals: Array[::String]?,
875
+ not_starts_with: Array[::String]?,
876
+ not_ends_with: Array[::String]?
877
+ },
878
+ ]
879
+ },
880
+ ],
881
+ ?multi_region_enabled: bool,
882
+ ?organization_enabled: bool,
883
+ ?retention_period: ::Integer,
884
+ ?termination_protection_enabled: bool,
885
+ ?kms_key_id: ::String,
886
+ ?billing_mode: ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
887
+ ) -> _UpdateEventDataStoreResponseSuccess
888
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventDataStoreResponseSuccess
889
+
890
+ interface _UpdateTrailResponseSuccess
891
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTrailResponse]
892
+ def name: () -> ::String
893
+ def s3_bucket_name: () -> ::String
894
+ def s3_key_prefix: () -> ::String
895
+ def sns_topic_name: () -> ::String
896
+ def sns_topic_arn: () -> ::String
897
+ def include_global_service_events: () -> bool
898
+ def is_multi_region_trail: () -> bool
899
+ def trail_arn: () -> ::String
900
+ def log_file_validation_enabled: () -> bool
901
+ def cloud_watch_logs_log_group_arn: () -> ::String
902
+ def cloud_watch_logs_role_arn: () -> ::String
903
+ def kms_key_id: () -> ::String
904
+ def is_organization_trail: () -> bool
905
+ end
906
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#update_trail-instance_method
907
+ def update_trail: (
908
+ name: ::String,
909
+ ?s3_bucket_name: ::String,
910
+ ?s3_key_prefix: ::String,
911
+ ?sns_topic_name: ::String,
912
+ ?include_global_service_events: bool,
913
+ ?is_multi_region_trail: bool,
914
+ ?enable_log_file_validation: bool,
915
+ ?cloud_watch_logs_log_group_arn: ::String,
916
+ ?cloud_watch_logs_role_arn: ::String,
917
+ ?kms_key_id: ::String,
918
+ ?is_organization_trail: bool
919
+ ) -> _UpdateTrailResponseSuccess
920
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTrailResponseSuccess
921
+ end
922
+ end
923
+ end
924
+