@aws-sdk/client-ec2 3.1081.0 → 3.1082.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
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1080.0";
73
+ var version = "3.1081.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -11104,8 +11104,8 @@ var CreatePublicIpv4PoolResult$ = [3, n0, _CPIPRr,
11104
11104
  ];
11105
11105
  var CreateReplaceRootVolumeTaskRequest$ = [3, n0, _CRRVTR,
11106
11106
  0,
11107
- [_II, _SIn, _CT, _DR, _TS, _IIm, _DRRV, _VIR],
11108
- [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 2, 1], 1
11107
+ [_II, _SIn, _CT, _DR, _TS, _IIm, _DRRV, _VIR, _VIo],
11108
+ [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 2, 1, 0], 1
11109
11109
  ];
11110
11110
  var CreateReplaceRootVolumeTaskResult$ = [3, n0, _CRRVTRr,
11111
11111
  0,
@@ -10962,8 +10962,8 @@ export var CreatePublicIpv4PoolResult$ = [3, n0, _CPIPRr,
10962
10962
  ];
10963
10963
  export var CreateReplaceRootVolumeTaskRequest$ = [3, n0, _CRRVTR,
10964
10964
  0,
10965
- [_II, _SIn, _CT, _DR, _TS, _IIm, _DRRV, _VIR],
10966
- [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 2, 1], 1
10965
+ [_II, _SIn, _CT, _DR, _TS, _IIm, _DRRV, _VIR, _VIo],
10966
+ [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 2, 1, 0], 1
10967
10967
  ];
10968
10968
  export var CreateReplaceRootVolumeTaskResult$ = [3, n0, _CRRVTRr,
10969
10969
  0,
@@ -26,8 +26,9 @@ declare const CreateReplaceRootVolumeTaskCommand_base: {
26
26
  /**
27
27
  * <p>Replaces the EBS-backed root volume for a <code>running</code> instance with a new
28
28
  * volume that is restored to the original root volume's launch state, that is restored to a
29
- * specific snapshot taken from the original root volume, or that is restored from an AMI
30
- * that has the same key characteristics as that of the instance.</p>
29
+ * specific snapshot taken from the original root volume, that is restored from an AMI
30
+ * that has the same key characteristics as that of the instance, or that is replaced by
31
+ * a specified volume.</p>
31
32
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replace-root.html">Replace a root volume</a> in the <i>Amazon EC2 User Guide</i>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -56,6 +57,7 @@ declare const CreateReplaceRootVolumeTaskCommand_base: {
56
57
  * ImageId: "STRING_VALUE",
57
58
  * DeleteReplacedRootVolume: true || false,
58
59
  * VolumeInitializationRate: Number("long"),
60
+ * VolumeId: "STRING_VALUE",
59
61
  * };
60
62
  * const command = new CreateReplaceRootVolumeTaskCommand(input);
61
63
  * const response = await client.send(command);
@@ -11993,8 +11993,8 @@ export interface CreateReplaceRootVolumeTaskRequest {
11993
11993
  * specified snapshot must be a snapshot that you previously created from the original
11994
11994
  * root volume.</p>
11995
11995
  * <p>If you want to restore the replacement root volume to the initial launch state,
11996
- * or if you want to restore the replacement root volume from an AMI, omit this
11997
- * parameter.</p>
11996
+ * if you want to restore the replacement root volume from an AMI, or if you want to
11997
+ * replace the root volume with a specified volume, omit this parameter.</p>
11998
11998
  * @public
11999
11999
  */
12000
12000
  SnapshotId?: string | undefined;
@@ -12021,8 +12021,9 @@ export interface CreateReplaceRootVolumeTaskRequest {
12021
12021
  * <p>The ID of the AMI to use to restore the root volume. The specified AMI must have the
12022
12022
  * same product code, billing information, architecture type, and virtualization type as
12023
12023
  * that of the instance.</p>
12024
- * <p>If you want to restore the replacement volume from a specific snapshot, or if you want
12025
- * to restore it to its launch state, omit this parameter.</p>
12024
+ * <p>If you want to restore the replacement volume from a specific snapshot, if you want
12025
+ * to restore it to its launch state, or if you want to replace the root volume with a
12026
+ * specified volume, omit this parameter.</p>
12026
12027
  * @public
12027
12028
  */
12028
12029
  ImageId?: string | undefined;
@@ -12060,6 +12061,16 @@ export interface CreateReplaceRootVolumeTaskRequest {
12060
12061
  * @public
12061
12062
  */
12062
12063
  VolumeInitializationRate?: number | undefined;
12064
+ /**
12065
+ * <p>The ID of the volume to use as the replacement root volume. The specified volume must
12066
+ * be in the same Availability Zone as the instance, must be in the <code>available</code>
12067
+ * state, and must not be attached to an instance. If the original root volume is encrypted,
12068
+ * the specified volume must also be encrypted.</p>
12069
+ * <p>If you want to restore the replacement root volume from a specific snapshot, an AMI,
12070
+ * or to its launch state, omit this parameter.</p>
12071
+ * @public
12072
+ */
12073
+ VolumeId?: string | undefined;
12063
12074
  }
12064
12075
  /**
12065
12076
  * <p>Information about a root volume replacement task.</p>
@@ -2168,6 +2168,7 @@ export interface CreateReplaceRootVolumeTaskRequest {
2168
2168
  ImageId?: string | undefined;
2169
2169
  DeleteReplacedRootVolume?: boolean | undefined;
2170
2170
  VolumeInitializationRate?: number | undefined;
2171
+ VolumeId?: string | undefined;
2171
2172
  }
2172
2173
  export interface ReplaceRootVolumeTask {
2173
2174
  ReplaceRootVolumeTaskId?: string | 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.1081.0",
4
+ "version": "3.1082.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -25,18 +25,18 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@aws-sdk/core": "^3.974.29",
29
- "@aws-sdk/credential-provider-node": "^3.972.64",
30
- "@aws-sdk/middleware-sdk-ec2": "^3.972.43",
31
- "@aws-sdk/types": "^3.973.15",
32
- "@smithy/core": "^3.29.0",
33
- "@smithy/fetch-http-handler": "^5.6.2",
34
- "@smithy/node-http-handler": "^4.9.2",
35
- "@smithy/types": "^4.15.1",
28
+ "@aws-sdk/core": "^3.975.0",
29
+ "@aws-sdk/credential-provider-node": "^3.972.65",
30
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.44",
31
+ "@aws-sdk/types": "^3.974.0",
32
+ "@smithy/core": "^3.29.2",
33
+ "@smithy/fetch-http-handler": "^5.6.4",
34
+ "@smithy/node-http-handler": "^4.9.4",
35
+ "@smithy/types": "^4.16.0",
36
36
  "tslib": "^2.6.2"
37
37
  },
38
38
  "devDependencies": {
39
- "@smithy/snapshot-testing": "^2.2.5",
39
+ "@smithy/snapshot-testing": "^2.2.7",
40
40
  "@tsconfig/node20": "20.1.8",
41
41
  "@types/node": "^20.14.8",
42
42
  "concurrently": "7.0.0",