Skip to content

Commit

Permalink
Update services based on release-2024-10-14 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Oct 15, 2024
1 parent 5ef8b41 commit fc96c80
Show file tree
Hide file tree
Showing 6 changed files with 527 additions and 30 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-10-11
release-2024-10-14
31 changes: 29 additions & 2 deletions lib/aws/generated/code_pipeline.ex
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,8 @@ defmodule AWS.CodePipeline do
failure_conditions() :: %{
"conditions" => list(condition()()),
"result" => list(any())
"result" => list(any()),
"retryConfiguration" => retry_configuration()
}
"""
Expand Down Expand Up @@ -862,6 +863,19 @@ defmodule AWS.CodePipeline do

@typedoc """
## Example:
retry_stage_metadata() :: %{
"autoStageRetryAttempt" => integer(),
"latestRetryTrigger" => list(any()),
"manualStageRetryAttempt" => integer()
}
"""
@type retry_stage_metadata() :: %{String.t() => any()}

@typedoc """
## Example:
enable_stage_transition_input() :: %{
Expand Down Expand Up @@ -1278,6 +1292,17 @@ defmodule AWS.CodePipeline do

@typedoc """
## Example:
retry_configuration() :: %{
"retryMode" => list(any())
}
"""
@type retry_configuration() :: %{String.t() => any()}

@typedoc """
## Example:
input_artifact() :: %{
Expand Down Expand Up @@ -2545,6 +2570,7 @@ defmodule AWS.CodePipeline do
"latestExecution" => stage_execution(),
"onFailureConditionState" => stage_condition_state(),
"onSuccessConditionState" => stage_condition_state(),
"retryStageMetadata" => retry_stage_metadata(),
"stageName" => String.t()
}
Expand Down Expand Up @@ -3590,7 +3616,8 @@ defmodule AWS.CodePipeline do

@doc """
Lists the rule executions that have occurred in a pipeline configured for
conditions with rules.
conditions
with rules.
"""
@spec list_rule_executions(map(), list_rule_executions_input(), list()) ::
{:ok, list_rule_executions_output(), any()}
Expand Down
40 changes: 39 additions & 1 deletion lib/aws/generated/mail_manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ defmodule AWS.MailManager do
## Example:
get_archive_message_response() :: %{
"MessageDownloadLink" => String.t()
"Envelope" => envelope(),
"MessageDownloadLink" => String.t(),
"Metadata" => metadata()
}
"""
Expand Down Expand Up @@ -398,6 +400,7 @@ defmodule AWS.MailManager do
start_archive_export_request() :: %{
optional("Filters") => archive_filters(),
optional("IncludeMetadata") => [boolean()],
optional("MaxResults") => integer(),
required("ArchiveId") => String.t(),
required("ExportDestinationConfiguration") => list(),
Expand Down Expand Up @@ -435,6 +438,24 @@ defmodule AWS.MailManager do

@typedoc """
## Example:
metadata() :: %{
"IngressPointId" => String.t(),
"RuleSetId" => String.t(),
"SenderHostname" => [String.t()],
"SenderIpAddress" => String.t(),
"Timestamp" => [non_neg_integer()],
"TlsCipherSuite" => [String.t()],
"TlsProtocol" => [String.t()],
"TrafficPolicyId" => String.t()
}
"""
@type metadata() :: %{String.t() => any()}

@typedoc """
## Example:
list_traffic_policies_response() :: %{
Expand Down Expand Up @@ -883,6 +904,19 @@ defmodule AWS.MailManager do

@typedoc """
## Example:
envelope() :: %{
"From" => [String.t()],
"Helo" => [String.t()],
"To" => list([String.t()]())
}
"""
@type envelope() :: %{String.t() => any()}

@typedoc """
## Example:
tag() :: %{
Expand Down Expand Up @@ -924,12 +958,16 @@ defmodule AWS.MailManager do
"ArchivedMessageId" => String.t(),
"Cc" => [String.t()],
"Date" => [String.t()],
"Envelope" => envelope(),
"From" => [String.t()],
"HasAttachments" => [boolean()],
"InReplyTo" => [String.t()],
"IngressPointId" => String.t(),
"MessageId" => [String.t()],
"ReceivedHeaders" => list([String.t()]()),
"ReceivedTimestamp" => [non_neg_integer()],
"SenderHostname" => [String.t()],
"SenderIpAddress" => String.t(),
"Subject" => [String.t()],
"To" => [String.t()],
"XMailer" => [String.t()],
Expand Down
74 changes: 50 additions & 24 deletions lib/aws/generated/security_lake.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ defmodule AWS.SecurityLake do
Security Lake automates the collection of security-related log and event data
from
integrated Amazon Web Services and third-party services. It also helps you
manage
integrated Amazon Web Services services and third-party services. It also helps
you manage
the lifecycle of data with customizable retention and replication settings.
Security Lake
converts ingested data into Apache Parquet format and a standard open-source
schema called
the Open Cybersecurity Schema Framework (OCSF).
Other Amazon Web Services and third-party services can subscribe to the data
that's stored in Security Lake for
Other Amazon Web Services services and third-party services can subscribe to the
data that's stored in Security Lake for
incident response and security data analytics.
"""

Expand Down Expand Up @@ -1417,18 +1417,20 @@ defmodule AWS.SecurityLake do
end

@doc """
Adds a natively supported Amazon Web Service as an Amazon Security Lake source.
Adds a natively supported Amazon Web Services service as an Amazon Security Lake
source.
Enables
source types for member accounts in required Amazon Web Services Regions, based
on the
parameters you specify. You can choose any source type in any Region for either
accounts
that are part of a trusted organization or standalone accounts. Once you add an
Amazon Web Service as a source, Security Lake starts collecting logs and events
from it.
Amazon Web Services service as a source, Security Lake starts collecting logs
and events from it.
You can use this API only to enable natively supported Amazon Web Services as a
You can use this API only to enable natively supported Amazon Web Services
services as a
source. Use `CreateCustomLogSource` to enable data collection from a custom
source.
"""
Expand Down Expand Up @@ -1514,7 +1516,8 @@ defmodule AWS.SecurityLake do
configurations.
When you enable Security Lake, it starts ingesting security data after the
`CreateAwsLogSource` call. This includes ingesting security data from
`CreateAwsLogSource` call and after you create subscribers using the
`CreateSubscriber` API. This includes ingesting security data from
sources, storing data, and making data accessible to subscribers. Security Lake
also enables
all the existing settings and resources that it stores or maintains for your
Expand Down Expand Up @@ -1550,6 +1553,9 @@ defmodule AWS.SecurityLake do
Creates the specified notification subscription in Amazon Security Lake for the
organization
you specify.
The notification subscription is created for exceptions that cannot be resolved
by Security Lake automatically.
"""
@spec create_data_lake_exception_subscription(
map(),
Expand Down Expand Up @@ -1616,11 +1622,12 @@ defmodule AWS.SecurityLake do
end

@doc """
Creates a subscription permission for accounts that are already enabled in
Amazon Security Lake.
Creates a subscriber for accounts that are already enabled in Amazon Security
Lake.
You can create a subscriber with access to data in the current Amazon Web
Services Region.
You can
create a subscriber with access to data in the current Amazon Web Services
Region.
"""
@spec create_subscriber(map(), create_subscriber_request(), list()) ::
{:ok, create_subscriber_response(), any()}
Expand Down Expand Up @@ -1684,8 +1691,8 @@ defmodule AWS.SecurityLake do
end

@doc """
Removes a natively supported Amazon Web Service as an Amazon Security Lake
source.
Removes a natively supported Amazon Web Services service as an Amazon Security
Lake source.
You
can remove a source for one or more Regions. When you remove the source,
Expand Down Expand Up @@ -1905,7 +1912,7 @@ defmodule AWS.SecurityLake do
end

@doc """
Deletes the specified notification subscription in Amazon Security Lake for the
Deletes the specified subscription notification in Amazon Security Lake for the
organization
you specify.
"""
Expand Down Expand Up @@ -1976,8 +1983,8 @@ defmodule AWS.SecurityLake do
end

@doc """
Retrieves the details of exception notifications for the account in Amazon
Security Lake.
Retrieves the protocol and endpoint that were provided when subscribing to
Amazon SNS topics for exception notifications.
"""
@spec get_data_lake_exception_subscription(map(), list()) ::
{:ok, get_data_lake_exception_subscription_response(), any()}
Expand Down Expand Up @@ -2122,7 +2129,7 @@ defmodule AWS.SecurityLake do
end

@doc """
Retrieves the log sources in the current Amazon Web Services Region.
Retrieves the log sources.
"""
@spec list_log_sources(map(), list_log_sources_request(), list()) ::
{:ok, list_log_sources_response(), any()}
Expand All @@ -2149,7 +2156,7 @@ defmodule AWS.SecurityLake do
end

@doc """
List all subscribers for the specific Amazon Security Lake account ID.
Lists all subscribers for the specific Amazon Security Lake account ID.
You can retrieve a list
of subscriptions associated with a specific organization or Amazon Web Services
Expand Down Expand Up @@ -2315,10 +2322,29 @@ defmodule AWS.SecurityLake do
end

@doc """
Specifies where to store your security data and for how long.
You can add a rollup
Region to consolidate data from multiple Amazon Web Services Regions.
You can use `UpdateDataLake` to specify where to store your security data, how
it should
be encrypted at rest and for how long.
You can add a [Rollup Region](https://docs.aws.amazon.com/security-lake/latest/userguide/manage-regions.html#add-rollup-region)
to consolidate data from multiple Amazon Web Services Regions, replace
default encryption (SSE-S3) with [Customer Manged Key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk),
or specify transition and expiration actions through storage [Lifecycle management](https://docs.aws.amazon.com/security-lake/latest/userguide/lifecycle-management.html).
The `UpdateDataLake` API works as an "upsert" operation that performs an insert
if the specified item or record does not exist, or an update if it
already exists. Security Lake securely stores your data at rest using Amazon Web
Services encryption solutions. For more details, see [Data protection in Amazon Security
Lake](https://docs.aws.amazon.com/security-lake/latest/userguide/data-protection.html).
For example, omitting the key `encryptionConfiguration` from a Region that is
included in an update call that currently uses KMS will leave that Region's KMS
key in
place, but specifying `encryptionConfiguration: {kmsKeyId: 'S3_MANAGED_KEY'}`
for that same Region will reset the key to `S3-managed`.
For more details about lifecycle management and how to update retention settings
for one or more Regions after enabling Security Lake, see the [Amazon Security Lake User
Guide](https://docs.aws.amazon.com/security-lake/latest/userguide/lifecycle-management.html).
"""
@spec update_data_lake(map(), update_data_lake_request(), list()) ::
{:ok, update_data_lake_response(), any()}
Expand Down
Loading

0 comments on commit fc96c80

Please sign in to comment.