@aws-sdk/client-ec2 3.423.0 → 3.427.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.
@@ -708,6 +708,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
708
708
  maxAttempts?: number | __Provider<number>;
709
709
  /**
710
710
  * Specifies which retry algorithm to use.
711
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
712
+ *
711
713
  */
712
714
  retryMode?: string | __Provider<string>;
713
715
  /**
@@ -26,6 +26,10 @@ export interface AssociateNatGatewayAddressCommandOutput extends AssociateNatGat
26
26
  * <p>Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information,
27
27
  * 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>
28
28
  * <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. 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>
29
+ * <important>
30
+ * <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>.
31
+ * </p>
32
+ * </important>
29
33
  * @example
30
34
  * Use a bare-bones client and the command you need to make an API call.
31
35
  * ```javascript
@@ -33,6 +33,10 @@ export interface CreateNatGatewayCommandOutput extends CreateNatGatewayResult, _
33
33
  * running large workloads behind a small pool of allowlisted IPv4 addresses, preserving
34
34
  * private IPv4 addresses, and communicating between overlapping networks.</p>
35
35
  * <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>
36
+ * <important>
37
+ * <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>.
38
+ * </p>
39
+ * </important>
36
40
  * @example
37
41
  * Use a bare-bones client and the command you need to make an API call.
38
42
  * ```javascript
@@ -23,7 +23,7 @@ export interface DeleteVpcCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <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.</p>
26
+ * <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>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -24,6 +24,10 @@ export interface DescribeNetworkInterfacesCommandOutput extends DescribeNetworkI
24
24
  /**
25
25
  * @public
26
26
  * <p>Describes one or more of your network interfaces.</p>
27
+ * <p>If you have a large number of network interfaces, the operation fails unless
28
+ * you use pagination or one of the following filters: <code>group-id</code>,
29
+ * <code>mac-address</code>, <code>private-dns-name</code>, <code>private-ip-address</code>,
30
+ * <code>private-dns-name</code>, <code>subnet-id</code>, or <code>vpc-id</code>.</p>
27
31
  * @example
28
32
  * Use a bare-bones client and the command you need to make an API call.
29
33
  * ```javascript
@@ -2660,8 +2660,6 @@ export interface AllocateAddressRequest {
2660
2660
  * advertises IP addresses. Use this parameter to limit the IP address to this location. IP
2661
2661
  * addresses cannot move between network border groups.</p>
2662
2662
  * <p>Use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html">DescribeAvailabilityZones</a> to view the network border groups.</p>
2663
- * <p>You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 Classic,
2664
- * you receive an <code>InvalidParameterCombination</code> error.</p>
2665
2663
  */
2666
2664
  NetworkBorderGroup?: string;
2667
2665
  /**
@@ -6167,7 +6165,8 @@ export interface CancelConversionRequest {
6167
6165
  export interface CancelExportTaskRequest {
6168
6166
  /**
6169
6167
  * @public
6170
- * <p>The ID of the export task. This is the ID returned by <code>CreateInstanceExportTask</code>.</p>
6168
+ * <p>The ID of the export task. This is the ID returned by the
6169
+ * <code>CreateInstanceExportTask</code> and <code>ExportImage</code> operations.</p>
6171
6170
  */
6172
6171
  ExportTaskId: string | undefined;
6173
6172
  }
@@ -2056,6 +2056,14 @@ export interface OnDemandOptionsRequest {
2056
2056
  /**
2057
2057
  * @public
2058
2058
  * <p>The maximum amount per hour for On-Demand Instances that you're willing to pay.</p>
2059
+ * <note>
2060
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
2061
+ * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
2062
+ * for surplus credits. The <code>MaxTotalPrice</code> does not account for surplus
2063
+ * credits, and, if you use surplus credits, your final cost might be higher than what you
2064
+ * specified for <code>MaxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the <i>EC2 User
2065
+ * Guide</i>.</p>
2066
+ * </note>
2059
2067
  */
2060
2068
  MaxTotalPrice?: string;
2061
2069
  }
@@ -2258,6 +2266,14 @@ export interface SpotOptionsRequest {
2258
2266
  * <important>
2259
2267
  * <p>If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.</p>
2260
2268
  * </important>
2269
+ * <note>
2270
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
2271
+ * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
2272
+ * for surplus credits. The <code>MaxTotalPrice</code> does not account for surplus
2273
+ * credits, and, if you use surplus credits, your final cost might be higher than what you
2274
+ * specified for <code>MaxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the <i>EC2 User
2275
+ * Guide</i>.</p>
2276
+ * </note>
2261
2277
  */
2262
2278
  MaxTotalPrice?: string;
2263
2279
  }
@@ -2446,7 +2462,7 @@ export interface CreateFleetRequest {
2446
2462
  /**
2447
2463
  * @public
2448
2464
  * <p>The key-value pair for tagging the EC2 Fleet request on creation. For more information, see
2449
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources">Tagging your resources</a>.</p>
2465
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources">Tag your resources</a>.</p>
2450
2466
  * <p>If the fleet type is <code>instant</code>, specify a resource type of <code>fleet</code>
2451
2467
  * to tag the fleet or <code>instance</code> to tag the instances at launch.</p>
2452
2468
  * <p>If the fleet type is <code>maintain</code> or <code>request</code>, specify a resource
@@ -6055,11 +6071,12 @@ export interface LaunchTemplateTagSpecificationRequest {
6055
6071
  /**
6056
6072
  * @public
6057
6073
  * <p>The type of resource to tag.</p>
6058
- * <p>The <code>Valid Values</code> are all the resource types that can be tagged. However,
6059
- * when creating a launch template, you can specify tags for the following resource types
6074
+ * <p>Valid Values lists all resource types for Amazon EC2 that can be tagged. When
6075
+ * you create a launch template, you can specify tags for the following resource types
6060
6076
  * only: <code>instance</code> | <code>volume</code> | <code>elastic-gpu</code> |
6061
- * <code>network-interface</code> | <code>spot-instances-request</code>
6062
- * </p>
6077
+ * <code>network-interface</code> | <code>spot-instances-request</code>.
6078
+ * If the instance does include the resource type that you specify, the instance
6079
+ * launch fails. For example, not all instance types include an Elastic GPU.</p>
6063
6080
  * <p>To tag a resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
6064
6081
  */
6065
6082
  ResourceType?: ResourceType | string;
@@ -6250,7 +6267,19 @@ export interface RequestLaunchTemplateData {
6250
6267
  ElasticGpuSpecifications?: ElasticGpuSpecification[];
6251
6268
  /**
6252
6269
  * @public
6253
- * <p> The elastic inference accelerator for the instance. </p>
6270
+ * <p>An elastic inference accelerator to associate with the instance. Elastic inference
6271
+ * accelerators are a resource you can attach to your Amazon EC2 instances to accelerate
6272
+ * your Deep Learning (DL) inference workloads.</p>
6273
+ * <p>You cannot specify accelerators from different generations in the same request.</p>
6274
+ * <note>
6275
+ * <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon
6276
+ * Elastic Inference (EI), and will help current customers migrate their workloads to
6277
+ * options that offer better price and performance. After April 15, 2023, new customers
6278
+ * will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
6279
+ * Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during
6280
+ * the past 30-day period are considered current customers and will be able to continue
6281
+ * using the service.</p>
6282
+ * </note>
6254
6283
  */
6255
6284
  ElasticInferenceAccelerators?: LaunchTemplateElasticInferenceAccelerator[];
6256
6285
  /**
@@ -7326,7 +7355,19 @@ export interface ResponseLaunchTemplateData {
7326
7355
  ElasticGpuSpecifications?: ElasticGpuSpecificationResponse[];
7327
7356
  /**
7328
7357
  * @public
7329
- * <p> The elastic inference accelerator for the instance. </p>
7358
+ * <p>An elastic inference accelerator to associate with the instance. Elastic inference
7359
+ * accelerators are a resource you can attach to your Amazon EC2 instances to accelerate
7360
+ * your Deep Learning (DL) inference workloads.</p>
7361
+ * <p>You cannot specify accelerators from different generations in the same request.</p>
7362
+ * <note>
7363
+ * <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon
7364
+ * Elastic Inference (EI), and will help current customers migrate their workloads to
7365
+ * options that offer better price and performance. After April 15, 2023, new customers
7366
+ * will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
7367
+ * Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during
7368
+ * the past 30-day period are considered current customers and will be able to continue
7369
+ * using the service.</p>
7370
+ * </note>
7330
7371
  */
7331
7372
  ElasticInferenceAccelerators?: LaunchTemplateElasticInferenceAcceleratorResponse[];
7332
7373
  /**
@@ -5176,6 +5176,14 @@ export interface OnDemandOptions {
5176
5176
  /**
5177
5177
  * @public
5178
5178
  * <p>The maximum amount per hour for On-Demand Instances that you're willing to pay.</p>
5179
+ * <note>
5180
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
5181
+ * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
5182
+ * for surplus credits. The <code>maxTotalPrice</code> does not account for surplus
5183
+ * credits, and, if you use surplus credits, your final cost might be higher than what you
5184
+ * specified for <code>maxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the <i>EC2 User
5185
+ * Guide</i>.</p>
5186
+ * </note>
5179
5187
  */
5180
5188
  MaxTotalPrice?: string;
5181
5189
  }
@@ -5338,6 +5346,14 @@ export interface SpotOptions {
5338
5346
  * <important>
5339
5347
  * <p>If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.</p>
5340
5348
  * </important>
5349
+ * <note>
5350
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
5351
+ * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
5352
+ * for surplus credits. The <code>maxTotalPrice</code> does not account for surplus
5353
+ * credits, and, if you use surplus credits, your final cost might be higher than what you
5354
+ * specified for <code>maxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the <i>EC2 User
5355
+ * Guide</i>.</p>
5356
+ * </note>
5341
5357
  */
5342
5358
  MaxTotalPrice?: string;
5343
5359
  }
@@ -5511,13 +5527,13 @@ export interface FleetData {
5511
5527
  /**
5512
5528
  * @public
5513
5529
  * <p>Information about the instances that could not be launched by the fleet. Valid only when
5514
- * <b>Type</b> is set to <code>instant</code>.</p>
5530
+ * <b>Type</b> is set to <code>instant</code>.</p>
5515
5531
  */
5516
5532
  Errors?: DescribeFleetError[];
5517
5533
  /**
5518
5534
  * @public
5519
5535
  * <p>Information about the instances that were launched by the fleet. Valid only when
5520
- * <b>Type</b> is set to <code>instant</code>.</p>
5536
+ * <b>Type</b> is set to <code>instant</code>.</p>
5521
5537
  */
5522
5538
  Instances?: DescribeFleetsInstances[];
5523
5539
  /**
@@ -8629,10 +8645,6 @@ export interface DescribeInstancesRequest {
8629
8645
  * </li>
8630
8646
  * <li>
8631
8647
  * <p>
8632
- * <code>license-pool</code> - </p>
8633
- * </li>
8634
- * <li>
8635
- * <p>
8636
8648
  * <code>maintenance-options.auto-recovery</code> - The current automatic
8637
8649
  * recovery behavior of the instance (<code>disabled</code> | <code>default</code>).</p>
8638
8650
  * </li>
@@ -8681,18 +8693,19 @@ export interface DescribeInstancesRequest {
8681
8693
  * </li>
8682
8694
  * <li>
8683
8695
  * <p>
8684
- * <code>network-interface.addresses.primary</code> - Specifies whether the IPv4
8685
- * address of the network interface is the primary private IPv4 address.</p>
8696
+ * <code>network-interface.addresses.association.allocation-id</code> - The allocation ID.</p>
8686
8697
  * </li>
8687
8698
  * <li>
8688
8699
  * <p>
8689
- * <code>network-interface.addresses.private-ip-address</code> - The private IPv4
8690
- * address associated with the network interface.</p>
8700
+ * <code>network-interface.addresses.association.association-id</code> - The association ID.</p>
8691
8701
  * </li>
8692
8702
  * <li>
8693
8703
  * <p>
8694
- * <code>network-interface.addresses.association.public-ip</code> - The ID of the
8695
- * association of an Elastic IP address (IPv4) with a network interface.</p>
8704
+ * <code>network-interface.addresses.association.carrier-ip</code> - The carrier IP address.</p>
8705
+ * </li>
8706
+ * <li>
8707
+ * <p>
8708
+ * <code>network-interface.addresses.association.customer-owned-ip</code> - The customer-owned IP address.</p>
8696
8709
  * </li>
8697
8710
  * <li>
8698
8711
  * <p>
@@ -8701,13 +8714,26 @@ export interface DescribeInstancesRequest {
8701
8714
  * </li>
8702
8715
  * <li>
8703
8716
  * <p>
8704
- * <code>network-interface.association.public-ip</code> - The address of the
8705
- * Elastic IP address (IPv4) bound to the network interface.</p>
8717
+ * <code>network-interface.addresses.association.public-dns-name</code> - The public DNS name.</p>
8706
8718
  * </li>
8707
8719
  * <li>
8708
8720
  * <p>
8709
- * <code>network-interface.association.ip-owner-id</code> - The owner of the
8710
- * Elastic IP address (IPv4) associated with the network interface.</p>
8721
+ * <code>network-interface.addresses.association.public-ip</code> - The ID of the
8722
+ * association of an Elastic IP address (IPv4) with a network interface.</p>
8723
+ * </li>
8724
+ * <li>
8725
+ * <p>
8726
+ * <code>network-interface.addresses.primary</code> - Specifies whether the IPv4
8727
+ * address of the network interface is the primary private IPv4 address.</p>
8728
+ * </li>
8729
+ * <li>
8730
+ * <p>
8731
+ * <code>network-interface.addresses.private-dns-name</code> - The private DNS name.</p>
8732
+ * </li>
8733
+ * <li>
8734
+ * <p>
8735
+ * <code>network-interface.addresses.private-ip-address</code> - The private IPv4
8736
+ * address associated with the network interface.</p>
8711
8737
  * </li>
8712
8738
  * <li>
8713
8739
  * <p>
@@ -8722,29 +8748,25 @@ export interface DescribeInstancesRequest {
8722
8748
  * </li>
8723
8749
  * <li>
8724
8750
  * <p>
8725
- * <code>network-interface.attachment.attachment-id</code> - The ID of the
8726
- * interface attachment.</p>
8751
+ * <code>network-interface.association.carrier-ip</code> - The customer-owned IP address.</p>
8727
8752
  * </li>
8728
8753
  * <li>
8729
8754
  * <p>
8730
- * <code>network-interface.attachment.instance-id</code> - The ID of the instance
8731
- * to which the network interface is attached.</p>
8755
+ * <code>network-interface.association.customer-owned-ip</code> - The customer-owned IP address.</p>
8732
8756
  * </li>
8733
8757
  * <li>
8734
8758
  * <p>
8735
- * <code>network-interface.attachment.instance-owner-id</code> - The owner ID of
8736
- * the instance to which the network interface is attached.</p>
8759
+ * <code>network-interface.association.ip-owner-id</code> - The owner of the
8760
+ * Elastic IP address (IPv4) associated with the network interface.</p>
8737
8761
  * </li>
8738
8762
  * <li>
8739
8763
  * <p>
8740
- * <code>network-interface.attachment.device-index</code> - The device index to
8741
- * which the network interface is attached.</p>
8764
+ * <code>network-interface.association.public-dns-name</code> - The public DNS name.</p>
8742
8765
  * </li>
8743
8766
  * <li>
8744
8767
  * <p>
8745
- * <code>network-interface.attachment.status</code> - The status of the
8746
- * attachment (<code>attaching</code> | <code>attached</code> |
8747
- * <code>detaching</code> | <code>detached</code>).</p>
8768
+ * <code>network-interface.association.public-ip</code> - The address of the
8769
+ * Elastic IP address (IPv4) bound to the network interface.</p>
8748
8770
  * </li>
8749
8771
  * <li>
8750
8772
  * <p>
@@ -8753,16 +8775,51 @@ export interface DescribeInstancesRequest {
8753
8775
  * </li>
8754
8776
  * <li>
8755
8777
  * <p>
8778
+ * <code>network-interface.attachment.attachment-id</code> - The ID of the
8779
+ * interface attachment.</p>
8780
+ * </li>
8781
+ * <li>
8782
+ * <p>
8756
8783
  * <code>network-interface.attachment.delete-on-termination</code> - Specifies
8757
8784
  * whether the attachment is deleted when an instance is terminated.</p>
8758
8785
  * </li>
8759
8786
  * <li>
8760
8787
  * <p>
8788
+ * <code>network-interface.attachment.device-index</code> - The device index to
8789
+ * which the network interface is attached.</p>
8790
+ * </li>
8791
+ * <li>
8792
+ * <p>
8793
+ * <code>network-interface.attachment.instance-id</code> - The ID of the instance
8794
+ * to which the network interface is attached.</p>
8795
+ * </li>
8796
+ * <li>
8797
+ * <p>
8798
+ * <code>network-interface.attachment.instance-owner-id</code> - The owner ID of
8799
+ * the instance to which the network interface is attached.</p>
8800
+ * </li>
8801
+ * <li>
8802
+ * <p>
8803
+ * <code>network-interface.attachment.network-card-index</code> - The index of the network card.</p>
8804
+ * </li>
8805
+ * <li>
8806
+ * <p>
8807
+ * <code>network-interface.attachment.status</code> - The status of the
8808
+ * attachment (<code>attaching</code> | <code>attached</code> |
8809
+ * <code>detaching</code> | <code>detached</code>).</p>
8810
+ * </li>
8811
+ * <li>
8812
+ * <p>
8761
8813
  * <code>network-interface.availability-zone</code> - The Availability Zone for
8762
8814
  * the network interface.</p>
8763
8815
  * </li>
8764
8816
  * <li>
8765
8817
  * <p>
8818
+ * <code>network-interface.deny-all-igw-traffic</code> - A Boolean that indicates whether
8819
+ * a network interface with an IPv6 address is unreachable from the public internet.</p>
8820
+ * </li>
8821
+ * <li>
8822
+ * <p>
8766
8823
  * <code>network-interface.description</code> - The description of the network
8767
8824
  * interface.</p>
8768
8825
  * </li>
@@ -8778,11 +8835,33 @@ export interface DescribeInstancesRequest {
8778
8835
  * </li>
8779
8836
  * <li>
8780
8837
  * <p>
8838
+ * <code>network-interface.ipv4-prefixes.ipv4-prefix</code> - The IPv4 prefixes that are assigned to the network interface.</p>
8839
+ * </li>
8840
+ * <li>
8841
+ * <p>
8842
+ * <code>network-interface.ipv6-address</code> - The IPv6 address associated with the network interface.</p>
8843
+ * </li>
8844
+ * <li>
8845
+ * <p>
8781
8846
  * <code>network-interface.ipv6-addresses.ipv6-address</code> - The IPv6 address
8782
8847
  * associated with the network interface.</p>
8783
8848
  * </li>
8784
8849
  * <li>
8785
8850
  * <p>
8851
+ * <code>network-interface.ipv6-addresses.is-primary-ipv6</code> - A Boolean that indicates whether this
8852
+ * is the primary IPv6 address.</p>
8853
+ * </li>
8854
+ * <li>
8855
+ * <p>
8856
+ * <code>network-interface.ipv6-native</code> - A Boolean that indicates whether this is
8857
+ * an IPv6 only network interface.</p>
8858
+ * </li>
8859
+ * <li>
8860
+ * <p>
8861
+ * <code>network-interface.ipv6-prefixes.ipv6-prefix</code> - The IPv6 prefix assigned to the network interface.</p>
8862
+ * </li>
8863
+ * <li>
8864
+ * <p>
8786
8865
  * <code>network-interface.mac-address</code> - The MAC address of the network
8787
8866
  * interface.</p>
8788
8867
  * </li>
@@ -8793,6 +8872,10 @@ export interface DescribeInstancesRequest {
8793
8872
  * </li>
8794
8873
  * <li>
8795
8874
  * <p>
8875
+ * <code>network-interface.outpost-arn</code> - The ARN of the Outpost.</p>
8876
+ * </li>
8877
+ * <li>
8878
+ * <p>
8796
8879
  * <code>network-interface.owner-id</code> - The ID of the owner of the network
8797
8880
  * interface.</p>
8798
8881
  * </li>
@@ -8803,6 +8886,14 @@ export interface DescribeInstancesRequest {
8803
8886
  * </li>
8804
8887
  * <li>
8805
8888
  * <p>
8889
+ * <code>network-interface.private-ip-address</code> - The private IPv4 address.</p>
8890
+ * </li>
8891
+ * <li>
8892
+ * <p>
8893
+ * <code>network-interface.public-dns-name</code> - The public DNS name.</p>
8894
+ * </li>
8895
+ * <li>
8896
+ * <p>
8806
8897
  * <code>network-interface.requester-id</code> - The requester ID for the network
8807
8898
  * interface.</p>
8808
8899
  * </li>
@@ -8831,6 +8922,14 @@ export interface DescribeInstancesRequest {
8831
8922
  * </li>
8832
8923
  * <li>
8833
8924
  * <p>
8925
+ * <code>network-interface.tag-key</code> - The key of a tag assigned to the network interface.</p>
8926
+ * </li>
8927
+ * <li>
8928
+ * <p>
8929
+ * <code>network-interface.tag-value</code> - The value of a tag assigned to the network interface.</p>
8930
+ * </li>
8931
+ * <li>
8932
+ * <p>
8834
8933
  * <code>network-interface.vpc-id</code> - The ID of the VPC for the network
8835
8934
  * interface.</p>
8836
8935
  * </li>
@@ -4788,33 +4788,33 @@ export interface DescribeNetworkInterfacesRequest {
4788
4788
  * <ul>
4789
4789
  * <li>
4790
4790
  * <p>
4791
- * <code>addresses.private-ip-address</code> - The private IPv4 addresses
4792
- * associated with the network interface.</p>
4791
+ * <code>association.allocation-id</code> - The allocation ID returned when you
4792
+ * allocated the Elastic IP address (IPv4) for your network interface.</p>
4793
4793
  * </li>
4794
4794
  * <li>
4795
4795
  * <p>
4796
- * <code>addresses.primary</code> - Whether the private IPv4 address is the primary
4797
- * IP address associated with the network interface. </p>
4796
+ * <code>association.association-id</code> - The association ID returned when the
4797
+ * network interface was associated with an IPv4 address.</p>
4798
4798
  * </li>
4799
4799
  * <li>
4800
4800
  * <p>
4801
- * <code>addresses.association.public-ip</code> - The association ID returned when
4802
- * the network interface was associated with the Elastic IP address
4803
- * (IPv4).</p>
4801
+ * <code>addresses.association.owner-id</code> - The owner ID of the addresses associated with the network interface.</p>
4804
4802
  * </li>
4805
4803
  * <li>
4806
4804
  * <p>
4807
- * <code>addresses.association.owner-id</code> - The owner ID of the addresses associated with the network interface.</p>
4805
+ * <code>addresses.association.public-ip</code> - The association ID returned when
4806
+ * the network interface was associated with the Elastic IP address
4807
+ * (IPv4).</p>
4808
4808
  * </li>
4809
4809
  * <li>
4810
4810
  * <p>
4811
- * <code>association.association-id</code> - The association ID returned when the
4812
- * network interface was associated with an IPv4 address.</p>
4811
+ * <code>addresses.primary</code> - Whether the private IPv4 address is the primary
4812
+ * IP address associated with the network interface. </p>
4813
4813
  * </li>
4814
4814
  * <li>
4815
4815
  * <p>
4816
- * <code>association.allocation-id</code> - The allocation ID returned when you
4817
- * allocated the Elastic IP address (IPv4) for your network interface.</p>
4816
+ * <code>addresses.private-ip-address</code> - The private IPv4 addresses
4817
+ * associated with the network interface.</p>
4818
4818
  * </li>
4819
4819
  * <li>
4820
4820
  * <p>
@@ -4833,11 +4833,11 @@ export interface DescribeNetworkInterfacesRequest {
4833
4833
  * </li>
4834
4834
  * <li>
4835
4835
  * <p>
4836
- * <code>attachment.attachment-id</code> - The ID of the interface attachment.</p>
4836
+ * <code>attachment.attach-time</code> - The time that the network interface was attached to an instance.</p>
4837
4837
  * </li>
4838
4838
  * <li>
4839
4839
  * <p>
4840
- * <code>attachment.attach-time</code> - The time that the network interface was attached to an instance.</p>
4840
+ * <code>attachment.attachment-id</code> - The ID of the interface attachment.</p>
4841
4841
  * </li>
4842
4842
  * <li>
4843
4843
  * <p>
@@ -4873,21 +4873,22 @@ export interface DescribeNetworkInterfacesRequest {
4873
4873
  * </li>
4874
4874
  * <li>
4875
4875
  * <p>
4876
- * <code>group-name</code> - The name of a security group associated with the network interface.</p>
4877
- * </li>
4878
- * <li>
4879
- * <p>
4880
4876
  * <code>ipv6-addresses.ipv6-address</code> - An IPv6 address associated with
4881
4877
  * the network interface.</p>
4882
4878
  * </li>
4883
4879
  * <li>
4884
4880
  * <p>
4885
4881
  * <code>interface-type</code> - The type of network interface (<code>api_gateway_managed</code> |
4886
- * <code>aws_codestar_connections_managed</code> | <code>branch</code> | <code>efa</code> |
4887
- * <code>gateway_load_balancer</code> | <code>gateway_load_balancer_endpoint</code> | <code>global_accelerator_managed</code> |
4888
- * <code>interface</code> | <code>iot_rules_managed</code> | <code>lambda</code> | <code>load_balancer</code> |
4889
- * <code>nat_gateway</code> | <code>network_load_balancer</code> | <code>quicksight</code> |
4890
- * <code>transit_gateway</code> | <code>trunk</code> | <code>vpc_endpoint</code>).</p>
4882
+ * <code>aws_codestar_connections_managed</code> | <code>branch</code> |
4883
+ * <code>ec2_instance_connect_endpoint</code> | <code>efa</code> | <code>efs</code> |
4884
+ * <code>gateway_load_balancer</code> | <code>gateway_load_balancer_endpoint</code> |
4885
+ * <code>global_accelerator_managed</code> |
4886
+ * <code>interface</code> | <code>iot_rules_managed</code> |
4887
+ * <code>lambda</code> | <code>load_balancer</code> |
4888
+ * <code>nat_gateway</code> | <code>network_load_balancer</code> |
4889
+ * <code>quicksight</code> |
4890
+ * <code>transit_gateway</code> | <code>trunk</code> |
4891
+ * <code>vpc_endpoint</code>).</p>
4891
4892
  * </li>
4892
4893
  * <li>
4893
4894
  * <p>
@@ -4903,12 +4904,12 @@ export interface DescribeNetworkInterfacesRequest {
4903
4904
  * </li>
4904
4905
  * <li>
4905
4906
  * <p>
4906
- * <code>private-ip-address</code> - The private IPv4 address or addresses of the
4907
- * network interface.</p>
4907
+ * <code>private-dns-name</code> - The private DNS name of the network interface (IPv4).</p>
4908
4908
  * </li>
4909
4909
  * <li>
4910
4910
  * <p>
4911
- * <code>private-dns-name</code> - The private DNS name of the network interface (IPv4).</p>
4911
+ * <code>private-ip-address</code> - The private IPv4 address or addresses of the
4912
+ * network interface.</p>
4912
4913
  * </li>
4913
4914
  * <li>
4914
4915
  * <p>
@@ -8507,17 +8508,33 @@ export interface SpotFleetRequestConfigData {
8507
8508
  * maximum amount you're willing to pay. When the maximum amount you're willing to pay is
8508
8509
  * reached, the fleet stops launching instances even if it hasn’t met the target
8509
8510
  * capacity.</p>
8511
+ * <note>
8512
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
8513
+ * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
8514
+ * for surplus credits. The <code>onDemandMaxTotalPrice</code> does not account for surplus
8515
+ * credits, and, if you use surplus credits, your final cost might be higher than what you
8516
+ * specified for <code>onDemandMaxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the <i>EC2 User
8517
+ * Guide</i>.</p>
8518
+ * </note>
8510
8519
  */
8511
8520
  OnDemandMaxTotalPrice?: string;
8512
8521
  /**
8513
8522
  * @public
8514
8523
  * <p>The maximum amount per hour for Spot Instances that you're willing to pay. You can use
8515
- * the <code>spotdMaxTotalPrice</code> parameter, the <code>onDemandMaxTotalPrice</code>
8516
- * parameter, or both parameters to ensure that your fleet cost does not exceed your
8517
- * budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request,
8518
- * Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay.
8519
- * When the maximum amount you're willing to pay is reached, the fleet stops launching
8520
- * instances even if it hasn’t met the target capacity.</p>
8524
+ * the <code>spotMaxTotalPrice</code> parameter, the <code>onDemandMaxTotalPrice</code>
8525
+ * parameter, or both parameters to ensure that your fleet cost does not exceed your budget.
8526
+ * If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will
8527
+ * launch instances until it reaches the maximum amount you're willing to pay. When the
8528
+ * maximum amount you're willing to pay is reached, the fleet stops launching instances even
8529
+ * if it hasn’t met the target capacity.</p>
8530
+ * <note>
8531
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
8532
+ * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
8533
+ * for surplus credits. The <code>spotMaxTotalPrice</code> does not account for surplus
8534
+ * credits, and, if you use surplus credits, your final cost might be higher than what you
8535
+ * specified for <code>spotMaxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the <i>EC2 User
8536
+ * Guide</i>.</p>
8537
+ * </note>
8521
8538
  */
8522
8539
  SpotMaxTotalPrice?: string;
8523
8540
  /**
@@ -8613,7 +8630,7 @@ export interface SpotFleetRequestConfigData {
8613
8630
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html">SpotFleetTagSpecification</a>
8614
8631
  * </code> (valid only if you use
8615
8632
  * <code>LaunchSpecifications</code>). For information about tagging after launch, see
8616
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources">Tagging Your Resources</a>.</p>
8633
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources">Tag your resources</a>.</p>
8617
8634
  */
8618
8635
  TagSpecifications?: TagSpecification[];
8619
8636
  }
@@ -483,6 +483,11 @@ export interface ImportImageRequest {
483
483
  /**
484
484
  * @public
485
485
  * <p>The boot mode of the virtual machine.</p>
486
+ * <note>
487
+ * <p>The <code>uefi-preferred</code> boot mode isn't supported for importing images. For more
488
+ * information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/prerequisites.html#vmimport-boot-modes">Boot modes</a> in
489
+ * the <i>VM Import/Export User Guide</i>.</p>
490
+ * </note>
486
491
  */
487
492
  BootMode?: BootModeValues | string;
488
493
  }
@@ -6456,8 +6461,6 @@ export interface ReleaseAddressRequest {
6456
6461
  * <p>The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises
6457
6462
  * IP addresses.</p>
6458
6463
  * <p>If you provide an incorrect network border group, you receive an <code>InvalidAddress.NotFound</code> error.</p>
6459
- * <p>You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
6460
- * receive an <code>InvalidParameterCombination</code> error.</p>
6461
6464
  */
6462
6465
  NetworkBorderGroup?: string;
6463
6466
  /**
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.423.0",
4
+ "version": "3.427.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.423.0",
25
- "@aws-sdk/credential-provider-node": "3.423.0",
26
- "@aws-sdk/middleware-host-header": "3.418.0",
27
- "@aws-sdk/middleware-logger": "3.418.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
- "@aws-sdk/middleware-sdk-ec2": "3.423.0",
30
- "@aws-sdk/middleware-signing": "3.418.0",
31
- "@aws-sdk/middleware-user-agent": "3.418.0",
32
- "@aws-sdk/region-config-resolver": "3.418.0",
33
- "@aws-sdk/types": "3.418.0",
34
- "@aws-sdk/util-endpoints": "3.418.0",
35
- "@aws-sdk/util-user-agent-browser": "3.418.0",
36
- "@aws-sdk/util-user-agent-node": "3.418.0",
37
- "@smithy/config-resolver": "^2.0.10",
38
- "@smithy/fetch-http-handler": "^2.1.5",
39
- "@smithy/hash-node": "^2.0.9",
40
- "@smithy/invalid-dependency": "^2.0.9",
41
- "@smithy/middleware-content-length": "^2.0.11",
42
- "@smithy/middleware-endpoint": "^2.0.9",
43
- "@smithy/middleware-retry": "^2.0.12",
44
- "@smithy/middleware-serde": "^2.0.9",
45
- "@smithy/middleware-stack": "^2.0.2",
46
- "@smithy/node-config-provider": "^2.0.12",
47
- "@smithy/node-http-handler": "^2.1.5",
48
- "@smithy/protocol-http": "^3.0.5",
49
- "@smithy/smithy-client": "^2.1.6",
50
- "@smithy/types": "^2.3.3",
51
- "@smithy/url-parser": "^2.0.9",
24
+ "@aws-sdk/client-sts": "3.427.0",
25
+ "@aws-sdk/credential-provider-node": "3.427.0",
26
+ "@aws-sdk/middleware-host-header": "3.425.0",
27
+ "@aws-sdk/middleware-logger": "3.425.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
+ "@aws-sdk/middleware-sdk-ec2": "3.425.0",
30
+ "@aws-sdk/middleware-signing": "3.425.0",
31
+ "@aws-sdk/middleware-user-agent": "3.427.0",
32
+ "@aws-sdk/region-config-resolver": "3.425.0",
33
+ "@aws-sdk/types": "3.425.0",
34
+ "@aws-sdk/util-endpoints": "3.427.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.425.0",
36
+ "@aws-sdk/util-user-agent-node": "3.425.0",
37
+ "@smithy/config-resolver": "^2.0.11",
38
+ "@smithy/fetch-http-handler": "^2.2.1",
39
+ "@smithy/hash-node": "^2.0.10",
40
+ "@smithy/invalid-dependency": "^2.0.10",
41
+ "@smithy/middleware-content-length": "^2.0.12",
42
+ "@smithy/middleware-endpoint": "^2.0.10",
43
+ "@smithy/middleware-retry": "^2.0.13",
44
+ "@smithy/middleware-serde": "^2.0.10",
45
+ "@smithy/middleware-stack": "^2.0.4",
46
+ "@smithy/node-config-provider": "^2.0.13",
47
+ "@smithy/node-http-handler": "^2.1.6",
48
+ "@smithy/protocol-http": "^3.0.6",
49
+ "@smithy/smithy-client": "^2.1.9",
50
+ "@smithy/types": "^2.3.4",
51
+ "@smithy/url-parser": "^2.0.10",
52
52
  "@smithy/util-base64": "^2.0.0",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.10",
56
- "@smithy/util-defaults-mode-node": "^2.0.12",
57
- "@smithy/util-retry": "^2.0.2",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.13",
56
+ "@smithy/util-defaults-mode-node": "^2.0.15",
57
+ "@smithy/util-retry": "^2.0.3",
58
58
  "@smithy/util-utf8": "^2.0.0",
59
- "@smithy/util-waiter": "^2.0.9",
59
+ "@smithy/util-waiter": "^2.0.10",
60
60
  "fast-xml-parser": "4.2.5",
61
61
  "tslib": "^2.5.0",
62
62
  "uuid": "^8.3.2"