@aws-sdk/client-ec2 3.766.0 → 3.771.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 CHANGED
@@ -19396,6 +19396,9 @@ var se_CreateLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) =>
19396
19396
  if (input[_DRr] != null) {
19397
19397
  entries[_DRr] = input[_DRr];
19398
19398
  }
19399
+ if (input[_CTl] === void 0) {
19400
+ input[_CTl] = (0, import_uuid.v4)();
19401
+ }
19399
19402
  if (input[_CTl] != null) {
19400
19403
  entries[_CTl] = input[_CTl];
19401
19404
  }
@@ -19433,6 +19436,9 @@ var se_CreateLaunchTemplateVersionRequest = /* @__PURE__ */ __name((input, conte
19433
19436
  if (input[_DRr] != null) {
19434
19437
  entries[_DRr] = input[_DRr];
19435
19438
  }
19439
+ if (input[_CTl] === void 0) {
19440
+ input[_CTl] = (0, import_uuid.v4)();
19441
+ }
19436
19442
  if (input[_CTl] != null) {
19437
19443
  entries[_CTl] = input[_CTl];
19438
19444
  }
@@ -32469,6 +32475,9 @@ var se_ModifyLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) =>
32469
32475
  if (input[_DRr] != null) {
32470
32476
  entries[_DRr] = input[_DRr];
32471
32477
  }
32478
+ if (input[_CTl] === void 0) {
32479
+ input[_CTl] = (0, import_uuid.v4)();
32480
+ }
32472
32481
  if (input[_CTl] != null) {
32473
32482
  entries[_CTl] = input[_CTl];
32474
32483
  }
@@ -17872,6 +17872,9 @@ const se_CreateLaunchTemplateRequest = (input, context) => {
17872
17872
  if (input[_DRr] != null) {
17873
17873
  entries[_DRr] = input[_DRr];
17874
17874
  }
17875
+ if (input[_CTl] === undefined) {
17876
+ input[_CTl] = generateIdempotencyToken();
17877
+ }
17875
17878
  if (input[_CTl] != null) {
17876
17879
  entries[_CTl] = input[_CTl];
17877
17880
  }
@@ -17909,6 +17912,9 @@ const se_CreateLaunchTemplateVersionRequest = (input, context) => {
17909
17912
  if (input[_DRr] != null) {
17910
17913
  entries[_DRr] = input[_DRr];
17911
17914
  }
17915
+ if (input[_CTl] === undefined) {
17916
+ input[_CTl] = generateIdempotencyToken();
17917
+ }
17912
17918
  if (input[_CTl] != null) {
17913
17919
  entries[_CTl] = input[_CTl];
17914
17920
  }
@@ -30945,6 +30951,9 @@ const se_ModifyLaunchTemplateRequest = (input, context) => {
30945
30951
  if (input[_DRr] != null) {
30946
30952
  entries[_DRr] = input[_DRr];
30947
30953
  }
30954
+ if (input[_CTl] === undefined) {
30955
+ input[_CTl] = generateIdempotencyToken();
30956
+ }
30948
30957
  if (input[_CTl] != null) {
30949
30958
  entries[_CTl] = input[_CTl];
30950
30959
  }
@@ -28,8 +28,7 @@ declare const DescribeAvailabilityZonesCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to
31
- * you. If there is an event impacting a zone, you can use this request to view the state and any
32
- * provided messages for that zone.</p>
31
+ * you.</p>
33
32
  * <p>For more information about Availability Zones, Local Zones, and Wavelength Zones, see
34
33
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html">Regions and zones</a>
35
34
  * in the <i>Amazon EC2 User Guide</i>.</p>
@@ -4005,6 +4005,9 @@ export interface InstanceEventWindowAssociationRequest {
4005
4005
  /**
4006
4006
  * <p>The instance tags to associate with the event window. Any instances associated with the
4007
4007
  * tags will be associated with the event window.</p>
4008
+ * <p>Note that while you can't create tag keys beginning with <code>aws:</code>, you can
4009
+ * specify existing Amazon Web Services managed tag keys (with the <code>aws:</code> prefix) when specifying
4010
+ * them as targets to associate with the event window.</p>
4008
4011
  * @public
4009
4012
  */
4010
4013
  InstanceTags?: Tag[] | undefined;
@@ -479,24 +479,34 @@ export interface CapacityReservation {
479
479
  * </li>
480
480
  * <li>
481
481
  * <p>
482
- * <code>scheduled</code> - (<i>Future-dated Capacity Reservations only</i>) The
482
+ * <code>scheduled</code> - (<i>Future-dated Capacity Reservations</i>) The
483
483
  * future-dated Capacity Reservation request was approved and the Capacity Reservation is scheduled
484
484
  * for delivery on the requested start date.</p>
485
485
  * </li>
486
486
  * <li>
487
487
  * <p>
488
- * <code>assessing</code> - (<i>Future-dated Capacity Reservations only</i>)
488
+ * <code>payment-pending</code> - (<i>Capacity Blocks</i>) The upfront
489
+ * payment has not been processed yet.</p>
490
+ * </li>
491
+ * <li>
492
+ * <p>
493
+ * <code>payment-failed</code> - (<i>Capacity Blocks</i>) The upfront
494
+ * payment was not processed in the 12-hour time frame. Your Capacity Block was released.</p>
495
+ * </li>
496
+ * <li>
497
+ * <p>
498
+ * <code>assessing</code> - (<i>Future-dated Capacity Reservations</i>)
489
499
  * Amazon EC2 is assessing your request for a future-dated Capacity Reservation.</p>
490
500
  * </li>
491
501
  * <li>
492
502
  * <p>
493
- * <code>delayed</code> - (<i>Future-dated Capacity Reservations only</i>) Amazon EC2
503
+ * <code>delayed</code> - (<i>Future-dated Capacity Reservations</i>) Amazon EC2
494
504
  * encountered a delay in provisioning the requested future-dated Capacity Reservation. Amazon EC2 is
495
505
  * unable to deliver the requested capacity by the requested start date and time.</p>
496
506
  * </li>
497
507
  * <li>
498
508
  * <p>
499
- * <code>unsupported</code> - (<i>Future-dated Capacity Reservations only</i>) Amazon EC2
509
+ * <code>unsupported</code> - (<i>Future-dated Capacity Reservations</i>) Amazon EC2
500
510
  * can't support the future-dated Capacity Reservation request due to capacity constraints. You can view
501
511
  * unsupported requests for 30 days. The Capacity Reservation will not be delivered.</p>
502
512
  * </li>
@@ -4175,9 +4185,6 @@ export interface InstanceRequirementsRequest {
4175
4185
  * <li>
4176
4186
  * <p>For instance types with GPU accelerators, specify <code>gpu</code>.</p>
4177
4187
  * </li>
4178
- * <li>
4179
- * <p>For instance types with Inference accelerators, specify <code>inference</code>.</p>
4180
- * </li>
4181
4188
  * </ul>
4182
4189
  * <p>Default: Any accelerator type</p>
4183
4190
  * @public
@@ -4473,8 +4480,10 @@ export interface FleetLaunchTemplateOverridesRequest {
4473
4480
  */
4474
4481
  Placement?: Placement | undefined;
4475
4482
  /**
4476
- * <p>The block device mapping, which defines the EBS volumes and instance store volumes to
4477
- * attach to the instance at launch. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device mappings
4483
+ * <p>The block device mappings, which define the EBS volumes and instance store volumes to
4484
+ * attach to the instance at launch.</p>
4485
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
4486
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device mappings
4478
4487
  * for volumes on Amazon EC2 instances</a> in the <i>Amazon EC2 User
4479
4488
  * Guide</i>.</p>
4480
4489
  * @public
@@ -5732,9 +5741,6 @@ export interface InstanceRequirements {
5732
5741
  * <li>
5733
5742
  * <p>For instance types with GPU accelerators, specify <code>gpu</code>.</p>
5734
5743
  * </li>
5735
- * <li>
5736
- * <p>For instance types with Inference accelerators, specify <code>inference</code>.</p>
5737
- * </li>
5738
5744
  * </ul>
5739
5745
  * <p>Default: Any accelerator type</p>
5740
5746
  * @public
@@ -6048,8 +6054,10 @@ export interface FleetLaunchTemplateOverrides {
6048
6054
  */
6049
6055
  ImageId?: string | undefined;
6050
6056
  /**
6051
- * <p>The block device mapping, which defines the EBS volumes and instance store volumes to
6052
- * attach to the instance at launch. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device mappings
6057
+ * <p>The block device mappings, which define the EBS volumes and instance store volumes to
6058
+ * attach to the instance at launch.</p>
6059
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
6060
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device mappings
6053
6061
  * for volumes on Amazon EC2 instances</a> in the <i>Amazon EC2 User
6054
6062
  * Guide</i>.</p>
6055
6063
  * @public
@@ -9670,9 +9678,7 @@ export interface RequestLaunchTemplateData {
9670
9678
  /**
9671
9679
  * <p>Deprecated.</p>
9672
9680
  * <note>
9673
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For
9674
- * workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
9675
- * G4dn, or G5 instances.</p>
9681
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
9676
9682
  * </note>
9677
9683
  * @public
9678
9684
  */
@@ -9685,15 +9691,6 @@ export interface RequestLaunchTemplateData {
9685
9691
  * accelerators are a resource you can attach to your Amazon EC2 instances to accelerate
9686
9692
  * your Deep Learning (DL) inference workloads.</p>
9687
9693
  * <p>You cannot specify accelerators from different generations in the same request.</p>
9688
- * <note>
9689
- * <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon
9690
- * Elastic Inference (EI), and will help current customers migrate their workloads to
9691
- * options that offer better price and performance. After April 15, 2023, new customers
9692
- * will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
9693
- * Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during
9694
- * the past 30-day period are considered current customers and will be able to continue
9695
- * using the service.</p>
9696
- * </note>
9697
9694
  * @public
9698
9695
  */
9699
9696
  ElasticInferenceAccelerators?: LaunchTemplateElasticInferenceAccelerator[] | undefined;
@@ -9844,7 +9841,8 @@ export interface CreateLaunchTemplateRequest {
9844
9841
  DryRun?: boolean | undefined;
9845
9842
  /**
9846
9843
  * <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
9847
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
9844
+ * request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency.</p>
9845
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
9848
9846
  * idempotency</a>.</p>
9849
9847
  * <p>Constraint: Maximum 128 ASCII characters.</p>
9850
9848
  * @public
@@ -10007,7 +10005,8 @@ export interface CreateLaunchTemplateVersionRequest {
10007
10005
  DryRun?: boolean | undefined;
10008
10006
  /**
10009
10007
  * <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
10010
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
10008
+ * request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency.</p>
10009
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
10011
10010
  * idempotency</a>.</p>
10012
10011
  * <p>Constraint: Maximum 128 ASCII characters.</p>
10013
10012
  * @public
@@ -10219,9 +10218,7 @@ export interface CreditSpecification {
10219
10218
  /**
10220
10219
  * <p>Deprecated.</p>
10221
10220
  * <note>
10222
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For
10223
- * workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
10224
- * G4dn, or G5 instances.</p>
10221
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
10225
10222
  * </note>
10226
10223
  * @public
10227
10224
  */
@@ -10229,9 +10226,7 @@ export interface ElasticGpuSpecificationResponse {
10229
10226
  /**
10230
10227
  * <p>Deprecated.</p>
10231
10228
  * <note>
10232
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For
10233
- * workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
10234
- * G4dn, or G5 instances.</p>
10229
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
10235
10230
  * </note>
10236
10231
  * @public
10237
10232
  */
@@ -10926,9 +10921,7 @@ export interface ResponseLaunchTemplateData {
10926
10921
  /**
10927
10922
  * <p>Deprecated.</p>
10928
10923
  * <note>
10929
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For
10930
- * workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
10931
- * G4dn, or G5 instances.</p>
10924
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
10932
10925
  * </note>
10933
10926
  * @public
10934
10927
  */
@@ -10941,15 +10934,6 @@ export interface ResponseLaunchTemplateData {
10941
10934
  * accelerators are a resource you can attach to your Amazon EC2 instances to accelerate
10942
10935
  * your Deep Learning (DL) inference workloads.</p>
10943
10936
  * <p>You cannot specify accelerators from different generations in the same request.</p>
10944
- * <note>
10945
- * <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon
10946
- * Elastic Inference (EI), and will help current customers migrate their workloads to
10947
- * options that offer better price and performance. After April 15, 2023, new customers
10948
- * will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
10949
- * Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during
10950
- * the past 30-day period are considered current customers and will be able to continue
10951
- * using the service.</p>
10952
- * </note>
10953
10937
  * @public
10954
10938
  */
10955
10939
  ElasticInferenceAccelerators?: LaunchTemplateElasticInferenceAcceleratorResponse[] | undefined;
@@ -3383,7 +3383,8 @@ export interface DescribeAvailabilityZonesRequest {
3383
3383
  * <li>
3384
3384
  * <p>
3385
3385
  * <code>state</code> - The state of the Availability Zone, the Local Zone, or the
3386
- * Wavelength Zone (<code>available</code>).</p>
3386
+ * Wavelength Zone (<code>available</code> | <code>unavailable</code> |
3387
+ * <code>constrained</code>).</p>
3387
3388
  * </li>
3388
3389
  * <li>
3389
3390
  * <p>
@@ -3455,7 +3456,7 @@ export interface AvailabilityZone {
3455
3456
  * <p>For Availability Zones, this parameter always has the value of
3456
3457
  * <code>opt-in-not-required</code>.</p>
3457
3458
  * <p>For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible
3458
- * values are <code>opted-in</code>, and <code>not-opted-in</code>.</p>
3459
+ * values are <code>opted-in</code> and <code>not-opted-in</code>.</p>
3459
3460
  * @public
3460
3461
  */
3461
3462
  OptInStatus?: AvailabilityZoneOptInStatus | undefined;
@@ -3504,8 +3505,10 @@ export interface AvailabilityZone {
3504
3505
  */
3505
3506
  NetworkBorderGroup?: string | undefined;
3506
3507
  /**
3507
- * <p>The type of zone. The valid values are <code>availability-zone</code>,
3508
- * <code>local-zone</code>, and <code>wavelength-zone</code>.</p>
3508
+ * <p>The type of zone.</p>
3509
+ * <p>Valid values: <code>availability-zone</code> | <code>local-zone</code> |
3510
+ * <code>wavelength-zone</code>
3511
+ * </p>
3509
3512
  * @public
3510
3513
  */
3511
3514
  ZoneType?: string | undefined;
@@ -3528,8 +3531,8 @@ export interface AvailabilityZone {
3528
3531
  */
3529
3532
  GroupLongName?: string | undefined;
3530
3533
  /**
3531
- * <p>The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
3532
- * <code>available</code>.</p>
3534
+ * <p>The state of the Availability Zone, Local Zone, or Wavelength Zone. The possible values are
3535
+ * <code>available</code>, <code>unavailable</code>, and <code>constrained</code>.</p>
3533
3536
  * @public
3534
3537
  */
3535
3538
  State?: AvailabilityZoneState | undefined;
@@ -1884,24 +1884,34 @@ export interface GetCapacityReservationUsageResult {
1884
1884
  * </li>
1885
1885
  * <li>
1886
1886
  * <p>
1887
- * <code>scheduled</code> - (<i>Future-dated Capacity Reservations only</i>) The
1887
+ * <code>scheduled</code> - (<i>Future-dated Capacity Reservations</i>) The
1888
1888
  * future-dated Capacity Reservation request was approved and the Capacity Reservation is scheduled
1889
1889
  * for delivery on the requested start date.</p>
1890
1890
  * </li>
1891
1891
  * <li>
1892
1892
  * <p>
1893
- * <code>assessing</code> - (<i>Future-dated Capacity Reservations only</i>)
1893
+ * <code>payment-pending</code> - (<i>Capacity Blocks</i>) The upfront
1894
+ * payment has not been processed yet.</p>
1895
+ * </li>
1896
+ * <li>
1897
+ * <p>
1898
+ * <code>payment-failed</code> - (<i>Capacity Blocks</i>) The upfront
1899
+ * payment was not processed in the 12-hour time frame. Your Capacity Block was released.</p>
1900
+ * </li>
1901
+ * <li>
1902
+ * <p>
1903
+ * <code>assessing</code> - (<i>Future-dated Capacity Reservations</i>)
1894
1904
  * Amazon EC2 is assessing your request for a future-dated Capacity Reservation.</p>
1895
1905
  * </li>
1896
1906
  * <li>
1897
1907
  * <p>
1898
- * <code>delayed</code> - (<i>Future-dated Capacity Reservations only</i>) Amazon EC2
1908
+ * <code>delayed</code> - (<i>Future-dated Capacity Reservations</i>) Amazon EC2
1899
1909
  * encountered a delay in provisioning the requested future-dated Capacity Reservation. Amazon EC2 is
1900
1910
  * unable to deliver the requested capacity by the requested start date and time.</p>
1901
1911
  * </li>
1902
1912
  * <li>
1903
1913
  * <p>
1904
- * <code>unsupported</code> - (<i>Future-dated Capacity Reservations only</i>) Amazon EC2
1914
+ * <code>unsupported</code> - (<i>Future-dated Capacity Reservations</i>) Amazon EC2
1905
1915
  * can't support the future-dated Capacity Reservation request due to capacity constraints. You can view
1906
1916
  * unsupported requests for 30 days. The Capacity Reservation will not be delivered.</p>
1907
1917
  * </li>
@@ -1016,8 +1016,9 @@ export interface ModifyLaunchTemplateRequest {
1016
1016
  DryRun?: boolean | undefined;
1017
1017
  /**
1018
1018
  * <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
1019
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency
1020
- * in Amazon EC2 API requests</a>.</p>
1019
+ * request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency.</p>
1020
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
1021
+ * idempotency</a>.</p>
1021
1022
  * <p>Constraint: Maximum 128 ASCII characters.</p>
1022
1023
  * @public
1023
1024
  */
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.766.0",
4
+ "version": "3.771.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",