You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-cloudtrail/CloudTrail.ts
+17-10
Original file line number
Diff line number
Diff line change
@@ -496,13 +496,13 @@ export class CloudTrail extends CloudTrailClient {
496
496
}
497
497
498
498
/**
499
-
* <p>Configures an event selector for your trail.
500
-
* Use event selectors to further specify the management and data event settings for your trail. By
501
-
* default, trails created without specific event selectors will be configured to log all read and
502
-
* write management events, and no data events.</p>
499
+
* <p>Configures an event selector or advanced event selectors for your trail.
500
+
* Use event selectors or advanced event selectors to specify management and data event settings for your trail. By
501
+
* default, trails created without specific event selectors are configured to log all read and
502
+
* write management events, and no data events.</p>
503
503
* <p>When an event occurs in your account, CloudTrail
504
-
* evaluates the event selectors in all trails. For each trail, if the event matches any event
505
-
* selector, the trail processes and logs the event. If the event doesn't match any event
504
+
* evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches
505
+
* any event selector, the trail processes and logs the event. If the event doesn't match any event
506
506
* selector, the trail doesn't log the event. </p>
507
507
* <p>Example</p>
508
508
* <ol>
@@ -523,17 +523,24 @@ export class CloudTrail extends CloudTrailClient {
523
523
* event selector. The trail logs the event.</p>
524
524
* </li>
525
525
* <li>
526
-
* <p>The <code>GetConsoleOutput</code> is a read-only event but it doesn't
526
+
* <p>The <code>GetConsoleOutput</code> is a read-only event that doesn't
527
527
* match your event selector. The trail doesn't log the event.
528
528
* </p>
529
529
* </li>
530
530
* </ol>
531
531
* <p>The <code>PutEventSelectors</code> operation must be called from the region in which
532
-
* the trail was created; otherwise, an <code>InvalidHomeRegionException</code> is
532
+
* the trail was created; otherwise, an <code>InvalidHomeRegionException</code> exception is
533
533
* thrown.</p>
534
-
* <p>You can configure up to five event selectors for each trail. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html">Logging Data and Management Events for Trails
535
-
* </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Limits in AWS CloudTrail</a>
534
+
* <p>You can configure up to five event selectors for each trail. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html">Logging data and management events for trails
535
+
* </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in AWS CloudTrail</a>
536
536
* in the <i>AWS CloudTrail User Guide</i>.</p>
537
+
* <p>You can add advanced event selectors, and conditions for your advanced
538
+
* event selectors, up to a maximum of 500 values for all conditions and selectors on a trail.
539
+
* You can use either <code>AdvancedEventSelectors</code> or <code>EventSelectors</code>, but not both. If you apply <code>AdvancedEventSelectors</code>
540
+
* to a trail, any existing <code>EventSelectors</code> are overwritten. For more information about
* <p>The <code>GetConsoleOutput</code> is a read-only event but it doesn't
51
+
* <p>The <code>GetConsoleOutput</code> is a read-only event that doesn't
52
52
* match your event selector. The trail doesn't log the event.
53
53
* </p>
54
54
* </li>
55
55
* </ol>
56
56
* <p>The <code>PutEventSelectors</code> operation must be called from the region in which
57
-
* the trail was created; otherwise, an <code>InvalidHomeRegionException</code> is
57
+
* the trail was created; otherwise, an <code>InvalidHomeRegionException</code> exception is
58
58
* thrown.</p>
59
-
* <p>You can configure up to five event selectors for each trail. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html">Logging Data and Management Events for Trails
60
-
* </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Limits in AWS CloudTrail</a>
59
+
* <p>You can configure up to five event selectors for each trail. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html">Logging data and management events for trails
60
+
* </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in AWS CloudTrail</a>
61
61
* in the <i>AWS CloudTrail User Guide</i>.</p>
62
+
* <p>You can add advanced event selectors, and conditions for your advanced
63
+
* event selectors, up to a maximum of 500 values for all conditions and selectors on a trail.
64
+
* You can use either <code>AdvancedEventSelectors</code> or <code>EventSelectors</code>, but not both. If you apply <code>AdvancedEventSelectors</code>
65
+
* to a trail, any existing <code>EventSelectors</code> are overwritten. For more information about
0 commit comments