Skip to content

Commit

Permalink
Update services based on release-2024-09-11 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Sep 12, 2024
1 parent 3b12553 commit 9530b46
Show file tree
Hide file tree
Showing 4 changed files with 2,053 additions and 59 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-10
release-2024-09-11
3 changes: 2 additions & 1 deletion lib/aws/generated/bedrock_agent_runtime.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,8 @@ defmodule AWS.BedrockAgentRuntime do
end

@doc """
Queries a knowledge base and generates responses based on the retrieved results.
Queries a knowledge base and generates responses based on the retrieved results
and using the specified foundation model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html).
The response only cites sources that are relevant to the query.
"""
Expand Down
97 changes: 89 additions & 8 deletions lib/aws/generated/guard_duty.ex
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,10 @@ defmodule AWS.GuardDuty do
get_findings_statistics_request() :: %{
optional("FindingCriteria") => finding_criteria(),
required("FindingStatisticTypes") => list(list(any())())
optional("FindingStatisticTypes") => list(list(any())()),
optional("GroupBy") => list(any()),
optional("MaxResults") => integer(),
optional("OrderBy") => list(any())
}
"""
Expand Down Expand Up @@ -978,7 +981,8 @@ defmodule AWS.GuardDuty do
## Example:
get_findings_statistics_response() :: %{
"FindingStatistics" => finding_statistics()
"FindingStatistics" => finding_statistics(),
"NextToken" => String.t()
}
"""
Expand Down Expand Up @@ -1257,6 +1261,19 @@ defmodule AWS.GuardDuty do

@typedoc """
## Example:
account_statistics() :: %{
"AccountId" => String.t(),
"LastGeneratedAt" => non_neg_integer(),
"TotalFindings" => integer()
}
"""
@type account_statistics() :: %{String.t() => any()}

@typedoc """
## Example:
disable_organization_admin_account_request() :: %{
Expand Down Expand Up @@ -2445,6 +2462,21 @@ defmodule AWS.GuardDuty do

@typedoc """
## Example:
resource_statistics() :: %{
"AccountId" => String.t(),
"LastGeneratedAt" => non_neg_integer(),
"ResourceId" => String.t(),
"ResourceType" => String.t(),
"TotalFindings" => integer()
}
"""
@type resource_statistics() :: %{String.t() => any()}

@typedoc """
## Example:
create_sample_findings_request() :: %{
Expand Down Expand Up @@ -2525,6 +2557,19 @@ defmodule AWS.GuardDuty do

@typedoc """
## Example:
finding_type_statistics() :: %{
"FindingType" => String.t(),
"LastGeneratedAt" => non_neg_integer(),
"TotalFindings" => integer()
}
"""
@type finding_type_statistics() :: %{String.t() => any()}

@typedoc """
## Example:
aws_api_call_action() :: %{
Expand Down Expand Up @@ -3095,6 +3140,19 @@ defmodule AWS.GuardDuty do

@typedoc """
## Example:
severity_statistics() :: %{
"LastGeneratedAt" => non_neg_integer(),
"Severity" => float(),
"TotalFindings" => integer()
}
"""
@type severity_statistics() :: %{String.t() => any()}

@typedoc """
## Example:
anomaly_unusual() :: %{
Expand Down Expand Up @@ -3613,7 +3671,12 @@ defmodule AWS.GuardDuty do
## Example:
finding_statistics() :: %{
"CountBySeverity" => map()
"CountBySeverity" => map(),
"GroupedByAccount" => list(account_statistics()()),
"GroupedByDate" => list(date_statistics()()),
"GroupedByFindingType" => list(finding_type_statistics()()),
"GroupedByResource" => list(resource_statistics()()),
"GroupedBySeverity" => list(severity_statistics()())
}
"""
Expand Down Expand Up @@ -4038,6 +4101,20 @@ defmodule AWS.GuardDuty do

@typedoc """
## Example:
date_statistics() :: %{
"Date" => non_neg_integer(),
"LastGeneratedAt" => non_neg_integer(),
"Severity" => float(),
"TotalFindings" => integer()
}
"""
@type date_statistics() :: %{String.t() => any()}

@typedoc """
## Example:
access_control_list() :: %{
Expand Down Expand Up @@ -4856,10 +4933,10 @@ defmodule AWS.GuardDuty do
end

@doc """
Creates a publishing destination to export findings to.
Creates a publishing destination where you can export your GuardDuty findings.
The resource to export findings to
must exist before you use this operation.
Before you start exporting the
findings, the destination resource must exist.
"""
@spec create_publishing_destination(
map(),
Expand Down Expand Up @@ -5660,7 +5737,7 @@ defmodule AWS.GuardDuty do
end

@doc """
Retrieves an Amazon GuardDuty detector specified by the detectorId.
Retrieves a GuardDuty detector specified by the detectorId.
There might be regional differences because some data sources might not be
available in all the Amazon Web Services Regions where GuardDuty is presently
Expand Down Expand Up @@ -5728,7 +5805,11 @@ defmodule AWS.GuardDuty do
end

@doc """
Lists Amazon GuardDuty findings statistics for the specified detector ID.
Lists GuardDuty findings statistics for the specified detector ID.
You must provide either `findingStatisticTypes` or
`groupBy` parameter, and not both. You can use the `maxResults` and `orderBy`
parameters only when using `groupBy`.
There might be regional differences because some flags might not be available in
all the Regions where GuardDuty
Expand Down
Loading

0 comments on commit 9530b46

Please sign in to comment.