@aws-sdk/client-ec2 3.1128.0 → 3.1129.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 +11 -7
- package/dist-es/schemas/schemas_0.js +10 -6
- package/dist-types/commands/CopyVolumesCommand.d.ts +4 -0
- package/dist-types/commands/CreateVolumeCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +29 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1128.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -6352,7 +6352,8 @@ const _VATPIL = "VerifiedAccessTrustProviderIdList";
|
|
|
6352
6352
|
const _VATPIe = "VerifiedAccessTrustProviderIds";
|
|
6353
6353
|
const _VATPL = "VerifiedAccessTrustProviderList";
|
|
6354
6354
|
const _VATPe = "VerifiedAccessTrustProviders";
|
|
6355
|
-
const _VAo = "
|
|
6355
|
+
const _VAo = "VolumeArn";
|
|
6356
|
+
const _VAol = "VolumeAttachment";
|
|
6356
6357
|
const _VAp = "VpcAttachments";
|
|
6357
6358
|
const _VBPAE = "VpcBlockPublicAccessExclusion";
|
|
6358
6359
|
const _VBPAEIL = "VpcBlockPublicAccessExclusionIdList";
|
|
@@ -8609,6 +8610,7 @@ const _uTl = "ultraserverType";
|
|
|
8609
8610
|
const _ur = "url";
|
|
8610
8611
|
const _us = "username";
|
|
8611
8612
|
const _v = "value";
|
|
8613
|
+
const _vA = "volumeArn";
|
|
8612
8614
|
const _vAE = "verifiedAccessEndpoint";
|
|
8613
8615
|
const _vAEI = "verifiedAccessEndpointId";
|
|
8614
8616
|
const _vAES = "verifiedAccessEndpointSet";
|
|
@@ -10813,8 +10815,8 @@ var CopySnapshotResult$ = [3, n0, _CSRo,
|
|
|
10813
10815
|
];
|
|
10814
10816
|
var CopyVolumesRequest$ = [3, n0, _CVRo,
|
|
10815
10817
|
0,
|
|
10816
|
-
[_SVI, _Io, _Siz, _VT, _DR, _TS, _MAE, _Th, _CT],
|
|
10817
|
-
[0, 1, 1, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4]], 1
|
|
10818
|
+
[_SVI, _Io, _Siz, _VT, _DR, _TS, _MAE, _Th, _CT, _Enc, _KKI],
|
|
10819
|
+
[0, 1, 1, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4], 2, 0], 1
|
|
10818
10820
|
];
|
|
10819
10821
|
var CopyVolumesResult$ = [3, n0, _CVRop,
|
|
10820
10822
|
0,
|
|
@@ -26648,7 +26650,7 @@ var VgwTelemetry$ = [3, n0, _VTg,
|
|
|
26648
26650
|
];
|
|
26649
26651
|
var Volume$ = [3, n0, _Vol,
|
|
26650
26652
|
0,
|
|
26651
|
-
[_AZI, _OA, _SVI, _Io, _T, _VT, _FRa, _MAE, _Th, _STs, _Op, _VIR, _VIo, _Siz, _SIn, _AZ, _St, _CTre, _Atta, _Enc, _KKI],
|
|
26653
|
+
[_AZI, _OA, _SVI, _Io, _T, _VT, _FRa, _MAE, _Th, _STs, _Op, _VIR, _VAo, _OI, _VIo, _Siz, _SIn, _AZ, _St, _CTre, _Atta, _Enc, _KKI],
|
|
26652
26654
|
[[0, { [_eQN]: `AvailabilityZoneId`,
|
|
26653
26655
|
[_xN]: _aZI }], [0, { [_eQN]: `OutpostArn`,
|
|
26654
26656
|
[_xN]: _oA }], [0, { [_eQN]: `SourceVolumeId`,
|
|
@@ -26661,7 +26663,9 @@ var Volume$ = [3, n0, _Vol,
|
|
|
26661
26663
|
[_xN]: _th }], [0, { [_eQN]: `SseType`,
|
|
26662
26664
|
[_xN]: _sTs }], [() => OperatorResponse$, { [_eQN]: `Operator`,
|
|
26663
26665
|
[_xN]: _ope }], [1, { [_eQN]: `VolumeInitializationRate`,
|
|
26664
|
-
[_xN]: _vIR }], [0, { [_eQN]: `
|
|
26666
|
+
[_xN]: _vIR }], [0, { [_eQN]: `VolumeArn`,
|
|
26667
|
+
[_xN]: _vA }], [0, { [_eQN]: `OwnerId`,
|
|
26668
|
+
[_xN]: _oI }], [0, { [_eQN]: `VolumeId`,
|
|
26665
26669
|
[_xN]: _vIo }], [1, { [_eQN]: `Size`,
|
|
26666
26670
|
[_xN]: _si }], [0, { [_eQN]: `SnapshotId`,
|
|
26667
26671
|
[_xN]: _sIn }], [0, { [_eQN]: `AvailabilityZone`,
|
|
@@ -26672,7 +26676,7 @@ var Volume$ = [3, n0, _Vol,
|
|
|
26672
26676
|
[_xN]: _enc }], [0, { [_eQN]: `KmsKeyId`,
|
|
26673
26677
|
[_xN]: _kKI }]]
|
|
26674
26678
|
];
|
|
26675
|
-
var VolumeAttachment$ = [3, n0,
|
|
26679
|
+
var VolumeAttachment$ = [3, n0, _VAol,
|
|
26676
26680
|
0,
|
|
26677
26681
|
[_DOT, _ARss, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt],
|
|
26678
26682
|
[[2, { [_eQN]: `DeleteOnTermination`,
|
|
@@ -6208,7 +6208,8 @@ const _VATPIL = "VerifiedAccessTrustProviderIdList";
|
|
|
6208
6208
|
const _VATPIe = "VerifiedAccessTrustProviderIds";
|
|
6209
6209
|
const _VATPL = "VerifiedAccessTrustProviderList";
|
|
6210
6210
|
const _VATPe = "VerifiedAccessTrustProviders";
|
|
6211
|
-
const _VAo = "
|
|
6211
|
+
const _VAo = "VolumeArn";
|
|
6212
|
+
const _VAol = "VolumeAttachment";
|
|
6212
6213
|
const _VAp = "VpcAttachments";
|
|
6213
6214
|
const _VBPAE = "VpcBlockPublicAccessExclusion";
|
|
6214
6215
|
const _VBPAEIL = "VpcBlockPublicAccessExclusionIdList";
|
|
@@ -8465,6 +8466,7 @@ const _uTl = "ultraserverType";
|
|
|
8465
8466
|
const _ur = "url";
|
|
8466
8467
|
const _us = "username";
|
|
8467
8468
|
const _v = "value";
|
|
8469
|
+
const _vA = "volumeArn";
|
|
8468
8470
|
const _vAE = "verifiedAccessEndpoint";
|
|
8469
8471
|
const _vAEI = "verifiedAccessEndpointId";
|
|
8470
8472
|
const _vAES = "verifiedAccessEndpointSet";
|
|
@@ -10671,8 +10673,8 @@ export var CopySnapshotResult$ = [3, n0, _CSRo,
|
|
|
10671
10673
|
];
|
|
10672
10674
|
export var CopyVolumesRequest$ = [3, n0, _CVRo,
|
|
10673
10675
|
0,
|
|
10674
|
-
[_SVI, _Io, _Siz, _VT, _DR, _TS, _MAE, _Th, _CT],
|
|
10675
|
-
[0, 1, 1, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4]], 1
|
|
10676
|
+
[_SVI, _Io, _Siz, _VT, _DR, _TS, _MAE, _Th, _CT, _Enc, _KKI],
|
|
10677
|
+
[0, 1, 1, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4], 2, 0], 1
|
|
10676
10678
|
];
|
|
10677
10679
|
export var CopyVolumesResult$ = [3, n0, _CVRop,
|
|
10678
10680
|
0,
|
|
@@ -26506,7 +26508,7 @@ export var VgwTelemetry$ = [3, n0, _VTg,
|
|
|
26506
26508
|
];
|
|
26507
26509
|
export var Volume$ = [3, n0, _Vol,
|
|
26508
26510
|
0,
|
|
26509
|
-
[_AZI, _OA, _SVI, _Io, _T, _VT, _FRa, _MAE, _Th, _STs, _Op, _VIR, _VIo, _Siz, _SIn, _AZ, _St, _CTre, _Atta, _Enc, _KKI],
|
|
26511
|
+
[_AZI, _OA, _SVI, _Io, _T, _VT, _FRa, _MAE, _Th, _STs, _Op, _VIR, _VAo, _OI, _VIo, _Siz, _SIn, _AZ, _St, _CTre, _Atta, _Enc, _KKI],
|
|
26510
26512
|
[[0, { [_eQN]: `AvailabilityZoneId`,
|
|
26511
26513
|
[_xN]: _aZI }], [0, { [_eQN]: `OutpostArn`,
|
|
26512
26514
|
[_xN]: _oA }], [0, { [_eQN]: `SourceVolumeId`,
|
|
@@ -26519,7 +26521,9 @@ export var Volume$ = [3, n0, _Vol,
|
|
|
26519
26521
|
[_xN]: _th }], [0, { [_eQN]: `SseType`,
|
|
26520
26522
|
[_xN]: _sTs }], [() => OperatorResponse$, { [_eQN]: `Operator`,
|
|
26521
26523
|
[_xN]: _ope }], [1, { [_eQN]: `VolumeInitializationRate`,
|
|
26522
|
-
[_xN]: _vIR }], [0, { [_eQN]: `
|
|
26524
|
+
[_xN]: _vIR }], [0, { [_eQN]: `VolumeArn`,
|
|
26525
|
+
[_xN]: _vA }], [0, { [_eQN]: `OwnerId`,
|
|
26526
|
+
[_xN]: _oI }], [0, { [_eQN]: `VolumeId`,
|
|
26523
26527
|
[_xN]: _vIo }], [1, { [_eQN]: `Size`,
|
|
26524
26528
|
[_xN]: _si }], [0, { [_eQN]: `SnapshotId`,
|
|
26525
26529
|
[_xN]: _sIn }], [0, { [_eQN]: `AvailabilityZone`,
|
|
@@ -26530,7 +26534,7 @@ export var Volume$ = [3, n0, _Vol,
|
|
|
26530
26534
|
[_xN]: _enc }], [0, { [_eQN]: `KmsKeyId`,
|
|
26531
26535
|
[_xN]: _kKI }]]
|
|
26532
26536
|
];
|
|
26533
|
-
export var VolumeAttachment$ = [3, n0,
|
|
26537
|
+
export var VolumeAttachment$ = [3, n0, _VAol,
|
|
26534
26538
|
0,
|
|
26535
26539
|
[_DOT, _ARss, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt],
|
|
26536
26540
|
[[2, { [_eQN]: `DeleteOnTermination`,
|
|
@@ -55,6 +55,8 @@ declare const CopyVolumesCommand_base: {
|
|
|
55
55
|
* MultiAttachEnabled: true || false,
|
|
56
56
|
* Throughput: Number("int"),
|
|
57
57
|
* ClientToken: "STRING_VALUE",
|
|
58
|
+
* Encrypted: true || false,
|
|
59
|
+
* KmsKeyId: "STRING_VALUE",
|
|
58
60
|
* };
|
|
59
61
|
* const command = new CopyVolumesCommand(input);
|
|
60
62
|
* const response = await client.send(command);
|
|
@@ -82,6 +84,8 @@ declare const CopyVolumesCommand_base: {
|
|
|
82
84
|
* // HiddenByDefault: true || false,
|
|
83
85
|
* // },
|
|
84
86
|
* // VolumeInitializationRate: Number("int"),
|
|
87
|
+
* // VolumeArn: "STRING_VALUE",
|
|
88
|
+
* // OwnerId: "STRING_VALUE",
|
|
85
89
|
* // VolumeId: "STRING_VALUE",
|
|
86
90
|
* // Size: Number("int"),
|
|
87
91
|
* // SnapshotId: "STRING_VALUE",
|
|
@@ -98,6 +98,8 @@ declare const CreateVolumeCommand_base: {
|
|
|
98
98
|
* // HiddenByDefault: true || false,
|
|
99
99
|
* // },
|
|
100
100
|
* // VolumeInitializationRate: Number("int"),
|
|
101
|
+
* // VolumeArn: "STRING_VALUE",
|
|
102
|
+
* // OwnerId: "STRING_VALUE",
|
|
101
103
|
* // VolumeId: "STRING_VALUE",
|
|
102
104
|
* // Size: Number("int"),
|
|
103
105
|
* // SnapshotId: "STRING_VALUE",
|
|
@@ -89,6 +89,8 @@ declare const DescribeVolumesCommand_base: {
|
|
|
89
89
|
* // HiddenByDefault: true || false,
|
|
90
90
|
* // },
|
|
91
91
|
* // VolumeInitializationRate: Number("int"),
|
|
92
|
+
* // VolumeArn: "STRING_VALUE",
|
|
93
|
+
* // OwnerId: "STRING_VALUE",
|
|
92
94
|
* // VolumeId: "STRING_VALUE",
|
|
93
95
|
* // Size: Number("int"),
|
|
94
96
|
* // SnapshotId: "STRING_VALUE",
|
|
@@ -7277,6 +7277,25 @@ export interface CopyVolumesRequest {
|
|
|
7277
7277
|
* @public
|
|
7278
7278
|
*/
|
|
7279
7279
|
ClientToken?: string | undefined;
|
|
7280
|
+
/**
|
|
7281
|
+
* <p>Indicates whether to encrypt the volume copy. If the source volume is encrypted, the
|
|
7282
|
+
* service always encrypts the copy regardless of this value. Set to <code>true</code> to
|
|
7283
|
+
* encrypt a copy of an unencrypted source volume during the copy operation. If you set
|
|
7284
|
+
* <code>Encrypted</code> to <code>true</code> but do not specify <code>KmsKeyId</code>, the
|
|
7285
|
+
* service uses the default KMS key for EBS encryption in your account.</p>
|
|
7286
|
+
* @public
|
|
7287
|
+
*/
|
|
7288
|
+
Encrypted?: boolean | undefined;
|
|
7289
|
+
/**
|
|
7290
|
+
* <p>The identifier of the KMS key to use for encryption of the volume copy. Specify a
|
|
7291
|
+
* symmetric encryption KMS key. You can specify a KMS key using the key ID, key ARN, alias
|
|
7292
|
+
* name, or alias ARN. If you set <code>Encrypted</code> to <code>true</code> but do not
|
|
7293
|
+
* specify this parameter, the service uses the default KMS key for EBS encryption in your
|
|
7294
|
+
* account. For cross-account volume copies, this must be a KMS key in the calling
|
|
7295
|
+
* account.</p>
|
|
7296
|
+
* @public
|
|
7297
|
+
*/
|
|
7298
|
+
KmsKeyId?: string | undefined;
|
|
7280
7299
|
}
|
|
7281
7300
|
/**
|
|
7282
7301
|
* <p>Describes whether the resource is managed by a service provider and, if so, describes
|
|
@@ -7377,6 +7396,16 @@ export interface Volume {
|
|
|
7377
7396
|
* @public
|
|
7378
7397
|
*/
|
|
7379
7398
|
VolumeInitializationRate?: number | undefined;
|
|
7399
|
+
/**
|
|
7400
|
+
* <p>The Amazon Resource Name (ARN) of the volume.</p>
|
|
7401
|
+
* @public
|
|
7402
|
+
*/
|
|
7403
|
+
VolumeArn?: string | undefined;
|
|
7404
|
+
/**
|
|
7405
|
+
* <p>The ID of the Amazon Web Services account that owns the volume.</p>
|
|
7406
|
+
* @public
|
|
7407
|
+
*/
|
|
7408
|
+
OwnerId?: string | undefined;
|
|
7380
7409
|
/**
|
|
7381
7410
|
* <p>The ID of the volume.</p>
|
|
7382
7411
|
* @public
|
|
@@ -1605,6 +1605,8 @@ export interface CopyVolumesRequest {
|
|
|
1605
1605
|
MultiAttachEnabled?: boolean | undefined;
|
|
1606
1606
|
Throughput?: number | undefined;
|
|
1607
1607
|
ClientToken?: string | undefined;
|
|
1608
|
+
Encrypted?: boolean | undefined;
|
|
1609
|
+
KmsKeyId?: string | undefined;
|
|
1608
1610
|
}
|
|
1609
1611
|
export interface OperatorResponse {
|
|
1610
1612
|
Managed?: boolean | undefined;
|
|
@@ -1624,6 +1626,8 @@ export interface Volume {
|
|
|
1624
1626
|
SseType?: SSEType | undefined;
|
|
1625
1627
|
Operator?: OperatorResponse | undefined;
|
|
1626
1628
|
VolumeInitializationRate?: number | undefined;
|
|
1629
|
+
VolumeArn?: string | undefined;
|
|
1630
|
+
OwnerId?: string | undefined;
|
|
1627
1631
|
VolumeId?: string | undefined;
|
|
1628
1632
|
Size?: number | undefined;
|
|
1629
1633
|
SnapshotId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1129.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/middleware-sdk-ec2": "^3.972.
|
|
55
|
+
"@aws-sdk/core": "^3.978.0",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.83",
|
|
57
|
+
"@aws-sdk/middleware-sdk-ec2": "^3.972.59",
|
|
58
58
|
"@aws-sdk/types": "^3.974.5",
|
|
59
59
|
"@smithy/core": "^3.33.3",
|
|
60
60
|
"@smithy/fetch-http-handler": "^5.7.2",
|