Skip to content

Commit

Permalink
Update services based on release-2024-10-04 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Oct 5, 2024
1 parent 80e2101 commit 404d6b6
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 32 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-03
release-2024-10-04
74 changes: 43 additions & 31 deletions lib/aws/generated/ec2.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,7 @@ defmodule AWS.EC2 do
"ResourceTags" => list(ipam_resource_tag()()),
"ResourceType" => list(any()),
"SampleTime" => non_neg_integer(),
"SubnetId" => String.t(),
"VpcId" => String.t()
}

Expand Down Expand Up @@ -27378,7 +27379,7 @@ defmodule AWS.EC2 do
Assigns private IPv4 addresses to a private NAT gateway.

For more information, see
[Work with NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with)
[Work with NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html)
in the *Amazon VPC User Guide*.
"""
@spec assign_private_nat_gateway_address(
Expand Down Expand Up @@ -27603,7 +27604,7 @@ defmodule AWS.EC2 do
NAT gateway.

For more information,
see [Work with NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with)
see [Work with NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html)
in the *Amazon VPC User Guide*.

By default, you can associate up to 2 Elastic IP addresses per public NAT
Expand All @@ -27612,14 +27613,15 @@ defmodule AWS.EC2 do
in the *Amazon VPC User Guide*.

When you associate an EIP or secondary EIPs with a public NAT gateway, the
network border group of the EIPs must match the network border group of the
Availability Zone (AZ) that the public NAT gateway is in. If it's not the same,
network border group of the EIPs
must match the network border group of the Availability Zone (AZ) that the
public NAT gateway is in. If it's not the same,
the EIP will fail to associate. You can see the network border group for the
subnet's AZ by viewing the details of the subnet. Similarly, you can view the
network border group of an EIP by viewing the details of the EIP address. For
more information about network border groups and EIPs, see [Allocate an Elastic IP
address](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip)
in the *Amazon VPC User Guide*.
subnet's AZ by viewing the details of the subnet.
Similarly, you can view the network border group of an EIP by viewing the
details of the EIP address. For more information
about network border groups and EIPs, see [Allocate an Elastic IP address](https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html) in
the *Amazon VPC User Guide*.
"""
@spec associate_nat_gateway_address(map(), associate_nat_gateway_address_request(), list()) ::
{:ok, associate_nat_gateway_address_result(), any()}
Expand Down Expand Up @@ -27896,7 +27898,7 @@ defmodule AWS.EC2 do
end

@doc """
Attaches a virtual private gateway to a VPC.
Attaches an available virtual private gateway to a VPC.

You can attach one virtual private
gateway to one VPC at a time.
Expand Down Expand Up @@ -28532,7 +28534,7 @@ defmodule AWS.EC2 do
specified Availability Zone in your default VPC.

You can have only one default subnet
per Availability Zone. For more information, see [Create a default subnet](https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet)
per Availability Zone. For more information, see [Create a default subnet](https://docs.aws.amazon.com/vpc/latest/userguide/work-with-default-vpc.html#create-default-subnet)
in the *Amazon VPC User Guide*.
"""
@spec create_default_subnet(map(), create_default_subnet_request(), list()) ::
Expand Down Expand Up @@ -28693,7 +28695,7 @@ defmodule AWS.EC2 do
Flow log data for a monitored network interface is recorded as flow log records,
which are log events
consisting of fields that describe the traffic flow. For more information, see
[Flow log records](https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records)
[Flow log records](https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html)
in the *Amazon VPC User Guide*.

When publishing to CloudWatch Logs, flow log records are published to a log
Expand Down Expand Up @@ -29183,14 +29185,17 @@ defmodule AWS.EC2 do
For more information, see [NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html)
in the *Amazon VPC User Guide*.

When you create a public NAT gateway and assign it an EIP or secondary EIPs, the
network border group of the EIPs must match the network border group of the
Availability Zone (AZ) that the public NAT gateway is in. If it's not the same,
the NAT gateway will fail to launch. You can see the network border group for
the subnet's AZ by viewing the details of the subnet. Similarly, you can view
the network border group of an EIP by viewing the details of the EIP address.
When you create a public NAT gateway and assign it an EIP or secondary EIPs,
the network border group of the EIPs must match the network border group of the
Availability Zone (AZ)
that the public NAT gateway is in. If it's not the same, the NAT gateway will
fail to launch.
You can see the network border group for the subnet's AZ by viewing the details
of the subnet.
Similarly, you can view the network border group of an EIP by viewing the
details of the EIP address.
For more information about network border groups and EIPs, see [Allocate an Elastic IP
address](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip)
address](https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html)
in the *Amazon VPC User Guide*.
"""
@spec create_nat_gateway(map(), create_nat_gateway_request(), list()) ::
Expand Down Expand Up @@ -29754,8 +29759,8 @@ defmodule AWS.EC2 do
Creates a subnet CIDR reservation.

For more information, see [Subnet CIDR reservations](https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html)
in the *Amazon VPC User Guide* and [Assign prefixes to network
interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html)
in the *Amazon VPC User Guide* and [Manage prefixes for your network
interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-prefixes.html)
in the *Amazon EC2 User Guide*.
"""
@spec create_subnet_cidr_reservation(map(), create_subnet_cidr_reservation_request(), list()) ::
Expand Down Expand Up @@ -31571,12 +31576,18 @@ defmodule AWS.EC2 do
@doc """
Deletes the specified VPC.

You must detach or delete all gateways and resources that are associated with
the VPC before you can delete it. For example, you must terminate all instances
running in the VPC, delete all security groups associated with the VPC (except
the default one), delete all route tables associated with the VPC (except the
default one), and so on. When you delete the VPC, it deletes the VPC's default
security group, network ACL, and route table.
You must detach or delete all gateways and resources that are associated
with the VPC before you can delete it. For example, you must terminate all
instances running in the VPC,
delete all security groups associated with the VPC (except the default one),
delete all route tables
associated with the VPC (except the default one), and so on. When you delete the
VPC, it deletes the
default security group, network ACL, and route table for the VPC.

If you created a flow log for the VPC that you are deleting, note that flow logs
for deleted
VPCs are eventually automatically removed.
"""
@spec delete_vpc(map(), delete_vpc_request(), list()) ::
{:ok, nil, any()}
Expand Down Expand Up @@ -32991,7 +33002,8 @@ defmodule AWS.EC2 do
*

`p3dn.24xlarge` | `p4d.24xlarge` |
`p4de.24xlarge` | `p5.48xlarge`
`p4de.24xlarge` | `p5.48xlarge` |
`p5e.48xlarge`

*

Expand Down Expand Up @@ -35676,7 +35688,7 @@ defmodule AWS.EC2 do
Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway.

You cannot disassociate your primary EIP. For more information, see [Edit secondary IP address
associations](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary)
associations](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary)
in the *Amazon VPC User Guide*.

While disassociating is in progress, you cannot associate/disassociate
Expand Down Expand Up @@ -40737,8 +40749,8 @@ defmodule AWS.EC2 do
@doc """
Unassigns secondary private IPv4 addresses from a private NAT gateway.

You cannot unassign your primary private IP. For more information, see [Edit secondary IP address
associations](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary)
You cannot unassign your primary private IP. For more information,
see [Edit secondary IP address associations](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary)
in the *Amazon VPC User Guide*.

While unassigning is in progress, you cannot assign/unassign additional IP
Expand Down

0 comments on commit 404d6b6

Please sign in to comment.