@aws-sdk/client-dlm 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +16 -16
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +37 -29
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +21 -17
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dlm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dlm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -51,9 +51,13 @@ import {
|
|
|
51
51
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
52
52
|
import {
|
|
53
53
|
expectBoolean as __expectBoolean,
|
|
54
|
-
|
|
54
|
+
expectInt32 as __expectInt32,
|
|
55
|
+
expectNonNull as __expectNonNull,
|
|
56
|
+
expectNumber as __expectNumber,
|
|
57
|
+
expectObject as __expectObject,
|
|
55
58
|
expectString as __expectString,
|
|
56
59
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
60
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
57
61
|
} from "@aws-sdk/smithy-client";
|
|
58
62
|
import {
|
|
59
63
|
Endpoint as __Endpoint,
|
|
@@ -324,7 +328,7 @@ export const deserializeAws_restJson1CreateLifecyclePolicyCommand = async (
|
|
|
324
328
|
$metadata: deserializeMetadata(output),
|
|
325
329
|
PolicyId: undefined,
|
|
326
330
|
};
|
|
327
|
-
const data: any = await parseBody(output.body, context);
|
|
331
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
328
332
|
if (data.PolicyId !== undefined && data.PolicyId !== null) {
|
|
329
333
|
contents.PolicyId = __expectString(data.PolicyId);
|
|
330
334
|
}
|
|
@@ -462,7 +466,7 @@ export const deserializeAws_restJson1GetLifecyclePoliciesCommand = async (
|
|
|
462
466
|
$metadata: deserializeMetadata(output),
|
|
463
467
|
Policies: undefined,
|
|
464
468
|
};
|
|
465
|
-
const data: any = await parseBody(output.body, context);
|
|
469
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
466
470
|
if (data.Policies !== undefined && data.Policies !== null) {
|
|
467
471
|
contents.Policies = deserializeAws_restJson1LifecyclePolicySummaryList(data.Policies, context);
|
|
468
472
|
}
|
|
@@ -541,7 +545,7 @@ export const deserializeAws_restJson1GetLifecyclePolicyCommand = async (
|
|
|
541
545
|
$metadata: deserializeMetadata(output),
|
|
542
546
|
Policy: undefined,
|
|
543
547
|
};
|
|
544
|
-
const data: any = await parseBody(output.body, context);
|
|
548
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
545
549
|
if (data.Policy !== undefined && data.Policy !== null) {
|
|
546
550
|
contents.Policy = deserializeAws_restJson1LifecyclePolicy(data.Policy, context);
|
|
547
551
|
}
|
|
@@ -612,7 +616,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
|
|
|
612
616
|
$metadata: deserializeMetadata(output),
|
|
613
617
|
Tags: undefined,
|
|
614
618
|
};
|
|
615
|
-
const data: any = await parseBody(output.body, context);
|
|
619
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
616
620
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
617
621
|
contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
|
|
618
622
|
}
|
|
@@ -1413,7 +1417,7 @@ const deserializeAws_restJson1AvailabilityZoneList = (output: any, context: __Se
|
|
|
1413
1417
|
const deserializeAws_restJson1CreateRule = (output: any, context: __SerdeContext): CreateRule => {
|
|
1414
1418
|
return {
|
|
1415
1419
|
CronExpression: __expectString(output.CronExpression),
|
|
1416
|
-
Interval:
|
|
1420
|
+
Interval: __expectInt32(output.Interval),
|
|
1417
1421
|
IntervalUnit: __expectString(output.IntervalUnit),
|
|
1418
1422
|
Location: __expectString(output.Location),
|
|
1419
1423
|
Times:
|
|
@@ -1456,7 +1460,7 @@ const deserializeAws_restJson1CrossRegionCopyDeprecateRule = (
|
|
|
1456
1460
|
context: __SerdeContext
|
|
1457
1461
|
): CrossRegionCopyDeprecateRule => {
|
|
1458
1462
|
return {
|
|
1459
|
-
Interval:
|
|
1463
|
+
Interval: __expectInt32(output.Interval),
|
|
1460
1464
|
IntervalUnit: __expectString(output.IntervalUnit),
|
|
1461
1465
|
} as any;
|
|
1462
1466
|
};
|
|
@@ -1466,7 +1470,7 @@ const deserializeAws_restJson1CrossRegionCopyRetainRule = (
|
|
|
1466
1470
|
context: __SerdeContext
|
|
1467
1471
|
): CrossRegionCopyRetainRule => {
|
|
1468
1472
|
return {
|
|
1469
|
-
Interval:
|
|
1473
|
+
Interval: __expectInt32(output.Interval),
|
|
1470
1474
|
IntervalUnit: __expectString(output.IntervalUnit),
|
|
1471
1475
|
} as any;
|
|
1472
1476
|
};
|
|
@@ -1502,8 +1506,8 @@ const deserializeAws_restJson1CrossRegionCopyRules = (output: any, context: __Se
|
|
|
1502
1506
|
|
|
1503
1507
|
const deserializeAws_restJson1DeprecateRule = (output: any, context: __SerdeContext): DeprecateRule => {
|
|
1504
1508
|
return {
|
|
1505
|
-
Count:
|
|
1506
|
-
Interval:
|
|
1509
|
+
Count: __expectInt32(output.Count),
|
|
1510
|
+
Interval: __expectInt32(output.Interval),
|
|
1507
1511
|
IntervalUnit: __expectString(output.IntervalUnit),
|
|
1508
1512
|
} as any;
|
|
1509
1513
|
};
|
|
@@ -1545,8 +1549,8 @@ const deserializeAws_restJson1FastRestoreRule = (output: any, context: __SerdeCo
|
|
|
1545
1549
|
output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
|
|
1546
1550
|
? deserializeAws_restJson1AvailabilityZoneList(output.AvailabilityZones, context)
|
|
1547
1551
|
: undefined,
|
|
1548
|
-
Count:
|
|
1549
|
-
Interval:
|
|
1552
|
+
Count: __expectInt32(output.Count),
|
|
1553
|
+
Interval: __expectInt32(output.Interval),
|
|
1550
1554
|
IntervalUnit: __expectString(output.IntervalUnit),
|
|
1551
1555
|
} as any;
|
|
1552
1556
|
};
|
|
@@ -1555,11 +1559,11 @@ const deserializeAws_restJson1LifecyclePolicy = (output: any, context: __SerdeCo
|
|
|
1555
1559
|
return {
|
|
1556
1560
|
DateCreated:
|
|
1557
1561
|
output.DateCreated !== undefined && output.DateCreated !== null
|
|
1558
|
-
?
|
|
1562
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
1559
1563
|
: undefined,
|
|
1560
1564
|
DateModified:
|
|
1561
1565
|
output.DateModified !== undefined && output.DateModified !== null
|
|
1562
|
-
?
|
|
1566
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
1563
1567
|
: undefined,
|
|
1564
1568
|
Description: __expectString(output.Description),
|
|
1565
1569
|
ExecutionRoleArn: __expectString(output.ExecutionRoleArn),
|
|
@@ -1701,8 +1705,8 @@ const deserializeAws_restJson1ResourceTypeValuesList = (
|
|
|
1701
1705
|
|
|
1702
1706
|
const deserializeAws_restJson1RetainRule = (output: any, context: __SerdeContext): RetainRule => {
|
|
1703
1707
|
return {
|
|
1704
|
-
Count:
|
|
1705
|
-
Interval:
|
|
1708
|
+
Count: __expectInt32(output.Count),
|
|
1709
|
+
Interval: __expectInt32(output.Interval),
|
|
1706
1710
|
IntervalUnit: __expectString(output.IntervalUnit),
|
|
1707
1711
|
} as any;
|
|
1708
1712
|
};
|
|
@@ -1763,7 +1767,7 @@ const deserializeAws_restJson1ShareRule = (output: any, context: __SerdeContext)
|
|
|
1763
1767
|
output.TargetAccounts !== undefined && output.TargetAccounts !== null
|
|
1764
1768
|
? deserializeAws_restJson1ShareTargetAccountList(output.TargetAccounts, context)
|
|
1765
1769
|
: undefined,
|
|
1766
|
-
UnshareInterval:
|
|
1770
|
+
UnshareInterval: __expectInt32(output.UnshareInterval),
|
|
1767
1771
|
UnshareIntervalUnit: __expectString(output.UnshareIntervalUnit),
|
|
1768
1772
|
} as any;
|
|
1769
1773
|
};
|