@aws-sdk/client-backup 3.353.0 → 3.357.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.
|
@@ -1585,7 +1585,7 @@ const de_CancelLegalHoldCommand = async (output, context) => {
|
|
|
1585
1585
|
const contents = (0, smithy_client_1.map)({
|
|
1586
1586
|
$metadata: deserializeMetadata(output),
|
|
1587
1587
|
});
|
|
1588
|
-
await collectBody(output.body, context);
|
|
1588
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1589
1589
|
return contents;
|
|
1590
1590
|
};
|
|
1591
1591
|
exports.de_CancelLegalHoldCommand = de_CancelLegalHoldCommand;
|
|
@@ -1966,7 +1966,7 @@ const de_DeleteBackupSelectionCommand = async (output, context) => {
|
|
|
1966
1966
|
const contents = (0, smithy_client_1.map)({
|
|
1967
1967
|
$metadata: deserializeMetadata(output),
|
|
1968
1968
|
});
|
|
1969
|
-
await collectBody(output.body, context);
|
|
1969
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1970
1970
|
return contents;
|
|
1971
1971
|
};
|
|
1972
1972
|
exports.de_DeleteBackupSelectionCommand = de_DeleteBackupSelectionCommand;
|
|
@@ -2005,7 +2005,7 @@ const de_DeleteBackupVaultCommand = async (output, context) => {
|
|
|
2005
2005
|
const contents = (0, smithy_client_1.map)({
|
|
2006
2006
|
$metadata: deserializeMetadata(output),
|
|
2007
2007
|
});
|
|
2008
|
-
await collectBody(output.body, context);
|
|
2008
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2009
2009
|
return contents;
|
|
2010
2010
|
};
|
|
2011
2011
|
exports.de_DeleteBackupVaultCommand = de_DeleteBackupVaultCommand;
|
|
@@ -2047,7 +2047,7 @@ const de_DeleteBackupVaultAccessPolicyCommand = async (output, context) => {
|
|
|
2047
2047
|
const contents = (0, smithy_client_1.map)({
|
|
2048
2048
|
$metadata: deserializeMetadata(output),
|
|
2049
2049
|
});
|
|
2050
|
-
await collectBody(output.body, context);
|
|
2050
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2051
2051
|
return contents;
|
|
2052
2052
|
};
|
|
2053
2053
|
exports.de_DeleteBackupVaultAccessPolicyCommand = de_DeleteBackupVaultAccessPolicyCommand;
|
|
@@ -2086,7 +2086,7 @@ const de_DeleteBackupVaultLockConfigurationCommand = async (output, context) =>
|
|
|
2086
2086
|
const contents = (0, smithy_client_1.map)({
|
|
2087
2087
|
$metadata: deserializeMetadata(output),
|
|
2088
2088
|
});
|
|
2089
|
-
await collectBody(output.body, context);
|
|
2089
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2090
2090
|
return contents;
|
|
2091
2091
|
};
|
|
2092
2092
|
exports.de_DeleteBackupVaultLockConfigurationCommand = de_DeleteBackupVaultLockConfigurationCommand;
|
|
@@ -2128,7 +2128,7 @@ const de_DeleteBackupVaultNotificationsCommand = async (output, context) => {
|
|
|
2128
2128
|
const contents = (0, smithy_client_1.map)({
|
|
2129
2129
|
$metadata: deserializeMetadata(output),
|
|
2130
2130
|
});
|
|
2131
|
-
await collectBody(output.body, context);
|
|
2131
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2132
2132
|
return contents;
|
|
2133
2133
|
};
|
|
2134
2134
|
exports.de_DeleteBackupVaultNotificationsCommand = de_DeleteBackupVaultNotificationsCommand;
|
|
@@ -2167,7 +2167,7 @@ const de_DeleteFrameworkCommand = async (output, context) => {
|
|
|
2167
2167
|
const contents = (0, smithy_client_1.map)({
|
|
2168
2168
|
$metadata: deserializeMetadata(output),
|
|
2169
2169
|
});
|
|
2170
|
-
await collectBody(output.body, context);
|
|
2170
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2171
2171
|
return contents;
|
|
2172
2172
|
};
|
|
2173
2173
|
exports.de_DeleteFrameworkCommand = de_DeleteFrameworkCommand;
|
|
@@ -2209,7 +2209,7 @@ const de_DeleteRecoveryPointCommand = async (output, context) => {
|
|
|
2209
2209
|
const contents = (0, smithy_client_1.map)({
|
|
2210
2210
|
$metadata: deserializeMetadata(output),
|
|
2211
2211
|
});
|
|
2212
|
-
await collectBody(output.body, context);
|
|
2212
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2213
2213
|
return contents;
|
|
2214
2214
|
};
|
|
2215
2215
|
exports.de_DeleteRecoveryPointCommand = de_DeleteRecoveryPointCommand;
|
|
@@ -2254,7 +2254,7 @@ const de_DeleteReportPlanCommand = async (output, context) => {
|
|
|
2254
2254
|
const contents = (0, smithy_client_1.map)({
|
|
2255
2255
|
$metadata: deserializeMetadata(output),
|
|
2256
2256
|
});
|
|
2257
|
-
await collectBody(output.body, context);
|
|
2257
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2258
2258
|
return contents;
|
|
2259
2259
|
};
|
|
2260
2260
|
exports.de_DeleteReportPlanCommand = de_DeleteReportPlanCommand;
|
|
@@ -2836,7 +2836,7 @@ const de_DisassociateRecoveryPointCommand = async (output, context) => {
|
|
|
2836
2836
|
const contents = (0, smithy_client_1.map)({
|
|
2837
2837
|
$metadata: deserializeMetadata(output),
|
|
2838
2838
|
});
|
|
2839
|
-
await collectBody(output.body, context);
|
|
2839
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2840
2840
|
return contents;
|
|
2841
2841
|
};
|
|
2842
2842
|
exports.de_DisassociateRecoveryPointCommand = de_DisassociateRecoveryPointCommand;
|
|
@@ -2881,7 +2881,7 @@ const de_DisassociateRecoveryPointFromParentCommand = async (output, context) =>
|
|
|
2881
2881
|
const contents = (0, smithy_client_1.map)({
|
|
2882
2882
|
$metadata: deserializeMetadata(output),
|
|
2883
2883
|
});
|
|
2884
|
-
await collectBody(output.body, context);
|
|
2884
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2885
2885
|
return contents;
|
|
2886
2886
|
};
|
|
2887
2887
|
exports.de_DisassociateRecoveryPointFromParentCommand = de_DisassociateRecoveryPointFromParentCommand;
|
|
@@ -4081,7 +4081,7 @@ const de_PutBackupVaultAccessPolicyCommand = async (output, context) => {
|
|
|
4081
4081
|
const contents = (0, smithy_client_1.map)({
|
|
4082
4082
|
$metadata: deserializeMetadata(output),
|
|
4083
4083
|
});
|
|
4084
|
-
await collectBody(output.body, context);
|
|
4084
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4085
4085
|
return contents;
|
|
4086
4086
|
};
|
|
4087
4087
|
exports.de_PutBackupVaultAccessPolicyCommand = de_PutBackupVaultAccessPolicyCommand;
|
|
@@ -4120,7 +4120,7 @@ const de_PutBackupVaultLockConfigurationCommand = async (output, context) => {
|
|
|
4120
4120
|
const contents = (0, smithy_client_1.map)({
|
|
4121
4121
|
$metadata: deserializeMetadata(output),
|
|
4122
4122
|
});
|
|
4123
|
-
await collectBody(output.body, context);
|
|
4123
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4124
4124
|
return contents;
|
|
4125
4125
|
};
|
|
4126
4126
|
exports.de_PutBackupVaultLockConfigurationCommand = de_PutBackupVaultLockConfigurationCommand;
|
|
@@ -4162,7 +4162,7 @@ const de_PutBackupVaultNotificationsCommand = async (output, context) => {
|
|
|
4162
4162
|
const contents = (0, smithy_client_1.map)({
|
|
4163
4163
|
$metadata: deserializeMetadata(output),
|
|
4164
4164
|
});
|
|
4165
|
-
await collectBody(output.body, context);
|
|
4165
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4166
4166
|
return contents;
|
|
4167
4167
|
};
|
|
4168
4168
|
exports.de_PutBackupVaultNotificationsCommand = de_PutBackupVaultNotificationsCommand;
|
|
@@ -4393,7 +4393,7 @@ const de_StopBackupJobCommand = async (output, context) => {
|
|
|
4393
4393
|
const contents = (0, smithy_client_1.map)({
|
|
4394
4394
|
$metadata: deserializeMetadata(output),
|
|
4395
4395
|
});
|
|
4396
|
-
await collectBody(output.body, context);
|
|
4396
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4397
4397
|
return contents;
|
|
4398
4398
|
};
|
|
4399
4399
|
exports.de_StopBackupJobCommand = de_StopBackupJobCommand;
|
|
@@ -4435,7 +4435,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
4435
4435
|
const contents = (0, smithy_client_1.map)({
|
|
4436
4436
|
$metadata: deserializeMetadata(output),
|
|
4437
4437
|
});
|
|
4438
|
-
await collectBody(output.body, context);
|
|
4438
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4439
4439
|
return contents;
|
|
4440
4440
|
};
|
|
4441
4441
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -4477,7 +4477,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
4477
4477
|
const contents = (0, smithy_client_1.map)({
|
|
4478
4478
|
$metadata: deserializeMetadata(output),
|
|
4479
4479
|
});
|
|
4480
|
-
await collectBody(output.body, context);
|
|
4480
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4481
4481
|
return contents;
|
|
4482
4482
|
};
|
|
4483
4483
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -4617,7 +4617,7 @@ const de_UpdateGlobalSettingsCommand = async (output, context) => {
|
|
|
4617
4617
|
const contents = (0, smithy_client_1.map)({
|
|
4618
4618
|
$metadata: deserializeMetadata(output),
|
|
4619
4619
|
});
|
|
4620
|
-
await collectBody(output.body, context);
|
|
4620
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4621
4621
|
return contents;
|
|
4622
4622
|
};
|
|
4623
4623
|
exports.de_UpdateGlobalSettingsCommand = de_UpdateGlobalSettingsCommand;
|
|
@@ -4705,7 +4705,7 @@ const de_UpdateRegionSettingsCommand = async (output, context) => {
|
|
|
4705
4705
|
const contents = (0, smithy_client_1.map)({
|
|
4706
4706
|
$metadata: deserializeMetadata(output),
|
|
4707
4707
|
});
|
|
4708
|
-
await collectBody(output.body, context);
|
|
4708
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4709
4709
|
return contents;
|
|
4710
4710
|
};
|
|
4711
4711
|
exports.de_UpdateRegionSettingsCommand = de_UpdateRegionSettingsCommand;
|
|
@@ -5295,13 +5295,7 @@ const deserializeMetadata = (output) => ({
|
|
|
5295
5295
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5296
5296
|
cfId: output.headers["x-amz-cf-id"],
|
|
5297
5297
|
});
|
|
5298
|
-
const
|
|
5299
|
-
if (streamBody instanceof Uint8Array) {
|
|
5300
|
-
return Promise.resolve(streamBody);
|
|
5301
|
-
}
|
|
5302
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5303
|
-
};
|
|
5304
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5298
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5305
5299
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
5306
5300
|
value !== null &&
|
|
5307
5301
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { BackupServiceException as __BaseException } from "../models/BackupServiceException";
|
|
@@ -5146,12 +5146,6 @@ const deserializeMetadata = (output) => ({
|
|
|
5146
5146
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5147
5147
|
cfId: output.headers["x-amz-cf-id"],
|
|
5148
5148
|
});
|
|
5149
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
5150
|
-
if (streamBody instanceof Uint8Array) {
|
|
5151
|
-
return Promise.resolve(streamBody);
|
|
5152
|
-
}
|
|
5153
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5154
|
-
};
|
|
5155
5149
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5156
5150
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
5157
5151
|
value !== null &&
|
|
@@ -145,7 +145,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
145
145
|
*/
|
|
146
146
|
runtime?: string;
|
|
147
147
|
/**
|
|
148
|
-
* Disable
|
|
148
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
149
149
|
* trait of an operation.
|
|
150
150
|
*/
|
|
151
151
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backup",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.357.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",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.357.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.357.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|