@aws-sdk/client-drs 3.127.0 → 3.131.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 +30 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +5 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -1
- package/dist-types/models/models_0.d.ts +6 -1
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-drs:** Changed existing APIs to allow choosing a dynamic volume type for replicating volumes, to reduce costs for customers. ([91e2660](https://github.com/aws/aws-sdk-js-v3/commit/91e2660097d923991b080d9318fd03019c3a8048))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-drs
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-drs
|
|
@@ -342,6 +342,7 @@ var ReplicationConfigurationDataPlaneRouting;
|
|
|
342
342
|
})(ReplicationConfigurationDataPlaneRouting = exports.ReplicationConfigurationDataPlaneRouting || (exports.ReplicationConfigurationDataPlaneRouting = {}));
|
|
343
343
|
var ReplicationConfigurationDefaultLargeStagingDiskType;
|
|
344
344
|
(function (ReplicationConfigurationDefaultLargeStagingDiskType) {
|
|
345
|
+
ReplicationConfigurationDefaultLargeStagingDiskType["AUTO"] = "AUTO";
|
|
345
346
|
ReplicationConfigurationDefaultLargeStagingDiskType["GP2"] = "GP2";
|
|
346
347
|
ReplicationConfigurationDefaultLargeStagingDiskType["GP3"] = "GP3";
|
|
347
348
|
ReplicationConfigurationDefaultLargeStagingDiskType["ST1"] = "ST1";
|
|
@@ -3068,6 +3068,7 @@ const serializeAws_restJson1ReplicationConfigurationReplicatedDisk = (input, con
|
|
|
3068
3068
|
...(input.deviceName != null && { deviceName: input.deviceName }),
|
|
3069
3069
|
...(input.iops != null && { iops: input.iops }),
|
|
3070
3070
|
...(input.isBootDisk != null && { isBootDisk: input.isBootDisk }),
|
|
3071
|
+
...(input.optimizedStagingDiskType != null && { optimizedStagingDiskType: input.optimizedStagingDiskType }),
|
|
3071
3072
|
...(input.stagingDiskType != null && { stagingDiskType: input.stagingDiskType }),
|
|
3072
3073
|
...(input.throughput != null && { throughput: input.throughput }),
|
|
3073
3074
|
};
|
|
@@ -3632,6 +3633,7 @@ const deserializeAws_restJson1ReplicationConfigurationReplicatedDisk = (output,
|
|
|
3632
3633
|
deviceName: (0, smithy_client_1.expectString)(output.deviceName),
|
|
3633
3634
|
iops: (0, smithy_client_1.expectLong)(output.iops),
|
|
3634
3635
|
isBootDisk: (0, smithy_client_1.expectBoolean)(output.isBootDisk),
|
|
3636
|
+
optimizedStagingDiskType: (0, smithy_client_1.expectString)(output.optimizedStagingDiskType),
|
|
3635
3637
|
stagingDiskType: (0, smithy_client_1.expectString)(output.stagingDiskType),
|
|
3636
3638
|
throughput: (0, smithy_client_1.expectLong)(output.throughput),
|
|
3637
3639
|
};
|
|
@@ -3842,6 +3844,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
3842
3844
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3843
3845
|
const sanitizeErrorCode = (rawValue) => {
|
|
3844
3846
|
let cleanValue = rawValue;
|
|
3847
|
+
if (typeof cleanValue === "number") {
|
|
3848
|
+
cleanValue = cleanValue.toString();
|
|
3849
|
+
}
|
|
3845
3850
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3846
3851
|
cleanValue = cleanValue.split(":")[0];
|
|
3847
3852
|
}
|
|
@@ -285,6 +285,7 @@ export var ReplicationConfigurationDataPlaneRouting;
|
|
|
285
285
|
})(ReplicationConfigurationDataPlaneRouting || (ReplicationConfigurationDataPlaneRouting = {}));
|
|
286
286
|
export var ReplicationConfigurationDefaultLargeStagingDiskType;
|
|
287
287
|
(function (ReplicationConfigurationDefaultLargeStagingDiskType) {
|
|
288
|
+
ReplicationConfigurationDefaultLargeStagingDiskType["AUTO"] = "AUTO";
|
|
288
289
|
ReplicationConfigurationDefaultLargeStagingDiskType["GP2"] = "GP2";
|
|
289
290
|
ReplicationConfigurationDefaultLargeStagingDiskType["GP3"] = "GP3";
|
|
290
291
|
ReplicationConfigurationDefaultLargeStagingDiskType["ST1"] = "ST1";
|
|
@@ -3784,7 +3784,7 @@ var serializeAws_restJson1RecoveryInstancesForTerminationRequest = function (inp
|
|
|
3784
3784
|
});
|
|
3785
3785
|
};
|
|
3786
3786
|
var serializeAws_restJson1ReplicationConfigurationReplicatedDisk = function (input, context) {
|
|
3787
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.deviceName != null && { deviceName: input.deviceName })), (input.iops != null && { iops: input.iops })), (input.isBootDisk != null && { isBootDisk: input.isBootDisk })), (input.stagingDiskType != null && { stagingDiskType: input.stagingDiskType })), (input.throughput != null && { throughput: input.throughput }));
|
|
3787
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.deviceName != null && { deviceName: input.deviceName })), (input.iops != null && { iops: input.iops })), (input.isBootDisk != null && { isBootDisk: input.isBootDisk })), (input.optimizedStagingDiskType != null && { optimizedStagingDiskType: input.optimizedStagingDiskType })), (input.stagingDiskType != null && { stagingDiskType: input.stagingDiskType })), (input.throughput != null && { throughput: input.throughput }));
|
|
3788
3788
|
};
|
|
3789
3789
|
var serializeAws_restJson1ReplicationConfigurationReplicatedDisks = function (input, context) {
|
|
3790
3790
|
return input
|
|
@@ -4341,6 +4341,7 @@ var deserializeAws_restJson1ReplicationConfigurationReplicatedDisk = function (o
|
|
|
4341
4341
|
deviceName: __expectString(output.deviceName),
|
|
4342
4342
|
iops: __expectLong(output.iops),
|
|
4343
4343
|
isBootDisk: __expectBoolean(output.isBootDisk),
|
|
4344
|
+
optimizedStagingDiskType: __expectString(output.optimizedStagingDiskType),
|
|
4344
4345
|
stagingDiskType: __expectString(output.stagingDiskType),
|
|
4345
4346
|
throughput: __expectLong(output.throughput),
|
|
4346
4347
|
};
|
|
@@ -4555,6 +4556,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4555
4556
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
4556
4557
|
var sanitizeErrorCode = function (rawValue) {
|
|
4557
4558
|
var cleanValue = rawValue;
|
|
4559
|
+
if (typeof cleanValue === "number") {
|
|
4560
|
+
cleanValue = cleanValue.toString();
|
|
4561
|
+
}
|
|
4558
4562
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4559
4563
|
cleanValue = cleanValue.split(":")[0];
|
|
4560
4564
|
}
|
|
@@ -733,6 +733,7 @@ export declare enum ReplicationConfigurationDataPlaneRouting {
|
|
|
733
733
|
PUBLIC_IP = "PUBLIC_IP"
|
|
734
734
|
}
|
|
735
735
|
export declare enum ReplicationConfigurationDefaultLargeStagingDiskType {
|
|
736
|
+
AUTO = "AUTO",
|
|
736
737
|
GP2 = "GP2",
|
|
737
738
|
GP3 = "GP3",
|
|
738
739
|
ST1 = "ST1"
|
|
@@ -935,7 +936,7 @@ export declare namespace DeleteJobResponse {
|
|
|
935
936
|
}
|
|
936
937
|
export interface DeleteRecoveryInstanceRequest {
|
|
937
938
|
/**
|
|
938
|
-
* <p>
|
|
939
|
+
* <p>The ID of the Recovery Instance to be deleted.</p>
|
|
939
940
|
*/
|
|
940
941
|
recoveryInstanceID: string | undefined;
|
|
941
942
|
}
|
|
@@ -2309,6 +2310,10 @@ export interface ReplicationConfigurationReplicatedDisk {
|
|
|
2309
2310
|
* <p>The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.</p>
|
|
2310
2311
|
*/
|
|
2311
2312
|
throughput?: number;
|
|
2313
|
+
/**
|
|
2314
|
+
* <p>The Staging Disk EBS volume type to be used during replication when <code>stagingDiskType</code> is set to Auto. This is a read-only field.</p>
|
|
2315
|
+
*/
|
|
2316
|
+
optimizedStagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType | string;
|
|
2312
2317
|
}
|
|
2313
2318
|
export declare namespace ReplicationConfigurationReplicatedDisk {
|
|
2314
2319
|
/**
|
|
@@ -450,6 +450,7 @@ export declare enum ReplicationConfigurationDataPlaneRouting {
|
|
|
450
450
|
PUBLIC_IP = "PUBLIC_IP"
|
|
451
451
|
}
|
|
452
452
|
export declare enum ReplicationConfigurationDefaultLargeStagingDiskType {
|
|
453
|
+
AUTO = "AUTO",
|
|
453
454
|
GP2 = "GP2",
|
|
454
455
|
GP3 = "GP3",
|
|
455
456
|
ST1 = "ST1"
|
|
@@ -1422,6 +1423,8 @@ export interface ReplicationConfigurationReplicatedDisk {
|
|
|
1422
1423
|
iops?: number;
|
|
1423
1424
|
|
|
1424
1425
|
throughput?: number;
|
|
1426
|
+
|
|
1427
|
+
optimizedStagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType | string;
|
|
1425
1428
|
}
|
|
1426
1429
|
export declare namespace ReplicationConfigurationReplicatedDisk {
|
|
1427
1430
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-drs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Drs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.131.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",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.131.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.131.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
31
|
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|