Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update clients as of 12/11/2020 #1767

Merged
merged 2 commits into from
Dec 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions clients/client-cloudtrail/CloudTrail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,13 +496,13 @@ export class CloudTrail extends CloudTrailClient {
}

/**
* <p>Configures an event selector for your trail.
* Use event selectors to further specify the management and data event settings for your trail. By
* default, trails created without specific event selectors will be configured to log all read and
* write management events, and no data events. </p>
* <p>Configures an event selector or advanced event selectors for your trail.
* Use event selectors or advanced event selectors to specify management and data event settings for your trail. By
* default, trails created without specific event selectors are configured to log all read and
* write management events, and no data events.</p>
* <p>When an event occurs in your account, CloudTrail
* evaluates the event selectors in all trails. For each trail, if the event matches any event
* selector, the trail processes and logs the event. If the event doesn't match any event
* evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches
* any event selector, the trail processes and logs the event. If the event doesn't match any event
* selector, the trail doesn't log the event. </p>
* <p>Example</p>
* <ol>
Expand All @@ -523,17 +523,24 @@ export class CloudTrail extends CloudTrailClient {
* event selector. The trail logs the event.</p>
* </li>
* <li>
* <p>The <code>GetConsoleOutput</code> is a read-only event but it doesn't
* <p>The <code>GetConsoleOutput</code> is a read-only event that doesn't
* match your event selector. The trail doesn't log the event.
* </p>
* </li>
* </ol>
* <p>The <code>PutEventSelectors</code> operation must be called from the region in which
* the trail was created; otherwise, an <code>InvalidHomeRegionException</code> is
* the trail was created; otherwise, an <code>InvalidHomeRegionException</code> exception is
* thrown.</p>
* <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
* </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Limits in AWS CloudTrail</a>
* <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
* </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in AWS CloudTrail</a>
* in the <i>AWS CloudTrail User Guide</i>.</p>
* <p>You can add advanced event selectors, and conditions for your advanced
* event selectors, up to a maximum of 500 values for all conditions and selectors on a trail.
* You can use either <code>AdvancedEventSelectors</code> or <code>EventSelectors</code>, but not both. If you apply <code>AdvancedEventSelectors</code>
* to a trail, any existing <code>EventSelectors</code> are overwritten. For more information about
* advanced event selectors, see
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging
* data events for trails</a> in the <i>AWS CloudTrail User Guide</i>.</p>
*/
public putEventSelectors(
args: PutEventSelectorsCommandInput,
Expand Down
27 changes: 17 additions & 10 deletions clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ export type PutEventSelectorsCommandInput = PutEventSelectorsRequest;
export type PutEventSelectorsCommandOutput = PutEventSelectorsResponse & __MetadataBearer;

/**
* <p>Configures an event selector for your trail.
* Use event selectors to further specify the management and data event settings for your trail. By
* default, trails created without specific event selectors will be configured to log all read and
* write management events, and no data events. </p>
* <p>Configures an event selector or advanced event selectors for your trail.
* Use event selectors or advanced event selectors to specify management and data event settings for your trail. By
* default, trails created without specific event selectors are configured to log all read and
* write management events, and no data events.</p>
* <p>When an event occurs in your account, CloudTrail
* evaluates the event selectors in all trails. For each trail, if the event matches any event
* selector, the trail processes and logs the event. If the event doesn't match any event
* evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches
* any event selector, the trail processes and logs the event. If the event doesn't match any event
* selector, the trail doesn't log the event. </p>
* <p>Example</p>
* <ol>
Expand All @@ -48,17 +48,24 @@ export type PutEventSelectorsCommandOutput = PutEventSelectorsResponse & __Metad
* event selector. The trail logs the event.</p>
* </li>
* <li>
* <p>The <code>GetConsoleOutput</code> is a read-only event but it doesn't
* <p>The <code>GetConsoleOutput</code> is a read-only event that doesn't
* match your event selector. The trail doesn't log the event.
* </p>
* </li>
* </ol>
* <p>The <code>PutEventSelectors</code> operation must be called from the region in which
* the trail was created; otherwise, an <code>InvalidHomeRegionException</code> is
* the trail was created; otherwise, an <code>InvalidHomeRegionException</code> exception is
* thrown.</p>
* <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
* </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Limits in AWS CloudTrail</a>
* <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
* </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in AWS CloudTrail</a>
* in the <i>AWS CloudTrail User Guide</i>.</p>
* <p>You can add advanced event selectors, and conditions for your advanced
* event selectors, up to a maximum of 500 values for all conditions and selectors on a trail.
* You can use either <code>AdvancedEventSelectors</code> or <code>EventSelectors</code>, but not both. If you apply <code>AdvancedEventSelectors</code>
* to a trail, any existing <code>EventSelectors</code> are overwritten. For more information about
* advanced event selectors, see
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging
* data events for trails</a> in the <i>AWS CloudTrail User Guide</i>.</p>
*/
export class PutEventSelectorsCommand extends $Command<
PutEventSelectorsCommandInput,
Expand Down
Loading