@aws-sdk/client-ec2 3.734.0 → 3.738.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
@@ -18880,6 +18880,9 @@ var se_CreateFleetRequest = /* @__PURE__ */ __name((input, context) => {
18880
18880
  if (input[_DRr] != null) {
18881
18881
  entries[_DRr] = input[_DRr];
18882
18882
  }
18883
+ if (input[_CTl] === void 0) {
18884
+ input[_CTl] = (0, import_uuid.v4)();
18885
+ }
18883
18886
  if (input[_CTl] != null) {
18884
18887
  entries[_CTl] = input[_CTl];
18885
18888
  }
@@ -17360,6 +17360,9 @@ const se_CreateFleetRequest = (input, context) => {
17360
17360
  if (input[_DRr] != null) {
17361
17361
  entries[_DRr] = input[_DRr];
17362
17362
  }
17363
+ if (input[_CTl] === undefined) {
17364
+ input[_CTl] = generateIdempotencyToken();
17365
+ }
17363
17366
  if (input[_CTl] != null) {
17364
17367
  entries[_CTl] = input[_CTl];
17365
17368
  }
@@ -42,6 +42,9 @@ declare const CancelCapacityReservationCommand_base: {
42
42
  * duration has elapsed. You can't cancel a future-dated Capacity Reservation during the commitment duration.</p>
43
43
  * </li>
44
44
  * </ul>
45
+ * <note>
46
+ * <p>You can't modify or cancel a Capacity Block. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-blocks.html">Capacity Blocks for ML</a>.</p>
47
+ * </note>
45
48
  * <p>If a future-dated Capacity Reservation enters the <code>delayed</code> state, the commitment
46
49
  * duration is waived, and you can cancel it as soon as it enters the <code>active</code> state.</p>
47
50
  * <p>Instances running in the reserved capacity continue running until you stop them. Stopped
@@ -29,6 +29,20 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
29
29
  /**
30
30
  * <p>Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a
31
31
  * specific instance type for a period of time.</p>
32
+ * <p>To search for an available Capacity Block offering, you specify a reservation duration
33
+ * and instance count. You must select one of the following options.</p>
34
+ * <ul>
35
+ * <li>
36
+ * <p>For reservation durations<b> 1-day increments
37
+ * up 14 days and 7-day increments up to 182 days total</b>
38
+ * </p>
39
+ * </li>
40
+ * <li>
41
+ * <p>For instance count<b> 1, 2, 4, 8, 16, 32, or
42
+ * 64 instances</b>
43
+ * </p>
44
+ * </li>
45
+ * </ul>
32
46
  * @example
33
47
  * Use a bare-bones client and the command you need to make an API call.
34
48
  * ```javascript
@@ -68,7 +68,8 @@ declare const DescribeInstanceTopologyCommand_base: {
68
68
  * <li>
69
69
  * <p>
70
70
  * <code>trn1.2xlarge</code> | <code>trn1.32xlarge</code> |
71
- * <code>trn1n.32xlarge</code>
71
+ * <code>trn1n.32xlarge</code> | <code>trn2.48xlarge</code> |
72
+ * <code>trn2u.48xlarge</code>
72
73
  * </p>
73
74
  * </li>
74
75
  * </ul>
@@ -3865,10 +3865,13 @@ export interface InstanceRequirementsRequest {
3865
3865
  * <p>The accelerator types that must be on the instance type.</p>
3866
3866
  * <ul>
3867
3867
  * <li>
3868
- * <p>To include instance types with GPU hardware, specify <code>gpu</code>.</p>
3868
+ * <p>For instance types with FPGA accelerators, specify <code>fpga</code>.</p>
3869
+ * </li>
3870
+ * <li>
3871
+ * <p>For instance types with GPU accelerators, specify <code>gpu</code>.</p>
3869
3872
  * </li>
3870
3873
  * <li>
3871
- * <p>To include instance types with FPGA hardware, specify <code>fpga</code>.</p>
3874
+ * <p>For instance types with Inference accelerators, specify <code>inference</code>.</p>
3872
3875
  * </li>
3873
3876
  * </ul>
3874
3877
  * <p>Default: Any accelerator type</p>
@@ -4679,7 +4682,9 @@ export interface CreateFleetRequest {
4679
4682
  DryRun?: boolean | undefined;
4680
4683
  /**
4681
4684
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
4682
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
4685
+ * request. If you do not specify a client token, a randomly generated token is used for
4686
+ * the request to ensure idempotency.</p>
4687
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
4683
4688
  * idempotency</a>.</p>
4684
4689
  * @public
4685
4690
  */
@@ -5324,10 +5329,13 @@ export interface InstanceRequirements {
5324
5329
  * <p>The accelerator types that must be on the instance type.</p>
5325
5330
  * <ul>
5326
5331
  * <li>
5332
+ * <p>For instance types with FPGA accelerators, specify <code>fpga</code>.</p>
5333
+ * </li>
5334
+ * <li>
5327
5335
  * <p>For instance types with GPU accelerators, specify <code>gpu</code>.</p>
5328
5336
  * </li>
5329
5337
  * <li>
5330
- * <p>For instance types with FPGA accelerators, specify <code>fpga</code>.</p>
5338
+ * <p>For instance types with Inference accelerators, specify <code>inference</code>.</p>
5331
5339
  * </li>
5332
5340
  * </ul>
5333
5341
  * <p>Default: Any accelerator type</p>
@@ -6931,8 +6931,11 @@ export interface EventInformation {
6931
6931
  * </li>
6932
6932
  * <li>
6933
6933
  * <p>
6934
- * <code>launchSpecUnusable</code> - The price in a launch specification is not
6935
- * valid because it is below the Spot price.</p>
6934
+ * <code>launchSpecUnusable</code> - The price specified in a launch specification
6935
+ * is not valid because it is below the Spot price for the requested Spot pools.</p>
6936
+ * <p>Note: Even if a fleet with the <code>maintain</code> request type is in the process
6937
+ * of being canceled, it may still publish a <code>launchSpecUnusable</code> event. This
6938
+ * does not mean that the canceled fleet is attempting to launch a new instance.</p>
6936
6939
  * </li>
6937
6940
  * <li>
6938
6941
  * <p>
@@ -7437,7 +7437,7 @@ export interface InstanceBlockDeviceMappingSpecification {
7437
7437
  */
7438
7438
  VirtualName?: string | undefined;
7439
7439
  /**
7440
- * <p>suppress the specified device included in the block device mapping.</p>
7440
+ * <p>Suppresses the specified device included in the block device mapping.</p>
7441
7441
  * @public
7442
7442
  */
7443
7443
  NoDevice?: string | undefined;
@@ -6537,6 +6537,9 @@ export interface SpotMarketOptions {
6537
6537
  * <important>
6538
6538
  * <p>If you specify a maximum price, your Spot Instances will be interrupted more
6539
6539
  * frequently than if you do not specify this parameter.</p>
6540
+ * <p>If you specify a maximum price, it must be more than USD $0.001. Specifying a value
6541
+ * below USD $0.001 will result in an <code>InvalidParameterValue</code> error
6542
+ * message.</p>
6540
6543
  * </important>
6541
6544
  * @public
6542
6545
  */
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.734.0",
4
+ "version": "3.738.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",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.734.0",
24
- "@aws-sdk/credential-provider-node": "3.734.0",
24
+ "@aws-sdk/credential-provider-node": "3.738.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",