@aws-sdk/client-signer 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 +32 -32
- package/dist/cjs/protocols/Aws_restJson1.js +24 -24
- 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 +32 -32
- package/dist/es/protocols/Aws_restJson1.js +85 -61
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_restJson1.ts +29 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-signer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-signer
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-signer
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-signer
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-signer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Signer 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,40 +27,40 @@
|
|
|
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.
|
|
58
|
-
"@aws-sdk/util-waiter": "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
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
59
59
|
"tslib": "^2.3.0",
|
|
60
60
|
"uuid": "^8.3.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
63
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
64
64
|
"@types/node": "^12.7.5",
|
|
65
65
|
"@types/uuid": "^8.3.0",
|
|
66
66
|
"downlevel-dts": "0.7.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"rimraf": "^3.0.0",
|
|
69
69
|
"ts-jest": "^26.4.1",
|
|
70
70
|
"typedoc": "^0.19.2",
|
|
71
|
-
"typescript": "~4.3.
|
|
71
|
+
"typescript": "~4.3.5"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=10.0.0"
|
|
@@ -539,7 +539,7 @@ const deserializeAws_restJson1AddProfilePermissionCommand = async (output, conte
|
|
|
539
539
|
$metadata: deserializeMetadata(output),
|
|
540
540
|
revisionId: undefined,
|
|
541
541
|
};
|
|
542
|
-
const data = await parseBody(output.body, context);
|
|
542
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
543
543
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
544
544
|
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
545
545
|
}
|
|
@@ -721,12 +721,12 @@ const deserializeAws_restJson1DescribeSigningJobCommand = async (output, context
|
|
|
721
721
|
status: undefined,
|
|
722
722
|
statusReason: undefined,
|
|
723
723
|
};
|
|
724
|
-
const data = await parseBody(output.body, context);
|
|
724
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
725
725
|
if (data.completedAt !== undefined && data.completedAt !== null) {
|
|
726
|
-
contents.completedAt =
|
|
726
|
+
contents.completedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.completedAt)));
|
|
727
727
|
}
|
|
728
728
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
729
|
-
contents.createdAt =
|
|
729
|
+
contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
|
|
730
730
|
}
|
|
731
731
|
if (data.jobId !== undefined && data.jobId !== null) {
|
|
732
732
|
contents.jobId = smithy_client_1.expectString(data.jobId);
|
|
@@ -759,7 +759,7 @@ const deserializeAws_restJson1DescribeSigningJobCommand = async (output, context
|
|
|
759
759
|
contents.revocationRecord = deserializeAws_restJson1SigningJobRevocationRecord(data.revocationRecord, context);
|
|
760
760
|
}
|
|
761
761
|
if (data.signatureExpiresAt !== undefined && data.signatureExpiresAt !== null) {
|
|
762
|
-
contents.signatureExpiresAt =
|
|
762
|
+
contents.signatureExpiresAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.signatureExpiresAt)));
|
|
763
763
|
}
|
|
764
764
|
if (data.signedObject !== undefined && data.signedObject !== null) {
|
|
765
765
|
contents.signedObject = deserializeAws_restJson1SignedObject(data.signedObject, context);
|
|
@@ -855,7 +855,7 @@ const deserializeAws_restJson1GetSigningPlatformCommand = async (output, context
|
|
|
855
855
|
signingImageFormat: undefined,
|
|
856
856
|
target: undefined,
|
|
857
857
|
};
|
|
858
|
-
const data = await parseBody(output.body, context);
|
|
858
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
859
859
|
if (data.category !== undefined && data.category !== null) {
|
|
860
860
|
contents.category = smithy_client_1.expectString(data.category);
|
|
861
861
|
}
|
|
@@ -863,7 +863,7 @@ const deserializeAws_restJson1GetSigningPlatformCommand = async (output, context
|
|
|
863
863
|
contents.displayName = smithy_client_1.expectString(data.displayName);
|
|
864
864
|
}
|
|
865
865
|
if (data.maxSizeInMB !== undefined && data.maxSizeInMB !== null) {
|
|
866
|
-
contents.maxSizeInMB = smithy_client_1.
|
|
866
|
+
contents.maxSizeInMB = smithy_client_1.expectInt32(data.maxSizeInMB);
|
|
867
867
|
}
|
|
868
868
|
if (data.partner !== undefined && data.partner !== null) {
|
|
869
869
|
contents.partner = smithy_client_1.expectString(data.partner);
|
|
@@ -964,7 +964,7 @@ const deserializeAws_restJson1GetSigningProfileCommand = async (output, context)
|
|
|
964
964
|
statusReason: undefined,
|
|
965
965
|
tags: undefined,
|
|
966
966
|
};
|
|
967
|
-
const data = await parseBody(output.body, context);
|
|
967
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
968
968
|
if (data.arn !== undefined && data.arn !== null) {
|
|
969
969
|
contents.arn = smithy_client_1.expectString(data.arn);
|
|
970
970
|
}
|
|
@@ -1078,7 +1078,7 @@ const deserializeAws_restJson1ListProfilePermissionsCommand = async (output, con
|
|
|
1078
1078
|
policySizeBytes: undefined,
|
|
1079
1079
|
revisionId: undefined,
|
|
1080
1080
|
};
|
|
1081
|
-
const data = await parseBody(output.body, context);
|
|
1081
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1082
1082
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1083
1083
|
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1084
1084
|
}
|
|
@@ -1086,7 +1086,7 @@ const deserializeAws_restJson1ListProfilePermissionsCommand = async (output, con
|
|
|
1086
1086
|
contents.permissions = deserializeAws_restJson1Permissions(data.permissions, context);
|
|
1087
1087
|
}
|
|
1088
1088
|
if (data.policySizeBytes !== undefined && data.policySizeBytes !== null) {
|
|
1089
|
-
contents.policySizeBytes = smithy_client_1.
|
|
1089
|
+
contents.policySizeBytes = smithy_client_1.expectInt32(data.policySizeBytes);
|
|
1090
1090
|
}
|
|
1091
1091
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
1092
1092
|
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
@@ -1168,7 +1168,7 @@ const deserializeAws_restJson1ListSigningJobsCommand = async (output, context) =
|
|
|
1168
1168
|
jobs: undefined,
|
|
1169
1169
|
nextToken: undefined,
|
|
1170
1170
|
};
|
|
1171
|
-
const data = await parseBody(output.body, context);
|
|
1171
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1172
1172
|
if (data.jobs !== undefined && data.jobs !== null) {
|
|
1173
1173
|
contents.jobs = deserializeAws_restJson1SigningJobs(data.jobs, context);
|
|
1174
1174
|
}
|
|
@@ -1244,7 +1244,7 @@ const deserializeAws_restJson1ListSigningPlatformsCommand = async (output, conte
|
|
|
1244
1244
|
nextToken: undefined,
|
|
1245
1245
|
platforms: undefined,
|
|
1246
1246
|
};
|
|
1247
|
-
const data = await parseBody(output.body, context);
|
|
1247
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1248
1248
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1249
1249
|
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1250
1250
|
}
|
|
@@ -1320,7 +1320,7 @@ const deserializeAws_restJson1ListSigningProfilesCommand = async (output, contex
|
|
|
1320
1320
|
nextToken: undefined,
|
|
1321
1321
|
profiles: undefined,
|
|
1322
1322
|
};
|
|
1323
|
-
const data = await parseBody(output.body, context);
|
|
1323
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1324
1324
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1325
1325
|
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1326
1326
|
}
|
|
@@ -1387,7 +1387,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1387
1387
|
$metadata: deserializeMetadata(output),
|
|
1388
1388
|
tags: undefined,
|
|
1389
1389
|
};
|
|
1390
|
-
const data = await parseBody(output.body, context);
|
|
1390
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1391
1391
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1392
1392
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
1393
1393
|
}
|
|
@@ -1461,7 +1461,7 @@ const deserializeAws_restJson1PutSigningProfileCommand = async (output, context)
|
|
|
1461
1461
|
profileVersion: undefined,
|
|
1462
1462
|
profileVersionArn: undefined,
|
|
1463
1463
|
};
|
|
1464
|
-
const data = await parseBody(output.body, context);
|
|
1464
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1465
1465
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1466
1466
|
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1467
1467
|
}
|
|
@@ -1547,7 +1547,7 @@ const deserializeAws_restJson1RemoveProfilePermissionCommand = async (output, co
|
|
|
1547
1547
|
$metadata: deserializeMetadata(output),
|
|
1548
1548
|
revisionId: undefined,
|
|
1549
1549
|
};
|
|
1550
|
-
const data = await parseBody(output.body, context);
|
|
1550
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1551
1551
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
1552
1552
|
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
1553
1553
|
}
|
|
@@ -1788,7 +1788,7 @@ const deserializeAws_restJson1StartSigningJobCommand = async (output, context) =
|
|
|
1788
1788
|
jobId: undefined,
|
|
1789
1789
|
jobOwner: undefined,
|
|
1790
1790
|
};
|
|
1791
|
-
const data = await parseBody(output.body, context);
|
|
1791
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1792
1792
|
if (data.jobId !== undefined && data.jobId !== null) {
|
|
1793
1793
|
contents.jobId = smithy_client_1.expectString(data.jobId);
|
|
1794
1794
|
}
|
|
@@ -2331,7 +2331,7 @@ const deserializeAws_restJson1S3Source = (output, context) => {
|
|
|
2331
2331
|
const deserializeAws_restJson1SignatureValidityPeriod = (output, context) => {
|
|
2332
2332
|
return {
|
|
2333
2333
|
type: smithy_client_1.expectString(output.type),
|
|
2334
|
-
value: smithy_client_1.
|
|
2334
|
+
value: smithy_client_1.expectInt32(output.value),
|
|
2335
2335
|
};
|
|
2336
2336
|
};
|
|
2337
2337
|
const deserializeAws_restJson1SignedObject = (output, context) => {
|
|
@@ -2368,7 +2368,7 @@ const deserializeAws_restJson1SigningImageFormat = (output, context) => {
|
|
|
2368
2368
|
const deserializeAws_restJson1SigningJob = (output, context) => {
|
|
2369
2369
|
return {
|
|
2370
2370
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
2371
|
-
?
|
|
2371
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
2372
2372
|
: undefined,
|
|
2373
2373
|
isRevoked: smithy_client_1.expectBoolean(output.isRevoked),
|
|
2374
2374
|
jobId: smithy_client_1.expectString(output.jobId),
|
|
@@ -2379,7 +2379,7 @@ const deserializeAws_restJson1SigningJob = (output, context) => {
|
|
|
2379
2379
|
profileName: smithy_client_1.expectString(output.profileName),
|
|
2380
2380
|
profileVersion: smithy_client_1.expectString(output.profileVersion),
|
|
2381
2381
|
signatureExpiresAt: output.signatureExpiresAt !== undefined && output.signatureExpiresAt !== null
|
|
2382
|
-
?
|
|
2382
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.signatureExpiresAt)))
|
|
2383
2383
|
: undefined,
|
|
2384
2384
|
signedObject: output.signedObject !== undefined && output.signedObject !== null
|
|
2385
2385
|
? deserializeAws_restJson1SignedObject(output.signedObject, context)
|
|
@@ -2397,7 +2397,7 @@ const deserializeAws_restJson1SigningJobRevocationRecord = (output, context) =>
|
|
|
2397
2397
|
return {
|
|
2398
2398
|
reason: smithy_client_1.expectString(output.reason),
|
|
2399
2399
|
revokedAt: output.revokedAt !== undefined && output.revokedAt !== null
|
|
2400
|
-
?
|
|
2400
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.revokedAt)))
|
|
2401
2401
|
: undefined,
|
|
2402
2402
|
revokedBy: smithy_client_1.expectString(output.revokedBy),
|
|
2403
2403
|
};
|
|
@@ -2432,7 +2432,7 @@ const deserializeAws_restJson1SigningPlatform = (output, context) => {
|
|
|
2432
2432
|
return {
|
|
2433
2433
|
category: smithy_client_1.expectString(output.category),
|
|
2434
2434
|
displayName: smithy_client_1.expectString(output.displayName),
|
|
2435
|
-
maxSizeInMB: smithy_client_1.
|
|
2435
|
+
maxSizeInMB: smithy_client_1.expectInt32(output.maxSizeInMB),
|
|
2436
2436
|
partner: smithy_client_1.expectString(output.partner),
|
|
2437
2437
|
platformId: smithy_client_1.expectString(output.platformId),
|
|
2438
2438
|
revocationSupported: smithy_client_1.expectBoolean(output.revocationSupported),
|
|
@@ -2489,10 +2489,10 @@ const deserializeAws_restJson1SigningProfile = (output, context) => {
|
|
|
2489
2489
|
const deserializeAws_restJson1SigningProfileRevocationRecord = (output, context) => {
|
|
2490
2490
|
return {
|
|
2491
2491
|
revocationEffectiveFrom: output.revocationEffectiveFrom !== undefined && output.revocationEffectiveFrom !== null
|
|
2492
|
-
?
|
|
2492
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.revocationEffectiveFrom)))
|
|
2493
2493
|
: undefined,
|
|
2494
2494
|
revokedAt: output.revokedAt !== undefined && output.revokedAt !== null
|
|
2495
|
-
?
|
|
2495
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.revokedAt)))
|
|
2496
2496
|
: undefined,
|
|
2497
2497
|
revokedBy: smithy_client_1.expectString(output.revokedBy),
|
|
2498
2498
|
};
|