@aws-sdk/client-ec2 3.674.0 → 3.676.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2 -0
- package/dist-es/models/models_2.js +2 -0
- package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +6 -2
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +7 -1
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +2 -2
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcCommand.d.ts +7 -1
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
- package/dist-types/commands/DisableImageCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +3 -3
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +12 -12
- package/dist-types/models/models_2.d.ts +2 -0
- package/dist-types/models/models_4.d.ts +1 -1
- package/dist-types/models/models_6.d.ts +4 -3
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/models/models_2.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -65448,6 +65448,7 @@ var CreateVerifiedAccessInstanceCommand = _CreateVerifiedAccessInstanceCommand;
|
|
|
65448
65448
|
var NetworkInterfaceCreationType = {
|
|
65449
65449
|
branch: "branch",
|
|
65450
65450
|
efa: "efa",
|
|
65451
|
+
efa_only: "efa-only",
|
|
65451
65452
|
trunk: "trunk"
|
|
65452
65453
|
};
|
|
65453
65454
|
var NetworkInterfaceType = {
|
|
@@ -65455,6 +65456,7 @@ var NetworkInterfaceType = {
|
|
|
65455
65456
|
aws_codestar_connections_managed: "aws_codestar_connections_managed",
|
|
65456
65457
|
branch: "branch",
|
|
65457
65458
|
efa: "efa",
|
|
65459
|
+
efa_only: "efa-only",
|
|
65458
65460
|
gateway_load_balancer: "gateway_load_balancer",
|
|
65459
65461
|
gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint",
|
|
65460
65462
|
global_accelerator_managed: "global_accelerator_managed",
|
|
@@ -3,6 +3,7 @@ import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
|
3
3
|
export const NetworkInterfaceCreationType = {
|
|
4
4
|
branch: "branch",
|
|
5
5
|
efa: "efa",
|
|
6
|
+
efa_only: "efa-only",
|
|
6
7
|
trunk: "trunk",
|
|
7
8
|
};
|
|
8
9
|
export const NetworkInterfaceType = {
|
|
@@ -10,6 +11,7 @@ export const NetworkInterfaceType = {
|
|
|
10
11
|
aws_codestar_connections_managed: "aws_codestar_connections_managed",
|
|
11
12
|
branch: "branch",
|
|
12
13
|
efa: "efa",
|
|
14
|
+
efa_only: "efa-only",
|
|
13
15
|
gateway_load_balancer: "gateway_load_balancer",
|
|
14
16
|
gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint",
|
|
15
17
|
global_accelerator_managed: "global_accelerator_managed",
|
|
@@ -28,7 +28,7 @@ declare const AssignPrivateNatGatewayAddressCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Assigns private IPv4 addresses to a private NAT gateway. For more information, see
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
31
|
+
* <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>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -28,11 +28,15 @@ declare const AssociateNatGatewayAddressCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information,
|
|
31
|
-
* see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
31
|
+
* 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>
|
|
32
32
|
* <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.
|
|
33
33
|
* 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>
|
|
34
34
|
* <important>
|
|
35
|
-
* <p>When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs
|
|
35
|
+
* <p>When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs
|
|
36
|
+
* must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same,
|
|
37
|
+
* 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.
|
|
38
|
+
* Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information
|
|
39
|
+
* 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>.
|
|
36
40
|
* </p>
|
|
37
41
|
* </important>
|
|
38
42
|
* @example
|
|
@@ -29,7 +29,7 @@ declare const CreateDefaultSubnetCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a default subnet with a size <code>/20</code> IPv4 CIDR block in the
|
|
31
31
|
* specified Availability Zone in your default VPC. You can have only one default subnet
|
|
32
|
-
* 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
|
|
32
|
+
* 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
|
|
33
33
|
* subnet</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -31,7 +31,7 @@ declare const CreateFlowLogsCommand_base: {
|
|
|
31
31
|
* subnet, or VPC. </p>
|
|
32
32
|
* <p>Flow log data for a monitored network interface is recorded as flow log records, which are log events
|
|
33
33
|
* consisting of fields that describe the traffic flow. For more information, see
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html">Flow log records</a>
|
|
35
35
|
* in the <i>Amazon VPC User Guide</i>.</p>
|
|
36
36
|
* <p>When publishing to CloudWatch Logs, flow log records are published to a log group, and each network
|
|
37
37
|
* interface has a unique log stream in the log group. When publishing to Amazon S3, flow log records for all
|
|
@@ -38,7 +38,13 @@ declare const CreateNatGatewayCommand_base: {
|
|
|
38
38
|
* private IPv4 addresses, and communicating between overlapping networks.</p>
|
|
39
39
|
* <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>
|
|
40
40
|
* <important>
|
|
41
|
-
* <p>When you create a public NAT gateway and assign it an EIP or secondary EIPs,
|
|
41
|
+
* <p>When you create a public NAT gateway and assign it an EIP or secondary EIPs,
|
|
42
|
+
* the network border group of the EIPs must match the network border group of the Availability Zone (AZ)
|
|
43
|
+
* that the public NAT gateway is in. If it's not the same, the NAT gateway will fail to launch.
|
|
44
|
+
* You can see the network border group for the subnet's AZ by viewing the details of the subnet.
|
|
45
|
+
* Similarly, you can view the network border group of an EIP by viewing the details of the EIP address.
|
|
46
|
+
* 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>
|
|
47
|
+
* in the <i>Amazon VPC User Guide</i>.
|
|
42
48
|
* </p>
|
|
43
49
|
* </important>
|
|
44
50
|
* @example
|
|
@@ -51,7 +51,7 @@ declare const CreateNetworkInterfaceCommand_base: {
|
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
53
53
|
* Ipv6PrefixCount: Number("int"),
|
|
54
|
-
* InterfaceType: "efa" || "branch" || "trunk",
|
|
54
|
+
* InterfaceType: "efa" || "efa-only" || "branch" || "trunk",
|
|
55
55
|
* TagSpecifications: [ // TagSpecificationList
|
|
56
56
|
* { // TagSpecification
|
|
57
57
|
* 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",
|
|
@@ -134,7 +134,7 @@ declare const CreateNetworkInterfaceCommand_base: {
|
|
|
134
134
|
* // GroupName: "STRING_VALUE",
|
|
135
135
|
* // },
|
|
136
136
|
* // ],
|
|
137
|
-
* // 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",
|
|
137
|
+
* // 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",
|
|
138
138
|
* // Ipv6Addresses: [ // NetworkInterfaceIpv6AddressesList
|
|
139
139
|
* // { // NetworkInterfaceIpv6Address
|
|
140
140
|
* // Ipv6Address: "STRING_VALUE",
|
|
@@ -28,8 +28,8 @@ declare const CreateSubnetCidrReservationCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <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>
|
|
31
|
-
* in the <i>Amazon VPC User Guide</i> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
32
|
-
*
|
|
31
|
+
* 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
|
|
32
|
+
* for your network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -32,7 +32,7 @@ declare const CreateVpcCommand_base: {
|
|
|
32
32
|
* <p>You can optionally request an IPv6 CIDR block for the VPC. You can request an
|
|
33
33
|
* Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses or an IPv6 CIDR
|
|
34
34
|
* block from an IPv6 address pool that you provisioned through bring your own IP addresses
|
|
35
|
-
*
|
|
35
|
+
* (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>).</p>
|
|
36
36
|
* <p>By default, each instance that you launch in the VPC has the default DHCP options, which
|
|
37
37
|
* include only a default DNS server that we provide (AmazonProvidedDNS). For more
|
|
38
38
|
* 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>
|
|
@@ -27,7 +27,13 @@ declare const DeleteVpcCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the specified VPC. You must detach or delete all gateways and resources that are associated
|
|
30
|
+
* <p>Deletes the specified VPC. You must detach or delete all gateways and resources that are associated
|
|
31
|
+
* with the VPC before you can delete it. For example, you must terminate all instances running in the VPC,
|
|
32
|
+
* delete all security groups associated with the VPC (except the default one), delete all route tables
|
|
33
|
+
* associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the
|
|
34
|
+
* default security group, network ACL, and route table for the VPC.</p>
|
|
35
|
+
* <p>If you created a flow log for the VPC that you are deleting, note that flow logs for deleted
|
|
36
|
+
* VPCs are eventually automatically removed.</p>
|
|
31
37
|
* @example
|
|
32
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
39
|
* ```javascript
|
|
@@ -101,7 +101,7 @@ declare const DescribeNetworkInterfacesCommand_base: {
|
|
|
101
101
|
* // GroupName: "STRING_VALUE",
|
|
102
102
|
* // },
|
|
103
103
|
* // ],
|
|
104
|
-
* // 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",
|
|
104
|
+
* // 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",
|
|
105
105
|
* // Ipv6Addresses: [ // NetworkInterfaceIpv6AddressesList
|
|
106
106
|
* // { // NetworkInterfaceIpv6Address
|
|
107
107
|
* // Ipv6Address: "STRING_VALUE",
|
|
@@ -35,7 +35,7 @@ declare const DisableImageCommand_base: {
|
|
|
35
35
|
* <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
|
|
36
36
|
* default.</p>
|
|
37
37
|
* <p>Only the AMI owner can disable an AMI.</p>
|
|
38
|
-
* <p>You can re-enable a disabled AMI using <a href="
|
|
38
|
+
* <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>
|
|
39
39
|
* <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
|
|
40
40
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
41
41
|
* @example
|
|
@@ -28,7 +28,7 @@ declare const DisassociateNatGatewayAddressCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway.
|
|
31
|
-
* You cannot disassociate your primary EIP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
31
|
+
* 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>
|
|
32
32
|
* <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>
|
|
33
33
|
* <p>An EIP is released only at the end of MaxDrainDurationSeconds. It stays
|
|
34
34
|
* associated and supports the existing connections but does not support any new connections
|
|
@@ -33,9 +33,9 @@ declare const GetInstanceTypesFromInstanceRequirementsCommand_base: {
|
|
|
33
33
|
* <p>When you specify multiple parameters, you get instance types that satisfy all of the
|
|
34
34
|
* specified parameters. If you specify multiple values for a parameter, you get instance
|
|
35
35
|
* types that satisfy any of the specified values.</p>
|
|
36
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
37
|
-
* 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
|
|
38
|
-
*
|
|
36
|
+
* <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
|
|
37
|
+
* 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
|
|
38
|
+
* mixed instance groups using attribute-based instance type selection</a> in the
|
|
39
39
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
40
40
|
* @example
|
|
41
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,7 +27,9 @@ declare const UnassignPrivateNatGatewayAddressCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information,
|
|
30
|
+
* <p>Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information,
|
|
31
|
+
* 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>
|
|
32
|
+
* in the <i>Amazon VPC User Guide</i>.</p>
|
|
31
33
|
* <p>While unassigning is in progress, you cannot assign/unassign additional IP addresses while the connections are being drained. You are, however, allowed to delete the NAT gateway.</p>
|
|
32
34
|
* <p>A private IP address will only be released at the end of MaxDrainDurationSeconds. The
|
|
33
35
|
* private IP addresses stay associated and support the existing connections, but do not
|
|
@@ -3647,7 +3647,7 @@ export interface AssociateCapacityReservationBillingOwnerRequest {
|
|
|
3647
3647
|
*/
|
|
3648
3648
|
CapacityReservationId: string | undefined;
|
|
3649
3649
|
/**
|
|
3650
|
-
* <p>The ID of the consumer account to which assign billing.</p>
|
|
3650
|
+
* <p>The ID of the consumer account to which to assign billing.</p>
|
|
3651
3651
|
* @public
|
|
3652
3652
|
*/
|
|
3653
3653
|
UnusedReservationBillingOwnerId: string | undefined;
|
|
@@ -2756,8 +2756,8 @@ export interface VCpuCountRangeRequest {
|
|
|
2756
2756
|
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html">AWS::EC2::Instance</a> Amazon Web Services CloudFormation resource, you can't specify
|
|
2757
2757
|
* <code>InstanceRequirements</code>.</p>
|
|
2758
2758
|
* </note>
|
|
2759
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">
|
|
2760
|
-
*
|
|
2759
|
+
* <p>For more information, see <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
|
|
2760
|
+
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2761
2761
|
* @public
|
|
2762
2762
|
*/
|
|
2763
2763
|
export interface InstanceRequirementsRequest {
|
|
@@ -4092,8 +4092,8 @@ export interface VCpuCountRange {
|
|
|
4092
4092
|
* wizard</a> or with the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances API</a>, you
|
|
4093
4093
|
* can't specify <code>InstanceRequirements</code>.</p>
|
|
4094
4094
|
* </note>
|
|
4095
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html">Create
|
|
4096
|
-
* the <i>Amazon EC2 Auto Scaling User Guide</i>, and also <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">
|
|
4095
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html">Create mixed instances group using attribute-based instance type selection</a> in
|
|
4096
|
+
* the <i>Amazon EC2 Auto Scaling User Guide</i>, and also <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
|
|
4097
4097
|
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
4098
4098
|
* @public
|
|
4099
4099
|
*/
|
|
@@ -4914,8 +4914,8 @@ export interface CreateFlowLogsRequest {
|
|
|
4914
4914
|
* <p>The fields to include in the flow log record. List the fields in the order in which
|
|
4915
4915
|
* they should appear. If you omit this parameter, the flow log is created using the
|
|
4916
4916
|
* default format. If you specify this parameter, you must include at least one
|
|
4917
|
-
* field. For more information about the available fields, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-
|
|
4918
|
-
*
|
|
4917
|
+
* field. For more information about the available fields, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html">Flow log records</a>
|
|
4918
|
+
* in the <i>Amazon VPC User Guide</i> or <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records">Transit Gateway Flow Log
|
|
4919
4919
|
* records</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
|
|
4920
4920
|
* <p>Specify the fields using the <code>$\{field-id\}</code> format, separated by spaces.</p>
|
|
4921
4921
|
* @public
|
|
@@ -5137,8 +5137,8 @@ export interface EbsBlockDevice {
|
|
|
5137
5137
|
*/
|
|
5138
5138
|
VolumeType?: VolumeType;
|
|
5139
5139
|
/**
|
|
5140
|
-
* <p>Identifier (key ID, key alias,
|
|
5141
|
-
*
|
|
5140
|
+
* <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key
|
|
5141
|
+
* to use for EBS encryption.</p>
|
|
5142
5142
|
* <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by
|
|
5143
5143
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html">RequestSpotFleet</a>,
|
|
5144
5144
|
* and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>.</p>
|
|
@@ -8276,7 +8276,7 @@ export interface RequestLaunchTemplateData {
|
|
|
8276
8276
|
* wizard</a>, or with the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> API or
|
|
8277
8277
|
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html">AWS::EC2::Instance</a> Amazon Web Services CloudFormation resource, you can't specify <code>InstanceRequirements</code>.</p>
|
|
8278
8278
|
* </note>
|
|
8279
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">
|
|
8279
|
+
* <p>For more information, see <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
|
|
8280
8280
|
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
8281
8281
|
* @public
|
|
8282
8282
|
*/
|
|
@@ -10196,20 +10196,20 @@ export interface CreateNatGatewayRequest {
|
|
|
10196
10196
|
*/
|
|
10197
10197
|
PrivateIpAddress?: string;
|
|
10198
10198
|
/**
|
|
10199
|
-
* <p>Secondary EIP allocation IDs. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
10199
|
+
* <p>Secondary EIP allocation IDs. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html">Create a NAT gateway</a>
|
|
10200
10200
|
* in the <i>Amazon VPC User Guide</i>.</p>
|
|
10201
10201
|
* @public
|
|
10202
10202
|
*/
|
|
10203
10203
|
SecondaryAllocationIds?: string[];
|
|
10204
10204
|
/**
|
|
10205
10205
|
* <p>Secondary private IPv4 addresses. For more information about secondary addresses, see
|
|
10206
|
-
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
10206
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html">Create a NAT gateway</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
10207
10207
|
* @public
|
|
10208
10208
|
*/
|
|
10209
10209
|
SecondaryPrivateIpAddresses?: string[];
|
|
10210
10210
|
/**
|
|
10211
10211
|
* <p>[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway.
|
|
10212
|
-
* For more information about secondary addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
10212
|
+
* For more information about secondary addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html">Create a NAT gateway</a>
|
|
10213
10213
|
* in the <i>Amazon VPC User Guide</i>.</p>
|
|
10214
10214
|
* @public
|
|
10215
10215
|
*/
|
|
@@ -136,6 +136,7 @@ export interface CreateNetworkInsightsPathResult {
|
|
|
136
136
|
export declare const NetworkInterfaceCreationType: {
|
|
137
137
|
readonly branch: "branch";
|
|
138
138
|
readonly efa: "efa";
|
|
139
|
+
readonly efa_only: "efa-only";
|
|
139
140
|
readonly trunk: "trunk";
|
|
140
141
|
};
|
|
141
142
|
/**
|
|
@@ -466,6 +467,7 @@ export declare const NetworkInterfaceType: {
|
|
|
466
467
|
readonly aws_codestar_connections_managed: "aws_codestar_connections_managed";
|
|
467
468
|
readonly branch: "branch";
|
|
468
469
|
readonly efa: "efa";
|
|
470
|
+
readonly efa_only: "efa-only";
|
|
469
471
|
readonly gateway_load_balancer: "gateway_load_balancer";
|
|
470
472
|
readonly gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint";
|
|
471
473
|
readonly global_accelerator_managed: "global_accelerator_managed";
|
|
@@ -370,7 +370,7 @@ export interface DescribeImagesRequest {
|
|
|
370
370
|
* </li>
|
|
371
371
|
* <li>
|
|
372
372
|
* <p>
|
|
373
|
-
* <code>tag
|
|
373
|
+
* <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
374
374
|
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
|
|
375
375
|
* </li>
|
|
376
376
|
* <li>
|
|
@@ -6885,9 +6885,10 @@ export interface ModifySubnetAttributeRequest {
|
|
|
6885
6885
|
/**
|
|
6886
6886
|
* <p>Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet
|
|
6887
6887
|
* should return synthetic IPv6 addresses for IPv4-only destinations.</p>
|
|
6888
|
-
* <
|
|
6889
|
-
*
|
|
6890
|
-
*
|
|
6888
|
+
* <p>You must first configure a NAT gateway in a public subnet (separate from the subnet
|
|
6889
|
+
* containing the IPv6-only workloads). For example, the subnet containing the NAT gateway
|
|
6890
|
+
* should have a <code>0.0.0.0/0</code> route pointing to the internet gateway. For more
|
|
6891
|
+
* information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html#nat-gateway-nat64-dns64-walkthrough">Configure DNS64 and NAT64</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
6891
6892
|
* @public
|
|
6892
6893
|
*/
|
|
6893
6894
|
EnableDns64?: AttributeBooleanValue;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
|
-
defaultUserAgentProvider: (config
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
defaultUserAgentProvider: (config
|
|
23
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
24
24
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -84,6 +84,7 @@ export interface CreateNetworkInsightsPathResult {
|
|
|
84
84
|
export declare const NetworkInterfaceCreationType: {
|
|
85
85
|
readonly branch: "branch";
|
|
86
86
|
readonly efa: "efa";
|
|
87
|
+
readonly efa_only: "efa-only";
|
|
87
88
|
readonly trunk: "trunk";
|
|
88
89
|
};
|
|
89
90
|
export type NetworkInterfaceCreationType =
|
|
@@ -149,6 +150,7 @@ export declare const NetworkInterfaceType: {
|
|
|
149
150
|
readonly aws_codestar_connections_managed: "aws_codestar_connections_managed";
|
|
150
151
|
readonly branch: "branch";
|
|
151
152
|
readonly efa: "efa";
|
|
153
|
+
readonly efa_only: "efa-only";
|
|
152
154
|
readonly gateway_load_balancer: "gateway_load_balancer";
|
|
153
155
|
readonly gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint";
|
|
154
156
|
readonly global_accelerator_managed: "global_accelerator_managed";
|
|
@@ -10,7 +10,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
10
10
|
input: any
|
|
11
11
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
12
|
defaultUserAgentProvider: (
|
|
13
|
-
config
|
|
13
|
+
config?:
|
|
14
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
15
|
+
| undefined
|
|
14
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -23,7 +23,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
25
|
defaultUserAgentProvider: (
|
|
26
|
-
config
|
|
26
|
+
config?:
|
|
27
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
28
|
+
| undefined
|
|
27
29
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
28
30
|
credentialDefaultProvider: (
|
|
29
31
|
input: any
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.676.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.675.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.675.0",
|
|
25
25
|
"@aws-sdk/core": "3.667.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.675.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.667.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.667.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.667.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.667.0",
|
|
33
33
|
"@aws-sdk/types": "3.667.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.667.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.675.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.669.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.9",
|
|
38
38
|
"@smithy/core": "^2.4.8",
|