Skip to content

Commit 21646e3

Browse files
authored
feat: update clients as of 12/11/2020 (#1767)
1 parent 1ba5672 commit 21646e3

File tree

165 files changed

+41673
-25336
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+41673
-25336
lines changed

clients/client-cloudtrail/CloudTrail.ts

+17-10
Original file line numberDiff line numberDiff line change
@@ -496,13 +496,13 @@ export class CloudTrail extends CloudTrailClient {
496496
}
497497

498498
/**
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>
503503
* <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
506506
* selector, the trail doesn't log the event. </p>
507507
* <p>Example</p>
508508
* <ol>
@@ -523,17 +523,24 @@ export class CloudTrail extends CloudTrailClient {
523523
* event selector. The trail logs the event.</p>
524524
* </li>
525525
* <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
527527
* match your event selector. The trail doesn't log the event.
528528
* </p>
529529
* </li>
530530
* </ol>
531531
* <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
533533
* 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>
536536
* 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
541+
* advanced event selectors, see
542+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging
543+
* data events for trails</a> in the <i>AWS CloudTrail User Guide</i>.</p>
537544
*/
538545
public putEventSelectors(
539546
args: PutEventSelectorsCommandInput,

clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts

+17-10
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ export type PutEventSelectorsCommandInput = PutEventSelectorsRequest;
2121
export type PutEventSelectorsCommandOutput = PutEventSelectorsResponse & __MetadataBearer;
2222

2323
/**
24-
* <p>Configures an event selector for your trail.
25-
* Use event selectors to further specify the management and data event settings for your trail. By
26-
* default, trails created without specific event selectors will be configured to log all read and
27-
* write management events, and no data events. </p>
24+
* <p>Configures an event selector or advanced event selectors for your trail.
25+
* Use event selectors or advanced event selectors to specify management and data event settings for your trail. By
26+
* default, trails created without specific event selectors are configured to log all read and
27+
* write management events, and no data events.</p>
2828
* <p>When an event occurs in your account, CloudTrail
29-
* evaluates the event selectors in all trails. For each trail, if the event matches any event
30-
* selector, the trail processes and logs the event. If the event doesn't match any event
29+
* evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches
30+
* any event selector, the trail processes and logs the event. If the event doesn't match any event
3131
* selector, the trail doesn't log the event. </p>
3232
* <p>Example</p>
3333
* <ol>
@@ -48,17 +48,24 @@ export type PutEventSelectorsCommandOutput = PutEventSelectorsResponse & __Metad
4848
* event selector. The trail logs the event.</p>
4949
* </li>
5050
* <li>
51-
* <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
5252
* match your event selector. The trail doesn't log the event.
5353
* </p>
5454
* </li>
5555
* </ol>
5656
* <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
5858
* 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>
6161
* 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
66+
* advanced event selectors, see
67+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging
68+
* data events for trails</a> in the <i>AWS CloudTrail User Guide</i>.</p>
6269
*/
6370
export class PutEventSelectorsCommand extends $Command<
6471
PutEventSelectorsCommandInput,

0 commit comments

Comments
 (0)