Skip to content

Commit

Permalink
Update services based on release-2024-09-25 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Sep 26, 2024
1 parent 2f6f8d0 commit 73b7240
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .latest-tag-aws-sdk-go
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release-2024-09-24
release-2024-09-25
93 changes: 63 additions & 30 deletions lib/aws/generated/cloud_trail.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3564,17 +3564,22 @@ defmodule AWS.CloudTrail do
*
If your event selector includes read-only events, write-only events, or all
events. This applies to both management events and data events.
events. This applies to management events, data events, and network activity
events.
*
If your event selector includes management events.
*
If your event selector includes network activity events, the event sources
for which you are logging network activity events.
*
If your event selector includes data events, the resources on which you are
logging data events.
For more information about logging management and data events, see the following
topics
For more information about logging management, data, and network activity
events, see the following topics
in the *CloudTrail User Guide*:
*
Expand All @@ -3584,6 +3589,10 @@ defmodule AWS.CloudTrail do
*
[Logging data events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html)
*
[Logging network activity events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html)
"""
@spec get_event_selectors(map(), get_event_selectors_request(), list()) ::
{:ok, get_event_selectors_response(), any()}
Expand Down Expand Up @@ -3935,18 +3944,43 @@ defmodule AWS.CloudTrail do
end

@doc """
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. If you want your trail to log Insights events, be sure the event
selector
enables logging of the Insights event types you want configured for your trail.
For more information about logging Insights events, see [Logging Insights events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html)
Configures event selectors (also referred to as *basic event selectors*) or
advanced event selectors for your trail.
You can use
either `AdvancedEventSelectors` or `EventSelectors`, but not both. If
you apply `AdvancedEventSelectors` to a trail, any existing
`EventSelectors` are overwritten.
You can use `AdvancedEventSelectors` to
log management events, data events for all resource types, and network activity
events.
You can use `EventSelectors` to log management events and data events for the
following resource types:
*
`AWS::DynamoDB::Table`
*
`AWS::Lambda::Function`
*
`AWS::S3::Object`
You can't use `EventSelectors` to log network activity events.
If you want your trail to log Insights events, be sure the event selector or
advanced event selector enables
logging of the Insights event types you want configured for your trail. For more
information about logging Insights events, see [Logging Insights events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html)
in the *CloudTrail User Guide*.
By default, trails created without specific event selectors are configured to
log all read and write management events, and no data events.
log all read and write management events, and no data events or network activity
events.
When an event occurs in your account, CloudTrail evaluates the event selectors
or
Expand All @@ -3959,7 +3993,8 @@ defmodule AWS.CloudTrail do
Example
1.
You create an event selector for a trail and specify that you want write-only
You create an event selector for a trail and specify that you want to log
write-only
events.
2.
Expand All @@ -3981,24 +4016,20 @@ defmodule AWS.CloudTrail do
trail was created; otherwise, an `InvalidHomeRegionException` exception is
thrown.
You can configure up to five event selectors for each trail. For more
information, see
You can configure up to five event selectors for each trail.
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. For
more information, see
[Logging management events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html),
[Logging data
events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html),
[Logging network activity
events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html),
and [Quotas in CloudTrail](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html)
in the *CloudTrail User
Guide*.
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 `AdvancedEventSelectors` or `EventSelectors`, but not both. If
you apply `AdvancedEventSelectors` to a trail, any existing
`EventSelectors` are overwritten. For more information about advanced event
selectors, see [Logging data events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html)
in the *CloudTrail User Guide*.
"""
@spec put_event_selectors(map(), put_event_selectors_request(), list()) ::
{:ok, put_event_selectors_response(), any()}
Expand Down Expand Up @@ -4129,7 +4160,8 @@ defmodule AWS.CloudTrail do
an ARN or the ID portion of the ARN.
To start ingestion, the event data store `Status` must be `STOPPED_INGESTION`
and the `eventCategory` must be `Management`, `Data`, or `ConfigurationItem`.
and the `eventCategory` must be `Management`, `Data`, `NetworkActivity`, or
`ConfigurationItem`.
"""
@spec start_event_data_store_ingestion(
map(),
Expand Down Expand Up @@ -4232,7 +4264,8 @@ defmodule AWS.CloudTrail do
ARN or the ID portion of the ARN.
To stop ingestion, the event data store `Status` must be `ENABLED`
and the `eventCategory` must be `Management`, `Data`, or `ConfigurationItem`.
and the `eventCategory` must be `Management`, `Data`, `NetworkActivity`, or
`ConfigurationItem`.
"""
@spec stop_event_data_store_ingestion(map(), stop_event_data_store_ingestion_request(), list()) ::
{:ok, stop_event_data_store_ingestion_response(), any()}
Expand Down Expand Up @@ -4308,8 +4341,8 @@ defmodule AWS.CloudTrail do
`TerminationProtection` is enabled.
For event data stores for CloudTrail events, `AdvancedEventSelectors`
includes or excludes management or data events in your event data store. For
more
includes or excludes management, data, or network activity events in your event
data store. For more
information about `AdvancedEventSelectors`, see
[AdvancedEventSelectors](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html).
Expand Down

0 comments on commit 73b7240

Please sign in to comment.