Skip to content

Commit

Permalink
Update services based on release-2024-06-25 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Jun 26, 2024
1 parent 9e09835 commit 8401d8b
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 34 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-06-24
release-2024-06-25
64 changes: 31 additions & 33 deletions lib/aws/generated/auto_scaling.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ defmodule AWS.AutoScaling do
instances
based on user-defined scaling policies, scheduled actions, and health checks.
For more information, see the [Amazon EC2 Auto Scaling User Guide](https://docs.aws.amazon.com/autoscaling/ec2/userguide/) and the [Amazon EC2 Auto Scaling API
Reference](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html).
For more information, see the [Amazon EC2 Auto Scaling User Guide](https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html)
and the [Amazon EC2 Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html).
"""

alias AWS.Client
Expand Down Expand Up @@ -2754,8 +2754,8 @@ defmodule AWS.AutoScaling do
your Auto Scaling
group, the instances are also registered with the target groups.
For more information, see [Attach EC2 instances to your Auto Scaling
group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html)
For more information, see [Detach or attach
instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html)
in the *Amazon EC2 Auto Scaling User Guide*.
"""
@spec attach_instances(map(), attach_instances_query(), list()) ::
Expand Down Expand Up @@ -3058,7 +3058,7 @@ defmodule AWS.AutoScaling do
Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html)
in the *Amazon EC2 Auto Scaling User Guide*.
For more information, see [Launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html)
For more information, see [Launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html)
in the *Amazon EC2 Auto Scaling User Guide*.
Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling
Expand Down Expand Up @@ -3193,7 +3193,7 @@ defmodule AWS.AutoScaling do
an
associated action.
For more information, see [Deleting a scaling policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html)
For more information, see [Delete a scaling policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html)
in the *Amazon EC2 Auto Scaling User Guide*.
"""
@spec delete_policy(map(), delete_policy_type(), list()) ::
Expand Down Expand Up @@ -3600,7 +3600,7 @@ defmodule AWS.AutoScaling do
When scaling events occur, you see a record of the scaling activity in the
scaling
activities. For more information, see [Verifying a scaling activity for an Auto Scaling
activities. For more information, see [Verify a scaling activity for an Auto Scaling
group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html)
in the *Amazon EC2 Auto Scaling User Guide*.
Expand Down Expand Up @@ -3685,8 +3685,8 @@ defmodule AWS.AutoScaling do
@doc """
Describes the termination policies supported by Amazon EC2 Auto Scaling.
For more information, see [Work with Amazon EC2 Auto Scaling termination
policies](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html)
For more information, see [Configure termination policies for Amazon EC2 Auto
Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html)
in the
*Amazon EC2 Auto Scaling User Guide*.
"""
Expand Down Expand Up @@ -3755,8 +3755,8 @@ defmodule AWS.AutoScaling do
Auto Scaling
group, the instances are deregistered from the target groups.
For more information, see [Detach EC2 instances from your Auto Scaling
group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html)
For more information, see [Detach or attach
instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html)
in the *Amazon EC2 Auto Scaling User Guide*.
"""
@spec detach_instances(map(), detach_instances_query(), list()) ::
Expand Down Expand Up @@ -4063,8 +4063,8 @@ defmodule AWS.AutoScaling do
This configuration overwrites any existing configuration.
For more information, see [Getting Amazon SNS notifications when your Auto Scaling group
scales](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html)
For more information, see [Amazon SNS notification options for Amazon EC2 Auto
Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html)
in the
*Amazon EC2 Auto Scaling User Guide*.
Expand Down Expand Up @@ -4116,7 +4116,7 @@ defmodule AWS.AutoScaling do
@doc """
Creates or updates a scheduled scaling action for an Auto Scaling group.
For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html)
For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html)
in the
*Amazon EC2 Auto Scaling User Guide*.
Expand Down Expand Up @@ -4146,20 +4146,19 @@ defmodule AWS.AutoScaling do
Whenever your
application needs to scale out, the Auto Scaling group can draw on the warm pool
to meet its new
desired capacity. For more information and example configurations, see [Warm pools for
Amazon EC2 Auto
Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html)
in the *Amazon EC2 Auto Scaling User Guide*.
desired capacity.
This operation must be called from the Region in which the Auto Scaling group
was created.
This operation cannot be called on an Auto Scaling group that has a mixed
instances policy or a
launch template or launch configuration that requests Spot Instances.
was
created.
You can view the instances in the warm pool using the `DescribeWarmPool` API
call. If you are no longer using a warm pool, you can delete it by calling the
`DeleteWarmPool` API.
For more information, see [Warm pools for Amazon EC2 Auto
Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html)
in the *Amazon EC2 Auto Scaling User Guide*.
"""
@spec put_warm_pool(map(), put_warm_pool_type(), list()) ::
{:ok, put_warm_pool_answer(), any()}
Expand Down Expand Up @@ -4231,7 +4230,7 @@ defmodule AWS.AutoScaling do
process, for
the specified Auto Scaling group.
For more information, see [Suspending and resuming scaling
For more information, see [Suspend and resume Amazon EC2 Auto Scaling
processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html)
in the *Amazon EC2 Auto Scaling User Guide*.
"""
Expand Down Expand Up @@ -4298,9 +4297,8 @@ defmodule AWS.AutoScaling do
its termination
policy to determine which instances to terminate.
For more information, see [Manual scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html)
in the
*Amazon EC2 Auto Scaling User Guide*.
For more information, see [Manual scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html)
in the *Amazon EC2 Auto Scaling User Guide*.
"""
@spec set_desired_capacity(map(), set_desired_capacity_type(), list()) ::
{:ok, nil, any()}
Expand All @@ -4315,8 +4313,10 @@ defmodule AWS.AutoScaling do
@doc """
Sets the health status of the specified instance.
For more information, see [Health checks for Auto Scaling instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html)
in the *Amazon EC2 Auto Scaling User Guide*.
For more information, see [Health checks for instances in an Auto Scaling
group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html)
in the
*Amazon EC2 Auto Scaling User Guide*.
"""
@spec set_instance_health(map(), set_instance_health_query(), list()) ::
{:ok, nil, any()}
Expand All @@ -4334,9 +4334,7 @@ defmodule AWS.AutoScaling do
This operation
cannot be called on instances in a warm pool.
For more information about preventing instances that are part of an Auto Scaling
group from
terminating on scale in, see [Using instance scale-in
For more information, see [Use instance scale-in
protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html)
in the
*Amazon EC2 Auto Scaling User Guide*.
Expand Down Expand Up @@ -4412,7 +4410,7 @@ defmodule AWS.AutoScaling do
If you suspend either the `Launch` or `Terminate` process types,
it can prevent other process types from functioning properly. For more
information, see
[Suspending and resuming scaling
[Suspend and resume Amazon EC2 Auto Scaling
processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html)
in the *Amazon EC2 Auto Scaling User Guide*.
Expand Down Expand Up @@ -4449,7 +4447,7 @@ defmodule AWS.AutoScaling do
between
Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and
rebalancing might
terminate instances in other zones. For more information, see [Rebalancing activities](https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage)
terminate instances in other zones. For more information, see [Manual scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html)
in the *Amazon EC2 Auto Scaling User Guide*.
"""
@spec terminate_instance_in_auto_scaling_group(
Expand Down
57 changes: 57 additions & 0 deletions lib/aws/generated/network_manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,21 @@ defmodule AWS.NetworkManager do

@typedoc """
## Example:
peering_error() :: %{
"Code" => list(any()),
"Message" => String.t(),
"MissingPermissionsContext" => permissions_error_context(),
"RequestId" => String.t(),
"ResourceArn" => String.t()
}
"""
@type peering_error() :: %{String.t() => any()}

@typedoc """
## Example:
attachment() :: %{
Expand All @@ -704,6 +719,7 @@ defmodule AWS.NetworkManager do
"CoreNetworkId" => String.t(),
"CreatedAt" => non_neg_integer(),
"EdgeLocation" => String.t(),
"LastModificationErrors" => list(attachment_error()()),
"NetworkFunctionGroupName" => String.t(),
"OwnerAccountId" => String.t(),
"ProposedNetworkFunctionGroupChange" => proposed_network_function_group_change(),
Expand Down Expand Up @@ -936,6 +952,17 @@ defmodule AWS.NetworkManager do

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

@typedoc """
## Example:
get_network_routes_response() :: %{
Expand Down Expand Up @@ -1160,6 +1187,20 @@ defmodule AWS.NetworkManager do

@typedoc """
## Example:
connect_peer_error() :: %{
"Code" => list(any()),
"Message" => String.t(),
"RequestId" => String.t(),
"ResourceArn" => String.t()
}
"""
@type connect_peer_error() :: %{String.t() => any()}

@typedoc """
## Example:
disassociate_connect_peer_request() :: %{}
Expand Down Expand Up @@ -1590,6 +1631,7 @@ defmodule AWS.NetworkManager do
"CoreNetworkId" => String.t(),
"CreatedAt" => non_neg_integer(),
"EdgeLocation" => String.t(),
"LastModificationErrors" => list(peering_error()()),
"OwnerAccountId" => String.t(),
"PeeringId" => String.t(),
"PeeringType" => list(any()),
Expand Down Expand Up @@ -1641,6 +1683,20 @@ defmodule AWS.NetworkManager do

@typedoc """
## Example:
attachment_error() :: %{
"Code" => list(any()),
"Message" => String.t(),
"RequestId" => String.t(),
"ResourceArn" => String.t()
}
"""
@type attachment_error() :: %{String.t() => any()}

@typedoc """
## Example:
delete_site_request() :: %{}
Expand Down Expand Up @@ -2684,6 +2740,7 @@ defmodule AWS.NetworkManager do
"CoreNetworkId" => String.t(),
"CreatedAt" => non_neg_integer(),
"EdgeLocation" => String.t(),
"LastModificationErrors" => list(connect_peer_error()()),
"State" => list(any()),
"SubnetArn" => String.t(),
"Tags" => list(tag()())
Expand Down
3 changes: 3 additions & 0 deletions lib/aws/generated/work_spaces_thin_client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ defmodule AWS.WorkSpacesThinClient do
"desktopArn" => String.t(),
"desktopEndpoint" => String.t(),
"desktopType" => list(any()),
"deviceCreationTags" => map(),
"id" => String.t(),
"kmsKeyArn" => String.t(),
"maintenanceWindow" => maintenance_window(),
Expand Down Expand Up @@ -586,6 +587,7 @@ defmodule AWS.WorkSpacesThinClient do
optional("clientToken") => String.t(),
optional("desiredSoftwareSetId") => String.t(),
optional("desktopEndpoint") => String.t(),
optional("deviceCreationTags") => map(),
optional("kmsKeyArn") => String.t(),
optional("maintenanceWindow") => maintenance_window(),
optional("name") => String.t(),
Expand All @@ -606,6 +608,7 @@ defmodule AWS.WorkSpacesThinClient do
optional("desiredSoftwareSetId") => String.t(),
optional("desktopArn") => String.t(),
optional("desktopEndpoint") => String.t(),
optional("deviceCreationTags") => map(),
optional("maintenanceWindow") => maintenance_window(),
optional("name") => String.t(),
optional("softwareSetUpdateMode") => list(any()),
Expand Down

0 comments on commit 8401d8b

Please sign in to comment.