@aws-sdk/client-ec2 3.895.0 → 3.898.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
|
@@ -1594,7 +1594,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
1594
1594
|
var import_core2 = require("@aws-sdk/core");
|
|
1595
1595
|
|
|
1596
1596
|
|
|
1597
|
-
var import_uuid = require("uuid");
|
|
1597
|
+
var import_uuid = require("@smithy/uuid");
|
|
1598
1598
|
|
|
1599
1599
|
// src/models/EC2ServiceException.ts
|
|
1600
1600
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { collectBody, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
|
+
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
5
|
import { EC2ServiceException as __BaseException } from "../models/EC2ServiceException";
|
|
6
6
|
export const se_AcceptAddressTransferCommand = async (input, context) => {
|
|
7
7
|
const headers = SHARED_HEADERS;
|
|
@@ -4281,7 +4281,7 @@ export interface FleetEbsBlockDeviceRequest {
|
|
|
4281
4281
|
* <ul>
|
|
4282
4282
|
* <li>
|
|
4283
4283
|
* <p>
|
|
4284
|
-
* <code>gp3</code>: 3,000 -
|
|
4284
|
+
* <code>gp3</code>: 3,000 - 80,000 IOPS</p>
|
|
4285
4285
|
* </li>
|
|
4286
4286
|
* <li>
|
|
4287
4287
|
* <p>
|
|
@@ -4303,7 +4303,7 @@ export interface FleetEbsBlockDeviceRequest {
|
|
|
4303
4303
|
/**
|
|
4304
4304
|
* <p>The throughput that the volume supports, in MiB/s.</p>
|
|
4305
4305
|
* <p>This parameter is valid only for <code>gp3</code> volumes.</p>
|
|
4306
|
-
* <p>Valid Range: Minimum value of 125. Maximum value of
|
|
4306
|
+
* <p>Valid Range: Minimum value of 125. Maximum value of 2,000.</p>
|
|
4307
4307
|
* @public
|
|
4308
4308
|
*/
|
|
4309
4309
|
Throughput?: number | undefined;
|
|
@@ -4328,7 +4328,11 @@ export interface FleetEbsBlockDeviceRequest {
|
|
|
4328
4328
|
* <ul>
|
|
4329
4329
|
* <li>
|
|
4330
4330
|
* <p>
|
|
4331
|
-
* <code>gp2</code
|
|
4331
|
+
* <code>gp2</code>: 1 - 16,384 GiB</p>
|
|
4332
|
+
* </li>
|
|
4333
|
+
* <li>
|
|
4334
|
+
* <p>
|
|
4335
|
+
* <code>gp3</code>: 1 - 65,536 GiB</p>
|
|
4332
4336
|
* </li>
|
|
4333
4337
|
* <li>
|
|
4334
4338
|
* <p>
|
|
@@ -7342,7 +7346,7 @@ export interface EbsBlockDevice {
|
|
|
7342
7346
|
* <ul>
|
|
7343
7347
|
* <li>
|
|
7344
7348
|
* <p>
|
|
7345
|
-
* <code>gp3</code>: 3,000 -
|
|
7349
|
+
* <code>gp3</code>: 3,000 - 80,000 IOPS</p>
|
|
7346
7350
|
* </li>
|
|
7347
7351
|
* <li>
|
|
7348
7352
|
* <p>
|
|
@@ -7374,7 +7378,11 @@ export interface EbsBlockDevice {
|
|
|
7374
7378
|
* <ul>
|
|
7375
7379
|
* <li>
|
|
7376
7380
|
* <p>
|
|
7377
|
-
* <code>gp2</code
|
|
7381
|
+
* <code>gp2</code>: 1 - 16,384 GiB</p>
|
|
7382
|
+
* </li>
|
|
7383
|
+
* <li>
|
|
7384
|
+
* <p>
|
|
7385
|
+
* <code>gp3</code>: 1 - 65,536 GiB</p>
|
|
7378
7386
|
* </li>
|
|
7379
7387
|
* <li>
|
|
7380
7388
|
* <p>
|
|
@@ -7414,7 +7422,7 @@ export interface EbsBlockDevice {
|
|
|
7414
7422
|
/**
|
|
7415
7423
|
* <p>The throughput that the volume supports, in MiB/s.</p>
|
|
7416
7424
|
* <p>This parameter is valid only for <code>gp3</code> volumes.</p>
|
|
7417
|
-
* <p>Valid Range: Minimum value of 125. Maximum value of
|
|
7425
|
+
* <p>Valid Range: Minimum value of 125. Maximum value of 2,000.</p>
|
|
7418
7426
|
* @public
|
|
7419
7427
|
*/
|
|
7420
7428
|
Throughput?: number | undefined;
|
|
@@ -9647,7 +9655,7 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
|
|
|
9647
9655
|
* <ul>
|
|
9648
9656
|
* <li>
|
|
9649
9657
|
* <p>
|
|
9650
|
-
* <code>gp3</code>: 3,000 -
|
|
9658
|
+
* <code>gp3</code>: 3,000 - 80,000 IOPS</p>
|
|
9651
9659
|
* </li>
|
|
9652
9660
|
* <li>
|
|
9653
9661
|
* <p>
|
|
@@ -9681,7 +9689,11 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
|
|
|
9681
9689
|
* <ul>
|
|
9682
9690
|
* <li>
|
|
9683
9691
|
* <p>
|
|
9684
|
-
* <code>gp2</code
|
|
9692
|
+
* <code>gp2</code>: 1 - 16,384 GiB</p>
|
|
9693
|
+
* </li>
|
|
9694
|
+
* <li>
|
|
9695
|
+
* <p>
|
|
9696
|
+
* <code>gp3</code>: 1 - 65,536 GiB</p>
|
|
9685
9697
|
* </li>
|
|
9686
9698
|
* <li>
|
|
9687
9699
|
* <p>
|
|
@@ -9710,9 +9722,9 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
|
|
|
9710
9722
|
*/
|
|
9711
9723
|
VolumeType?: VolumeType | undefined;
|
|
9712
9724
|
/**
|
|
9713
|
-
* <p>The throughput to provision for a <code>gp3</code> volume, with a maximum of
|
|
9725
|
+
* <p>The throughput to provision for a <code>gp3</code> volume, with a maximum of 2,000
|
|
9714
9726
|
* MiB/s.</p>
|
|
9715
|
-
* <p>Valid Range: Minimum value of 125. Maximum value of
|
|
9727
|
+
* <p>Valid Range: Minimum value of 125. Maximum value of 2,000.</p>
|
|
9716
9728
|
* @public
|
|
9717
9729
|
*/
|
|
9718
9730
|
Throughput?: number | undefined;
|
|
@@ -9926,8 +9938,7 @@ export interface LaunchTemplateElasticInferenceAccelerator {
|
|
|
9926
9938
|
*/
|
|
9927
9939
|
Type: string | undefined;
|
|
9928
9940
|
/**
|
|
9929
|
-
* <p>
|
|
9930
|
-
* <p>Default: 1</p>
|
|
9941
|
+
* <p>The number of elastic inference accelerators to attach to the instance. </p>
|
|
9931
9942
|
* @public
|
|
9932
9943
|
*/
|
|
9933
9944
|
Count?: number | undefined;
|
|
@@ -11468,14 +11479,13 @@ export interface ElasticGpuSpecificationResponse {
|
|
|
11468
11479
|
*/
|
|
11469
11480
|
export interface LaunchTemplateElasticInferenceAcceleratorResponse {
|
|
11470
11481
|
/**
|
|
11471
|
-
* <p>
|
|
11482
|
+
* <p>The type of elastic inference accelerator. The possible values are eia1.medium,
|
|
11472
11483
|
* eia1.large, and eia1.xlarge. </p>
|
|
11473
11484
|
* @public
|
|
11474
11485
|
*/
|
|
11475
11486
|
Type?: string | undefined;
|
|
11476
11487
|
/**
|
|
11477
|
-
* <p>
|
|
11478
|
-
* <p>Default: 1</p>
|
|
11488
|
+
* <p>The number of elastic inference accelerators to attach to the instance. </p>
|
|
11479
11489
|
* @public
|
|
11480
11490
|
*/
|
|
11481
11491
|
Count?: number | undefined;
|
|
@@ -134,7 +134,6 @@ export interface LaunchTemplateInstanceMetadataOptions {
|
|
|
134
134
|
/**
|
|
135
135
|
* <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
|
|
136
136
|
* number, the further instance metadata requests can travel.</p>
|
|
137
|
-
* <p>Default: 1</p>
|
|
138
137
|
* <p>Possible values: Integers from 1 to 64</p>
|
|
139
138
|
* @public
|
|
140
139
|
*/
|
|
@@ -8797,7 +8796,7 @@ export interface CreateVolumeRequest {
|
|
|
8797
8796
|
* <ul>
|
|
8798
8797
|
* <li>
|
|
8799
8798
|
* <p>
|
|
8800
|
-
* <code>gp3</code>: 3,000 -
|
|
8799
|
+
* <code>gp3</code>: 3,000 - 80,000 IOPS</p>
|
|
8801
8800
|
* </li>
|
|
8802
8801
|
* <li>
|
|
8803
8802
|
* <p>
|
|
@@ -8856,7 +8855,11 @@ export interface CreateVolumeRequest {
|
|
|
8856
8855
|
* <ul>
|
|
8857
8856
|
* <li>
|
|
8858
8857
|
* <p>
|
|
8859
|
-
* <code>gp2</code
|
|
8858
|
+
* <code>gp2</code>: 1 - 16,384 GiB</p>
|
|
8859
|
+
* </li>
|
|
8860
|
+
* <li>
|
|
8861
|
+
* <p>
|
|
8862
|
+
* <code>gp3</code>: 1 - 65,536 GiB</p>
|
|
8860
8863
|
* </li>
|
|
8861
8864
|
* <li>
|
|
8862
8865
|
* <p>
|
|
@@ -8932,9 +8935,9 @@ export interface CreateVolumeRequest {
|
|
|
8932
8935
|
*/
|
|
8933
8936
|
MultiAttachEnabled?: boolean | undefined;
|
|
8934
8937
|
/**
|
|
8935
|
-
* <p>The throughput to provision for a volume, with a maximum of
|
|
8938
|
+
* <p>The throughput to provision for a volume, with a maximum of 2,000 MiB/s.</p>
|
|
8936
8939
|
* <p>This parameter is valid only for <code>gp3</code> volumes.</p>
|
|
8937
|
-
* <p>Valid Range: Minimum value of 125. Maximum value of
|
|
8940
|
+
* <p>Valid Range: Minimum value of 125. Maximum value of 2,000.</p>
|
|
8938
8941
|
* @public
|
|
8939
8942
|
*/
|
|
8940
8943
|
Throughput?: number | undefined;
|
|
@@ -7108,7 +7108,11 @@ export interface ModifyVolumeRequest {
|
|
|
7108
7108
|
* <ul>
|
|
7109
7109
|
* <li>
|
|
7110
7110
|
* <p>
|
|
7111
|
-
* <code>gp2</code
|
|
7111
|
+
* <code>gp2</code>: 1 - 16,384 GiB</p>
|
|
7112
|
+
* </li>
|
|
7113
|
+
* <li>
|
|
7114
|
+
* <p>
|
|
7115
|
+
* <code>gp3</code>: 1 - 65,536 GiB</p>
|
|
7112
7116
|
* </li>
|
|
7113
7117
|
* <li>
|
|
7114
7118
|
* <p>
|
|
@@ -7143,7 +7147,7 @@ export interface ModifyVolumeRequest {
|
|
|
7143
7147
|
* <ul>
|
|
7144
7148
|
* <li>
|
|
7145
7149
|
* <p>
|
|
7146
|
-
* <code>gp3</code>: 3,000 -
|
|
7150
|
+
* <code>gp3</code>: 3,000 - 80,000 IOPS</p>
|
|
7147
7151
|
* </li>
|
|
7148
7152
|
* <li>
|
|
7149
7153
|
* <p>
|
|
@@ -7164,10 +7168,10 @@ export interface ModifyVolumeRequest {
|
|
|
7164
7168
|
Iops?: number | undefined;
|
|
7165
7169
|
/**
|
|
7166
7170
|
* <p>The target throughput of the volume, in MiB/s. This parameter is valid only for <code>gp3</code> volumes.
|
|
7167
|
-
* The maximum value is
|
|
7171
|
+
* The maximum value is 2,000.</p>
|
|
7168
7172
|
* <p>Default: The existing value is retained if the source and target volume type is <code>gp3</code>.
|
|
7169
7173
|
* Otherwise, the default value is 125.</p>
|
|
7170
|
-
* <p>Valid Range: Minimum value of 125. Maximum value of
|
|
7174
|
+
* <p>Valid Range: Minimum value of 125. Maximum value of 2,000.</p>
|
|
7171
7175
|
* @public
|
|
7172
7176
|
*/
|
|
7173
7177
|
Throughput?: number | undefined;
|
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.898.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,47 +20,46 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.896.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.896.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-sdk-ec2": "3.896.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.896.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
31
31
|
"@aws-sdk/types": "3.893.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.895.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.896.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.2.2",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.12.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
38
38
|
"@smithy/hash-node": "^4.1.1",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
42
|
-
"@smithy/middleware-retry": "^4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.2.4",
|
|
42
|
+
"@smithy/middleware-retry": "^4.3.0",
|
|
43
43
|
"@smithy/middleware-serde": "^4.1.1",
|
|
44
44
|
"@smithy/middleware-stack": "^4.1.1",
|
|
45
45
|
"@smithy/node-config-provider": "^4.2.2",
|
|
46
46
|
"@smithy/node-http-handler": "^4.2.1",
|
|
47
47
|
"@smithy/protocol-http": "^5.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^4.6.
|
|
48
|
+
"@smithy/smithy-client": "^4.6.4",
|
|
49
49
|
"@smithy/types": "^4.5.0",
|
|
50
50
|
"@smithy/url-parser": "^4.1.1",
|
|
51
51
|
"@smithy/util-base64": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.1.4",
|
|
56
56
|
"@smithy/util-endpoints": "^3.1.2",
|
|
57
57
|
"@smithy/util-middleware": "^4.1.1",
|
|
58
58
|
"@smithy/util-retry": "^4.1.2",
|
|
59
59
|
"@smithy/util-utf8": "^4.1.0",
|
|
60
60
|
"@smithy/util-waiter": "^4.1.1",
|
|
61
|
-
"@
|
|
62
|
-
"tslib": "^2.6.2"
|
|
63
|
-
"uuid": "^9.0.1"
|
|
61
|
+
"@smithy/uuid": "^1.0.0",
|
|
62
|
+
"tslib": "^2.6.2"
|
|
64
63
|
},
|
|
65
64
|
"devDependencies": {
|
|
66
65
|
"@tsconfig/node18": "18.2.4",
|