aws-sdk-cloudtrail 1.56.0 → 1.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +346 -50
- data/lib/aws-sdk-cloudtrail/client_api.rb +194 -1
- data/lib/aws-sdk-cloudtrail/endpoints.rb +84 -0
- data/lib/aws-sdk-cloudtrail/errors.rb +77 -0
- data/lib/aws-sdk-cloudtrail/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-cloudtrail/types.rb +532 -72
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- metadata +2 -2
@@ -17,8 +17,8 @@ module Aws::CloudTrail
|
|
17
17
|
#
|
18
18
|
class AccountHasOngoingImportException < Aws::EmptyStructure; end
|
19
19
|
|
20
|
-
# This exception is thrown when
|
21
|
-
#
|
20
|
+
# This exception is thrown when the specified account is not found or
|
21
|
+
# not part of an organization.
|
22
22
|
#
|
23
23
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AccountNotFoundException AWS API Documentation
|
24
24
|
#
|
@@ -38,13 +38,20 @@ module Aws::CloudTrail
|
|
38
38
|
#
|
39
39
|
class AccountRegisteredException < Aws::EmptyStructure; end
|
40
40
|
|
41
|
-
# Specifies the tags to add to a trail
|
41
|
+
# Specifies the tags to add to a trail, event data store, or channel.
|
42
42
|
#
|
43
43
|
# @!attribute [rw] resource_id
|
44
|
-
# Specifies the ARN of the trail
|
45
|
-
# more tags will be added.
|
44
|
+
# Specifies the ARN of the trail, event data store, or channel to
|
45
|
+
# which one or more tags will be added.
|
46
46
|
#
|
47
|
+
# The format of a trail ARN is:
|
47
48
|
# `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
|
49
|
+
#
|
50
|
+
# The format of an event data store ARN is:
|
51
|
+
# `arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
|
52
|
+
#
|
53
|
+
# The format of a channel ARN is:
|
54
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
|
48
55
|
# @return [String]
|
49
56
|
#
|
50
57
|
# @!attribute [rw] tags_list
|
@@ -113,10 +120,18 @@ module Aws::CloudTrail
|
|
113
120
|
# A single selector statement in an advanced event selector.
|
114
121
|
#
|
115
122
|
# @!attribute [rw] field
|
116
|
-
# A field in
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
123
|
+
# A field in a CloudTrail event record on which to filter events to be
|
124
|
+
# logged. For event data stores for Config configuration items, Audit
|
125
|
+
# Manager evidence, or non-Amazon Web Services events, the field is
|
126
|
+
# used only for selecting events as filtering is not supported.
|
127
|
+
#
|
128
|
+
# For CloudTrail event records, supported fields include `readOnly`,
|
129
|
+
# `eventCategory`, `eventSource` (for management events), `eventName`,
|
130
|
+
# `resources.type`, and `resources.ARN`.
|
131
|
+
#
|
132
|
+
# For event data stores for Config configuration items, Audit Manager
|
133
|
+
# evidence, or non-Amazon Web Services events, the only supported
|
134
|
+
# field is `eventCategory`.
|
120
135
|
#
|
121
136
|
# * <b> <code>readOnly</code> </b> - Optional. Can be set to `Equals`
|
122
137
|
# a value of `true` or `false`. If you do not add this field,
|
@@ -133,12 +148,25 @@ module Aws::CloudTrail
|
|
133
148
|
# CloudTrail, such as `PutBucket` or `GetSnapshotBlock`. You can
|
134
149
|
# have multiple values for this field, separated by commas.
|
135
150
|
#
|
136
|
-
# * <b> <code>eventCategory</code> </b> - This is required
|
137
|
-
# set to `Equals
|
151
|
+
# * <b> <code>eventCategory</code> </b> - This is required and must be
|
152
|
+
# set to `Equals`.
|
153
|
+
#
|
154
|
+
# * For CloudTrail event records, the value must be `Management` or
|
155
|
+
# `Data`.
|
156
|
+
#
|
157
|
+
# * For Config configuration items, the value must be
|
158
|
+
# `ConfigurationItem`.
|
159
|
+
#
|
160
|
+
# * For Audit Manager evidence, the value must be `Evidence`.
|
161
|
+
#
|
162
|
+
# * For non-Amazon Web Services events, the value must be
|
163
|
+
# `ActivityAuditLog`.
|
138
164
|
#
|
139
|
-
# * <b> <code>resources.type</code> </b> - This field is required
|
140
|
-
# `resources.type` can only use the `Equals`
|
141
|
-
# can be one of the following:
|
165
|
+
# * <b> <code>resources.type</code> </b> - This field is required for
|
166
|
+
# CloudTrail data events. `resources.type` can only use the `Equals`
|
167
|
+
# operator, and the value can be one of the following:
|
168
|
+
#
|
169
|
+
# * `AWS::CloudTrail::Channel`
|
142
170
|
#
|
143
171
|
# * `AWS::S3::Object`
|
144
172
|
#
|
@@ -160,6 +188,12 @@ module Aws::CloudTrail
|
|
160
188
|
#
|
161
189
|
# * `AWS::Glue::Table`
|
162
190
|
#
|
191
|
+
# * `AWS::FinSpace::Environment`
|
192
|
+
#
|
193
|
+
# * `AWS::SageMaker::ExperimentTrialComponent`
|
194
|
+
#
|
195
|
+
# * `AWS::SageMaker::FeatureGroup`
|
196
|
+
#
|
163
197
|
# You can have only one `resources.type` field per selector. To log
|
164
198
|
# data events on more than one resource type, add another selector.
|
165
199
|
#
|
@@ -207,6 +241,14 @@ module Aws::CloudTrail
|
|
207
241
|
#
|
208
242
|
# ^
|
209
243
|
#
|
244
|
+
# When resources.type equals `AWS::CloudTrail::Channel`, and the
|
245
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
246
|
+
# following format:
|
247
|
+
#
|
248
|
+
# * `arn:<partition>:cloudtrail:<region>:<account_ID>:channel/<channel_UUID>`
|
249
|
+
#
|
250
|
+
# ^
|
251
|
+
#
|
210
252
|
# When `resources.type` equals `AWS::S3Outposts::Object`, and the
|
211
253
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
212
254
|
# following format:
|
@@ -254,6 +296,31 @@ module Aws::CloudTrail
|
|
254
296
|
# * `arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name>`
|
255
297
|
#
|
256
298
|
# ^
|
299
|
+
#
|
300
|
+
# When `resources.type` equals `AWS::FinSpace::Environment`, and the
|
301
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
302
|
+
# following format:
|
303
|
+
#
|
304
|
+
# * `arn:<partition>:finspace:<region>:<account_ID>:environment/<environment_ID>`
|
305
|
+
#
|
306
|
+
# ^
|
307
|
+
#
|
308
|
+
# When `resources.type` equals
|
309
|
+
# `AWS::SageMaker::ExperimentTrialComponent`, and the operator is
|
310
|
+
# set to `Equals` or `NotEquals`, the ARN must be in the following
|
311
|
+
# format:
|
312
|
+
#
|
313
|
+
# * `arn:<partition>:sagemaker:<region>:<account_ID>:experiment-trial-component/<experiment_trial_component_name>`
|
314
|
+
#
|
315
|
+
# ^
|
316
|
+
#
|
317
|
+
# When `resources.type` equals `AWS::SageMaker::FeatureGroup`, and
|
318
|
+
# the operator is set to `Equals` or `NotEquals`, the ARN must be in
|
319
|
+
# the following format:
|
320
|
+
#
|
321
|
+
# * `arn:<partition>:sagemaker:<region>:<account_ID>:feature-group/<feature_group_name>`
|
322
|
+
#
|
323
|
+
# ^
|
257
324
|
# @return [String]
|
258
325
|
#
|
259
326
|
# @!attribute [rw] equals
|
@@ -376,7 +443,28 @@ module Aws::CloudTrail
|
|
376
443
|
#
|
377
444
|
class ChannelARNInvalidException < Aws::EmptyStructure; end
|
378
445
|
|
379
|
-
#
|
446
|
+
# This exception is thrown when the provided channel already exists.
|
447
|
+
#
|
448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ChannelAlreadyExistsException AWS API Documentation
|
449
|
+
#
|
450
|
+
class ChannelAlreadyExistsException < Aws::EmptyStructure; end
|
451
|
+
|
452
|
+
# This exception is thrown when the specified event data store cannot
|
453
|
+
# yet be deleted because it is in use by a channel.
|
454
|
+
#
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ChannelExistsForEDSException AWS API Documentation
|
456
|
+
#
|
457
|
+
class ChannelExistsForEDSException < Aws::EmptyStructure; end
|
458
|
+
|
459
|
+
# This exception is thrown when the maximum number of channels limit is
|
460
|
+
# exceeded.
|
461
|
+
#
|
462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ChannelMaxLimitExceededException AWS API Documentation
|
463
|
+
#
|
464
|
+
class ChannelMaxLimitExceededException < Aws::EmptyStructure; end
|
465
|
+
|
466
|
+
# This exception is thrown when CloudTrail cannot find the specified
|
467
|
+
# channel.
|
380
468
|
#
|
381
469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ChannelNotFoundException AWS API Documentation
|
382
470
|
#
|
@@ -387,6 +475,16 @@ module Aws::CloudTrail
|
|
387
475
|
#
|
388
476
|
# `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
|
389
477
|
#
|
478
|
+
# This exception is also thrown when you call `AddTags` or `RemoveTags`
|
479
|
+
# on a trail, event data store, or channel with a resource ARN that is
|
480
|
+
# not valid.
|
481
|
+
#
|
482
|
+
# The following is the format of an event data store ARN:
|
483
|
+
# `arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
|
484
|
+
#
|
485
|
+
# The following is the format of a channel ARN:
|
486
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
|
487
|
+
#
|
390
488
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CloudTrailARNInvalidException AWS API Documentation
|
391
489
|
#
|
392
490
|
class CloudTrailARNInvalidException < Aws::EmptyStructure; end
|
@@ -422,27 +520,115 @@ module Aws::CloudTrail
|
|
422
520
|
|
423
521
|
# This exception is thrown when the specified resource is not ready for
|
424
522
|
# an operation. This can occur when you try to run an operation on a
|
425
|
-
# resource before CloudTrail has time to fully load the resource
|
426
|
-
#
|
427
|
-
# again.
|
523
|
+
# resource before CloudTrail has time to fully load the resource, or
|
524
|
+
# because another operation is modifying the resource. If this exception
|
525
|
+
# occurs, wait a few minutes, and then try the operation again.
|
428
526
|
#
|
429
527
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ConflictException AWS API Documentation
|
430
528
|
#
|
431
529
|
class ConflictException < Aws::EmptyStructure; end
|
432
530
|
|
531
|
+
# @!attribute [rw] name
|
532
|
+
# The name of the channel.
|
533
|
+
# @return [String]
|
534
|
+
#
|
535
|
+
# @!attribute [rw] source
|
536
|
+
# The name of the partner or external event source. You cannot change
|
537
|
+
# this name after you create the channel. A maximum of one channel is
|
538
|
+
# allowed per source.
|
539
|
+
#
|
540
|
+
# A source can be either `Custom` for all valid non-Amazon Web
|
541
|
+
# Services events, or the name of a partner event source. For
|
542
|
+
# information about the source names for available partners, see
|
543
|
+
# [Additional information about integration partners][1] in the
|
544
|
+
# CloudTrail User Guide.
|
545
|
+
#
|
546
|
+
#
|
547
|
+
#
|
548
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store-integration.html#cloudtrail-lake-partner-information
|
549
|
+
# @return [String]
|
550
|
+
#
|
551
|
+
# @!attribute [rw] destinations
|
552
|
+
# One or more event data stores to which events arriving through a
|
553
|
+
# channel will be logged.
|
554
|
+
# @return [Array<Types::Destination>]
|
555
|
+
#
|
556
|
+
# @!attribute [rw] tags
|
557
|
+
# A list of tags.
|
558
|
+
# @return [Array<Types::Tag>]
|
559
|
+
#
|
560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateChannelRequest AWS API Documentation
|
561
|
+
#
|
562
|
+
class CreateChannelRequest < Struct.new(
|
563
|
+
:name,
|
564
|
+
:source,
|
565
|
+
:destinations,
|
566
|
+
:tags)
|
567
|
+
SENSITIVE = []
|
568
|
+
include Aws::Structure
|
569
|
+
end
|
570
|
+
|
571
|
+
# @!attribute [rw] channel_arn
|
572
|
+
# The Amazon Resource Name (ARN) of the new channel.
|
573
|
+
# @return [String]
|
574
|
+
#
|
575
|
+
# @!attribute [rw] name
|
576
|
+
# The name of the new channel.
|
577
|
+
# @return [String]
|
578
|
+
#
|
579
|
+
# @!attribute [rw] source
|
580
|
+
# The partner or external event source name.
|
581
|
+
# @return [String]
|
582
|
+
#
|
583
|
+
# @!attribute [rw] destinations
|
584
|
+
# The event data stores that log the events arriving through the
|
585
|
+
# channel.
|
586
|
+
# @return [Array<Types::Destination>]
|
587
|
+
#
|
588
|
+
# @!attribute [rw] tags
|
589
|
+
# A list of tags.
|
590
|
+
# @return [Array<Types::Tag>]
|
591
|
+
#
|
592
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateChannelResponse AWS API Documentation
|
593
|
+
#
|
594
|
+
class CreateChannelResponse < Struct.new(
|
595
|
+
:channel_arn,
|
596
|
+
:name,
|
597
|
+
:source,
|
598
|
+
:destinations,
|
599
|
+
:tags)
|
600
|
+
SENSITIVE = []
|
601
|
+
include Aws::Structure
|
602
|
+
end
|
603
|
+
|
433
604
|
# @!attribute [rw] name
|
434
605
|
# The name of the event data store.
|
435
606
|
# @return [String]
|
436
607
|
#
|
437
608
|
# @!attribute [rw] advanced_event_selectors
|
438
609
|
# The advanced event selectors to use to select the events for the
|
439
|
-
# data store.
|
440
|
-
#
|
610
|
+
# data store. You can configure up to five advanced event selectors
|
611
|
+
# for each event data store.
|
612
|
+
#
|
613
|
+
# For more information about how to use advanced event selectors to
|
614
|
+
# log CloudTrail events, see [Log events by using advanced event
|
615
|
+
# selectors][1] in the CloudTrail User Guide.
|
616
|
+
#
|
617
|
+
# For more information about how to use advanced event selectors to
|
618
|
+
# include Config configuration items in your event data store, see
|
619
|
+
# [Create an event data store for Config configuration items][2] in
|
441
620
|
# the CloudTrail User Guide.
|
442
621
|
#
|
622
|
+
# For more information about how to use advanced event selectors to
|
623
|
+
# include non-Amazon Web Services events in your event data store, see
|
624
|
+
# [Create an integration to log events from outside Amazon Web
|
625
|
+
# Services][3] in the CloudTrail User Guide.
|
626
|
+
#
|
443
627
|
#
|
444
628
|
#
|
445
629
|
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced
|
630
|
+
# [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-eds-config
|
631
|
+
# [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-integration
|
446
632
|
# @return [Array<Types::AdvancedEventSelector>]
|
447
633
|
#
|
448
634
|
# @!attribute [rw] multi_region_enabled
|
@@ -673,13 +859,16 @@ module Aws::CloudTrail
|
|
673
859
|
# @!attribute [rw] cloud_watch_logs_log_group_arn
|
674
860
|
# Specifies a log group name using an Amazon Resource Name (ARN), a
|
675
861
|
# unique identifier that represents the log group to which CloudTrail
|
676
|
-
# logs will be delivered.
|
677
|
-
#
|
862
|
+
# logs will be delivered. You must use a log group that exists in your
|
863
|
+
# account.
|
864
|
+
#
|
865
|
+
# Not required unless you specify `CloudWatchLogsRoleArn`.
|
678
866
|
# @return [String]
|
679
867
|
#
|
680
868
|
# @!attribute [rw] cloud_watch_logs_role_arn
|
681
869
|
# Specifies the role for the CloudWatch Logs endpoint to assume to
|
682
|
-
# write to a user's log group.
|
870
|
+
# write to a user's log group. You must use a role that exists in
|
871
|
+
# your account.
|
683
872
|
# @return [String]
|
684
873
|
#
|
685
874
|
# @!attribute [rw] kms_key_id
|
@@ -712,7 +901,8 @@ module Aws::CloudTrail
|
|
712
901
|
# organization in Organizations, or only for the current Amazon Web
|
713
902
|
# Services account. The default is false, and cannot be true unless
|
714
903
|
# the call is made on behalf of an Amazon Web Services account that is
|
715
|
-
# the management account
|
904
|
+
# the management account or delegated administrator account for an
|
905
|
+
# organization in Organizations.
|
716
906
|
# @return [Boolean]
|
717
907
|
#
|
718
908
|
# @!attribute [rw] tags_list
|
@@ -843,7 +1033,7 @@ module Aws::CloudTrail
|
|
843
1033
|
#
|
844
1034
|
# <note markdown="1"> The total number of allowed data resources is 250. This number can be
|
845
1035
|
# distributed between 1 and 5 event selectors, but the total cannot
|
846
|
-
# exceed 250 across all selectors.
|
1036
|
+
# exceed 250 across all selectors for the trail.
|
847
1037
|
#
|
848
1038
|
# If you are using advanced event selectors, the maximum total number of
|
849
1039
|
# values for all conditions, across all advanced event selectors for the
|
@@ -907,6 +1097,8 @@ module Aws::CloudTrail
|
|
907
1097
|
# are not valid in basic event selectors. For more information, see
|
908
1098
|
# AdvancedFieldSelector$Field.
|
909
1099
|
#
|
1100
|
+
# * `AWS::CloudTrail::Channel`
|
1101
|
+
#
|
910
1102
|
# * `AWS::S3Outposts::Object`
|
911
1103
|
#
|
912
1104
|
# * `AWS::ManagedBlockchain::Node`
|
@@ -920,6 +1112,12 @@ module Aws::CloudTrail
|
|
920
1112
|
# * `AWS::DynamoDB::Stream`
|
921
1113
|
#
|
922
1114
|
# * `AWS::Glue::Table`
|
1115
|
+
#
|
1116
|
+
# * `AWS::FinSpace::Environment`
|
1117
|
+
#
|
1118
|
+
# * `AWS::SageMaker::ExperimentTrialComponent`
|
1119
|
+
#
|
1120
|
+
# * `AWS::SageMaker::FeatureGroup`
|
923
1121
|
# @return [String]
|
924
1122
|
#
|
925
1123
|
# @!attribute [rw] values
|
@@ -989,6 +1187,22 @@ module Aws::CloudTrail
|
|
989
1187
|
#
|
990
1188
|
class DelegatedAdminAccountLimitExceededException < Aws::EmptyStructure; end
|
991
1189
|
|
1190
|
+
# @!attribute [rw] channel
|
1191
|
+
# The ARN or the `UUID` value of the channel that you want to delete.
|
1192
|
+
# @return [String]
|
1193
|
+
#
|
1194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteChannelRequest AWS API Documentation
|
1195
|
+
#
|
1196
|
+
class DeleteChannelRequest < Struct.new(
|
1197
|
+
:channel)
|
1198
|
+
SENSITIVE = []
|
1199
|
+
include Aws::Structure
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteChannelResponse AWS API Documentation
|
1203
|
+
#
|
1204
|
+
class DeleteChannelResponse < Aws::EmptyStructure; end
|
1205
|
+
|
992
1206
|
# @!attribute [rw] event_data_store
|
993
1207
|
# The ARN (or the ID suffix of the ARN) of the event data store to
|
994
1208
|
# delete.
|
@@ -1006,6 +1220,25 @@ module Aws::CloudTrail
|
|
1006
1220
|
#
|
1007
1221
|
class DeleteEventDataStoreResponse < Aws::EmptyStructure; end
|
1008
1222
|
|
1223
|
+
# @!attribute [rw] resource_arn
|
1224
|
+
# The Amazon Resource Name (ARN) of the CloudTrail channel you're
|
1225
|
+
# deleting the resource-based policy from. The following is the format
|
1226
|
+
# of a resource ARN:
|
1227
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel`.
|
1228
|
+
# @return [String]
|
1229
|
+
#
|
1230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteResourcePolicyRequest AWS API Documentation
|
1231
|
+
#
|
1232
|
+
class DeleteResourcePolicyRequest < Struct.new(
|
1233
|
+
:resource_arn)
|
1234
|
+
SENSITIVE = []
|
1235
|
+
include Aws::Structure
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteResourcePolicyResponse AWS API Documentation
|
1239
|
+
#
|
1240
|
+
class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
|
1241
|
+
|
1009
1242
|
# The request that specifies the name of a trail to delete.
|
1010
1243
|
#
|
1011
1244
|
# @!attribute [rw] name
|
@@ -1138,8 +1371,8 @@ module Aws::CloudTrail
|
|
1138
1371
|
#
|
1139
1372
|
# <note markdown="1"> If one or more trail names are specified, information is returned
|
1140
1373
|
# only if the names match the names of trails belonging only to the
|
1141
|
-
# current region. To return information about a
|
1142
|
-
# region, you must specify its trail ARN.
|
1374
|
+
# current region and current account. To return information about a
|
1375
|
+
# trail in another region, you must specify its trail ARN.
|
1143
1376
|
#
|
1144
1377
|
# </note>
|
1145
1378
|
# @return [Array<String>]
|
@@ -1183,17 +1416,20 @@ module Aws::CloudTrail
|
|
1183
1416
|
include Aws::Structure
|
1184
1417
|
end
|
1185
1418
|
|
1186
|
-
# Contains information about the
|
1187
|
-
# events.
|
1419
|
+
# Contains information about the destination receiving events.
|
1188
1420
|
#
|
1189
1421
|
# @!attribute [rw] type
|
1190
1422
|
# The type of destination for events arriving from a channel. For
|
1191
|
-
#
|
1423
|
+
# channels used for a CloudTrail Lake integration, the value is
|
1424
|
+
# `EventDataStore`. For service-linked channels, the value is
|
1425
|
+
# `AWS_SERVICE`.
|
1192
1426
|
# @return [String]
|
1193
1427
|
#
|
1194
1428
|
# @!attribute [rw] location
|
1195
|
-
# For
|
1196
|
-
#
|
1429
|
+
# For channels used for a CloudTrail Lake integration, the location is
|
1430
|
+
# the ARN of an event data store that receives events from a channel.
|
1431
|
+
# For service-linked channels, the location is the name of the Amazon
|
1432
|
+
# Web Services service.
|
1197
1433
|
# @return [String]
|
1198
1434
|
#
|
1199
1435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Destination AWS API Documentation
|
@@ -1283,44 +1519,42 @@ module Aws::CloudTrail
|
|
1283
1519
|
# @return [String]
|
1284
1520
|
#
|
1285
1521
|
# @!attribute [rw] termination_protection_enabled
|
1286
|
-
#
|
1287
|
-
#
|
1522
|
+
# Indicates whether the event data store is protected from
|
1523
|
+
# termination.
|
1288
1524
|
# @return [Boolean]
|
1289
1525
|
#
|
1290
1526
|
# @!attribute [rw] status
|
1291
|
-
#
|
1292
|
-
#
|
1527
|
+
# The status of an event data store. Values are `ENABLED` and
|
1528
|
+
# `PENDING_DELETION`.
|
1293
1529
|
# @return [String]
|
1294
1530
|
#
|
1295
1531
|
# @!attribute [rw] advanced_event_selectors
|
1296
|
-
#
|
1297
|
-
#
|
1532
|
+
# The advanced event selectors that were used to select events for the
|
1533
|
+
# data store.
|
1298
1534
|
# @return [Array<Types::AdvancedEventSelector>]
|
1299
1535
|
#
|
1300
1536
|
# @!attribute [rw] multi_region_enabled
|
1301
|
-
#
|
1302
|
-
#
|
1303
|
-
# which it was created.
|
1537
|
+
# Indicates whether the event data store includes events from all
|
1538
|
+
# regions, or only from the region in which it was created.
|
1304
1539
|
# @return [Boolean]
|
1305
1540
|
#
|
1306
1541
|
# @!attribute [rw] organization_enabled
|
1307
|
-
#
|
1308
|
-
#
|
1542
|
+
# Indicates that an event data store is collecting logged events for
|
1543
|
+
# an organization.
|
1309
1544
|
# @return [Boolean]
|
1310
1545
|
#
|
1311
1546
|
# @!attribute [rw] retention_period
|
1312
|
-
#
|
1547
|
+
# The retention period, in days.
|
1313
1548
|
# @return [Integer]
|
1314
1549
|
#
|
1315
1550
|
# @!attribute [rw] created_timestamp
|
1316
|
-
#
|
1317
|
-
# store's creation.
|
1551
|
+
# The timestamp of the event data store's creation.
|
1318
1552
|
# @return [Time]
|
1319
1553
|
#
|
1320
1554
|
# @!attribute [rw] updated_timestamp
|
1321
|
-
#
|
1322
|
-
#
|
1323
|
-
#
|
1555
|
+
# The timestamp showing when an event data store was updated, if
|
1556
|
+
# applicable. `UpdatedTimestamp` is always either the same or newer
|
1557
|
+
# than the time shown in `CreatedTimestamp`.
|
1324
1558
|
# @return [Time]
|
1325
1559
|
#
|
1326
1560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/EventDataStore AWS API Documentation
|
@@ -1479,14 +1713,14 @@ module Aws::CloudTrail
|
|
1479
1713
|
#
|
1480
1714
|
# @!attribute [rw] name
|
1481
1715
|
# The name of the CloudTrail channel. For service-linked channels, the
|
1482
|
-
#
|
1716
|
+
# name is `aws-service-channel/service-name/custom-suffix` where
|
1483
1717
|
# `service-name` represents the name of the Amazon Web Services
|
1484
1718
|
# service that created the channel and `custom-suffix` represents the
|
1485
1719
|
# suffix generated by the Amazon Web Services service.
|
1486
1720
|
# @return [String]
|
1487
1721
|
#
|
1488
1722
|
# @!attribute [rw] source
|
1489
|
-
# The
|
1723
|
+
# The source for the CloudTrail channel.
|
1490
1724
|
# @return [String]
|
1491
1725
|
#
|
1492
1726
|
# @!attribute [rw] source_config
|
@@ -1496,10 +1730,18 @@ module Aws::CloudTrail
|
|
1496
1730
|
# @return [Types::SourceConfig]
|
1497
1731
|
#
|
1498
1732
|
# @!attribute [rw] destinations
|
1499
|
-
# The
|
1500
|
-
#
|
1733
|
+
# The destinations for the channel. For channels created for
|
1734
|
+
# integrations, the destinations are the event data stores that log
|
1735
|
+
# events arriving through the channel. For service-linked channels,
|
1736
|
+
# the destination is the Amazon Web Services service that created the
|
1737
|
+
# service-linked channel to receive events.
|
1501
1738
|
# @return [Array<Types::Destination>]
|
1502
1739
|
#
|
1740
|
+
# @!attribute [rw] ingestion_status
|
1741
|
+
# A table showing information about the most recent successful and
|
1742
|
+
# failed attempts to ingest events.
|
1743
|
+
# @return [Types::IngestionStatus]
|
1744
|
+
#
|
1503
1745
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetChannelResponse AWS API Documentation
|
1504
1746
|
#
|
1505
1747
|
class GetChannelResponse < Struct.new(
|
@@ -1507,7 +1749,8 @@ module Aws::CloudTrail
|
|
1507
1749
|
:name,
|
1508
1750
|
:source,
|
1509
1751
|
:source_config,
|
1510
|
-
:destinations
|
1752
|
+
:destinations,
|
1753
|
+
:ingestion_status)
|
1511
1754
|
SENSITIVE = []
|
1512
1755
|
include Aws::Structure
|
1513
1756
|
end
|
@@ -1830,6 +2073,39 @@ module Aws::CloudTrail
|
|
1830
2073
|
include Aws::Structure
|
1831
2074
|
end
|
1832
2075
|
|
2076
|
+
# @!attribute [rw] resource_arn
|
2077
|
+
# The Amazon Resource Name (ARN) of the CloudTrail channel attached to
|
2078
|
+
# the resource-based policy. The following is the format of a resource
|
2079
|
+
# ARN: `arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel`.
|
2080
|
+
# @return [String]
|
2081
|
+
#
|
2082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetResourcePolicyRequest AWS API Documentation
|
2083
|
+
#
|
2084
|
+
class GetResourcePolicyRequest < Struct.new(
|
2085
|
+
:resource_arn)
|
2086
|
+
SENSITIVE = []
|
2087
|
+
include Aws::Structure
|
2088
|
+
end
|
2089
|
+
|
2090
|
+
# @!attribute [rw] resource_arn
|
2091
|
+
# The Amazon Resource Name (ARN) of the CloudTrail channel attached to
|
2092
|
+
# resource-based policy.
|
2093
|
+
# @return [String]
|
2094
|
+
#
|
2095
|
+
# @!attribute [rw] resource_policy
|
2096
|
+
# A JSON-formatted string that contains the resource-based policy
|
2097
|
+
# attached to the CloudTrail channel.
|
2098
|
+
# @return [String]
|
2099
|
+
#
|
2100
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetResourcePolicyResponse AWS API Documentation
|
2101
|
+
#
|
2102
|
+
class GetResourcePolicyResponse < Struct.new(
|
2103
|
+
:resource_arn,
|
2104
|
+
:resource_policy)
|
2105
|
+
SENSITIVE = []
|
2106
|
+
include Aws::Structure
|
2107
|
+
end
|
2108
|
+
|
1833
2109
|
# @!attribute [rw] name
|
1834
2110
|
# The name or the Amazon Resource Name (ARN) of the trail for which
|
1835
2111
|
# you want to retrieve settings information.
|
@@ -2154,6 +2430,43 @@ module Aws::CloudTrail
|
|
2154
2430
|
#
|
2155
2431
|
class InactiveQueryException < Aws::EmptyStructure; end
|
2156
2432
|
|
2433
|
+
# A table showing information about the most recent successful and
|
2434
|
+
# failed attempts to ingest events.
|
2435
|
+
#
|
2436
|
+
# @!attribute [rw] latest_ingestion_success_time
|
2437
|
+
# The time stamp of the most recent successful ingestion of events for
|
2438
|
+
# the channel.
|
2439
|
+
# @return [Time]
|
2440
|
+
#
|
2441
|
+
# @!attribute [rw] latest_ingestion_success_event_id
|
2442
|
+
# The event ID of the most recent successful ingestion of events.
|
2443
|
+
# @return [String]
|
2444
|
+
#
|
2445
|
+
# @!attribute [rw] latest_ingestion_error_code
|
2446
|
+
# The error code for the most recent failure to ingest events.
|
2447
|
+
# @return [String]
|
2448
|
+
#
|
2449
|
+
# @!attribute [rw] latest_ingestion_attempt_time
|
2450
|
+
# The time stamp of the most recent attempt to ingest events on the
|
2451
|
+
# channel.
|
2452
|
+
# @return [Time]
|
2453
|
+
#
|
2454
|
+
# @!attribute [rw] latest_ingestion_attempt_event_id
|
2455
|
+
# The event ID of the most recent attempt to ingest events.
|
2456
|
+
# @return [String]
|
2457
|
+
#
|
2458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/IngestionStatus AWS API Documentation
|
2459
|
+
#
|
2460
|
+
class IngestionStatus < Struct.new(
|
2461
|
+
:latest_ingestion_success_time,
|
2462
|
+
:latest_ingestion_success_event_id,
|
2463
|
+
:latest_ingestion_error_code,
|
2464
|
+
:latest_ingestion_attempt_time,
|
2465
|
+
:latest_ingestion_attempt_event_id)
|
2466
|
+
SENSITIVE = []
|
2467
|
+
include Aws::Structure
|
2468
|
+
end
|
2469
|
+
|
2157
2470
|
# If you run `GetInsightSelectors` on a trail that does not have
|
2158
2471
|
# Insights events enabled, the operation throws the exception
|
2159
2472
|
# `InsightNotEnabledException`.
|
@@ -2384,6 +2697,13 @@ module Aws::CloudTrail
|
|
2384
2697
|
#
|
2385
2698
|
class InvalidSnsTopicNameException < Aws::EmptyStructure; end
|
2386
2699
|
|
2700
|
+
# This exception is thrown when the specified value of `Source` is not
|
2701
|
+
# valid.
|
2702
|
+
#
|
2703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidSourceException AWS API Documentation
|
2704
|
+
#
|
2705
|
+
class InvalidSourceException < Aws::EmptyStructure; end
|
2706
|
+
|
2387
2707
|
# This exception is thrown when the specified tag key or values are not
|
2388
2708
|
# valid. It can also occur if there are duplicate tags or too many tags
|
2389
2709
|
# on the resource.
|
@@ -2722,8 +3042,8 @@ module Aws::CloudTrail
|
|
2722
3042
|
# Specifies a list of tags to return.
|
2723
3043
|
#
|
2724
3044
|
# @!attribute [rw] resource_id_list
|
2725
|
-
# Specifies a list of trail
|
2726
|
-
# be listed. The list has a limit of 20 ARNs.
|
3045
|
+
# Specifies a list of trail, event data store, or channel ARNs whose
|
3046
|
+
# tags will be listed. The list has a limit of 20 ARNs.
|
2727
3047
|
# @return [Array<String>]
|
2728
3048
|
#
|
2729
3049
|
# @!attribute [rw] next_token
|
@@ -3113,6 +3433,55 @@ module Aws::CloudTrail
|
|
3113
3433
|
include Aws::Structure
|
3114
3434
|
end
|
3115
3435
|
|
3436
|
+
# @!attribute [rw] resource_arn
|
3437
|
+
# The Amazon Resource Name (ARN) of the CloudTrail channel attached to
|
3438
|
+
# the resource-based policy. The following is the format of a resource
|
3439
|
+
# ARN: `arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel`.
|
3440
|
+
# @return [String]
|
3441
|
+
#
|
3442
|
+
# @!attribute [rw] resource_policy
|
3443
|
+
# A JSON-formatted string for an Amazon Web Services resource-based
|
3444
|
+
# policy.
|
3445
|
+
#
|
3446
|
+
# The following are requirements for the resource policy:
|
3447
|
+
#
|
3448
|
+
# * Contains only one action: cloudtrail-data:PutAuditEvents
|
3449
|
+
#
|
3450
|
+
# * Contains at least one statement. The policy can have a maximum of
|
3451
|
+
# 20 statements.
|
3452
|
+
#
|
3453
|
+
# * Each statement contains at least one principal. A statement can
|
3454
|
+
# have a maximum of 50 principals.
|
3455
|
+
# @return [String]
|
3456
|
+
#
|
3457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutResourcePolicyRequest AWS API Documentation
|
3458
|
+
#
|
3459
|
+
class PutResourcePolicyRequest < Struct.new(
|
3460
|
+
:resource_arn,
|
3461
|
+
:resource_policy)
|
3462
|
+
SENSITIVE = []
|
3463
|
+
include Aws::Structure
|
3464
|
+
end
|
3465
|
+
|
3466
|
+
# @!attribute [rw] resource_arn
|
3467
|
+
# The Amazon Resource Name (ARN) of the CloudTrail channel attached to
|
3468
|
+
# the resource-based policy.
|
3469
|
+
# @return [String]
|
3470
|
+
#
|
3471
|
+
# @!attribute [rw] resource_policy
|
3472
|
+
# The JSON-formatted string of the Amazon Web Services resource-based
|
3473
|
+
# policy attached to the CloudTrail channel.
|
3474
|
+
# @return [String]
|
3475
|
+
#
|
3476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutResourcePolicyResponse AWS API Documentation
|
3477
|
+
#
|
3478
|
+
class PutResourcePolicyResponse < Struct.new(
|
3479
|
+
:resource_arn,
|
3480
|
+
:resource_policy)
|
3481
|
+
SENSITIVE = []
|
3482
|
+
include Aws::Structure
|
3483
|
+
end
|
3484
|
+
|
3116
3485
|
# A SQL string of criteria about events that you want to collect in an
|
3117
3486
|
# event data store.
|
3118
3487
|
#
|
@@ -3232,17 +3601,21 @@ module Aws::CloudTrail
|
|
3232
3601
|
#
|
3233
3602
|
class RegisterOrganizationDelegatedAdminResponse < Aws::EmptyStructure; end
|
3234
3603
|
|
3235
|
-
# Specifies the tags to remove from a trail
|
3604
|
+
# Specifies the tags to remove from a trail, event data store, or
|
3605
|
+
# channel.
|
3236
3606
|
#
|
3237
3607
|
# @!attribute [rw] resource_id
|
3238
|
-
# Specifies the ARN of the trail
|
3239
|
-
# should be removed.
|
3608
|
+
# Specifies the ARN of the trail, event data store, or channel from
|
3609
|
+
# which tags should be removed.
|
3240
3610
|
#
|
3241
3611
|
# Example trail ARN format:
|
3242
3612
|
# `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
|
3243
3613
|
#
|
3244
3614
|
# Example event data store ARN format:
|
3245
3615
|
# `arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
|
3616
|
+
#
|
3617
|
+
# Example channel ARN format:
|
3618
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
|
3246
3619
|
# @return [String]
|
3247
3620
|
#
|
3248
3621
|
# @!attribute [rw] tags_list
|
@@ -3297,12 +3670,45 @@ module Aws::CloudTrail
|
|
3297
3670
|
include Aws::Structure
|
3298
3671
|
end
|
3299
3672
|
|
3673
|
+
# This exception is thrown when the provided resource does not exist, or
|
3674
|
+
# the ARN format of the resource is not valid. The following is the
|
3675
|
+
# valid format for a resource ARN:
|
3676
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel`.
|
3677
|
+
#
|
3678
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceARNNotValidException AWS API Documentation
|
3679
|
+
#
|
3680
|
+
class ResourceARNNotValidException < Aws::EmptyStructure; end
|
3681
|
+
|
3300
3682
|
# This exception is thrown when the specified resource is not found.
|
3301
3683
|
#
|
3302
3684
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceNotFoundException AWS API Documentation
|
3303
3685
|
#
|
3304
3686
|
class ResourceNotFoundException < Aws::EmptyStructure; end
|
3305
3687
|
|
3688
|
+
# This exception is thrown when the specified resource policy is not
|
3689
|
+
# found.
|
3690
|
+
#
|
3691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourcePolicyNotFoundException AWS API Documentation
|
3692
|
+
#
|
3693
|
+
class ResourcePolicyNotFoundException < Aws::EmptyStructure; end
|
3694
|
+
|
3695
|
+
# This exception is thrown when the resouce-based policy has syntax
|
3696
|
+
# errors, or contains a principal that is not valid.
|
3697
|
+
#
|
3698
|
+
# The following are requirements for the resource policy:
|
3699
|
+
#
|
3700
|
+
# * Contains only one action: cloudtrail-data:PutAuditEvents
|
3701
|
+
#
|
3702
|
+
# * Contains at least one statement. The policy can have a maximum of 20
|
3703
|
+
# statements.
|
3704
|
+
#
|
3705
|
+
# * Each statement contains at least one principal. A statement can have
|
3706
|
+
# a maximum of 50 principals.
|
3707
|
+
#
|
3708
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourcePolicyNotValidException AWS API Documentation
|
3709
|
+
#
|
3710
|
+
class ResourcePolicyNotValidException < Aws::EmptyStructure; end
|
3711
|
+
|
3306
3712
|
# A resource tag.
|
3307
3713
|
#
|
3308
3714
|
# @!attribute [rw] resource_id
|
@@ -3713,7 +4119,7 @@ module Aws::CloudTrail
|
|
3713
4119
|
class StopLoggingResponse < Aws::EmptyStructure; end
|
3714
4120
|
|
3715
4121
|
# A custom key-value pair associated with a resource such as a
|
3716
|
-
# CloudTrail trail.
|
4122
|
+
# CloudTrail trail, event data store, or channel.
|
3717
4123
|
#
|
3718
4124
|
# @!attribute [rw] key
|
3719
4125
|
# The key in a key-value pair. The key must be must be no longer than
|
@@ -3735,8 +4141,8 @@ module Aws::CloudTrail
|
|
3735
4141
|
include Aws::Structure
|
3736
4142
|
end
|
3737
4143
|
|
3738
|
-
# The number of tags per trail
|
3739
|
-
# Currently, the limit is 50.
|
4144
|
+
# The number of tags per trail, event data store, or channel has
|
4145
|
+
# exceeded the permitted amount. Currently, the limit is 50.
|
3740
4146
|
#
|
3741
4147
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/TagsLimitExceededException AWS API Documentation
|
3742
4148
|
#
|
@@ -3911,6 +4317,57 @@ module Aws::CloudTrail
|
|
3911
4317
|
#
|
3912
4318
|
class UnsupportedOperationException < Aws::EmptyStructure; end
|
3913
4319
|
|
4320
|
+
# @!attribute [rw] channel
|
4321
|
+
# The ARN or ID (the ARN suffix) of the channel that you want to
|
4322
|
+
# update.
|
4323
|
+
# @return [String]
|
4324
|
+
#
|
4325
|
+
# @!attribute [rw] destinations
|
4326
|
+
# The ARNs of event data stores that you want to log events arriving
|
4327
|
+
# through the channel.
|
4328
|
+
# @return [Array<Types::Destination>]
|
4329
|
+
#
|
4330
|
+
# @!attribute [rw] name
|
4331
|
+
# Changes the name of the channel.
|
4332
|
+
# @return [String]
|
4333
|
+
#
|
4334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateChannelRequest AWS API Documentation
|
4335
|
+
#
|
4336
|
+
class UpdateChannelRequest < Struct.new(
|
4337
|
+
:channel,
|
4338
|
+
:destinations,
|
4339
|
+
:name)
|
4340
|
+
SENSITIVE = []
|
4341
|
+
include Aws::Structure
|
4342
|
+
end
|
4343
|
+
|
4344
|
+
# @!attribute [rw] channel_arn
|
4345
|
+
# The ARN of the channel that was updated.
|
4346
|
+
# @return [String]
|
4347
|
+
#
|
4348
|
+
# @!attribute [rw] name
|
4349
|
+
# The name of the channel that was updated.
|
4350
|
+
# @return [String]
|
4351
|
+
#
|
4352
|
+
# @!attribute [rw] source
|
4353
|
+
# The event source of the channel that was updated.
|
4354
|
+
# @return [String]
|
4355
|
+
#
|
4356
|
+
# @!attribute [rw] destinations
|
4357
|
+
# The event data stores that log events arriving through the channel.
|
4358
|
+
# @return [Array<Types::Destination>]
|
4359
|
+
#
|
4360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateChannelResponse AWS API Documentation
|
4361
|
+
#
|
4362
|
+
class UpdateChannelResponse < Struct.new(
|
4363
|
+
:channel_arn,
|
4364
|
+
:name,
|
4365
|
+
:source,
|
4366
|
+
:destinations)
|
4367
|
+
SENSITIVE = []
|
4368
|
+
include Aws::Structure
|
4369
|
+
end
|
4370
|
+
|
3914
4371
|
# @!attribute [rw] event_data_store
|
3915
4372
|
# The ARN (or the ID suffix of the ARN) of the event data store that
|
3916
4373
|
# you want to update.
|
@@ -4151,13 +4608,16 @@ module Aws::CloudTrail
|
|
4151
4608
|
# @!attribute [rw] cloud_watch_logs_log_group_arn
|
4152
4609
|
# Specifies a log group name using an Amazon Resource Name (ARN), a
|
4153
4610
|
# unique identifier that represents the log group to which CloudTrail
|
4154
|
-
# logs are delivered.
|
4155
|
-
#
|
4611
|
+
# logs are delivered. You must use a log group that exists in your
|
4612
|
+
# account.
|
4613
|
+
#
|
4614
|
+
# Not required unless you specify `CloudWatchLogsRoleArn`.
|
4156
4615
|
# @return [String]
|
4157
4616
|
#
|
4158
4617
|
# @!attribute [rw] cloud_watch_logs_role_arn
|
4159
4618
|
# Specifies the role for the CloudWatch Logs endpoint to assume to
|
4160
|
-
# write to a user's log group.
|
4619
|
+
# write to a user's log group. You must use a role that exists in
|
4620
|
+
# your account.
|
4161
4621
|
# @return [String]
|
4162
4622
|
#
|
4163
4623
|
# @!attribute [rw] kms_key_id
|
@@ -4190,13 +4650,13 @@ module Aws::CloudTrail
|
|
4190
4650
|
# organization in Organizations, or only for the current Amazon Web
|
4191
4651
|
# Services account. The default is false, and cannot be true unless
|
4192
4652
|
# the call is made on behalf of an Amazon Web Services account that is
|
4193
|
-
# the management account
|
4194
|
-
#
|
4195
|
-
# trail will be created in all
|
4196
|
-
# belong to the organization. If the
|
4197
|
-
# and this is set to `false`, the trail
|
4198
|
-
# Amazon Web Services account but be
|
4199
|
-
# in the organization.
|
4653
|
+
# the management account or delegated administrator account for an
|
4654
|
+
# organization in Organizations. If the trail is not an organization
|
4655
|
+
# trail and this is set to `true`, the trail will be created in all
|
4656
|
+
# Amazon Web Services accounts that belong to the organization. If the
|
4657
|
+
# trail is an organization trail and this is set to `false`, the trail
|
4658
|
+
# will remain in the current Amazon Web Services account but be
|
4659
|
+
# deleted from all member accounts in the organization.
|
4200
4660
|
# @return [Boolean]
|
4201
4661
|
#
|
4202
4662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailRequest AWS API Documentation
|