@aws-sdk/client-synthetics 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 +24 -20
- 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 +60 -42
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +30 -21
package/dist/es/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-synthetics",
|
|
3
3
|
"description": "AWS SDK for JavaScript Synthetics 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"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean,
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_restJson1CreateCanaryCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
6
6
|
return __generator(this, function (_c) {
|
|
@@ -416,9 +416,9 @@ export var serializeAws_restJson1UpdateCanaryCommand = function (input, context)
|
|
|
416
416
|
});
|
|
417
417
|
}); };
|
|
418
418
|
export var deserializeAws_restJson1CreateCanaryCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
419
|
-
var contents, data;
|
|
420
|
-
return __generator(this, function (
|
|
421
|
-
switch (
|
|
419
|
+
var contents, data, _a, _b;
|
|
420
|
+
return __generator(this, function (_c) {
|
|
421
|
+
switch (_c.label) {
|
|
422
422
|
case 0:
|
|
423
423
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
424
424
|
return [2 /*return*/, deserializeAws_restJson1CreateCanaryCommandError(output, context)];
|
|
@@ -427,9 +427,11 @@ export var deserializeAws_restJson1CreateCanaryCommand = function (output, conte
|
|
|
427
427
|
$metadata: deserializeMetadata(output),
|
|
428
428
|
Canary: undefined,
|
|
429
429
|
};
|
|
430
|
+
_a = __expectNonNull;
|
|
431
|
+
_b = __expectObject;
|
|
430
432
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
431
433
|
case 1:
|
|
432
|
-
data = _a.sent();
|
|
434
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
433
435
|
if (data.Canary !== undefined && data.Canary !== null) {
|
|
434
436
|
contents.Canary = deserializeAws_restJson1Canary(data.Canary, context);
|
|
435
437
|
}
|
|
@@ -564,9 +566,9 @@ var deserializeAws_restJson1DeleteCanaryCommandError = function (output, context
|
|
|
564
566
|
});
|
|
565
567
|
}); };
|
|
566
568
|
export var deserializeAws_restJson1DescribeCanariesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
567
|
-
var contents, data;
|
|
568
|
-
return __generator(this, function (
|
|
569
|
-
switch (
|
|
569
|
+
var contents, data, _a, _b;
|
|
570
|
+
return __generator(this, function (_c) {
|
|
571
|
+
switch (_c.label) {
|
|
570
572
|
case 0:
|
|
571
573
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
572
574
|
return [2 /*return*/, deserializeAws_restJson1DescribeCanariesCommandError(output, context)];
|
|
@@ -576,9 +578,11 @@ export var deserializeAws_restJson1DescribeCanariesCommand = function (output, c
|
|
|
576
578
|
Canaries: undefined,
|
|
577
579
|
NextToken: undefined,
|
|
578
580
|
};
|
|
581
|
+
_a = __expectNonNull;
|
|
582
|
+
_b = __expectObject;
|
|
579
583
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
580
584
|
case 1:
|
|
581
|
-
data = _a.sent();
|
|
585
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
582
586
|
if (data.Canaries !== undefined && data.Canaries !== null) {
|
|
583
587
|
contents.Canaries = deserializeAws_restJson1Canaries(data.Canaries, context);
|
|
584
588
|
}
|
|
@@ -636,9 +640,9 @@ var deserializeAws_restJson1DescribeCanariesCommandError = function (output, con
|
|
|
636
640
|
});
|
|
637
641
|
}); };
|
|
638
642
|
export var deserializeAws_restJson1DescribeCanariesLastRunCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
639
|
-
var contents, data;
|
|
640
|
-
return __generator(this, function (
|
|
641
|
-
switch (
|
|
643
|
+
var contents, data, _a, _b;
|
|
644
|
+
return __generator(this, function (_c) {
|
|
645
|
+
switch (_c.label) {
|
|
642
646
|
case 0:
|
|
643
647
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
644
648
|
return [2 /*return*/, deserializeAws_restJson1DescribeCanariesLastRunCommandError(output, context)];
|
|
@@ -648,9 +652,11 @@ export var deserializeAws_restJson1DescribeCanariesLastRunCommand = function (ou
|
|
|
648
652
|
CanariesLastRun: undefined,
|
|
649
653
|
NextToken: undefined,
|
|
650
654
|
};
|
|
655
|
+
_a = __expectNonNull;
|
|
656
|
+
_b = __expectObject;
|
|
651
657
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
652
658
|
case 1:
|
|
653
|
-
data = _a.sent();
|
|
659
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
654
660
|
if (data.CanariesLastRun !== undefined && data.CanariesLastRun !== null) {
|
|
655
661
|
contents.CanariesLastRun = deserializeAws_restJson1CanariesLastRun(data.CanariesLastRun, context);
|
|
656
662
|
}
|
|
@@ -708,9 +714,9 @@ var deserializeAws_restJson1DescribeCanariesLastRunCommandError = function (outp
|
|
|
708
714
|
});
|
|
709
715
|
}); };
|
|
710
716
|
export var deserializeAws_restJson1DescribeRuntimeVersionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
711
|
-
var contents, data;
|
|
712
|
-
return __generator(this, function (
|
|
713
|
-
switch (
|
|
717
|
+
var contents, data, _a, _b;
|
|
718
|
+
return __generator(this, function (_c) {
|
|
719
|
+
switch (_c.label) {
|
|
714
720
|
case 0:
|
|
715
721
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
716
722
|
return [2 /*return*/, deserializeAws_restJson1DescribeRuntimeVersionsCommandError(output, context)];
|
|
@@ -720,9 +726,11 @@ export var deserializeAws_restJson1DescribeRuntimeVersionsCommand = function (ou
|
|
|
720
726
|
NextToken: undefined,
|
|
721
727
|
RuntimeVersions: undefined,
|
|
722
728
|
};
|
|
729
|
+
_a = __expectNonNull;
|
|
730
|
+
_b = __expectObject;
|
|
723
731
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
724
732
|
case 1:
|
|
725
|
-
data = _a.sent();
|
|
733
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
726
734
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
727
735
|
contents.NextToken = __expectString(data.NextToken);
|
|
728
736
|
}
|
|
@@ -780,9 +788,9 @@ var deserializeAws_restJson1DescribeRuntimeVersionsCommandError = function (outp
|
|
|
780
788
|
});
|
|
781
789
|
}); };
|
|
782
790
|
export var deserializeAws_restJson1GetCanaryCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
783
|
-
var contents, data;
|
|
784
|
-
return __generator(this, function (
|
|
785
|
-
switch (
|
|
791
|
+
var contents, data, _a, _b;
|
|
792
|
+
return __generator(this, function (_c) {
|
|
793
|
+
switch (_c.label) {
|
|
786
794
|
case 0:
|
|
787
795
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
788
796
|
return [2 /*return*/, deserializeAws_restJson1GetCanaryCommandError(output, context)];
|
|
@@ -791,9 +799,11 @@ export var deserializeAws_restJson1GetCanaryCommand = function (output, context)
|
|
|
791
799
|
$metadata: deserializeMetadata(output),
|
|
792
800
|
Canary: undefined,
|
|
793
801
|
};
|
|
802
|
+
_a = __expectNonNull;
|
|
803
|
+
_b = __expectObject;
|
|
794
804
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
795
805
|
case 1:
|
|
796
|
-
data = _a.sent();
|
|
806
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
797
807
|
if (data.Canary !== undefined && data.Canary !== null) {
|
|
798
808
|
contents.Canary = deserializeAws_restJson1Canary(data.Canary, context);
|
|
799
809
|
}
|
|
@@ -848,9 +858,9 @@ var deserializeAws_restJson1GetCanaryCommandError = function (output, context) {
|
|
|
848
858
|
});
|
|
849
859
|
}); };
|
|
850
860
|
export var deserializeAws_restJson1GetCanaryRunsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
851
|
-
var contents, data;
|
|
852
|
-
return __generator(this, function (
|
|
853
|
-
switch (
|
|
861
|
+
var contents, data, _a, _b;
|
|
862
|
+
return __generator(this, function (_c) {
|
|
863
|
+
switch (_c.label) {
|
|
854
864
|
case 0:
|
|
855
865
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
856
866
|
return [2 /*return*/, deserializeAws_restJson1GetCanaryRunsCommandError(output, context)];
|
|
@@ -860,9 +870,11 @@ export var deserializeAws_restJson1GetCanaryRunsCommand = function (output, cont
|
|
|
860
870
|
CanaryRuns: undefined,
|
|
861
871
|
NextToken: undefined,
|
|
862
872
|
};
|
|
873
|
+
_a = __expectNonNull;
|
|
874
|
+
_b = __expectObject;
|
|
863
875
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
864
876
|
case 1:
|
|
865
|
-
data = _a.sent();
|
|
877
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
866
878
|
if (data.CanaryRuns !== undefined && data.CanaryRuns !== null) {
|
|
867
879
|
contents.CanaryRuns = deserializeAws_restJson1CanaryRuns(data.CanaryRuns, context);
|
|
868
880
|
}
|
|
@@ -928,9 +940,9 @@ var deserializeAws_restJson1GetCanaryRunsCommandError = function (output, contex
|
|
|
928
940
|
});
|
|
929
941
|
}); };
|
|
930
942
|
export var deserializeAws_restJson1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
931
|
-
var contents, data;
|
|
932
|
-
return __generator(this, function (
|
|
933
|
-
switch (
|
|
943
|
+
var contents, data, _a, _b;
|
|
944
|
+
return __generator(this, function (_c) {
|
|
945
|
+
switch (_c.label) {
|
|
934
946
|
case 0:
|
|
935
947
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
936
948
|
return [2 /*return*/, deserializeAws_restJson1ListTagsForResourceCommandError(output, context)];
|
|
@@ -939,9 +951,11 @@ export var deserializeAws_restJson1ListTagsForResourceCommand = function (output
|
|
|
939
951
|
$metadata: deserializeMetadata(output),
|
|
940
952
|
Tags: undefined,
|
|
941
953
|
};
|
|
954
|
+
_a = __expectNonNull;
|
|
955
|
+
_b = __expectObject;
|
|
942
956
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
943
957
|
case 1:
|
|
944
|
-
data = _a.sent();
|
|
958
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
945
959
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
946
960
|
contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
|
|
947
961
|
}
|
|
@@ -1602,7 +1616,7 @@ var deserializeAws_restJson1Canary = function (output, context) {
|
|
|
1602
1616
|
: undefined,
|
|
1603
1617
|
EngineArn: __expectString(output.EngineArn),
|
|
1604
1618
|
ExecutionRoleArn: __expectString(output.ExecutionRoleArn),
|
|
1605
|
-
FailureRetentionPeriodInDays:
|
|
1619
|
+
FailureRetentionPeriodInDays: __expectInt32(output.FailureRetentionPeriodInDays),
|
|
1606
1620
|
Id: __expectString(output.Id),
|
|
1607
1621
|
Name: __expectString(output.Name),
|
|
1608
1622
|
RunConfig: output.RunConfig !== undefined && output.RunConfig !== null
|
|
@@ -1615,7 +1629,7 @@ var deserializeAws_restJson1Canary = function (output, context) {
|
|
|
1615
1629
|
Status: output.Status !== undefined && output.Status !== null
|
|
1616
1630
|
? deserializeAws_restJson1CanaryStatus(output.Status, context)
|
|
1617
1631
|
: undefined,
|
|
1618
|
-
SuccessRetentionPeriodInDays:
|
|
1632
|
+
SuccessRetentionPeriodInDays: __expectInt32(output.SuccessRetentionPeriodInDays),
|
|
1619
1633
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
1620
1634
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
1621
1635
|
: undefined,
|
|
@@ -1660,8 +1674,8 @@ var deserializeAws_restJson1CanaryRun = function (output, context) {
|
|
|
1660
1674
|
var deserializeAws_restJson1CanaryRunConfigOutput = function (output, context) {
|
|
1661
1675
|
return {
|
|
1662
1676
|
ActiveTracing: __expectBoolean(output.ActiveTracing),
|
|
1663
|
-
MemoryInMB:
|
|
1664
|
-
TimeoutInSeconds:
|
|
1677
|
+
MemoryInMB: __expectInt32(output.MemoryInMB),
|
|
1678
|
+
TimeoutInSeconds: __expectInt32(output.TimeoutInSeconds),
|
|
1665
1679
|
};
|
|
1666
1680
|
};
|
|
1667
1681
|
var deserializeAws_restJson1CanaryRuns = function (output, context) {
|
|
@@ -1684,14 +1698,16 @@ var deserializeAws_restJson1CanaryRunStatus = function (output, context) {
|
|
|
1684
1698
|
var deserializeAws_restJson1CanaryRunTimeline = function (output, context) {
|
|
1685
1699
|
return {
|
|
1686
1700
|
Completed: output.Completed !== undefined && output.Completed !== null
|
|
1687
|
-
?
|
|
1701
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Completed)))
|
|
1702
|
+
: undefined,
|
|
1703
|
+
Started: output.Started !== undefined && output.Started !== null
|
|
1704
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Started)))
|
|
1688
1705
|
: undefined,
|
|
1689
|
-
Started: output.Started !== undefined && output.Started !== null ? new Date(Math.round(output.Started * 1000)) : undefined,
|
|
1690
1706
|
};
|
|
1691
1707
|
};
|
|
1692
1708
|
var deserializeAws_restJson1CanaryScheduleOutput = function (output, context) {
|
|
1693
1709
|
return {
|
|
1694
|
-
DurationInSeconds:
|
|
1710
|
+
DurationInSeconds: __expectLong(output.DurationInSeconds),
|
|
1695
1711
|
Expression: __expectString(output.Expression),
|
|
1696
1712
|
};
|
|
1697
1713
|
};
|
|
@@ -1704,26 +1720,28 @@ var deserializeAws_restJson1CanaryStatus = function (output, context) {
|
|
|
1704
1720
|
};
|
|
1705
1721
|
var deserializeAws_restJson1CanaryTimeline = function (output, context) {
|
|
1706
1722
|
return {
|
|
1707
|
-
Created: output.Created !== undefined && output.Created !== null
|
|
1723
|
+
Created: output.Created !== undefined && output.Created !== null
|
|
1724
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Created)))
|
|
1725
|
+
: undefined,
|
|
1708
1726
|
LastModified: output.LastModified !== undefined && output.LastModified !== null
|
|
1709
|
-
?
|
|
1727
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModified)))
|
|
1710
1728
|
: undefined,
|
|
1711
1729
|
LastStarted: output.LastStarted !== undefined && output.LastStarted !== null
|
|
1712
|
-
?
|
|
1730
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastStarted)))
|
|
1713
1731
|
: undefined,
|
|
1714
1732
|
LastStopped: output.LastStopped !== undefined && output.LastStopped !== null
|
|
1715
|
-
?
|
|
1733
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastStopped)))
|
|
1716
1734
|
: undefined,
|
|
1717
1735
|
};
|
|
1718
1736
|
};
|
|
1719
1737
|
var deserializeAws_restJson1RuntimeVersion = function (output, context) {
|
|
1720
1738
|
return {
|
|
1721
1739
|
DeprecationDate: output.DeprecationDate !== undefined && output.DeprecationDate !== null
|
|
1722
|
-
?
|
|
1740
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeprecationDate)))
|
|
1723
1741
|
: undefined,
|
|
1724
1742
|
Description: __expectString(output.Description),
|
|
1725
1743
|
ReleaseDate: output.ReleaseDate !== undefined && output.ReleaseDate !== null
|
|
1726
|
-
?
|
|
1744
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReleaseDate)))
|
|
1727
1745
|
: undefined,
|
|
1728
1746
|
VersionName: __expectString(output.VersionName),
|
|
1729
1747
|
};
|