aws-sdk-cloudtrail 1.75.0 → 1.76.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.
data/sig/types.rbs ADDED
@@ -0,0 +1,1198 @@
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::CloudTrail
9
+ module Types
10
+
11
+ class AccessDeniedException < Aws::EmptyStructure
12
+ end
13
+
14
+ class AccountHasOngoingImportException < Aws::EmptyStructure
15
+ end
16
+
17
+ class AccountNotFoundException < Aws::EmptyStructure
18
+ end
19
+
20
+ class AccountNotRegisteredException < Aws::EmptyStructure
21
+ end
22
+
23
+ class AccountRegisteredException < Aws::EmptyStructure
24
+ end
25
+
26
+ class AddTagsRequest
27
+ attr_accessor resource_id: ::String
28
+ attr_accessor tags_list: ::Array[Types::Tag]
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class AddTagsResponse < Aws::EmptyStructure
33
+ end
34
+
35
+ class AdvancedEventSelector
36
+ attr_accessor name: ::String
37
+ attr_accessor field_selectors: ::Array[Types::AdvancedFieldSelector]
38
+ SENSITIVE: []
39
+ end
40
+
41
+ class AdvancedFieldSelector
42
+ attr_accessor field: ::String
43
+ attr_accessor equals: ::Array[::String]
44
+ attr_accessor starts_with: ::Array[::String]
45
+ attr_accessor ends_with: ::Array[::String]
46
+ attr_accessor not_equals: ::Array[::String]
47
+ attr_accessor not_starts_with: ::Array[::String]
48
+ attr_accessor not_ends_with: ::Array[::String]
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class CancelQueryRequest
53
+ attr_accessor event_data_store: ::String
54
+ attr_accessor query_id: ::String
55
+ SENSITIVE: []
56
+ end
57
+
58
+ class CancelQueryResponse
59
+ attr_accessor query_id: ::String
60
+ attr_accessor query_status: ("QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT")
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class CannotDelegateManagementAccountException < Aws::EmptyStructure
65
+ end
66
+
67
+ class Channel
68
+ attr_accessor channel_arn: ::String
69
+ attr_accessor name: ::String
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class ChannelARNInvalidException < Aws::EmptyStructure
74
+ end
75
+
76
+ class ChannelAlreadyExistsException < Aws::EmptyStructure
77
+ end
78
+
79
+ class ChannelExistsForEDSException < Aws::EmptyStructure
80
+ end
81
+
82
+ class ChannelMaxLimitExceededException < Aws::EmptyStructure
83
+ end
84
+
85
+ class ChannelNotFoundException < Aws::EmptyStructure
86
+ end
87
+
88
+ class CloudTrailARNInvalidException < Aws::EmptyStructure
89
+ end
90
+
91
+ class CloudTrailAccessNotEnabledException < Aws::EmptyStructure
92
+ end
93
+
94
+ class CloudTrailInvalidClientTokenIdException < Aws::EmptyStructure
95
+ end
96
+
97
+ class CloudWatchLogsDeliveryUnavailableException < Aws::EmptyStructure
98
+ end
99
+
100
+ class ConcurrentModificationException < Aws::EmptyStructure
101
+ end
102
+
103
+ class ConflictException < Aws::EmptyStructure
104
+ end
105
+
106
+ class CreateChannelRequest
107
+ attr_accessor name: ::String
108
+ attr_accessor source: ::String
109
+ attr_accessor destinations: ::Array[Types::Destination]
110
+ attr_accessor tags: ::Array[Types::Tag]
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class CreateChannelResponse
115
+ attr_accessor channel_arn: ::String
116
+ attr_accessor name: ::String
117
+ attr_accessor source: ::String
118
+ attr_accessor destinations: ::Array[Types::Destination]
119
+ attr_accessor tags: ::Array[Types::Tag]
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class CreateEventDataStoreRequest
124
+ attr_accessor name: ::String
125
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
126
+ attr_accessor multi_region_enabled: bool
127
+ attr_accessor organization_enabled: bool
128
+ attr_accessor retention_period: ::Integer
129
+ attr_accessor termination_protection_enabled: bool
130
+ attr_accessor tags_list: ::Array[Types::Tag]
131
+ attr_accessor kms_key_id: ::String
132
+ attr_accessor start_ingestion: bool
133
+ attr_accessor billing_mode: ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class CreateEventDataStoreResponse
138
+ attr_accessor event_data_store_arn: ::String
139
+ attr_accessor name: ::String
140
+ attr_accessor status: ("CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION")
141
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
142
+ attr_accessor multi_region_enabled: bool
143
+ attr_accessor organization_enabled: bool
144
+ attr_accessor retention_period: ::Integer
145
+ attr_accessor termination_protection_enabled: bool
146
+ attr_accessor tags_list: ::Array[Types::Tag]
147
+ attr_accessor created_timestamp: ::Time
148
+ attr_accessor updated_timestamp: ::Time
149
+ attr_accessor kms_key_id: ::String
150
+ attr_accessor billing_mode: ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class CreateTrailRequest
155
+ attr_accessor name: ::String
156
+ attr_accessor s3_bucket_name: ::String
157
+ attr_accessor s3_key_prefix: ::String
158
+ attr_accessor sns_topic_name: ::String
159
+ attr_accessor include_global_service_events: bool
160
+ attr_accessor is_multi_region_trail: bool
161
+ attr_accessor enable_log_file_validation: bool
162
+ attr_accessor cloud_watch_logs_log_group_arn: ::String
163
+ attr_accessor cloud_watch_logs_role_arn: ::String
164
+ attr_accessor kms_key_id: ::String
165
+ attr_accessor is_organization_trail: bool
166
+ attr_accessor tags_list: ::Array[Types::Tag]
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class CreateTrailResponse
171
+ attr_accessor name: ::String
172
+ attr_accessor s3_bucket_name: ::String
173
+ attr_accessor s3_key_prefix: ::String
174
+ attr_accessor sns_topic_name: ::String
175
+ attr_accessor sns_topic_arn: ::String
176
+ attr_accessor include_global_service_events: bool
177
+ attr_accessor is_multi_region_trail: bool
178
+ attr_accessor trail_arn: ::String
179
+ attr_accessor log_file_validation_enabled: bool
180
+ attr_accessor cloud_watch_logs_log_group_arn: ::String
181
+ attr_accessor cloud_watch_logs_role_arn: ::String
182
+ attr_accessor kms_key_id: ::String
183
+ attr_accessor is_organization_trail: bool
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class DataResource
188
+ attr_accessor type: ::String
189
+ attr_accessor values: ::Array[::String]
190
+ SENSITIVE: []
191
+ end
192
+
193
+ class DelegatedAdminAccountLimitExceededException < Aws::EmptyStructure
194
+ end
195
+
196
+ class DeleteChannelRequest
197
+ attr_accessor channel: ::String
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class DeleteChannelResponse < Aws::EmptyStructure
202
+ end
203
+
204
+ class DeleteEventDataStoreRequest
205
+ attr_accessor event_data_store: ::String
206
+ SENSITIVE: []
207
+ end
208
+
209
+ class DeleteEventDataStoreResponse < Aws::EmptyStructure
210
+ end
211
+
212
+ class DeleteResourcePolicyRequest
213
+ attr_accessor resource_arn: ::String
214
+ SENSITIVE: []
215
+ end
216
+
217
+ class DeleteResourcePolicyResponse < Aws::EmptyStructure
218
+ end
219
+
220
+ class DeleteTrailRequest
221
+ attr_accessor name: ::String
222
+ SENSITIVE: []
223
+ end
224
+
225
+ class DeleteTrailResponse < Aws::EmptyStructure
226
+ end
227
+
228
+ class DeregisterOrganizationDelegatedAdminRequest
229
+ attr_accessor delegated_admin_account_id: ::String
230
+ SENSITIVE: []
231
+ end
232
+
233
+ class DeregisterOrganizationDelegatedAdminResponse < Aws::EmptyStructure
234
+ end
235
+
236
+ class DescribeQueryRequest
237
+ attr_accessor event_data_store: ::String
238
+ attr_accessor query_id: ::String
239
+ attr_accessor query_alias: ::String
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class DescribeQueryResponse
244
+ attr_accessor query_id: ::String
245
+ attr_accessor query_string: ::String
246
+ attr_accessor query_status: ("QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT")
247
+ attr_accessor query_statistics: Types::QueryStatisticsForDescribeQuery
248
+ attr_accessor error_message: ::String
249
+ attr_accessor delivery_s3_uri: ::String
250
+ attr_accessor delivery_status: ("SUCCESS" | "FAILED" | "FAILED_SIGNING_FILE" | "PENDING" | "RESOURCE_NOT_FOUND" | "ACCESS_DENIED" | "ACCESS_DENIED_SIGNING_FILE" | "CANCELLED" | "UNKNOWN")
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class DescribeTrailsRequest
255
+ attr_accessor trail_name_list: ::Array[::String]
256
+ attr_accessor include_shadow_trails: bool
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class DescribeTrailsResponse
261
+ attr_accessor trail_list: ::Array[Types::Trail]
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class Destination
266
+ attr_accessor type: ("EVENT_DATA_STORE" | "AWS_SERVICE")
267
+ attr_accessor location: ::String
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class DisableFederationRequest
272
+ attr_accessor event_data_store: ::String
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class DisableFederationResponse
277
+ attr_accessor event_data_store_arn: ::String
278
+ attr_accessor federation_status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
279
+ SENSITIVE: []
280
+ end
281
+
282
+ class EnableFederationRequest
283
+ attr_accessor event_data_store: ::String
284
+ attr_accessor federation_role_arn: ::String
285
+ SENSITIVE: []
286
+ end
287
+
288
+ class EnableFederationResponse
289
+ attr_accessor event_data_store_arn: ::String
290
+ attr_accessor federation_status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
291
+ attr_accessor federation_role_arn: ::String
292
+ SENSITIVE: []
293
+ end
294
+
295
+ class Event
296
+ attr_accessor event_id: ::String
297
+ attr_accessor event_name: ::String
298
+ attr_accessor read_only: ::String
299
+ attr_accessor access_key_id: ::String
300
+ attr_accessor event_time: ::Time
301
+ attr_accessor event_source: ::String
302
+ attr_accessor username: ::String
303
+ attr_accessor resources: ::Array[Types::Resource]
304
+ attr_accessor cloud_trail_event: ::String
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class EventDataStore
309
+ attr_accessor event_data_store_arn: ::String
310
+ attr_accessor name: ::String
311
+ attr_accessor termination_protection_enabled: bool
312
+ attr_accessor status: ("CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION")
313
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
314
+ attr_accessor multi_region_enabled: bool
315
+ attr_accessor organization_enabled: bool
316
+ attr_accessor retention_period: ::Integer
317
+ attr_accessor created_timestamp: ::Time
318
+ attr_accessor updated_timestamp: ::Time
319
+ SENSITIVE: []
320
+ end
321
+
322
+ class EventDataStoreARNInvalidException < Aws::EmptyStructure
323
+ end
324
+
325
+ class EventDataStoreAlreadyExistsException < Aws::EmptyStructure
326
+ end
327
+
328
+ class EventDataStoreFederationEnabledException < Aws::EmptyStructure
329
+ end
330
+
331
+ class EventDataStoreHasOngoingImportException < Aws::EmptyStructure
332
+ end
333
+
334
+ class EventDataStoreMaxLimitExceededException < Aws::EmptyStructure
335
+ end
336
+
337
+ class EventDataStoreNotFoundException < Aws::EmptyStructure
338
+ end
339
+
340
+ class EventDataStoreTerminationProtectedException < Aws::EmptyStructure
341
+ end
342
+
343
+ class EventSelector
344
+ attr_accessor read_write_type: ("ReadOnly" | "WriteOnly" | "All")
345
+ attr_accessor include_management_events: bool
346
+ attr_accessor data_resources: ::Array[Types::DataResource]
347
+ attr_accessor exclude_management_event_sources: ::Array[::String]
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class GetChannelRequest
352
+ attr_accessor channel: ::String
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class GetChannelResponse
357
+ attr_accessor channel_arn: ::String
358
+ attr_accessor name: ::String
359
+ attr_accessor source: ::String
360
+ attr_accessor source_config: Types::SourceConfig
361
+ attr_accessor destinations: ::Array[Types::Destination]
362
+ attr_accessor ingestion_status: Types::IngestionStatus
363
+ SENSITIVE: []
364
+ end
365
+
366
+ class GetEventDataStoreRequest
367
+ attr_accessor event_data_store: ::String
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class GetEventDataStoreResponse
372
+ attr_accessor event_data_store_arn: ::String
373
+ attr_accessor name: ::String
374
+ attr_accessor status: ("CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION")
375
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
376
+ attr_accessor multi_region_enabled: bool
377
+ attr_accessor organization_enabled: bool
378
+ attr_accessor retention_period: ::Integer
379
+ attr_accessor termination_protection_enabled: bool
380
+ attr_accessor created_timestamp: ::Time
381
+ attr_accessor updated_timestamp: ::Time
382
+ attr_accessor kms_key_id: ::String
383
+ attr_accessor billing_mode: ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
384
+ attr_accessor federation_status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
385
+ attr_accessor federation_role_arn: ::String
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class GetEventSelectorsRequest
390
+ attr_accessor trail_name: ::String
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class GetEventSelectorsResponse
395
+ attr_accessor trail_arn: ::String
396
+ attr_accessor event_selectors: ::Array[Types::EventSelector]
397
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
398
+ SENSITIVE: []
399
+ end
400
+
401
+ class GetImportRequest
402
+ attr_accessor import_id: ::String
403
+ SENSITIVE: []
404
+ end
405
+
406
+ class GetImportResponse
407
+ attr_accessor import_id: ::String
408
+ attr_accessor destinations: ::Array[::String]
409
+ attr_accessor import_source: Types::ImportSource
410
+ attr_accessor start_event_time: ::Time
411
+ attr_accessor end_event_time: ::Time
412
+ attr_accessor import_status: ("INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED")
413
+ attr_accessor created_timestamp: ::Time
414
+ attr_accessor updated_timestamp: ::Time
415
+ attr_accessor import_statistics: Types::ImportStatistics
416
+ SENSITIVE: []
417
+ end
418
+
419
+ class GetInsightSelectorsRequest
420
+ attr_accessor trail_name: ::String
421
+ attr_accessor event_data_store: ::String
422
+ SENSITIVE: []
423
+ end
424
+
425
+ class GetInsightSelectorsResponse
426
+ attr_accessor trail_arn: ::String
427
+ attr_accessor insight_selectors: ::Array[Types::InsightSelector]
428
+ attr_accessor event_data_store_arn: ::String
429
+ attr_accessor insights_destination: ::String
430
+ SENSITIVE: []
431
+ end
432
+
433
+ class GetQueryResultsRequest
434
+ attr_accessor event_data_store: ::String
435
+ attr_accessor query_id: ::String
436
+ attr_accessor next_token: ::String
437
+ attr_accessor max_query_results: ::Integer
438
+ SENSITIVE: []
439
+ end
440
+
441
+ class GetQueryResultsResponse
442
+ attr_accessor query_status: ("QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT")
443
+ attr_accessor query_statistics: Types::QueryStatistics
444
+ attr_accessor query_result_rows: ::Array[::Array[::Hash[::String, ::String]]]
445
+ attr_accessor next_token: ::String
446
+ attr_accessor error_message: ::String
447
+ SENSITIVE: []
448
+ end
449
+
450
+ class GetResourcePolicyRequest
451
+ attr_accessor resource_arn: ::String
452
+ SENSITIVE: []
453
+ end
454
+
455
+ class GetResourcePolicyResponse
456
+ attr_accessor resource_arn: ::String
457
+ attr_accessor resource_policy: ::String
458
+ SENSITIVE: []
459
+ end
460
+
461
+ class GetTrailRequest
462
+ attr_accessor name: ::String
463
+ SENSITIVE: []
464
+ end
465
+
466
+ class GetTrailResponse
467
+ attr_accessor trail: Types::Trail
468
+ SENSITIVE: []
469
+ end
470
+
471
+ class GetTrailStatusRequest
472
+ attr_accessor name: ::String
473
+ SENSITIVE: []
474
+ end
475
+
476
+ class GetTrailStatusResponse
477
+ attr_accessor is_logging: bool
478
+ attr_accessor latest_delivery_error: ::String
479
+ attr_accessor latest_notification_error: ::String
480
+ attr_accessor latest_delivery_time: ::Time
481
+ attr_accessor latest_notification_time: ::Time
482
+ attr_accessor start_logging_time: ::Time
483
+ attr_accessor stop_logging_time: ::Time
484
+ attr_accessor latest_cloud_watch_logs_delivery_error: ::String
485
+ attr_accessor latest_cloud_watch_logs_delivery_time: ::Time
486
+ attr_accessor latest_digest_delivery_time: ::Time
487
+ attr_accessor latest_digest_delivery_error: ::String
488
+ attr_accessor latest_delivery_attempt_time: ::String
489
+ attr_accessor latest_notification_attempt_time: ::String
490
+ attr_accessor latest_notification_attempt_succeeded: ::String
491
+ attr_accessor latest_delivery_attempt_succeeded: ::String
492
+ attr_accessor time_logging_started: ::String
493
+ attr_accessor time_logging_stopped: ::String
494
+ SENSITIVE: []
495
+ end
496
+
497
+ class ImportFailureListItem
498
+ attr_accessor location: ::String
499
+ attr_accessor status: ("FAILED" | "RETRY" | "SUCCEEDED")
500
+ attr_accessor error_type: ::String
501
+ attr_accessor error_message: ::String
502
+ attr_accessor last_updated_time: ::Time
503
+ SENSITIVE: []
504
+ end
505
+
506
+ class ImportNotFoundException < Aws::EmptyStructure
507
+ end
508
+
509
+ class ImportSource
510
+ attr_accessor s3: Types::S3ImportSource
511
+ SENSITIVE: []
512
+ end
513
+
514
+ class ImportStatistics
515
+ attr_accessor prefixes_found: ::Integer
516
+ attr_accessor prefixes_completed: ::Integer
517
+ attr_accessor files_completed: ::Integer
518
+ attr_accessor events_completed: ::Integer
519
+ attr_accessor failed_entries: ::Integer
520
+ SENSITIVE: []
521
+ end
522
+
523
+ class ImportsListItem
524
+ attr_accessor import_id: ::String
525
+ attr_accessor import_status: ("INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED")
526
+ attr_accessor destinations: ::Array[::String]
527
+ attr_accessor created_timestamp: ::Time
528
+ attr_accessor updated_timestamp: ::Time
529
+ SENSITIVE: []
530
+ end
531
+
532
+ class InactiveEventDataStoreException < Aws::EmptyStructure
533
+ end
534
+
535
+ class InactiveQueryException < Aws::EmptyStructure
536
+ end
537
+
538
+ class IngestionStatus
539
+ attr_accessor latest_ingestion_success_time: ::Time
540
+ attr_accessor latest_ingestion_success_event_id: ::String
541
+ attr_accessor latest_ingestion_error_code: ::String
542
+ attr_accessor latest_ingestion_attempt_time: ::Time
543
+ attr_accessor latest_ingestion_attempt_event_id: ::String
544
+ SENSITIVE: []
545
+ end
546
+
547
+ class InsightNotEnabledException < Aws::EmptyStructure
548
+ end
549
+
550
+ class InsightSelector
551
+ attr_accessor insight_type: ("ApiCallRateInsight" | "ApiErrorRateInsight")
552
+ SENSITIVE: []
553
+ end
554
+
555
+ class InsufficientDependencyServiceAccessPermissionException < Aws::EmptyStructure
556
+ end
557
+
558
+ class InsufficientEncryptionPolicyException < Aws::EmptyStructure
559
+ end
560
+
561
+ class InsufficientS3BucketPolicyException < Aws::EmptyStructure
562
+ end
563
+
564
+ class InsufficientSnsTopicPolicyException < Aws::EmptyStructure
565
+ end
566
+
567
+ class InvalidCloudWatchLogsLogGroupArnException < Aws::EmptyStructure
568
+ end
569
+
570
+ class InvalidCloudWatchLogsRoleArnException < Aws::EmptyStructure
571
+ end
572
+
573
+ class InvalidDateRangeException < Aws::EmptyStructure
574
+ end
575
+
576
+ class InvalidEventCategoryException < Aws::EmptyStructure
577
+ end
578
+
579
+ class InvalidEventDataStoreCategoryException < Aws::EmptyStructure
580
+ end
581
+
582
+ class InvalidEventDataStoreStatusException < Aws::EmptyStructure
583
+ end
584
+
585
+ class InvalidEventSelectorsException < Aws::EmptyStructure
586
+ end
587
+
588
+ class InvalidHomeRegionException < Aws::EmptyStructure
589
+ end
590
+
591
+ class InvalidImportSourceException < Aws::EmptyStructure
592
+ end
593
+
594
+ class InvalidInsightSelectorsException < Aws::EmptyStructure
595
+ end
596
+
597
+ class InvalidKmsKeyIdException < Aws::EmptyStructure
598
+ end
599
+
600
+ class InvalidLookupAttributesException < Aws::EmptyStructure
601
+ end
602
+
603
+ class InvalidMaxResultsException < Aws::EmptyStructure
604
+ end
605
+
606
+ class InvalidNextTokenException < Aws::EmptyStructure
607
+ end
608
+
609
+ class InvalidParameterCombinationException < Aws::EmptyStructure
610
+ end
611
+
612
+ class InvalidParameterException < Aws::EmptyStructure
613
+ end
614
+
615
+ class InvalidQueryStatementException < Aws::EmptyStructure
616
+ end
617
+
618
+ class InvalidQueryStatusException < Aws::EmptyStructure
619
+ end
620
+
621
+ class InvalidS3BucketNameException < Aws::EmptyStructure
622
+ end
623
+
624
+ class InvalidS3PrefixException < Aws::EmptyStructure
625
+ end
626
+
627
+ class InvalidSnsTopicNameException < Aws::EmptyStructure
628
+ end
629
+
630
+ class InvalidSourceException < Aws::EmptyStructure
631
+ end
632
+
633
+ class InvalidTagParameterException < Aws::EmptyStructure
634
+ end
635
+
636
+ class InvalidTimeRangeException < Aws::EmptyStructure
637
+ end
638
+
639
+ class InvalidTokenException < Aws::EmptyStructure
640
+ end
641
+
642
+ class InvalidTrailNameException < Aws::EmptyStructure
643
+ end
644
+
645
+ class KmsException < Aws::EmptyStructure
646
+ end
647
+
648
+ class KmsKeyDisabledException < Aws::EmptyStructure
649
+ end
650
+
651
+ class KmsKeyNotFoundException < Aws::EmptyStructure
652
+ end
653
+
654
+ class ListChannelsRequest
655
+ attr_accessor max_results: ::Integer
656
+ attr_accessor next_token: ::String
657
+ SENSITIVE: []
658
+ end
659
+
660
+ class ListChannelsResponse
661
+ attr_accessor channels: ::Array[Types::Channel]
662
+ attr_accessor next_token: ::String
663
+ SENSITIVE: []
664
+ end
665
+
666
+ class ListEventDataStoresRequest
667
+ attr_accessor next_token: ::String
668
+ attr_accessor max_results: ::Integer
669
+ SENSITIVE: []
670
+ end
671
+
672
+ class ListEventDataStoresResponse
673
+ attr_accessor event_data_stores: ::Array[Types::EventDataStore]
674
+ attr_accessor next_token: ::String
675
+ SENSITIVE: []
676
+ end
677
+
678
+ class ListImportFailuresRequest
679
+ attr_accessor import_id: ::String
680
+ attr_accessor max_results: ::Integer
681
+ attr_accessor next_token: ::String
682
+ SENSITIVE: []
683
+ end
684
+
685
+ class ListImportFailuresResponse
686
+ attr_accessor failures: ::Array[Types::ImportFailureListItem]
687
+ attr_accessor next_token: ::String
688
+ SENSITIVE: []
689
+ end
690
+
691
+ class ListImportsRequest
692
+ attr_accessor max_results: ::Integer
693
+ attr_accessor destination: ::String
694
+ attr_accessor import_status: ("INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED")
695
+ attr_accessor next_token: ::String
696
+ SENSITIVE: []
697
+ end
698
+
699
+ class ListImportsResponse
700
+ attr_accessor imports: ::Array[Types::ImportsListItem]
701
+ attr_accessor next_token: ::String
702
+ SENSITIVE: []
703
+ end
704
+
705
+ class ListInsightsMetricDataRequest
706
+ attr_accessor event_source: ::String
707
+ attr_accessor event_name: ::String
708
+ attr_accessor insight_type: ("ApiCallRateInsight" | "ApiErrorRateInsight")
709
+ attr_accessor error_code: ::String
710
+ attr_accessor start_time: ::Time
711
+ attr_accessor end_time: ::Time
712
+ attr_accessor period: ::Integer
713
+ attr_accessor data_type: ("FillWithZeros" | "NonZeroData")
714
+ attr_accessor max_results: ::Integer
715
+ attr_accessor next_token: ::String
716
+ SENSITIVE: []
717
+ end
718
+
719
+ class ListInsightsMetricDataResponse
720
+ attr_accessor event_source: ::String
721
+ attr_accessor event_name: ::String
722
+ attr_accessor insight_type: ("ApiCallRateInsight" | "ApiErrorRateInsight")
723
+ attr_accessor error_code: ::String
724
+ attr_accessor timestamps: ::Array[::Time]
725
+ attr_accessor values: ::Array[::Float]
726
+ attr_accessor next_token: ::String
727
+ SENSITIVE: []
728
+ end
729
+
730
+ class ListPublicKeysRequest
731
+ attr_accessor start_time: ::Time
732
+ attr_accessor end_time: ::Time
733
+ attr_accessor next_token: ::String
734
+ SENSITIVE: []
735
+ end
736
+
737
+ class ListPublicKeysResponse
738
+ attr_accessor public_key_list: ::Array[Types::PublicKey]
739
+ attr_accessor next_token: ::String
740
+ SENSITIVE: []
741
+ end
742
+
743
+ class ListQueriesRequest
744
+ attr_accessor event_data_store: ::String
745
+ attr_accessor next_token: ::String
746
+ attr_accessor max_results: ::Integer
747
+ attr_accessor start_time: ::Time
748
+ attr_accessor end_time: ::Time
749
+ attr_accessor query_status: ("QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT")
750
+ SENSITIVE: []
751
+ end
752
+
753
+ class ListQueriesResponse
754
+ attr_accessor queries: ::Array[Types::Query]
755
+ attr_accessor next_token: ::String
756
+ SENSITIVE: []
757
+ end
758
+
759
+ class ListTagsRequest
760
+ attr_accessor resource_id_list: ::Array[::String]
761
+ attr_accessor next_token: ::String
762
+ SENSITIVE: []
763
+ end
764
+
765
+ class ListTagsResponse
766
+ attr_accessor resource_tag_list: ::Array[Types::ResourceTag]
767
+ attr_accessor next_token: ::String
768
+ SENSITIVE: []
769
+ end
770
+
771
+ class ListTrailsRequest
772
+ attr_accessor next_token: ::String
773
+ SENSITIVE: []
774
+ end
775
+
776
+ class ListTrailsResponse
777
+ attr_accessor trails: ::Array[Types::TrailInfo]
778
+ attr_accessor next_token: ::String
779
+ SENSITIVE: []
780
+ end
781
+
782
+ class LookupAttribute
783
+ attr_accessor attribute_key: ("EventId" | "EventName" | "ReadOnly" | "Username" | "ResourceType" | "ResourceName" | "EventSource" | "AccessKeyId")
784
+ attr_accessor attribute_value: ::String
785
+ SENSITIVE: []
786
+ end
787
+
788
+ class LookupEventsRequest
789
+ attr_accessor lookup_attributes: ::Array[Types::LookupAttribute]
790
+ attr_accessor start_time: ::Time
791
+ attr_accessor end_time: ::Time
792
+ attr_accessor event_category: ("insight")
793
+ attr_accessor max_results: ::Integer
794
+ attr_accessor next_token: ::String
795
+ SENSITIVE: []
796
+ end
797
+
798
+ class LookupEventsResponse
799
+ attr_accessor events: ::Array[Types::Event]
800
+ attr_accessor next_token: ::String
801
+ SENSITIVE: []
802
+ end
803
+
804
+ class MaxConcurrentQueriesException < Aws::EmptyStructure
805
+ end
806
+
807
+ class MaximumNumberOfTrailsExceededException < Aws::EmptyStructure
808
+ end
809
+
810
+ class NoManagementAccountSLRExistsException < Aws::EmptyStructure
811
+ end
812
+
813
+ class NotOrganizationManagementAccountException < Aws::EmptyStructure
814
+ end
815
+
816
+ class NotOrganizationMasterAccountException < Aws::EmptyStructure
817
+ end
818
+
819
+ class OperationNotPermittedException < Aws::EmptyStructure
820
+ end
821
+
822
+ class OrganizationNotInAllFeaturesModeException < Aws::EmptyStructure
823
+ end
824
+
825
+ class OrganizationsNotInUseException < Aws::EmptyStructure
826
+ end
827
+
828
+ class PublicKey
829
+ attr_accessor value: ::String
830
+ attr_accessor validity_start_time: ::Time
831
+ attr_accessor validity_end_time: ::Time
832
+ attr_accessor fingerprint: ::String
833
+ SENSITIVE: []
834
+ end
835
+
836
+ class PutEventSelectorsRequest
837
+ attr_accessor trail_name: ::String
838
+ attr_accessor event_selectors: ::Array[Types::EventSelector]
839
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
840
+ SENSITIVE: []
841
+ end
842
+
843
+ class PutEventSelectorsResponse
844
+ attr_accessor trail_arn: ::String
845
+ attr_accessor event_selectors: ::Array[Types::EventSelector]
846
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
847
+ SENSITIVE: []
848
+ end
849
+
850
+ class PutInsightSelectorsRequest
851
+ attr_accessor trail_name: ::String
852
+ attr_accessor insight_selectors: ::Array[Types::InsightSelector]
853
+ attr_accessor event_data_store: ::String
854
+ attr_accessor insights_destination: ::String
855
+ SENSITIVE: []
856
+ end
857
+
858
+ class PutInsightSelectorsResponse
859
+ attr_accessor trail_arn: ::String
860
+ attr_accessor insight_selectors: ::Array[Types::InsightSelector]
861
+ attr_accessor event_data_store_arn: ::String
862
+ attr_accessor insights_destination: ::String
863
+ SENSITIVE: []
864
+ end
865
+
866
+ class PutResourcePolicyRequest
867
+ attr_accessor resource_arn: ::String
868
+ attr_accessor resource_policy: ::String
869
+ SENSITIVE: []
870
+ end
871
+
872
+ class PutResourcePolicyResponse
873
+ attr_accessor resource_arn: ::String
874
+ attr_accessor resource_policy: ::String
875
+ SENSITIVE: []
876
+ end
877
+
878
+ class Query
879
+ attr_accessor query_id: ::String
880
+ attr_accessor query_status: ("QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT")
881
+ attr_accessor creation_time: ::Time
882
+ SENSITIVE: []
883
+ end
884
+
885
+ class QueryIdNotFoundException < Aws::EmptyStructure
886
+ end
887
+
888
+ class QueryStatistics
889
+ attr_accessor results_count: ::Integer
890
+ attr_accessor total_results_count: ::Integer
891
+ attr_accessor bytes_scanned: ::Integer
892
+ SENSITIVE: []
893
+ end
894
+
895
+ class QueryStatisticsForDescribeQuery
896
+ attr_accessor events_matched: ::Integer
897
+ attr_accessor events_scanned: ::Integer
898
+ attr_accessor bytes_scanned: ::Integer
899
+ attr_accessor execution_time_in_millis: ::Integer
900
+ attr_accessor creation_time: ::Time
901
+ SENSITIVE: []
902
+ end
903
+
904
+ class RegisterOrganizationDelegatedAdminRequest
905
+ attr_accessor member_account_id: ::String
906
+ SENSITIVE: []
907
+ end
908
+
909
+ class RegisterOrganizationDelegatedAdminResponse < Aws::EmptyStructure
910
+ end
911
+
912
+ class RemoveTagsRequest
913
+ attr_accessor resource_id: ::String
914
+ attr_accessor tags_list: ::Array[Types::Tag]
915
+ SENSITIVE: []
916
+ end
917
+
918
+ class RemoveTagsResponse < Aws::EmptyStructure
919
+ end
920
+
921
+ class Resource
922
+ attr_accessor resource_type: ::String
923
+ attr_accessor resource_name: ::String
924
+ SENSITIVE: []
925
+ end
926
+
927
+ class ResourceARNNotValidException < Aws::EmptyStructure
928
+ end
929
+
930
+ class ResourceNotFoundException < Aws::EmptyStructure
931
+ end
932
+
933
+ class ResourcePolicyNotFoundException < Aws::EmptyStructure
934
+ end
935
+
936
+ class ResourcePolicyNotValidException < Aws::EmptyStructure
937
+ end
938
+
939
+ class ResourceTag
940
+ attr_accessor resource_id: ::String
941
+ attr_accessor tags_list: ::Array[Types::Tag]
942
+ SENSITIVE: []
943
+ end
944
+
945
+ class ResourceTypeNotSupportedException < Aws::EmptyStructure
946
+ end
947
+
948
+ class RestoreEventDataStoreRequest
949
+ attr_accessor event_data_store: ::String
950
+ SENSITIVE: []
951
+ end
952
+
953
+ class RestoreEventDataStoreResponse
954
+ attr_accessor event_data_store_arn: ::String
955
+ attr_accessor name: ::String
956
+ attr_accessor status: ("CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION")
957
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
958
+ attr_accessor multi_region_enabled: bool
959
+ attr_accessor organization_enabled: bool
960
+ attr_accessor retention_period: ::Integer
961
+ attr_accessor termination_protection_enabled: bool
962
+ attr_accessor created_timestamp: ::Time
963
+ attr_accessor updated_timestamp: ::Time
964
+ attr_accessor kms_key_id: ::String
965
+ attr_accessor billing_mode: ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
966
+ SENSITIVE: []
967
+ end
968
+
969
+ class S3BucketDoesNotExistException < Aws::EmptyStructure
970
+ end
971
+
972
+ class S3ImportSource
973
+ attr_accessor s3_location_uri: ::String
974
+ attr_accessor s3_bucket_region: ::String
975
+ attr_accessor s3_bucket_access_role_arn: ::String
976
+ SENSITIVE: []
977
+ end
978
+
979
+ class SourceConfig
980
+ attr_accessor apply_to_all_regions: bool
981
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
982
+ SENSITIVE: []
983
+ end
984
+
985
+ class StartEventDataStoreIngestionRequest
986
+ attr_accessor event_data_store: ::String
987
+ SENSITIVE: []
988
+ end
989
+
990
+ class StartEventDataStoreIngestionResponse < Aws::EmptyStructure
991
+ end
992
+
993
+ class StartImportRequest
994
+ attr_accessor destinations: ::Array[::String]
995
+ attr_accessor import_source: Types::ImportSource
996
+ attr_accessor start_event_time: ::Time
997
+ attr_accessor end_event_time: ::Time
998
+ attr_accessor import_id: ::String
999
+ SENSITIVE: []
1000
+ end
1001
+
1002
+ class StartImportResponse
1003
+ attr_accessor import_id: ::String
1004
+ attr_accessor destinations: ::Array[::String]
1005
+ attr_accessor import_source: Types::ImportSource
1006
+ attr_accessor start_event_time: ::Time
1007
+ attr_accessor end_event_time: ::Time
1008
+ attr_accessor import_status: ("INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED")
1009
+ attr_accessor created_timestamp: ::Time
1010
+ attr_accessor updated_timestamp: ::Time
1011
+ SENSITIVE: []
1012
+ end
1013
+
1014
+ class StartLoggingRequest
1015
+ attr_accessor name: ::String
1016
+ SENSITIVE: []
1017
+ end
1018
+
1019
+ class StartLoggingResponse < Aws::EmptyStructure
1020
+ end
1021
+
1022
+ class StartQueryRequest
1023
+ attr_accessor query_statement: ::String
1024
+ attr_accessor delivery_s3_uri: ::String
1025
+ attr_accessor query_alias: ::String
1026
+ attr_accessor query_parameters: ::Array[::String]
1027
+ SENSITIVE: []
1028
+ end
1029
+
1030
+ class StartQueryResponse
1031
+ attr_accessor query_id: ::String
1032
+ SENSITIVE: []
1033
+ end
1034
+
1035
+ class StopEventDataStoreIngestionRequest
1036
+ attr_accessor event_data_store: ::String
1037
+ SENSITIVE: []
1038
+ end
1039
+
1040
+ class StopEventDataStoreIngestionResponse < Aws::EmptyStructure
1041
+ end
1042
+
1043
+ class StopImportRequest
1044
+ attr_accessor import_id: ::String
1045
+ SENSITIVE: []
1046
+ end
1047
+
1048
+ class StopImportResponse
1049
+ attr_accessor import_id: ::String
1050
+ attr_accessor import_source: Types::ImportSource
1051
+ attr_accessor destinations: ::Array[::String]
1052
+ attr_accessor import_status: ("INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED")
1053
+ attr_accessor created_timestamp: ::Time
1054
+ attr_accessor updated_timestamp: ::Time
1055
+ attr_accessor start_event_time: ::Time
1056
+ attr_accessor end_event_time: ::Time
1057
+ attr_accessor import_statistics: Types::ImportStatistics
1058
+ SENSITIVE: []
1059
+ end
1060
+
1061
+ class StopLoggingRequest
1062
+ attr_accessor name: ::String
1063
+ SENSITIVE: []
1064
+ end
1065
+
1066
+ class StopLoggingResponse < Aws::EmptyStructure
1067
+ end
1068
+
1069
+ class Tag
1070
+ attr_accessor key: ::String
1071
+ attr_accessor value: ::String
1072
+ SENSITIVE: []
1073
+ end
1074
+
1075
+ class TagsLimitExceededException < Aws::EmptyStructure
1076
+ end
1077
+
1078
+ class ThrottlingException < Aws::EmptyStructure
1079
+ end
1080
+
1081
+ class Trail
1082
+ attr_accessor name: ::String
1083
+ attr_accessor s3_bucket_name: ::String
1084
+ attr_accessor s3_key_prefix: ::String
1085
+ attr_accessor sns_topic_name: ::String
1086
+ attr_accessor sns_topic_arn: ::String
1087
+ attr_accessor include_global_service_events: bool
1088
+ attr_accessor is_multi_region_trail: bool
1089
+ attr_accessor home_region: ::String
1090
+ attr_accessor trail_arn: ::String
1091
+ attr_accessor log_file_validation_enabled: bool
1092
+ attr_accessor cloud_watch_logs_log_group_arn: ::String
1093
+ attr_accessor cloud_watch_logs_role_arn: ::String
1094
+ attr_accessor kms_key_id: ::String
1095
+ attr_accessor has_custom_event_selectors: bool
1096
+ attr_accessor has_insight_selectors: bool
1097
+ attr_accessor is_organization_trail: bool
1098
+ SENSITIVE: []
1099
+ end
1100
+
1101
+ class TrailAlreadyExistsException < Aws::EmptyStructure
1102
+ end
1103
+
1104
+ class TrailInfo
1105
+ attr_accessor trail_arn: ::String
1106
+ attr_accessor name: ::String
1107
+ attr_accessor home_region: ::String
1108
+ SENSITIVE: []
1109
+ end
1110
+
1111
+ class TrailNotFoundException < Aws::EmptyStructure
1112
+ end
1113
+
1114
+ class TrailNotProvidedException < Aws::EmptyStructure
1115
+ end
1116
+
1117
+ class UnsupportedOperationException < Aws::EmptyStructure
1118
+ end
1119
+
1120
+ class UpdateChannelRequest
1121
+ attr_accessor channel: ::String
1122
+ attr_accessor destinations: ::Array[Types::Destination]
1123
+ attr_accessor name: ::String
1124
+ SENSITIVE: []
1125
+ end
1126
+
1127
+ class UpdateChannelResponse
1128
+ attr_accessor channel_arn: ::String
1129
+ attr_accessor name: ::String
1130
+ attr_accessor source: ::String
1131
+ attr_accessor destinations: ::Array[Types::Destination]
1132
+ SENSITIVE: []
1133
+ end
1134
+
1135
+ class UpdateEventDataStoreRequest
1136
+ attr_accessor event_data_store: ::String
1137
+ attr_accessor name: ::String
1138
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
1139
+ attr_accessor multi_region_enabled: bool
1140
+ attr_accessor organization_enabled: bool
1141
+ attr_accessor retention_period: ::Integer
1142
+ attr_accessor termination_protection_enabled: bool
1143
+ attr_accessor kms_key_id: ::String
1144
+ attr_accessor billing_mode: ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
1145
+ SENSITIVE: []
1146
+ end
1147
+
1148
+ class UpdateEventDataStoreResponse
1149
+ attr_accessor event_data_store_arn: ::String
1150
+ attr_accessor name: ::String
1151
+ attr_accessor status: ("CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION")
1152
+ attr_accessor advanced_event_selectors: ::Array[Types::AdvancedEventSelector]
1153
+ attr_accessor multi_region_enabled: bool
1154
+ attr_accessor organization_enabled: bool
1155
+ attr_accessor retention_period: ::Integer
1156
+ attr_accessor termination_protection_enabled: bool
1157
+ attr_accessor created_timestamp: ::Time
1158
+ attr_accessor updated_timestamp: ::Time
1159
+ attr_accessor kms_key_id: ::String
1160
+ attr_accessor billing_mode: ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
1161
+ attr_accessor federation_status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
1162
+ attr_accessor federation_role_arn: ::String
1163
+ SENSITIVE: []
1164
+ end
1165
+
1166
+ class UpdateTrailRequest
1167
+ attr_accessor name: ::String
1168
+ attr_accessor s3_bucket_name: ::String
1169
+ attr_accessor s3_key_prefix: ::String
1170
+ attr_accessor sns_topic_name: ::String
1171
+ attr_accessor include_global_service_events: bool
1172
+ attr_accessor is_multi_region_trail: bool
1173
+ attr_accessor enable_log_file_validation: bool
1174
+ attr_accessor cloud_watch_logs_log_group_arn: ::String
1175
+ attr_accessor cloud_watch_logs_role_arn: ::String
1176
+ attr_accessor kms_key_id: ::String
1177
+ attr_accessor is_organization_trail: bool
1178
+ SENSITIVE: []
1179
+ end
1180
+
1181
+ class UpdateTrailResponse
1182
+ attr_accessor name: ::String
1183
+ attr_accessor s3_bucket_name: ::String
1184
+ attr_accessor s3_key_prefix: ::String
1185
+ attr_accessor sns_topic_name: ::String
1186
+ attr_accessor sns_topic_arn: ::String
1187
+ attr_accessor include_global_service_events: bool
1188
+ attr_accessor is_multi_region_trail: bool
1189
+ attr_accessor trail_arn: ::String
1190
+ attr_accessor log_file_validation_enabled: bool
1191
+ attr_accessor cloud_watch_logs_log_group_arn: ::String
1192
+ attr_accessor cloud_watch_logs_role_arn: ::String
1193
+ attr_accessor kms_key_id: ::String
1194
+ attr_accessor is_organization_trail: bool
1195
+ SENSITIVE: []
1196
+ end
1197
+ end
1198
+ end