Skip to content

Commit 67509d4

Browse files
author
awstools
committed
feat(client-ec2): Amazon EC2 now allows you to create network interfaces with just the EFA driver and no ENA driver by specifying the network interface type as efa-only.
1 parent f3c2a2c commit 67509d4

19 files changed

+90
-57
lines changed

clients/client-ec2/src/commands/AssignPrivateNatGatewayAddressCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface AssignPrivateNatGatewayAddressCommandOutput
3434

3535
/**
3636
* <p>Assigns private IPv4 addresses to a private NAT gateway. For more information, see
37-
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with">Work with NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
37+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html">Work with NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
3838
* @example
3939
* Use a bare-bones client and the command you need to make an API call.
4040
* ```javascript

clients/client-ec2/src/commands/AssociateNatGatewayAddressCommand.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,15 @@ export interface AssociateNatGatewayAddressCommandOutput extends AssociateNatGat
2929

3030
/**
3131
* <p>Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information,
32-
* see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with">Work with NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
32+
* see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html">Work with NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
3333
* <p>By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment.
3434
* For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-eips">Elastic IP address quotas</a> in the <i>Amazon VPC User Guide</i>.</p>
3535
* <important>
36-
* <p>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, 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 <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip">Allocate an Elastic IP address</a> in the <i>Amazon VPC User Guide</i>.
36+
* <p>When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs
37+
* must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same,
38+
* 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.
39+
* Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information
40+
* about network border groups and EIPs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html">Allocate an Elastic IP address</a> in the <i>Amazon VPC User Guide</i>.
3741
* </p>
3842
* </important>
3943
* @example

clients/client-ec2/src/commands/CreateDefaultSubnetCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface CreateDefaultSubnetCommandOutput extends CreateDefaultSubnetRes
3030
/**
3131
* <p>Creates a default subnet with a size <code>/20</code> IPv4 CIDR block in the
3232
* specified Availability Zone in your default VPC. You can have only one default subnet
33-
* per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet">Create a default
33+
* per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/work-with-default-vpc.html#create-default-subnet">Create a default
3434
* subnet</a> in the <i>Amazon VPC User Guide</i>.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.

clients/client-ec2/src/commands/CreateFlowLogsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface CreateFlowLogsCommandOutput extends CreateFlowLogsResult, __Met
3232
* subnet, or VPC. </p>
3333
* <p>Flow log data for a monitored network interface is recorded as flow log records, which are log events
3434
* consisting of fields that describe the traffic flow. For more information, see
35-
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records">Flow log records</a>
35+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html">Flow log records</a>
3636
* in the <i>Amazon VPC User Guide</i>.</p>
3737
* <p>When publishing to CloudWatch Logs, flow log records are published to a log group, and each network
3838
* interface has a unique log stream in the log group. When publishing to Amazon S3, flow log records for all

clients/client-ec2/src/commands/CreateNatGatewayCommand.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ export interface CreateNatGatewayCommandOutput extends CreateNatGatewayResult, _
3939
* private IPv4 addresses, and communicating between overlapping networks.</p>
4040
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html">NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
4141
* <important>
42-
* <p>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 <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip">Allocate an Elastic IP address</a> in the <i>Amazon VPC User Guide</i>.
42+
* <p>When you create a public NAT gateway and assign it an EIP or secondary EIPs,
43+
* the network border group of the EIPs must match the network border group of the Availability Zone (AZ)
44+
* that the public NAT gateway is in. If it's not the same, the NAT gateway will fail to launch.
45+
* You can see the network border group for the subnet's AZ by viewing the details of the subnet.
46+
* Similarly, you can view the network border group of an EIP by viewing the details of the EIP address.
47+
* For more information about network border groups and EIPs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html">Allocate an Elastic IP address</a>
48+
* in the <i>Amazon VPC User Guide</i>.
4349
* </p>
4450
* </important>
4551
* @example

clients/client-ec2/src/commands/CreateNetworkInterfaceCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
5252
* },
5353
* ],
5454
* Ipv6PrefixCount: Number("int"),
55-
* InterfaceType: "efa" || "branch" || "trunk",
55+
* InterfaceType: "efa" || "efa-only" || "branch" || "trunk",
5656
* TagSpecifications: [ // TagSpecificationList
5757
* { // TagSpecification
5858
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
@@ -135,7 +135,7 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
135135
* // GroupName: "STRING_VALUE",
136136
* // },
137137
* // ],
138-
* // InterfaceType: "interface" || "natGateway" || "efa" || "trunk" || "load_balancer" || "network_load_balancer" || "vpc_endpoint" || "branch" || "transit_gateway" || "lambda" || "quicksight" || "global_accelerator_managed" || "api_gateway_managed" || "gateway_load_balancer" || "gateway_load_balancer_endpoint" || "iot_rules_managed" || "aws_codestar_connections_managed",
138+
* // InterfaceType: "interface" || "natGateway" || "efa" || "efa-only" || "trunk" || "load_balancer" || "network_load_balancer" || "vpc_endpoint" || "branch" || "transit_gateway" || "lambda" || "quicksight" || "global_accelerator_managed" || "api_gateway_managed" || "gateway_load_balancer" || "gateway_load_balancer_endpoint" || "iot_rules_managed" || "aws_codestar_connections_managed",
139139
* // Ipv6Addresses: [ // NetworkInterfaceIpv6AddressesList
140140
* // { // NetworkInterfaceIpv6Address
141141
* // Ipv6Address: "STRING_VALUE",

clients/client-ec2/src/commands/CreateSubnetCidrReservationCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export interface CreateSubnetCidrReservationCommandOutput extends CreateSubnetCi
2929

3030
/**
3131
* <p>Creates a subnet CIDR reservation. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html">Subnet CIDR reservations</a>
32-
* in the <i>Amazon VPC User Guide</i> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html">Assign prefixes
33-
* to network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
32+
* in the <i>Amazon VPC User Guide</i> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-prefixes.html">Manage prefixes
33+
* for your network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
3434
* @example
3535
* Use a bare-bones client and the command you need to make an API call.
3636
* ```javascript

clients/client-ec2/src/commands/CreateVpcCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface CreateVpcCommandOutput extends CreateVpcResult, __MetadataBeare
3333
* <p>You can optionally request an IPv6 CIDR block for the VPC. You can request an
3434
* Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses or an IPv6 CIDR
3535
* block from an IPv6 address pool that you provisioned through bring your own IP addresses
36-
* (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>).</p>
36+
* (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>).</p>
3737
* <p>By default, each instance that you launch in the VPC has the default DHCP options, which
3838
* include only a default DNS server that we provide (AmazonProvidedDNS). For more
3939
* information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP option sets</a> in the <i>Amazon VPC User Guide</i>.</p>

clients/client-ec2/src/commands/DeleteVpcCommand.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ export interface DeleteVpcCommandInput extends DeleteVpcRequest {}
2828
export interface DeleteVpcCommandOutput extends __MetadataBearer {}
2929

3030
/**
31-
* <p>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.</p>
31+
* <p>Deletes the specified VPC. You must detach or delete all gateways and resources that are associated
32+
* with the VPC before you can delete it. For example, you must terminate all instances running in the VPC,
33+
* delete all security groups associated with the VPC (except the default one), delete all route tables
34+
* associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the
35+
* default security group, network ACL, and route table for the VPC.</p>
36+
* <p>If you created a flow log for the VPC that you are deleting, note that flow logs for deleted
37+
* VPCs are eventually automatically removed.</p>
3238
* @example
3339
* Use a bare-bones client and the command you need to make an API call.
3440
* ```javascript

clients/client-ec2/src/commands/DescribeNetworkInterfacesCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export interface DescribeNetworkInterfacesCommandOutput extends DescribeNetworkI
102102
* // GroupName: "STRING_VALUE",
103103
* // },
104104
* // ],
105-
* // InterfaceType: "interface" || "natGateway" || "efa" || "trunk" || "load_balancer" || "network_load_balancer" || "vpc_endpoint" || "branch" || "transit_gateway" || "lambda" || "quicksight" || "global_accelerator_managed" || "api_gateway_managed" || "gateway_load_balancer" || "gateway_load_balancer_endpoint" || "iot_rules_managed" || "aws_codestar_connections_managed",
105+
* // InterfaceType: "interface" || "natGateway" || "efa" || "efa-only" || "trunk" || "load_balancer" || "network_load_balancer" || "vpc_endpoint" || "branch" || "transit_gateway" || "lambda" || "quicksight" || "global_accelerator_managed" || "api_gateway_managed" || "gateway_load_balancer" || "gateway_load_balancer_endpoint" || "iot_rules_managed" || "aws_codestar_connections_managed",
106106
* // Ipv6Addresses: [ // NetworkInterfaceIpv6AddressesList
107107
* // { // NetworkInterfaceIpv6Address
108108
* // Ipv6Address: "STRING_VALUE",

clients/client-ec2/src/commands/DisableImageCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface DisableImageCommandOutput extends DisableImageResult, __Metadat
3636
* <p>A disabled AMI does not appear in <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a> API calls by
3737
* default.</p>
3838
* <p>Only the AMI owner can disable an AMI.</p>
39-
* <p>You can re-enable a disabled AMI using <a href="http://amazonaws.com/AWSEC2/latest/APIReference/API_EnableImage.html">EnableImage</a>.</p>
39+
* <p>You can re-enable a disabled AMI using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableImage.html">EnableImage</a>.</p>
4040
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/disable-an-ami.html">Disable an AMI</a> in the
4141
* <i>Amazon EC2 User Guide</i>.</p>
4242
* @example

clients/client-ec2/src/commands/DisassociateNatGatewayAddressCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface DisassociateNatGatewayAddressCommandOutput
3131

3232
/**
3333
* <p>Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway.
34-
* You cannot disassociate your primary EIP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon VPC User Guide</i>.</p>
34+
* You cannot disassociate your primary EIP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon VPC User Guide</i>.</p>
3535
* <p>While disassociating is in progress, you cannot associate/disassociate additional EIPs while the connections are being drained. You are, however, allowed to delete the NAT gateway.</p>
3636
* <p>An EIP is released only at the end of MaxDrainDurationSeconds. It stays
3737
* associated and supports the existing connections but does not support any new connections

clients/client-ec2/src/commands/GetInstanceTypesFromInstanceRequirementsCommand.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ export interface GetInstanceTypesFromInstanceRequirementsCommandOutput
4343
* <p>When you specify multiple parameters, you get instance types that satisfy all of the
4444
* specified parameters. If you specify multiple values for a parameter, you get instance
4545
* types that satisfy any of the specified values.</p>
46-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html#spotfleet-get-instance-types-from-instance-requirements">Preview instance types with specified attributes</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
47-
* placement score</a> in the <i>Amazon EC2 User Guide</i>, and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html">Creating an
48-
* Auto Scaling group using attribute-based instance type selection</a> in the
46+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements">Preview instance types with specified attributes</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Specify attributes for instance type selection for EC2 Fleet or Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
47+
* placement score</a> in the <i>Amazon EC2 User Guide</i>, and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html">Creating
48+
* mixed instance groups using attribute-based instance type selection</a> in the
4949
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
5050
* @example
5151
* Use a bare-bones client and the command you need to make an API call.

0 commit comments

Comments
 (0)