@aws-sdk/client-codedeploy 3.118.0 → 3.127.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +562 -733
- package/dist-es/protocols/Aws_json1_1.js +473 -644
- package/package.json +27 -27
|
@@ -539,7 +539,7 @@ export var deserializeAws_json1_1AddTagsToOnPremisesInstancesCommand = function
|
|
|
539
539
|
});
|
|
540
540
|
}); };
|
|
541
541
|
var deserializeAws_json1_1AddTagsToOnPremisesInstancesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
542
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
542
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
543
543
|
var _c;
|
|
544
544
|
return __generator(this, function (_d) {
|
|
545
545
|
switch (_d.label) {
|
|
@@ -549,7 +549,6 @@ var deserializeAws_json1_1AddTagsToOnPremisesInstancesCommandError = function (o
|
|
|
549
549
|
return [4, parseBody(output.body, context)];
|
|
550
550
|
case 1:
|
|
551
551
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
552
|
-
errorCode = "UnknownError";
|
|
553
552
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
554
553
|
_b = errorCode;
|
|
555
554
|
switch (_b) {
|
|
@@ -585,10 +584,12 @@ var deserializeAws_json1_1AddTagsToOnPremisesInstancesCommandError = function (o
|
|
|
585
584
|
case 15: throw _d.sent();
|
|
586
585
|
case 16:
|
|
587
586
|
parsedBody = parsedOutput.body;
|
|
587
|
+
$metadata = deserializeMetadata(output);
|
|
588
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
588
589
|
response = new __BaseException({
|
|
589
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
590
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
590
591
|
$fault: "client",
|
|
591
|
-
$metadata:
|
|
592
|
+
$metadata: $metadata,
|
|
592
593
|
});
|
|
593
594
|
throw __decorateServiceException(response, parsedBody);
|
|
594
595
|
}
|
|
@@ -613,7 +614,7 @@ export var deserializeAws_json1_1BatchGetApplicationRevisionsCommand = function
|
|
|
613
614
|
});
|
|
614
615
|
}); };
|
|
615
616
|
var deserializeAws_json1_1BatchGetApplicationRevisionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
616
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
617
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
617
618
|
var _c;
|
|
618
619
|
return __generator(this, function (_d) {
|
|
619
620
|
switch (_d.label) {
|
|
@@ -623,7 +624,6 @@ var deserializeAws_json1_1BatchGetApplicationRevisionsCommandError = function (o
|
|
|
623
624
|
return [4, parseBody(output.body, context)];
|
|
624
625
|
case 1:
|
|
625
626
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
626
|
-
errorCode = "UnknownError";
|
|
627
627
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
628
628
|
_b = errorCode;
|
|
629
629
|
switch (_b) {
|
|
@@ -655,10 +655,12 @@ var deserializeAws_json1_1BatchGetApplicationRevisionsCommandError = function (o
|
|
|
655
655
|
case 13: throw _d.sent();
|
|
656
656
|
case 14:
|
|
657
657
|
parsedBody = parsedOutput.body;
|
|
658
|
+
$metadata = deserializeMetadata(output);
|
|
659
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
658
660
|
response = new __BaseException({
|
|
659
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
661
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
660
662
|
$fault: "client",
|
|
661
|
-
$metadata:
|
|
663
|
+
$metadata: $metadata,
|
|
662
664
|
});
|
|
663
665
|
throw __decorateServiceException(response, parsedBody);
|
|
664
666
|
}
|
|
@@ -683,7 +685,7 @@ export var deserializeAws_json1_1BatchGetApplicationsCommand = function (output,
|
|
|
683
685
|
});
|
|
684
686
|
}); };
|
|
685
687
|
var deserializeAws_json1_1BatchGetApplicationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
686
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
688
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
687
689
|
var _c;
|
|
688
690
|
return __generator(this, function (_d) {
|
|
689
691
|
switch (_d.label) {
|
|
@@ -693,7 +695,6 @@ var deserializeAws_json1_1BatchGetApplicationsCommandError = function (output, c
|
|
|
693
695
|
return [4, parseBody(output.body, context)];
|
|
694
696
|
case 1:
|
|
695
697
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
696
|
-
errorCode = "UnknownError";
|
|
697
698
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
698
699
|
_b = errorCode;
|
|
699
700
|
switch (_b) {
|
|
@@ -717,10 +718,12 @@ var deserializeAws_json1_1BatchGetApplicationsCommandError = function (output, c
|
|
|
717
718
|
case 9: throw _d.sent();
|
|
718
719
|
case 10:
|
|
719
720
|
parsedBody = parsedOutput.body;
|
|
721
|
+
$metadata = deserializeMetadata(output);
|
|
722
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
720
723
|
response = new __BaseException({
|
|
721
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
724
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
722
725
|
$fault: "client",
|
|
723
|
-
$metadata:
|
|
726
|
+
$metadata: $metadata,
|
|
724
727
|
});
|
|
725
728
|
throw __decorateServiceException(response, parsedBody);
|
|
726
729
|
}
|
|
@@ -745,7 +748,7 @@ export var deserializeAws_json1_1BatchGetDeploymentGroupsCommand = function (out
|
|
|
745
748
|
});
|
|
746
749
|
}); };
|
|
747
750
|
var deserializeAws_json1_1BatchGetDeploymentGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
748
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
751
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
749
752
|
var _c;
|
|
750
753
|
return __generator(this, function (_d) {
|
|
751
754
|
switch (_d.label) {
|
|
@@ -755,7 +758,6 @@ var deserializeAws_json1_1BatchGetDeploymentGroupsCommandError = function (outpu
|
|
|
755
758
|
return [4, parseBody(output.body, context)];
|
|
756
759
|
case 1:
|
|
757
760
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
758
|
-
errorCode = "UnknownError";
|
|
759
761
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
760
762
|
_b = errorCode;
|
|
761
763
|
switch (_b) {
|
|
@@ -791,10 +793,12 @@ var deserializeAws_json1_1BatchGetDeploymentGroupsCommandError = function (outpu
|
|
|
791
793
|
case 15: throw _d.sent();
|
|
792
794
|
case 16:
|
|
793
795
|
parsedBody = parsedOutput.body;
|
|
796
|
+
$metadata = deserializeMetadata(output);
|
|
797
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
794
798
|
response = new __BaseException({
|
|
795
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
799
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
796
800
|
$fault: "client",
|
|
797
|
-
$metadata:
|
|
801
|
+
$metadata: $metadata,
|
|
798
802
|
});
|
|
799
803
|
throw __decorateServiceException(response, parsedBody);
|
|
800
804
|
}
|
|
@@ -819,7 +823,7 @@ export var deserializeAws_json1_1BatchGetDeploymentInstancesCommand = function (
|
|
|
819
823
|
});
|
|
820
824
|
}); };
|
|
821
825
|
var deserializeAws_json1_1BatchGetDeploymentInstancesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
822
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
826
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
823
827
|
var _c;
|
|
824
828
|
return __generator(this, function (_d) {
|
|
825
829
|
switch (_d.label) {
|
|
@@ -829,7 +833,6 @@ var deserializeAws_json1_1BatchGetDeploymentInstancesCommandError = function (ou
|
|
|
829
833
|
return [4, parseBody(output.body, context)];
|
|
830
834
|
case 1:
|
|
831
835
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
832
|
-
errorCode = "UnknownError";
|
|
833
836
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
834
837
|
_b = errorCode;
|
|
835
838
|
switch (_b) {
|
|
@@ -865,10 +868,12 @@ var deserializeAws_json1_1BatchGetDeploymentInstancesCommandError = function (ou
|
|
|
865
868
|
case 15: throw _d.sent();
|
|
866
869
|
case 16:
|
|
867
870
|
parsedBody = parsedOutput.body;
|
|
871
|
+
$metadata = deserializeMetadata(output);
|
|
872
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
868
873
|
response = new __BaseException({
|
|
869
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
874
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
870
875
|
$fault: "client",
|
|
871
|
-
$metadata:
|
|
876
|
+
$metadata: $metadata,
|
|
872
877
|
});
|
|
873
878
|
throw __decorateServiceException(response, parsedBody);
|
|
874
879
|
}
|
|
@@ -893,7 +898,7 @@ export var deserializeAws_json1_1BatchGetDeploymentsCommand = function (output,
|
|
|
893
898
|
});
|
|
894
899
|
}); };
|
|
895
900
|
var deserializeAws_json1_1BatchGetDeploymentsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
896
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
901
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
897
902
|
var _c;
|
|
898
903
|
return __generator(this, function (_d) {
|
|
899
904
|
switch (_d.label) {
|
|
@@ -903,7 +908,6 @@ var deserializeAws_json1_1BatchGetDeploymentsCommandError = function (output, co
|
|
|
903
908
|
return [4, parseBody(output.body, context)];
|
|
904
909
|
case 1:
|
|
905
910
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
906
|
-
errorCode = "UnknownError";
|
|
907
911
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
908
912
|
_b = errorCode;
|
|
909
913
|
switch (_b) {
|
|
@@ -923,10 +927,12 @@ var deserializeAws_json1_1BatchGetDeploymentsCommandError = function (output, co
|
|
|
923
927
|
case 7: throw _d.sent();
|
|
924
928
|
case 8:
|
|
925
929
|
parsedBody = parsedOutput.body;
|
|
930
|
+
$metadata = deserializeMetadata(output);
|
|
931
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
926
932
|
response = new __BaseException({
|
|
927
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
933
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
928
934
|
$fault: "client",
|
|
929
|
-
$metadata:
|
|
935
|
+
$metadata: $metadata,
|
|
930
936
|
});
|
|
931
937
|
throw __decorateServiceException(response, parsedBody);
|
|
932
938
|
}
|
|
@@ -951,7 +957,7 @@ export var deserializeAws_json1_1BatchGetDeploymentTargetsCommand = function (ou
|
|
|
951
957
|
});
|
|
952
958
|
}); };
|
|
953
959
|
var deserializeAws_json1_1BatchGetDeploymentTargetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
954
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
960
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
955
961
|
var _c;
|
|
956
962
|
return __generator(this, function (_d) {
|
|
957
963
|
switch (_d.label) {
|
|
@@ -961,7 +967,6 @@ var deserializeAws_json1_1BatchGetDeploymentTargetsCommandError = function (outp
|
|
|
961
967
|
return [4, parseBody(output.body, context)];
|
|
962
968
|
case 1:
|
|
963
969
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
964
|
-
errorCode = "UnknownError";
|
|
965
970
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
966
971
|
_b = errorCode;
|
|
967
972
|
switch (_b) {
|
|
@@ -1005,10 +1010,12 @@ var deserializeAws_json1_1BatchGetDeploymentTargetsCommandError = function (outp
|
|
|
1005
1010
|
case 19: throw _d.sent();
|
|
1006
1011
|
case 20:
|
|
1007
1012
|
parsedBody = parsedOutput.body;
|
|
1013
|
+
$metadata = deserializeMetadata(output);
|
|
1014
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1008
1015
|
response = new __BaseException({
|
|
1009
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1016
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1010
1017
|
$fault: "client",
|
|
1011
|
-
$metadata:
|
|
1018
|
+
$metadata: $metadata,
|
|
1012
1019
|
});
|
|
1013
1020
|
throw __decorateServiceException(response, parsedBody);
|
|
1014
1021
|
}
|
|
@@ -1033,7 +1040,7 @@ export var deserializeAws_json1_1BatchGetOnPremisesInstancesCommand = function (
|
|
|
1033
1040
|
});
|
|
1034
1041
|
}); };
|
|
1035
1042
|
var deserializeAws_json1_1BatchGetOnPremisesInstancesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1036
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1043
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1037
1044
|
var _c;
|
|
1038
1045
|
return __generator(this, function (_d) {
|
|
1039
1046
|
switch (_d.label) {
|
|
@@ -1043,7 +1050,6 @@ var deserializeAws_json1_1BatchGetOnPremisesInstancesCommandError = function (ou
|
|
|
1043
1050
|
return [4, parseBody(output.body, context)];
|
|
1044
1051
|
case 1:
|
|
1045
1052
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1046
|
-
errorCode = "UnknownError";
|
|
1047
1053
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1048
1054
|
_b = errorCode;
|
|
1049
1055
|
switch (_b) {
|
|
@@ -1063,10 +1069,12 @@ var deserializeAws_json1_1BatchGetOnPremisesInstancesCommandError = function (ou
|
|
|
1063
1069
|
case 7: throw _d.sent();
|
|
1064
1070
|
case 8:
|
|
1065
1071
|
parsedBody = parsedOutput.body;
|
|
1072
|
+
$metadata = deserializeMetadata(output);
|
|
1073
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1066
1074
|
response = new __BaseException({
|
|
1067
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1075
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1068
1076
|
$fault: "client",
|
|
1069
|
-
$metadata:
|
|
1077
|
+
$metadata: $metadata,
|
|
1070
1078
|
});
|
|
1071
1079
|
throw __decorateServiceException(response, parsedBody);
|
|
1072
1080
|
}
|
|
@@ -1091,7 +1099,7 @@ export var deserializeAws_json1_1ContinueDeploymentCommand = function (output, c
|
|
|
1091
1099
|
});
|
|
1092
1100
|
}); };
|
|
1093
1101
|
var deserializeAws_json1_1ContinueDeploymentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1094
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1102
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1095
1103
|
var _c;
|
|
1096
1104
|
return __generator(this, function (_d) {
|
|
1097
1105
|
switch (_d.label) {
|
|
@@ -1101,7 +1109,6 @@ var deserializeAws_json1_1ContinueDeploymentCommandError = function (output, con
|
|
|
1101
1109
|
return [4, parseBody(output.body, context)];
|
|
1102
1110
|
case 1:
|
|
1103
1111
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1104
|
-
errorCode = "UnknownError";
|
|
1105
1112
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1106
1113
|
_b = errorCode;
|
|
1107
1114
|
switch (_b) {
|
|
@@ -1141,10 +1148,12 @@ var deserializeAws_json1_1ContinueDeploymentCommandError = function (output, con
|
|
|
1141
1148
|
case 17: throw _d.sent();
|
|
1142
1149
|
case 18:
|
|
1143
1150
|
parsedBody = parsedOutput.body;
|
|
1151
|
+
$metadata = deserializeMetadata(output);
|
|
1152
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1144
1153
|
response = new __BaseException({
|
|
1145
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1154
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1146
1155
|
$fault: "client",
|
|
1147
|
-
$metadata:
|
|
1156
|
+
$metadata: $metadata,
|
|
1148
1157
|
});
|
|
1149
1158
|
throw __decorateServiceException(response, parsedBody);
|
|
1150
1159
|
}
|
|
@@ -1169,7 +1178,7 @@ export var deserializeAws_json1_1CreateApplicationCommand = function (output, co
|
|
|
1169
1178
|
});
|
|
1170
1179
|
}); };
|
|
1171
1180
|
var deserializeAws_json1_1CreateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1172
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1181
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1173
1182
|
var _c;
|
|
1174
1183
|
return __generator(this, function (_d) {
|
|
1175
1184
|
switch (_d.label) {
|
|
@@ -1179,7 +1188,6 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
1179
1188
|
return [4, parseBody(output.body, context)];
|
|
1180
1189
|
case 1:
|
|
1181
1190
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1182
|
-
errorCode = "UnknownError";
|
|
1183
1191
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1184
1192
|
_b = errorCode;
|
|
1185
1193
|
switch (_b) {
|
|
@@ -1211,10 +1219,12 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
1211
1219
|
case 13: throw _d.sent();
|
|
1212
1220
|
case 14:
|
|
1213
1221
|
parsedBody = parsedOutput.body;
|
|
1222
|
+
$metadata = deserializeMetadata(output);
|
|
1223
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1214
1224
|
response = new __BaseException({
|
|
1215
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1225
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1216
1226
|
$fault: "client",
|
|
1217
|
-
$metadata:
|
|
1227
|
+
$metadata: $metadata,
|
|
1218
1228
|
});
|
|
1219
1229
|
throw __decorateServiceException(response, parsedBody);
|
|
1220
1230
|
}
|
|
@@ -1239,7 +1249,7 @@ export var deserializeAws_json1_1CreateDeploymentCommand = function (output, con
|
|
|
1239
1249
|
});
|
|
1240
1250
|
}); };
|
|
1241
1251
|
var deserializeAws_json1_1CreateDeploymentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1242
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1252
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1243
1253
|
var _c;
|
|
1244
1254
|
return __generator(this, function (_d) {
|
|
1245
1255
|
switch (_d.label) {
|
|
@@ -1249,7 +1259,6 @@ var deserializeAws_json1_1CreateDeploymentCommandError = function (output, conte
|
|
|
1249
1259
|
return [4, parseBody(output.body, context)];
|
|
1250
1260
|
case 1:
|
|
1251
1261
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1252
|
-
errorCode = "UnknownError";
|
|
1253
1262
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1254
1263
|
_b = errorCode;
|
|
1255
1264
|
switch (_b) {
|
|
@@ -1353,10 +1362,12 @@ var deserializeAws_json1_1CreateDeploymentCommandError = function (output, conte
|
|
|
1353
1362
|
case 49: throw _d.sent();
|
|
1354
1363
|
case 50:
|
|
1355
1364
|
parsedBody = parsedOutput.body;
|
|
1365
|
+
$metadata = deserializeMetadata(output);
|
|
1366
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1356
1367
|
response = new __BaseException({
|
|
1357
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1368
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1358
1369
|
$fault: "client",
|
|
1359
|
-
$metadata:
|
|
1370
|
+
$metadata: $metadata,
|
|
1360
1371
|
});
|
|
1361
1372
|
throw __decorateServiceException(response, parsedBody);
|
|
1362
1373
|
}
|
|
@@ -1381,7 +1392,7 @@ export var deserializeAws_json1_1CreateDeploymentConfigCommand = function (outpu
|
|
|
1381
1392
|
});
|
|
1382
1393
|
}); };
|
|
1383
1394
|
var deserializeAws_json1_1CreateDeploymentConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1384
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1395
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1385
1396
|
var _c;
|
|
1386
1397
|
return __generator(this, function (_d) {
|
|
1387
1398
|
switch (_d.label) {
|
|
@@ -1391,7 +1402,6 @@ var deserializeAws_json1_1CreateDeploymentConfigCommandError = function (output,
|
|
|
1391
1402
|
return [4, parseBody(output.body, context)];
|
|
1392
1403
|
case 1:
|
|
1393
1404
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1394
|
-
errorCode = "UnknownError";
|
|
1395
1405
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1396
1406
|
_b = errorCode;
|
|
1397
1407
|
switch (_b) {
|
|
@@ -1427,10 +1437,12 @@ var deserializeAws_json1_1CreateDeploymentConfigCommandError = function (output,
|
|
|
1427
1437
|
case 15: throw _d.sent();
|
|
1428
1438
|
case 16:
|
|
1429
1439
|
parsedBody = parsedOutput.body;
|
|
1440
|
+
$metadata = deserializeMetadata(output);
|
|
1441
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1430
1442
|
response = new __BaseException({
|
|
1431
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1443
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1432
1444
|
$fault: "client",
|
|
1433
|
-
$metadata:
|
|
1445
|
+
$metadata: $metadata,
|
|
1434
1446
|
});
|
|
1435
1447
|
throw __decorateServiceException(response, parsedBody);
|
|
1436
1448
|
}
|
|
@@ -1455,7 +1467,7 @@ export var deserializeAws_json1_1CreateDeploymentGroupCommand = function (output
|
|
|
1455
1467
|
});
|
|
1456
1468
|
}); };
|
|
1457
1469
|
var deserializeAws_json1_1CreateDeploymentGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1458
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1470
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1459
1471
|
var _c;
|
|
1460
1472
|
return __generator(this, function (_d) {
|
|
1461
1473
|
switch (_d.label) {
|
|
@@ -1465,7 +1477,6 @@ var deserializeAws_json1_1CreateDeploymentGroupCommandError = function (output,
|
|
|
1465
1477
|
return [4, parseBody(output.body, context)];
|
|
1466
1478
|
case 1:
|
|
1467
1479
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1468
|
-
errorCode = "UnknownError";
|
|
1469
1480
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1470
1481
|
_b = errorCode;
|
|
1471
1482
|
switch (_b) {
|
|
@@ -1605,10 +1616,12 @@ var deserializeAws_json1_1CreateDeploymentGroupCommandError = function (output,
|
|
|
1605
1616
|
case 67: throw _d.sent();
|
|
1606
1617
|
case 68:
|
|
1607
1618
|
parsedBody = parsedOutput.body;
|
|
1619
|
+
$metadata = deserializeMetadata(output);
|
|
1620
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1608
1621
|
response = new __BaseException({
|
|
1609
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1622
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1610
1623
|
$fault: "client",
|
|
1611
|
-
$metadata:
|
|
1624
|
+
$metadata: $metadata,
|
|
1612
1625
|
});
|
|
1613
1626
|
throw __decorateServiceException(response, parsedBody);
|
|
1614
1627
|
}
|
|
@@ -1633,7 +1646,7 @@ export var deserializeAws_json1_1DeleteApplicationCommand = function (output, co
|
|
|
1633
1646
|
});
|
|
1634
1647
|
}); };
|
|
1635
1648
|
var deserializeAws_json1_1DeleteApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1636
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1649
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1637
1650
|
var _c;
|
|
1638
1651
|
return __generator(this, function (_d) {
|
|
1639
1652
|
switch (_d.label) {
|
|
@@ -1643,7 +1656,6 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
1643
1656
|
return [4, parseBody(output.body, context)];
|
|
1644
1657
|
case 1:
|
|
1645
1658
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1646
|
-
errorCode = "UnknownError";
|
|
1647
1659
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1648
1660
|
_b = errorCode;
|
|
1649
1661
|
switch (_b) {
|
|
@@ -1663,10 +1675,12 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
1663
1675
|
case 7: throw _d.sent();
|
|
1664
1676
|
case 8:
|
|
1665
1677
|
parsedBody = parsedOutput.body;
|
|
1678
|
+
$metadata = deserializeMetadata(output);
|
|
1679
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1666
1680
|
response = new __BaseException({
|
|
1667
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1681
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1668
1682
|
$fault: "client",
|
|
1669
|
-
$metadata:
|
|
1683
|
+
$metadata: $metadata,
|
|
1670
1684
|
});
|
|
1671
1685
|
throw __decorateServiceException(response, parsedBody);
|
|
1672
1686
|
}
|
|
@@ -1691,7 +1705,7 @@ export var deserializeAws_json1_1DeleteDeploymentConfigCommand = function (outpu
|
|
|
1691
1705
|
});
|
|
1692
1706
|
}); };
|
|
1693
1707
|
var deserializeAws_json1_1DeleteDeploymentConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1694
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1708
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1695
1709
|
var _c;
|
|
1696
1710
|
return __generator(this, function (_d) {
|
|
1697
1711
|
switch (_d.label) {
|
|
@@ -1701,7 +1715,6 @@ var deserializeAws_json1_1DeleteDeploymentConfigCommandError = function (output,
|
|
|
1701
1715
|
return [4, parseBody(output.body, context)];
|
|
1702
1716
|
case 1:
|
|
1703
1717
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1704
|
-
errorCode = "UnknownError";
|
|
1705
1718
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1706
1719
|
_b = errorCode;
|
|
1707
1720
|
switch (_b) {
|
|
@@ -1725,10 +1738,12 @@ var deserializeAws_json1_1DeleteDeploymentConfigCommandError = function (output,
|
|
|
1725
1738
|
case 9: throw _d.sent();
|
|
1726
1739
|
case 10:
|
|
1727
1740
|
parsedBody = parsedOutput.body;
|
|
1741
|
+
$metadata = deserializeMetadata(output);
|
|
1742
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1728
1743
|
response = new __BaseException({
|
|
1729
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1744
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1730
1745
|
$fault: "client",
|
|
1731
|
-
$metadata:
|
|
1746
|
+
$metadata: $metadata,
|
|
1732
1747
|
});
|
|
1733
1748
|
throw __decorateServiceException(response, parsedBody);
|
|
1734
1749
|
}
|
|
@@ -1753,7 +1768,7 @@ export var deserializeAws_json1_1DeleteDeploymentGroupCommand = function (output
|
|
|
1753
1768
|
});
|
|
1754
1769
|
}); };
|
|
1755
1770
|
var deserializeAws_json1_1DeleteDeploymentGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1756
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1771
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1757
1772
|
var _c;
|
|
1758
1773
|
return __generator(this, function (_d) {
|
|
1759
1774
|
switch (_d.label) {
|
|
@@ -1763,7 +1778,6 @@ var deserializeAws_json1_1DeleteDeploymentGroupCommandError = function (output,
|
|
|
1763
1778
|
return [4, parseBody(output.body, context)];
|
|
1764
1779
|
case 1:
|
|
1765
1780
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1766
|
-
errorCode = "UnknownError";
|
|
1767
1781
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1768
1782
|
_b = errorCode;
|
|
1769
1783
|
switch (_b) {
|
|
@@ -1791,10 +1805,12 @@ var deserializeAws_json1_1DeleteDeploymentGroupCommandError = function (output,
|
|
|
1791
1805
|
case 11: throw _d.sent();
|
|
1792
1806
|
case 12:
|
|
1793
1807
|
parsedBody = parsedOutput.body;
|
|
1808
|
+
$metadata = deserializeMetadata(output);
|
|
1809
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1794
1810
|
response = new __BaseException({
|
|
1795
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1811
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1796
1812
|
$fault: "client",
|
|
1797
|
-
$metadata:
|
|
1813
|
+
$metadata: $metadata,
|
|
1798
1814
|
});
|
|
1799
1815
|
throw __decorateServiceException(response, parsedBody);
|
|
1800
1816
|
}
|
|
@@ -1819,7 +1835,7 @@ export var deserializeAws_json1_1DeleteGitHubAccountTokenCommand = function (out
|
|
|
1819
1835
|
});
|
|
1820
1836
|
}); };
|
|
1821
1837
|
var deserializeAws_json1_1DeleteGitHubAccountTokenCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1822
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1838
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1823
1839
|
var _c;
|
|
1824
1840
|
return __generator(this, function (_d) {
|
|
1825
1841
|
switch (_d.label) {
|
|
@@ -1829,7 +1845,6 @@ var deserializeAws_json1_1DeleteGitHubAccountTokenCommandError = function (outpu
|
|
|
1829
1845
|
return [4, parseBody(output.body, context)];
|
|
1830
1846
|
case 1:
|
|
1831
1847
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1832
|
-
errorCode = "UnknownError";
|
|
1833
1848
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1834
1849
|
_b = errorCode;
|
|
1835
1850
|
switch (_b) {
|
|
@@ -1857,10 +1872,12 @@ var deserializeAws_json1_1DeleteGitHubAccountTokenCommandError = function (outpu
|
|
|
1857
1872
|
case 11: throw _d.sent();
|
|
1858
1873
|
case 12:
|
|
1859
1874
|
parsedBody = parsedOutput.body;
|
|
1875
|
+
$metadata = deserializeMetadata(output);
|
|
1876
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1860
1877
|
response = new __BaseException({
|
|
1861
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1878
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1862
1879
|
$fault: "client",
|
|
1863
|
-
$metadata:
|
|
1880
|
+
$metadata: $metadata,
|
|
1864
1881
|
});
|
|
1865
1882
|
throw __decorateServiceException(response, parsedBody);
|
|
1866
1883
|
}
|
|
@@ -1885,7 +1902,7 @@ export var deserializeAws_json1_1DeleteResourcesByExternalIdCommand = function (
|
|
|
1885
1902
|
});
|
|
1886
1903
|
}); };
|
|
1887
1904
|
var deserializeAws_json1_1DeleteResourcesByExternalIdCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1888
|
-
var parsedOutput, _a, response, errorCode, parsedBody;
|
|
1905
|
+
var parsedOutput, _a, response, errorCode, parsedBody, $metadata, statusCode;
|
|
1889
1906
|
var _b;
|
|
1890
1907
|
return __generator(this, function (_c) {
|
|
1891
1908
|
switch (_c.label) {
|
|
@@ -1895,15 +1912,16 @@ var deserializeAws_json1_1DeleteResourcesByExternalIdCommandError = function (ou
|
|
|
1895
1912
|
return [4, parseBody(output.body, context)];
|
|
1896
1913
|
case 1:
|
|
1897
1914
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
1898
|
-
errorCode = "UnknownError";
|
|
1899
1915
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1900
1916
|
switch (errorCode) {
|
|
1901
1917
|
default:
|
|
1902
1918
|
parsedBody = parsedOutput.body;
|
|
1919
|
+
$metadata = deserializeMetadata(output);
|
|
1920
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1903
1921
|
response = new __BaseException({
|
|
1904
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1922
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1905
1923
|
$fault: "client",
|
|
1906
|
-
$metadata:
|
|
1924
|
+
$metadata: $metadata,
|
|
1907
1925
|
});
|
|
1908
1926
|
throw __decorateServiceException(response, parsedBody);
|
|
1909
1927
|
}
|
|
@@ -1930,7 +1948,7 @@ export var deserializeAws_json1_1DeregisterOnPremisesInstanceCommand = function
|
|
|
1930
1948
|
});
|
|
1931
1949
|
}); };
|
|
1932
1950
|
var deserializeAws_json1_1DeregisterOnPremisesInstanceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1933
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1951
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1934
1952
|
var _c;
|
|
1935
1953
|
return __generator(this, function (_d) {
|
|
1936
1954
|
switch (_d.label) {
|
|
@@ -1940,7 +1958,6 @@ var deserializeAws_json1_1DeregisterOnPremisesInstanceCommandError = function (o
|
|
|
1940
1958
|
return [4, parseBody(output.body, context)];
|
|
1941
1959
|
case 1:
|
|
1942
1960
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1943
|
-
errorCode = "UnknownError";
|
|
1944
1961
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1945
1962
|
_b = errorCode;
|
|
1946
1963
|
switch (_b) {
|
|
@@ -1956,10 +1973,12 @@ var deserializeAws_json1_1DeregisterOnPremisesInstanceCommandError = function (o
|
|
|
1956
1973
|
case 5: throw _d.sent();
|
|
1957
1974
|
case 6:
|
|
1958
1975
|
parsedBody = parsedOutput.body;
|
|
1976
|
+
$metadata = deserializeMetadata(output);
|
|
1977
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1959
1978
|
response = new __BaseException({
|
|
1960
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1979
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1961
1980
|
$fault: "client",
|
|
1962
|
-
$metadata:
|
|
1981
|
+
$metadata: $metadata,
|
|
1963
1982
|
});
|
|
1964
1983
|
throw __decorateServiceException(response, parsedBody);
|
|
1965
1984
|
}
|
|
@@ -1984,7 +2003,7 @@ export var deserializeAws_json1_1GetApplicationCommand = function (output, conte
|
|
|
1984
2003
|
});
|
|
1985
2004
|
}); };
|
|
1986
2005
|
var deserializeAws_json1_1GetApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1987
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2006
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1988
2007
|
var _c;
|
|
1989
2008
|
return __generator(this, function (_d) {
|
|
1990
2009
|
switch (_d.label) {
|
|
@@ -1994,7 +2013,6 @@ var deserializeAws_json1_1GetApplicationCommandError = function (output, context
|
|
|
1994
2013
|
return [4, parseBody(output.body, context)];
|
|
1995
2014
|
case 1:
|
|
1996
2015
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1997
|
-
errorCode = "UnknownError";
|
|
1998
2016
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1999
2017
|
_b = errorCode;
|
|
2000
2018
|
switch (_b) {
|
|
@@ -2014,10 +2032,12 @@ var deserializeAws_json1_1GetApplicationCommandError = function (output, context
|
|
|
2014
2032
|
case 7: throw _d.sent();
|
|
2015
2033
|
case 8:
|
|
2016
2034
|
parsedBody = parsedOutput.body;
|
|
2035
|
+
$metadata = deserializeMetadata(output);
|
|
2036
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2017
2037
|
response = new __BaseException({
|
|
2018
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2038
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2019
2039
|
$fault: "client",
|
|
2020
|
-
$metadata:
|
|
2040
|
+
$metadata: $metadata,
|
|
2021
2041
|
});
|
|
2022
2042
|
throw __decorateServiceException(response, parsedBody);
|
|
2023
2043
|
}
|
|
@@ -2042,7 +2062,7 @@ export var deserializeAws_json1_1GetApplicationRevisionCommand = function (outpu
|
|
|
2042
2062
|
});
|
|
2043
2063
|
}); };
|
|
2044
2064
|
var deserializeAws_json1_1GetApplicationRevisionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2045
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2065
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2046
2066
|
var _c;
|
|
2047
2067
|
return __generator(this, function (_d) {
|
|
2048
2068
|
switch (_d.label) {
|
|
@@ -2052,7 +2072,6 @@ var deserializeAws_json1_1GetApplicationRevisionCommandError = function (output,
|
|
|
2052
2072
|
return [4, parseBody(output.body, context)];
|
|
2053
2073
|
case 1:
|
|
2054
2074
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2055
|
-
errorCode = "UnknownError";
|
|
2056
2075
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2057
2076
|
_b = errorCode;
|
|
2058
2077
|
switch (_b) {
|
|
@@ -2084,10 +2103,12 @@ var deserializeAws_json1_1GetApplicationRevisionCommandError = function (output,
|
|
|
2084
2103
|
case 13: throw _d.sent();
|
|
2085
2104
|
case 14:
|
|
2086
2105
|
parsedBody = parsedOutput.body;
|
|
2106
|
+
$metadata = deserializeMetadata(output);
|
|
2107
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2087
2108
|
response = new __BaseException({
|
|
2088
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2109
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2089
2110
|
$fault: "client",
|
|
2090
|
-
$metadata:
|
|
2111
|
+
$metadata: $metadata,
|
|
2091
2112
|
});
|
|
2092
2113
|
throw __decorateServiceException(response, parsedBody);
|
|
2093
2114
|
}
|
|
@@ -2112,7 +2133,7 @@ export var deserializeAws_json1_1GetDeploymentCommand = function (output, contex
|
|
|
2112
2133
|
});
|
|
2113
2134
|
}); };
|
|
2114
2135
|
var deserializeAws_json1_1GetDeploymentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2115
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2136
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2116
2137
|
var _c;
|
|
2117
2138
|
return __generator(this, function (_d) {
|
|
2118
2139
|
switch (_d.label) {
|
|
@@ -2122,7 +2143,6 @@ var deserializeAws_json1_1GetDeploymentCommandError = function (output, context)
|
|
|
2122
2143
|
return [4, parseBody(output.body, context)];
|
|
2123
2144
|
case 1:
|
|
2124
2145
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2125
|
-
errorCode = "UnknownError";
|
|
2126
2146
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2127
2147
|
_b = errorCode;
|
|
2128
2148
|
switch (_b) {
|
|
@@ -2142,10 +2162,12 @@ var deserializeAws_json1_1GetDeploymentCommandError = function (output, context)
|
|
|
2142
2162
|
case 7: throw _d.sent();
|
|
2143
2163
|
case 8:
|
|
2144
2164
|
parsedBody = parsedOutput.body;
|
|
2165
|
+
$metadata = deserializeMetadata(output);
|
|
2166
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2145
2167
|
response = new __BaseException({
|
|
2146
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2168
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2147
2169
|
$fault: "client",
|
|
2148
|
-
$metadata:
|
|
2170
|
+
$metadata: $metadata,
|
|
2149
2171
|
});
|
|
2150
2172
|
throw __decorateServiceException(response, parsedBody);
|
|
2151
2173
|
}
|
|
@@ -2170,7 +2192,7 @@ export var deserializeAws_json1_1GetDeploymentConfigCommand = function (output,
|
|
|
2170
2192
|
});
|
|
2171
2193
|
}); };
|
|
2172
2194
|
var deserializeAws_json1_1GetDeploymentConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2173
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2195
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2174
2196
|
var _c;
|
|
2175
2197
|
return __generator(this, function (_d) {
|
|
2176
2198
|
switch (_d.label) {
|
|
@@ -2180,7 +2202,6 @@ var deserializeAws_json1_1GetDeploymentConfigCommandError = function (output, co
|
|
|
2180
2202
|
return [4, parseBody(output.body, context)];
|
|
2181
2203
|
case 1:
|
|
2182
2204
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2183
|
-
errorCode = "UnknownError";
|
|
2184
2205
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2185
2206
|
_b = errorCode;
|
|
2186
2207
|
switch (_b) {
|
|
@@ -2204,10 +2225,12 @@ var deserializeAws_json1_1GetDeploymentConfigCommandError = function (output, co
|
|
|
2204
2225
|
case 9: throw _d.sent();
|
|
2205
2226
|
case 10:
|
|
2206
2227
|
parsedBody = parsedOutput.body;
|
|
2228
|
+
$metadata = deserializeMetadata(output);
|
|
2229
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2207
2230
|
response = new __BaseException({
|
|
2208
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2231
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2209
2232
|
$fault: "client",
|
|
2210
|
-
$metadata:
|
|
2233
|
+
$metadata: $metadata,
|
|
2211
2234
|
});
|
|
2212
2235
|
throw __decorateServiceException(response, parsedBody);
|
|
2213
2236
|
}
|
|
@@ -2232,7 +2255,7 @@ export var deserializeAws_json1_1GetDeploymentGroupCommand = function (output, c
|
|
|
2232
2255
|
});
|
|
2233
2256
|
}); };
|
|
2234
2257
|
var deserializeAws_json1_1GetDeploymentGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2235
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2258
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2236
2259
|
var _c;
|
|
2237
2260
|
return __generator(this, function (_d) {
|
|
2238
2261
|
switch (_d.label) {
|
|
@@ -2242,7 +2265,6 @@ var deserializeAws_json1_1GetDeploymentGroupCommandError = function (output, con
|
|
|
2242
2265
|
return [4, parseBody(output.body, context)];
|
|
2243
2266
|
case 1:
|
|
2244
2267
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2245
|
-
errorCode = "UnknownError";
|
|
2246
2268
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2247
2269
|
_b = errorCode;
|
|
2248
2270
|
switch (_b) {
|
|
@@ -2278,10 +2300,12 @@ var deserializeAws_json1_1GetDeploymentGroupCommandError = function (output, con
|
|
|
2278
2300
|
case 15: throw _d.sent();
|
|
2279
2301
|
case 16:
|
|
2280
2302
|
parsedBody = parsedOutput.body;
|
|
2303
|
+
$metadata = deserializeMetadata(output);
|
|
2304
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2281
2305
|
response = new __BaseException({
|
|
2282
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2306
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2283
2307
|
$fault: "client",
|
|
2284
|
-
$metadata:
|
|
2308
|
+
$metadata: $metadata,
|
|
2285
2309
|
});
|
|
2286
2310
|
throw __decorateServiceException(response, parsedBody);
|
|
2287
2311
|
}
|
|
@@ -2306,7 +2330,7 @@ export var deserializeAws_json1_1GetDeploymentInstanceCommand = function (output
|
|
|
2306
2330
|
});
|
|
2307
2331
|
}); };
|
|
2308
2332
|
var deserializeAws_json1_1GetDeploymentInstanceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2309
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2333
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2310
2334
|
var _c;
|
|
2311
2335
|
return __generator(this, function (_d) {
|
|
2312
2336
|
switch (_d.label) {
|
|
@@ -2316,7 +2340,6 @@ var deserializeAws_json1_1GetDeploymentInstanceCommandError = function (output,
|
|
|
2316
2340
|
return [4, parseBody(output.body, context)];
|
|
2317
2341
|
case 1:
|
|
2318
2342
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2319
|
-
errorCode = "UnknownError";
|
|
2320
2343
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2321
2344
|
_b = errorCode;
|
|
2322
2345
|
switch (_b) {
|
|
@@ -2352,10 +2375,12 @@ var deserializeAws_json1_1GetDeploymentInstanceCommandError = function (output,
|
|
|
2352
2375
|
case 15: throw _d.sent();
|
|
2353
2376
|
case 16:
|
|
2354
2377
|
parsedBody = parsedOutput.body;
|
|
2378
|
+
$metadata = deserializeMetadata(output);
|
|
2379
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2355
2380
|
response = new __BaseException({
|
|
2356
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2381
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2357
2382
|
$fault: "client",
|
|
2358
|
-
$metadata:
|
|
2383
|
+
$metadata: $metadata,
|
|
2359
2384
|
});
|
|
2360
2385
|
throw __decorateServiceException(response, parsedBody);
|
|
2361
2386
|
}
|
|
@@ -2380,7 +2405,7 @@ export var deserializeAws_json1_1GetDeploymentTargetCommand = function (output,
|
|
|
2380
2405
|
});
|
|
2381
2406
|
}); };
|
|
2382
2407
|
var deserializeAws_json1_1GetDeploymentTargetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2383
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2408
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2384
2409
|
var _c;
|
|
2385
2410
|
return __generator(this, function (_d) {
|
|
2386
2411
|
switch (_d.label) {
|
|
@@ -2390,7 +2415,6 @@ var deserializeAws_json1_1GetDeploymentTargetCommandError = function (output, co
|
|
|
2390
2415
|
return [4, parseBody(output.body, context)];
|
|
2391
2416
|
case 1:
|
|
2392
2417
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2393
|
-
errorCode = "UnknownError";
|
|
2394
2418
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2395
2419
|
_b = errorCode;
|
|
2396
2420
|
switch (_b) {
|
|
@@ -2430,10 +2454,12 @@ var deserializeAws_json1_1GetDeploymentTargetCommandError = function (output, co
|
|
|
2430
2454
|
case 17: throw _d.sent();
|
|
2431
2455
|
case 18:
|
|
2432
2456
|
parsedBody = parsedOutput.body;
|
|
2457
|
+
$metadata = deserializeMetadata(output);
|
|
2458
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2433
2459
|
response = new __BaseException({
|
|
2434
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2460
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2435
2461
|
$fault: "client",
|
|
2436
|
-
$metadata:
|
|
2462
|
+
$metadata: $metadata,
|
|
2437
2463
|
});
|
|
2438
2464
|
throw __decorateServiceException(response, parsedBody);
|
|
2439
2465
|
}
|
|
@@ -2458,7 +2484,7 @@ export var deserializeAws_json1_1GetOnPremisesInstanceCommand = function (output
|
|
|
2458
2484
|
});
|
|
2459
2485
|
}); };
|
|
2460
2486
|
var deserializeAws_json1_1GetOnPremisesInstanceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2461
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2487
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2462
2488
|
var _c;
|
|
2463
2489
|
return __generator(this, function (_d) {
|
|
2464
2490
|
switch (_d.label) {
|
|
@@ -2468,7 +2494,6 @@ var deserializeAws_json1_1GetOnPremisesInstanceCommandError = function (output,
|
|
|
2468
2494
|
return [4, parseBody(output.body, context)];
|
|
2469
2495
|
case 1:
|
|
2470
2496
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2471
|
-
errorCode = "UnknownError";
|
|
2472
2497
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2473
2498
|
_b = errorCode;
|
|
2474
2499
|
switch (_b) {
|
|
@@ -2488,10 +2513,12 @@ var deserializeAws_json1_1GetOnPremisesInstanceCommandError = function (output,
|
|
|
2488
2513
|
case 7: throw _d.sent();
|
|
2489
2514
|
case 8:
|
|
2490
2515
|
parsedBody = parsedOutput.body;
|
|
2516
|
+
$metadata = deserializeMetadata(output);
|
|
2517
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2491
2518
|
response = new __BaseException({
|
|
2492
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2519
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2493
2520
|
$fault: "client",
|
|
2494
|
-
$metadata:
|
|
2521
|
+
$metadata: $metadata,
|
|
2495
2522
|
});
|
|
2496
2523
|
throw __decorateServiceException(response, parsedBody);
|
|
2497
2524
|
}
|
|
@@ -2516,7 +2543,7 @@ export var deserializeAws_json1_1ListApplicationRevisionsCommand = function (out
|
|
|
2516
2543
|
});
|
|
2517
2544
|
}); };
|
|
2518
2545
|
var deserializeAws_json1_1ListApplicationRevisionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2519
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2546
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2520
2547
|
var _c;
|
|
2521
2548
|
return __generator(this, function (_d) {
|
|
2522
2549
|
switch (_d.label) {
|
|
@@ -2526,7 +2553,6 @@ var deserializeAws_json1_1ListApplicationRevisionsCommandError = function (outpu
|
|
|
2526
2553
|
return [4, parseBody(output.body, context)];
|
|
2527
2554
|
case 1:
|
|
2528
2555
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2529
|
-
errorCode = "UnknownError";
|
|
2530
2556
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2531
2557
|
_b = errorCode;
|
|
2532
2558
|
switch (_b) {
|
|
@@ -2574,10 +2600,12 @@ var deserializeAws_json1_1ListApplicationRevisionsCommandError = function (outpu
|
|
|
2574
2600
|
case 21: throw _d.sent();
|
|
2575
2601
|
case 22:
|
|
2576
2602
|
parsedBody = parsedOutput.body;
|
|
2603
|
+
$metadata = deserializeMetadata(output);
|
|
2604
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2577
2605
|
response = new __BaseException({
|
|
2578
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2606
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2579
2607
|
$fault: "client",
|
|
2580
|
-
$metadata:
|
|
2608
|
+
$metadata: $metadata,
|
|
2581
2609
|
});
|
|
2582
2610
|
throw __decorateServiceException(response, parsedBody);
|
|
2583
2611
|
}
|
|
@@ -2602,7 +2630,7 @@ export var deserializeAws_json1_1ListApplicationsCommand = function (output, con
|
|
|
2602
2630
|
});
|
|
2603
2631
|
}); };
|
|
2604
2632
|
var deserializeAws_json1_1ListApplicationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2605
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2633
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2606
2634
|
var _c;
|
|
2607
2635
|
return __generator(this, function (_d) {
|
|
2608
2636
|
switch (_d.label) {
|
|
@@ -2612,7 +2640,6 @@ var deserializeAws_json1_1ListApplicationsCommandError = function (output, conte
|
|
|
2612
2640
|
return [4, parseBody(output.body, context)];
|
|
2613
2641
|
case 1:
|
|
2614
2642
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2615
|
-
errorCode = "UnknownError";
|
|
2616
2643
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2617
2644
|
_b = errorCode;
|
|
2618
2645
|
switch (_b) {
|
|
@@ -2624,10 +2651,12 @@ var deserializeAws_json1_1ListApplicationsCommandError = function (output, conte
|
|
|
2624
2651
|
case 3: throw _d.sent();
|
|
2625
2652
|
case 4:
|
|
2626
2653
|
parsedBody = parsedOutput.body;
|
|
2654
|
+
$metadata = deserializeMetadata(output);
|
|
2655
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2627
2656
|
response = new __BaseException({
|
|
2628
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2657
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2629
2658
|
$fault: "client",
|
|
2630
|
-
$metadata:
|
|
2659
|
+
$metadata: $metadata,
|
|
2631
2660
|
});
|
|
2632
2661
|
throw __decorateServiceException(response, parsedBody);
|
|
2633
2662
|
}
|
|
@@ -2652,7 +2681,7 @@ export var deserializeAws_json1_1ListDeploymentConfigsCommand = function (output
|
|
|
2652
2681
|
});
|
|
2653
2682
|
}); };
|
|
2654
2683
|
var deserializeAws_json1_1ListDeploymentConfigsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2655
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2684
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2656
2685
|
var _c;
|
|
2657
2686
|
return __generator(this, function (_d) {
|
|
2658
2687
|
switch (_d.label) {
|
|
@@ -2662,7 +2691,6 @@ var deserializeAws_json1_1ListDeploymentConfigsCommandError = function (output,
|
|
|
2662
2691
|
return [4, parseBody(output.body, context)];
|
|
2663
2692
|
case 1:
|
|
2664
2693
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2665
|
-
errorCode = "UnknownError";
|
|
2666
2694
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2667
2695
|
_b = errorCode;
|
|
2668
2696
|
switch (_b) {
|
|
@@ -2674,10 +2702,12 @@ var deserializeAws_json1_1ListDeploymentConfigsCommandError = function (output,
|
|
|
2674
2702
|
case 3: throw _d.sent();
|
|
2675
2703
|
case 4:
|
|
2676
2704
|
parsedBody = parsedOutput.body;
|
|
2705
|
+
$metadata = deserializeMetadata(output);
|
|
2706
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2677
2707
|
response = new __BaseException({
|
|
2678
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2708
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2679
2709
|
$fault: "client",
|
|
2680
|
-
$metadata:
|
|
2710
|
+
$metadata: $metadata,
|
|
2681
2711
|
});
|
|
2682
2712
|
throw __decorateServiceException(response, parsedBody);
|
|
2683
2713
|
}
|
|
@@ -2702,7 +2732,7 @@ export var deserializeAws_json1_1ListDeploymentGroupsCommand = function (output,
|
|
|
2702
2732
|
});
|
|
2703
2733
|
}); };
|
|
2704
2734
|
var deserializeAws_json1_1ListDeploymentGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2705
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2735
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2706
2736
|
var _c;
|
|
2707
2737
|
return __generator(this, function (_d) {
|
|
2708
2738
|
switch (_d.label) {
|
|
@@ -2712,7 +2742,6 @@ var deserializeAws_json1_1ListDeploymentGroupsCommandError = function (output, c
|
|
|
2712
2742
|
return [4, parseBody(output.body, context)];
|
|
2713
2743
|
case 1:
|
|
2714
2744
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2715
|
-
errorCode = "UnknownError";
|
|
2716
2745
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2717
2746
|
_b = errorCode;
|
|
2718
2747
|
switch (_b) {
|
|
@@ -2736,10 +2765,12 @@ var deserializeAws_json1_1ListDeploymentGroupsCommandError = function (output, c
|
|
|
2736
2765
|
case 9: throw _d.sent();
|
|
2737
2766
|
case 10:
|
|
2738
2767
|
parsedBody = parsedOutput.body;
|
|
2768
|
+
$metadata = deserializeMetadata(output);
|
|
2769
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2739
2770
|
response = new __BaseException({
|
|
2740
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2771
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2741
2772
|
$fault: "client",
|
|
2742
|
-
$metadata:
|
|
2773
|
+
$metadata: $metadata,
|
|
2743
2774
|
});
|
|
2744
2775
|
throw __decorateServiceException(response, parsedBody);
|
|
2745
2776
|
}
|
|
@@ -2764,7 +2795,7 @@ export var deserializeAws_json1_1ListDeploymentInstancesCommand = function (outp
|
|
|
2764
2795
|
});
|
|
2765
2796
|
}); };
|
|
2766
2797
|
var deserializeAws_json1_1ListDeploymentInstancesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2767
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2798
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2768
2799
|
var _c;
|
|
2769
2800
|
return __generator(this, function (_d) {
|
|
2770
2801
|
switch (_d.label) {
|
|
@@ -2774,7 +2805,6 @@ var deserializeAws_json1_1ListDeploymentInstancesCommandError = function (output
|
|
|
2774
2805
|
return [4, parseBody(output.body, context)];
|
|
2775
2806
|
case 1:
|
|
2776
2807
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2777
|
-
errorCode = "UnknownError";
|
|
2778
2808
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2779
2809
|
_b = errorCode;
|
|
2780
2810
|
switch (_b) {
|
|
@@ -2822,10 +2852,12 @@ var deserializeAws_json1_1ListDeploymentInstancesCommandError = function (output
|
|
|
2822
2852
|
case 21: throw _d.sent();
|
|
2823
2853
|
case 22:
|
|
2824
2854
|
parsedBody = parsedOutput.body;
|
|
2855
|
+
$metadata = deserializeMetadata(output);
|
|
2856
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2825
2857
|
response = new __BaseException({
|
|
2826
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2858
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2827
2859
|
$fault: "client",
|
|
2828
|
-
$metadata:
|
|
2860
|
+
$metadata: $metadata,
|
|
2829
2861
|
});
|
|
2830
2862
|
throw __decorateServiceException(response, parsedBody);
|
|
2831
2863
|
}
|
|
@@ -2850,7 +2882,7 @@ export var deserializeAws_json1_1ListDeploymentsCommand = function (output, cont
|
|
|
2850
2882
|
});
|
|
2851
2883
|
}); };
|
|
2852
2884
|
var deserializeAws_json1_1ListDeploymentsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2853
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2885
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2854
2886
|
var _c;
|
|
2855
2887
|
return __generator(this, function (_d) {
|
|
2856
2888
|
switch (_d.label) {
|
|
@@ -2860,7 +2892,6 @@ var deserializeAws_json1_1ListDeploymentsCommandError = function (output, contex
|
|
|
2860
2892
|
return [4, parseBody(output.body, context)];
|
|
2861
2893
|
case 1:
|
|
2862
2894
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2863
|
-
errorCode = "UnknownError";
|
|
2864
2895
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2865
2896
|
_b = errorCode;
|
|
2866
2897
|
switch (_b) {
|
|
@@ -2912,10 +2943,12 @@ var deserializeAws_json1_1ListDeploymentsCommandError = function (output, contex
|
|
|
2912
2943
|
case 23: throw _d.sent();
|
|
2913
2944
|
case 24:
|
|
2914
2945
|
parsedBody = parsedOutput.body;
|
|
2946
|
+
$metadata = deserializeMetadata(output);
|
|
2947
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2915
2948
|
response = new __BaseException({
|
|
2916
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2949
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2917
2950
|
$fault: "client",
|
|
2918
|
-
$metadata:
|
|
2951
|
+
$metadata: $metadata,
|
|
2919
2952
|
});
|
|
2920
2953
|
throw __decorateServiceException(response, parsedBody);
|
|
2921
2954
|
}
|
|
@@ -2940,7 +2973,7 @@ export var deserializeAws_json1_1ListDeploymentTargetsCommand = function (output
|
|
|
2940
2973
|
});
|
|
2941
2974
|
}); };
|
|
2942
2975
|
var deserializeAws_json1_1ListDeploymentTargetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2943
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2976
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2944
2977
|
var _c;
|
|
2945
2978
|
return __generator(this, function (_d) {
|
|
2946
2979
|
switch (_d.label) {
|
|
@@ -2950,7 +2983,6 @@ var deserializeAws_json1_1ListDeploymentTargetsCommandError = function (output,
|
|
|
2950
2983
|
return [4, parseBody(output.body, context)];
|
|
2951
2984
|
case 1:
|
|
2952
2985
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2953
|
-
errorCode = "UnknownError";
|
|
2954
2986
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2955
2987
|
_b = errorCode;
|
|
2956
2988
|
switch (_b) {
|
|
@@ -2990,10 +3022,12 @@ var deserializeAws_json1_1ListDeploymentTargetsCommandError = function (output,
|
|
|
2990
3022
|
case 17: throw _d.sent();
|
|
2991
3023
|
case 18:
|
|
2992
3024
|
parsedBody = parsedOutput.body;
|
|
3025
|
+
$metadata = deserializeMetadata(output);
|
|
3026
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2993
3027
|
response = new __BaseException({
|
|
2994
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3028
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2995
3029
|
$fault: "client",
|
|
2996
|
-
$metadata:
|
|
3030
|
+
$metadata: $metadata,
|
|
2997
3031
|
});
|
|
2998
3032
|
throw __decorateServiceException(response, parsedBody);
|
|
2999
3033
|
}
|
|
@@ -3018,7 +3052,7 @@ export var deserializeAws_json1_1ListGitHubAccountTokenNamesCommand = function (
|
|
|
3018
3052
|
});
|
|
3019
3053
|
}); };
|
|
3020
3054
|
var deserializeAws_json1_1ListGitHubAccountTokenNamesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3021
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3055
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3022
3056
|
var _c;
|
|
3023
3057
|
return __generator(this, function (_d) {
|
|
3024
3058
|
switch (_d.label) {
|
|
@@ -3028,7 +3062,6 @@ var deserializeAws_json1_1ListGitHubAccountTokenNamesCommandError = function (ou
|
|
|
3028
3062
|
return [4, parseBody(output.body, context)];
|
|
3029
3063
|
case 1:
|
|
3030
3064
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3031
|
-
errorCode = "UnknownError";
|
|
3032
3065
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3033
3066
|
_b = errorCode;
|
|
3034
3067
|
switch (_b) {
|
|
@@ -3048,10 +3081,12 @@ var deserializeAws_json1_1ListGitHubAccountTokenNamesCommandError = function (ou
|
|
|
3048
3081
|
case 7: throw _d.sent();
|
|
3049
3082
|
case 8:
|
|
3050
3083
|
parsedBody = parsedOutput.body;
|
|
3084
|
+
$metadata = deserializeMetadata(output);
|
|
3085
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3051
3086
|
response = new __BaseException({
|
|
3052
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3087
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3053
3088
|
$fault: "client",
|
|
3054
|
-
$metadata:
|
|
3089
|
+
$metadata: $metadata,
|
|
3055
3090
|
});
|
|
3056
3091
|
throw __decorateServiceException(response, parsedBody);
|
|
3057
3092
|
}
|
|
@@ -3076,7 +3111,7 @@ export var deserializeAws_json1_1ListOnPremisesInstancesCommand = function (outp
|
|
|
3076
3111
|
});
|
|
3077
3112
|
}); };
|
|
3078
3113
|
var deserializeAws_json1_1ListOnPremisesInstancesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3079
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3114
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3080
3115
|
var _c;
|
|
3081
3116
|
return __generator(this, function (_d) {
|
|
3082
3117
|
switch (_d.label) {
|
|
@@ -3086,7 +3121,6 @@ var deserializeAws_json1_1ListOnPremisesInstancesCommandError = function (output
|
|
|
3086
3121
|
return [4, parseBody(output.body, context)];
|
|
3087
3122
|
case 1:
|
|
3088
3123
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3089
|
-
errorCode = "UnknownError";
|
|
3090
3124
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3091
3125
|
_b = errorCode;
|
|
3092
3126
|
switch (_b) {
|
|
@@ -3106,10 +3140,12 @@ var deserializeAws_json1_1ListOnPremisesInstancesCommandError = function (output
|
|
|
3106
3140
|
case 7: throw _d.sent();
|
|
3107
3141
|
case 8:
|
|
3108
3142
|
parsedBody = parsedOutput.body;
|
|
3143
|
+
$metadata = deserializeMetadata(output);
|
|
3144
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3109
3145
|
response = new __BaseException({
|
|
3110
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3146
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3111
3147
|
$fault: "client",
|
|
3112
|
-
$metadata:
|
|
3148
|
+
$metadata: $metadata,
|
|
3113
3149
|
});
|
|
3114
3150
|
throw __decorateServiceException(response, parsedBody);
|
|
3115
3151
|
}
|
|
@@ -3134,7 +3170,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
3134
3170
|
});
|
|
3135
3171
|
}); };
|
|
3136
3172
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3137
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3173
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3138
3174
|
var _c;
|
|
3139
3175
|
return __generator(this, function (_d) {
|
|
3140
3176
|
switch (_d.label) {
|
|
@@ -3144,7 +3180,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
3144
3180
|
return [4, parseBody(output.body, context)];
|
|
3145
3181
|
case 1:
|
|
3146
3182
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3147
|
-
errorCode = "UnknownError";
|
|
3148
3183
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3149
3184
|
_b = errorCode;
|
|
3150
3185
|
switch (_b) {
|
|
@@ -3164,10 +3199,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
3164
3199
|
case 7: throw _d.sent();
|
|
3165
3200
|
case 8:
|
|
3166
3201
|
parsedBody = parsedOutput.body;
|
|
3202
|
+
$metadata = deserializeMetadata(output);
|
|
3203
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3167
3204
|
response = new __BaseException({
|
|
3168
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3205
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3169
3206
|
$fault: "client",
|
|
3170
|
-
$metadata:
|
|
3207
|
+
$metadata: $metadata,
|
|
3171
3208
|
});
|
|
3172
3209
|
throw __decorateServiceException(response, parsedBody);
|
|
3173
3210
|
}
|
|
@@ -3192,7 +3229,7 @@ export var deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand = f
|
|
|
3192
3229
|
});
|
|
3193
3230
|
}); };
|
|
3194
3231
|
var deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3195
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3232
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3196
3233
|
var _c;
|
|
3197
3234
|
return __generator(this, function (_d) {
|
|
3198
3235
|
switch (_d.label) {
|
|
@@ -3202,7 +3239,6 @@ var deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommandError = fun
|
|
|
3202
3239
|
return [4, parseBody(output.body, context)];
|
|
3203
3240
|
case 1:
|
|
3204
3241
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3205
|
-
errorCode = "UnknownError";
|
|
3206
3242
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3207
3243
|
_b = errorCode;
|
|
3208
3244
|
switch (_b) {
|
|
@@ -3238,10 +3274,12 @@ var deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommandError = fun
|
|
|
3238
3274
|
case 15: throw _d.sent();
|
|
3239
3275
|
case 16:
|
|
3240
3276
|
parsedBody = parsedOutput.body;
|
|
3277
|
+
$metadata = deserializeMetadata(output);
|
|
3278
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3241
3279
|
response = new __BaseException({
|
|
3242
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3280
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3243
3281
|
$fault: "client",
|
|
3244
|
-
$metadata:
|
|
3282
|
+
$metadata: $metadata,
|
|
3245
3283
|
});
|
|
3246
3284
|
throw __decorateServiceException(response, parsedBody);
|
|
3247
3285
|
}
|
|
@@ -3266,7 +3304,7 @@ export var deserializeAws_json1_1RegisterApplicationRevisionCommand = function (
|
|
|
3266
3304
|
});
|
|
3267
3305
|
}); };
|
|
3268
3306
|
var deserializeAws_json1_1RegisterApplicationRevisionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3269
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3307
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3270
3308
|
var _c;
|
|
3271
3309
|
return __generator(this, function (_d) {
|
|
3272
3310
|
switch (_d.label) {
|
|
@@ -3276,7 +3314,6 @@ var deserializeAws_json1_1RegisterApplicationRevisionCommandError = function (ou
|
|
|
3276
3314
|
return [4, parseBody(output.body, context)];
|
|
3277
3315
|
case 1:
|
|
3278
3316
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3279
|
-
errorCode = "UnknownError";
|
|
3280
3317
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3281
3318
|
_b = errorCode;
|
|
3282
3319
|
switch (_b) {
|
|
@@ -3308,10 +3345,12 @@ var deserializeAws_json1_1RegisterApplicationRevisionCommandError = function (ou
|
|
|
3308
3345
|
case 13: throw _d.sent();
|
|
3309
3346
|
case 14:
|
|
3310
3347
|
parsedBody = parsedOutput.body;
|
|
3348
|
+
$metadata = deserializeMetadata(output);
|
|
3349
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3311
3350
|
response = new __BaseException({
|
|
3312
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3351
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3313
3352
|
$fault: "client",
|
|
3314
|
-
$metadata:
|
|
3353
|
+
$metadata: $metadata,
|
|
3315
3354
|
});
|
|
3316
3355
|
throw __decorateServiceException(response, parsedBody);
|
|
3317
3356
|
}
|
|
@@ -3336,7 +3375,7 @@ export var deserializeAws_json1_1RegisterOnPremisesInstanceCommand = function (o
|
|
|
3336
3375
|
});
|
|
3337
3376
|
}); };
|
|
3338
3377
|
var deserializeAws_json1_1RegisterOnPremisesInstanceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3339
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3378
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3340
3379
|
var _c;
|
|
3341
3380
|
return __generator(this, function (_d) {
|
|
3342
3381
|
switch (_d.label) {
|
|
@@ -3346,7 +3385,6 @@ var deserializeAws_json1_1RegisterOnPremisesInstanceCommandError = function (out
|
|
|
3346
3385
|
return [4, parseBody(output.body, context)];
|
|
3347
3386
|
case 1:
|
|
3348
3387
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3349
|
-
errorCode = "UnknownError";
|
|
3350
3388
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3351
3389
|
_b = errorCode;
|
|
3352
3390
|
switch (_b) {
|
|
@@ -3394,10 +3432,12 @@ var deserializeAws_json1_1RegisterOnPremisesInstanceCommandError = function (out
|
|
|
3394
3432
|
case 21: throw _d.sent();
|
|
3395
3433
|
case 22:
|
|
3396
3434
|
parsedBody = parsedOutput.body;
|
|
3435
|
+
$metadata = deserializeMetadata(output);
|
|
3436
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3397
3437
|
response = new __BaseException({
|
|
3398
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3438
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3399
3439
|
$fault: "client",
|
|
3400
|
-
$metadata:
|
|
3440
|
+
$metadata: $metadata,
|
|
3401
3441
|
});
|
|
3402
3442
|
throw __decorateServiceException(response, parsedBody);
|
|
3403
3443
|
}
|
|
@@ -3422,7 +3462,7 @@ export var deserializeAws_json1_1RemoveTagsFromOnPremisesInstancesCommand = func
|
|
|
3422
3462
|
});
|
|
3423
3463
|
}); };
|
|
3424
3464
|
var deserializeAws_json1_1RemoveTagsFromOnPremisesInstancesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3425
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3465
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3426
3466
|
var _c;
|
|
3427
3467
|
return __generator(this, function (_d) {
|
|
3428
3468
|
switch (_d.label) {
|
|
@@ -3432,7 +3472,6 @@ var deserializeAws_json1_1RemoveTagsFromOnPremisesInstancesCommandError = functi
|
|
|
3432
3472
|
return [4, parseBody(output.body, context)];
|
|
3433
3473
|
case 1:
|
|
3434
3474
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3435
|
-
errorCode = "UnknownError";
|
|
3436
3475
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3437
3476
|
_b = errorCode;
|
|
3438
3477
|
switch (_b) {
|
|
@@ -3468,10 +3507,12 @@ var deserializeAws_json1_1RemoveTagsFromOnPremisesInstancesCommandError = functi
|
|
|
3468
3507
|
case 15: throw _d.sent();
|
|
3469
3508
|
case 16:
|
|
3470
3509
|
parsedBody = parsedOutput.body;
|
|
3510
|
+
$metadata = deserializeMetadata(output);
|
|
3511
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3471
3512
|
response = new __BaseException({
|
|
3472
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3513
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3473
3514
|
$fault: "client",
|
|
3474
|
-
$metadata:
|
|
3515
|
+
$metadata: $metadata,
|
|
3475
3516
|
});
|
|
3476
3517
|
throw __decorateServiceException(response, parsedBody);
|
|
3477
3518
|
}
|
|
@@ -3496,7 +3537,7 @@ export var deserializeAws_json1_1SkipWaitTimeForInstanceTerminationCommand = fun
|
|
|
3496
3537
|
});
|
|
3497
3538
|
}); };
|
|
3498
3539
|
var deserializeAws_json1_1SkipWaitTimeForInstanceTerminationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3499
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3540
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3500
3541
|
var _c;
|
|
3501
3542
|
return __generator(this, function (_d) {
|
|
3502
3543
|
switch (_d.label) {
|
|
@@ -3506,7 +3547,6 @@ var deserializeAws_json1_1SkipWaitTimeForInstanceTerminationCommandError = funct
|
|
|
3506
3547
|
return [4, parseBody(output.body, context)];
|
|
3507
3548
|
case 1:
|
|
3508
3549
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3509
|
-
errorCode = "UnknownError";
|
|
3510
3550
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3511
3551
|
_b = errorCode;
|
|
3512
3552
|
switch (_b) {
|
|
@@ -3538,10 +3578,12 @@ var deserializeAws_json1_1SkipWaitTimeForInstanceTerminationCommandError = funct
|
|
|
3538
3578
|
case 13: throw _d.sent();
|
|
3539
3579
|
case 14:
|
|
3540
3580
|
parsedBody = parsedOutput.body;
|
|
3581
|
+
$metadata = deserializeMetadata(output);
|
|
3582
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3541
3583
|
response = new __BaseException({
|
|
3542
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3584
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3543
3585
|
$fault: "client",
|
|
3544
|
-
$metadata:
|
|
3586
|
+
$metadata: $metadata,
|
|
3545
3587
|
});
|
|
3546
3588
|
throw __decorateServiceException(response, parsedBody);
|
|
3547
3589
|
}
|
|
@@ -3566,7 +3608,7 @@ export var deserializeAws_json1_1StopDeploymentCommand = function (output, conte
|
|
|
3566
3608
|
});
|
|
3567
3609
|
}); };
|
|
3568
3610
|
var deserializeAws_json1_1StopDeploymentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3569
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3611
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3570
3612
|
var _c;
|
|
3571
3613
|
return __generator(this, function (_d) {
|
|
3572
3614
|
switch (_d.label) {
|
|
@@ -3576,7 +3618,6 @@ var deserializeAws_json1_1StopDeploymentCommandError = function (output, context
|
|
|
3576
3618
|
return [4, parseBody(output.body, context)];
|
|
3577
3619
|
case 1:
|
|
3578
3620
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3579
|
-
errorCode = "UnknownError";
|
|
3580
3621
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3581
3622
|
_b = errorCode;
|
|
3582
3623
|
switch (_b) {
|
|
@@ -3608,10 +3649,12 @@ var deserializeAws_json1_1StopDeploymentCommandError = function (output, context
|
|
|
3608
3649
|
case 13: throw _d.sent();
|
|
3609
3650
|
case 14:
|
|
3610
3651
|
parsedBody = parsedOutput.body;
|
|
3652
|
+
$metadata = deserializeMetadata(output);
|
|
3653
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3611
3654
|
response = new __BaseException({
|
|
3612
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3655
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3613
3656
|
$fault: "client",
|
|
3614
|
-
$metadata:
|
|
3657
|
+
$metadata: $metadata,
|
|
3615
3658
|
});
|
|
3616
3659
|
throw __decorateServiceException(response, parsedBody);
|
|
3617
3660
|
}
|
|
@@ -3636,7 +3679,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
3636
3679
|
});
|
|
3637
3680
|
}); };
|
|
3638
3681
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3639
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3682
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3640
3683
|
var _c;
|
|
3641
3684
|
return __generator(this, function (_d) {
|
|
3642
3685
|
switch (_d.label) {
|
|
@@ -3646,7 +3689,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
3646
3689
|
return [4, parseBody(output.body, context)];
|
|
3647
3690
|
case 1:
|
|
3648
3691
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3649
|
-
errorCode = "UnknownError";
|
|
3650
3692
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3651
3693
|
_b = errorCode;
|
|
3652
3694
|
switch (_b) {
|
|
@@ -3686,10 +3728,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
3686
3728
|
case 17: throw _d.sent();
|
|
3687
3729
|
case 18:
|
|
3688
3730
|
parsedBody = parsedOutput.body;
|
|
3731
|
+
$metadata = deserializeMetadata(output);
|
|
3732
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3689
3733
|
response = new __BaseException({
|
|
3690
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3734
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3691
3735
|
$fault: "client",
|
|
3692
|
-
$metadata:
|
|
3736
|
+
$metadata: $metadata,
|
|
3693
3737
|
});
|
|
3694
3738
|
throw __decorateServiceException(response, parsedBody);
|
|
3695
3739
|
}
|
|
@@ -3714,7 +3758,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
3714
3758
|
});
|
|
3715
3759
|
}); };
|
|
3716
3760
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3717
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3761
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3718
3762
|
var _c;
|
|
3719
3763
|
return __generator(this, function (_d) {
|
|
3720
3764
|
switch (_d.label) {
|
|
@@ -3724,7 +3768,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
3724
3768
|
return [4, parseBody(output.body, context)];
|
|
3725
3769
|
case 1:
|
|
3726
3770
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3727
|
-
errorCode = "UnknownError";
|
|
3728
3771
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3729
3772
|
_b = errorCode;
|
|
3730
3773
|
switch (_b) {
|
|
@@ -3764,10 +3807,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
3764
3807
|
case 17: throw _d.sent();
|
|
3765
3808
|
case 18:
|
|
3766
3809
|
parsedBody = parsedOutput.body;
|
|
3810
|
+
$metadata = deserializeMetadata(output);
|
|
3811
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3767
3812
|
response = new __BaseException({
|
|
3768
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3813
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3769
3814
|
$fault: "client",
|
|
3770
|
-
$metadata:
|
|
3815
|
+
$metadata: $metadata,
|
|
3771
3816
|
});
|
|
3772
3817
|
throw __decorateServiceException(response, parsedBody);
|
|
3773
3818
|
}
|
|
@@ -3792,7 +3837,7 @@ export var deserializeAws_json1_1UpdateApplicationCommand = function (output, co
|
|
|
3792
3837
|
});
|
|
3793
3838
|
}); };
|
|
3794
3839
|
var deserializeAws_json1_1UpdateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3795
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3840
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3796
3841
|
var _c;
|
|
3797
3842
|
return __generator(this, function (_d) {
|
|
3798
3843
|
switch (_d.label) {
|
|
@@ -3802,7 +3847,6 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
3802
3847
|
return [4, parseBody(output.body, context)];
|
|
3803
3848
|
case 1:
|
|
3804
3849
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3805
|
-
errorCode = "UnknownError";
|
|
3806
3850
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3807
3851
|
_b = errorCode;
|
|
3808
3852
|
switch (_b) {
|
|
@@ -3826,10 +3870,12 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
3826
3870
|
case 9: throw _d.sent();
|
|
3827
3871
|
case 10:
|
|
3828
3872
|
parsedBody = parsedOutput.body;
|
|
3873
|
+
$metadata = deserializeMetadata(output);
|
|
3874
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3829
3875
|
response = new __BaseException({
|
|
3830
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3876
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3831
3877
|
$fault: "client",
|
|
3832
|
-
$metadata:
|
|
3878
|
+
$metadata: $metadata,
|
|
3833
3879
|
});
|
|
3834
3880
|
throw __decorateServiceException(response, parsedBody);
|
|
3835
3881
|
}
|
|
@@ -3854,7 +3900,7 @@ export var deserializeAws_json1_1UpdateDeploymentGroupCommand = function (output
|
|
|
3854
3900
|
});
|
|
3855
3901
|
}); };
|
|
3856
3902
|
var deserializeAws_json1_1UpdateDeploymentGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3857
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3903
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3858
3904
|
var _c;
|
|
3859
3905
|
return __generator(this, function (_d) {
|
|
3860
3906
|
switch (_d.label) {
|
|
@@ -3864,7 +3910,6 @@ var deserializeAws_json1_1UpdateDeploymentGroupCommandError = function (output,
|
|
|
3864
3910
|
return [4, parseBody(output.body, context)];
|
|
3865
3911
|
case 1:
|
|
3866
3912
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3867
|
-
errorCode = "UnknownError";
|
|
3868
3913
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3869
3914
|
_b = errorCode;
|
|
3870
3915
|
switch (_b) {
|
|
@@ -3996,10 +4041,12 @@ var deserializeAws_json1_1UpdateDeploymentGroupCommandError = function (output,
|
|
|
3996
4041
|
case 63: throw _d.sent();
|
|
3997
4042
|
case 64:
|
|
3998
4043
|
parsedBody = parsedOutput.body;
|
|
4044
|
+
$metadata = deserializeMetadata(output);
|
|
4045
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3999
4046
|
response = new __BaseException({
|
|
4000
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4047
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4001
4048
|
$fault: "client",
|
|
4002
|
-
$metadata:
|
|
4049
|
+
$metadata: $metadata,
|
|
4003
4050
|
});
|
|
4004
4051
|
throw __decorateServiceException(response, parsedBody);
|
|
4005
4052
|
}
|
|
@@ -4987,18 +5034,15 @@ var deserializeAws_json1_1UnsupportedActionForDeploymentTypeExceptionResponse =
|
|
|
4987
5034
|
});
|
|
4988
5035
|
}); };
|
|
4989
5036
|
var serializeAws_json1_1AddTagsToOnPremisesInstancesInput = function (input, context) {
|
|
4990
|
-
return __assign(__assign({}, (input.instanceNames
|
|
4991
|
-
input.instanceNames !== null && {
|
|
5037
|
+
return __assign(__assign({}, (input.instanceNames != null && {
|
|
4992
5038
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
4993
|
-
})), (input.tags
|
|
5039
|
+
})), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
4994
5040
|
};
|
|
4995
5041
|
var serializeAws_json1_1Alarm = function (input, context) {
|
|
4996
|
-
return __assign({}, (input.name
|
|
5042
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
4997
5043
|
};
|
|
4998
5044
|
var serializeAws_json1_1AlarmConfiguration = function (input, context) {
|
|
4999
|
-
return __assign(__assign(__assign({}, (input.alarms
|
|
5000
|
-
input.alarms !== null && { alarms: serializeAws_json1_1AlarmList(input.alarms, context) })), (input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled })), (input.ignorePollAlarmFailure !== undefined &&
|
|
5001
|
-
input.ignorePollAlarmFailure !== null && { ignorePollAlarmFailure: input.ignorePollAlarmFailure }));
|
|
5045
|
+
return __assign(__assign(__assign({}, (input.alarms != null && { alarms: serializeAws_json1_1AlarmList(input.alarms, context) })), (input.enabled != null && { enabled: input.enabled })), (input.ignorePollAlarmFailure != null && { ignorePollAlarmFailure: input.ignorePollAlarmFailure }));
|
|
5002
5046
|
};
|
|
5003
5047
|
var serializeAws_json1_1AlarmList = function (input, context) {
|
|
5004
5048
|
return input
|
|
@@ -5021,11 +5065,10 @@ var serializeAws_json1_1ApplicationsList = function (input, context) {
|
|
|
5021
5065
|
});
|
|
5022
5066
|
};
|
|
5023
5067
|
var serializeAws_json1_1AppSpecContent = function (input, context) {
|
|
5024
|
-
return __assign(__assign({}, (input.content
|
|
5068
|
+
return __assign(__assign({}, (input.content != null && { content: input.content })), (input.sha256 != null && { sha256: input.sha256 }));
|
|
5025
5069
|
};
|
|
5026
5070
|
var serializeAws_json1_1AutoRollbackConfiguration = function (input, context) {
|
|
5027
|
-
return __assign(__assign({}, (input.enabled
|
|
5028
|
-
input.events !== null && { events: serializeAws_json1_1AutoRollbackEventsList(input.events, context) }));
|
|
5071
|
+
return __assign(__assign({}, (input.enabled != null && { enabled: input.enabled })), (input.events != null && { events: serializeAws_json1_1AutoRollbackEventsList(input.events, context) }));
|
|
5029
5072
|
};
|
|
5030
5073
|
var serializeAws_json1_1AutoRollbackEventsList = function (input, context) {
|
|
5031
5074
|
return input
|
|
@@ -5048,157 +5091,109 @@ var serializeAws_json1_1AutoScalingGroupNameList = function (input, context) {
|
|
|
5048
5091
|
});
|
|
5049
5092
|
};
|
|
5050
5093
|
var serializeAws_json1_1BatchGetApplicationRevisionsInput = function (input, context) {
|
|
5051
|
-
return __assign(__assign({}, (input.applicationName
|
|
5052
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.revisions !== undefined &&
|
|
5053
|
-
input.revisions !== null && { revisions: serializeAws_json1_1RevisionLocationList(input.revisions, context) }));
|
|
5094
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.revisions != null && { revisions: serializeAws_json1_1RevisionLocationList(input.revisions, context) }));
|
|
5054
5095
|
};
|
|
5055
5096
|
var serializeAws_json1_1BatchGetApplicationsInput = function (input, context) {
|
|
5056
|
-
return __assign({}, (input.applicationNames
|
|
5057
|
-
input.applicationNames !== null && {
|
|
5097
|
+
return __assign({}, (input.applicationNames != null && {
|
|
5058
5098
|
applicationNames: serializeAws_json1_1ApplicationsList(input.applicationNames, context),
|
|
5059
5099
|
}));
|
|
5060
5100
|
};
|
|
5061
5101
|
var serializeAws_json1_1BatchGetDeploymentGroupsInput = function (input, context) {
|
|
5062
|
-
return __assign(__assign({}, (input.applicationName
|
|
5063
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.deploymentGroupNames !== undefined &&
|
|
5064
|
-
input.deploymentGroupNames !== null && {
|
|
5102
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.deploymentGroupNames != null && {
|
|
5065
5103
|
deploymentGroupNames: serializeAws_json1_1DeploymentGroupsList(input.deploymentGroupNames, context),
|
|
5066
5104
|
}));
|
|
5067
5105
|
};
|
|
5068
5106
|
var serializeAws_json1_1BatchGetDeploymentInstancesInput = function (input, context) {
|
|
5069
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5070
|
-
input.instanceIds !== null && { instanceIds: serializeAws_json1_1InstancesList(input.instanceIds, context) }));
|
|
5107
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.instanceIds != null && { instanceIds: serializeAws_json1_1InstancesList(input.instanceIds, context) }));
|
|
5071
5108
|
};
|
|
5072
5109
|
var serializeAws_json1_1BatchGetDeploymentsInput = function (input, context) {
|
|
5073
|
-
return __assign({}, (input.deploymentIds
|
|
5074
|
-
input.deploymentIds !== null && {
|
|
5110
|
+
return __assign({}, (input.deploymentIds != null && {
|
|
5075
5111
|
deploymentIds: serializeAws_json1_1DeploymentsList(input.deploymentIds, context),
|
|
5076
5112
|
}));
|
|
5077
5113
|
};
|
|
5078
5114
|
var serializeAws_json1_1BatchGetDeploymentTargetsInput = function (input, context) {
|
|
5079
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5080
|
-
input.targetIds !== null && { targetIds: serializeAws_json1_1TargetIdList(input.targetIds, context) }));
|
|
5115
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.targetIds != null && { targetIds: serializeAws_json1_1TargetIdList(input.targetIds, context) }));
|
|
5081
5116
|
};
|
|
5082
5117
|
var serializeAws_json1_1BatchGetOnPremisesInstancesInput = function (input, context) {
|
|
5083
|
-
return __assign({}, (input.instanceNames
|
|
5084
|
-
input.instanceNames !== null && {
|
|
5118
|
+
return __assign({}, (input.instanceNames != null && {
|
|
5085
5119
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
5086
5120
|
}));
|
|
5087
5121
|
};
|
|
5088
5122
|
var serializeAws_json1_1BlueGreenDeploymentConfiguration = function (input, context) {
|
|
5089
|
-
return __assign(__assign(__assign({}, (input.deploymentReadyOption
|
|
5090
|
-
input.deploymentReadyOption !== null && {
|
|
5123
|
+
return __assign(__assign(__assign({}, (input.deploymentReadyOption != null && {
|
|
5091
5124
|
deploymentReadyOption: serializeAws_json1_1DeploymentReadyOption(input.deploymentReadyOption, context),
|
|
5092
|
-
})), (input.greenFleetProvisioningOption
|
|
5093
|
-
input.greenFleetProvisioningOption !== null && {
|
|
5125
|
+
})), (input.greenFleetProvisioningOption != null && {
|
|
5094
5126
|
greenFleetProvisioningOption: serializeAws_json1_1GreenFleetProvisioningOption(input.greenFleetProvisioningOption, context),
|
|
5095
|
-
})), (input.terminateBlueInstancesOnDeploymentSuccess
|
|
5096
|
-
input.terminateBlueInstancesOnDeploymentSuccess !== null && {
|
|
5127
|
+
})), (input.terminateBlueInstancesOnDeploymentSuccess != null && {
|
|
5097
5128
|
terminateBlueInstancesOnDeploymentSuccess: serializeAws_json1_1BlueInstanceTerminationOption(input.terminateBlueInstancesOnDeploymentSuccess, context),
|
|
5098
5129
|
}));
|
|
5099
5130
|
};
|
|
5100
5131
|
var serializeAws_json1_1BlueInstanceTerminationOption = function (input, context) {
|
|
5101
|
-
return __assign(__assign({}, (input.action
|
|
5102
|
-
input.terminationWaitTimeInMinutes !== null && {
|
|
5132
|
+
return __assign(__assign({}, (input.action != null && { action: input.action })), (input.terminationWaitTimeInMinutes != null && {
|
|
5103
5133
|
terminationWaitTimeInMinutes: input.terminationWaitTimeInMinutes,
|
|
5104
5134
|
}));
|
|
5105
5135
|
};
|
|
5106
5136
|
var serializeAws_json1_1ContinueDeploymentInput = function (input, context) {
|
|
5107
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5108
|
-
input.deploymentWaitType !== null && { deploymentWaitType: input.deploymentWaitType }));
|
|
5137
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.deploymentWaitType != null && { deploymentWaitType: input.deploymentWaitType }));
|
|
5109
5138
|
};
|
|
5110
5139
|
var serializeAws_json1_1CreateApplicationInput = function (input, context) {
|
|
5111
|
-
return __assign(__assign(__assign({}, (input.applicationName
|
|
5112
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.computePlatform !== undefined &&
|
|
5113
|
-
input.computePlatform !== null && { computePlatform: input.computePlatform })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
5140
|
+
return __assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.computePlatform != null && { computePlatform: input.computePlatform })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
5114
5141
|
};
|
|
5115
5142
|
var serializeAws_json1_1CreateDeploymentConfigInput = function (input, context) {
|
|
5116
|
-
return __assign(__assign(__assign(__assign({}, (input.computePlatform
|
|
5117
|
-
input.computePlatform !== null && { computePlatform: input.computePlatform })), (input.deploymentConfigName !== undefined &&
|
|
5118
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName })), (input.minimumHealthyHosts !== undefined &&
|
|
5119
|
-
input.minimumHealthyHosts !== null && {
|
|
5143
|
+
return __assign(__assign(__assign(__assign({}, (input.computePlatform != null && { computePlatform: input.computePlatform })), (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName })), (input.minimumHealthyHosts != null && {
|
|
5120
5144
|
minimumHealthyHosts: serializeAws_json1_1MinimumHealthyHosts(input.minimumHealthyHosts, context),
|
|
5121
|
-
})), (input.trafficRoutingConfig
|
|
5122
|
-
input.trafficRoutingConfig !== null && {
|
|
5145
|
+
})), (input.trafficRoutingConfig != null && {
|
|
5123
5146
|
trafficRoutingConfig: serializeAws_json1_1TrafficRoutingConfig(input.trafficRoutingConfig, context),
|
|
5124
5147
|
}));
|
|
5125
5148
|
};
|
|
5126
5149
|
var serializeAws_json1_1CreateDeploymentGroupInput = function (input, context) {
|
|
5127
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmConfiguration
|
|
5128
|
-
input.alarmConfiguration !== null && {
|
|
5150
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmConfiguration != null && {
|
|
5129
5151
|
alarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.alarmConfiguration, context),
|
|
5130
|
-
})), (input.applicationName
|
|
5131
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration !== undefined &&
|
|
5132
|
-
input.autoRollbackConfiguration !== null && {
|
|
5152
|
+
})), (input.applicationName != null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration != null && {
|
|
5133
5153
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
5134
|
-
})), (input.autoScalingGroups
|
|
5135
|
-
input.autoScalingGroups !== null && {
|
|
5154
|
+
})), (input.autoScalingGroups != null && {
|
|
5136
5155
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
5137
|
-
})), (input.blueGreenDeploymentConfiguration
|
|
5138
|
-
input.blueGreenDeploymentConfiguration !== null && {
|
|
5156
|
+
})), (input.blueGreenDeploymentConfiguration != null && {
|
|
5139
5157
|
blueGreenDeploymentConfiguration: serializeAws_json1_1BlueGreenDeploymentConfiguration(input.blueGreenDeploymentConfiguration, context),
|
|
5140
|
-
})), (input.deploymentConfigName
|
|
5141
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentGroupName !== undefined &&
|
|
5142
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName })), (input.deploymentStyle !== undefined &&
|
|
5143
|
-
input.deploymentStyle !== null && {
|
|
5158
|
+
})), (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName })), (input.deploymentStyle != null && {
|
|
5144
5159
|
deploymentStyle: serializeAws_json1_1DeploymentStyle(input.deploymentStyle, context),
|
|
5145
|
-
})), (input.ec2TagFilters
|
|
5146
|
-
input.ec2TagFilters !== null && {
|
|
5160
|
+
})), (input.ec2TagFilters != null && {
|
|
5147
5161
|
ec2TagFilters: serializeAws_json1_1EC2TagFilterList(input.ec2TagFilters, context),
|
|
5148
|
-
})), (input.ec2TagSet
|
|
5149
|
-
input.ec2TagSet !== null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.ecsServices !== undefined &&
|
|
5150
|
-
input.ecsServices !== null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) })), (input.loadBalancerInfo !== undefined &&
|
|
5151
|
-
input.loadBalancerInfo !== null && {
|
|
5162
|
+
})), (input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.ecsServices != null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) })), (input.loadBalancerInfo != null && {
|
|
5152
5163
|
loadBalancerInfo: serializeAws_json1_1LoadBalancerInfo(input.loadBalancerInfo, context),
|
|
5153
|
-
})), (input.onPremisesInstanceTagFilters
|
|
5154
|
-
input.onPremisesInstanceTagFilters !== null && {
|
|
5164
|
+
})), (input.onPremisesInstanceTagFilters != null && {
|
|
5155
5165
|
onPremisesInstanceTagFilters: serializeAws_json1_1TagFilterList(input.onPremisesInstanceTagFilters, context),
|
|
5156
|
-
})), (input.onPremisesTagSet
|
|
5157
|
-
input.onPremisesTagSet !== null && {
|
|
5166
|
+
})), (input.onPremisesTagSet != null && {
|
|
5158
5167
|
onPremisesTagSet: serializeAws_json1_1OnPremisesTagSet(input.onPremisesTagSet, context),
|
|
5159
|
-
})), (input.outdatedInstancesStrategy
|
|
5160
|
-
input.outdatedInstancesStrategy !== null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy })), (input.serviceRoleArn !== undefined &&
|
|
5161
|
-
input.serviceRoleArn !== null && { serviceRoleArn: input.serviceRoleArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.triggerConfigurations !== undefined &&
|
|
5162
|
-
input.triggerConfigurations !== null && {
|
|
5168
|
+
})), (input.outdatedInstancesStrategy != null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy })), (input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.triggerConfigurations != null && {
|
|
5163
5169
|
triggerConfigurations: serializeAws_json1_1TriggerConfigList(input.triggerConfigurations, context),
|
|
5164
5170
|
}));
|
|
5165
5171
|
};
|
|
5166
5172
|
var serializeAws_json1_1CreateDeploymentInput = function (input, context) {
|
|
5167
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName
|
|
5168
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration !== undefined &&
|
|
5169
|
-
input.autoRollbackConfiguration !== null && {
|
|
5173
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration != null && {
|
|
5170
5174
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
5171
|
-
})), (input.deploymentConfigName
|
|
5172
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentGroupName !== undefined &&
|
|
5173
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.fileExistsBehavior !== undefined &&
|
|
5174
|
-
input.fileExistsBehavior !== null && { fileExistsBehavior: input.fileExistsBehavior })), (input.ignoreApplicationStopFailures !== undefined &&
|
|
5175
|
-
input.ignoreApplicationStopFailures !== null && {
|
|
5175
|
+
})), (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName })), (input.description != null && { description: input.description })), (input.fileExistsBehavior != null && { fileExistsBehavior: input.fileExistsBehavior })), (input.ignoreApplicationStopFailures != null && {
|
|
5176
5176
|
ignoreApplicationStopFailures: input.ignoreApplicationStopFailures,
|
|
5177
|
-
})), (input.revision
|
|
5178
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) })), (input.targetInstances !== undefined &&
|
|
5179
|
-
input.targetInstances !== null && {
|
|
5177
|
+
})), (input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) })), (input.targetInstances != null && {
|
|
5180
5178
|
targetInstances: serializeAws_json1_1TargetInstances(input.targetInstances, context),
|
|
5181
|
-
})), (input.updateOutdatedInstancesOnly
|
|
5182
|
-
|
|
5179
|
+
})), (input.updateOutdatedInstancesOnly != null && {
|
|
5180
|
+
updateOutdatedInstancesOnly: input.updateOutdatedInstancesOnly,
|
|
5181
|
+
}));
|
|
5183
5182
|
};
|
|
5184
5183
|
var serializeAws_json1_1DeleteApplicationInput = function (input, context) {
|
|
5185
|
-
return __assign({}, (input.applicationName
|
|
5186
|
-
input.applicationName !== null && { applicationName: input.applicationName }));
|
|
5184
|
+
return __assign({}, (input.applicationName != null && { applicationName: input.applicationName }));
|
|
5187
5185
|
};
|
|
5188
5186
|
var serializeAws_json1_1DeleteDeploymentConfigInput = function (input, context) {
|
|
5189
|
-
return __assign({}, (input.deploymentConfigName
|
|
5190
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }));
|
|
5187
|
+
return __assign({}, (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }));
|
|
5191
5188
|
};
|
|
5192
5189
|
var serializeAws_json1_1DeleteDeploymentGroupInput = function (input, context) {
|
|
5193
|
-
return __assign(__assign({}, (input.applicationName
|
|
5194
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.deploymentGroupName !== undefined &&
|
|
5195
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }));
|
|
5190
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }));
|
|
5196
5191
|
};
|
|
5197
5192
|
var serializeAws_json1_1DeleteGitHubAccountTokenInput = function (input, context) {
|
|
5198
|
-
return __assign({}, (input.tokenName
|
|
5193
|
+
return __assign({}, (input.tokenName != null && { tokenName: input.tokenName }));
|
|
5199
5194
|
};
|
|
5200
5195
|
var serializeAws_json1_1DeleteResourcesByExternalIdInput = function (input, context) {
|
|
5201
|
-
return __assign({}, (input.externalId
|
|
5196
|
+
return __assign({}, (input.externalId != null && { externalId: input.externalId }));
|
|
5202
5197
|
};
|
|
5203
5198
|
var serializeAws_json1_1DeploymentGroupsList = function (input, context) {
|
|
5204
5199
|
return input
|
|
@@ -5211,9 +5206,7 @@ var serializeAws_json1_1DeploymentGroupsList = function (input, context) {
|
|
|
5211
5206
|
});
|
|
5212
5207
|
};
|
|
5213
5208
|
var serializeAws_json1_1DeploymentReadyOption = function (input, context) {
|
|
5214
|
-
return __assign(__assign({}, (input.actionOnTimeout
|
|
5215
|
-
input.actionOnTimeout !== null && { actionOnTimeout: input.actionOnTimeout })), (input.waitTimeInMinutes !== undefined &&
|
|
5216
|
-
input.waitTimeInMinutes !== null && { waitTimeInMinutes: input.waitTimeInMinutes }));
|
|
5209
|
+
return __assign(__assign({}, (input.actionOnTimeout != null && { actionOnTimeout: input.actionOnTimeout })), (input.waitTimeInMinutes != null && { waitTimeInMinutes: input.waitTimeInMinutes }));
|
|
5217
5210
|
};
|
|
5218
5211
|
var serializeAws_json1_1DeploymentsList = function (input, context) {
|
|
5219
5212
|
return input
|
|
@@ -5236,15 +5229,13 @@ var serializeAws_json1_1DeploymentStatusList = function (input, context) {
|
|
|
5236
5229
|
});
|
|
5237
5230
|
};
|
|
5238
5231
|
var serializeAws_json1_1DeploymentStyle = function (input, context) {
|
|
5239
|
-
return __assign(__assign({}, (input.deploymentOption
|
|
5240
|
-
input.deploymentOption !== null && { deploymentOption: input.deploymentOption })), (input.deploymentType !== undefined &&
|
|
5241
|
-
input.deploymentType !== null && { deploymentType: input.deploymentType }));
|
|
5232
|
+
return __assign(__assign({}, (input.deploymentOption != null && { deploymentOption: input.deploymentOption })), (input.deploymentType != null && { deploymentType: input.deploymentType }));
|
|
5242
5233
|
};
|
|
5243
5234
|
var serializeAws_json1_1DeregisterOnPremisesInstanceInput = function (input, context) {
|
|
5244
|
-
return __assign({}, (input.instanceName
|
|
5235
|
+
return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
|
|
5245
5236
|
};
|
|
5246
5237
|
var serializeAws_json1_1EC2TagFilter = function (input, context) {
|
|
5247
|
-
return __assign(__assign(__assign({}, (input.Key
|
|
5238
|
+
return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
|
|
5248
5239
|
};
|
|
5249
5240
|
var serializeAws_json1_1EC2TagFilterList = function (input, context) {
|
|
5250
5241
|
return input
|
|
@@ -5257,8 +5248,7 @@ var serializeAws_json1_1EC2TagFilterList = function (input, context) {
|
|
|
5257
5248
|
});
|
|
5258
5249
|
};
|
|
5259
5250
|
var serializeAws_json1_1EC2TagSet = function (input, context) {
|
|
5260
|
-
return __assign({}, (input.ec2TagSetList
|
|
5261
|
-
input.ec2TagSetList !== null && {
|
|
5251
|
+
return __assign({}, (input.ec2TagSetList != null && {
|
|
5262
5252
|
ec2TagSetList: serializeAws_json1_1EC2TagSetList(input.ec2TagSetList, context),
|
|
5263
5253
|
}));
|
|
5264
5254
|
};
|
|
@@ -5273,7 +5263,7 @@ var serializeAws_json1_1EC2TagSetList = function (input, context) {
|
|
|
5273
5263
|
});
|
|
5274
5264
|
};
|
|
5275
5265
|
var serializeAws_json1_1ECSService = function (input, context) {
|
|
5276
|
-
return __assign(__assign({}, (input.clusterName
|
|
5266
|
+
return __assign(__assign({}, (input.clusterName != null && { clusterName: input.clusterName })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
5277
5267
|
};
|
|
5278
5268
|
var serializeAws_json1_1ECSServiceList = function (input, context) {
|
|
5279
5269
|
return input
|
|
@@ -5286,7 +5276,7 @@ var serializeAws_json1_1ECSServiceList = function (input, context) {
|
|
|
5286
5276
|
});
|
|
5287
5277
|
};
|
|
5288
5278
|
var serializeAws_json1_1ELBInfo = function (input, context) {
|
|
5289
|
-
return __assign({}, (input.name
|
|
5279
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
5290
5280
|
};
|
|
5291
5281
|
var serializeAws_json1_1ELBInfoList = function (input, context) {
|
|
5292
5282
|
return input
|
|
@@ -5309,40 +5299,34 @@ var serializeAws_json1_1FilterValueList = function (input, context) {
|
|
|
5309
5299
|
});
|
|
5310
5300
|
};
|
|
5311
5301
|
var serializeAws_json1_1GetApplicationInput = function (input, context) {
|
|
5312
|
-
return __assign({}, (input.applicationName
|
|
5313
|
-
input.applicationName !== null && { applicationName: input.applicationName }));
|
|
5302
|
+
return __assign({}, (input.applicationName != null && { applicationName: input.applicationName }));
|
|
5314
5303
|
};
|
|
5315
5304
|
var serializeAws_json1_1GetApplicationRevisionInput = function (input, context) {
|
|
5316
|
-
return __assign(__assign({}, (input.applicationName
|
|
5317
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.revision !== undefined &&
|
|
5318
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }));
|
|
5305
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }));
|
|
5319
5306
|
};
|
|
5320
5307
|
var serializeAws_json1_1GetDeploymentConfigInput = function (input, context) {
|
|
5321
|
-
return __assign({}, (input.deploymentConfigName
|
|
5322
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }));
|
|
5308
|
+
return __assign({}, (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }));
|
|
5323
5309
|
};
|
|
5324
5310
|
var serializeAws_json1_1GetDeploymentGroupInput = function (input, context) {
|
|
5325
|
-
return __assign(__assign({}, (input.applicationName
|
|
5326
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.deploymentGroupName !== undefined &&
|
|
5327
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }));
|
|
5311
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }));
|
|
5328
5312
|
};
|
|
5329
5313
|
var serializeAws_json1_1GetDeploymentInput = function (input, context) {
|
|
5330
|
-
return __assign({}, (input.deploymentId
|
|
5314
|
+
return __assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId }));
|
|
5331
5315
|
};
|
|
5332
5316
|
var serializeAws_json1_1GetDeploymentInstanceInput = function (input, context) {
|
|
5333
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5317
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.instanceId != null && { instanceId: input.instanceId }));
|
|
5334
5318
|
};
|
|
5335
5319
|
var serializeAws_json1_1GetDeploymentTargetInput = function (input, context) {
|
|
5336
|
-
return __assign(__assign({}, (input.deploymentId
|
|
5320
|
+
return __assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.targetId != null && { targetId: input.targetId }));
|
|
5337
5321
|
};
|
|
5338
5322
|
var serializeAws_json1_1GetOnPremisesInstanceInput = function (input, context) {
|
|
5339
|
-
return __assign({}, (input.instanceName
|
|
5323
|
+
return __assign({}, (input.instanceName != null && { instanceName: input.instanceName }));
|
|
5340
5324
|
};
|
|
5341
5325
|
var serializeAws_json1_1GitHubLocation = function (input, context) {
|
|
5342
|
-
return __assign(__assign({}, (input.commitId
|
|
5326
|
+
return __assign(__assign({}, (input.commitId != null && { commitId: input.commitId })), (input.repository != null && { repository: input.repository }));
|
|
5343
5327
|
};
|
|
5344
5328
|
var serializeAws_json1_1GreenFleetProvisioningOption = function (input, context) {
|
|
5345
|
-
return __assign({}, (input.action
|
|
5329
|
+
return __assign({}, (input.action != null && { action: input.action }));
|
|
5346
5330
|
};
|
|
5347
5331
|
var serializeAws_json1_1InstanceNameList = function (input, context) {
|
|
5348
5332
|
return input
|
|
@@ -5385,42 +5369,33 @@ var serializeAws_json1_1InstanceTypeList = function (input, context) {
|
|
|
5385
5369
|
});
|
|
5386
5370
|
};
|
|
5387
5371
|
var serializeAws_json1_1ListApplicationRevisionsInput = function (input, context) {
|
|
5388
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName
|
|
5389
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.deployed !== undefined && input.deployed !== null && { deployed: input.deployed })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.s3Bucket !== undefined && input.s3Bucket !== null && { s3Bucket: input.s3Bucket })), (input.s3KeyPrefix !== undefined && input.s3KeyPrefix !== null && { s3KeyPrefix: input.s3KeyPrefix })), (input.sortBy !== undefined && input.sortBy !== null && { sortBy: input.sortBy })), (input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }));
|
|
5372
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.deployed != null && { deployed: input.deployed })), (input.nextToken != null && { nextToken: input.nextToken })), (input.s3Bucket != null && { s3Bucket: input.s3Bucket })), (input.s3KeyPrefix != null && { s3KeyPrefix: input.s3KeyPrefix })), (input.sortBy != null && { sortBy: input.sortBy })), (input.sortOrder != null && { sortOrder: input.sortOrder }));
|
|
5390
5373
|
};
|
|
5391
5374
|
var serializeAws_json1_1ListApplicationsInput = function (input, context) {
|
|
5392
|
-
return __assign({}, (input.nextToken
|
|
5375
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5393
5376
|
};
|
|
5394
5377
|
var serializeAws_json1_1ListDeploymentConfigsInput = function (input, context) {
|
|
5395
|
-
return __assign({}, (input.nextToken
|
|
5378
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5396
5379
|
};
|
|
5397
5380
|
var serializeAws_json1_1ListDeploymentGroupsInput = function (input, context) {
|
|
5398
|
-
return __assign(__assign({}, (input.applicationName
|
|
5399
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
5381
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5400
5382
|
};
|
|
5401
5383
|
var serializeAws_json1_1ListDeploymentInstancesInput = function (input, context) {
|
|
5402
|
-
return __assign(__assign(__assign(__assign({}, (input.deploymentId
|
|
5403
|
-
input.instanceStatusFilter !== null && {
|
|
5384
|
+
return __assign(__assign(__assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.instanceStatusFilter != null && {
|
|
5404
5385
|
instanceStatusFilter: serializeAws_json1_1InstanceStatusList(input.instanceStatusFilter, context),
|
|
5405
|
-
})), (input.instanceTypeFilter
|
|
5406
|
-
input.instanceTypeFilter !== null && {
|
|
5386
|
+
})), (input.instanceTypeFilter != null && {
|
|
5407
5387
|
instanceTypeFilter: serializeAws_json1_1InstanceTypeList(input.instanceTypeFilter, context),
|
|
5408
|
-
})), (input.nextToken
|
|
5388
|
+
})), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5409
5389
|
};
|
|
5410
5390
|
var serializeAws_json1_1ListDeploymentsInput = function (input, context) {
|
|
5411
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName
|
|
5412
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.createTimeRange !== undefined &&
|
|
5413
|
-
input.createTimeRange !== null && {
|
|
5391
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.createTimeRange != null && {
|
|
5414
5392
|
createTimeRange: serializeAws_json1_1TimeRange(input.createTimeRange, context),
|
|
5415
|
-
})), (input.deploymentGroupName
|
|
5416
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName })), (input.externalId !== undefined && input.externalId !== null && { externalId: input.externalId })), (input.includeOnlyStatuses !== undefined &&
|
|
5417
|
-
input.includeOnlyStatuses !== null && {
|
|
5393
|
+
})), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName })), (input.externalId != null && { externalId: input.externalId })), (input.includeOnlyStatuses != null && {
|
|
5418
5394
|
includeOnlyStatuses: serializeAws_json1_1DeploymentStatusList(input.includeOnlyStatuses, context),
|
|
5419
|
-
})), (input.nextToken
|
|
5395
|
+
})), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5420
5396
|
};
|
|
5421
5397
|
var serializeAws_json1_1ListDeploymentTargetsInput = function (input, context) {
|
|
5422
|
-
return __assign(__assign(__assign({}, (input.deploymentId
|
|
5423
|
-
input.targetFilters !== null && {
|
|
5398
|
+
return __assign(__assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.nextToken != null && { nextToken: input.nextToken })), (input.targetFilters != null && {
|
|
5424
5399
|
targetFilters: serializeAws_json1_1TargetFilters(input.targetFilters, context),
|
|
5425
5400
|
}));
|
|
5426
5401
|
};
|
|
@@ -5435,32 +5410,26 @@ var serializeAws_json1_1ListenerArnList = function (input, context) {
|
|
|
5435
5410
|
});
|
|
5436
5411
|
};
|
|
5437
5412
|
var serializeAws_json1_1ListGitHubAccountTokenNamesInput = function (input, context) {
|
|
5438
|
-
return __assign({}, (input.nextToken
|
|
5413
|
+
return __assign({}, (input.nextToken != null && { nextToken: input.nextToken }));
|
|
5439
5414
|
};
|
|
5440
5415
|
var serializeAws_json1_1ListOnPremisesInstancesInput = function (input, context) {
|
|
5441
|
-
return __assign(__assign(__assign({}, (input.nextToken
|
|
5442
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus })), (input.tagFilters !== undefined &&
|
|
5443
|
-
input.tagFilters !== null && { tagFilters: serializeAws_json1_1TagFilterList(input.tagFilters, context) }));
|
|
5416
|
+
return __assign(__assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.registrationStatus != null && { registrationStatus: input.registrationStatus })), (input.tagFilters != null && { tagFilters: serializeAws_json1_1TagFilterList(input.tagFilters, context) }));
|
|
5444
5417
|
};
|
|
5445
5418
|
var serializeAws_json1_1ListTagsForResourceInput = function (input, context) {
|
|
5446
|
-
return __assign(__assign({}, (input.NextToken
|
|
5419
|
+
return __assign(__assign({}, (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
5447
5420
|
};
|
|
5448
5421
|
var serializeAws_json1_1LoadBalancerInfo = function (input, context) {
|
|
5449
|
-
return __assign(__assign(__assign({}, (input.elbInfoList
|
|
5450
|
-
input.elbInfoList !== null && { elbInfoList: serializeAws_json1_1ELBInfoList(input.elbInfoList, context) })), (input.targetGroupInfoList !== undefined &&
|
|
5451
|
-
input.targetGroupInfoList !== null && {
|
|
5422
|
+
return __assign(__assign(__assign({}, (input.elbInfoList != null && { elbInfoList: serializeAws_json1_1ELBInfoList(input.elbInfoList, context) })), (input.targetGroupInfoList != null && {
|
|
5452
5423
|
targetGroupInfoList: serializeAws_json1_1TargetGroupInfoList(input.targetGroupInfoList, context),
|
|
5453
|
-
})), (input.targetGroupPairInfoList
|
|
5454
|
-
input.targetGroupPairInfoList !== null && {
|
|
5424
|
+
})), (input.targetGroupPairInfoList != null && {
|
|
5455
5425
|
targetGroupPairInfoList: serializeAws_json1_1TargetGroupPairInfoList(input.targetGroupPairInfoList, context),
|
|
5456
5426
|
}));
|
|
5457
5427
|
};
|
|
5458
5428
|
var serializeAws_json1_1MinimumHealthyHosts = function (input, context) {
|
|
5459
|
-
return __assign(__assign({}, (input.type
|
|
5429
|
+
return __assign(__assign({}, (input.type != null && { type: input.type })), (input.value != null && { value: input.value }));
|
|
5460
5430
|
};
|
|
5461
5431
|
var serializeAws_json1_1OnPremisesTagSet = function (input, context) {
|
|
5462
|
-
return __assign({}, (input.onPremisesTagSetList
|
|
5463
|
-
input.onPremisesTagSetList !== null && {
|
|
5432
|
+
return __assign({}, (input.onPremisesTagSetList != null && {
|
|
5464
5433
|
onPremisesTagSetList: serializeAws_json1_1OnPremisesTagSetList(input.onPremisesTagSetList, context),
|
|
5465
5434
|
}));
|
|
5466
5435
|
};
|
|
@@ -5475,38 +5444,30 @@ var serializeAws_json1_1OnPremisesTagSetList = function (input, context) {
|
|
|
5475
5444
|
});
|
|
5476
5445
|
};
|
|
5477
5446
|
var serializeAws_json1_1PutLifecycleEventHookExecutionStatusInput = function (input, context) {
|
|
5478
|
-
return __assign(__assign(__assign({}, (input.deploymentId
|
|
5479
|
-
input.lifecycleEventHookExecutionId !== null && {
|
|
5447
|
+
return __assign(__assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.lifecycleEventHookExecutionId != null && {
|
|
5480
5448
|
lifecycleEventHookExecutionId: input.lifecycleEventHookExecutionId,
|
|
5481
|
-
})), (input.status
|
|
5449
|
+
})), (input.status != null && { status: input.status }));
|
|
5482
5450
|
};
|
|
5483
5451
|
var serializeAws_json1_1RawString = function (input, context) {
|
|
5484
|
-
return __assign(__assign({}, (input.content
|
|
5452
|
+
return __assign(__assign({}, (input.content != null && { content: input.content })), (input.sha256 != null && { sha256: input.sha256 }));
|
|
5485
5453
|
};
|
|
5486
5454
|
var serializeAws_json1_1RegisterApplicationRevisionInput = function (input, context) {
|
|
5487
|
-
return __assign(__assign(__assign({}, (input.applicationName
|
|
5488
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.revision !== undefined &&
|
|
5489
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }));
|
|
5455
|
+
return __assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.description != null && { description: input.description })), (input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }));
|
|
5490
5456
|
};
|
|
5491
5457
|
var serializeAws_json1_1RegisterOnPremisesInstanceInput = function (input, context) {
|
|
5492
|
-
return __assign(__assign(__assign({}, (input.iamSessionArn
|
|
5458
|
+
return __assign(__assign(__assign({}, (input.iamSessionArn != null && { iamSessionArn: input.iamSessionArn })), (input.iamUserArn != null && { iamUserArn: input.iamUserArn })), (input.instanceName != null && { instanceName: input.instanceName }));
|
|
5493
5459
|
};
|
|
5494
5460
|
var serializeAws_json1_1RemoveTagsFromOnPremisesInstancesInput = function (input, context) {
|
|
5495
|
-
return __assign(__assign({}, (input.instanceNames
|
|
5496
|
-
input.instanceNames !== null && {
|
|
5461
|
+
return __assign(__assign({}, (input.instanceNames != null && {
|
|
5497
5462
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
5498
|
-
})), (input.tags
|
|
5463
|
+
})), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
5499
5464
|
};
|
|
5500
5465
|
var serializeAws_json1_1RevisionLocation = function (input, context) {
|
|
5501
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.appSpecContent
|
|
5502
|
-
input.appSpecContent !== null && {
|
|
5466
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.appSpecContent != null && {
|
|
5503
5467
|
appSpecContent: serializeAws_json1_1AppSpecContent(input.appSpecContent, context),
|
|
5504
|
-
})), (input.gitHubLocation
|
|
5505
|
-
input.gitHubLocation !== null && {
|
|
5468
|
+
})), (input.gitHubLocation != null && {
|
|
5506
5469
|
gitHubLocation: serializeAws_json1_1GitHubLocation(input.gitHubLocation, context),
|
|
5507
|
-
})), (input.revisionType
|
|
5508
|
-
input.s3Location !== null && { s3Location: serializeAws_json1_1S3Location(input.s3Location, context) })), (input.string !== undefined &&
|
|
5509
|
-
input.string !== null && { string: serializeAws_json1_1RawString(input.string, context) }));
|
|
5470
|
+
})), (input.revisionType != null && { revisionType: input.revisionType })), (input.s3Location != null && { s3Location: serializeAws_json1_1S3Location(input.s3Location, context) })), (input.string != null && { string: serializeAws_json1_1RawString(input.string, context) }));
|
|
5510
5471
|
};
|
|
5511
5472
|
var serializeAws_json1_1RevisionLocationList = function (input, context) {
|
|
5512
5473
|
return input
|
|
@@ -5519,20 +5480,19 @@ var serializeAws_json1_1RevisionLocationList = function (input, context) {
|
|
|
5519
5480
|
});
|
|
5520
5481
|
};
|
|
5521
5482
|
var serializeAws_json1_1S3Location = function (input, context) {
|
|
5522
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.bucket
|
|
5483
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.bucket != null && { bucket: input.bucket })), (input.bundleType != null && { bundleType: input.bundleType })), (input.eTag != null && { eTag: input.eTag })), (input.key != null && { key: input.key })), (input.version != null && { version: input.version }));
|
|
5523
5484
|
};
|
|
5524
5485
|
var serializeAws_json1_1SkipWaitTimeForInstanceTerminationInput = function (input, context) {
|
|
5525
|
-
return __assign({}, (input.deploymentId
|
|
5486
|
+
return __assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId }));
|
|
5526
5487
|
};
|
|
5527
5488
|
var serializeAws_json1_1StopDeploymentInput = function (input, context) {
|
|
5528
|
-
return __assign(__assign({}, (input.autoRollbackEnabled
|
|
5529
|
-
input.autoRollbackEnabled !== null && { autoRollbackEnabled: input.autoRollbackEnabled })), (input.deploymentId !== undefined && input.deploymentId !== null && { deploymentId: input.deploymentId }));
|
|
5489
|
+
return __assign(__assign({}, (input.autoRollbackEnabled != null && { autoRollbackEnabled: input.autoRollbackEnabled })), (input.deploymentId != null && { deploymentId: input.deploymentId }));
|
|
5530
5490
|
};
|
|
5531
5491
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
5532
|
-
return __assign(__assign({}, (input.Key
|
|
5492
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
5533
5493
|
};
|
|
5534
5494
|
var serializeAws_json1_1TagFilter = function (input, context) {
|
|
5535
|
-
return __assign(__assign(__assign({}, (input.Key
|
|
5495
|
+
return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
|
|
5536
5496
|
};
|
|
5537
5497
|
var serializeAws_json1_1TagFilterList = function (input, context) {
|
|
5538
5498
|
return input
|
|
@@ -5565,7 +5525,7 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
5565
5525
|
});
|
|
5566
5526
|
};
|
|
5567
5527
|
var serializeAws_json1_1TagResourceInput = function (input, context) {
|
|
5568
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5528
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5569
5529
|
};
|
|
5570
5530
|
var serializeAws_json1_1TargetFilters = function (input, context) {
|
|
5571
5531
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -5578,7 +5538,7 @@ var serializeAws_json1_1TargetFilters = function (input, context) {
|
|
|
5578
5538
|
}, {});
|
|
5579
5539
|
};
|
|
5580
5540
|
var serializeAws_json1_1TargetGroupInfo = function (input, context) {
|
|
5581
|
-
return __assign({}, (input.name
|
|
5541
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
5582
5542
|
};
|
|
5583
5543
|
var serializeAws_json1_1TargetGroupInfoList = function (input, context) {
|
|
5584
5544
|
return input
|
|
@@ -5591,14 +5551,11 @@ var serializeAws_json1_1TargetGroupInfoList = function (input, context) {
|
|
|
5591
5551
|
});
|
|
5592
5552
|
};
|
|
5593
5553
|
var serializeAws_json1_1TargetGroupPairInfo = function (input, context) {
|
|
5594
|
-
return __assign(__assign(__assign({}, (input.prodTrafficRoute
|
|
5595
|
-
input.prodTrafficRoute !== null && {
|
|
5554
|
+
return __assign(__assign(__assign({}, (input.prodTrafficRoute != null && {
|
|
5596
5555
|
prodTrafficRoute: serializeAws_json1_1TrafficRoute(input.prodTrafficRoute, context),
|
|
5597
|
-
})), (input.targetGroups
|
|
5598
|
-
input.targetGroups !== null && {
|
|
5556
|
+
})), (input.targetGroups != null && {
|
|
5599
5557
|
targetGroups: serializeAws_json1_1TargetGroupInfoList(input.targetGroups, context),
|
|
5600
|
-
})), (input.testTrafficRoute
|
|
5601
|
-
input.testTrafficRoute !== null && {
|
|
5558
|
+
})), (input.testTrafficRoute != null && {
|
|
5602
5559
|
testTrafficRoute: serializeAws_json1_1TrafficRoute(input.testTrafficRoute, context),
|
|
5603
5560
|
}));
|
|
5604
5561
|
};
|
|
@@ -5623,47 +5580,35 @@ var serializeAws_json1_1TargetIdList = function (input, context) {
|
|
|
5623
5580
|
});
|
|
5624
5581
|
};
|
|
5625
5582
|
var serializeAws_json1_1TargetInstances = function (input, context) {
|
|
5626
|
-
return __assign(__assign(__assign({}, (input.autoScalingGroups
|
|
5627
|
-
input.autoScalingGroups !== null && {
|
|
5583
|
+
return __assign(__assign(__assign({}, (input.autoScalingGroups != null && {
|
|
5628
5584
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
5629
|
-
})), (input.ec2TagSet
|
|
5630
|
-
input.ec2TagSet !== null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.tagFilters !== undefined &&
|
|
5631
|
-
input.tagFilters !== null && { tagFilters: serializeAws_json1_1EC2TagFilterList(input.tagFilters, context) }));
|
|
5585
|
+
})), (input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.tagFilters != null && { tagFilters: serializeAws_json1_1EC2TagFilterList(input.tagFilters, context) }));
|
|
5632
5586
|
};
|
|
5633
5587
|
var serializeAws_json1_1TimeBasedCanary = function (input, context) {
|
|
5634
|
-
return __assign(__assign({}, (input.canaryInterval
|
|
5635
|
-
input.canaryInterval !== null && { canaryInterval: input.canaryInterval })), (input.canaryPercentage !== undefined &&
|
|
5636
|
-
input.canaryPercentage !== null && { canaryPercentage: input.canaryPercentage }));
|
|
5588
|
+
return __assign(__assign({}, (input.canaryInterval != null && { canaryInterval: input.canaryInterval })), (input.canaryPercentage != null && { canaryPercentage: input.canaryPercentage }));
|
|
5637
5589
|
};
|
|
5638
5590
|
var serializeAws_json1_1TimeBasedLinear = function (input, context) {
|
|
5639
|
-
return __assign(__assign({}, (input.linearInterval
|
|
5640
|
-
input.linearInterval !== null && { linearInterval: input.linearInterval })), (input.linearPercentage !== undefined &&
|
|
5641
|
-
input.linearPercentage !== null && { linearPercentage: input.linearPercentage }));
|
|
5591
|
+
return __assign(__assign({}, (input.linearInterval != null && { linearInterval: input.linearInterval })), (input.linearPercentage != null && { linearPercentage: input.linearPercentage }));
|
|
5642
5592
|
};
|
|
5643
5593
|
var serializeAws_json1_1TimeRange = function (input, context) {
|
|
5644
|
-
return __assign(__assign({}, (input.end
|
|
5594
|
+
return __assign(__assign({}, (input.end != null && { end: Math.round(input.end.getTime() / 1000) })), (input.start != null && { start: Math.round(input.start.getTime() / 1000) }));
|
|
5645
5595
|
};
|
|
5646
5596
|
var serializeAws_json1_1TrafficRoute = function (input, context) {
|
|
5647
|
-
return __assign({}, (input.listenerArns
|
|
5648
|
-
input.listenerArns !== null && {
|
|
5597
|
+
return __assign({}, (input.listenerArns != null && {
|
|
5649
5598
|
listenerArns: serializeAws_json1_1ListenerArnList(input.listenerArns, context),
|
|
5650
5599
|
}));
|
|
5651
5600
|
};
|
|
5652
5601
|
var serializeAws_json1_1TrafficRoutingConfig = function (input, context) {
|
|
5653
|
-
return __assign(__assign(__assign({}, (input.timeBasedCanary
|
|
5654
|
-
input.timeBasedCanary !== null && {
|
|
5602
|
+
return __assign(__assign(__assign({}, (input.timeBasedCanary != null && {
|
|
5655
5603
|
timeBasedCanary: serializeAws_json1_1TimeBasedCanary(input.timeBasedCanary, context),
|
|
5656
|
-
})), (input.timeBasedLinear
|
|
5657
|
-
input.timeBasedLinear !== null && {
|
|
5604
|
+
})), (input.timeBasedLinear != null && {
|
|
5658
5605
|
timeBasedLinear: serializeAws_json1_1TimeBasedLinear(input.timeBasedLinear, context),
|
|
5659
|
-
})), (input.type
|
|
5606
|
+
})), (input.type != null && { type: input.type }));
|
|
5660
5607
|
};
|
|
5661
5608
|
var serializeAws_json1_1TriggerConfig = function (input, context) {
|
|
5662
|
-
return __assign(__assign(__assign({}, (input.triggerEvents
|
|
5663
|
-
input.triggerEvents !== null && {
|
|
5609
|
+
return __assign(__assign(__assign({}, (input.triggerEvents != null && {
|
|
5664
5610
|
triggerEvents: serializeAws_json1_1TriggerEventTypeList(input.triggerEvents, context),
|
|
5665
|
-
})), (input.triggerName
|
|
5666
|
-
input.triggerTargetArn !== null && { triggerTargetArn: input.triggerTargetArn }));
|
|
5611
|
+
})), (input.triggerName != null && { triggerName: input.triggerName })), (input.triggerTargetArn != null && { triggerTargetArn: input.triggerTargetArn }));
|
|
5667
5612
|
};
|
|
5668
5613
|
var serializeAws_json1_1TriggerConfigList = function (input, context) {
|
|
5669
5614
|
return input
|
|
@@ -5686,52 +5631,31 @@ var serializeAws_json1_1TriggerEventTypeList = function (input, context) {
|
|
|
5686
5631
|
});
|
|
5687
5632
|
};
|
|
5688
5633
|
var serializeAws_json1_1UntagResourceInput = function (input, context) {
|
|
5689
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5690
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5634
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5691
5635
|
};
|
|
5692
5636
|
var serializeAws_json1_1UpdateApplicationInput = function (input, context) {
|
|
5693
|
-
return __assign(__assign({}, (input.applicationName
|
|
5694
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.newApplicationName !== undefined &&
|
|
5695
|
-
input.newApplicationName !== null && { newApplicationName: input.newApplicationName }));
|
|
5637
|
+
return __assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.newApplicationName != null && { newApplicationName: input.newApplicationName }));
|
|
5696
5638
|
};
|
|
5697
5639
|
var serializeAws_json1_1UpdateDeploymentGroupInput = function (input, context) {
|
|
5698
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmConfiguration
|
|
5699
|
-
input.alarmConfiguration !== null && {
|
|
5640
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmConfiguration != null && {
|
|
5700
5641
|
alarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.alarmConfiguration, context),
|
|
5701
|
-
})), (input.applicationName
|
|
5702
|
-
input.applicationName !== null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration !== undefined &&
|
|
5703
|
-
input.autoRollbackConfiguration !== null && {
|
|
5642
|
+
})), (input.applicationName != null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration != null && {
|
|
5704
5643
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
5705
|
-
})), (input.autoScalingGroups
|
|
5706
|
-
input.autoScalingGroups !== null && {
|
|
5644
|
+
})), (input.autoScalingGroups != null && {
|
|
5707
5645
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
5708
|
-
})), (input.blueGreenDeploymentConfiguration
|
|
5709
|
-
input.blueGreenDeploymentConfiguration !== null && {
|
|
5646
|
+
})), (input.blueGreenDeploymentConfiguration != null && {
|
|
5710
5647
|
blueGreenDeploymentConfiguration: serializeAws_json1_1BlueGreenDeploymentConfiguration(input.blueGreenDeploymentConfiguration, context),
|
|
5711
|
-
})), (input.currentDeploymentGroupName
|
|
5712
|
-
input.currentDeploymentGroupName !== null && { currentDeploymentGroupName: input.currentDeploymentGroupName })), (input.deploymentConfigName !== undefined &&
|
|
5713
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentStyle !== undefined &&
|
|
5714
|
-
input.deploymentStyle !== null && {
|
|
5648
|
+
})), (input.currentDeploymentGroupName != null && { currentDeploymentGroupName: input.currentDeploymentGroupName })), (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentStyle != null && {
|
|
5715
5649
|
deploymentStyle: serializeAws_json1_1DeploymentStyle(input.deploymentStyle, context),
|
|
5716
|
-
})), (input.ec2TagFilters
|
|
5717
|
-
input.ec2TagFilters !== null && {
|
|
5650
|
+
})), (input.ec2TagFilters != null && {
|
|
5718
5651
|
ec2TagFilters: serializeAws_json1_1EC2TagFilterList(input.ec2TagFilters, context),
|
|
5719
|
-
})), (input.ec2TagSet
|
|
5720
|
-
input.ec2TagSet !== null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.ecsServices !== undefined &&
|
|
5721
|
-
input.ecsServices !== null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) })), (input.loadBalancerInfo !== undefined &&
|
|
5722
|
-
input.loadBalancerInfo !== null && {
|
|
5652
|
+
})), (input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) })), (input.ecsServices != null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) })), (input.loadBalancerInfo != null && {
|
|
5723
5653
|
loadBalancerInfo: serializeAws_json1_1LoadBalancerInfo(input.loadBalancerInfo, context),
|
|
5724
|
-
})), (input.newDeploymentGroupName
|
|
5725
|
-
input.newDeploymentGroupName !== null && { newDeploymentGroupName: input.newDeploymentGroupName })), (input.onPremisesInstanceTagFilters !== undefined &&
|
|
5726
|
-
input.onPremisesInstanceTagFilters !== null && {
|
|
5654
|
+
})), (input.newDeploymentGroupName != null && { newDeploymentGroupName: input.newDeploymentGroupName })), (input.onPremisesInstanceTagFilters != null && {
|
|
5727
5655
|
onPremisesInstanceTagFilters: serializeAws_json1_1TagFilterList(input.onPremisesInstanceTagFilters, context),
|
|
5728
|
-
})), (input.onPremisesTagSet
|
|
5729
|
-
input.onPremisesTagSet !== null && {
|
|
5656
|
+
})), (input.onPremisesTagSet != null && {
|
|
5730
5657
|
onPremisesTagSet: serializeAws_json1_1OnPremisesTagSet(input.onPremisesTagSet, context),
|
|
5731
|
-
})), (input.outdatedInstancesStrategy
|
|
5732
|
-
input.outdatedInstancesStrategy !== null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy })), (input.serviceRoleArn !== undefined &&
|
|
5733
|
-
input.serviceRoleArn !== null && { serviceRoleArn: input.serviceRoleArn })), (input.triggerConfigurations !== undefined &&
|
|
5734
|
-
input.triggerConfigurations !== null && {
|
|
5658
|
+
})), (input.outdatedInstancesStrategy != null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy })), (input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn })), (input.triggerConfigurations != null && {
|
|
5735
5659
|
triggerConfigurations: serializeAws_json1_1TriggerConfigList(input.triggerConfigurations, context),
|
|
5736
5660
|
}));
|
|
5737
5661
|
};
|
|
@@ -5742,9 +5666,7 @@ var deserializeAws_json1_1Alarm = function (output, context) {
|
|
|
5742
5666
|
};
|
|
5743
5667
|
var deserializeAws_json1_1AlarmConfiguration = function (output, context) {
|
|
5744
5668
|
return {
|
|
5745
|
-
alarms: output.alarms
|
|
5746
|
-
? deserializeAws_json1_1AlarmList(output.alarms, context)
|
|
5747
|
-
: undefined,
|
|
5669
|
+
alarms: output.alarms != null ? deserializeAws_json1_1AlarmList(output.alarms, context) : undefined,
|
|
5748
5670
|
enabled: __expectBoolean(output.enabled),
|
|
5749
5671
|
ignorePollAlarmFailure: __expectBoolean(output.ignorePollAlarmFailure),
|
|
5750
5672
|
};
|
|
@@ -5780,9 +5702,7 @@ var deserializeAws_json1_1ApplicationInfo = function (output, context) {
|
|
|
5780
5702
|
applicationId: __expectString(output.applicationId),
|
|
5781
5703
|
applicationName: __expectString(output.applicationName),
|
|
5782
5704
|
computePlatform: __expectString(output.computePlatform),
|
|
5783
|
-
createTime: output.createTime
|
|
5784
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
5785
|
-
: undefined,
|
|
5705
|
+
createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
|
|
5786
5706
|
gitHubAccountName: __expectString(output.gitHubAccountName),
|
|
5787
5707
|
linkedToGitHub: __expectBoolean(output.linkedToGitHub),
|
|
5788
5708
|
};
|
|
@@ -5833,9 +5753,7 @@ var deserializeAws_json1_1ArnNotSupportedException = function (output, context)
|
|
|
5833
5753
|
var deserializeAws_json1_1AutoRollbackConfiguration = function (output, context) {
|
|
5834
5754
|
return {
|
|
5835
5755
|
enabled: __expectBoolean(output.enabled),
|
|
5836
|
-
events: output.events
|
|
5837
|
-
? deserializeAws_json1_1AutoRollbackEventsList(output.events, context)
|
|
5838
|
-
: undefined,
|
|
5756
|
+
events: output.events != null ? deserializeAws_json1_1AutoRollbackEventsList(output.events, context) : undefined,
|
|
5839
5757
|
};
|
|
5840
5758
|
};
|
|
5841
5759
|
var deserializeAws_json1_1AutoRollbackEventsList = function (output, context) {
|
|
@@ -5881,21 +5799,19 @@ var deserializeAws_json1_1BatchGetApplicationRevisionsOutput = function (output,
|
|
|
5881
5799
|
return {
|
|
5882
5800
|
applicationName: __expectString(output.applicationName),
|
|
5883
5801
|
errorMessage: __expectString(output.errorMessage),
|
|
5884
|
-
revisions: output.revisions
|
|
5885
|
-
? deserializeAws_json1_1RevisionInfoList(output.revisions, context)
|
|
5886
|
-
: undefined,
|
|
5802
|
+
revisions: output.revisions != null ? deserializeAws_json1_1RevisionInfoList(output.revisions, context) : undefined,
|
|
5887
5803
|
};
|
|
5888
5804
|
};
|
|
5889
5805
|
var deserializeAws_json1_1BatchGetApplicationsOutput = function (output, context) {
|
|
5890
5806
|
return {
|
|
5891
|
-
applicationsInfo: output.applicationsInfo
|
|
5807
|
+
applicationsInfo: output.applicationsInfo != null
|
|
5892
5808
|
? deserializeAws_json1_1ApplicationsInfoList(output.applicationsInfo, context)
|
|
5893
5809
|
: undefined,
|
|
5894
5810
|
};
|
|
5895
5811
|
};
|
|
5896
5812
|
var deserializeAws_json1_1BatchGetDeploymentGroupsOutput = function (output, context) {
|
|
5897
5813
|
return {
|
|
5898
|
-
deploymentGroupsInfo: output.deploymentGroupsInfo
|
|
5814
|
+
deploymentGroupsInfo: output.deploymentGroupsInfo != null
|
|
5899
5815
|
? deserializeAws_json1_1DeploymentGroupInfoList(output.deploymentGroupsInfo, context)
|
|
5900
5816
|
: undefined,
|
|
5901
5817
|
errorMessage: __expectString(output.errorMessage),
|
|
@@ -5904,30 +5820,28 @@ var deserializeAws_json1_1BatchGetDeploymentGroupsOutput = function (output, con
|
|
|
5904
5820
|
var deserializeAws_json1_1BatchGetDeploymentInstancesOutput = function (output, context) {
|
|
5905
5821
|
return {
|
|
5906
5822
|
errorMessage: __expectString(output.errorMessage),
|
|
5907
|
-
instancesSummary: output.instancesSummary
|
|
5823
|
+
instancesSummary: output.instancesSummary != null
|
|
5908
5824
|
? deserializeAws_json1_1InstanceSummaryList(output.instancesSummary, context)
|
|
5909
5825
|
: undefined,
|
|
5910
5826
|
};
|
|
5911
5827
|
};
|
|
5912
5828
|
var deserializeAws_json1_1BatchGetDeploymentsOutput = function (output, context) {
|
|
5913
5829
|
return {
|
|
5914
|
-
deploymentsInfo: output.deploymentsInfo
|
|
5830
|
+
deploymentsInfo: output.deploymentsInfo != null
|
|
5915
5831
|
? deserializeAws_json1_1DeploymentsInfoList(output.deploymentsInfo, context)
|
|
5916
5832
|
: undefined,
|
|
5917
5833
|
};
|
|
5918
5834
|
};
|
|
5919
5835
|
var deserializeAws_json1_1BatchGetDeploymentTargetsOutput = function (output, context) {
|
|
5920
5836
|
return {
|
|
5921
|
-
deploymentTargets: output.deploymentTargets
|
|
5837
|
+
deploymentTargets: output.deploymentTargets != null
|
|
5922
5838
|
? deserializeAws_json1_1DeploymentTargetList(output.deploymentTargets, context)
|
|
5923
5839
|
: undefined,
|
|
5924
5840
|
};
|
|
5925
5841
|
};
|
|
5926
5842
|
var deserializeAws_json1_1BatchGetOnPremisesInstancesOutput = function (output, context) {
|
|
5927
5843
|
return {
|
|
5928
|
-
instanceInfos: output.instanceInfos
|
|
5929
|
-
? deserializeAws_json1_1InstanceInfoList(output.instanceInfos, context)
|
|
5930
|
-
: undefined,
|
|
5844
|
+
instanceInfos: output.instanceInfos != null ? deserializeAws_json1_1InstanceInfoList(output.instanceInfos, context) : undefined,
|
|
5931
5845
|
};
|
|
5932
5846
|
};
|
|
5933
5847
|
var deserializeAws_json1_1BatchLimitExceededException = function (output, context) {
|
|
@@ -5937,14 +5851,13 @@ var deserializeAws_json1_1BatchLimitExceededException = function (output, contex
|
|
|
5937
5851
|
};
|
|
5938
5852
|
var deserializeAws_json1_1BlueGreenDeploymentConfiguration = function (output, context) {
|
|
5939
5853
|
return {
|
|
5940
|
-
deploymentReadyOption: output.deploymentReadyOption
|
|
5854
|
+
deploymentReadyOption: output.deploymentReadyOption != null
|
|
5941
5855
|
? deserializeAws_json1_1DeploymentReadyOption(output.deploymentReadyOption, context)
|
|
5942
5856
|
: undefined,
|
|
5943
|
-
greenFleetProvisioningOption: output.greenFleetProvisioningOption
|
|
5857
|
+
greenFleetProvisioningOption: output.greenFleetProvisioningOption != null
|
|
5944
5858
|
? deserializeAws_json1_1GreenFleetProvisioningOption(output.greenFleetProvisioningOption, context)
|
|
5945
5859
|
: undefined,
|
|
5946
|
-
terminateBlueInstancesOnDeploymentSuccess: output.terminateBlueInstancesOnDeploymentSuccess
|
|
5947
|
-
output.terminateBlueInstancesOnDeploymentSuccess !== null
|
|
5860
|
+
terminateBlueInstancesOnDeploymentSuccess: output.terminateBlueInstancesOnDeploymentSuccess != null
|
|
5948
5861
|
? deserializeAws_json1_1BlueInstanceTerminationOption(output.terminateBlueInstancesOnDeploymentSuccess, context)
|
|
5949
5862
|
: undefined,
|
|
5950
5863
|
};
|
|
@@ -5963,10 +5876,10 @@ var deserializeAws_json1_1BucketNameFilterRequiredException = function (output,
|
|
|
5963
5876
|
var deserializeAws_json1_1CloudFormationTarget = function (output, context) {
|
|
5964
5877
|
return {
|
|
5965
5878
|
deploymentId: __expectString(output.deploymentId),
|
|
5966
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5879
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
5967
5880
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
5968
5881
|
: undefined,
|
|
5969
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5882
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
5970
5883
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
5971
5884
|
: undefined,
|
|
5972
5885
|
resourceType: __expectString(output.resourceType),
|
|
@@ -5997,7 +5910,7 @@ var deserializeAws_json1_1CreateDeploymentOutput = function (output, context) {
|
|
|
5997
5910
|
};
|
|
5998
5911
|
var deserializeAws_json1_1DeleteDeploymentGroupOutput = function (output, context) {
|
|
5999
5912
|
return {
|
|
6000
|
-
hooksNotCleanedUp: output.hooksNotCleanedUp
|
|
5913
|
+
hooksNotCleanedUp: output.hooksNotCleanedUp != null
|
|
6001
5914
|
? deserializeAws_json1_1AutoScalingGroupList(output.hooksNotCleanedUp, context)
|
|
6002
5915
|
: undefined,
|
|
6003
5916
|
};
|
|
@@ -6028,15 +5941,13 @@ var deserializeAws_json1_1DeploymentConfigDoesNotExistException = function (outp
|
|
|
6028
5941
|
var deserializeAws_json1_1DeploymentConfigInfo = function (output, context) {
|
|
6029
5942
|
return {
|
|
6030
5943
|
computePlatform: __expectString(output.computePlatform),
|
|
6031
|
-
createTime: output.createTime
|
|
6032
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
6033
|
-
: undefined,
|
|
5944
|
+
createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
|
|
6034
5945
|
deploymentConfigId: __expectString(output.deploymentConfigId),
|
|
6035
5946
|
deploymentConfigName: __expectString(output.deploymentConfigName),
|
|
6036
|
-
minimumHealthyHosts: output.minimumHealthyHosts
|
|
5947
|
+
minimumHealthyHosts: output.minimumHealthyHosts != null
|
|
6037
5948
|
? deserializeAws_json1_1MinimumHealthyHosts(output.minimumHealthyHosts, context)
|
|
6038
5949
|
: undefined,
|
|
6039
|
-
trafficRoutingConfig: output.trafficRoutingConfig
|
|
5950
|
+
trafficRoutingConfig: output.trafficRoutingConfig != null
|
|
6040
5951
|
? deserializeAws_json1_1TrafficRoutingConfig(output.trafficRoutingConfig, context)
|
|
6041
5952
|
: undefined,
|
|
6042
5953
|
};
|
|
@@ -6084,56 +5995,50 @@ var deserializeAws_json1_1DeploymentGroupDoesNotExistException = function (outpu
|
|
|
6084
5995
|
};
|
|
6085
5996
|
var deserializeAws_json1_1DeploymentGroupInfo = function (output, context) {
|
|
6086
5997
|
return {
|
|
6087
|
-
alarmConfiguration: output.alarmConfiguration
|
|
5998
|
+
alarmConfiguration: output.alarmConfiguration != null
|
|
6088
5999
|
? deserializeAws_json1_1AlarmConfiguration(output.alarmConfiguration, context)
|
|
6089
6000
|
: undefined,
|
|
6090
6001
|
applicationName: __expectString(output.applicationName),
|
|
6091
|
-
autoRollbackConfiguration: output.autoRollbackConfiguration
|
|
6002
|
+
autoRollbackConfiguration: output.autoRollbackConfiguration != null
|
|
6092
6003
|
? deserializeAws_json1_1AutoRollbackConfiguration(output.autoRollbackConfiguration, context)
|
|
6093
6004
|
: undefined,
|
|
6094
|
-
autoScalingGroups: output.autoScalingGroups
|
|
6005
|
+
autoScalingGroups: output.autoScalingGroups != null
|
|
6095
6006
|
? deserializeAws_json1_1AutoScalingGroupList(output.autoScalingGroups, context)
|
|
6096
6007
|
: undefined,
|
|
6097
|
-
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration
|
|
6008
|
+
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration != null
|
|
6098
6009
|
? deserializeAws_json1_1BlueGreenDeploymentConfiguration(output.blueGreenDeploymentConfiguration, context)
|
|
6099
6010
|
: undefined,
|
|
6100
6011
|
computePlatform: __expectString(output.computePlatform),
|
|
6101
6012
|
deploymentConfigName: __expectString(output.deploymentConfigName),
|
|
6102
6013
|
deploymentGroupId: __expectString(output.deploymentGroupId),
|
|
6103
6014
|
deploymentGroupName: __expectString(output.deploymentGroupName),
|
|
6104
|
-
deploymentStyle: output.deploymentStyle
|
|
6015
|
+
deploymentStyle: output.deploymentStyle != null
|
|
6105
6016
|
? deserializeAws_json1_1DeploymentStyle(output.deploymentStyle, context)
|
|
6106
6017
|
: undefined,
|
|
6107
|
-
ec2TagFilters: output.ec2TagFilters
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context)
|
|
6112
|
-
: undefined,
|
|
6113
|
-
ecsServices: output.ecsServices !== undefined && output.ecsServices !== null
|
|
6114
|
-
? deserializeAws_json1_1ECSServiceList(output.ecsServices, context)
|
|
6115
|
-
: undefined,
|
|
6116
|
-
lastAttemptedDeployment: output.lastAttemptedDeployment !== undefined && output.lastAttemptedDeployment !== null
|
|
6018
|
+
ec2TagFilters: output.ec2TagFilters != null ? deserializeAws_json1_1EC2TagFilterList(output.ec2TagFilters, context) : undefined,
|
|
6019
|
+
ec2TagSet: output.ec2TagSet != null ? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context) : undefined,
|
|
6020
|
+
ecsServices: output.ecsServices != null ? deserializeAws_json1_1ECSServiceList(output.ecsServices, context) : undefined,
|
|
6021
|
+
lastAttemptedDeployment: output.lastAttemptedDeployment != null
|
|
6117
6022
|
? deserializeAws_json1_1LastDeploymentInfo(output.lastAttemptedDeployment, context)
|
|
6118
6023
|
: undefined,
|
|
6119
|
-
lastSuccessfulDeployment: output.lastSuccessfulDeployment
|
|
6024
|
+
lastSuccessfulDeployment: output.lastSuccessfulDeployment != null
|
|
6120
6025
|
? deserializeAws_json1_1LastDeploymentInfo(output.lastSuccessfulDeployment, context)
|
|
6121
6026
|
: undefined,
|
|
6122
|
-
loadBalancerInfo: output.loadBalancerInfo
|
|
6027
|
+
loadBalancerInfo: output.loadBalancerInfo != null
|
|
6123
6028
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
6124
6029
|
: undefined,
|
|
6125
|
-
onPremisesInstanceTagFilters: output.onPremisesInstanceTagFilters
|
|
6030
|
+
onPremisesInstanceTagFilters: output.onPremisesInstanceTagFilters != null
|
|
6126
6031
|
? deserializeAws_json1_1TagFilterList(output.onPremisesInstanceTagFilters, context)
|
|
6127
6032
|
: undefined,
|
|
6128
|
-
onPremisesTagSet: output.onPremisesTagSet
|
|
6033
|
+
onPremisesTagSet: output.onPremisesTagSet != null
|
|
6129
6034
|
? deserializeAws_json1_1OnPremisesTagSet(output.onPremisesTagSet, context)
|
|
6130
6035
|
: undefined,
|
|
6131
6036
|
outdatedInstancesStrategy: __expectString(output.outdatedInstancesStrategy),
|
|
6132
6037
|
serviceRoleArn: __expectString(output.serviceRoleArn),
|
|
6133
|
-
targetRevision: output.targetRevision
|
|
6038
|
+
targetRevision: output.targetRevision != null
|
|
6134
6039
|
? deserializeAws_json1_1RevisionLocation(output.targetRevision, context)
|
|
6135
6040
|
: undefined,
|
|
6136
|
-
triggerConfigurations: output.triggerConfigurations
|
|
6041
|
+
triggerConfigurations: output.triggerConfigurations != null
|
|
6137
6042
|
? deserializeAws_json1_1TriggerConfigList(output.triggerConfigurations, context)
|
|
6138
6043
|
: undefined,
|
|
6139
6044
|
};
|
|
@@ -6179,60 +6084,52 @@ var deserializeAws_json1_1DeploymentInfo = function (output, context) {
|
|
|
6179
6084
|
return {
|
|
6180
6085
|
additionalDeploymentStatusInfo: __expectString(output.additionalDeploymentStatusInfo),
|
|
6181
6086
|
applicationName: __expectString(output.applicationName),
|
|
6182
|
-
autoRollbackConfiguration: output.autoRollbackConfiguration
|
|
6087
|
+
autoRollbackConfiguration: output.autoRollbackConfiguration != null
|
|
6183
6088
|
? deserializeAws_json1_1AutoRollbackConfiguration(output.autoRollbackConfiguration, context)
|
|
6184
6089
|
: undefined,
|
|
6185
|
-
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration
|
|
6090
|
+
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration != null
|
|
6186
6091
|
? deserializeAws_json1_1BlueGreenDeploymentConfiguration(output.blueGreenDeploymentConfiguration, context)
|
|
6187
6092
|
: undefined,
|
|
6188
|
-
completeTime: output.completeTime
|
|
6093
|
+
completeTime: output.completeTime != null
|
|
6189
6094
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.completeTime)))
|
|
6190
6095
|
: undefined,
|
|
6191
6096
|
computePlatform: __expectString(output.computePlatform),
|
|
6192
|
-
createTime: output.createTime
|
|
6193
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
6194
|
-
: undefined,
|
|
6097
|
+
createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
|
|
6195
6098
|
creator: __expectString(output.creator),
|
|
6196
6099
|
deploymentConfigName: __expectString(output.deploymentConfigName),
|
|
6197
6100
|
deploymentGroupName: __expectString(output.deploymentGroupName),
|
|
6198
6101
|
deploymentId: __expectString(output.deploymentId),
|
|
6199
|
-
deploymentOverview: output.deploymentOverview
|
|
6102
|
+
deploymentOverview: output.deploymentOverview != null
|
|
6200
6103
|
? deserializeAws_json1_1DeploymentOverview(output.deploymentOverview, context)
|
|
6201
6104
|
: undefined,
|
|
6202
|
-
deploymentStatusMessages: output.deploymentStatusMessages
|
|
6105
|
+
deploymentStatusMessages: output.deploymentStatusMessages != null
|
|
6203
6106
|
? deserializeAws_json1_1DeploymentStatusMessageList(output.deploymentStatusMessages, context)
|
|
6204
6107
|
: undefined,
|
|
6205
|
-
deploymentStyle: output.deploymentStyle
|
|
6108
|
+
deploymentStyle: output.deploymentStyle != null
|
|
6206
6109
|
? deserializeAws_json1_1DeploymentStyle(output.deploymentStyle, context)
|
|
6207
6110
|
: undefined,
|
|
6208
6111
|
description: __expectString(output.description),
|
|
6209
|
-
errorInformation: output.errorInformation
|
|
6112
|
+
errorInformation: output.errorInformation != null
|
|
6210
6113
|
? deserializeAws_json1_1ErrorInformation(output.errorInformation, context)
|
|
6211
6114
|
: undefined,
|
|
6212
6115
|
externalId: __expectString(output.externalId),
|
|
6213
6116
|
fileExistsBehavior: __expectString(output.fileExistsBehavior),
|
|
6214
6117
|
ignoreApplicationStopFailures: __expectBoolean(output.ignoreApplicationStopFailures),
|
|
6215
6118
|
instanceTerminationWaitTimeStarted: __expectBoolean(output.instanceTerminationWaitTimeStarted),
|
|
6216
|
-
loadBalancerInfo: output.loadBalancerInfo
|
|
6119
|
+
loadBalancerInfo: output.loadBalancerInfo != null
|
|
6217
6120
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
6218
6121
|
: undefined,
|
|
6219
|
-
previousRevision: output.previousRevision
|
|
6122
|
+
previousRevision: output.previousRevision != null
|
|
6220
6123
|
? deserializeAws_json1_1RevisionLocation(output.previousRevision, context)
|
|
6221
6124
|
: undefined,
|
|
6222
|
-
relatedDeployments: output.relatedDeployments
|
|
6125
|
+
relatedDeployments: output.relatedDeployments != null
|
|
6223
6126
|
? deserializeAws_json1_1RelatedDeployments(output.relatedDeployments, context)
|
|
6224
6127
|
: undefined,
|
|
6225
|
-
revision: output.revision
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
rollbackInfo: output.rollbackInfo !== undefined && output.rollbackInfo !== null
|
|
6229
|
-
? deserializeAws_json1_1RollbackInfo(output.rollbackInfo, context)
|
|
6230
|
-
: undefined,
|
|
6231
|
-
startTime: output.startTime !== undefined && output.startTime !== null
|
|
6232
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
6233
|
-
: undefined,
|
|
6128
|
+
revision: output.revision != null ? deserializeAws_json1_1RevisionLocation(output.revision, context) : undefined,
|
|
6129
|
+
rollbackInfo: output.rollbackInfo != null ? deserializeAws_json1_1RollbackInfo(output.rollbackInfo, context) : undefined,
|
|
6130
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
6234
6131
|
status: __expectString(output.status),
|
|
6235
|
-
targetInstances: output.targetInstances
|
|
6132
|
+
targetInstances: output.targetInstances != null
|
|
6236
6133
|
? deserializeAws_json1_1TargetInstances(output.targetInstances, context)
|
|
6237
6134
|
: undefined,
|
|
6238
6135
|
updateOutdatedInstancesOnly: __expectBoolean(output.updateOutdatedInstancesOnly),
|
|
@@ -6310,19 +6207,13 @@ var deserializeAws_json1_1DeploymentStyle = function (output, context) {
|
|
|
6310
6207
|
};
|
|
6311
6208
|
var deserializeAws_json1_1DeploymentTarget = function (output, context) {
|
|
6312
6209
|
return {
|
|
6313
|
-
cloudFormationTarget: output.cloudFormationTarget
|
|
6210
|
+
cloudFormationTarget: output.cloudFormationTarget != null
|
|
6314
6211
|
? deserializeAws_json1_1CloudFormationTarget(output.cloudFormationTarget, context)
|
|
6315
6212
|
: undefined,
|
|
6316
6213
|
deploymentTargetType: __expectString(output.deploymentTargetType),
|
|
6317
|
-
ecsTarget: output.ecsTarget
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
instanceTarget: output.instanceTarget !== undefined && output.instanceTarget !== null
|
|
6321
|
-
? deserializeAws_json1_1InstanceTarget(output.instanceTarget, context)
|
|
6322
|
-
: undefined,
|
|
6323
|
-
lambdaTarget: output.lambdaTarget !== undefined && output.lambdaTarget !== null
|
|
6324
|
-
? deserializeAws_json1_1LambdaTarget(output.lambdaTarget, context)
|
|
6325
|
-
: undefined,
|
|
6214
|
+
ecsTarget: output.ecsTarget != null ? deserializeAws_json1_1ECSTarget(output.ecsTarget, context) : undefined,
|
|
6215
|
+
instanceTarget: output.instanceTarget != null ? deserializeAws_json1_1InstanceTarget(output.instanceTarget, context) : undefined,
|
|
6216
|
+
lambdaTarget: output.lambdaTarget != null ? deserializeAws_json1_1LambdaTarget(output.lambdaTarget, context) : undefined,
|
|
6326
6217
|
};
|
|
6327
6218
|
};
|
|
6328
6219
|
var deserializeAws_json1_1DeploymentTargetDoesNotExistException = function (output, context) {
|
|
@@ -6384,9 +6275,7 @@ var deserializeAws_json1_1EC2TagFilterList = function (output, context) {
|
|
|
6384
6275
|
};
|
|
6385
6276
|
var deserializeAws_json1_1EC2TagSet = function (output, context) {
|
|
6386
6277
|
return {
|
|
6387
|
-
ec2TagSetList: output.ec2TagSetList
|
|
6388
|
-
? deserializeAws_json1_1EC2TagSetList(output.ec2TagSetList, context)
|
|
6389
|
-
: undefined,
|
|
6278
|
+
ec2TagSetList: output.ec2TagSetList != null ? deserializeAws_json1_1EC2TagSetList(output.ec2TagSetList, context) : undefined,
|
|
6390
6279
|
};
|
|
6391
6280
|
};
|
|
6392
6281
|
var deserializeAws_json1_1EC2TagSetList = function (output, context) {
|
|
@@ -6425,18 +6314,16 @@ var deserializeAws_json1_1ECSServiceMappingLimitExceededException = function (ou
|
|
|
6425
6314
|
var deserializeAws_json1_1ECSTarget = function (output, context) {
|
|
6426
6315
|
return {
|
|
6427
6316
|
deploymentId: __expectString(output.deploymentId),
|
|
6428
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6317
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6429
6318
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6430
6319
|
: undefined,
|
|
6431
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6320
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6432
6321
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6433
6322
|
: undefined,
|
|
6434
6323
|
status: __expectString(output.status),
|
|
6435
6324
|
targetArn: __expectString(output.targetArn),
|
|
6436
6325
|
targetId: __expectString(output.targetId),
|
|
6437
|
-
taskSetsInfo: output.taskSetsInfo
|
|
6438
|
-
? deserializeAws_json1_1ECSTaskSetList(output.taskSetsInfo, context)
|
|
6439
|
-
: undefined,
|
|
6326
|
+
taskSetsInfo: output.taskSetsInfo != null ? deserializeAws_json1_1ECSTaskSetList(output.taskSetsInfo, context) : undefined,
|
|
6440
6327
|
};
|
|
6441
6328
|
};
|
|
6442
6329
|
var deserializeAws_json1_1ECSTaskSet = function (output, context) {
|
|
@@ -6446,9 +6333,7 @@ var deserializeAws_json1_1ECSTaskSet = function (output, context) {
|
|
|
6446
6333
|
pendingCount: __expectLong(output.pendingCount),
|
|
6447
6334
|
runningCount: __expectLong(output.runningCount),
|
|
6448
6335
|
status: __expectString(output.status),
|
|
6449
|
-
targetGroup: output.targetGroup
|
|
6450
|
-
? deserializeAws_json1_1TargetGroupInfo(output.targetGroup, context)
|
|
6451
|
-
: undefined,
|
|
6336
|
+
targetGroup: output.targetGroup != null ? deserializeAws_json1_1TargetGroupInfo(output.targetGroup, context) : undefined,
|
|
6452
6337
|
taskSetLabel: __expectString(output.taskSetLabel),
|
|
6453
6338
|
trafficWeight: __limitedParseDouble(output.trafficWeight),
|
|
6454
6339
|
};
|
|
@@ -6488,79 +6373,69 @@ var deserializeAws_json1_1ErrorInformation = function (output, context) {
|
|
|
6488
6373
|
};
|
|
6489
6374
|
var deserializeAws_json1_1GenericRevisionInfo = function (output, context) {
|
|
6490
6375
|
return {
|
|
6491
|
-
deploymentGroups: output.deploymentGroups
|
|
6376
|
+
deploymentGroups: output.deploymentGroups != null
|
|
6492
6377
|
? deserializeAws_json1_1DeploymentGroupsList(output.deploymentGroups, context)
|
|
6493
6378
|
: undefined,
|
|
6494
6379
|
description: __expectString(output.description),
|
|
6495
|
-
firstUsedTime: output.firstUsedTime
|
|
6380
|
+
firstUsedTime: output.firstUsedTime != null
|
|
6496
6381
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.firstUsedTime)))
|
|
6497
6382
|
: undefined,
|
|
6498
|
-
lastUsedTime: output.lastUsedTime
|
|
6383
|
+
lastUsedTime: output.lastUsedTime != null
|
|
6499
6384
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUsedTime)))
|
|
6500
6385
|
: undefined,
|
|
6501
|
-
registerTime: output.registerTime
|
|
6386
|
+
registerTime: output.registerTime != null
|
|
6502
6387
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registerTime)))
|
|
6503
6388
|
: undefined,
|
|
6504
6389
|
};
|
|
6505
6390
|
};
|
|
6506
6391
|
var deserializeAws_json1_1GetApplicationOutput = function (output, context) {
|
|
6507
6392
|
return {
|
|
6508
|
-
application: output.application
|
|
6509
|
-
? deserializeAws_json1_1ApplicationInfo(output.application, context)
|
|
6510
|
-
: undefined,
|
|
6393
|
+
application: output.application != null ? deserializeAws_json1_1ApplicationInfo(output.application, context) : undefined,
|
|
6511
6394
|
};
|
|
6512
6395
|
};
|
|
6513
6396
|
var deserializeAws_json1_1GetApplicationRevisionOutput = function (output, context) {
|
|
6514
6397
|
return {
|
|
6515
6398
|
applicationName: __expectString(output.applicationName),
|
|
6516
|
-
revision: output.revision
|
|
6517
|
-
|
|
6518
|
-
: undefined,
|
|
6519
|
-
revisionInfo: output.revisionInfo !== undefined && output.revisionInfo !== null
|
|
6520
|
-
? deserializeAws_json1_1GenericRevisionInfo(output.revisionInfo, context)
|
|
6521
|
-
: undefined,
|
|
6399
|
+
revision: output.revision != null ? deserializeAws_json1_1RevisionLocation(output.revision, context) : undefined,
|
|
6400
|
+
revisionInfo: output.revisionInfo != null ? deserializeAws_json1_1GenericRevisionInfo(output.revisionInfo, context) : undefined,
|
|
6522
6401
|
};
|
|
6523
6402
|
};
|
|
6524
6403
|
var deserializeAws_json1_1GetDeploymentConfigOutput = function (output, context) {
|
|
6525
6404
|
return {
|
|
6526
|
-
deploymentConfigInfo: output.deploymentConfigInfo
|
|
6405
|
+
deploymentConfigInfo: output.deploymentConfigInfo != null
|
|
6527
6406
|
? deserializeAws_json1_1DeploymentConfigInfo(output.deploymentConfigInfo, context)
|
|
6528
6407
|
: undefined,
|
|
6529
6408
|
};
|
|
6530
6409
|
};
|
|
6531
6410
|
var deserializeAws_json1_1GetDeploymentGroupOutput = function (output, context) {
|
|
6532
6411
|
return {
|
|
6533
|
-
deploymentGroupInfo: output.deploymentGroupInfo
|
|
6412
|
+
deploymentGroupInfo: output.deploymentGroupInfo != null
|
|
6534
6413
|
? deserializeAws_json1_1DeploymentGroupInfo(output.deploymentGroupInfo, context)
|
|
6535
6414
|
: undefined,
|
|
6536
6415
|
};
|
|
6537
6416
|
};
|
|
6538
6417
|
var deserializeAws_json1_1GetDeploymentInstanceOutput = function (output, context) {
|
|
6539
6418
|
return {
|
|
6540
|
-
instanceSummary: output.instanceSummary
|
|
6419
|
+
instanceSummary: output.instanceSummary != null
|
|
6541
6420
|
? deserializeAws_json1_1InstanceSummary(output.instanceSummary, context)
|
|
6542
6421
|
: undefined,
|
|
6543
6422
|
};
|
|
6544
6423
|
};
|
|
6545
6424
|
var deserializeAws_json1_1GetDeploymentOutput = function (output, context) {
|
|
6546
6425
|
return {
|
|
6547
|
-
deploymentInfo: output.deploymentInfo
|
|
6548
|
-
? deserializeAws_json1_1DeploymentInfo(output.deploymentInfo, context)
|
|
6549
|
-
: undefined,
|
|
6426
|
+
deploymentInfo: output.deploymentInfo != null ? deserializeAws_json1_1DeploymentInfo(output.deploymentInfo, context) : undefined,
|
|
6550
6427
|
};
|
|
6551
6428
|
};
|
|
6552
6429
|
var deserializeAws_json1_1GetDeploymentTargetOutput = function (output, context) {
|
|
6553
6430
|
return {
|
|
6554
|
-
deploymentTarget: output.deploymentTarget
|
|
6431
|
+
deploymentTarget: output.deploymentTarget != null
|
|
6555
6432
|
? deserializeAws_json1_1DeploymentTarget(output.deploymentTarget, context)
|
|
6556
6433
|
: undefined,
|
|
6557
6434
|
};
|
|
6558
6435
|
};
|
|
6559
6436
|
var deserializeAws_json1_1GetOnPremisesInstanceOutput = function (output, context) {
|
|
6560
6437
|
return {
|
|
6561
|
-
instanceInfo: output.instanceInfo
|
|
6562
|
-
? deserializeAws_json1_1InstanceInfo(output.instanceInfo, context)
|
|
6563
|
-
: undefined,
|
|
6438
|
+
instanceInfo: output.instanceInfo != null ? deserializeAws_json1_1InstanceInfo(output.instanceInfo, context) : undefined,
|
|
6564
6439
|
};
|
|
6565
6440
|
};
|
|
6566
6441
|
var deserializeAws_json1_1GitHubAccountTokenDoesNotExistException = function (output, context) {
|
|
@@ -6627,19 +6502,17 @@ var deserializeAws_json1_1InstanceIdRequiredException = function (output, contex
|
|
|
6627
6502
|
};
|
|
6628
6503
|
var deserializeAws_json1_1InstanceInfo = function (output, context) {
|
|
6629
6504
|
return {
|
|
6630
|
-
deregisterTime: output.deregisterTime
|
|
6505
|
+
deregisterTime: output.deregisterTime != null
|
|
6631
6506
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deregisterTime)))
|
|
6632
6507
|
: undefined,
|
|
6633
6508
|
iamSessionArn: __expectString(output.iamSessionArn),
|
|
6634
6509
|
iamUserArn: __expectString(output.iamUserArn),
|
|
6635
6510
|
instanceArn: __expectString(output.instanceArn),
|
|
6636
6511
|
instanceName: __expectString(output.instanceName),
|
|
6637
|
-
registerTime: output.registerTime
|
|
6512
|
+
registerTime: output.registerTime != null
|
|
6638
6513
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registerTime)))
|
|
6639
6514
|
: undefined,
|
|
6640
|
-
tags: output.tags
|
|
6641
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
6642
|
-
: undefined,
|
|
6515
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
6643
6516
|
};
|
|
6644
6517
|
};
|
|
6645
6518
|
var deserializeAws_json1_1InstanceInfoList = function (output, context) {
|
|
@@ -6700,10 +6573,10 @@ var deserializeAws_json1_1InstanceSummary = function (output, context) {
|
|
|
6700
6573
|
deploymentId: __expectString(output.deploymentId),
|
|
6701
6574
|
instanceId: __expectString(output.instanceId),
|
|
6702
6575
|
instanceType: __expectString(output.instanceType),
|
|
6703
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6576
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6704
6577
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6705
6578
|
: undefined,
|
|
6706
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6579
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6707
6580
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6708
6581
|
: undefined,
|
|
6709
6582
|
status: __expectString(output.status),
|
|
@@ -6724,10 +6597,10 @@ var deserializeAws_json1_1InstanceTarget = function (output, context) {
|
|
|
6724
6597
|
return {
|
|
6725
6598
|
deploymentId: __expectString(output.deploymentId),
|
|
6726
6599
|
instanceLabel: __expectString(output.instanceLabel),
|
|
6727
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6600
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6728
6601
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6729
6602
|
: undefined,
|
|
6730
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6603
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6731
6604
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6732
6605
|
: undefined,
|
|
6733
6606
|
status: __expectString(output.status),
|
|
@@ -7017,13 +6890,13 @@ var deserializeAws_json1_1LambdaFunctionInfo = function (output, context) {
|
|
|
7017
6890
|
var deserializeAws_json1_1LambdaTarget = function (output, context) {
|
|
7018
6891
|
return {
|
|
7019
6892
|
deploymentId: __expectString(output.deploymentId),
|
|
7020
|
-
lambdaFunctionInfo: output.lambdaFunctionInfo
|
|
6893
|
+
lambdaFunctionInfo: output.lambdaFunctionInfo != null
|
|
7021
6894
|
? deserializeAws_json1_1LambdaFunctionInfo(output.lambdaFunctionInfo, context)
|
|
7022
6895
|
: undefined,
|
|
7023
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6896
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
7024
6897
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
7025
6898
|
: undefined,
|
|
7026
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6899
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
7027
6900
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
7028
6901
|
: undefined,
|
|
7029
6902
|
status: __expectString(output.status),
|
|
@@ -7033,28 +6906,18 @@ var deserializeAws_json1_1LambdaTarget = function (output, context) {
|
|
|
7033
6906
|
};
|
|
7034
6907
|
var deserializeAws_json1_1LastDeploymentInfo = function (output, context) {
|
|
7035
6908
|
return {
|
|
7036
|
-
createTime: output.createTime
|
|
7037
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime)))
|
|
7038
|
-
: undefined,
|
|
6909
|
+
createTime: output.createTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createTime))) : undefined,
|
|
7039
6910
|
deploymentId: __expectString(output.deploymentId),
|
|
7040
|
-
endTime: output.endTime
|
|
7041
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
7042
|
-
: undefined,
|
|
6911
|
+
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
7043
6912
|
status: __expectString(output.status),
|
|
7044
6913
|
};
|
|
7045
6914
|
};
|
|
7046
6915
|
var deserializeAws_json1_1LifecycleEvent = function (output, context) {
|
|
7047
6916
|
return {
|
|
7048
|
-
diagnostics: output.diagnostics
|
|
7049
|
-
|
|
7050
|
-
: undefined,
|
|
7051
|
-
endTime: output.endTime !== undefined && output.endTime !== null
|
|
7052
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
7053
|
-
: undefined,
|
|
6917
|
+
diagnostics: output.diagnostics != null ? deserializeAws_json1_1Diagnostics(output.diagnostics, context) : undefined,
|
|
6918
|
+
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
7054
6919
|
lifecycleEventName: __expectString(output.lifecycleEventName),
|
|
7055
|
-
startTime: output.startTime
|
|
7056
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
7057
|
-
: undefined,
|
|
6920
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
7058
6921
|
status: __expectString(output.status),
|
|
7059
6922
|
};
|
|
7060
6923
|
};
|
|
@@ -7082,22 +6945,18 @@ var deserializeAws_json1_1LifecycleHookLimitExceededException = function (output
|
|
|
7082
6945
|
var deserializeAws_json1_1ListApplicationRevisionsOutput = function (output, context) {
|
|
7083
6946
|
return {
|
|
7084
6947
|
nextToken: __expectString(output.nextToken),
|
|
7085
|
-
revisions: output.revisions
|
|
7086
|
-
? deserializeAws_json1_1RevisionLocationList(output.revisions, context)
|
|
7087
|
-
: undefined,
|
|
6948
|
+
revisions: output.revisions != null ? deserializeAws_json1_1RevisionLocationList(output.revisions, context) : undefined,
|
|
7088
6949
|
};
|
|
7089
6950
|
};
|
|
7090
6951
|
var deserializeAws_json1_1ListApplicationsOutput = function (output, context) {
|
|
7091
6952
|
return {
|
|
7092
|
-
applications: output.applications
|
|
7093
|
-
? deserializeAws_json1_1ApplicationsList(output.applications, context)
|
|
7094
|
-
: undefined,
|
|
6953
|
+
applications: output.applications != null ? deserializeAws_json1_1ApplicationsList(output.applications, context) : undefined,
|
|
7095
6954
|
nextToken: __expectString(output.nextToken),
|
|
7096
6955
|
};
|
|
7097
6956
|
};
|
|
7098
6957
|
var deserializeAws_json1_1ListDeploymentConfigsOutput = function (output, context) {
|
|
7099
6958
|
return {
|
|
7100
|
-
deploymentConfigsList: output.deploymentConfigsList
|
|
6959
|
+
deploymentConfigsList: output.deploymentConfigsList != null
|
|
7101
6960
|
? deserializeAws_json1_1DeploymentConfigsList(output.deploymentConfigsList, context)
|
|
7102
6961
|
: undefined,
|
|
7103
6962
|
nextToken: __expectString(output.nextToken),
|
|
@@ -7106,7 +6965,7 @@ var deserializeAws_json1_1ListDeploymentConfigsOutput = function (output, contex
|
|
|
7106
6965
|
var deserializeAws_json1_1ListDeploymentGroupsOutput = function (output, context) {
|
|
7107
6966
|
return {
|
|
7108
6967
|
applicationName: __expectString(output.applicationName),
|
|
7109
|
-
deploymentGroups: output.deploymentGroups
|
|
6968
|
+
deploymentGroups: output.deploymentGroups != null
|
|
7110
6969
|
? deserializeAws_json1_1DeploymentGroupsList(output.deploymentGroups, context)
|
|
7111
6970
|
: undefined,
|
|
7112
6971
|
nextToken: __expectString(output.nextToken),
|
|
@@ -7114,26 +6973,20 @@ var deserializeAws_json1_1ListDeploymentGroupsOutput = function (output, context
|
|
|
7114
6973
|
};
|
|
7115
6974
|
var deserializeAws_json1_1ListDeploymentInstancesOutput = function (output, context) {
|
|
7116
6975
|
return {
|
|
7117
|
-
instancesList: output.instancesList
|
|
7118
|
-
? deserializeAws_json1_1InstancesList(output.instancesList, context)
|
|
7119
|
-
: undefined,
|
|
6976
|
+
instancesList: output.instancesList != null ? deserializeAws_json1_1InstancesList(output.instancesList, context) : undefined,
|
|
7120
6977
|
nextToken: __expectString(output.nextToken),
|
|
7121
6978
|
};
|
|
7122
6979
|
};
|
|
7123
6980
|
var deserializeAws_json1_1ListDeploymentsOutput = function (output, context) {
|
|
7124
6981
|
return {
|
|
7125
|
-
deployments: output.deployments
|
|
7126
|
-
? deserializeAws_json1_1DeploymentsList(output.deployments, context)
|
|
7127
|
-
: undefined,
|
|
6982
|
+
deployments: output.deployments != null ? deserializeAws_json1_1DeploymentsList(output.deployments, context) : undefined,
|
|
7128
6983
|
nextToken: __expectString(output.nextToken),
|
|
7129
6984
|
};
|
|
7130
6985
|
};
|
|
7131
6986
|
var deserializeAws_json1_1ListDeploymentTargetsOutput = function (output, context) {
|
|
7132
6987
|
return {
|
|
7133
6988
|
nextToken: __expectString(output.nextToken),
|
|
7134
|
-
targetIds: output.targetIds
|
|
7135
|
-
? deserializeAws_json1_1TargetIdList(output.targetIds, context)
|
|
7136
|
-
: undefined,
|
|
6989
|
+
targetIds: output.targetIds != null ? deserializeAws_json1_1TargetIdList(output.targetIds, context) : undefined,
|
|
7137
6990
|
};
|
|
7138
6991
|
};
|
|
7139
6992
|
var deserializeAws_json1_1ListenerArnList = function (output, context) {
|
|
@@ -7150,36 +7003,30 @@ var deserializeAws_json1_1ListenerArnList = function (output, context) {
|
|
|
7150
7003
|
var deserializeAws_json1_1ListGitHubAccountTokenNamesOutput = function (output, context) {
|
|
7151
7004
|
return {
|
|
7152
7005
|
nextToken: __expectString(output.nextToken),
|
|
7153
|
-
tokenNameList: output.tokenNameList
|
|
7006
|
+
tokenNameList: output.tokenNameList != null
|
|
7154
7007
|
? deserializeAws_json1_1GitHubAccountTokenNameList(output.tokenNameList, context)
|
|
7155
7008
|
: undefined,
|
|
7156
7009
|
};
|
|
7157
7010
|
};
|
|
7158
7011
|
var deserializeAws_json1_1ListOnPremisesInstancesOutput = function (output, context) {
|
|
7159
7012
|
return {
|
|
7160
|
-
instanceNames: output.instanceNames
|
|
7161
|
-
? deserializeAws_json1_1InstanceNameList(output.instanceNames, context)
|
|
7162
|
-
: undefined,
|
|
7013
|
+
instanceNames: output.instanceNames != null ? deserializeAws_json1_1InstanceNameList(output.instanceNames, context) : undefined,
|
|
7163
7014
|
nextToken: __expectString(output.nextToken),
|
|
7164
7015
|
};
|
|
7165
7016
|
};
|
|
7166
7017
|
var deserializeAws_json1_1ListTagsForResourceOutput = function (output, context) {
|
|
7167
7018
|
return {
|
|
7168
7019
|
NextToken: __expectString(output.NextToken),
|
|
7169
|
-
Tags: output.Tags
|
|
7170
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
7171
|
-
: undefined,
|
|
7020
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
7172
7021
|
};
|
|
7173
7022
|
};
|
|
7174
7023
|
var deserializeAws_json1_1LoadBalancerInfo = function (output, context) {
|
|
7175
7024
|
return {
|
|
7176
|
-
elbInfoList: output.elbInfoList
|
|
7177
|
-
|
|
7178
|
-
: undefined,
|
|
7179
|
-
targetGroupInfoList: output.targetGroupInfoList !== undefined && output.targetGroupInfoList !== null
|
|
7025
|
+
elbInfoList: output.elbInfoList != null ? deserializeAws_json1_1ELBInfoList(output.elbInfoList, context) : undefined,
|
|
7026
|
+
targetGroupInfoList: output.targetGroupInfoList != null
|
|
7180
7027
|
? deserializeAws_json1_1TargetGroupInfoList(output.targetGroupInfoList, context)
|
|
7181
7028
|
: undefined,
|
|
7182
|
-
targetGroupPairInfoList: output.targetGroupPairInfoList
|
|
7029
|
+
targetGroupPairInfoList: output.targetGroupPairInfoList != null
|
|
7183
7030
|
? deserializeAws_json1_1TargetGroupPairInfoList(output.targetGroupPairInfoList, context)
|
|
7184
7031
|
: undefined,
|
|
7185
7032
|
};
|
|
@@ -7197,7 +7044,7 @@ var deserializeAws_json1_1MultipleIamArnsProvidedException = function (output, c
|
|
|
7197
7044
|
};
|
|
7198
7045
|
var deserializeAws_json1_1OnPremisesTagSet = function (output, context) {
|
|
7199
7046
|
return {
|
|
7200
|
-
onPremisesTagSetList: output.onPremisesTagSetList
|
|
7047
|
+
onPremisesTagSetList: output.onPremisesTagSetList != null
|
|
7201
7048
|
? deserializeAws_json1_1OnPremisesTagSetList(output.onPremisesTagSetList, context)
|
|
7202
7049
|
: undefined,
|
|
7203
7050
|
};
|
|
@@ -7231,8 +7078,7 @@ var deserializeAws_json1_1RawString = function (output, context) {
|
|
|
7231
7078
|
};
|
|
7232
7079
|
var deserializeAws_json1_1RelatedDeployments = function (output, context) {
|
|
7233
7080
|
return {
|
|
7234
|
-
autoUpdateOutdatedInstancesDeploymentIds: output.autoUpdateOutdatedInstancesDeploymentIds
|
|
7235
|
-
output.autoUpdateOutdatedInstancesDeploymentIds !== null
|
|
7081
|
+
autoUpdateOutdatedInstancesDeploymentIds: output.autoUpdateOutdatedInstancesDeploymentIds != null
|
|
7236
7082
|
? deserializeAws_json1_1DeploymentsList(output.autoUpdateOutdatedInstancesDeploymentIds, context)
|
|
7237
7083
|
: undefined,
|
|
7238
7084
|
autoUpdateOutdatedInstancesRootDeploymentId: __expectString(output.autoUpdateOutdatedInstancesRootDeploymentId),
|
|
@@ -7255,10 +7101,10 @@ var deserializeAws_json1_1RevisionDoesNotExistException = function (output, cont
|
|
|
7255
7101
|
};
|
|
7256
7102
|
var deserializeAws_json1_1RevisionInfo = function (output, context) {
|
|
7257
7103
|
return {
|
|
7258
|
-
genericRevisionInfo: output.genericRevisionInfo
|
|
7104
|
+
genericRevisionInfo: output.genericRevisionInfo != null
|
|
7259
7105
|
? deserializeAws_json1_1GenericRevisionInfo(output.genericRevisionInfo, context)
|
|
7260
7106
|
: undefined,
|
|
7261
|
-
revisionLocation: output.revisionLocation
|
|
7107
|
+
revisionLocation: output.revisionLocation != null
|
|
7262
7108
|
? deserializeAws_json1_1RevisionLocation(output.revisionLocation, context)
|
|
7263
7109
|
: undefined,
|
|
7264
7110
|
};
|
|
@@ -7276,19 +7122,11 @@ var deserializeAws_json1_1RevisionInfoList = function (output, context) {
|
|
|
7276
7122
|
};
|
|
7277
7123
|
var deserializeAws_json1_1RevisionLocation = function (output, context) {
|
|
7278
7124
|
return {
|
|
7279
|
-
appSpecContent: output.appSpecContent
|
|
7280
|
-
|
|
7281
|
-
: undefined,
|
|
7282
|
-
gitHubLocation: output.gitHubLocation !== undefined && output.gitHubLocation !== null
|
|
7283
|
-
? deserializeAws_json1_1GitHubLocation(output.gitHubLocation, context)
|
|
7284
|
-
: undefined,
|
|
7125
|
+
appSpecContent: output.appSpecContent != null ? deserializeAws_json1_1AppSpecContent(output.appSpecContent, context) : undefined,
|
|
7126
|
+
gitHubLocation: output.gitHubLocation != null ? deserializeAws_json1_1GitHubLocation(output.gitHubLocation, context) : undefined,
|
|
7285
7127
|
revisionType: __expectString(output.revisionType),
|
|
7286
|
-
s3Location: output.s3Location
|
|
7287
|
-
|
|
7288
|
-
: undefined,
|
|
7289
|
-
string: output.string !== undefined && output.string !== null
|
|
7290
|
-
? deserializeAws_json1_1RawString(output.string, context)
|
|
7291
|
-
: undefined,
|
|
7128
|
+
s3Location: output.s3Location != null ? deserializeAws_json1_1S3Location(output.s3Location, context) : undefined,
|
|
7129
|
+
string: output.string != null ? deserializeAws_json1_1RawString(output.string, context) : undefined,
|
|
7292
7130
|
};
|
|
7293
7131
|
};
|
|
7294
7132
|
var deserializeAws_json1_1RevisionLocationList = function (output, context) {
|
|
@@ -7405,13 +7243,11 @@ var deserializeAws_json1_1TargetGroupInfoList = function (output, context) {
|
|
|
7405
7243
|
};
|
|
7406
7244
|
var deserializeAws_json1_1TargetGroupPairInfo = function (output, context) {
|
|
7407
7245
|
return {
|
|
7408
|
-
prodTrafficRoute: output.prodTrafficRoute
|
|
7246
|
+
prodTrafficRoute: output.prodTrafficRoute != null
|
|
7409
7247
|
? deserializeAws_json1_1TrafficRoute(output.prodTrafficRoute, context)
|
|
7410
7248
|
: undefined,
|
|
7411
|
-
targetGroups: output.targetGroups
|
|
7412
|
-
|
|
7413
|
-
: undefined,
|
|
7414
|
-
testTrafficRoute: output.testTrafficRoute !== undefined && output.testTrafficRoute !== null
|
|
7249
|
+
targetGroups: output.targetGroups != null ? deserializeAws_json1_1TargetGroupInfoList(output.targetGroups, context) : undefined,
|
|
7250
|
+
testTrafficRoute: output.testTrafficRoute != null
|
|
7415
7251
|
? deserializeAws_json1_1TrafficRoute(output.testTrafficRoute, context)
|
|
7416
7252
|
: undefined,
|
|
7417
7253
|
};
|
|
@@ -7440,15 +7276,11 @@ var deserializeAws_json1_1TargetIdList = function (output, context) {
|
|
|
7440
7276
|
};
|
|
7441
7277
|
var deserializeAws_json1_1TargetInstances = function (output, context) {
|
|
7442
7278
|
return {
|
|
7443
|
-
autoScalingGroups: output.autoScalingGroups
|
|
7279
|
+
autoScalingGroups: output.autoScalingGroups != null
|
|
7444
7280
|
? deserializeAws_json1_1AutoScalingGroupNameList(output.autoScalingGroups, context)
|
|
7445
7281
|
: undefined,
|
|
7446
|
-
ec2TagSet: output.ec2TagSet
|
|
7447
|
-
|
|
7448
|
-
: undefined,
|
|
7449
|
-
tagFilters: output.tagFilters !== undefined && output.tagFilters !== null
|
|
7450
|
-
? deserializeAws_json1_1EC2TagFilterList(output.tagFilters, context)
|
|
7451
|
-
: undefined,
|
|
7282
|
+
ec2TagSet: output.ec2TagSet != null ? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context) : undefined,
|
|
7283
|
+
tagFilters: output.tagFilters != null ? deserializeAws_json1_1EC2TagFilterList(output.tagFilters, context) : undefined,
|
|
7452
7284
|
};
|
|
7453
7285
|
};
|
|
7454
7286
|
var deserializeAws_json1_1ThrottlingException = function (output, context) {
|
|
@@ -7470,17 +7302,15 @@ var deserializeAws_json1_1TimeBasedLinear = function (output, context) {
|
|
|
7470
7302
|
};
|
|
7471
7303
|
var deserializeAws_json1_1TrafficRoute = function (output, context) {
|
|
7472
7304
|
return {
|
|
7473
|
-
listenerArns: output.listenerArns
|
|
7474
|
-
? deserializeAws_json1_1ListenerArnList(output.listenerArns, context)
|
|
7475
|
-
: undefined,
|
|
7305
|
+
listenerArns: output.listenerArns != null ? deserializeAws_json1_1ListenerArnList(output.listenerArns, context) : undefined,
|
|
7476
7306
|
};
|
|
7477
7307
|
};
|
|
7478
7308
|
var deserializeAws_json1_1TrafficRoutingConfig = function (output, context) {
|
|
7479
7309
|
return {
|
|
7480
|
-
timeBasedCanary: output.timeBasedCanary
|
|
7310
|
+
timeBasedCanary: output.timeBasedCanary != null
|
|
7481
7311
|
? deserializeAws_json1_1TimeBasedCanary(output.timeBasedCanary, context)
|
|
7482
7312
|
: undefined,
|
|
7483
|
-
timeBasedLinear: output.timeBasedLinear
|
|
7313
|
+
timeBasedLinear: output.timeBasedLinear != null
|
|
7484
7314
|
? deserializeAws_json1_1TimeBasedLinear(output.timeBasedLinear, context)
|
|
7485
7315
|
: undefined,
|
|
7486
7316
|
type: __expectString(output.type),
|
|
@@ -7488,7 +7318,7 @@ var deserializeAws_json1_1TrafficRoutingConfig = function (output, context) {
|
|
|
7488
7318
|
};
|
|
7489
7319
|
var deserializeAws_json1_1TriggerConfig = function (output, context) {
|
|
7490
7320
|
return {
|
|
7491
|
-
triggerEvents: output.triggerEvents
|
|
7321
|
+
triggerEvents: output.triggerEvents != null
|
|
7492
7322
|
? deserializeAws_json1_1TriggerEventTypeList(output.triggerEvents, context)
|
|
7493
7323
|
: undefined,
|
|
7494
7324
|
triggerName: __expectString(output.triggerName),
|
|
@@ -7532,7 +7362,7 @@ var deserializeAws_json1_1UntagResourceOutput = function (output, context) {
|
|
|
7532
7362
|
};
|
|
7533
7363
|
var deserializeAws_json1_1UpdateDeploymentGroupOutput = function (output, context) {
|
|
7534
7364
|
return {
|
|
7535
|
-
hooksNotCleanedUp: output.hooksNotCleanedUp
|
|
7365
|
+
hooksNotCleanedUp: output.hooksNotCleanedUp != null
|
|
7536
7366
|
? deserializeAws_json1_1AutoScalingGroupList(output.hooksNotCleanedUp, context)
|
|
7537
7367
|
: undefined,
|
|
7538
7368
|
};
|
|
@@ -7611,5 +7441,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
7611
7441
|
if (data["__type"] !== undefined) {
|
|
7612
7442
|
return sanitizeErrorCode(data["__type"]);
|
|
7613
7443
|
}
|
|
7614
|
-
return "";
|
|
7615
7444
|
};
|