Skip to content

Commit

Permalink
Update services based on release-2024-11-18 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Nov 19, 2024
1 parent a46025b commit 44de690
Show file tree
Hide file tree
Showing 11 changed files with 4,247 additions and 678 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-11-15.2
release-2024-11-18
18 changes: 18 additions & 0 deletions lib/aws/generated/auto_scaling.ex
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,18 @@ defmodule AWS.AutoScaling do

@typedoc """
## Example:
availability_zone_impairment_policy() :: %{
"ImpairedZoneHealthCheckBehavior" => list(any()),
"ZonalShiftEnabled" => boolean()
}
"""
@type availability_zone_impairment_policy() :: %{String.t() => any()}

@typedoc """
## Example:
describe_warm_pool_type() :: %{
Expand Down Expand Up @@ -1284,6 +1296,7 @@ defmodule AWS.AutoScaling do
## Example:
attach_traffic_sources_type() :: %{
optional("SkipZonalShiftValidation") => boolean(),
required("AutoScalingGroupName") => String.t(),
required("TrafficSources") => list(traffic_source_identifier()())
}
Expand Down Expand Up @@ -1474,6 +1487,7 @@ defmodule AWS.AutoScaling do
create_auto_scaling_group_type() :: %{
optional("AvailabilityZoneDistribution") => availability_zone_distribution(),
optional("AvailabilityZoneImpairmentPolicy") => availability_zone_impairment_policy(),
optional("AvailabilityZones") => list(String.t()()),
optional("CapacityRebalance") => boolean(),
optional("Context") => String.t(),
Expand All @@ -1494,6 +1508,7 @@ defmodule AWS.AutoScaling do
optional("NewInstancesProtectedFromScaleIn") => boolean(),
optional("PlacementGroup") => String.t(),
optional("ServiceLinkedRoleARN") => String.t(),
optional("SkipZonalShiftValidation") => boolean(),
optional("Tags") => list(tag()()),
optional("TargetGroupARNs") => list(String.t()()),
optional("TerminationPolicies") => list(String.t()()),
Expand Down Expand Up @@ -1916,6 +1931,7 @@ defmodule AWS.AutoScaling do
"AutoScalingGroupARN" => String.t(),
"DesiredCapacity" => integer(),
"WarmPoolConfiguration" => warm_pool_configuration(),
"AvailabilityZoneImpairmentPolicy" => availability_zone_impairment_policy(),
"DefaultInstanceWarmup" => integer(),
"AutoScalingGroupName" => String.t(),
"PredictedCapacity" => integer(),
Expand Down Expand Up @@ -2023,6 +2039,7 @@ defmodule AWS.AutoScaling do
update_auto_scaling_group_type() :: %{
optional("AvailabilityZoneDistribution") => availability_zone_distribution(),
optional("AvailabilityZoneImpairmentPolicy") => availability_zone_impairment_policy(),
optional("AvailabilityZones") => list(String.t()()),
optional("CapacityRebalance") => boolean(),
optional("Context") => String.t(),
Expand All @@ -2042,6 +2059,7 @@ defmodule AWS.AutoScaling do
optional("NewInstancesProtectedFromScaleIn") => boolean(),
optional("PlacementGroup") => String.t(),
optional("ServiceLinkedRoleARN") => String.t(),
optional("SkipZonalShiftValidation") => boolean(),
optional("TerminationPolicies") => list(String.t()()),
optional("VPCZoneIdentifier") => String.t(),
required("AutoScalingGroupName") => String.t()
Expand Down
71 changes: 71 additions & 0 deletions lib/aws/generated/cloud_formation.ex
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,20 @@ defmodule AWS.CloudFormation do

@typedoc """
## Example:
list_hook_results_output() :: %{
"HookResults" => list(hook_result_summary()()),
"NextToken" => String.t(),
"TargetId" => String.t(),
"TargetType" => list(any())
}
"""
@type list_hook_results_output() :: %{String.t() => any()}

@typedoc """
## Example:
invalid_operation_exception() :: %{
Expand Down Expand Up @@ -746,6 +760,17 @@ defmodule AWS.CloudFormation do

@typedoc """
## Example:
hook_result_not_found_exception() :: %{
"Message" => String.t()
}
"""
@type hook_result_not_found_exception() :: %{String.t() => any()}

@typedoc """
## Example:
detect_stack_resource_drift_input() :: %{
Expand Down Expand Up @@ -1425,6 +1450,19 @@ defmodule AWS.CloudFormation do

@typedoc """
## Example:
list_hook_results_input() :: %{
optional("NextToken") => String.t(),
required("TargetId") => String.t(),
required("TargetType") => list(any())
}
"""
@type list_hook_results_input() :: %{String.t() => any()}

@typedoc """
## Example:
tag() :: %{
Expand Down Expand Up @@ -2729,6 +2767,23 @@ defmodule AWS.CloudFormation do

@typedoc """
## Example:
hook_result_summary() :: %{
"FailureMode" => list(any()),
"HookStatusReason" => String.t(),
"InvocationPoint" => list(any()),
"Status" => list(any()),
"TypeConfigurationVersionId" => String.t(),
"TypeName" => String.t(),
"TypeVersionId" => String.t()
}
"""
@type hook_result_summary() :: %{String.t() => any()}

@typedoc """
## Example:
resource_change_detail() :: %{
Expand Down Expand Up @@ -3707,6 +3762,8 @@ defmodule AWS.CloudFormation do
| invalid_operation_exception()
| stale_request_exception()

@type list_hook_results_errors() :: hook_result_not_found_exception()

@type list_resource_scan_related_resources_errors() ::
resource_scan_in_progress_exception() | resource_scan_not_found_exception()

Expand Down Expand Up @@ -4899,6 +4956,20 @@ defmodule AWS.CloudFormation do
Request.request_post(client, meta, "ListGeneratedTemplates", input, options)
end

@doc """
Returns summaries of invoked Hooks when a change set or Cloud Control API
operation target is provided.
"""
@spec list_hook_results(map(), list_hook_results_input(), list()) ::
{:ok, list_hook_results_output(), any()}
| {:error, {:unexpected_response, any()}}
| {:error, list_hook_results_errors()}
def list_hook_results(%Client{} = client, input, options \\ []) do
meta = metadata()

Request.request_post(client, meta, "ListHookResults", input, options)
end

@doc """
Lists all stacks that are importing an exported output value.
Expand Down
Loading

0 comments on commit 44de690

Please sign in to comment.