@aws-sdk/client-ec2 3.145.0 → 3.147.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.147.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.146.0...v3.147.0) (2022-08-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-ec2:** This release adds support for excluding specific data (non-root) volumes from multi-volume snapshot sets created from instances. ([8917e47](https://github.com/aws/aws-sdk-js-v3/commit/8917e47393dc7ba118a5ddc0580f4ad43eaa731a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-ec2
|
|
@@ -32843,6 +32843,13 @@ const serializeAws_ec2InstanceSpecification = (input, context) => {
|
|
|
32843
32843
|
if (input.ExcludeBootVolume != null) {
|
|
32844
32844
|
entries["ExcludeBootVolume"] = input.ExcludeBootVolume;
|
|
32845
32845
|
}
|
|
32846
|
+
if (input.ExcludeDataVolumeIds != null) {
|
|
32847
|
+
const memberEntries = serializeAws_ec2VolumeIdStringList(input.ExcludeDataVolumeIds, context);
|
|
32848
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
32849
|
+
const loc = `ExcludeDataVolumeId.${key.substring(key.indexOf(".") + 1)}`;
|
|
32850
|
+
entries[loc] = value;
|
|
32851
|
+
});
|
|
32852
|
+
}
|
|
32846
32853
|
return entries;
|
|
32847
32854
|
};
|
|
32848
32855
|
const serializeAws_ec2InstanceTagKeySet = (input, context) => {
|
|
@@ -39666,6 +39666,14 @@ var serializeAws_ec2InstanceSpecification = function (input, context) {
|
|
|
39666
39666
|
if (input.ExcludeBootVolume != null) {
|
|
39667
39667
|
entries["ExcludeBootVolume"] = input.ExcludeBootVolume;
|
|
39668
39668
|
}
|
|
39669
|
+
if (input.ExcludeDataVolumeIds != null) {
|
|
39670
|
+
var memberEntries = serializeAws_ec2VolumeIdStringList(input.ExcludeDataVolumeIds, context);
|
|
39671
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
39672
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
39673
|
+
var loc = "ExcludeDataVolumeId.".concat(key.substring(key.indexOf(".") + 1));
|
|
39674
|
+
entries[loc] = value;
|
|
39675
|
+
});
|
|
39676
|
+
}
|
|
39669
39677
|
return entries;
|
|
39670
39678
|
};
|
|
39671
39679
|
var serializeAws_ec2InstanceTagKeySet = function (input, context) {
|
|
@@ -6263,6 +6263,7 @@ export interface InstanceSpecification {
|
|
|
6263
6263
|
* <p>Excludes the root volume from being snapshotted.</p>
|
|
6264
6264
|
*/
|
|
6265
6265
|
ExcludeBootVolume?: boolean;
|
|
6266
|
+
ExcludeDataVolumeIds?: string[];
|
|
6266
6267
|
}
|
|
6267
6268
|
export interface CreateSnapshotsRequest {
|
|
6268
6269
|
/**
|
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.147.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|