@aws-sdk/client-ecs 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 +939 -1307
- package/dist-es/protocols/Aws_json1_1.js +656 -1024
- package/package.json +27 -27
|
@@ -594,7 +594,7 @@ export var deserializeAws_json1_1CreateCapacityProviderCommand = function (outpu
|
|
|
594
594
|
});
|
|
595
595
|
}); };
|
|
596
596
|
var deserializeAws_json1_1CreateCapacityProviderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
597
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
597
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
598
598
|
var _c;
|
|
599
599
|
return __generator(this, function (_d) {
|
|
600
600
|
switch (_d.label) {
|
|
@@ -604,7 +604,6 @@ var deserializeAws_json1_1CreateCapacityProviderCommandError = function (output,
|
|
|
604
604
|
return [4, parseBody(output.body, context)];
|
|
605
605
|
case 1:
|
|
606
606
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
607
|
-
errorCode = "UnknownError";
|
|
608
607
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
609
608
|
_b = errorCode;
|
|
610
609
|
switch (_b) {
|
|
@@ -632,10 +631,12 @@ var deserializeAws_json1_1CreateCapacityProviderCommandError = function (output,
|
|
|
632
631
|
case 11: throw _d.sent();
|
|
633
632
|
case 12:
|
|
634
633
|
parsedBody = parsedOutput.body;
|
|
634
|
+
$metadata = deserializeMetadata(output);
|
|
635
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
635
636
|
response = new __BaseException({
|
|
636
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
637
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
637
638
|
$fault: "client",
|
|
638
|
-
$metadata:
|
|
639
|
+
$metadata: $metadata,
|
|
639
640
|
});
|
|
640
641
|
throw __decorateServiceException(response, parsedBody);
|
|
641
642
|
}
|
|
@@ -660,7 +661,7 @@ export var deserializeAws_json1_1CreateClusterCommand = function (output, contex
|
|
|
660
661
|
});
|
|
661
662
|
}); };
|
|
662
663
|
var deserializeAws_json1_1CreateClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
663
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
664
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
664
665
|
var _c;
|
|
665
666
|
return __generator(this, function (_d) {
|
|
666
667
|
switch (_d.label) {
|
|
@@ -670,7 +671,6 @@ var deserializeAws_json1_1CreateClusterCommandError = function (output, context)
|
|
|
670
671
|
return [4, parseBody(output.body, context)];
|
|
671
672
|
case 1:
|
|
672
673
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
673
|
-
errorCode = "UnknownError";
|
|
674
674
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
675
675
|
_b = errorCode;
|
|
676
676
|
switch (_b) {
|
|
@@ -690,10 +690,12 @@ var deserializeAws_json1_1CreateClusterCommandError = function (output, context)
|
|
|
690
690
|
case 7: throw _d.sent();
|
|
691
691
|
case 8:
|
|
692
692
|
parsedBody = parsedOutput.body;
|
|
693
|
+
$metadata = deserializeMetadata(output);
|
|
694
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
693
695
|
response = new __BaseException({
|
|
694
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
696
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
695
697
|
$fault: "client",
|
|
696
|
-
$metadata:
|
|
698
|
+
$metadata: $metadata,
|
|
697
699
|
});
|
|
698
700
|
throw __decorateServiceException(response, parsedBody);
|
|
699
701
|
}
|
|
@@ -718,7 +720,7 @@ export var deserializeAws_json1_1CreateServiceCommand = function (output, contex
|
|
|
718
720
|
});
|
|
719
721
|
}); };
|
|
720
722
|
var deserializeAws_json1_1CreateServiceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
721
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
723
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
722
724
|
var _c;
|
|
723
725
|
return __generator(this, function (_d) {
|
|
724
726
|
switch (_d.label) {
|
|
@@ -728,7 +730,6 @@ var deserializeAws_json1_1CreateServiceCommandError = function (output, context)
|
|
|
728
730
|
return [4, parseBody(output.body, context)];
|
|
729
731
|
case 1:
|
|
730
732
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
731
|
-
errorCode = "UnknownError";
|
|
732
733
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
733
734
|
_b = errorCode;
|
|
734
735
|
switch (_b) {
|
|
@@ -768,10 +769,12 @@ var deserializeAws_json1_1CreateServiceCommandError = function (output, context)
|
|
|
768
769
|
case 17: throw _d.sent();
|
|
769
770
|
case 18:
|
|
770
771
|
parsedBody = parsedOutput.body;
|
|
772
|
+
$metadata = deserializeMetadata(output);
|
|
773
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
771
774
|
response = new __BaseException({
|
|
772
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
775
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
773
776
|
$fault: "client",
|
|
774
|
-
$metadata:
|
|
777
|
+
$metadata: $metadata,
|
|
775
778
|
});
|
|
776
779
|
throw __decorateServiceException(response, parsedBody);
|
|
777
780
|
}
|
|
@@ -796,7 +799,7 @@ export var deserializeAws_json1_1CreateTaskSetCommand = function (output, contex
|
|
|
796
799
|
});
|
|
797
800
|
}); };
|
|
798
801
|
var deserializeAws_json1_1CreateTaskSetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
799
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
802
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
800
803
|
var _c;
|
|
801
804
|
return __generator(this, function (_d) {
|
|
802
805
|
switch (_d.label) {
|
|
@@ -806,7 +809,6 @@ var deserializeAws_json1_1CreateTaskSetCommandError = function (output, context)
|
|
|
806
809
|
return [4, parseBody(output.body, context)];
|
|
807
810
|
case 1:
|
|
808
811
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
809
|
-
errorCode = "UnknownError";
|
|
810
812
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
811
813
|
_b = errorCode;
|
|
812
814
|
switch (_b) {
|
|
@@ -854,10 +856,12 @@ var deserializeAws_json1_1CreateTaskSetCommandError = function (output, context)
|
|
|
854
856
|
case 21: throw _d.sent();
|
|
855
857
|
case 22:
|
|
856
858
|
parsedBody = parsedOutput.body;
|
|
859
|
+
$metadata = deserializeMetadata(output);
|
|
860
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
857
861
|
response = new __BaseException({
|
|
858
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
862
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
859
863
|
$fault: "client",
|
|
860
|
-
$metadata:
|
|
864
|
+
$metadata: $metadata,
|
|
861
865
|
});
|
|
862
866
|
throw __decorateServiceException(response, parsedBody);
|
|
863
867
|
}
|
|
@@ -882,7 +886,7 @@ export var deserializeAws_json1_1DeleteAccountSettingCommand = function (output,
|
|
|
882
886
|
});
|
|
883
887
|
}); };
|
|
884
888
|
var deserializeAws_json1_1DeleteAccountSettingCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
885
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
889
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
886
890
|
var _c;
|
|
887
891
|
return __generator(this, function (_d) {
|
|
888
892
|
switch (_d.label) {
|
|
@@ -892,7 +896,6 @@ var deserializeAws_json1_1DeleteAccountSettingCommandError = function (output, c
|
|
|
892
896
|
return [4, parseBody(output.body, context)];
|
|
893
897
|
case 1:
|
|
894
898
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
895
|
-
errorCode = "UnknownError";
|
|
896
899
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
897
900
|
_b = errorCode;
|
|
898
901
|
switch (_b) {
|
|
@@ -912,10 +915,12 @@ var deserializeAws_json1_1DeleteAccountSettingCommandError = function (output, c
|
|
|
912
915
|
case 7: throw _d.sent();
|
|
913
916
|
case 8:
|
|
914
917
|
parsedBody = parsedOutput.body;
|
|
918
|
+
$metadata = deserializeMetadata(output);
|
|
919
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
915
920
|
response = new __BaseException({
|
|
916
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
921
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
917
922
|
$fault: "client",
|
|
918
|
-
$metadata:
|
|
923
|
+
$metadata: $metadata,
|
|
919
924
|
});
|
|
920
925
|
throw __decorateServiceException(response, parsedBody);
|
|
921
926
|
}
|
|
@@ -940,7 +945,7 @@ export var deserializeAws_json1_1DeleteAttributesCommand = function (output, con
|
|
|
940
945
|
});
|
|
941
946
|
}); };
|
|
942
947
|
var deserializeAws_json1_1DeleteAttributesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
943
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
948
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
944
949
|
var _c;
|
|
945
950
|
return __generator(this, function (_d) {
|
|
946
951
|
switch (_d.label) {
|
|
@@ -950,7 +955,6 @@ var deserializeAws_json1_1DeleteAttributesCommandError = function (output, conte
|
|
|
950
955
|
return [4, parseBody(output.body, context)];
|
|
951
956
|
case 1:
|
|
952
957
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
953
|
-
errorCode = "UnknownError";
|
|
954
958
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
955
959
|
_b = errorCode;
|
|
956
960
|
switch (_b) {
|
|
@@ -970,10 +974,12 @@ var deserializeAws_json1_1DeleteAttributesCommandError = function (output, conte
|
|
|
970
974
|
case 7: throw _d.sent();
|
|
971
975
|
case 8:
|
|
972
976
|
parsedBody = parsedOutput.body;
|
|
977
|
+
$metadata = deserializeMetadata(output);
|
|
978
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
973
979
|
response = new __BaseException({
|
|
974
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
980
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
975
981
|
$fault: "client",
|
|
976
|
-
$metadata:
|
|
982
|
+
$metadata: $metadata,
|
|
977
983
|
});
|
|
978
984
|
throw __decorateServiceException(response, parsedBody);
|
|
979
985
|
}
|
|
@@ -998,7 +1004,7 @@ export var deserializeAws_json1_1DeleteCapacityProviderCommand = function (outpu
|
|
|
998
1004
|
});
|
|
999
1005
|
}); };
|
|
1000
1006
|
var deserializeAws_json1_1DeleteCapacityProviderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1001
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1007
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1002
1008
|
var _c;
|
|
1003
1009
|
return __generator(this, function (_d) {
|
|
1004
1010
|
switch (_d.label) {
|
|
@@ -1008,7 +1014,6 @@ var deserializeAws_json1_1DeleteCapacityProviderCommandError = function (output,
|
|
|
1008
1014
|
return [4, parseBody(output.body, context)];
|
|
1009
1015
|
case 1:
|
|
1010
1016
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1011
|
-
errorCode = "UnknownError";
|
|
1012
1017
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1013
1018
|
_b = errorCode;
|
|
1014
1019
|
switch (_b) {
|
|
@@ -1028,10 +1033,12 @@ var deserializeAws_json1_1DeleteCapacityProviderCommandError = function (output,
|
|
|
1028
1033
|
case 7: throw _d.sent();
|
|
1029
1034
|
case 8:
|
|
1030
1035
|
parsedBody = parsedOutput.body;
|
|
1036
|
+
$metadata = deserializeMetadata(output);
|
|
1037
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1031
1038
|
response = new __BaseException({
|
|
1032
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1039
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1033
1040
|
$fault: "client",
|
|
1034
|
-
$metadata:
|
|
1041
|
+
$metadata: $metadata,
|
|
1035
1042
|
});
|
|
1036
1043
|
throw __decorateServiceException(response, parsedBody);
|
|
1037
1044
|
}
|
|
@@ -1056,7 +1063,7 @@ export var deserializeAws_json1_1DeleteClusterCommand = function (output, contex
|
|
|
1056
1063
|
});
|
|
1057
1064
|
}); };
|
|
1058
1065
|
var deserializeAws_json1_1DeleteClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1059
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1066
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1060
1067
|
var _c;
|
|
1061
1068
|
return __generator(this, function (_d) {
|
|
1062
1069
|
switch (_d.label) {
|
|
@@ -1066,7 +1073,6 @@ var deserializeAws_json1_1DeleteClusterCommandError = function (output, context)
|
|
|
1066
1073
|
return [4, parseBody(output.body, context)];
|
|
1067
1074
|
case 1:
|
|
1068
1075
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1069
|
-
errorCode = "UnknownError";
|
|
1070
1076
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1071
1077
|
_b = errorCode;
|
|
1072
1078
|
switch (_b) {
|
|
@@ -1106,10 +1112,12 @@ var deserializeAws_json1_1DeleteClusterCommandError = function (output, context)
|
|
|
1106
1112
|
case 17: throw _d.sent();
|
|
1107
1113
|
case 18:
|
|
1108
1114
|
parsedBody = parsedOutput.body;
|
|
1115
|
+
$metadata = deserializeMetadata(output);
|
|
1116
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1109
1117
|
response = new __BaseException({
|
|
1110
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1118
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1111
1119
|
$fault: "client",
|
|
1112
|
-
$metadata:
|
|
1120
|
+
$metadata: $metadata,
|
|
1113
1121
|
});
|
|
1114
1122
|
throw __decorateServiceException(response, parsedBody);
|
|
1115
1123
|
}
|
|
@@ -1134,7 +1142,7 @@ export var deserializeAws_json1_1DeleteServiceCommand = function (output, contex
|
|
|
1134
1142
|
});
|
|
1135
1143
|
}); };
|
|
1136
1144
|
var deserializeAws_json1_1DeleteServiceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1137
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1145
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1138
1146
|
var _c;
|
|
1139
1147
|
return __generator(this, function (_d) {
|
|
1140
1148
|
switch (_d.label) {
|
|
@@ -1144,7 +1152,6 @@ var deserializeAws_json1_1DeleteServiceCommandError = function (output, context)
|
|
|
1144
1152
|
return [4, parseBody(output.body, context)];
|
|
1145
1153
|
case 1:
|
|
1146
1154
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1147
|
-
errorCode = "UnknownError";
|
|
1148
1155
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1149
1156
|
_b = errorCode;
|
|
1150
1157
|
switch (_b) {
|
|
@@ -1172,10 +1179,12 @@ var deserializeAws_json1_1DeleteServiceCommandError = function (output, context)
|
|
|
1172
1179
|
case 11: throw _d.sent();
|
|
1173
1180
|
case 12:
|
|
1174
1181
|
parsedBody = parsedOutput.body;
|
|
1182
|
+
$metadata = deserializeMetadata(output);
|
|
1183
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1175
1184
|
response = new __BaseException({
|
|
1176
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1185
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1177
1186
|
$fault: "client",
|
|
1178
|
-
$metadata:
|
|
1187
|
+
$metadata: $metadata,
|
|
1179
1188
|
});
|
|
1180
1189
|
throw __decorateServiceException(response, parsedBody);
|
|
1181
1190
|
}
|
|
@@ -1200,7 +1209,7 @@ export var deserializeAws_json1_1DeleteTaskSetCommand = function (output, contex
|
|
|
1200
1209
|
});
|
|
1201
1210
|
}); };
|
|
1202
1211
|
var deserializeAws_json1_1DeleteTaskSetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1203
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1212
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1204
1213
|
var _c;
|
|
1205
1214
|
return __generator(this, function (_d) {
|
|
1206
1215
|
switch (_d.label) {
|
|
@@ -1210,7 +1219,6 @@ var deserializeAws_json1_1DeleteTaskSetCommandError = function (output, context)
|
|
|
1210
1219
|
return [4, parseBody(output.body, context)];
|
|
1211
1220
|
case 1:
|
|
1212
1221
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1213
|
-
errorCode = "UnknownError";
|
|
1214
1222
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1215
1223
|
_b = errorCode;
|
|
1216
1224
|
switch (_b) {
|
|
@@ -1254,10 +1262,12 @@ var deserializeAws_json1_1DeleteTaskSetCommandError = function (output, context)
|
|
|
1254
1262
|
case 19: throw _d.sent();
|
|
1255
1263
|
case 20:
|
|
1256
1264
|
parsedBody = parsedOutput.body;
|
|
1265
|
+
$metadata = deserializeMetadata(output);
|
|
1266
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1257
1267
|
response = new __BaseException({
|
|
1258
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1268
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1259
1269
|
$fault: "client",
|
|
1260
|
-
$metadata:
|
|
1270
|
+
$metadata: $metadata,
|
|
1261
1271
|
});
|
|
1262
1272
|
throw __decorateServiceException(response, parsedBody);
|
|
1263
1273
|
}
|
|
@@ -1282,7 +1292,7 @@ export var deserializeAws_json1_1DeregisterContainerInstanceCommand = function (
|
|
|
1282
1292
|
});
|
|
1283
1293
|
}); };
|
|
1284
1294
|
var deserializeAws_json1_1DeregisterContainerInstanceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1285
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1295
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1286
1296
|
var _c;
|
|
1287
1297
|
return __generator(this, function (_d) {
|
|
1288
1298
|
switch (_d.label) {
|
|
@@ -1292,7 +1302,6 @@ var deserializeAws_json1_1DeregisterContainerInstanceCommandError = function (ou
|
|
|
1292
1302
|
return [4, parseBody(output.body, context)];
|
|
1293
1303
|
case 1:
|
|
1294
1304
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1295
|
-
errorCode = "UnknownError";
|
|
1296
1305
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1297
1306
|
_b = errorCode;
|
|
1298
1307
|
switch (_b) {
|
|
@@ -1316,10 +1325,12 @@ var deserializeAws_json1_1DeregisterContainerInstanceCommandError = function (ou
|
|
|
1316
1325
|
case 9: throw _d.sent();
|
|
1317
1326
|
case 10:
|
|
1318
1327
|
parsedBody = parsedOutput.body;
|
|
1328
|
+
$metadata = deserializeMetadata(output);
|
|
1329
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1319
1330
|
response = new __BaseException({
|
|
1320
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1331
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1321
1332
|
$fault: "client",
|
|
1322
|
-
$metadata:
|
|
1333
|
+
$metadata: $metadata,
|
|
1323
1334
|
});
|
|
1324
1335
|
throw __decorateServiceException(response, parsedBody);
|
|
1325
1336
|
}
|
|
@@ -1344,7 +1355,7 @@ export var deserializeAws_json1_1DeregisterTaskDefinitionCommand = function (out
|
|
|
1344
1355
|
});
|
|
1345
1356
|
}); };
|
|
1346
1357
|
var deserializeAws_json1_1DeregisterTaskDefinitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1347
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1358
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1348
1359
|
var _c;
|
|
1349
1360
|
return __generator(this, function (_d) {
|
|
1350
1361
|
switch (_d.label) {
|
|
@@ -1354,7 +1365,6 @@ var deserializeAws_json1_1DeregisterTaskDefinitionCommandError = function (outpu
|
|
|
1354
1365
|
return [4, parseBody(output.body, context)];
|
|
1355
1366
|
case 1:
|
|
1356
1367
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1357
|
-
errorCode = "UnknownError";
|
|
1358
1368
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1359
1369
|
_b = errorCode;
|
|
1360
1370
|
switch (_b) {
|
|
@@ -1374,10 +1384,12 @@ var deserializeAws_json1_1DeregisterTaskDefinitionCommandError = function (outpu
|
|
|
1374
1384
|
case 7: throw _d.sent();
|
|
1375
1385
|
case 8:
|
|
1376
1386
|
parsedBody = parsedOutput.body;
|
|
1387
|
+
$metadata = deserializeMetadata(output);
|
|
1388
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1377
1389
|
response = new __BaseException({
|
|
1378
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1390
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1379
1391
|
$fault: "client",
|
|
1380
|
-
$metadata:
|
|
1392
|
+
$metadata: $metadata,
|
|
1381
1393
|
});
|
|
1382
1394
|
throw __decorateServiceException(response, parsedBody);
|
|
1383
1395
|
}
|
|
@@ -1402,7 +1414,7 @@ export var deserializeAws_json1_1DescribeCapacityProvidersCommand = function (ou
|
|
|
1402
1414
|
});
|
|
1403
1415
|
}); };
|
|
1404
1416
|
var deserializeAws_json1_1DescribeCapacityProvidersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1405
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1417
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1406
1418
|
var _c;
|
|
1407
1419
|
return __generator(this, function (_d) {
|
|
1408
1420
|
switch (_d.label) {
|
|
@@ -1412,7 +1424,6 @@ var deserializeAws_json1_1DescribeCapacityProvidersCommandError = function (outp
|
|
|
1412
1424
|
return [4, parseBody(output.body, context)];
|
|
1413
1425
|
case 1:
|
|
1414
1426
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1415
|
-
errorCode = "UnknownError";
|
|
1416
1427
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1417
1428
|
_b = errorCode;
|
|
1418
1429
|
switch (_b) {
|
|
@@ -1432,10 +1443,12 @@ var deserializeAws_json1_1DescribeCapacityProvidersCommandError = function (outp
|
|
|
1432
1443
|
case 7: throw _d.sent();
|
|
1433
1444
|
case 8:
|
|
1434
1445
|
parsedBody = parsedOutput.body;
|
|
1446
|
+
$metadata = deserializeMetadata(output);
|
|
1447
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1435
1448
|
response = new __BaseException({
|
|
1436
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1449
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1437
1450
|
$fault: "client",
|
|
1438
|
-
$metadata:
|
|
1451
|
+
$metadata: $metadata,
|
|
1439
1452
|
});
|
|
1440
1453
|
throw __decorateServiceException(response, parsedBody);
|
|
1441
1454
|
}
|
|
@@ -1460,7 +1473,7 @@ export var deserializeAws_json1_1DescribeClustersCommand = function (output, con
|
|
|
1460
1473
|
});
|
|
1461
1474
|
}); };
|
|
1462
1475
|
var deserializeAws_json1_1DescribeClustersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1463
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1476
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1464
1477
|
var _c;
|
|
1465
1478
|
return __generator(this, function (_d) {
|
|
1466
1479
|
switch (_d.label) {
|
|
@@ -1470,7 +1483,6 @@ var deserializeAws_json1_1DescribeClustersCommandError = function (output, conte
|
|
|
1470
1483
|
return [4, parseBody(output.body, context)];
|
|
1471
1484
|
case 1:
|
|
1472
1485
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1473
|
-
errorCode = "UnknownError";
|
|
1474
1486
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1475
1487
|
_b = errorCode;
|
|
1476
1488
|
switch (_b) {
|
|
@@ -1490,10 +1502,12 @@ var deserializeAws_json1_1DescribeClustersCommandError = function (output, conte
|
|
|
1490
1502
|
case 7: throw _d.sent();
|
|
1491
1503
|
case 8:
|
|
1492
1504
|
parsedBody = parsedOutput.body;
|
|
1505
|
+
$metadata = deserializeMetadata(output);
|
|
1506
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1493
1507
|
response = new __BaseException({
|
|
1494
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1508
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1495
1509
|
$fault: "client",
|
|
1496
|
-
$metadata:
|
|
1510
|
+
$metadata: $metadata,
|
|
1497
1511
|
});
|
|
1498
1512
|
throw __decorateServiceException(response, parsedBody);
|
|
1499
1513
|
}
|
|
@@ -1518,7 +1532,7 @@ export var deserializeAws_json1_1DescribeContainerInstancesCommand = function (o
|
|
|
1518
1532
|
});
|
|
1519
1533
|
}); };
|
|
1520
1534
|
var deserializeAws_json1_1DescribeContainerInstancesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1521
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1535
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1522
1536
|
var _c;
|
|
1523
1537
|
return __generator(this, function (_d) {
|
|
1524
1538
|
switch (_d.label) {
|
|
@@ -1528,7 +1542,6 @@ var deserializeAws_json1_1DescribeContainerInstancesCommandError = function (out
|
|
|
1528
1542
|
return [4, parseBody(output.body, context)];
|
|
1529
1543
|
case 1:
|
|
1530
1544
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1531
|
-
errorCode = "UnknownError";
|
|
1532
1545
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1533
1546
|
_b = errorCode;
|
|
1534
1547
|
switch (_b) {
|
|
@@ -1552,10 +1565,12 @@ var deserializeAws_json1_1DescribeContainerInstancesCommandError = function (out
|
|
|
1552
1565
|
case 9: throw _d.sent();
|
|
1553
1566
|
case 10:
|
|
1554
1567
|
parsedBody = parsedOutput.body;
|
|
1568
|
+
$metadata = deserializeMetadata(output);
|
|
1569
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1555
1570
|
response = new __BaseException({
|
|
1556
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1571
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1557
1572
|
$fault: "client",
|
|
1558
|
-
$metadata:
|
|
1573
|
+
$metadata: $metadata,
|
|
1559
1574
|
});
|
|
1560
1575
|
throw __decorateServiceException(response, parsedBody);
|
|
1561
1576
|
}
|
|
@@ -1580,7 +1595,7 @@ export var deserializeAws_json1_1DescribeServicesCommand = function (output, con
|
|
|
1580
1595
|
});
|
|
1581
1596
|
}); };
|
|
1582
1597
|
var deserializeAws_json1_1DescribeServicesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1583
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1598
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1584
1599
|
var _c;
|
|
1585
1600
|
return __generator(this, function (_d) {
|
|
1586
1601
|
switch (_d.label) {
|
|
@@ -1590,7 +1605,6 @@ var deserializeAws_json1_1DescribeServicesCommandError = function (output, conte
|
|
|
1590
1605
|
return [4, parseBody(output.body, context)];
|
|
1591
1606
|
case 1:
|
|
1592
1607
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1593
|
-
errorCode = "UnknownError";
|
|
1594
1608
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1595
1609
|
_b = errorCode;
|
|
1596
1610
|
switch (_b) {
|
|
@@ -1614,10 +1628,12 @@ var deserializeAws_json1_1DescribeServicesCommandError = function (output, conte
|
|
|
1614
1628
|
case 9: throw _d.sent();
|
|
1615
1629
|
case 10:
|
|
1616
1630
|
parsedBody = parsedOutput.body;
|
|
1631
|
+
$metadata = deserializeMetadata(output);
|
|
1632
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1617
1633
|
response = new __BaseException({
|
|
1618
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1634
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1619
1635
|
$fault: "client",
|
|
1620
|
-
$metadata:
|
|
1636
|
+
$metadata: $metadata,
|
|
1621
1637
|
});
|
|
1622
1638
|
throw __decorateServiceException(response, parsedBody);
|
|
1623
1639
|
}
|
|
@@ -1642,7 +1658,7 @@ export var deserializeAws_json1_1DescribeTaskDefinitionCommand = function (outpu
|
|
|
1642
1658
|
});
|
|
1643
1659
|
}); };
|
|
1644
1660
|
var deserializeAws_json1_1DescribeTaskDefinitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1645
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1661
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1646
1662
|
var _c;
|
|
1647
1663
|
return __generator(this, function (_d) {
|
|
1648
1664
|
switch (_d.label) {
|
|
@@ -1652,7 +1668,6 @@ var deserializeAws_json1_1DescribeTaskDefinitionCommandError = function (output,
|
|
|
1652
1668
|
return [4, parseBody(output.body, context)];
|
|
1653
1669
|
case 1:
|
|
1654
1670
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1655
|
-
errorCode = "UnknownError";
|
|
1656
1671
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1657
1672
|
_b = errorCode;
|
|
1658
1673
|
switch (_b) {
|
|
@@ -1672,10 +1687,12 @@ var deserializeAws_json1_1DescribeTaskDefinitionCommandError = function (output,
|
|
|
1672
1687
|
case 7: throw _d.sent();
|
|
1673
1688
|
case 8:
|
|
1674
1689
|
parsedBody = parsedOutput.body;
|
|
1690
|
+
$metadata = deserializeMetadata(output);
|
|
1691
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1675
1692
|
response = new __BaseException({
|
|
1676
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1693
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1677
1694
|
$fault: "client",
|
|
1678
|
-
$metadata:
|
|
1695
|
+
$metadata: $metadata,
|
|
1679
1696
|
});
|
|
1680
1697
|
throw __decorateServiceException(response, parsedBody);
|
|
1681
1698
|
}
|
|
@@ -1700,7 +1717,7 @@ export var deserializeAws_json1_1DescribeTasksCommand = function (output, contex
|
|
|
1700
1717
|
});
|
|
1701
1718
|
}); };
|
|
1702
1719
|
var deserializeAws_json1_1DescribeTasksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1703
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1720
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1704
1721
|
var _c;
|
|
1705
1722
|
return __generator(this, function (_d) {
|
|
1706
1723
|
switch (_d.label) {
|
|
@@ -1710,7 +1727,6 @@ var deserializeAws_json1_1DescribeTasksCommandError = function (output, context)
|
|
|
1710
1727
|
return [4, parseBody(output.body, context)];
|
|
1711
1728
|
case 1:
|
|
1712
1729
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1713
|
-
errorCode = "UnknownError";
|
|
1714
1730
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1715
1731
|
_b = errorCode;
|
|
1716
1732
|
switch (_b) {
|
|
@@ -1734,10 +1750,12 @@ var deserializeAws_json1_1DescribeTasksCommandError = function (output, context)
|
|
|
1734
1750
|
case 9: throw _d.sent();
|
|
1735
1751
|
case 10:
|
|
1736
1752
|
parsedBody = parsedOutput.body;
|
|
1753
|
+
$metadata = deserializeMetadata(output);
|
|
1754
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1737
1755
|
response = new __BaseException({
|
|
1738
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1756
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1739
1757
|
$fault: "client",
|
|
1740
|
-
$metadata:
|
|
1758
|
+
$metadata: $metadata,
|
|
1741
1759
|
});
|
|
1742
1760
|
throw __decorateServiceException(response, parsedBody);
|
|
1743
1761
|
}
|
|
@@ -1762,7 +1780,7 @@ export var deserializeAws_json1_1DescribeTaskSetsCommand = function (output, con
|
|
|
1762
1780
|
});
|
|
1763
1781
|
}); };
|
|
1764
1782
|
var deserializeAws_json1_1DescribeTaskSetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1765
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1783
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1766
1784
|
var _c;
|
|
1767
1785
|
return __generator(this, function (_d) {
|
|
1768
1786
|
switch (_d.label) {
|
|
@@ -1772,7 +1790,6 @@ var deserializeAws_json1_1DescribeTaskSetsCommandError = function (output, conte
|
|
|
1772
1790
|
return [4, parseBody(output.body, context)];
|
|
1773
1791
|
case 1:
|
|
1774
1792
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1775
|
-
errorCode = "UnknownError";
|
|
1776
1793
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1777
1794
|
_b = errorCode;
|
|
1778
1795
|
switch (_b) {
|
|
@@ -1812,10 +1829,12 @@ var deserializeAws_json1_1DescribeTaskSetsCommandError = function (output, conte
|
|
|
1812
1829
|
case 17: throw _d.sent();
|
|
1813
1830
|
case 18:
|
|
1814
1831
|
parsedBody = parsedOutput.body;
|
|
1832
|
+
$metadata = deserializeMetadata(output);
|
|
1833
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1815
1834
|
response = new __BaseException({
|
|
1816
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1835
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1817
1836
|
$fault: "client",
|
|
1818
|
-
$metadata:
|
|
1837
|
+
$metadata: $metadata,
|
|
1819
1838
|
});
|
|
1820
1839
|
throw __decorateServiceException(response, parsedBody);
|
|
1821
1840
|
}
|
|
@@ -1840,7 +1859,7 @@ export var deserializeAws_json1_1DiscoverPollEndpointCommand = function (output,
|
|
|
1840
1859
|
});
|
|
1841
1860
|
}); };
|
|
1842
1861
|
var deserializeAws_json1_1DiscoverPollEndpointCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1843
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1862
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1844
1863
|
var _c;
|
|
1845
1864
|
return __generator(this, function (_d) {
|
|
1846
1865
|
switch (_d.label) {
|
|
@@ -1850,7 +1869,6 @@ var deserializeAws_json1_1DiscoverPollEndpointCommandError = function (output, c
|
|
|
1850
1869
|
return [4, parseBody(output.body, context)];
|
|
1851
1870
|
case 1:
|
|
1852
1871
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1853
|
-
errorCode = "UnknownError";
|
|
1854
1872
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1855
1873
|
_b = errorCode;
|
|
1856
1874
|
switch (_b) {
|
|
@@ -1866,10 +1884,12 @@ var deserializeAws_json1_1DiscoverPollEndpointCommandError = function (output, c
|
|
|
1866
1884
|
case 5: throw _d.sent();
|
|
1867
1885
|
case 6:
|
|
1868
1886
|
parsedBody = parsedOutput.body;
|
|
1887
|
+
$metadata = deserializeMetadata(output);
|
|
1888
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1869
1889
|
response = new __BaseException({
|
|
1870
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1890
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1871
1891
|
$fault: "client",
|
|
1872
|
-
$metadata:
|
|
1892
|
+
$metadata: $metadata,
|
|
1873
1893
|
});
|
|
1874
1894
|
throw __decorateServiceException(response, parsedBody);
|
|
1875
1895
|
}
|
|
@@ -1894,7 +1914,7 @@ export var deserializeAws_json1_1ExecuteCommandCommand = function (output, conte
|
|
|
1894
1914
|
});
|
|
1895
1915
|
}); };
|
|
1896
1916
|
var deserializeAws_json1_1ExecuteCommandCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1897
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1917
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1898
1918
|
var _c;
|
|
1899
1919
|
return __generator(this, function (_d) {
|
|
1900
1920
|
switch (_d.label) {
|
|
@@ -1904,7 +1924,6 @@ var deserializeAws_json1_1ExecuteCommandCommandError = function (output, context
|
|
|
1904
1924
|
return [4, parseBody(output.body, context)];
|
|
1905
1925
|
case 1:
|
|
1906
1926
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1907
|
-
errorCode = "UnknownError";
|
|
1908
1927
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1909
1928
|
_b = errorCode;
|
|
1910
1929
|
switch (_b) {
|
|
@@ -1936,10 +1955,12 @@ var deserializeAws_json1_1ExecuteCommandCommandError = function (output, context
|
|
|
1936
1955
|
case 13: throw _d.sent();
|
|
1937
1956
|
case 14:
|
|
1938
1957
|
parsedBody = parsedOutput.body;
|
|
1958
|
+
$metadata = deserializeMetadata(output);
|
|
1959
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1939
1960
|
response = new __BaseException({
|
|
1940
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1961
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1941
1962
|
$fault: "client",
|
|
1942
|
-
$metadata:
|
|
1963
|
+
$metadata: $metadata,
|
|
1943
1964
|
});
|
|
1944
1965
|
throw __decorateServiceException(response, parsedBody);
|
|
1945
1966
|
}
|
|
@@ -1964,7 +1985,7 @@ export var deserializeAws_json1_1ListAccountSettingsCommand = function (output,
|
|
|
1964
1985
|
});
|
|
1965
1986
|
}); };
|
|
1966
1987
|
var deserializeAws_json1_1ListAccountSettingsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1967
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1988
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1968
1989
|
var _c;
|
|
1969
1990
|
return __generator(this, function (_d) {
|
|
1970
1991
|
switch (_d.label) {
|
|
@@ -1974,7 +1995,6 @@ var deserializeAws_json1_1ListAccountSettingsCommandError = function (output, co
|
|
|
1974
1995
|
return [4, parseBody(output.body, context)];
|
|
1975
1996
|
case 1:
|
|
1976
1997
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1977
|
-
errorCode = "UnknownError";
|
|
1978
1998
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1979
1999
|
_b = errorCode;
|
|
1980
2000
|
switch (_b) {
|
|
@@ -1994,10 +2014,12 @@ var deserializeAws_json1_1ListAccountSettingsCommandError = function (output, co
|
|
|
1994
2014
|
case 7: throw _d.sent();
|
|
1995
2015
|
case 8:
|
|
1996
2016
|
parsedBody = parsedOutput.body;
|
|
2017
|
+
$metadata = deserializeMetadata(output);
|
|
2018
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1997
2019
|
response = new __BaseException({
|
|
1998
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2020
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1999
2021
|
$fault: "client",
|
|
2000
|
-
$metadata:
|
|
2022
|
+
$metadata: $metadata,
|
|
2001
2023
|
});
|
|
2002
2024
|
throw __decorateServiceException(response, parsedBody);
|
|
2003
2025
|
}
|
|
@@ -2022,7 +2044,7 @@ export var deserializeAws_json1_1ListAttributesCommand = function (output, conte
|
|
|
2022
2044
|
});
|
|
2023
2045
|
}); };
|
|
2024
2046
|
var deserializeAws_json1_1ListAttributesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2025
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2047
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2026
2048
|
var _c;
|
|
2027
2049
|
return __generator(this, function (_d) {
|
|
2028
2050
|
switch (_d.label) {
|
|
@@ -2032,7 +2054,6 @@ var deserializeAws_json1_1ListAttributesCommandError = function (output, context
|
|
|
2032
2054
|
return [4, parseBody(output.body, context)];
|
|
2033
2055
|
case 1:
|
|
2034
2056
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2035
|
-
errorCode = "UnknownError";
|
|
2036
2057
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2037
2058
|
_b = errorCode;
|
|
2038
2059
|
switch (_b) {
|
|
@@ -2048,10 +2069,12 @@ var deserializeAws_json1_1ListAttributesCommandError = function (output, context
|
|
|
2048
2069
|
case 5: throw _d.sent();
|
|
2049
2070
|
case 6:
|
|
2050
2071
|
parsedBody = parsedOutput.body;
|
|
2072
|
+
$metadata = deserializeMetadata(output);
|
|
2073
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2051
2074
|
response = new __BaseException({
|
|
2052
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2075
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2053
2076
|
$fault: "client",
|
|
2054
|
-
$metadata:
|
|
2077
|
+
$metadata: $metadata,
|
|
2055
2078
|
});
|
|
2056
2079
|
throw __decorateServiceException(response, parsedBody);
|
|
2057
2080
|
}
|
|
@@ -2076,7 +2099,7 @@ export var deserializeAws_json1_1ListClustersCommand = function (output, context
|
|
|
2076
2099
|
});
|
|
2077
2100
|
}); };
|
|
2078
2101
|
var deserializeAws_json1_1ListClustersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2079
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2102
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2080
2103
|
var _c;
|
|
2081
2104
|
return __generator(this, function (_d) {
|
|
2082
2105
|
switch (_d.label) {
|
|
@@ -2086,7 +2109,6 @@ var deserializeAws_json1_1ListClustersCommandError = function (output, context)
|
|
|
2086
2109
|
return [4, parseBody(output.body, context)];
|
|
2087
2110
|
case 1:
|
|
2088
2111
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2089
|
-
errorCode = "UnknownError";
|
|
2090
2112
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2091
2113
|
_b = errorCode;
|
|
2092
2114
|
switch (_b) {
|
|
@@ -2106,10 +2128,12 @@ var deserializeAws_json1_1ListClustersCommandError = function (output, context)
|
|
|
2106
2128
|
case 7: throw _d.sent();
|
|
2107
2129
|
case 8:
|
|
2108
2130
|
parsedBody = parsedOutput.body;
|
|
2131
|
+
$metadata = deserializeMetadata(output);
|
|
2132
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2109
2133
|
response = new __BaseException({
|
|
2110
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2134
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2111
2135
|
$fault: "client",
|
|
2112
|
-
$metadata:
|
|
2136
|
+
$metadata: $metadata,
|
|
2113
2137
|
});
|
|
2114
2138
|
throw __decorateServiceException(response, parsedBody);
|
|
2115
2139
|
}
|
|
@@ -2134,7 +2158,7 @@ export var deserializeAws_json1_1ListContainerInstancesCommand = function (outpu
|
|
|
2134
2158
|
});
|
|
2135
2159
|
}); };
|
|
2136
2160
|
var deserializeAws_json1_1ListContainerInstancesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2137
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2161
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2138
2162
|
var _c;
|
|
2139
2163
|
return __generator(this, function (_d) {
|
|
2140
2164
|
switch (_d.label) {
|
|
@@ -2144,7 +2168,6 @@ var deserializeAws_json1_1ListContainerInstancesCommandError = function (output,
|
|
|
2144
2168
|
return [4, parseBody(output.body, context)];
|
|
2145
2169
|
case 1:
|
|
2146
2170
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2147
|
-
errorCode = "UnknownError";
|
|
2148
2171
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2149
2172
|
_b = errorCode;
|
|
2150
2173
|
switch (_b) {
|
|
@@ -2168,10 +2191,12 @@ var deserializeAws_json1_1ListContainerInstancesCommandError = function (output,
|
|
|
2168
2191
|
case 9: throw _d.sent();
|
|
2169
2192
|
case 10:
|
|
2170
2193
|
parsedBody = parsedOutput.body;
|
|
2194
|
+
$metadata = deserializeMetadata(output);
|
|
2195
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2171
2196
|
response = new __BaseException({
|
|
2172
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2197
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2173
2198
|
$fault: "client",
|
|
2174
|
-
$metadata:
|
|
2199
|
+
$metadata: $metadata,
|
|
2175
2200
|
});
|
|
2176
2201
|
throw __decorateServiceException(response, parsedBody);
|
|
2177
2202
|
}
|
|
@@ -2196,7 +2221,7 @@ export var deserializeAws_json1_1ListServicesCommand = function (output, context
|
|
|
2196
2221
|
});
|
|
2197
2222
|
}); };
|
|
2198
2223
|
var deserializeAws_json1_1ListServicesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2199
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2224
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2200
2225
|
var _c;
|
|
2201
2226
|
return __generator(this, function (_d) {
|
|
2202
2227
|
switch (_d.label) {
|
|
@@ -2206,7 +2231,6 @@ var deserializeAws_json1_1ListServicesCommandError = function (output, context)
|
|
|
2206
2231
|
return [4, parseBody(output.body, context)];
|
|
2207
2232
|
case 1:
|
|
2208
2233
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2209
|
-
errorCode = "UnknownError";
|
|
2210
2234
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2211
2235
|
_b = errorCode;
|
|
2212
2236
|
switch (_b) {
|
|
@@ -2230,10 +2254,12 @@ var deserializeAws_json1_1ListServicesCommandError = function (output, context)
|
|
|
2230
2254
|
case 9: throw _d.sent();
|
|
2231
2255
|
case 10:
|
|
2232
2256
|
parsedBody = parsedOutput.body;
|
|
2257
|
+
$metadata = deserializeMetadata(output);
|
|
2258
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2233
2259
|
response = new __BaseException({
|
|
2234
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2260
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2235
2261
|
$fault: "client",
|
|
2236
|
-
$metadata:
|
|
2262
|
+
$metadata: $metadata,
|
|
2237
2263
|
});
|
|
2238
2264
|
throw __decorateServiceException(response, parsedBody);
|
|
2239
2265
|
}
|
|
@@ -2258,7 +2284,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
2258
2284
|
});
|
|
2259
2285
|
}); };
|
|
2260
2286
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2261
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2287
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2262
2288
|
var _c;
|
|
2263
2289
|
return __generator(this, function (_d) {
|
|
2264
2290
|
switch (_d.label) {
|
|
@@ -2268,7 +2294,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
2268
2294
|
return [4, parseBody(output.body, context)];
|
|
2269
2295
|
case 1:
|
|
2270
2296
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2271
|
-
errorCode = "UnknownError";
|
|
2272
2297
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2273
2298
|
_b = errorCode;
|
|
2274
2299
|
switch (_b) {
|
|
@@ -2292,10 +2317,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
2292
2317
|
case 9: throw _d.sent();
|
|
2293
2318
|
case 10:
|
|
2294
2319
|
parsedBody = parsedOutput.body;
|
|
2320
|
+
$metadata = deserializeMetadata(output);
|
|
2321
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2295
2322
|
response = new __BaseException({
|
|
2296
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2323
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2297
2324
|
$fault: "client",
|
|
2298
|
-
$metadata:
|
|
2325
|
+
$metadata: $metadata,
|
|
2299
2326
|
});
|
|
2300
2327
|
throw __decorateServiceException(response, parsedBody);
|
|
2301
2328
|
}
|
|
@@ -2320,7 +2347,7 @@ export var deserializeAws_json1_1ListTaskDefinitionFamiliesCommand = function (o
|
|
|
2320
2347
|
});
|
|
2321
2348
|
}); };
|
|
2322
2349
|
var deserializeAws_json1_1ListTaskDefinitionFamiliesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2323
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2350
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2324
2351
|
var _c;
|
|
2325
2352
|
return __generator(this, function (_d) {
|
|
2326
2353
|
switch (_d.label) {
|
|
@@ -2330,7 +2357,6 @@ var deserializeAws_json1_1ListTaskDefinitionFamiliesCommandError = function (out
|
|
|
2330
2357
|
return [4, parseBody(output.body, context)];
|
|
2331
2358
|
case 1:
|
|
2332
2359
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2333
|
-
errorCode = "UnknownError";
|
|
2334
2360
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2335
2361
|
_b = errorCode;
|
|
2336
2362
|
switch (_b) {
|
|
@@ -2350,10 +2376,12 @@ var deserializeAws_json1_1ListTaskDefinitionFamiliesCommandError = function (out
|
|
|
2350
2376
|
case 7: throw _d.sent();
|
|
2351
2377
|
case 8:
|
|
2352
2378
|
parsedBody = parsedOutput.body;
|
|
2379
|
+
$metadata = deserializeMetadata(output);
|
|
2380
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2353
2381
|
response = new __BaseException({
|
|
2354
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2382
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2355
2383
|
$fault: "client",
|
|
2356
|
-
$metadata:
|
|
2384
|
+
$metadata: $metadata,
|
|
2357
2385
|
});
|
|
2358
2386
|
throw __decorateServiceException(response, parsedBody);
|
|
2359
2387
|
}
|
|
@@ -2378,7 +2406,7 @@ export var deserializeAws_json1_1ListTaskDefinitionsCommand = function (output,
|
|
|
2378
2406
|
});
|
|
2379
2407
|
}); };
|
|
2380
2408
|
var deserializeAws_json1_1ListTaskDefinitionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2381
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2409
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2382
2410
|
var _c;
|
|
2383
2411
|
return __generator(this, function (_d) {
|
|
2384
2412
|
switch (_d.label) {
|
|
@@ -2388,7 +2416,6 @@ var deserializeAws_json1_1ListTaskDefinitionsCommandError = function (output, co
|
|
|
2388
2416
|
return [4, parseBody(output.body, context)];
|
|
2389
2417
|
case 1:
|
|
2390
2418
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2391
|
-
errorCode = "UnknownError";
|
|
2392
2419
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2393
2420
|
_b = errorCode;
|
|
2394
2421
|
switch (_b) {
|
|
@@ -2408,10 +2435,12 @@ var deserializeAws_json1_1ListTaskDefinitionsCommandError = function (output, co
|
|
|
2408
2435
|
case 7: throw _d.sent();
|
|
2409
2436
|
case 8:
|
|
2410
2437
|
parsedBody = parsedOutput.body;
|
|
2438
|
+
$metadata = deserializeMetadata(output);
|
|
2439
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2411
2440
|
response = new __BaseException({
|
|
2412
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2441
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2413
2442
|
$fault: "client",
|
|
2414
|
-
$metadata:
|
|
2443
|
+
$metadata: $metadata,
|
|
2415
2444
|
});
|
|
2416
2445
|
throw __decorateServiceException(response, parsedBody);
|
|
2417
2446
|
}
|
|
@@ -2436,7 +2465,7 @@ export var deserializeAws_json1_1ListTasksCommand = function (output, context) {
|
|
|
2436
2465
|
});
|
|
2437
2466
|
}); };
|
|
2438
2467
|
var deserializeAws_json1_1ListTasksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2439
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2468
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2440
2469
|
var _c;
|
|
2441
2470
|
return __generator(this, function (_d) {
|
|
2442
2471
|
switch (_d.label) {
|
|
@@ -2446,7 +2475,6 @@ var deserializeAws_json1_1ListTasksCommandError = function (output, context) { r
|
|
|
2446
2475
|
return [4, parseBody(output.body, context)];
|
|
2447
2476
|
case 1:
|
|
2448
2477
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2449
|
-
errorCode = "UnknownError";
|
|
2450
2478
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2451
2479
|
_b = errorCode;
|
|
2452
2480
|
switch (_b) {
|
|
@@ -2474,10 +2502,12 @@ var deserializeAws_json1_1ListTasksCommandError = function (output, context) { r
|
|
|
2474
2502
|
case 11: throw _d.sent();
|
|
2475
2503
|
case 12:
|
|
2476
2504
|
parsedBody = parsedOutput.body;
|
|
2505
|
+
$metadata = deserializeMetadata(output);
|
|
2506
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2477
2507
|
response = new __BaseException({
|
|
2478
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2508
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2479
2509
|
$fault: "client",
|
|
2480
|
-
$metadata:
|
|
2510
|
+
$metadata: $metadata,
|
|
2481
2511
|
});
|
|
2482
2512
|
throw __decorateServiceException(response, parsedBody);
|
|
2483
2513
|
}
|
|
@@ -2502,7 +2532,7 @@ export var deserializeAws_json1_1PutAccountSettingCommand = function (output, co
|
|
|
2502
2532
|
});
|
|
2503
2533
|
}); };
|
|
2504
2534
|
var deserializeAws_json1_1PutAccountSettingCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2505
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2535
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2506
2536
|
var _c;
|
|
2507
2537
|
return __generator(this, function (_d) {
|
|
2508
2538
|
switch (_d.label) {
|
|
@@ -2512,7 +2542,6 @@ var deserializeAws_json1_1PutAccountSettingCommandError = function (output, cont
|
|
|
2512
2542
|
return [4, parseBody(output.body, context)];
|
|
2513
2543
|
case 1:
|
|
2514
2544
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2515
|
-
errorCode = "UnknownError";
|
|
2516
2545
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2517
2546
|
_b = errorCode;
|
|
2518
2547
|
switch (_b) {
|
|
@@ -2532,10 +2561,12 @@ var deserializeAws_json1_1PutAccountSettingCommandError = function (output, cont
|
|
|
2532
2561
|
case 7: throw _d.sent();
|
|
2533
2562
|
case 8:
|
|
2534
2563
|
parsedBody = parsedOutput.body;
|
|
2564
|
+
$metadata = deserializeMetadata(output);
|
|
2565
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2535
2566
|
response = new __BaseException({
|
|
2536
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2567
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2537
2568
|
$fault: "client",
|
|
2538
|
-
$metadata:
|
|
2569
|
+
$metadata: $metadata,
|
|
2539
2570
|
});
|
|
2540
2571
|
throw __decorateServiceException(response, parsedBody);
|
|
2541
2572
|
}
|
|
@@ -2560,7 +2591,7 @@ export var deserializeAws_json1_1PutAccountSettingDefaultCommand = function (out
|
|
|
2560
2591
|
});
|
|
2561
2592
|
}); };
|
|
2562
2593
|
var deserializeAws_json1_1PutAccountSettingDefaultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2563
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2594
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2564
2595
|
var _c;
|
|
2565
2596
|
return __generator(this, function (_d) {
|
|
2566
2597
|
switch (_d.label) {
|
|
@@ -2570,7 +2601,6 @@ var deserializeAws_json1_1PutAccountSettingDefaultCommandError = function (outpu
|
|
|
2570
2601
|
return [4, parseBody(output.body, context)];
|
|
2571
2602
|
case 1:
|
|
2572
2603
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2573
|
-
errorCode = "UnknownError";
|
|
2574
2604
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2575
2605
|
_b = errorCode;
|
|
2576
2606
|
switch (_b) {
|
|
@@ -2590,10 +2620,12 @@ var deserializeAws_json1_1PutAccountSettingDefaultCommandError = function (outpu
|
|
|
2590
2620
|
case 7: throw _d.sent();
|
|
2591
2621
|
case 8:
|
|
2592
2622
|
parsedBody = parsedOutput.body;
|
|
2623
|
+
$metadata = deserializeMetadata(output);
|
|
2624
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2593
2625
|
response = new __BaseException({
|
|
2594
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2626
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2595
2627
|
$fault: "client",
|
|
2596
|
-
$metadata:
|
|
2628
|
+
$metadata: $metadata,
|
|
2597
2629
|
});
|
|
2598
2630
|
throw __decorateServiceException(response, parsedBody);
|
|
2599
2631
|
}
|
|
@@ -2618,7 +2650,7 @@ export var deserializeAws_json1_1PutAttributesCommand = function (output, contex
|
|
|
2618
2650
|
});
|
|
2619
2651
|
}); };
|
|
2620
2652
|
var deserializeAws_json1_1PutAttributesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2621
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2653
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2622
2654
|
var _c;
|
|
2623
2655
|
return __generator(this, function (_d) {
|
|
2624
2656
|
switch (_d.label) {
|
|
@@ -2628,7 +2660,6 @@ var deserializeAws_json1_1PutAttributesCommandError = function (output, context)
|
|
|
2628
2660
|
return [4, parseBody(output.body, context)];
|
|
2629
2661
|
case 1:
|
|
2630
2662
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2631
|
-
errorCode = "UnknownError";
|
|
2632
2663
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2633
2664
|
_b = errorCode;
|
|
2634
2665
|
switch (_b) {
|
|
@@ -2652,10 +2683,12 @@ var deserializeAws_json1_1PutAttributesCommandError = function (output, context)
|
|
|
2652
2683
|
case 9: throw _d.sent();
|
|
2653
2684
|
case 10:
|
|
2654
2685
|
parsedBody = parsedOutput.body;
|
|
2686
|
+
$metadata = deserializeMetadata(output);
|
|
2687
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2655
2688
|
response = new __BaseException({
|
|
2656
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2689
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2657
2690
|
$fault: "client",
|
|
2658
|
-
$metadata:
|
|
2691
|
+
$metadata: $metadata,
|
|
2659
2692
|
});
|
|
2660
2693
|
throw __decorateServiceException(response, parsedBody);
|
|
2661
2694
|
}
|
|
@@ -2680,7 +2713,7 @@ export var deserializeAws_json1_1PutClusterCapacityProvidersCommand = function (
|
|
|
2680
2713
|
});
|
|
2681
2714
|
}); };
|
|
2682
2715
|
var deserializeAws_json1_1PutClusterCapacityProvidersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2683
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2716
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2684
2717
|
var _c;
|
|
2685
2718
|
return __generator(this, function (_d) {
|
|
2686
2719
|
switch (_d.label) {
|
|
@@ -2690,7 +2723,6 @@ var deserializeAws_json1_1PutClusterCapacityProvidersCommandError = function (ou
|
|
|
2690
2723
|
return [4, parseBody(output.body, context)];
|
|
2691
2724
|
case 1:
|
|
2692
2725
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2693
|
-
errorCode = "UnknownError";
|
|
2694
2726
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2695
2727
|
_b = errorCode;
|
|
2696
2728
|
switch (_b) {
|
|
@@ -2722,10 +2754,12 @@ var deserializeAws_json1_1PutClusterCapacityProvidersCommandError = function (ou
|
|
|
2722
2754
|
case 13: throw _d.sent();
|
|
2723
2755
|
case 14:
|
|
2724
2756
|
parsedBody = parsedOutput.body;
|
|
2757
|
+
$metadata = deserializeMetadata(output);
|
|
2758
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2725
2759
|
response = new __BaseException({
|
|
2726
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2760
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2727
2761
|
$fault: "client",
|
|
2728
|
-
$metadata:
|
|
2762
|
+
$metadata: $metadata,
|
|
2729
2763
|
});
|
|
2730
2764
|
throw __decorateServiceException(response, parsedBody);
|
|
2731
2765
|
}
|
|
@@ -2750,7 +2784,7 @@ export var deserializeAws_json1_1RegisterContainerInstanceCommand = function (ou
|
|
|
2750
2784
|
});
|
|
2751
2785
|
}); };
|
|
2752
2786
|
var deserializeAws_json1_1RegisterContainerInstanceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2753
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2787
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2754
2788
|
var _c;
|
|
2755
2789
|
return __generator(this, function (_d) {
|
|
2756
2790
|
switch (_d.label) {
|
|
@@ -2760,7 +2794,6 @@ var deserializeAws_json1_1RegisterContainerInstanceCommandError = function (outp
|
|
|
2760
2794
|
return [4, parseBody(output.body, context)];
|
|
2761
2795
|
case 1:
|
|
2762
2796
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2763
|
-
errorCode = "UnknownError";
|
|
2764
2797
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2765
2798
|
_b = errorCode;
|
|
2766
2799
|
switch (_b) {
|
|
@@ -2780,10 +2813,12 @@ var deserializeAws_json1_1RegisterContainerInstanceCommandError = function (outp
|
|
|
2780
2813
|
case 7: throw _d.sent();
|
|
2781
2814
|
case 8:
|
|
2782
2815
|
parsedBody = parsedOutput.body;
|
|
2816
|
+
$metadata = deserializeMetadata(output);
|
|
2817
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2783
2818
|
response = new __BaseException({
|
|
2784
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2819
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2785
2820
|
$fault: "client",
|
|
2786
|
-
$metadata:
|
|
2821
|
+
$metadata: $metadata,
|
|
2787
2822
|
});
|
|
2788
2823
|
throw __decorateServiceException(response, parsedBody);
|
|
2789
2824
|
}
|
|
@@ -2808,7 +2843,7 @@ export var deserializeAws_json1_1RegisterTaskDefinitionCommand = function (outpu
|
|
|
2808
2843
|
});
|
|
2809
2844
|
}); };
|
|
2810
2845
|
var deserializeAws_json1_1RegisterTaskDefinitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2811
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2846
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2812
2847
|
var _c;
|
|
2813
2848
|
return __generator(this, function (_d) {
|
|
2814
2849
|
switch (_d.label) {
|
|
@@ -2818,7 +2853,6 @@ var deserializeAws_json1_1RegisterTaskDefinitionCommandError = function (output,
|
|
|
2818
2853
|
return [4, parseBody(output.body, context)];
|
|
2819
2854
|
case 1:
|
|
2820
2855
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2821
|
-
errorCode = "UnknownError";
|
|
2822
2856
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2823
2857
|
_b = errorCode;
|
|
2824
2858
|
switch (_b) {
|
|
@@ -2838,10 +2872,12 @@ var deserializeAws_json1_1RegisterTaskDefinitionCommandError = function (output,
|
|
|
2838
2872
|
case 7: throw _d.sent();
|
|
2839
2873
|
case 8:
|
|
2840
2874
|
parsedBody = parsedOutput.body;
|
|
2875
|
+
$metadata = deserializeMetadata(output);
|
|
2876
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2841
2877
|
response = new __BaseException({
|
|
2842
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2878
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2843
2879
|
$fault: "client",
|
|
2844
|
-
$metadata:
|
|
2880
|
+
$metadata: $metadata,
|
|
2845
2881
|
});
|
|
2846
2882
|
throw __decorateServiceException(response, parsedBody);
|
|
2847
2883
|
}
|
|
@@ -2866,7 +2902,7 @@ export var deserializeAws_json1_1RunTaskCommand = function (output, context) { r
|
|
|
2866
2902
|
});
|
|
2867
2903
|
}); };
|
|
2868
2904
|
var deserializeAws_json1_1RunTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2869
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2905
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2870
2906
|
var _c;
|
|
2871
2907
|
return __generator(this, function (_d) {
|
|
2872
2908
|
switch (_d.label) {
|
|
@@ -2876,7 +2912,6 @@ var deserializeAws_json1_1RunTaskCommandError = function (output, context) { ret
|
|
|
2876
2912
|
return [4, parseBody(output.body, context)];
|
|
2877
2913
|
case 1:
|
|
2878
2914
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2879
|
-
errorCode = "UnknownError";
|
|
2880
2915
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2881
2916
|
_b = errorCode;
|
|
2882
2917
|
switch (_b) {
|
|
@@ -2920,10 +2955,12 @@ var deserializeAws_json1_1RunTaskCommandError = function (output, context) { ret
|
|
|
2920
2955
|
case 19: throw _d.sent();
|
|
2921
2956
|
case 20:
|
|
2922
2957
|
parsedBody = parsedOutput.body;
|
|
2958
|
+
$metadata = deserializeMetadata(output);
|
|
2959
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2923
2960
|
response = new __BaseException({
|
|
2924
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2961
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2925
2962
|
$fault: "client",
|
|
2926
|
-
$metadata:
|
|
2963
|
+
$metadata: $metadata,
|
|
2927
2964
|
});
|
|
2928
2965
|
throw __decorateServiceException(response, parsedBody);
|
|
2929
2966
|
}
|
|
@@ -2948,7 +2985,7 @@ export var deserializeAws_json1_1StartTaskCommand = function (output, context) {
|
|
|
2948
2985
|
});
|
|
2949
2986
|
}); };
|
|
2950
2987
|
var deserializeAws_json1_1StartTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2951
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2988
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2952
2989
|
var _c;
|
|
2953
2990
|
return __generator(this, function (_d) {
|
|
2954
2991
|
switch (_d.label) {
|
|
@@ -2958,7 +2995,6 @@ var deserializeAws_json1_1StartTaskCommandError = function (output, context) { r
|
|
|
2958
2995
|
return [4, parseBody(output.body, context)];
|
|
2959
2996
|
case 1:
|
|
2960
2997
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2961
|
-
errorCode = "UnknownError";
|
|
2962
2998
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2963
2999
|
_b = errorCode;
|
|
2964
3000
|
switch (_b) {
|
|
@@ -2982,10 +3018,12 @@ var deserializeAws_json1_1StartTaskCommandError = function (output, context) { r
|
|
|
2982
3018
|
case 9: throw _d.sent();
|
|
2983
3019
|
case 10:
|
|
2984
3020
|
parsedBody = parsedOutput.body;
|
|
3021
|
+
$metadata = deserializeMetadata(output);
|
|
3022
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2985
3023
|
response = new __BaseException({
|
|
2986
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3024
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2987
3025
|
$fault: "client",
|
|
2988
|
-
$metadata:
|
|
3026
|
+
$metadata: $metadata,
|
|
2989
3027
|
});
|
|
2990
3028
|
throw __decorateServiceException(response, parsedBody);
|
|
2991
3029
|
}
|
|
@@ -3010,7 +3048,7 @@ export var deserializeAws_json1_1StopTaskCommand = function (output, context) {
|
|
|
3010
3048
|
});
|
|
3011
3049
|
}); };
|
|
3012
3050
|
var deserializeAws_json1_1StopTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3013
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3051
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3014
3052
|
var _c;
|
|
3015
3053
|
return __generator(this, function (_d) {
|
|
3016
3054
|
switch (_d.label) {
|
|
@@ -3020,7 +3058,6 @@ var deserializeAws_json1_1StopTaskCommandError = function (output, context) { re
|
|
|
3020
3058
|
return [4, parseBody(output.body, context)];
|
|
3021
3059
|
case 1:
|
|
3022
3060
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3023
|
-
errorCode = "UnknownError";
|
|
3024
3061
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3025
3062
|
_b = errorCode;
|
|
3026
3063
|
switch (_b) {
|
|
@@ -3044,10 +3081,12 @@ var deserializeAws_json1_1StopTaskCommandError = function (output, context) { re
|
|
|
3044
3081
|
case 9: throw _d.sent();
|
|
3045
3082
|
case 10:
|
|
3046
3083
|
parsedBody = parsedOutput.body;
|
|
3084
|
+
$metadata = deserializeMetadata(output);
|
|
3085
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3047
3086
|
response = new __BaseException({
|
|
3048
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3087
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3049
3088
|
$fault: "client",
|
|
3050
|
-
$metadata:
|
|
3089
|
+
$metadata: $metadata,
|
|
3051
3090
|
});
|
|
3052
3091
|
throw __decorateServiceException(response, parsedBody);
|
|
3053
3092
|
}
|
|
@@ -3072,7 +3111,7 @@ export var deserializeAws_json1_1SubmitAttachmentStateChangesCommand = function
|
|
|
3072
3111
|
});
|
|
3073
3112
|
}); };
|
|
3074
3113
|
var deserializeAws_json1_1SubmitAttachmentStateChangesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3075
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3114
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3076
3115
|
var _c;
|
|
3077
3116
|
return __generator(this, function (_d) {
|
|
3078
3117
|
switch (_d.label) {
|
|
@@ -3082,7 +3121,6 @@ var deserializeAws_json1_1SubmitAttachmentStateChangesCommandError = function (o
|
|
|
3082
3121
|
return [4, parseBody(output.body, context)];
|
|
3083
3122
|
case 1:
|
|
3084
3123
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3085
|
-
errorCode = "UnknownError";
|
|
3086
3124
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3087
3125
|
_b = errorCode;
|
|
3088
3126
|
switch (_b) {
|
|
@@ -3106,10 +3144,12 @@ var deserializeAws_json1_1SubmitAttachmentStateChangesCommandError = function (o
|
|
|
3106
3144
|
case 9: throw _d.sent();
|
|
3107
3145
|
case 10:
|
|
3108
3146
|
parsedBody = parsedOutput.body;
|
|
3147
|
+
$metadata = deserializeMetadata(output);
|
|
3148
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3109
3149
|
response = new __BaseException({
|
|
3110
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3150
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3111
3151
|
$fault: "client",
|
|
3112
|
-
$metadata:
|
|
3152
|
+
$metadata: $metadata,
|
|
3113
3153
|
});
|
|
3114
3154
|
throw __decorateServiceException(response, parsedBody);
|
|
3115
3155
|
}
|
|
@@ -3134,7 +3174,7 @@ export var deserializeAws_json1_1SubmitContainerStateChangeCommand = function (o
|
|
|
3134
3174
|
});
|
|
3135
3175
|
}); };
|
|
3136
3176
|
var deserializeAws_json1_1SubmitContainerStateChangeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3137
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3177
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3138
3178
|
var _c;
|
|
3139
3179
|
return __generator(this, function (_d) {
|
|
3140
3180
|
switch (_d.label) {
|
|
@@ -3144,7 +3184,6 @@ var deserializeAws_json1_1SubmitContainerStateChangeCommandError = function (out
|
|
|
3144
3184
|
return [4, parseBody(output.body, context)];
|
|
3145
3185
|
case 1:
|
|
3146
3186
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3147
|
-
errorCode = "UnknownError";
|
|
3148
3187
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3149
3188
|
_b = errorCode;
|
|
3150
3189
|
switch (_b) {
|
|
@@ -3164,10 +3203,12 @@ var deserializeAws_json1_1SubmitContainerStateChangeCommandError = function (out
|
|
|
3164
3203
|
case 7: throw _d.sent();
|
|
3165
3204
|
case 8:
|
|
3166
3205
|
parsedBody = parsedOutput.body;
|
|
3206
|
+
$metadata = deserializeMetadata(output);
|
|
3207
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3167
3208
|
response = new __BaseException({
|
|
3168
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3209
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3169
3210
|
$fault: "client",
|
|
3170
|
-
$metadata:
|
|
3211
|
+
$metadata: $metadata,
|
|
3171
3212
|
});
|
|
3172
3213
|
throw __decorateServiceException(response, parsedBody);
|
|
3173
3214
|
}
|
|
@@ -3192,7 +3233,7 @@ export var deserializeAws_json1_1SubmitTaskStateChangeCommand = function (output
|
|
|
3192
3233
|
});
|
|
3193
3234
|
}); };
|
|
3194
3235
|
var deserializeAws_json1_1SubmitTaskStateChangeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3195
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3236
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3196
3237
|
var _c;
|
|
3197
3238
|
return __generator(this, function (_d) {
|
|
3198
3239
|
switch (_d.label) {
|
|
@@ -3202,7 +3243,6 @@ var deserializeAws_json1_1SubmitTaskStateChangeCommandError = function (output,
|
|
|
3202
3243
|
return [4, parseBody(output.body, context)];
|
|
3203
3244
|
case 1:
|
|
3204
3245
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3205
|
-
errorCode = "UnknownError";
|
|
3206
3246
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3207
3247
|
_b = errorCode;
|
|
3208
3248
|
switch (_b) {
|
|
@@ -3226,10 +3266,12 @@ var deserializeAws_json1_1SubmitTaskStateChangeCommandError = function (output,
|
|
|
3226
3266
|
case 9: throw _d.sent();
|
|
3227
3267
|
case 10:
|
|
3228
3268
|
parsedBody = parsedOutput.body;
|
|
3269
|
+
$metadata = deserializeMetadata(output);
|
|
3270
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3229
3271
|
response = new __BaseException({
|
|
3230
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3272
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3231
3273
|
$fault: "client",
|
|
3232
|
-
$metadata:
|
|
3274
|
+
$metadata: $metadata,
|
|
3233
3275
|
});
|
|
3234
3276
|
throw __decorateServiceException(response, parsedBody);
|
|
3235
3277
|
}
|
|
@@ -3254,7 +3296,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
3254
3296
|
});
|
|
3255
3297
|
}); };
|
|
3256
3298
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3257
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3299
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3258
3300
|
var _c;
|
|
3259
3301
|
return __generator(this, function (_d) {
|
|
3260
3302
|
switch (_d.label) {
|
|
@@ -3264,7 +3306,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
3264
3306
|
return [4, parseBody(output.body, context)];
|
|
3265
3307
|
case 1:
|
|
3266
3308
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3267
|
-
errorCode = "UnknownError";
|
|
3268
3309
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3269
3310
|
_b = errorCode;
|
|
3270
3311
|
switch (_b) {
|
|
@@ -3292,10 +3333,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
3292
3333
|
case 11: throw _d.sent();
|
|
3293
3334
|
case 12:
|
|
3294
3335
|
parsedBody = parsedOutput.body;
|
|
3336
|
+
$metadata = deserializeMetadata(output);
|
|
3337
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3295
3338
|
response = new __BaseException({
|
|
3296
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3339
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3297
3340
|
$fault: "client",
|
|
3298
|
-
$metadata:
|
|
3341
|
+
$metadata: $metadata,
|
|
3299
3342
|
});
|
|
3300
3343
|
throw __decorateServiceException(response, parsedBody);
|
|
3301
3344
|
}
|
|
@@ -3320,7 +3363,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
3320
3363
|
});
|
|
3321
3364
|
}); };
|
|
3322
3365
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3323
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3366
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3324
3367
|
var _c;
|
|
3325
3368
|
return __generator(this, function (_d) {
|
|
3326
3369
|
switch (_d.label) {
|
|
@@ -3330,7 +3373,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
3330
3373
|
return [4, parseBody(output.body, context)];
|
|
3331
3374
|
case 1:
|
|
3332
3375
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3333
|
-
errorCode = "UnknownError";
|
|
3334
3376
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3335
3377
|
_b = errorCode;
|
|
3336
3378
|
switch (_b) {
|
|
@@ -3358,10 +3400,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
3358
3400
|
case 11: throw _d.sent();
|
|
3359
3401
|
case 12:
|
|
3360
3402
|
parsedBody = parsedOutput.body;
|
|
3403
|
+
$metadata = deserializeMetadata(output);
|
|
3404
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3361
3405
|
response = new __BaseException({
|
|
3362
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3406
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3363
3407
|
$fault: "client",
|
|
3364
|
-
$metadata:
|
|
3408
|
+
$metadata: $metadata,
|
|
3365
3409
|
});
|
|
3366
3410
|
throw __decorateServiceException(response, parsedBody);
|
|
3367
3411
|
}
|
|
@@ -3386,7 +3430,7 @@ export var deserializeAws_json1_1UpdateCapacityProviderCommand = function (outpu
|
|
|
3386
3430
|
});
|
|
3387
3431
|
}); };
|
|
3388
3432
|
var deserializeAws_json1_1UpdateCapacityProviderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3389
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3433
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3390
3434
|
var _c;
|
|
3391
3435
|
return __generator(this, function (_d) {
|
|
3392
3436
|
switch (_d.label) {
|
|
@@ -3396,7 +3440,6 @@ var deserializeAws_json1_1UpdateCapacityProviderCommandError = function (output,
|
|
|
3396
3440
|
return [4, parseBody(output.body, context)];
|
|
3397
3441
|
case 1:
|
|
3398
3442
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3399
|
-
errorCode = "UnknownError";
|
|
3400
3443
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3401
3444
|
_b = errorCode;
|
|
3402
3445
|
switch (_b) {
|
|
@@ -3416,10 +3459,12 @@ var deserializeAws_json1_1UpdateCapacityProviderCommandError = function (output,
|
|
|
3416
3459
|
case 7: throw _d.sent();
|
|
3417
3460
|
case 8:
|
|
3418
3461
|
parsedBody = parsedOutput.body;
|
|
3462
|
+
$metadata = deserializeMetadata(output);
|
|
3463
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3419
3464
|
response = new __BaseException({
|
|
3420
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3465
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3421
3466
|
$fault: "client",
|
|
3422
|
-
$metadata:
|
|
3467
|
+
$metadata: $metadata,
|
|
3423
3468
|
});
|
|
3424
3469
|
throw __decorateServiceException(response, parsedBody);
|
|
3425
3470
|
}
|
|
@@ -3444,7 +3489,7 @@ export var deserializeAws_json1_1UpdateClusterCommand = function (output, contex
|
|
|
3444
3489
|
});
|
|
3445
3490
|
}); };
|
|
3446
3491
|
var deserializeAws_json1_1UpdateClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3447
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3492
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3448
3493
|
var _c;
|
|
3449
3494
|
return __generator(this, function (_d) {
|
|
3450
3495
|
switch (_d.label) {
|
|
@@ -3454,7 +3499,6 @@ var deserializeAws_json1_1UpdateClusterCommandError = function (output, context)
|
|
|
3454
3499
|
return [4, parseBody(output.body, context)];
|
|
3455
3500
|
case 1:
|
|
3456
3501
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3457
|
-
errorCode = "UnknownError";
|
|
3458
3502
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3459
3503
|
_b = errorCode;
|
|
3460
3504
|
switch (_b) {
|
|
@@ -3478,10 +3522,12 @@ var deserializeAws_json1_1UpdateClusterCommandError = function (output, context)
|
|
|
3478
3522
|
case 9: throw _d.sent();
|
|
3479
3523
|
case 10:
|
|
3480
3524
|
parsedBody = parsedOutput.body;
|
|
3525
|
+
$metadata = deserializeMetadata(output);
|
|
3526
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3481
3527
|
response = new __BaseException({
|
|
3482
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3528
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3483
3529
|
$fault: "client",
|
|
3484
|
-
$metadata:
|
|
3530
|
+
$metadata: $metadata,
|
|
3485
3531
|
});
|
|
3486
3532
|
throw __decorateServiceException(response, parsedBody);
|
|
3487
3533
|
}
|
|
@@ -3506,7 +3552,7 @@ export var deserializeAws_json1_1UpdateClusterSettingsCommand = function (output
|
|
|
3506
3552
|
});
|
|
3507
3553
|
}); };
|
|
3508
3554
|
var deserializeAws_json1_1UpdateClusterSettingsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3509
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3555
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3510
3556
|
var _c;
|
|
3511
3557
|
return __generator(this, function (_d) {
|
|
3512
3558
|
switch (_d.label) {
|
|
@@ -3516,7 +3562,6 @@ var deserializeAws_json1_1UpdateClusterSettingsCommandError = function (output,
|
|
|
3516
3562
|
return [4, parseBody(output.body, context)];
|
|
3517
3563
|
case 1:
|
|
3518
3564
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3519
|
-
errorCode = "UnknownError";
|
|
3520
3565
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3521
3566
|
_b = errorCode;
|
|
3522
3567
|
switch (_b) {
|
|
@@ -3540,10 +3585,12 @@ var deserializeAws_json1_1UpdateClusterSettingsCommandError = function (output,
|
|
|
3540
3585
|
case 9: throw _d.sent();
|
|
3541
3586
|
case 10:
|
|
3542
3587
|
parsedBody = parsedOutput.body;
|
|
3588
|
+
$metadata = deserializeMetadata(output);
|
|
3589
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3543
3590
|
response = new __BaseException({
|
|
3544
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3591
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3545
3592
|
$fault: "client",
|
|
3546
|
-
$metadata:
|
|
3593
|
+
$metadata: $metadata,
|
|
3547
3594
|
});
|
|
3548
3595
|
throw __decorateServiceException(response, parsedBody);
|
|
3549
3596
|
}
|
|
@@ -3568,7 +3615,7 @@ export var deserializeAws_json1_1UpdateContainerAgentCommand = function (output,
|
|
|
3568
3615
|
});
|
|
3569
3616
|
}); };
|
|
3570
3617
|
var deserializeAws_json1_1UpdateContainerAgentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3571
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3618
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3572
3619
|
var _c;
|
|
3573
3620
|
return __generator(this, function (_d) {
|
|
3574
3621
|
switch (_d.label) {
|
|
@@ -3578,7 +3625,6 @@ var deserializeAws_json1_1UpdateContainerAgentCommandError = function (output, c
|
|
|
3578
3625
|
return [4, parseBody(output.body, context)];
|
|
3579
3626
|
case 1:
|
|
3580
3627
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3581
|
-
errorCode = "UnknownError";
|
|
3582
3628
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3583
3629
|
_b = errorCode;
|
|
3584
3630
|
switch (_b) {
|
|
@@ -3614,10 +3660,12 @@ var deserializeAws_json1_1UpdateContainerAgentCommandError = function (output, c
|
|
|
3614
3660
|
case 15: throw _d.sent();
|
|
3615
3661
|
case 16:
|
|
3616
3662
|
parsedBody = parsedOutput.body;
|
|
3663
|
+
$metadata = deserializeMetadata(output);
|
|
3664
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3617
3665
|
response = new __BaseException({
|
|
3618
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3666
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3619
3667
|
$fault: "client",
|
|
3620
|
-
$metadata:
|
|
3668
|
+
$metadata: $metadata,
|
|
3621
3669
|
});
|
|
3622
3670
|
throw __decorateServiceException(response, parsedBody);
|
|
3623
3671
|
}
|
|
@@ -3642,7 +3690,7 @@ export var deserializeAws_json1_1UpdateContainerInstancesStateCommand = function
|
|
|
3642
3690
|
});
|
|
3643
3691
|
}); };
|
|
3644
3692
|
var deserializeAws_json1_1UpdateContainerInstancesStateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3645
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3693
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3646
3694
|
var _c;
|
|
3647
3695
|
return __generator(this, function (_d) {
|
|
3648
3696
|
switch (_d.label) {
|
|
@@ -3652,7 +3700,6 @@ var deserializeAws_json1_1UpdateContainerInstancesStateCommandError = function (
|
|
|
3652
3700
|
return [4, parseBody(output.body, context)];
|
|
3653
3701
|
case 1:
|
|
3654
3702
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3655
|
-
errorCode = "UnknownError";
|
|
3656
3703
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3657
3704
|
_b = errorCode;
|
|
3658
3705
|
switch (_b) {
|
|
@@ -3676,10 +3723,12 @@ var deserializeAws_json1_1UpdateContainerInstancesStateCommandError = function (
|
|
|
3676
3723
|
case 9: throw _d.sent();
|
|
3677
3724
|
case 10:
|
|
3678
3725
|
parsedBody = parsedOutput.body;
|
|
3726
|
+
$metadata = deserializeMetadata(output);
|
|
3727
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3679
3728
|
response = new __BaseException({
|
|
3680
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3729
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3681
3730
|
$fault: "client",
|
|
3682
|
-
$metadata:
|
|
3731
|
+
$metadata: $metadata,
|
|
3683
3732
|
});
|
|
3684
3733
|
throw __decorateServiceException(response, parsedBody);
|
|
3685
3734
|
}
|
|
@@ -3704,7 +3753,7 @@ export var deserializeAws_json1_1UpdateServiceCommand = function (output, contex
|
|
|
3704
3753
|
});
|
|
3705
3754
|
}); };
|
|
3706
3755
|
var deserializeAws_json1_1UpdateServiceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3707
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3756
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3708
3757
|
var _c;
|
|
3709
3758
|
return __generator(this, function (_d) {
|
|
3710
3759
|
switch (_d.label) {
|
|
@@ -3714,7 +3763,6 @@ var deserializeAws_json1_1UpdateServiceCommandError = function (output, context)
|
|
|
3714
3763
|
return [4, parseBody(output.body, context)];
|
|
3715
3764
|
case 1:
|
|
3716
3765
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3717
|
-
errorCode = "UnknownError";
|
|
3718
3766
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3719
3767
|
_b = errorCode;
|
|
3720
3768
|
switch (_b) {
|
|
@@ -3758,10 +3806,12 @@ var deserializeAws_json1_1UpdateServiceCommandError = function (output, context)
|
|
|
3758
3806
|
case 19: throw _d.sent();
|
|
3759
3807
|
case 20:
|
|
3760
3808
|
parsedBody = parsedOutput.body;
|
|
3809
|
+
$metadata = deserializeMetadata(output);
|
|
3810
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3761
3811
|
response = new __BaseException({
|
|
3762
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3812
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3763
3813
|
$fault: "client",
|
|
3764
|
-
$metadata:
|
|
3814
|
+
$metadata: $metadata,
|
|
3765
3815
|
});
|
|
3766
3816
|
throw __decorateServiceException(response, parsedBody);
|
|
3767
3817
|
}
|
|
@@ -3786,7 +3836,7 @@ export var deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand = function (
|
|
|
3786
3836
|
});
|
|
3787
3837
|
}); };
|
|
3788
3838
|
var deserializeAws_json1_1UpdateServicePrimaryTaskSetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3789
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3839
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3790
3840
|
var _c;
|
|
3791
3841
|
return __generator(this, function (_d) {
|
|
3792
3842
|
switch (_d.label) {
|
|
@@ -3796,7 +3846,6 @@ var deserializeAws_json1_1UpdateServicePrimaryTaskSetCommandError = function (ou
|
|
|
3796
3846
|
return [4, parseBody(output.body, context)];
|
|
3797
3847
|
case 1:
|
|
3798
3848
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3799
|
-
errorCode = "UnknownError";
|
|
3800
3849
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3801
3850
|
_b = errorCode;
|
|
3802
3851
|
switch (_b) {
|
|
@@ -3840,10 +3889,12 @@ var deserializeAws_json1_1UpdateServicePrimaryTaskSetCommandError = function (ou
|
|
|
3840
3889
|
case 19: throw _d.sent();
|
|
3841
3890
|
case 20:
|
|
3842
3891
|
parsedBody = parsedOutput.body;
|
|
3892
|
+
$metadata = deserializeMetadata(output);
|
|
3893
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3843
3894
|
response = new __BaseException({
|
|
3844
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3895
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3845
3896
|
$fault: "client",
|
|
3846
|
-
$metadata:
|
|
3897
|
+
$metadata: $metadata,
|
|
3847
3898
|
});
|
|
3848
3899
|
throw __decorateServiceException(response, parsedBody);
|
|
3849
3900
|
}
|
|
@@ -3868,7 +3919,7 @@ export var deserializeAws_json1_1UpdateTaskSetCommand = function (output, contex
|
|
|
3868
3919
|
});
|
|
3869
3920
|
}); };
|
|
3870
3921
|
var deserializeAws_json1_1UpdateTaskSetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3871
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3922
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3872
3923
|
var _c;
|
|
3873
3924
|
return __generator(this, function (_d) {
|
|
3874
3925
|
switch (_d.label) {
|
|
@@ -3878,7 +3929,6 @@ var deserializeAws_json1_1UpdateTaskSetCommandError = function (output, context)
|
|
|
3878
3929
|
return [4, parseBody(output.body, context)];
|
|
3879
3930
|
case 1:
|
|
3880
3931
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3881
|
-
errorCode = "UnknownError";
|
|
3882
3932
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3883
3933
|
_b = errorCode;
|
|
3884
3934
|
switch (_b) {
|
|
@@ -3922,10 +3972,12 @@ var deserializeAws_json1_1UpdateTaskSetCommandError = function (output, context)
|
|
|
3922
3972
|
case 19: throw _d.sent();
|
|
3923
3973
|
case 20:
|
|
3924
3974
|
parsedBody = parsedOutput.body;
|
|
3975
|
+
$metadata = deserializeMetadata(output);
|
|
3976
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3925
3977
|
response = new __BaseException({
|
|
3926
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3978
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3927
3979
|
$fault: "client",
|
|
3928
|
-
$metadata:
|
|
3980
|
+
$metadata: $metadata,
|
|
3929
3981
|
});
|
|
3930
3982
|
throw __decorateServiceException(response, parsedBody);
|
|
3931
3983
|
}
|
|
@@ -4148,7 +4200,7 @@ var deserializeAws_json1_1UpdateInProgressExceptionResponse = function (parsedOu
|
|
|
4148
4200
|
});
|
|
4149
4201
|
}); };
|
|
4150
4202
|
var serializeAws_json1_1AttachmentStateChange = function (input, context) {
|
|
4151
|
-
return __assign(__assign({}, (input.attachmentArn
|
|
4203
|
+
return __assign(__assign({}, (input.attachmentArn != null && { attachmentArn: input.attachmentArn })), (input.status != null && { status: input.status }));
|
|
4152
4204
|
};
|
|
4153
4205
|
var serializeAws_json1_1AttachmentStateChanges = function (input, context) {
|
|
4154
4206
|
return input
|
|
@@ -4161,7 +4213,7 @@ var serializeAws_json1_1AttachmentStateChanges = function (input, context) {
|
|
|
4161
4213
|
});
|
|
4162
4214
|
};
|
|
4163
4215
|
var serializeAws_json1_1Attribute = function (input, context) {
|
|
4164
|
-
return __assign(__assign(__assign(__assign({}, (input.name
|
|
4216
|
+
return __assign(__assign(__assign(__assign({}, (input.name != null && { name: input.name })), (input.targetId != null && { targetId: input.targetId })), (input.targetType != null && { targetType: input.targetType })), (input.value != null && { value: input.value }));
|
|
4165
4217
|
};
|
|
4166
4218
|
var serializeAws_json1_1Attributes = function (input, context) {
|
|
4167
4219
|
return input
|
|
@@ -4174,31 +4226,23 @@ var serializeAws_json1_1Attributes = function (input, context) {
|
|
|
4174
4226
|
});
|
|
4175
4227
|
};
|
|
4176
4228
|
var serializeAws_json1_1AutoScalingGroupProvider = function (input, context) {
|
|
4177
|
-
return __assign(__assign(__assign({}, (input.autoScalingGroupArn
|
|
4178
|
-
input.autoScalingGroupArn !== null && { autoScalingGroupArn: input.autoScalingGroupArn })), (input.managedScaling !== undefined &&
|
|
4179
|
-
input.managedScaling !== null && {
|
|
4229
|
+
return __assign(__assign(__assign({}, (input.autoScalingGroupArn != null && { autoScalingGroupArn: input.autoScalingGroupArn })), (input.managedScaling != null && {
|
|
4180
4230
|
managedScaling: serializeAws_json1_1ManagedScaling(input.managedScaling, context),
|
|
4181
|
-
})), (input.managedTerminationProtection
|
|
4182
|
-
input.managedTerminationProtection !== null && {
|
|
4231
|
+
})), (input.managedTerminationProtection != null && {
|
|
4183
4232
|
managedTerminationProtection: input.managedTerminationProtection,
|
|
4184
4233
|
}));
|
|
4185
4234
|
};
|
|
4186
4235
|
var serializeAws_json1_1AutoScalingGroupProviderUpdate = function (input, context) {
|
|
4187
|
-
return __assign(__assign({}, (input.managedScaling
|
|
4188
|
-
input.managedScaling !== null && {
|
|
4236
|
+
return __assign(__assign({}, (input.managedScaling != null && {
|
|
4189
4237
|
managedScaling: serializeAws_json1_1ManagedScaling(input.managedScaling, context),
|
|
4190
|
-
})), (input.managedTerminationProtection
|
|
4191
|
-
input.managedTerminationProtection !== null && {
|
|
4238
|
+
})), (input.managedTerminationProtection != null && {
|
|
4192
4239
|
managedTerminationProtection: input.managedTerminationProtection,
|
|
4193
4240
|
}));
|
|
4194
4241
|
};
|
|
4195
4242
|
var serializeAws_json1_1AwsVpcConfiguration = function (input, context) {
|
|
4196
|
-
return __assign(__assign(__assign({}, (input.assignPublicIp
|
|
4197
|
-
input.assignPublicIp !== null && { assignPublicIp: input.assignPublicIp })), (input.securityGroups !== undefined &&
|
|
4198
|
-
input.securityGroups !== null && {
|
|
4243
|
+
return __assign(__assign(__assign({}, (input.assignPublicIp != null && { assignPublicIp: input.assignPublicIp })), (input.securityGroups != null && {
|
|
4199
4244
|
securityGroups: serializeAws_json1_1StringList(input.securityGroups, context),
|
|
4200
|
-
})), (input.subnets
|
|
4201
|
-
input.subnets !== null && { subnets: serializeAws_json1_1StringList(input.subnets, context) }));
|
|
4245
|
+
})), (input.subnets != null && { subnets: serializeAws_json1_1StringList(input.subnets, context) }));
|
|
4202
4246
|
};
|
|
4203
4247
|
var serializeAws_json1_1CapacityProviderFieldList = function (input, context) {
|
|
4204
4248
|
return input
|
|
@@ -4221,12 +4265,10 @@ var serializeAws_json1_1CapacityProviderStrategy = function (input, context) {
|
|
|
4221
4265
|
});
|
|
4222
4266
|
};
|
|
4223
4267
|
var serializeAws_json1_1CapacityProviderStrategyItem = function (input, context) {
|
|
4224
|
-
return __assign(__assign(__assign({}, (input.base
|
|
4225
|
-
input.capacityProvider !== null && { capacityProvider: input.capacityProvider })), (input.weight !== undefined && input.weight !== null && { weight: input.weight }));
|
|
4268
|
+
return __assign(__assign(__assign({}, (input.base != null && { base: input.base })), (input.capacityProvider != null && { capacityProvider: input.capacityProvider })), (input.weight != null && { weight: input.weight }));
|
|
4226
4269
|
};
|
|
4227
4270
|
var serializeAws_json1_1ClusterConfiguration = function (input, context) {
|
|
4228
|
-
return __assign({}, (input.executeCommandConfiguration
|
|
4229
|
-
input.executeCommandConfiguration !== null && {
|
|
4271
|
+
return __assign({}, (input.executeCommandConfiguration != null && {
|
|
4230
4272
|
executeCommandConfiguration: serializeAws_json1_1ExecuteCommandConfiguration(input.executeCommandConfiguration, context),
|
|
4231
4273
|
}));
|
|
4232
4274
|
};
|
|
@@ -4241,7 +4283,7 @@ var serializeAws_json1_1ClusterFieldList = function (input, context) {
|
|
|
4241
4283
|
});
|
|
4242
4284
|
};
|
|
4243
4285
|
var serializeAws_json1_1ClusterSetting = function (input, context) {
|
|
4244
|
-
return __assign(__assign({}, (input.name
|
|
4286
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.value != null && { value: input.value }));
|
|
4245
4287
|
};
|
|
4246
4288
|
var serializeAws_json1_1ClusterSettings = function (input, context) {
|
|
4247
4289
|
return input
|
|
@@ -4264,59 +4306,31 @@ var serializeAws_json1_1CompatibilityList = function (input, context) {
|
|
|
4264
4306
|
});
|
|
4265
4307
|
};
|
|
4266
4308
|
var serializeAws_json1_1ContainerDefinition = function (input, context) {
|
|
4267
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.command
|
|
4268
|
-
input.command !== null && { command: serializeAws_json1_1StringList(input.command, context) })), (input.cpu !== undefined && input.cpu !== null && { cpu: input.cpu })), (input.dependsOn !== undefined &&
|
|
4269
|
-
input.dependsOn !== null && { dependsOn: serializeAws_json1_1ContainerDependencies(input.dependsOn, context) })), (input.disableNetworking !== undefined &&
|
|
4270
|
-
input.disableNetworking !== null && { disableNetworking: input.disableNetworking })), (input.dnsSearchDomains !== undefined &&
|
|
4271
|
-
input.dnsSearchDomains !== null && {
|
|
4309
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.command != null && { command: serializeAws_json1_1StringList(input.command, context) })), (input.cpu != null && { cpu: input.cpu })), (input.dependsOn != null && { dependsOn: serializeAws_json1_1ContainerDependencies(input.dependsOn, context) })), (input.disableNetworking != null && { disableNetworking: input.disableNetworking })), (input.dnsSearchDomains != null && {
|
|
4272
4310
|
dnsSearchDomains: serializeAws_json1_1StringList(input.dnsSearchDomains, context),
|
|
4273
|
-
})), (input.dnsServers
|
|
4274
|
-
input.dnsServers !== null && { dnsServers: serializeAws_json1_1StringList(input.dnsServers, context) })), (input.dockerLabels !== undefined &&
|
|
4275
|
-
input.dockerLabels !== null && {
|
|
4311
|
+
})), (input.dnsServers != null && { dnsServers: serializeAws_json1_1StringList(input.dnsServers, context) })), (input.dockerLabels != null && {
|
|
4276
4312
|
dockerLabels: serializeAws_json1_1DockerLabelsMap(input.dockerLabels, context),
|
|
4277
|
-
})), (input.dockerSecurityOptions
|
|
4278
|
-
input.dockerSecurityOptions !== null && {
|
|
4313
|
+
})), (input.dockerSecurityOptions != null && {
|
|
4279
4314
|
dockerSecurityOptions: serializeAws_json1_1StringList(input.dockerSecurityOptions, context),
|
|
4280
|
-
})), (input.entryPoint
|
|
4281
|
-
input.entryPoint !== null && { entryPoint: serializeAws_json1_1StringList(input.entryPoint, context) })), (input.environment !== undefined &&
|
|
4282
|
-
input.environment !== null && {
|
|
4315
|
+
})), (input.entryPoint != null && { entryPoint: serializeAws_json1_1StringList(input.entryPoint, context) })), (input.environment != null && {
|
|
4283
4316
|
environment: serializeAws_json1_1EnvironmentVariables(input.environment, context),
|
|
4284
|
-
})), (input.environmentFiles
|
|
4285
|
-
input.environmentFiles !== null && {
|
|
4317
|
+
})), (input.environmentFiles != null && {
|
|
4286
4318
|
environmentFiles: serializeAws_json1_1EnvironmentFiles(input.environmentFiles, context),
|
|
4287
|
-
})), (input.essential
|
|
4288
|
-
input.extraHosts !== null && { extraHosts: serializeAws_json1_1HostEntryList(input.extraHosts, context) })), (input.firelensConfiguration !== undefined &&
|
|
4289
|
-
input.firelensConfiguration !== null && {
|
|
4319
|
+
})), (input.essential != null && { essential: input.essential })), (input.extraHosts != null && { extraHosts: serializeAws_json1_1HostEntryList(input.extraHosts, context) })), (input.firelensConfiguration != null && {
|
|
4290
4320
|
firelensConfiguration: serializeAws_json1_1FirelensConfiguration(input.firelensConfiguration, context),
|
|
4291
|
-
})), (input.healthCheck
|
|
4292
|
-
input.healthCheck !== null && { healthCheck: serializeAws_json1_1HealthCheck(input.healthCheck, context) })), (input.hostname !== undefined && input.hostname !== null && { hostname: input.hostname })), (input.image !== undefined && input.image !== null && { image: input.image })), (input.interactive !== undefined && input.interactive !== null && { interactive: input.interactive })), (input.links !== undefined &&
|
|
4293
|
-
input.links !== null && { links: serializeAws_json1_1StringList(input.links, context) })), (input.linuxParameters !== undefined &&
|
|
4294
|
-
input.linuxParameters !== null && {
|
|
4321
|
+
})), (input.healthCheck != null && { healthCheck: serializeAws_json1_1HealthCheck(input.healthCheck, context) })), (input.hostname != null && { hostname: input.hostname })), (input.image != null && { image: input.image })), (input.interactive != null && { interactive: input.interactive })), (input.links != null && { links: serializeAws_json1_1StringList(input.links, context) })), (input.linuxParameters != null && {
|
|
4295
4322
|
linuxParameters: serializeAws_json1_1LinuxParameters(input.linuxParameters, context),
|
|
4296
|
-
})), (input.logConfiguration
|
|
4297
|
-
input.logConfiguration !== null && {
|
|
4323
|
+
})), (input.logConfiguration != null && {
|
|
4298
4324
|
logConfiguration: serializeAws_json1_1LogConfiguration(input.logConfiguration, context),
|
|
4299
|
-
})), (input.memory
|
|
4300
|
-
input.memoryReservation !== null && { memoryReservation: input.memoryReservation })), (input.mountPoints !== undefined &&
|
|
4301
|
-
input.mountPoints !== null && { mountPoints: serializeAws_json1_1MountPointList(input.mountPoints, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.portMappings !== undefined &&
|
|
4302
|
-
input.portMappings !== null && {
|
|
4325
|
+
})), (input.memory != null && { memory: input.memory })), (input.memoryReservation != null && { memoryReservation: input.memoryReservation })), (input.mountPoints != null && { mountPoints: serializeAws_json1_1MountPointList(input.mountPoints, context) })), (input.name != null && { name: input.name })), (input.portMappings != null && {
|
|
4303
4326
|
portMappings: serializeAws_json1_1PortMappingList(input.portMappings, context),
|
|
4304
|
-
})), (input.privileged
|
|
4305
|
-
input.pseudoTerminal !== null && { pseudoTerminal: input.pseudoTerminal })), (input.readonlyRootFilesystem !== undefined &&
|
|
4306
|
-
input.readonlyRootFilesystem !== null && { readonlyRootFilesystem: input.readonlyRootFilesystem })), (input.repositoryCredentials !== undefined &&
|
|
4307
|
-
input.repositoryCredentials !== null && {
|
|
4327
|
+
})), (input.privileged != null && { privileged: input.privileged })), (input.pseudoTerminal != null && { pseudoTerminal: input.pseudoTerminal })), (input.readonlyRootFilesystem != null && { readonlyRootFilesystem: input.readonlyRootFilesystem })), (input.repositoryCredentials != null && {
|
|
4308
4328
|
repositoryCredentials: serializeAws_json1_1RepositoryCredentials(input.repositoryCredentials, context),
|
|
4309
|
-
})), (input.resourceRequirements
|
|
4310
|
-
input.resourceRequirements !== null && {
|
|
4329
|
+
})), (input.resourceRequirements != null && {
|
|
4311
4330
|
resourceRequirements: serializeAws_json1_1ResourceRequirements(input.resourceRequirements, context),
|
|
4312
|
-
})), (input.secrets
|
|
4313
|
-
input.secrets !== null && { secrets: serializeAws_json1_1SecretList(input.secrets, context) })), (input.startTimeout !== undefined && input.startTimeout !== null && { startTimeout: input.startTimeout })), (input.stopTimeout !== undefined && input.stopTimeout !== null && { stopTimeout: input.stopTimeout })), (input.systemControls !== undefined &&
|
|
4314
|
-
input.systemControls !== null && {
|
|
4331
|
+
})), (input.secrets != null && { secrets: serializeAws_json1_1SecretList(input.secrets, context) })), (input.startTimeout != null && { startTimeout: input.startTimeout })), (input.stopTimeout != null && { stopTimeout: input.stopTimeout })), (input.systemControls != null && {
|
|
4315
4332
|
systemControls: serializeAws_json1_1SystemControls(input.systemControls, context),
|
|
4316
|
-
})), (input.ulimits
|
|
4317
|
-
input.ulimits !== null && { ulimits: serializeAws_json1_1UlimitList(input.ulimits, context) })), (input.user !== undefined && input.user !== null && { user: input.user })), (input.volumesFrom !== undefined &&
|
|
4318
|
-
input.volumesFrom !== null && { volumesFrom: serializeAws_json1_1VolumeFromList(input.volumesFrom, context) })), (input.workingDirectory !== undefined &&
|
|
4319
|
-
input.workingDirectory !== null && { workingDirectory: input.workingDirectory }));
|
|
4333
|
+
})), (input.ulimits != null && { ulimits: serializeAws_json1_1UlimitList(input.ulimits, context) })), (input.user != null && { user: input.user })), (input.volumesFrom != null && { volumesFrom: serializeAws_json1_1VolumeFromList(input.volumesFrom, context) })), (input.workingDirectory != null && { workingDirectory: input.workingDirectory }));
|
|
4320
4334
|
};
|
|
4321
4335
|
var serializeAws_json1_1ContainerDefinitions = function (input, context) {
|
|
4322
4336
|
return input
|
|
@@ -4339,7 +4353,7 @@ var serializeAws_json1_1ContainerDependencies = function (input, context) {
|
|
|
4339
4353
|
});
|
|
4340
4354
|
};
|
|
4341
4355
|
var serializeAws_json1_1ContainerDependency = function (input, context) {
|
|
4342
|
-
return __assign(__assign({}, (input.condition
|
|
4356
|
+
return __assign(__assign({}, (input.condition != null && { condition: input.condition })), (input.containerName != null && { containerName: input.containerName }));
|
|
4343
4357
|
};
|
|
4344
4358
|
var serializeAws_json1_1ContainerInstanceFieldList = function (input, context) {
|
|
4345
4359
|
return input
|
|
@@ -4352,16 +4366,11 @@ var serializeAws_json1_1ContainerInstanceFieldList = function (input, context) {
|
|
|
4352
4366
|
});
|
|
4353
4367
|
};
|
|
4354
4368
|
var serializeAws_json1_1ContainerOverride = function (input, context) {
|
|
4355
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.command
|
|
4356
|
-
input.command !== null && { command: serializeAws_json1_1StringList(input.command, context) })), (input.cpu !== undefined && input.cpu !== null && { cpu: input.cpu })), (input.environment !== undefined &&
|
|
4357
|
-
input.environment !== null && {
|
|
4369
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.command != null && { command: serializeAws_json1_1StringList(input.command, context) })), (input.cpu != null && { cpu: input.cpu })), (input.environment != null && {
|
|
4358
4370
|
environment: serializeAws_json1_1EnvironmentVariables(input.environment, context),
|
|
4359
|
-
})), (input.environmentFiles
|
|
4360
|
-
input.environmentFiles !== null && {
|
|
4371
|
+
})), (input.environmentFiles != null && {
|
|
4361
4372
|
environmentFiles: serializeAws_json1_1EnvironmentFiles(input.environmentFiles, context),
|
|
4362
|
-
})), (input.memory
|
|
4363
|
-
input.memoryReservation !== null && { memoryReservation: input.memoryReservation })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.resourceRequirements !== undefined &&
|
|
4364
|
-
input.resourceRequirements !== null && {
|
|
4373
|
+
})), (input.memory != null && { memory: input.memory })), (input.memoryReservation != null && { memoryReservation: input.memoryReservation })), (input.name != null && { name: input.name })), (input.resourceRequirements != null && {
|
|
4365
4374
|
resourceRequirements: serializeAws_json1_1ResourceRequirements(input.resourceRequirements, context),
|
|
4366
4375
|
}));
|
|
4367
4376
|
};
|
|
@@ -4376,10 +4385,9 @@ var serializeAws_json1_1ContainerOverrides = function (input, context) {
|
|
|
4376
4385
|
});
|
|
4377
4386
|
};
|
|
4378
4387
|
var serializeAws_json1_1ContainerStateChange = function (input, context) {
|
|
4379
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerName
|
|
4380
|
-
input.networkBindings !== null && {
|
|
4388
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerName != null && { containerName: input.containerName })), (input.exitCode != null && { exitCode: input.exitCode })), (input.imageDigest != null && { imageDigest: input.imageDigest })), (input.networkBindings != null && {
|
|
4381
4389
|
networkBindings: serializeAws_json1_1NetworkBindings(input.networkBindings, context),
|
|
4382
|
-
})), (input.reason
|
|
4390
|
+
})), (input.reason != null && { reason: input.reason })), (input.runtimeId != null && { runtimeId: input.runtimeId })), (input.status != null && { status: input.status }));
|
|
4383
4391
|
};
|
|
4384
4392
|
var serializeAws_json1_1ContainerStateChanges = function (input, context) {
|
|
4385
4393
|
return input
|
|
@@ -4392,161 +4400,113 @@ var serializeAws_json1_1ContainerStateChanges = function (input, context) {
|
|
|
4392
4400
|
});
|
|
4393
4401
|
};
|
|
4394
4402
|
var serializeAws_json1_1CreateCapacityProviderRequest = function (input, context) {
|
|
4395
|
-
return __assign(__assign(__assign({}, (input.autoScalingGroupProvider
|
|
4396
|
-
input.autoScalingGroupProvider !== null && {
|
|
4403
|
+
return __assign(__assign(__assign({}, (input.autoScalingGroupProvider != null && {
|
|
4397
4404
|
autoScalingGroupProvider: serializeAws_json1_1AutoScalingGroupProvider(input.autoScalingGroupProvider, context),
|
|
4398
|
-
})), (input.name
|
|
4405
|
+
})), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4399
4406
|
};
|
|
4400
4407
|
var serializeAws_json1_1CreateClusterRequest = function (input, context) {
|
|
4401
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviders
|
|
4402
|
-
input.capacityProviders !== null && {
|
|
4408
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviders != null && {
|
|
4403
4409
|
capacityProviders: serializeAws_json1_1StringList(input.capacityProviders, context),
|
|
4404
|
-
})), (input.clusterName
|
|
4405
|
-
input.configuration !== null && {
|
|
4410
|
+
})), (input.clusterName != null && { clusterName: input.clusterName })), (input.configuration != null && {
|
|
4406
4411
|
configuration: serializeAws_json1_1ClusterConfiguration(input.configuration, context),
|
|
4407
|
-
})), (input.defaultCapacityProviderStrategy
|
|
4408
|
-
input.defaultCapacityProviderStrategy !== null && {
|
|
4412
|
+
})), (input.defaultCapacityProviderStrategy != null && {
|
|
4409
4413
|
defaultCapacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.defaultCapacityProviderStrategy, context),
|
|
4410
|
-
})), (input.settings
|
|
4411
|
-
input.settings !== null && { settings: serializeAws_json1_1ClusterSettings(input.settings, context) })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4414
|
+
})), (input.settings != null && { settings: serializeAws_json1_1ClusterSettings(input.settings, context) })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4412
4415
|
};
|
|
4413
4416
|
var serializeAws_json1_1CreateServiceRequest = function (input, context) {
|
|
4414
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy
|
|
4415
|
-
input.capacityProviderStrategy !== null && {
|
|
4417
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy != null && {
|
|
4416
4418
|
capacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.capacityProviderStrategy, context),
|
|
4417
|
-
})), (input.clientToken
|
|
4418
|
-
input.deploymentConfiguration !== null && {
|
|
4419
|
+
})), (input.clientToken != null && { clientToken: input.clientToken })), (input.cluster != null && { cluster: input.cluster })), (input.deploymentConfiguration != null && {
|
|
4419
4420
|
deploymentConfiguration: serializeAws_json1_1DeploymentConfiguration(input.deploymentConfiguration, context),
|
|
4420
|
-
})), (input.deploymentController
|
|
4421
|
-
input.deploymentController !== null && {
|
|
4421
|
+
})), (input.deploymentController != null && {
|
|
4422
4422
|
deploymentController: serializeAws_json1_1DeploymentController(input.deploymentController, context),
|
|
4423
|
-
})), (input.desiredCount
|
|
4424
|
-
input.enableECSManagedTags !== null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand !== undefined &&
|
|
4425
|
-
input.enableExecuteCommand !== null && { enableExecuteCommand: input.enableExecuteCommand })), (input.healthCheckGracePeriodSeconds !== undefined &&
|
|
4426
|
-
input.healthCheckGracePeriodSeconds !== null && {
|
|
4423
|
+
})), (input.desiredCount != null && { desiredCount: input.desiredCount })), (input.enableECSManagedTags != null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand != null && { enableExecuteCommand: input.enableExecuteCommand })), (input.healthCheckGracePeriodSeconds != null && {
|
|
4427
4424
|
healthCheckGracePeriodSeconds: input.healthCheckGracePeriodSeconds,
|
|
4428
|
-
})), (input.launchType
|
|
4429
|
-
input.loadBalancers !== null && {
|
|
4425
|
+
})), (input.launchType != null && { launchType: input.launchType })), (input.loadBalancers != null && {
|
|
4430
4426
|
loadBalancers: serializeAws_json1_1LoadBalancers(input.loadBalancers, context),
|
|
4431
|
-
})), (input.networkConfiguration
|
|
4432
|
-
input.networkConfiguration !== null && {
|
|
4427
|
+
})), (input.networkConfiguration != null && {
|
|
4433
4428
|
networkConfiguration: serializeAws_json1_1NetworkConfiguration(input.networkConfiguration, context),
|
|
4434
|
-
})), (input.placementConstraints
|
|
4435
|
-
input.placementConstraints !== null && {
|
|
4429
|
+
})), (input.placementConstraints != null && {
|
|
4436
4430
|
placementConstraints: serializeAws_json1_1PlacementConstraints(input.placementConstraints, context),
|
|
4437
|
-
})), (input.placementStrategy
|
|
4438
|
-
input.placementStrategy !== null && {
|
|
4431
|
+
})), (input.placementStrategy != null && {
|
|
4439
4432
|
placementStrategy: serializeAws_json1_1PlacementStrategies(input.placementStrategy, context),
|
|
4440
|
-
})), (input.platformVersion
|
|
4441
|
-
input.platformVersion !== null && { platformVersion: input.platformVersion })), (input.propagateTags !== undefined && input.propagateTags !== null && { propagateTags: input.propagateTags })), (input.role !== undefined && input.role !== null && { role: input.role })), (input.schedulingStrategy !== undefined &&
|
|
4442
|
-
input.schedulingStrategy !== null && { schedulingStrategy: input.schedulingStrategy })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName })), (input.serviceRegistries !== undefined &&
|
|
4443
|
-
input.serviceRegistries !== null && {
|
|
4433
|
+
})), (input.platformVersion != null && { platformVersion: input.platformVersion })), (input.propagateTags != null && { propagateTags: input.propagateTags })), (input.role != null && { role: input.role })), (input.schedulingStrategy != null && { schedulingStrategy: input.schedulingStrategy })), (input.serviceName != null && { serviceName: input.serviceName })), (input.serviceRegistries != null && {
|
|
4444
4434
|
serviceRegistries: serializeAws_json1_1ServiceRegistries(input.serviceRegistries, context),
|
|
4445
|
-
})), (input.tags
|
|
4446
|
-
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
|
|
4435
|
+
})), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.taskDefinition != null && { taskDefinition: input.taskDefinition }));
|
|
4447
4436
|
};
|
|
4448
4437
|
var serializeAws_json1_1CreateTaskSetRequest = function (input, context) {
|
|
4449
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy
|
|
4450
|
-
input.capacityProviderStrategy !== null && {
|
|
4438
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy != null && {
|
|
4451
4439
|
capacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.capacityProviderStrategy, context),
|
|
4452
|
-
})), (input.clientToken
|
|
4453
|
-
input.loadBalancers !== null && {
|
|
4440
|
+
})), (input.clientToken != null && { clientToken: input.clientToken })), (input.cluster != null && { cluster: input.cluster })), (input.externalId != null && { externalId: input.externalId })), (input.launchType != null && { launchType: input.launchType })), (input.loadBalancers != null && {
|
|
4454
4441
|
loadBalancers: serializeAws_json1_1LoadBalancers(input.loadBalancers, context),
|
|
4455
|
-
})), (input.networkConfiguration
|
|
4456
|
-
input.networkConfiguration !== null && {
|
|
4442
|
+
})), (input.networkConfiguration != null && {
|
|
4457
4443
|
networkConfiguration: serializeAws_json1_1NetworkConfiguration(input.networkConfiguration, context),
|
|
4458
|
-
})), (input.platformVersion
|
|
4459
|
-
input.platformVersion !== null && { platformVersion: input.platformVersion })), (input.scale !== undefined &&
|
|
4460
|
-
input.scale !== null && { scale: serializeAws_json1_1Scale(input.scale, context) })), (input.service !== undefined && input.service !== null && { service: input.service })), (input.serviceRegistries !== undefined &&
|
|
4461
|
-
input.serviceRegistries !== null && {
|
|
4444
|
+
})), (input.platformVersion != null && { platformVersion: input.platformVersion })), (input.scale != null && { scale: serializeAws_json1_1Scale(input.scale, context) })), (input.service != null && { service: input.service })), (input.serviceRegistries != null && {
|
|
4462
4445
|
serviceRegistries: serializeAws_json1_1ServiceRegistries(input.serviceRegistries, context),
|
|
4463
|
-
})), (input.tags
|
|
4464
|
-
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
|
|
4446
|
+
})), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.taskDefinition != null && { taskDefinition: input.taskDefinition }));
|
|
4465
4447
|
};
|
|
4466
4448
|
var serializeAws_json1_1DeleteAccountSettingRequest = function (input, context) {
|
|
4467
|
-
return __assign(__assign({}, (input.name
|
|
4449
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.principalArn != null && { principalArn: input.principalArn }));
|
|
4468
4450
|
};
|
|
4469
4451
|
var serializeAws_json1_1DeleteAttributesRequest = function (input, context) {
|
|
4470
|
-
return __assign(__assign({}, (input.attributes
|
|
4471
|
-
input.attributes !== null && { attributes: serializeAws_json1_1Attributes(input.attributes, context) })), (input.cluster !== undefined && input.cluster !== null && { cluster: input.cluster }));
|
|
4452
|
+
return __assign(__assign({}, (input.attributes != null && { attributes: serializeAws_json1_1Attributes(input.attributes, context) })), (input.cluster != null && { cluster: input.cluster }));
|
|
4472
4453
|
};
|
|
4473
4454
|
var serializeAws_json1_1DeleteCapacityProviderRequest = function (input, context) {
|
|
4474
|
-
return __assign({}, (input.capacityProvider
|
|
4475
|
-
input.capacityProvider !== null && { capacityProvider: input.capacityProvider }));
|
|
4455
|
+
return __assign({}, (input.capacityProvider != null && { capacityProvider: input.capacityProvider }));
|
|
4476
4456
|
};
|
|
4477
4457
|
var serializeAws_json1_1DeleteClusterRequest = function (input, context) {
|
|
4478
|
-
return __assign({}, (input.cluster
|
|
4458
|
+
return __assign({}, (input.cluster != null && { cluster: input.cluster }));
|
|
4479
4459
|
};
|
|
4480
4460
|
var serializeAws_json1_1DeleteServiceRequest = function (input, context) {
|
|
4481
|
-
return __assign(__assign(__assign({}, (input.cluster
|
|
4461
|
+
return __assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.force != null && { force: input.force })), (input.service != null && { service: input.service }));
|
|
4482
4462
|
};
|
|
4483
4463
|
var serializeAws_json1_1DeleteTaskSetRequest = function (input, context) {
|
|
4484
|
-
return __assign(__assign(__assign(__assign({}, (input.cluster
|
|
4464
|
+
return __assign(__assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.force != null && { force: input.force })), (input.service != null && { service: input.service })), (input.taskSet != null && { taskSet: input.taskSet }));
|
|
4485
4465
|
};
|
|
4486
4466
|
var serializeAws_json1_1DeploymentCircuitBreaker = function (input, context) {
|
|
4487
|
-
return __assign(__assign({}, (input.enable
|
|
4467
|
+
return __assign(__assign({}, (input.enable != null && { enable: input.enable })), (input.rollback != null && { rollback: input.rollback }));
|
|
4488
4468
|
};
|
|
4489
4469
|
var serializeAws_json1_1DeploymentConfiguration = function (input, context) {
|
|
4490
|
-
return __assign(__assign(__assign({}, (input.deploymentCircuitBreaker
|
|
4491
|
-
input.deploymentCircuitBreaker !== null && {
|
|
4470
|
+
return __assign(__assign(__assign({}, (input.deploymentCircuitBreaker != null && {
|
|
4492
4471
|
deploymentCircuitBreaker: serializeAws_json1_1DeploymentCircuitBreaker(input.deploymentCircuitBreaker, context),
|
|
4493
|
-
})), (input.maximumPercent
|
|
4494
|
-
input.maximumPercent !== null && { maximumPercent: input.maximumPercent })), (input.minimumHealthyPercent !== undefined &&
|
|
4495
|
-
input.minimumHealthyPercent !== null && { minimumHealthyPercent: input.minimumHealthyPercent }));
|
|
4472
|
+
})), (input.maximumPercent != null && { maximumPercent: input.maximumPercent })), (input.minimumHealthyPercent != null && { minimumHealthyPercent: input.minimumHealthyPercent }));
|
|
4496
4473
|
};
|
|
4497
4474
|
var serializeAws_json1_1DeploymentController = function (input, context) {
|
|
4498
|
-
return __assign({}, (input.type
|
|
4475
|
+
return __assign({}, (input.type != null && { type: input.type }));
|
|
4499
4476
|
};
|
|
4500
4477
|
var serializeAws_json1_1DeregisterContainerInstanceRequest = function (input, context) {
|
|
4501
|
-
return __assign(__assign(__assign({}, (input.cluster
|
|
4502
|
-
input.containerInstance !== null && { containerInstance: input.containerInstance })), (input.force !== undefined && input.force !== null && { force: input.force }));
|
|
4478
|
+
return __assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.containerInstance != null && { containerInstance: input.containerInstance })), (input.force != null && { force: input.force }));
|
|
4503
4479
|
};
|
|
4504
4480
|
var serializeAws_json1_1DeregisterTaskDefinitionRequest = function (input, context) {
|
|
4505
|
-
return __assign({}, (input.taskDefinition
|
|
4506
|
-
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
|
|
4481
|
+
return __assign({}, (input.taskDefinition != null && { taskDefinition: input.taskDefinition }));
|
|
4507
4482
|
};
|
|
4508
4483
|
var serializeAws_json1_1DescribeCapacityProvidersRequest = function (input, context) {
|
|
4509
|
-
return __assign(__assign(__assign(__assign({}, (input.capacityProviders
|
|
4510
|
-
input.capacityProviders !== null && {
|
|
4484
|
+
return __assign(__assign(__assign(__assign({}, (input.capacityProviders != null && {
|
|
4511
4485
|
capacityProviders: serializeAws_json1_1StringList(input.capacityProviders, context),
|
|
4512
|
-
})), (input.include
|
|
4513
|
-
input.include !== null && { include: serializeAws_json1_1CapacityProviderFieldList(input.include, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
4486
|
+
})), (input.include != null && { include: serializeAws_json1_1CapacityProviderFieldList(input.include, context) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4514
4487
|
};
|
|
4515
4488
|
var serializeAws_json1_1DescribeClustersRequest = function (input, context) {
|
|
4516
|
-
return __assign(__assign({}, (input.clusters
|
|
4517
|
-
input.clusters !== null && { clusters: serializeAws_json1_1StringList(input.clusters, context) })), (input.include !== undefined &&
|
|
4518
|
-
input.include !== null && { include: serializeAws_json1_1ClusterFieldList(input.include, context) }));
|
|
4489
|
+
return __assign(__assign({}, (input.clusters != null && { clusters: serializeAws_json1_1StringList(input.clusters, context) })), (input.include != null && { include: serializeAws_json1_1ClusterFieldList(input.include, context) }));
|
|
4519
4490
|
};
|
|
4520
4491
|
var serializeAws_json1_1DescribeContainerInstancesRequest = function (input, context) {
|
|
4521
|
-
return __assign(__assign(__assign({}, (input.cluster
|
|
4522
|
-
input.containerInstances !== null && {
|
|
4492
|
+
return __assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.containerInstances != null && {
|
|
4523
4493
|
containerInstances: serializeAws_json1_1StringList(input.containerInstances, context),
|
|
4524
|
-
})), (input.include
|
|
4525
|
-
input.include !== null && { include: serializeAws_json1_1ContainerInstanceFieldList(input.include, context) }));
|
|
4494
|
+
})), (input.include != null && { include: serializeAws_json1_1ContainerInstanceFieldList(input.include, context) }));
|
|
4526
4495
|
};
|
|
4527
4496
|
var serializeAws_json1_1DescribeServicesRequest = function (input, context) {
|
|
4528
|
-
return __assign(__assign(__assign({}, (input.cluster
|
|
4529
|
-
input.include !== null && { include: serializeAws_json1_1ServiceFieldList(input.include, context) })), (input.services !== undefined &&
|
|
4530
|
-
input.services !== null && { services: serializeAws_json1_1StringList(input.services, context) }));
|
|
4497
|
+
return __assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.include != null && { include: serializeAws_json1_1ServiceFieldList(input.include, context) })), (input.services != null && { services: serializeAws_json1_1StringList(input.services, context) }));
|
|
4531
4498
|
};
|
|
4532
4499
|
var serializeAws_json1_1DescribeTaskDefinitionRequest = function (input, context) {
|
|
4533
|
-
return __assign(__assign({}, (input.include
|
|
4534
|
-
input.include !== null && { include: serializeAws_json1_1TaskDefinitionFieldList(input.include, context) })), (input.taskDefinition !== undefined &&
|
|
4535
|
-
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
|
|
4500
|
+
return __assign(__assign({}, (input.include != null && { include: serializeAws_json1_1TaskDefinitionFieldList(input.include, context) })), (input.taskDefinition != null && { taskDefinition: input.taskDefinition }));
|
|
4536
4501
|
};
|
|
4537
4502
|
var serializeAws_json1_1DescribeTaskSetsRequest = function (input, context) {
|
|
4538
|
-
return __assign(__assign(__assign(__assign({}, (input.cluster
|
|
4539
|
-
input.include !== null && { include: serializeAws_json1_1TaskSetFieldList(input.include, context) })), (input.service !== undefined && input.service !== null && { service: input.service })), (input.taskSets !== undefined &&
|
|
4540
|
-
input.taskSets !== null && { taskSets: serializeAws_json1_1StringList(input.taskSets, context) }));
|
|
4503
|
+
return __assign(__assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.include != null && { include: serializeAws_json1_1TaskSetFieldList(input.include, context) })), (input.service != null && { service: input.service })), (input.taskSets != null && { taskSets: serializeAws_json1_1StringList(input.taskSets, context) }));
|
|
4541
4504
|
};
|
|
4542
4505
|
var serializeAws_json1_1DescribeTasksRequest = function (input, context) {
|
|
4543
|
-
return __assign(__assign(__assign({}, (input.cluster
|
|
4544
|
-
input.include !== null && { include: serializeAws_json1_1TaskFieldList(input.include, context) })), (input.tasks !== undefined &&
|
|
4545
|
-
input.tasks !== null && { tasks: serializeAws_json1_1StringList(input.tasks, context) }));
|
|
4506
|
+
return __assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.include != null && { include: serializeAws_json1_1TaskFieldList(input.include, context) })), (input.tasks != null && { tasks: serializeAws_json1_1StringList(input.tasks, context) }));
|
|
4546
4507
|
};
|
|
4547
4508
|
var serializeAws_json1_1Device = function (input, context) {
|
|
4548
|
-
return __assign(__assign(__assign({}, (input.containerPath
|
|
4549
|
-
input.permissions !== null && {
|
|
4509
|
+
return __assign(__assign(__assign({}, (input.containerPath != null && { containerPath: input.containerPath })), (input.hostPath != null && { hostPath: input.hostPath })), (input.permissions != null && {
|
|
4550
4510
|
permissions: serializeAws_json1_1DeviceCgroupPermissions(input.permissions, context),
|
|
4551
4511
|
}));
|
|
4552
4512
|
};
|
|
@@ -4571,8 +4531,7 @@ var serializeAws_json1_1DevicesList = function (input, context) {
|
|
|
4571
4531
|
});
|
|
4572
4532
|
};
|
|
4573
4533
|
var serializeAws_json1_1DiscoverPollEndpointRequest = function (input, context) {
|
|
4574
|
-
return __assign(__assign({}, (input.cluster
|
|
4575
|
-
input.containerInstance !== null && { containerInstance: input.containerInstance }));
|
|
4534
|
+
return __assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.containerInstance != null && { containerInstance: input.containerInstance }));
|
|
4576
4535
|
};
|
|
4577
4536
|
var serializeAws_json1_1DockerLabelsMap = function (input, context) {
|
|
4578
4537
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4585,23 +4544,18 @@ var serializeAws_json1_1DockerLabelsMap = function (input, context) {
|
|
|
4585
4544
|
}, {});
|
|
4586
4545
|
};
|
|
4587
4546
|
var serializeAws_json1_1DockerVolumeConfiguration = function (input, context) {
|
|
4588
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.autoprovision
|
|
4589
|
-
input.driverOpts !== null && { driverOpts: serializeAws_json1_1StringMap(input.driverOpts, context) })), (input.labels !== undefined &&
|
|
4590
|
-
input.labels !== null && { labels: serializeAws_json1_1StringMap(input.labels, context) })), (input.scope !== undefined && input.scope !== null && { scope: input.scope }));
|
|
4547
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.autoprovision != null && { autoprovision: input.autoprovision })), (input.driver != null && { driver: input.driver })), (input.driverOpts != null && { driverOpts: serializeAws_json1_1StringMap(input.driverOpts, context) })), (input.labels != null && { labels: serializeAws_json1_1StringMap(input.labels, context) })), (input.scope != null && { scope: input.scope }));
|
|
4591
4548
|
};
|
|
4592
4549
|
var serializeAws_json1_1EFSAuthorizationConfig = function (input, context) {
|
|
4593
|
-
return __assign(__assign({}, (input.accessPointId
|
|
4550
|
+
return __assign(__assign({}, (input.accessPointId != null && { accessPointId: input.accessPointId })), (input.iam != null && { iam: input.iam }));
|
|
4594
4551
|
};
|
|
4595
4552
|
var serializeAws_json1_1EFSVolumeConfiguration = function (input, context) {
|
|
4596
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.authorizationConfig
|
|
4597
|
-
input.authorizationConfig !== null && {
|
|
4553
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.authorizationConfig != null && {
|
|
4598
4554
|
authorizationConfig: serializeAws_json1_1EFSAuthorizationConfig(input.authorizationConfig, context),
|
|
4599
|
-
})), (input.fileSystemId
|
|
4600
|
-
input.transitEncryption !== null && { transitEncryption: input.transitEncryption })), (input.transitEncryptionPort !== undefined &&
|
|
4601
|
-
input.transitEncryptionPort !== null && { transitEncryptionPort: input.transitEncryptionPort }));
|
|
4555
|
+
})), (input.fileSystemId != null && { fileSystemId: input.fileSystemId })), (input.rootDirectory != null && { rootDirectory: input.rootDirectory })), (input.transitEncryption != null && { transitEncryption: input.transitEncryption })), (input.transitEncryptionPort != null && { transitEncryptionPort: input.transitEncryptionPort }));
|
|
4602
4556
|
};
|
|
4603
4557
|
var serializeAws_json1_1EnvironmentFile = function (input, context) {
|
|
4604
|
-
return __assign(__assign({}, (input.type
|
|
4558
|
+
return __assign(__assign({}, (input.type != null && { type: input.type })), (input.value != null && { value: input.value }));
|
|
4605
4559
|
};
|
|
4606
4560
|
var serializeAws_json1_1EnvironmentFiles = function (input, context) {
|
|
4607
4561
|
return input
|
|
@@ -4624,28 +4578,25 @@ var serializeAws_json1_1EnvironmentVariables = function (input, context) {
|
|
|
4624
4578
|
});
|
|
4625
4579
|
};
|
|
4626
4580
|
var serializeAws_json1_1EphemeralStorage = function (input, context) {
|
|
4627
|
-
return __assign({}, (input.sizeInGiB
|
|
4581
|
+
return __assign({}, (input.sizeInGiB != null && { sizeInGiB: input.sizeInGiB }));
|
|
4628
4582
|
};
|
|
4629
4583
|
var serializeAws_json1_1ExecuteCommandConfiguration = function (input, context) {
|
|
4630
|
-
return __assign(__assign(__assign({}, (input.kmsKeyId
|
|
4631
|
-
input.logConfiguration !== null && {
|
|
4584
|
+
return __assign(__assign(__assign({}, (input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId })), (input.logConfiguration != null && {
|
|
4632
4585
|
logConfiguration: serializeAws_json1_1ExecuteCommandLogConfiguration(input.logConfiguration, context),
|
|
4633
|
-
})), (input.logging
|
|
4586
|
+
})), (input.logging != null && { logging: input.logging }));
|
|
4634
4587
|
};
|
|
4635
4588
|
var serializeAws_json1_1ExecuteCommandLogConfiguration = function (input, context) {
|
|
4636
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.cloudWatchEncryptionEnabled
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
input.s3EncryptionEnabled !== null && { s3EncryptionEnabled: input.s3EncryptionEnabled })), (input.s3KeyPrefix !== undefined && input.s3KeyPrefix !== null && { s3KeyPrefix: input.s3KeyPrefix }));
|
|
4589
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.cloudWatchEncryptionEnabled != null && {
|
|
4590
|
+
cloudWatchEncryptionEnabled: input.cloudWatchEncryptionEnabled,
|
|
4591
|
+
})), (input.cloudWatchLogGroupName != null && { cloudWatchLogGroupName: input.cloudWatchLogGroupName })), (input.s3BucketName != null && { s3BucketName: input.s3BucketName })), (input.s3EncryptionEnabled != null && { s3EncryptionEnabled: input.s3EncryptionEnabled })), (input.s3KeyPrefix != null && { s3KeyPrefix: input.s3KeyPrefix }));
|
|
4640
4592
|
};
|
|
4641
4593
|
var serializeAws_json1_1ExecuteCommandRequest = function (input, context) {
|
|
4642
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.cluster
|
|
4594
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.command != null && { command: input.command })), (input.container != null && { container: input.container })), (input.interactive != null && { interactive: input.interactive })), (input.task != null && { task: input.task }));
|
|
4643
4595
|
};
|
|
4644
4596
|
var serializeAws_json1_1FirelensConfiguration = function (input, context) {
|
|
4645
|
-
return __assign(__assign({}, (input.options
|
|
4646
|
-
input.options !== null && {
|
|
4597
|
+
return __assign(__assign({}, (input.options != null && {
|
|
4647
4598
|
options: serializeAws_json1_1FirelensConfigurationOptionsMap(input.options, context),
|
|
4648
|
-
})), (input.type
|
|
4599
|
+
})), (input.type != null && { type: input.type }));
|
|
4649
4600
|
};
|
|
4650
4601
|
var serializeAws_json1_1FirelensConfigurationOptionsMap = function (input, context) {
|
|
4651
4602
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4658,21 +4609,18 @@ var serializeAws_json1_1FirelensConfigurationOptionsMap = function (input, conte
|
|
|
4658
4609
|
}, {});
|
|
4659
4610
|
};
|
|
4660
4611
|
var serializeAws_json1_1FSxWindowsFileServerAuthorizationConfig = function (input, context) {
|
|
4661
|
-
return __assign(__assign({}, (input.credentialsParameter
|
|
4662
|
-
input.credentialsParameter !== null && { credentialsParameter: input.credentialsParameter })), (input.domain !== undefined && input.domain !== null && { domain: input.domain }));
|
|
4612
|
+
return __assign(__assign({}, (input.credentialsParameter != null && { credentialsParameter: input.credentialsParameter })), (input.domain != null && { domain: input.domain }));
|
|
4663
4613
|
};
|
|
4664
4614
|
var serializeAws_json1_1FSxWindowsFileServerVolumeConfiguration = function (input, context) {
|
|
4665
|
-
return __assign(__assign(__assign({}, (input.authorizationConfig
|
|
4666
|
-
input.authorizationConfig !== null && {
|
|
4615
|
+
return __assign(__assign(__assign({}, (input.authorizationConfig != null && {
|
|
4667
4616
|
authorizationConfig: serializeAws_json1_1FSxWindowsFileServerAuthorizationConfig(input.authorizationConfig, context),
|
|
4668
|
-
})), (input.fileSystemId
|
|
4617
|
+
})), (input.fileSystemId != null && { fileSystemId: input.fileSystemId })), (input.rootDirectory != null && { rootDirectory: input.rootDirectory }));
|
|
4669
4618
|
};
|
|
4670
4619
|
var serializeAws_json1_1HealthCheck = function (input, context) {
|
|
4671
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.command
|
|
4672
|
-
input.command !== null && { command: serializeAws_json1_1StringList(input.command, context) })), (input.interval !== undefined && input.interval !== null && { interval: input.interval })), (input.retries !== undefined && input.retries !== null && { retries: input.retries })), (input.startPeriod !== undefined && input.startPeriod !== null && { startPeriod: input.startPeriod })), (input.timeout !== undefined && input.timeout !== null && { timeout: input.timeout }));
|
|
4620
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.command != null && { command: serializeAws_json1_1StringList(input.command, context) })), (input.interval != null && { interval: input.interval })), (input.retries != null && { retries: input.retries })), (input.startPeriod != null && { startPeriod: input.startPeriod })), (input.timeout != null && { timeout: input.timeout }));
|
|
4673
4621
|
};
|
|
4674
4622
|
var serializeAws_json1_1HostEntry = function (input, context) {
|
|
4675
|
-
return __assign(__assign({}, (input.hostname
|
|
4623
|
+
return __assign(__assign({}, (input.hostname != null && { hostname: input.hostname })), (input.ipAddress != null && { ipAddress: input.ipAddress }));
|
|
4676
4624
|
};
|
|
4677
4625
|
var serializeAws_json1_1HostEntryList = function (input, context) {
|
|
4678
4626
|
return input
|
|
@@ -4685,13 +4633,13 @@ var serializeAws_json1_1HostEntryList = function (input, context) {
|
|
|
4685
4633
|
});
|
|
4686
4634
|
};
|
|
4687
4635
|
var serializeAws_json1_1HostVolumeProperties = function (input, context) {
|
|
4688
|
-
return __assign({}, (input.sourcePath
|
|
4636
|
+
return __assign({}, (input.sourcePath != null && { sourcePath: input.sourcePath }));
|
|
4689
4637
|
};
|
|
4690
4638
|
var serializeAws_json1_1InferenceAccelerator = function (input, context) {
|
|
4691
|
-
return __assign(__assign({}, (input.deviceName
|
|
4639
|
+
return __assign(__assign({}, (input.deviceName != null && { deviceName: input.deviceName })), (input.deviceType != null && { deviceType: input.deviceType }));
|
|
4692
4640
|
};
|
|
4693
4641
|
var serializeAws_json1_1InferenceAcceleratorOverride = function (input, context) {
|
|
4694
|
-
return __assign(__assign({}, (input.deviceName
|
|
4642
|
+
return __assign(__assign({}, (input.deviceName != null && { deviceName: input.deviceName })), (input.deviceType != null && { deviceType: input.deviceType }));
|
|
4695
4643
|
};
|
|
4696
4644
|
var serializeAws_json1_1InferenceAcceleratorOverrides = function (input, context) {
|
|
4697
4645
|
return input
|
|
@@ -4714,57 +4662,45 @@ var serializeAws_json1_1InferenceAccelerators = function (input, context) {
|
|
|
4714
4662
|
});
|
|
4715
4663
|
};
|
|
4716
4664
|
var serializeAws_json1_1KernelCapabilities = function (input, context) {
|
|
4717
|
-
return __assign(__assign({}, (input.add
|
|
4718
|
-
input.drop !== null && { drop: serializeAws_json1_1StringList(input.drop, context) }));
|
|
4665
|
+
return __assign(__assign({}, (input.add != null && { add: serializeAws_json1_1StringList(input.add, context) })), (input.drop != null && { drop: serializeAws_json1_1StringList(input.drop, context) }));
|
|
4719
4666
|
};
|
|
4720
4667
|
var serializeAws_json1_1KeyValuePair = function (input, context) {
|
|
4721
|
-
return __assign(__assign({}, (input.name
|
|
4668
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.value != null && { value: input.value }));
|
|
4722
4669
|
};
|
|
4723
4670
|
var serializeAws_json1_1LinuxParameters = function (input, context) {
|
|
4724
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capabilities
|
|
4725
|
-
input.capabilities !== null && {
|
|
4671
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capabilities != null && {
|
|
4726
4672
|
capabilities: serializeAws_json1_1KernelCapabilities(input.capabilities, context),
|
|
4727
|
-
})), (input.devices
|
|
4728
|
-
input.devices !== null && { devices: serializeAws_json1_1DevicesList(input.devices, context) })), (input.initProcessEnabled !== undefined &&
|
|
4729
|
-
input.initProcessEnabled !== null && { initProcessEnabled: input.initProcessEnabled })), (input.maxSwap !== undefined && input.maxSwap !== null && { maxSwap: input.maxSwap })), (input.sharedMemorySize !== undefined &&
|
|
4730
|
-
input.sharedMemorySize !== null && { sharedMemorySize: input.sharedMemorySize })), (input.swappiness !== undefined && input.swappiness !== null && { swappiness: input.swappiness })), (input.tmpfs !== undefined &&
|
|
4731
|
-
input.tmpfs !== null && { tmpfs: serializeAws_json1_1TmpfsList(input.tmpfs, context) }));
|
|
4673
|
+
})), (input.devices != null && { devices: serializeAws_json1_1DevicesList(input.devices, context) })), (input.initProcessEnabled != null && { initProcessEnabled: input.initProcessEnabled })), (input.maxSwap != null && { maxSwap: input.maxSwap })), (input.sharedMemorySize != null && { sharedMemorySize: input.sharedMemorySize })), (input.swappiness != null && { swappiness: input.swappiness })), (input.tmpfs != null && { tmpfs: serializeAws_json1_1TmpfsList(input.tmpfs, context) }));
|
|
4732
4674
|
};
|
|
4733
4675
|
var serializeAws_json1_1ListAccountSettingsRequest = function (input, context) {
|
|
4734
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.effectiveSettings
|
|
4735
|
-
input.effectiveSettings !== null && { effectiveSettings: input.effectiveSettings })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.principalArn !== undefined && input.principalArn !== null && { principalArn: input.principalArn })), (input.value !== undefined && input.value !== null && { value: input.value }));
|
|
4676
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.effectiveSettings != null && { effectiveSettings: input.effectiveSettings })), (input.maxResults != null && { maxResults: input.maxResults })), (input.name != null && { name: input.name })), (input.nextToken != null && { nextToken: input.nextToken })), (input.principalArn != null && { principalArn: input.principalArn })), (input.value != null && { value: input.value }));
|
|
4736
4677
|
};
|
|
4737
4678
|
var serializeAws_json1_1ListAttributesRequest = function (input, context) {
|
|
4738
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.attributeName
|
|
4739
|
-
input.attributeValue !== null && { attributeValue: input.attributeValue })), (input.cluster !== undefined && input.cluster !== null && { cluster: input.cluster })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.targetType !== undefined && input.targetType !== null && { targetType: input.targetType }));
|
|
4679
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.attributeName != null && { attributeName: input.attributeName })), (input.attributeValue != null && { attributeValue: input.attributeValue })), (input.cluster != null && { cluster: input.cluster })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.targetType != null && { targetType: input.targetType }));
|
|
4740
4680
|
};
|
|
4741
4681
|
var serializeAws_json1_1ListClustersRequest = function (input, context) {
|
|
4742
|
-
return __assign(__assign({}, (input.maxResults
|
|
4682
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4743
4683
|
};
|
|
4744
4684
|
var serializeAws_json1_1ListContainerInstancesRequest = function (input, context) {
|
|
4745
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.cluster
|
|
4685
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.filter != null && { filter: input.filter })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.status != null && { status: input.status }));
|
|
4746
4686
|
};
|
|
4747
4687
|
var serializeAws_json1_1ListServicesRequest = function (input, context) {
|
|
4748
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.cluster
|
|
4749
|
-
input.schedulingStrategy !== null && { schedulingStrategy: input.schedulingStrategy }));
|
|
4688
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.launchType != null && { launchType: input.launchType })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.schedulingStrategy != null && { schedulingStrategy: input.schedulingStrategy }));
|
|
4750
4689
|
};
|
|
4751
4690
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
4752
|
-
return __assign({}, (input.resourceArn
|
|
4691
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
4753
4692
|
};
|
|
4754
4693
|
var serializeAws_json1_1ListTaskDefinitionFamiliesRequest = function (input, context) {
|
|
4755
|
-
return __assign(__assign(__assign(__assign({}, (input.familyPrefix
|
|
4694
|
+
return __assign(__assign(__assign(__assign({}, (input.familyPrefix != null && { familyPrefix: input.familyPrefix })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.status != null && { status: input.status }));
|
|
4756
4695
|
};
|
|
4757
4696
|
var serializeAws_json1_1ListTaskDefinitionsRequest = function (input, context) {
|
|
4758
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.familyPrefix
|
|
4697
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.familyPrefix != null && { familyPrefix: input.familyPrefix })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.sort != null && { sort: input.sort })), (input.status != null && { status: input.status }));
|
|
4759
4698
|
};
|
|
4760
4699
|
var serializeAws_json1_1ListTasksRequest = function (input, context) {
|
|
4761
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cluster
|
|
4762
|
-
input.containerInstance !== null && { containerInstance: input.containerInstance })), (input.desiredStatus !== undefined && input.desiredStatus !== null && { desiredStatus: input.desiredStatus })), (input.family !== undefined && input.family !== null && { family: input.family })), (input.launchType !== undefined && input.launchType !== null && { launchType: input.launchType })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName })), (input.startedBy !== undefined && input.startedBy !== null && { startedBy: input.startedBy }));
|
|
4700
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.containerInstance != null && { containerInstance: input.containerInstance })), (input.desiredStatus != null && { desiredStatus: input.desiredStatus })), (input.family != null && { family: input.family })), (input.launchType != null && { launchType: input.launchType })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.serviceName != null && { serviceName: input.serviceName })), (input.startedBy != null && { startedBy: input.startedBy }));
|
|
4763
4701
|
};
|
|
4764
4702
|
var serializeAws_json1_1LoadBalancer = function (input, context) {
|
|
4765
|
-
return __assign(__assign(__assign(__assign({}, (input.containerName
|
|
4766
|
-
input.loadBalancerName !== null && { loadBalancerName: input.loadBalancerName })), (input.targetGroupArn !== undefined &&
|
|
4767
|
-
input.targetGroupArn !== null && { targetGroupArn: input.targetGroupArn }));
|
|
4703
|
+
return __assign(__assign(__assign(__assign({}, (input.containerName != null && { containerName: input.containerName })), (input.containerPort != null && { containerPort: input.containerPort })), (input.loadBalancerName != null && { loadBalancerName: input.loadBalancerName })), (input.targetGroupArn != null && { targetGroupArn: input.targetGroupArn }));
|
|
4768
4704
|
};
|
|
4769
4705
|
var serializeAws_json1_1LoadBalancers = function (input, context) {
|
|
4770
4706
|
return input
|
|
@@ -4777,9 +4713,7 @@ var serializeAws_json1_1LoadBalancers = function (input, context) {
|
|
|
4777
4713
|
});
|
|
4778
4714
|
};
|
|
4779
4715
|
var serializeAws_json1_1LogConfiguration = function (input, context) {
|
|
4780
|
-
return __assign(__assign(__assign({}, (input.logDriver
|
|
4781
|
-
input.options !== null && { options: serializeAws_json1_1LogConfigurationOptionsMap(input.options, context) })), (input.secretOptions !== undefined &&
|
|
4782
|
-
input.secretOptions !== null && { secretOptions: serializeAws_json1_1SecretList(input.secretOptions, context) }));
|
|
4716
|
+
return __assign(__assign(__assign({}, (input.logDriver != null && { logDriver: input.logDriver })), (input.options != null && { options: serializeAws_json1_1LogConfigurationOptionsMap(input.options, context) })), (input.secretOptions != null && { secretOptions: serializeAws_json1_1SecretList(input.secretOptions, context) }));
|
|
4783
4717
|
};
|
|
4784
4718
|
var serializeAws_json1_1LogConfigurationOptionsMap = function (input, context) {
|
|
4785
4719
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4792,8 +4726,7 @@ var serializeAws_json1_1LogConfigurationOptionsMap = function (input, context) {
|
|
|
4792
4726
|
}, {});
|
|
4793
4727
|
};
|
|
4794
4728
|
var serializeAws_json1_1ManagedAgentStateChange = function (input, context) {
|
|
4795
|
-
return __assign(__assign(__assign(__assign({}, (input.containerName
|
|
4796
|
-
input.managedAgentName !== null && { managedAgentName: input.managedAgentName })), (input.reason !== undefined && input.reason !== null && { reason: input.reason })), (input.status !== undefined && input.status !== null && { status: input.status }));
|
|
4729
|
+
return __assign(__assign(__assign(__assign({}, (input.containerName != null && { containerName: input.containerName })), (input.managedAgentName != null && { managedAgentName: input.managedAgentName })), (input.reason != null && { reason: input.reason })), (input.status != null && { status: input.status }));
|
|
4797
4730
|
};
|
|
4798
4731
|
var serializeAws_json1_1ManagedAgentStateChanges = function (input, context) {
|
|
4799
4732
|
return input
|
|
@@ -4806,14 +4739,10 @@ var serializeAws_json1_1ManagedAgentStateChanges = function (input, context) {
|
|
|
4806
4739
|
});
|
|
4807
4740
|
};
|
|
4808
4741
|
var serializeAws_json1_1ManagedScaling = function (input, context) {
|
|
4809
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.instanceWarmupPeriod
|
|
4810
|
-
input.instanceWarmupPeriod !== null && { instanceWarmupPeriod: input.instanceWarmupPeriod })), (input.maximumScalingStepSize !== undefined &&
|
|
4811
|
-
input.maximumScalingStepSize !== null && { maximumScalingStepSize: input.maximumScalingStepSize })), (input.minimumScalingStepSize !== undefined &&
|
|
4812
|
-
input.minimumScalingStepSize !== null && { minimumScalingStepSize: input.minimumScalingStepSize })), (input.status !== undefined && input.status !== null && { status: input.status })), (input.targetCapacity !== undefined &&
|
|
4813
|
-
input.targetCapacity !== null && { targetCapacity: input.targetCapacity }));
|
|
4742
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.instanceWarmupPeriod != null && { instanceWarmupPeriod: input.instanceWarmupPeriod })), (input.maximumScalingStepSize != null && { maximumScalingStepSize: input.maximumScalingStepSize })), (input.minimumScalingStepSize != null && { minimumScalingStepSize: input.minimumScalingStepSize })), (input.status != null && { status: input.status })), (input.targetCapacity != null && { targetCapacity: input.targetCapacity }));
|
|
4814
4743
|
};
|
|
4815
4744
|
var serializeAws_json1_1MountPoint = function (input, context) {
|
|
4816
|
-
return __assign(__assign(__assign({}, (input.containerPath
|
|
4745
|
+
return __assign(__assign(__assign({}, (input.containerPath != null && { containerPath: input.containerPath })), (input.readOnly != null && { readOnly: input.readOnly })), (input.sourceVolume != null && { sourceVolume: input.sourceVolume }));
|
|
4817
4746
|
};
|
|
4818
4747
|
var serializeAws_json1_1MountPointList = function (input, context) {
|
|
4819
4748
|
return input
|
|
@@ -4826,7 +4755,7 @@ var serializeAws_json1_1MountPointList = function (input, context) {
|
|
|
4826
4755
|
});
|
|
4827
4756
|
};
|
|
4828
4757
|
var serializeAws_json1_1NetworkBinding = function (input, context) {
|
|
4829
|
-
return __assign(__assign(__assign(__assign({}, (input.bindIP
|
|
4758
|
+
return __assign(__assign(__assign(__assign({}, (input.bindIP != null && { bindIP: input.bindIP })), (input.containerPort != null && { containerPort: input.containerPort })), (input.hostPort != null && { hostPort: input.hostPort })), (input.protocol != null && { protocol: input.protocol }));
|
|
4830
4759
|
};
|
|
4831
4760
|
var serializeAws_json1_1NetworkBindings = function (input, context) {
|
|
4832
4761
|
return input
|
|
@@ -4839,13 +4768,12 @@ var serializeAws_json1_1NetworkBindings = function (input, context) {
|
|
|
4839
4768
|
});
|
|
4840
4769
|
};
|
|
4841
4770
|
var serializeAws_json1_1NetworkConfiguration = function (input, context) {
|
|
4842
|
-
return __assign({}, (input.awsvpcConfiguration
|
|
4843
|
-
input.awsvpcConfiguration !== null && {
|
|
4771
|
+
return __assign({}, (input.awsvpcConfiguration != null && {
|
|
4844
4772
|
awsvpcConfiguration: serializeAws_json1_1AwsVpcConfiguration(input.awsvpcConfiguration, context),
|
|
4845
4773
|
}));
|
|
4846
4774
|
};
|
|
4847
4775
|
var serializeAws_json1_1PlacementConstraint = function (input, context) {
|
|
4848
|
-
return __assign(__assign({}, (input.expression
|
|
4776
|
+
return __assign(__assign({}, (input.expression != null && { expression: input.expression })), (input.type != null && { type: input.type }));
|
|
4849
4777
|
};
|
|
4850
4778
|
var serializeAws_json1_1PlacementConstraints = function (input, context) {
|
|
4851
4779
|
return input
|
|
@@ -4868,10 +4796,10 @@ var serializeAws_json1_1PlacementStrategies = function (input, context) {
|
|
|
4868
4796
|
});
|
|
4869
4797
|
};
|
|
4870
4798
|
var serializeAws_json1_1PlacementStrategy = function (input, context) {
|
|
4871
|
-
return __assign(__assign({}, (input.field
|
|
4799
|
+
return __assign(__assign({}, (input.field != null && { field: input.field })), (input.type != null && { type: input.type }));
|
|
4872
4800
|
};
|
|
4873
4801
|
var serializeAws_json1_1PlatformDevice = function (input, context) {
|
|
4874
|
-
return __assign(__assign({}, (input.id
|
|
4802
|
+
return __assign(__assign({}, (input.id != null && { id: input.id })), (input.type != null && { type: input.type }));
|
|
4875
4803
|
};
|
|
4876
4804
|
var serializeAws_json1_1PlatformDevices = function (input, context) {
|
|
4877
4805
|
return input
|
|
@@ -4884,7 +4812,7 @@ var serializeAws_json1_1PlatformDevices = function (input, context) {
|
|
|
4884
4812
|
});
|
|
4885
4813
|
};
|
|
4886
4814
|
var serializeAws_json1_1PortMapping = function (input, context) {
|
|
4887
|
-
return __assign(__assign(__assign({}, (input.containerPort
|
|
4815
|
+
return __assign(__assign(__assign({}, (input.containerPort != null && { containerPort: input.containerPort })), (input.hostPort != null && { hostPort: input.hostPort })), (input.protocol != null && { protocol: input.protocol }));
|
|
4888
4816
|
};
|
|
4889
4817
|
var serializeAws_json1_1PortMappingList = function (input, context) {
|
|
4890
4818
|
return input
|
|
@@ -4897,10 +4825,9 @@ var serializeAws_json1_1PortMappingList = function (input, context) {
|
|
|
4897
4825
|
});
|
|
4898
4826
|
};
|
|
4899
4827
|
var serializeAws_json1_1ProxyConfiguration = function (input, context) {
|
|
4900
|
-
return __assign(__assign(__assign({}, (input.containerName
|
|
4901
|
-
input.properties !== null && {
|
|
4828
|
+
return __assign(__assign(__assign({}, (input.containerName != null && { containerName: input.containerName })), (input.properties != null && {
|
|
4902
4829
|
properties: serializeAws_json1_1ProxyConfigurationProperties(input.properties, context),
|
|
4903
|
-
})), (input.type
|
|
4830
|
+
})), (input.type != null && { type: input.type }));
|
|
4904
4831
|
};
|
|
4905
4832
|
var serializeAws_json1_1ProxyConfigurationProperties = function (input, context) {
|
|
4906
4833
|
return input
|
|
@@ -4913,79 +4840,57 @@ var serializeAws_json1_1ProxyConfigurationProperties = function (input, context)
|
|
|
4913
4840
|
});
|
|
4914
4841
|
};
|
|
4915
4842
|
var serializeAws_json1_1PutAccountSettingDefaultRequest = function (input, context) {
|
|
4916
|
-
return __assign(__assign({}, (input.name
|
|
4843
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.value != null && { value: input.value }));
|
|
4917
4844
|
};
|
|
4918
4845
|
var serializeAws_json1_1PutAccountSettingRequest = function (input, context) {
|
|
4919
|
-
return __assign(__assign(__assign({}, (input.name
|
|
4846
|
+
return __assign(__assign(__assign({}, (input.name != null && { name: input.name })), (input.principalArn != null && { principalArn: input.principalArn })), (input.value != null && { value: input.value }));
|
|
4920
4847
|
};
|
|
4921
4848
|
var serializeAws_json1_1PutAttributesRequest = function (input, context) {
|
|
4922
|
-
return __assign(__assign({}, (input.attributes
|
|
4923
|
-
input.attributes !== null && { attributes: serializeAws_json1_1Attributes(input.attributes, context) })), (input.cluster !== undefined && input.cluster !== null && { cluster: input.cluster }));
|
|
4849
|
+
return __assign(__assign({}, (input.attributes != null && { attributes: serializeAws_json1_1Attributes(input.attributes, context) })), (input.cluster != null && { cluster: input.cluster }));
|
|
4924
4850
|
};
|
|
4925
4851
|
var serializeAws_json1_1PutClusterCapacityProvidersRequest = function (input, context) {
|
|
4926
|
-
return __assign(__assign(__assign({}, (input.capacityProviders
|
|
4927
|
-
input.capacityProviders !== null && {
|
|
4852
|
+
return __assign(__assign(__assign({}, (input.capacityProviders != null && {
|
|
4928
4853
|
capacityProviders: serializeAws_json1_1StringList(input.capacityProviders, context),
|
|
4929
|
-
})), (input.cluster
|
|
4930
|
-
input.defaultCapacityProviderStrategy !== null && {
|
|
4854
|
+
})), (input.cluster != null && { cluster: input.cluster })), (input.defaultCapacityProviderStrategy != null && {
|
|
4931
4855
|
defaultCapacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.defaultCapacityProviderStrategy, context),
|
|
4932
4856
|
}));
|
|
4933
4857
|
};
|
|
4934
4858
|
var serializeAws_json1_1RegisterContainerInstanceRequest = function (input, context) {
|
|
4935
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.attributes
|
|
4936
|
-
input.attributes !== null && { attributes: serializeAws_json1_1Attributes(input.attributes, context) })), (input.cluster !== undefined && input.cluster !== null && { cluster: input.cluster })), (input.containerInstanceArn !== undefined &&
|
|
4937
|
-
input.containerInstanceArn !== null && { containerInstanceArn: input.containerInstanceArn })), (input.instanceIdentityDocument !== undefined &&
|
|
4938
|
-
input.instanceIdentityDocument !== null && { instanceIdentityDocument: input.instanceIdentityDocument })), (input.instanceIdentityDocumentSignature !== undefined &&
|
|
4939
|
-
input.instanceIdentityDocumentSignature !== null && {
|
|
4859
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.attributes != null && { attributes: serializeAws_json1_1Attributes(input.attributes, context) })), (input.cluster != null && { cluster: input.cluster })), (input.containerInstanceArn != null && { containerInstanceArn: input.containerInstanceArn })), (input.instanceIdentityDocument != null && { instanceIdentityDocument: input.instanceIdentityDocument })), (input.instanceIdentityDocumentSignature != null && {
|
|
4940
4860
|
instanceIdentityDocumentSignature: input.instanceIdentityDocumentSignature,
|
|
4941
|
-
})), (input.platformDevices
|
|
4942
|
-
input.platformDevices !== null && {
|
|
4861
|
+
})), (input.platformDevices != null && {
|
|
4943
4862
|
platformDevices: serializeAws_json1_1PlatformDevices(input.platformDevices, context),
|
|
4944
|
-
})), (input.tags
|
|
4945
|
-
input.totalResources !== null && {
|
|
4863
|
+
})), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.totalResources != null && {
|
|
4946
4864
|
totalResources: serializeAws_json1_1Resources(input.totalResources, context),
|
|
4947
|
-
})), (input.versionInfo
|
|
4948
|
-
input.versionInfo !== null && { versionInfo: serializeAws_json1_1VersionInfo(input.versionInfo, context) }));
|
|
4865
|
+
})), (input.versionInfo != null && { versionInfo: serializeAws_json1_1VersionInfo(input.versionInfo, context) }));
|
|
4949
4866
|
};
|
|
4950
4867
|
var serializeAws_json1_1RegisterTaskDefinitionRequest = function (input, context) {
|
|
4951
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerDefinitions
|
|
4952
|
-
input.containerDefinitions !== null && {
|
|
4868
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerDefinitions != null && {
|
|
4953
4869
|
containerDefinitions: serializeAws_json1_1ContainerDefinitions(input.containerDefinitions, context),
|
|
4954
|
-
})), (input.cpu
|
|
4955
|
-
input.ephemeralStorage !== null && {
|
|
4870
|
+
})), (input.cpu != null && { cpu: input.cpu })), (input.ephemeralStorage != null && {
|
|
4956
4871
|
ephemeralStorage: serializeAws_json1_1EphemeralStorage(input.ephemeralStorage, context),
|
|
4957
|
-
})), (input.executionRoleArn
|
|
4958
|
-
input.executionRoleArn !== null && { executionRoleArn: input.executionRoleArn })), (input.family !== undefined && input.family !== null && { family: input.family })), (input.inferenceAccelerators !== undefined &&
|
|
4959
|
-
input.inferenceAccelerators !== null && {
|
|
4872
|
+
})), (input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn })), (input.family != null && { family: input.family })), (input.inferenceAccelerators != null && {
|
|
4960
4873
|
inferenceAccelerators: serializeAws_json1_1InferenceAccelerators(input.inferenceAccelerators, context),
|
|
4961
|
-
})), (input.ipcMode
|
|
4962
|
-
input.placementConstraints !== null && {
|
|
4874
|
+
})), (input.ipcMode != null && { ipcMode: input.ipcMode })), (input.memory != null && { memory: input.memory })), (input.networkMode != null && { networkMode: input.networkMode })), (input.pidMode != null && { pidMode: input.pidMode })), (input.placementConstraints != null && {
|
|
4963
4875
|
placementConstraints: serializeAws_json1_1TaskDefinitionPlacementConstraints(input.placementConstraints, context),
|
|
4964
|
-
})), (input.proxyConfiguration
|
|
4965
|
-
input.proxyConfiguration !== null && {
|
|
4876
|
+
})), (input.proxyConfiguration != null && {
|
|
4966
4877
|
proxyConfiguration: serializeAws_json1_1ProxyConfiguration(input.proxyConfiguration, context),
|
|
4967
|
-
})), (input.requiresCompatibilities
|
|
4968
|
-
input.requiresCompatibilities !== null && {
|
|
4878
|
+
})), (input.requiresCompatibilities != null && {
|
|
4969
4879
|
requiresCompatibilities: serializeAws_json1_1CompatibilityList(input.requiresCompatibilities, context),
|
|
4970
|
-
})), (input.runtimePlatform
|
|
4971
|
-
input.runtimePlatform !== null && {
|
|
4880
|
+
})), (input.runtimePlatform != null && {
|
|
4972
4881
|
runtimePlatform: serializeAws_json1_1RuntimePlatform(input.runtimePlatform, context),
|
|
4973
|
-
})), (input.tags
|
|
4974
|
-
input.volumes !== null && { volumes: serializeAws_json1_1VolumeList(input.volumes, context) }));
|
|
4882
|
+
})), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.taskRoleArn != null && { taskRoleArn: input.taskRoleArn })), (input.volumes != null && { volumes: serializeAws_json1_1VolumeList(input.volumes, context) }));
|
|
4975
4883
|
};
|
|
4976
4884
|
var serializeAws_json1_1RepositoryCredentials = function (input, context) {
|
|
4977
|
-
return __assign({}, (input.credentialsParameter
|
|
4978
|
-
input.credentialsParameter !== null && { credentialsParameter: input.credentialsParameter }));
|
|
4885
|
+
return __assign({}, (input.credentialsParameter != null && { credentialsParameter: input.credentialsParameter }));
|
|
4979
4886
|
};
|
|
4980
4887
|
var serializeAws_json1_1Resource = function (input, context) {
|
|
4981
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.doubleValue
|
|
4982
|
-
input.doubleValue !== null && { doubleValue: __serializeFloat(input.doubleValue) })), (input.integerValue !== undefined && input.integerValue !== null && { integerValue: input.integerValue })), (input.longValue !== undefined && input.longValue !== null && { longValue: input.longValue })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.stringSetValue !== undefined &&
|
|
4983
|
-
input.stringSetValue !== null && {
|
|
4888
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.doubleValue != null && { doubleValue: __serializeFloat(input.doubleValue) })), (input.integerValue != null && { integerValue: input.integerValue })), (input.longValue != null && { longValue: input.longValue })), (input.name != null && { name: input.name })), (input.stringSetValue != null && {
|
|
4984
4889
|
stringSetValue: serializeAws_json1_1StringList(input.stringSetValue, context),
|
|
4985
|
-
})), (input.type
|
|
4890
|
+
})), (input.type != null && { type: input.type }));
|
|
4986
4891
|
};
|
|
4987
4892
|
var serializeAws_json1_1ResourceRequirement = function (input, context) {
|
|
4988
|
-
return __assign(__assign({}, (input.type
|
|
4893
|
+
return __assign(__assign({}, (input.type != null && { type: input.type })), (input.value != null && { value: input.value }));
|
|
4989
4894
|
};
|
|
4990
4895
|
var serializeAws_json1_1ResourceRequirements = function (input, context) {
|
|
4991
4896
|
return input
|
|
@@ -5008,35 +4913,24 @@ var serializeAws_json1_1Resources = function (input, context) {
|
|
|
5008
4913
|
});
|
|
5009
4914
|
};
|
|
5010
4915
|
var serializeAws_json1_1RunTaskRequest = function (input, context) {
|
|
5011
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy
|
|
5012
|
-
input.capacityProviderStrategy !== null && {
|
|
4916
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy != null && {
|
|
5013
4917
|
capacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.capacityProviderStrategy, context),
|
|
5014
|
-
})), (input.cluster
|
|
5015
|
-
input.enableECSManagedTags !== null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand !== undefined &&
|
|
5016
|
-
input.enableExecuteCommand !== null && { enableExecuteCommand: input.enableExecuteCommand })), (input.group !== undefined && input.group !== null && { group: input.group })), (input.launchType !== undefined && input.launchType !== null && { launchType: input.launchType })), (input.networkConfiguration !== undefined &&
|
|
5017
|
-
input.networkConfiguration !== null && {
|
|
4918
|
+
})), (input.cluster != null && { cluster: input.cluster })), (input.count != null && { count: input.count })), (input.enableECSManagedTags != null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand != null && { enableExecuteCommand: input.enableExecuteCommand })), (input.group != null && { group: input.group })), (input.launchType != null && { launchType: input.launchType })), (input.networkConfiguration != null && {
|
|
5018
4919
|
networkConfiguration: serializeAws_json1_1NetworkConfiguration(input.networkConfiguration, context),
|
|
5019
|
-
})), (input.overrides
|
|
5020
|
-
input.overrides !== null && { overrides: serializeAws_json1_1TaskOverride(input.overrides, context) })), (input.placementConstraints !== undefined &&
|
|
5021
|
-
input.placementConstraints !== null && {
|
|
4920
|
+
})), (input.overrides != null && { overrides: serializeAws_json1_1TaskOverride(input.overrides, context) })), (input.placementConstraints != null && {
|
|
5022
4921
|
placementConstraints: serializeAws_json1_1PlacementConstraints(input.placementConstraints, context),
|
|
5023
|
-
})), (input.placementStrategy
|
|
5024
|
-
input.placementStrategy !== null && {
|
|
4922
|
+
})), (input.placementStrategy != null && {
|
|
5025
4923
|
placementStrategy: serializeAws_json1_1PlacementStrategies(input.placementStrategy, context),
|
|
5026
|
-
})), (input.platformVersion
|
|
5027
|
-
input.platformVersion !== null && { platformVersion: input.platformVersion })), (input.propagateTags !== undefined && input.propagateTags !== null && { propagateTags: input.propagateTags })), (input.referenceId !== undefined && input.referenceId !== null && { referenceId: input.referenceId })), (input.startedBy !== undefined && input.startedBy !== null && { startedBy: input.startedBy })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.taskDefinition !== undefined &&
|
|
5028
|
-
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
|
|
4924
|
+
})), (input.platformVersion != null && { platformVersion: input.platformVersion })), (input.propagateTags != null && { propagateTags: input.propagateTags })), (input.referenceId != null && { referenceId: input.referenceId })), (input.startedBy != null && { startedBy: input.startedBy })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.taskDefinition != null && { taskDefinition: input.taskDefinition }));
|
|
5029
4925
|
};
|
|
5030
4926
|
var serializeAws_json1_1RuntimePlatform = function (input, context) {
|
|
5031
|
-
return __assign(__assign({}, (input.cpuArchitecture
|
|
5032
|
-
input.cpuArchitecture !== null && { cpuArchitecture: input.cpuArchitecture })), (input.operatingSystemFamily !== undefined &&
|
|
5033
|
-
input.operatingSystemFamily !== null && { operatingSystemFamily: input.operatingSystemFamily }));
|
|
4927
|
+
return __assign(__assign({}, (input.cpuArchitecture != null && { cpuArchitecture: input.cpuArchitecture })), (input.operatingSystemFamily != null && { operatingSystemFamily: input.operatingSystemFamily }));
|
|
5034
4928
|
};
|
|
5035
4929
|
var serializeAws_json1_1Scale = function (input, context) {
|
|
5036
|
-
return __assign(__assign({}, (input.unit
|
|
4930
|
+
return __assign(__assign({}, (input.unit != null && { unit: input.unit })), (input.value != null && { value: __serializeFloat(input.value) }));
|
|
5037
4931
|
};
|
|
5038
4932
|
var serializeAws_json1_1Secret = function (input, context) {
|
|
5039
|
-
return __assign(__assign({}, (input.name
|
|
4933
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.valueFrom != null && { valueFrom: input.valueFrom }));
|
|
5040
4934
|
};
|
|
5041
4935
|
var serializeAws_json1_1SecretList = function (input, context) {
|
|
5042
4936
|
return input
|
|
@@ -5069,23 +4963,17 @@ var serializeAws_json1_1ServiceRegistries = function (input, context) {
|
|
|
5069
4963
|
});
|
|
5070
4964
|
};
|
|
5071
4965
|
var serializeAws_json1_1ServiceRegistry = function (input, context) {
|
|
5072
|
-
return __assign(__assign(__assign(__assign({}, (input.containerName
|
|
4966
|
+
return __assign(__assign(__assign(__assign({}, (input.containerName != null && { containerName: input.containerName })), (input.containerPort != null && { containerPort: input.containerPort })), (input.port != null && { port: input.port })), (input.registryArn != null && { registryArn: input.registryArn }));
|
|
5073
4967
|
};
|
|
5074
4968
|
var serializeAws_json1_1StartTaskRequest = function (input, context) {
|
|
5075
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cluster
|
|
5076
|
-
input.containerInstances !== null && {
|
|
4969
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.containerInstances != null && {
|
|
5077
4970
|
containerInstances: serializeAws_json1_1StringList(input.containerInstances, context),
|
|
5078
|
-
})), (input.enableECSManagedTags
|
|
5079
|
-
input.enableECSManagedTags !== null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand !== undefined &&
|
|
5080
|
-
input.enableExecuteCommand !== null && { enableExecuteCommand: input.enableExecuteCommand })), (input.group !== undefined && input.group !== null && { group: input.group })), (input.networkConfiguration !== undefined &&
|
|
5081
|
-
input.networkConfiguration !== null && {
|
|
4971
|
+
})), (input.enableECSManagedTags != null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand != null && { enableExecuteCommand: input.enableExecuteCommand })), (input.group != null && { group: input.group })), (input.networkConfiguration != null && {
|
|
5082
4972
|
networkConfiguration: serializeAws_json1_1NetworkConfiguration(input.networkConfiguration, context),
|
|
5083
|
-
})), (input.overrides
|
|
5084
|
-
input.overrides !== null && { overrides: serializeAws_json1_1TaskOverride(input.overrides, context) })), (input.propagateTags !== undefined && input.propagateTags !== null && { propagateTags: input.propagateTags })), (input.referenceId !== undefined && input.referenceId !== null && { referenceId: input.referenceId })), (input.startedBy !== undefined && input.startedBy !== null && { startedBy: input.startedBy })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.taskDefinition !== undefined &&
|
|
5085
|
-
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
|
|
4973
|
+
})), (input.overrides != null && { overrides: serializeAws_json1_1TaskOverride(input.overrides, context) })), (input.propagateTags != null && { propagateTags: input.propagateTags })), (input.referenceId != null && { referenceId: input.referenceId })), (input.startedBy != null && { startedBy: input.startedBy })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.taskDefinition != null && { taskDefinition: input.taskDefinition }));
|
|
5086
4974
|
};
|
|
5087
4975
|
var serializeAws_json1_1StopTaskRequest = function (input, context) {
|
|
5088
|
-
return __assign(__assign(__assign({}, (input.cluster
|
|
4976
|
+
return __assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.reason != null && { reason: input.reason })), (input.task != null && { task: input.task }));
|
|
5089
4977
|
};
|
|
5090
4978
|
var serializeAws_json1_1StringList = function (input, context) {
|
|
5091
4979
|
return input
|
|
@@ -5108,36 +4996,28 @@ var serializeAws_json1_1StringMap = function (input, context) {
|
|
|
5108
4996
|
}, {});
|
|
5109
4997
|
};
|
|
5110
4998
|
var serializeAws_json1_1SubmitAttachmentStateChangesRequest = function (input, context) {
|
|
5111
|
-
return __assign(__assign({}, (input.attachments
|
|
5112
|
-
input.attachments !== null && {
|
|
4999
|
+
return __assign(__assign({}, (input.attachments != null && {
|
|
5113
5000
|
attachments: serializeAws_json1_1AttachmentStateChanges(input.attachments, context),
|
|
5114
|
-
})), (input.cluster
|
|
5001
|
+
})), (input.cluster != null && { cluster: input.cluster }));
|
|
5115
5002
|
};
|
|
5116
5003
|
var serializeAws_json1_1SubmitContainerStateChangeRequest = function (input, context) {
|
|
5117
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cluster
|
|
5118
|
-
input.networkBindings !== null && {
|
|
5004
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.containerName != null && { containerName: input.containerName })), (input.exitCode != null && { exitCode: input.exitCode })), (input.networkBindings != null && {
|
|
5119
5005
|
networkBindings: serializeAws_json1_1NetworkBindings(input.networkBindings, context),
|
|
5120
|
-
})), (input.reason
|
|
5006
|
+
})), (input.reason != null && { reason: input.reason })), (input.runtimeId != null && { runtimeId: input.runtimeId })), (input.status != null && { status: input.status })), (input.task != null && { task: input.task }));
|
|
5121
5007
|
};
|
|
5122
5008
|
var serializeAws_json1_1SubmitTaskStateChangeRequest = function (input, context) {
|
|
5123
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.attachments
|
|
5124
|
-
input.attachments !== null && {
|
|
5009
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.attachments != null && {
|
|
5125
5010
|
attachments: serializeAws_json1_1AttachmentStateChanges(input.attachments, context),
|
|
5126
|
-
})), (input.cluster
|
|
5127
|
-
input.containers !== null && {
|
|
5011
|
+
})), (input.cluster != null && { cluster: input.cluster })), (input.containers != null && {
|
|
5128
5012
|
containers: serializeAws_json1_1ContainerStateChanges(input.containers, context),
|
|
5129
|
-
})), (input.executionStoppedAt
|
|
5130
|
-
input.executionStoppedAt !== null && {
|
|
5013
|
+
})), (input.executionStoppedAt != null && {
|
|
5131
5014
|
executionStoppedAt: Math.round(input.executionStoppedAt.getTime() / 1000),
|
|
5132
|
-
})), (input.managedAgents
|
|
5133
|
-
input.managedAgents !== null && {
|
|
5015
|
+
})), (input.managedAgents != null && {
|
|
5134
5016
|
managedAgents: serializeAws_json1_1ManagedAgentStateChanges(input.managedAgents, context),
|
|
5135
|
-
})), (input.pullStartedAt
|
|
5136
|
-
input.pullStartedAt !== null && { pullStartedAt: Math.round(input.pullStartedAt.getTime() / 1000) })), (input.pullStoppedAt !== undefined &&
|
|
5137
|
-
input.pullStoppedAt !== null && { pullStoppedAt: Math.round(input.pullStoppedAt.getTime() / 1000) })), (input.reason !== undefined && input.reason !== null && { reason: input.reason })), (input.status !== undefined && input.status !== null && { status: input.status })), (input.task !== undefined && input.task !== null && { task: input.task }));
|
|
5017
|
+
})), (input.pullStartedAt != null && { pullStartedAt: Math.round(input.pullStartedAt.getTime() / 1000) })), (input.pullStoppedAt != null && { pullStoppedAt: Math.round(input.pullStoppedAt.getTime() / 1000) })), (input.reason != null && { reason: input.reason })), (input.status != null && { status: input.status })), (input.task != null && { task: input.task }));
|
|
5138
5018
|
};
|
|
5139
5019
|
var serializeAws_json1_1SystemControl = function (input, context) {
|
|
5140
|
-
return __assign(__assign({}, (input.namespace
|
|
5020
|
+
return __assign(__assign({}, (input.namespace != null && { namespace: input.namespace })), (input.value != null && { value: input.value }));
|
|
5141
5021
|
};
|
|
5142
5022
|
var serializeAws_json1_1SystemControls = function (input, context) {
|
|
5143
5023
|
return input
|
|
@@ -5150,7 +5030,7 @@ var serializeAws_json1_1SystemControls = function (input, context) {
|
|
|
5150
5030
|
});
|
|
5151
5031
|
};
|
|
5152
5032
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
5153
|
-
return __assign(__assign({}, (input.key
|
|
5033
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
5154
5034
|
};
|
|
5155
5035
|
var serializeAws_json1_1TagKeys = function (input, context) {
|
|
5156
5036
|
return input
|
|
@@ -5163,7 +5043,7 @@ var serializeAws_json1_1TagKeys = function (input, context) {
|
|
|
5163
5043
|
});
|
|
5164
5044
|
};
|
|
5165
5045
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
5166
|
-
return __assign(__assign({}, (input.resourceArn
|
|
5046
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
5167
5047
|
};
|
|
5168
5048
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
5169
5049
|
return input
|
|
@@ -5186,7 +5066,7 @@ var serializeAws_json1_1TaskDefinitionFieldList = function (input, context) {
|
|
|
5186
5066
|
});
|
|
5187
5067
|
};
|
|
5188
5068
|
var serializeAws_json1_1TaskDefinitionPlacementConstraint = function (input, context) {
|
|
5189
|
-
return __assign(__assign({}, (input.expression
|
|
5069
|
+
return __assign(__assign({}, (input.expression != null && { expression: input.expression })), (input.type != null && { type: input.type }));
|
|
5190
5070
|
};
|
|
5191
5071
|
var serializeAws_json1_1TaskDefinitionPlacementConstraints = function (input, context) {
|
|
5192
5072
|
return input
|
|
@@ -5209,17 +5089,13 @@ var serializeAws_json1_1TaskFieldList = function (input, context) {
|
|
|
5209
5089
|
});
|
|
5210
5090
|
};
|
|
5211
5091
|
var serializeAws_json1_1TaskOverride = function (input, context) {
|
|
5212
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerOverrides
|
|
5213
|
-
input.containerOverrides !== null && {
|
|
5092
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerOverrides != null && {
|
|
5214
5093
|
containerOverrides: serializeAws_json1_1ContainerOverrides(input.containerOverrides, context),
|
|
5215
|
-
})), (input.cpu
|
|
5216
|
-
input.ephemeralStorage !== null && {
|
|
5094
|
+
})), (input.cpu != null && { cpu: input.cpu })), (input.ephemeralStorage != null && {
|
|
5217
5095
|
ephemeralStorage: serializeAws_json1_1EphemeralStorage(input.ephemeralStorage, context),
|
|
5218
|
-
})), (input.executionRoleArn
|
|
5219
|
-
input.executionRoleArn !== null && { executionRoleArn: input.executionRoleArn })), (input.inferenceAcceleratorOverrides !== undefined &&
|
|
5220
|
-
input.inferenceAcceleratorOverrides !== null && {
|
|
5096
|
+
})), (input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn })), (input.inferenceAcceleratorOverrides != null && {
|
|
5221
5097
|
inferenceAcceleratorOverrides: serializeAws_json1_1InferenceAcceleratorOverrides(input.inferenceAcceleratorOverrides, context),
|
|
5222
|
-
})), (input.memory
|
|
5098
|
+
})), (input.memory != null && { memory: input.memory })), (input.taskRoleArn != null && { taskRoleArn: input.taskRoleArn }));
|
|
5223
5099
|
};
|
|
5224
5100
|
var serializeAws_json1_1TaskSetFieldList = function (input, context) {
|
|
5225
5101
|
return input
|
|
@@ -5232,8 +5108,7 @@ var serializeAws_json1_1TaskSetFieldList = function (input, context) {
|
|
|
5232
5108
|
});
|
|
5233
5109
|
};
|
|
5234
5110
|
var serializeAws_json1_1Tmpfs = function (input, context) {
|
|
5235
|
-
return __assign(__assign(__assign({}, (input.containerPath
|
|
5236
|
-
input.mountOptions !== null && { mountOptions: serializeAws_json1_1StringList(input.mountOptions, context) })), (input.size !== undefined && input.size !== null && { size: input.size }));
|
|
5111
|
+
return __assign(__assign(__assign({}, (input.containerPath != null && { containerPath: input.containerPath })), (input.mountOptions != null && { mountOptions: serializeAws_json1_1StringList(input.mountOptions, context) })), (input.size != null && { size: input.size }));
|
|
5237
5112
|
};
|
|
5238
5113
|
var serializeAws_json1_1TmpfsList = function (input, context) {
|
|
5239
5114
|
return input
|
|
@@ -5246,7 +5121,7 @@ var serializeAws_json1_1TmpfsList = function (input, context) {
|
|
|
5246
5121
|
});
|
|
5247
5122
|
};
|
|
5248
5123
|
var serializeAws_json1_1Ulimit = function (input, context) {
|
|
5249
|
-
return __assign(__assign(__assign({}, (input.hardLimit
|
|
5124
|
+
return __assign(__assign(__assign({}, (input.hardLimit != null && { hardLimit: input.hardLimit })), (input.name != null && { name: input.name })), (input.softLimit != null && { softLimit: input.softLimit }));
|
|
5250
5125
|
};
|
|
5251
5126
|
var serializeAws_json1_1UlimitList = function (input, context) {
|
|
5252
5127
|
return input
|
|
@@ -5259,95 +5134,68 @@ var serializeAws_json1_1UlimitList = function (input, context) {
|
|
|
5259
5134
|
});
|
|
5260
5135
|
};
|
|
5261
5136
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
5262
|
-
return __assign(__assign({}, (input.resourceArn
|
|
5263
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_1TagKeys(input.tagKeys, context) }));
|
|
5137
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeys(input.tagKeys, context) }));
|
|
5264
5138
|
};
|
|
5265
5139
|
var serializeAws_json1_1UpdateCapacityProviderRequest = function (input, context) {
|
|
5266
|
-
return __assign(__assign({}, (input.autoScalingGroupProvider
|
|
5267
|
-
input.autoScalingGroupProvider !== null && {
|
|
5140
|
+
return __assign(__assign({}, (input.autoScalingGroupProvider != null && {
|
|
5268
5141
|
autoScalingGroupProvider: serializeAws_json1_1AutoScalingGroupProviderUpdate(input.autoScalingGroupProvider, context),
|
|
5269
|
-
})), (input.name
|
|
5142
|
+
})), (input.name != null && { name: input.name }));
|
|
5270
5143
|
};
|
|
5271
5144
|
var serializeAws_json1_1UpdateClusterRequest = function (input, context) {
|
|
5272
|
-
return __assign(__assign(__assign({}, (input.cluster
|
|
5273
|
-
input.configuration !== null && {
|
|
5145
|
+
return __assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.configuration != null && {
|
|
5274
5146
|
configuration: serializeAws_json1_1ClusterConfiguration(input.configuration, context),
|
|
5275
|
-
})), (input.settings
|
|
5276
|
-
input.settings !== null && { settings: serializeAws_json1_1ClusterSettings(input.settings, context) }));
|
|
5147
|
+
})), (input.settings != null && { settings: serializeAws_json1_1ClusterSettings(input.settings, context) }));
|
|
5277
5148
|
};
|
|
5278
5149
|
var serializeAws_json1_1UpdateClusterSettingsRequest = function (input, context) {
|
|
5279
|
-
return __assign(__assign({}, (input.cluster
|
|
5280
|
-
input.settings !== null && { settings: serializeAws_json1_1ClusterSettings(input.settings, context) }));
|
|
5150
|
+
return __assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.settings != null && { settings: serializeAws_json1_1ClusterSettings(input.settings, context) }));
|
|
5281
5151
|
};
|
|
5282
5152
|
var serializeAws_json1_1UpdateContainerAgentRequest = function (input, context) {
|
|
5283
|
-
return __assign(__assign({}, (input.cluster
|
|
5284
|
-
input.containerInstance !== null && { containerInstance: input.containerInstance }));
|
|
5153
|
+
return __assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.containerInstance != null && { containerInstance: input.containerInstance }));
|
|
5285
5154
|
};
|
|
5286
5155
|
var serializeAws_json1_1UpdateContainerInstancesStateRequest = function (input, context) {
|
|
5287
|
-
return __assign(__assign(__assign({}, (input.cluster
|
|
5288
|
-
input.containerInstances !== null && {
|
|
5156
|
+
return __assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.containerInstances != null && {
|
|
5289
5157
|
containerInstances: serializeAws_json1_1StringList(input.containerInstances, context),
|
|
5290
|
-
})), (input.status
|
|
5158
|
+
})), (input.status != null && { status: input.status }));
|
|
5291
5159
|
};
|
|
5292
5160
|
var serializeAws_json1_1UpdateServicePrimaryTaskSetRequest = function (input, context) {
|
|
5293
|
-
return __assign(__assign(__assign({}, (input.cluster
|
|
5294
|
-
input.primaryTaskSet !== null && { primaryTaskSet: input.primaryTaskSet })), (input.service !== undefined && input.service !== null && { service: input.service }));
|
|
5161
|
+
return __assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.primaryTaskSet != null && { primaryTaskSet: input.primaryTaskSet })), (input.service != null && { service: input.service }));
|
|
5295
5162
|
};
|
|
5296
5163
|
var serializeAws_json1_1UpdateServiceRequest = function (input, context) {
|
|
5297
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy
|
|
5298
|
-
input.capacityProviderStrategy !== null && {
|
|
5164
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacityProviderStrategy != null && {
|
|
5299
5165
|
capacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.capacityProviderStrategy, context),
|
|
5300
|
-
})), (input.cluster
|
|
5301
|
-
input.deploymentConfiguration !== null && {
|
|
5166
|
+
})), (input.cluster != null && { cluster: input.cluster })), (input.deploymentConfiguration != null && {
|
|
5302
5167
|
deploymentConfiguration: serializeAws_json1_1DeploymentConfiguration(input.deploymentConfiguration, context),
|
|
5303
|
-
})), (input.desiredCount
|
|
5304
|
-
input.enableECSManagedTags !== null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand !== undefined &&
|
|
5305
|
-
input.enableExecuteCommand !== null && { enableExecuteCommand: input.enableExecuteCommand })), (input.forceNewDeployment !== undefined &&
|
|
5306
|
-
input.forceNewDeployment !== null && { forceNewDeployment: input.forceNewDeployment })), (input.healthCheckGracePeriodSeconds !== undefined &&
|
|
5307
|
-
input.healthCheckGracePeriodSeconds !== null && {
|
|
5168
|
+
})), (input.desiredCount != null && { desiredCount: input.desiredCount })), (input.enableECSManagedTags != null && { enableECSManagedTags: input.enableECSManagedTags })), (input.enableExecuteCommand != null && { enableExecuteCommand: input.enableExecuteCommand })), (input.forceNewDeployment != null && { forceNewDeployment: input.forceNewDeployment })), (input.healthCheckGracePeriodSeconds != null && {
|
|
5308
5169
|
healthCheckGracePeriodSeconds: input.healthCheckGracePeriodSeconds,
|
|
5309
|
-
})), (input.loadBalancers
|
|
5310
|
-
input.loadBalancers !== null && {
|
|
5170
|
+
})), (input.loadBalancers != null && {
|
|
5311
5171
|
loadBalancers: serializeAws_json1_1LoadBalancers(input.loadBalancers, context),
|
|
5312
|
-
})), (input.networkConfiguration
|
|
5313
|
-
input.networkConfiguration !== null && {
|
|
5172
|
+
})), (input.networkConfiguration != null && {
|
|
5314
5173
|
networkConfiguration: serializeAws_json1_1NetworkConfiguration(input.networkConfiguration, context),
|
|
5315
|
-
})), (input.placementConstraints
|
|
5316
|
-
input.placementConstraints !== null && {
|
|
5174
|
+
})), (input.placementConstraints != null && {
|
|
5317
5175
|
placementConstraints: serializeAws_json1_1PlacementConstraints(input.placementConstraints, context),
|
|
5318
|
-
})), (input.placementStrategy
|
|
5319
|
-
input.placementStrategy !== null && {
|
|
5176
|
+
})), (input.placementStrategy != null && {
|
|
5320
5177
|
placementStrategy: serializeAws_json1_1PlacementStrategies(input.placementStrategy, context),
|
|
5321
|
-
})), (input.platformVersion
|
|
5322
|
-
input.platformVersion !== null && { platformVersion: input.platformVersion })), (input.propagateTags !== undefined && input.propagateTags !== null && { propagateTags: input.propagateTags })), (input.service !== undefined && input.service !== null && { service: input.service })), (input.serviceRegistries !== undefined &&
|
|
5323
|
-
input.serviceRegistries !== null && {
|
|
5178
|
+
})), (input.platformVersion != null && { platformVersion: input.platformVersion })), (input.propagateTags != null && { propagateTags: input.propagateTags })), (input.service != null && { service: input.service })), (input.serviceRegistries != null && {
|
|
5324
5179
|
serviceRegistries: serializeAws_json1_1ServiceRegistries(input.serviceRegistries, context),
|
|
5325
|
-
})), (input.taskDefinition
|
|
5326
|
-
input.taskDefinition !== null && { taskDefinition: input.taskDefinition }));
|
|
5180
|
+
})), (input.taskDefinition != null && { taskDefinition: input.taskDefinition }));
|
|
5327
5181
|
};
|
|
5328
5182
|
var serializeAws_json1_1UpdateTaskSetRequest = function (input, context) {
|
|
5329
|
-
return __assign(__assign(__assign(__assign({}, (input.cluster
|
|
5330
|
-
input.scale !== null && { scale: serializeAws_json1_1Scale(input.scale, context) })), (input.service !== undefined && input.service !== null && { service: input.service })), (input.taskSet !== undefined && input.taskSet !== null && { taskSet: input.taskSet }));
|
|
5183
|
+
return __assign(__assign(__assign(__assign({}, (input.cluster != null && { cluster: input.cluster })), (input.scale != null && { scale: serializeAws_json1_1Scale(input.scale, context) })), (input.service != null && { service: input.service })), (input.taskSet != null && { taskSet: input.taskSet }));
|
|
5331
5184
|
};
|
|
5332
5185
|
var serializeAws_json1_1VersionInfo = function (input, context) {
|
|
5333
|
-
return __assign(__assign(__assign({}, (input.agentHash
|
|
5186
|
+
return __assign(__assign(__assign({}, (input.agentHash != null && { agentHash: input.agentHash })), (input.agentVersion != null && { agentVersion: input.agentVersion })), (input.dockerVersion != null && { dockerVersion: input.dockerVersion }));
|
|
5334
5187
|
};
|
|
5335
5188
|
var serializeAws_json1_1Volume = function (input, context) {
|
|
5336
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.dockerVolumeConfiguration
|
|
5337
|
-
input.dockerVolumeConfiguration !== null && {
|
|
5189
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.dockerVolumeConfiguration != null && {
|
|
5338
5190
|
dockerVolumeConfiguration: serializeAws_json1_1DockerVolumeConfiguration(input.dockerVolumeConfiguration, context),
|
|
5339
|
-
})), (input.efsVolumeConfiguration
|
|
5340
|
-
input.efsVolumeConfiguration !== null && {
|
|
5191
|
+
})), (input.efsVolumeConfiguration != null && {
|
|
5341
5192
|
efsVolumeConfiguration: serializeAws_json1_1EFSVolumeConfiguration(input.efsVolumeConfiguration, context),
|
|
5342
|
-
})), (input.fsxWindowsFileServerVolumeConfiguration
|
|
5343
|
-
input.fsxWindowsFileServerVolumeConfiguration !== null && {
|
|
5193
|
+
})), (input.fsxWindowsFileServerVolumeConfiguration != null && {
|
|
5344
5194
|
fsxWindowsFileServerVolumeConfiguration: serializeAws_json1_1FSxWindowsFileServerVolumeConfiguration(input.fsxWindowsFileServerVolumeConfiguration, context),
|
|
5345
|
-
})), (input.host
|
|
5346
|
-
input.host !== null && { host: serializeAws_json1_1HostVolumeProperties(input.host, context) })), (input.name !== undefined && input.name !== null && { name: input.name }));
|
|
5195
|
+
})), (input.host != null && { host: serializeAws_json1_1HostVolumeProperties(input.host, context) })), (input.name != null && { name: input.name }));
|
|
5347
5196
|
};
|
|
5348
5197
|
var serializeAws_json1_1VolumeFrom = function (input, context) {
|
|
5349
|
-
return __assign(__assign({}, (input.readOnly
|
|
5350
|
-
input.sourceContainer !== null && { sourceContainer: input.sourceContainer }));
|
|
5198
|
+
return __assign(__assign({}, (input.readOnly != null && { readOnly: input.readOnly })), (input.sourceContainer != null && { sourceContainer: input.sourceContainer }));
|
|
5351
5199
|
};
|
|
5352
5200
|
var serializeAws_json1_1VolumeFromList = function (input, context) {
|
|
5353
5201
|
return input
|
|
@@ -5376,9 +5224,7 @@ var deserializeAws_json1_1AccessDeniedException = function (output, context) {
|
|
|
5376
5224
|
};
|
|
5377
5225
|
var deserializeAws_json1_1Attachment = function (output, context) {
|
|
5378
5226
|
return {
|
|
5379
|
-
details: output.details
|
|
5380
|
-
? deserializeAws_json1_1AttachmentDetails(output.details, context)
|
|
5381
|
-
: undefined,
|
|
5227
|
+
details: output.details != null ? deserializeAws_json1_1AttachmentDetails(output.details, context) : undefined,
|
|
5382
5228
|
id: __expectString(output.id),
|
|
5383
5229
|
status: __expectString(output.status),
|
|
5384
5230
|
type: __expectString(output.type),
|
|
@@ -5433,21 +5279,15 @@ var deserializeAws_json1_1Attributes = function (output, context) {
|
|
|
5433
5279
|
var deserializeAws_json1_1AutoScalingGroupProvider = function (output, context) {
|
|
5434
5280
|
return {
|
|
5435
5281
|
autoScalingGroupArn: __expectString(output.autoScalingGroupArn),
|
|
5436
|
-
managedScaling: output.managedScaling
|
|
5437
|
-
? deserializeAws_json1_1ManagedScaling(output.managedScaling, context)
|
|
5438
|
-
: undefined,
|
|
5282
|
+
managedScaling: output.managedScaling != null ? deserializeAws_json1_1ManagedScaling(output.managedScaling, context) : undefined,
|
|
5439
5283
|
managedTerminationProtection: __expectString(output.managedTerminationProtection),
|
|
5440
5284
|
};
|
|
5441
5285
|
};
|
|
5442
5286
|
var deserializeAws_json1_1AwsVpcConfiguration = function (output, context) {
|
|
5443
5287
|
return {
|
|
5444
5288
|
assignPublicIp: __expectString(output.assignPublicIp),
|
|
5445
|
-
securityGroups: output.securityGroups
|
|
5446
|
-
|
|
5447
|
-
: undefined,
|
|
5448
|
-
subnets: output.subnets !== undefined && output.subnets !== null
|
|
5449
|
-
? deserializeAws_json1_1StringList(output.subnets, context)
|
|
5450
|
-
: undefined,
|
|
5289
|
+
securityGroups: output.securityGroups != null ? deserializeAws_json1_1StringList(output.securityGroups, context) : undefined,
|
|
5290
|
+
subnets: output.subnets != null ? deserializeAws_json1_1StringList(output.subnets, context) : undefined,
|
|
5451
5291
|
};
|
|
5452
5292
|
};
|
|
5453
5293
|
var deserializeAws_json1_1BlockedException = function (output, context) {
|
|
@@ -5457,13 +5297,13 @@ var deserializeAws_json1_1BlockedException = function (output, context) {
|
|
|
5457
5297
|
};
|
|
5458
5298
|
var deserializeAws_json1_1CapacityProvider = function (output, context) {
|
|
5459
5299
|
return {
|
|
5460
|
-
autoScalingGroupProvider: output.autoScalingGroupProvider
|
|
5300
|
+
autoScalingGroupProvider: output.autoScalingGroupProvider != null
|
|
5461
5301
|
? deserializeAws_json1_1AutoScalingGroupProvider(output.autoScalingGroupProvider, context)
|
|
5462
5302
|
: undefined,
|
|
5463
5303
|
capacityProviderArn: __expectString(output.capacityProviderArn),
|
|
5464
5304
|
name: __expectString(output.name),
|
|
5465
5305
|
status: __expectString(output.status),
|
|
5466
|
-
tags: output.tags
|
|
5306
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
5467
5307
|
updateStatus: __expectString(output.updateStatus),
|
|
5468
5308
|
updateStatusReason: __expectString(output.updateStatusReason),
|
|
5469
5309
|
};
|
|
@@ -5505,37 +5345,31 @@ var deserializeAws_json1_1ClientException = function (output, context) {
|
|
|
5505
5345
|
var deserializeAws_json1_1Cluster = function (output, context) {
|
|
5506
5346
|
return {
|
|
5507
5347
|
activeServicesCount: __expectInt32(output.activeServicesCount),
|
|
5508
|
-
attachments: output.attachments
|
|
5509
|
-
? deserializeAws_json1_1Attachments(output.attachments, context)
|
|
5510
|
-
: undefined,
|
|
5348
|
+
attachments: output.attachments != null ? deserializeAws_json1_1Attachments(output.attachments, context) : undefined,
|
|
5511
5349
|
attachmentsStatus: __expectString(output.attachmentsStatus),
|
|
5512
|
-
capacityProviders: output.capacityProviders
|
|
5350
|
+
capacityProviders: output.capacityProviders != null
|
|
5513
5351
|
? deserializeAws_json1_1StringList(output.capacityProviders, context)
|
|
5514
5352
|
: undefined,
|
|
5515
5353
|
clusterArn: __expectString(output.clusterArn),
|
|
5516
5354
|
clusterName: __expectString(output.clusterName),
|
|
5517
|
-
configuration: output.configuration
|
|
5355
|
+
configuration: output.configuration != null
|
|
5518
5356
|
? deserializeAws_json1_1ClusterConfiguration(output.configuration, context)
|
|
5519
5357
|
: undefined,
|
|
5520
|
-
defaultCapacityProviderStrategy: output.defaultCapacityProviderStrategy
|
|
5358
|
+
defaultCapacityProviderStrategy: output.defaultCapacityProviderStrategy != null
|
|
5521
5359
|
? deserializeAws_json1_1CapacityProviderStrategy(output.defaultCapacityProviderStrategy, context)
|
|
5522
5360
|
: undefined,
|
|
5523
5361
|
pendingTasksCount: __expectInt32(output.pendingTasksCount),
|
|
5524
5362
|
registeredContainerInstancesCount: __expectInt32(output.registeredContainerInstancesCount),
|
|
5525
5363
|
runningTasksCount: __expectInt32(output.runningTasksCount),
|
|
5526
|
-
settings: output.settings
|
|
5527
|
-
|
|
5528
|
-
: undefined,
|
|
5529
|
-
statistics: output.statistics !== undefined && output.statistics !== null
|
|
5530
|
-
? deserializeAws_json1_1Statistics(output.statistics, context)
|
|
5531
|
-
: undefined,
|
|
5364
|
+
settings: output.settings != null ? deserializeAws_json1_1ClusterSettings(output.settings, context) : undefined,
|
|
5365
|
+
statistics: output.statistics != null ? deserializeAws_json1_1Statistics(output.statistics, context) : undefined,
|
|
5532
5366
|
status: __expectString(output.status),
|
|
5533
|
-
tags: output.tags
|
|
5367
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
5534
5368
|
};
|
|
5535
5369
|
};
|
|
5536
5370
|
var deserializeAws_json1_1ClusterConfiguration = function (output, context) {
|
|
5537
5371
|
return {
|
|
5538
|
-
executeCommandConfiguration: output.executeCommandConfiguration
|
|
5372
|
+
executeCommandConfiguration: output.executeCommandConfiguration != null
|
|
5539
5373
|
? deserializeAws_json1_1ExecuteCommandConfiguration(output.executeCommandConfiguration, context)
|
|
5540
5374
|
: undefined,
|
|
5541
5375
|
};
|
|
@@ -5604,23 +5438,19 @@ var deserializeAws_json1_1Container = function (output, context) {
|
|
|
5604
5438
|
containerArn: __expectString(output.containerArn),
|
|
5605
5439
|
cpu: __expectString(output.cpu),
|
|
5606
5440
|
exitCode: __expectInt32(output.exitCode),
|
|
5607
|
-
gpuIds: output.gpuIds
|
|
5608
|
-
? deserializeAws_json1_1GpuIds(output.gpuIds, context)
|
|
5609
|
-
: undefined,
|
|
5441
|
+
gpuIds: output.gpuIds != null ? deserializeAws_json1_1GpuIds(output.gpuIds, context) : undefined,
|
|
5610
5442
|
healthStatus: __expectString(output.healthStatus),
|
|
5611
5443
|
image: __expectString(output.image),
|
|
5612
5444
|
imageDigest: __expectString(output.imageDigest),
|
|
5613
5445
|
lastStatus: __expectString(output.lastStatus),
|
|
5614
|
-
managedAgents: output.managedAgents
|
|
5615
|
-
? deserializeAws_json1_1ManagedAgents(output.managedAgents, context)
|
|
5616
|
-
: undefined,
|
|
5446
|
+
managedAgents: output.managedAgents != null ? deserializeAws_json1_1ManagedAgents(output.managedAgents, context) : undefined,
|
|
5617
5447
|
memory: __expectString(output.memory),
|
|
5618
5448
|
memoryReservation: __expectString(output.memoryReservation),
|
|
5619
5449
|
name: __expectString(output.name),
|
|
5620
|
-
networkBindings: output.networkBindings
|
|
5450
|
+
networkBindings: output.networkBindings != null
|
|
5621
5451
|
? deserializeAws_json1_1NetworkBindings(output.networkBindings, context)
|
|
5622
5452
|
: undefined,
|
|
5623
|
-
networkInterfaces: output.networkInterfaces
|
|
5453
|
+
networkInterfaces: output.networkInterfaces != null
|
|
5624
5454
|
? deserializeAws_json1_1NetworkInterfaces(output.networkInterfaces, context)
|
|
5625
5455
|
: undefined,
|
|
5626
5456
|
reason: __expectString(output.reason),
|
|
@@ -5630,90 +5460,58 @@ var deserializeAws_json1_1Container = function (output, context) {
|
|
|
5630
5460
|
};
|
|
5631
5461
|
var deserializeAws_json1_1ContainerDefinition = function (output, context) {
|
|
5632
5462
|
return {
|
|
5633
|
-
command: output.command
|
|
5634
|
-
? deserializeAws_json1_1StringList(output.command, context)
|
|
5635
|
-
: undefined,
|
|
5463
|
+
command: output.command != null ? deserializeAws_json1_1StringList(output.command, context) : undefined,
|
|
5636
5464
|
cpu: __expectInt32(output.cpu),
|
|
5637
|
-
dependsOn: output.dependsOn
|
|
5638
|
-
? deserializeAws_json1_1ContainerDependencies(output.dependsOn, context)
|
|
5639
|
-
: undefined,
|
|
5465
|
+
dependsOn: output.dependsOn != null ? deserializeAws_json1_1ContainerDependencies(output.dependsOn, context) : undefined,
|
|
5640
5466
|
disableNetworking: __expectBoolean(output.disableNetworking),
|
|
5641
|
-
dnsSearchDomains: output.dnsSearchDomains
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
? deserializeAws_json1_1StringList(output.dnsServers, context)
|
|
5646
|
-
: undefined,
|
|
5647
|
-
dockerLabels: output.dockerLabels !== undefined && output.dockerLabels !== null
|
|
5648
|
-
? deserializeAws_json1_1DockerLabelsMap(output.dockerLabels, context)
|
|
5649
|
-
: undefined,
|
|
5650
|
-
dockerSecurityOptions: output.dockerSecurityOptions !== undefined && output.dockerSecurityOptions !== null
|
|
5467
|
+
dnsSearchDomains: output.dnsSearchDomains != null ? deserializeAws_json1_1StringList(output.dnsSearchDomains, context) : undefined,
|
|
5468
|
+
dnsServers: output.dnsServers != null ? deserializeAws_json1_1StringList(output.dnsServers, context) : undefined,
|
|
5469
|
+
dockerLabels: output.dockerLabels != null ? deserializeAws_json1_1DockerLabelsMap(output.dockerLabels, context) : undefined,
|
|
5470
|
+
dockerSecurityOptions: output.dockerSecurityOptions != null
|
|
5651
5471
|
? deserializeAws_json1_1StringList(output.dockerSecurityOptions, context)
|
|
5652
5472
|
: undefined,
|
|
5653
|
-
entryPoint: output.entryPoint
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
environment: output.environment !== undefined && output.environment !== null
|
|
5657
|
-
? deserializeAws_json1_1EnvironmentVariables(output.environment, context)
|
|
5658
|
-
: undefined,
|
|
5659
|
-
environmentFiles: output.environmentFiles !== undefined && output.environmentFiles !== null
|
|
5473
|
+
entryPoint: output.entryPoint != null ? deserializeAws_json1_1StringList(output.entryPoint, context) : undefined,
|
|
5474
|
+
environment: output.environment != null ? deserializeAws_json1_1EnvironmentVariables(output.environment, context) : undefined,
|
|
5475
|
+
environmentFiles: output.environmentFiles != null
|
|
5660
5476
|
? deserializeAws_json1_1EnvironmentFiles(output.environmentFiles, context)
|
|
5661
5477
|
: undefined,
|
|
5662
5478
|
essential: __expectBoolean(output.essential),
|
|
5663
|
-
extraHosts: output.extraHosts
|
|
5664
|
-
|
|
5665
|
-
: undefined,
|
|
5666
|
-
firelensConfiguration: output.firelensConfiguration !== undefined && output.firelensConfiguration !== null
|
|
5479
|
+
extraHosts: output.extraHosts != null ? deserializeAws_json1_1HostEntryList(output.extraHosts, context) : undefined,
|
|
5480
|
+
firelensConfiguration: output.firelensConfiguration != null
|
|
5667
5481
|
? deserializeAws_json1_1FirelensConfiguration(output.firelensConfiguration, context)
|
|
5668
5482
|
: undefined,
|
|
5669
|
-
healthCheck: output.healthCheck
|
|
5670
|
-
? deserializeAws_json1_1HealthCheck(output.healthCheck, context)
|
|
5671
|
-
: undefined,
|
|
5483
|
+
healthCheck: output.healthCheck != null ? deserializeAws_json1_1HealthCheck(output.healthCheck, context) : undefined,
|
|
5672
5484
|
hostname: __expectString(output.hostname),
|
|
5673
5485
|
image: __expectString(output.image),
|
|
5674
5486
|
interactive: __expectBoolean(output.interactive),
|
|
5675
|
-
links: output.links
|
|
5676
|
-
|
|
5677
|
-
: undefined,
|
|
5678
|
-
linuxParameters: output.linuxParameters !== undefined && output.linuxParameters !== null
|
|
5487
|
+
links: output.links != null ? deserializeAws_json1_1StringList(output.links, context) : undefined,
|
|
5488
|
+
linuxParameters: output.linuxParameters != null
|
|
5679
5489
|
? deserializeAws_json1_1LinuxParameters(output.linuxParameters, context)
|
|
5680
5490
|
: undefined,
|
|
5681
|
-
logConfiguration: output.logConfiguration
|
|
5491
|
+
logConfiguration: output.logConfiguration != null
|
|
5682
5492
|
? deserializeAws_json1_1LogConfiguration(output.logConfiguration, context)
|
|
5683
5493
|
: undefined,
|
|
5684
5494
|
memory: __expectInt32(output.memory),
|
|
5685
5495
|
memoryReservation: __expectInt32(output.memoryReservation),
|
|
5686
|
-
mountPoints: output.mountPoints
|
|
5687
|
-
? deserializeAws_json1_1MountPointList(output.mountPoints, context)
|
|
5688
|
-
: undefined,
|
|
5496
|
+
mountPoints: output.mountPoints != null ? deserializeAws_json1_1MountPointList(output.mountPoints, context) : undefined,
|
|
5689
5497
|
name: __expectString(output.name),
|
|
5690
|
-
portMappings: output.portMappings
|
|
5691
|
-
? deserializeAws_json1_1PortMappingList(output.portMappings, context)
|
|
5692
|
-
: undefined,
|
|
5498
|
+
portMappings: output.portMappings != null ? deserializeAws_json1_1PortMappingList(output.portMappings, context) : undefined,
|
|
5693
5499
|
privileged: __expectBoolean(output.privileged),
|
|
5694
5500
|
pseudoTerminal: __expectBoolean(output.pseudoTerminal),
|
|
5695
5501
|
readonlyRootFilesystem: __expectBoolean(output.readonlyRootFilesystem),
|
|
5696
|
-
repositoryCredentials: output.repositoryCredentials
|
|
5502
|
+
repositoryCredentials: output.repositoryCredentials != null
|
|
5697
5503
|
? deserializeAws_json1_1RepositoryCredentials(output.repositoryCredentials, context)
|
|
5698
5504
|
: undefined,
|
|
5699
|
-
resourceRequirements: output.resourceRequirements
|
|
5505
|
+
resourceRequirements: output.resourceRequirements != null
|
|
5700
5506
|
? deserializeAws_json1_1ResourceRequirements(output.resourceRequirements, context)
|
|
5701
5507
|
: undefined,
|
|
5702
|
-
secrets: output.secrets
|
|
5703
|
-
? deserializeAws_json1_1SecretList(output.secrets, context)
|
|
5704
|
-
: undefined,
|
|
5508
|
+
secrets: output.secrets != null ? deserializeAws_json1_1SecretList(output.secrets, context) : undefined,
|
|
5705
5509
|
startTimeout: __expectInt32(output.startTimeout),
|
|
5706
5510
|
stopTimeout: __expectInt32(output.stopTimeout),
|
|
5707
|
-
systemControls: output.systemControls
|
|
5708
|
-
|
|
5709
|
-
: undefined,
|
|
5710
|
-
ulimits: output.ulimits !== undefined && output.ulimits !== null
|
|
5711
|
-
? deserializeAws_json1_1UlimitList(output.ulimits, context)
|
|
5712
|
-
: undefined,
|
|
5511
|
+
systemControls: output.systemControls != null ? deserializeAws_json1_1SystemControls(output.systemControls, context) : undefined,
|
|
5512
|
+
ulimits: output.ulimits != null ? deserializeAws_json1_1UlimitList(output.ulimits, context) : undefined,
|
|
5713
5513
|
user: __expectString(output.user),
|
|
5714
|
-
volumesFrom: output.volumesFrom
|
|
5715
|
-
? deserializeAws_json1_1VolumeFromList(output.volumesFrom, context)
|
|
5716
|
-
: undefined,
|
|
5514
|
+
volumesFrom: output.volumesFrom != null ? deserializeAws_json1_1VolumeFromList(output.volumesFrom, context) : undefined,
|
|
5717
5515
|
workingDirectory: __expectString(output.workingDirectory),
|
|
5718
5516
|
};
|
|
5719
5517
|
};
|
|
@@ -5749,43 +5547,35 @@ var deserializeAws_json1_1ContainerInstance = function (output, context) {
|
|
|
5749
5547
|
return {
|
|
5750
5548
|
agentConnected: __expectBoolean(output.agentConnected),
|
|
5751
5549
|
agentUpdateStatus: __expectString(output.agentUpdateStatus),
|
|
5752
|
-
attachments: output.attachments
|
|
5753
|
-
|
|
5754
|
-
: undefined,
|
|
5755
|
-
attributes: output.attributes !== undefined && output.attributes !== null
|
|
5756
|
-
? deserializeAws_json1_1Attributes(output.attributes, context)
|
|
5757
|
-
: undefined,
|
|
5550
|
+
attachments: output.attachments != null ? deserializeAws_json1_1Attachments(output.attachments, context) : undefined,
|
|
5551
|
+
attributes: output.attributes != null ? deserializeAws_json1_1Attributes(output.attributes, context) : undefined,
|
|
5758
5552
|
capacityProviderName: __expectString(output.capacityProviderName),
|
|
5759
5553
|
containerInstanceArn: __expectString(output.containerInstanceArn),
|
|
5760
5554
|
ec2InstanceId: __expectString(output.ec2InstanceId),
|
|
5761
|
-
healthStatus: output.healthStatus
|
|
5555
|
+
healthStatus: output.healthStatus != null
|
|
5762
5556
|
? deserializeAws_json1_1ContainerInstanceHealthStatus(output.healthStatus, context)
|
|
5763
5557
|
: undefined,
|
|
5764
5558
|
pendingTasksCount: __expectInt32(output.pendingTasksCount),
|
|
5765
|
-
registeredAt: output.registeredAt
|
|
5559
|
+
registeredAt: output.registeredAt != null
|
|
5766
5560
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registeredAt)))
|
|
5767
5561
|
: undefined,
|
|
5768
|
-
registeredResources: output.registeredResources
|
|
5562
|
+
registeredResources: output.registeredResources != null
|
|
5769
5563
|
? deserializeAws_json1_1Resources(output.registeredResources, context)
|
|
5770
5564
|
: undefined,
|
|
5771
|
-
remainingResources: output.remainingResources
|
|
5565
|
+
remainingResources: output.remainingResources != null
|
|
5772
5566
|
? deserializeAws_json1_1Resources(output.remainingResources, context)
|
|
5773
5567
|
: undefined,
|
|
5774
5568
|
runningTasksCount: __expectInt32(output.runningTasksCount),
|
|
5775
5569
|
status: __expectString(output.status),
|
|
5776
5570
|
statusReason: __expectString(output.statusReason),
|
|
5777
|
-
tags: output.tags
|
|
5571
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
5778
5572
|
version: __expectLong(output.version),
|
|
5779
|
-
versionInfo: output.versionInfo
|
|
5780
|
-
? deserializeAws_json1_1VersionInfo(output.versionInfo, context)
|
|
5781
|
-
: undefined,
|
|
5573
|
+
versionInfo: output.versionInfo != null ? deserializeAws_json1_1VersionInfo(output.versionInfo, context) : undefined,
|
|
5782
5574
|
};
|
|
5783
5575
|
};
|
|
5784
5576
|
var deserializeAws_json1_1ContainerInstanceHealthStatus = function (output, context) {
|
|
5785
5577
|
return {
|
|
5786
|
-
details: output.details
|
|
5787
|
-
? deserializeAws_json1_1InstanceHealthCheckResultList(output.details, context)
|
|
5788
|
-
: undefined,
|
|
5578
|
+
details: output.details != null ? deserializeAws_json1_1InstanceHealthCheckResultList(output.details, context) : undefined,
|
|
5789
5579
|
overallStatus: __expectString(output.overallStatus),
|
|
5790
5580
|
};
|
|
5791
5581
|
};
|
|
@@ -5802,20 +5592,16 @@ var deserializeAws_json1_1ContainerInstances = function (output, context) {
|
|
|
5802
5592
|
};
|
|
5803
5593
|
var deserializeAws_json1_1ContainerOverride = function (output, context) {
|
|
5804
5594
|
return {
|
|
5805
|
-
command: output.command
|
|
5806
|
-
? deserializeAws_json1_1StringList(output.command, context)
|
|
5807
|
-
: undefined,
|
|
5595
|
+
command: output.command != null ? deserializeAws_json1_1StringList(output.command, context) : undefined,
|
|
5808
5596
|
cpu: __expectInt32(output.cpu),
|
|
5809
|
-
environment: output.environment
|
|
5810
|
-
|
|
5811
|
-
: undefined,
|
|
5812
|
-
environmentFiles: output.environmentFiles !== undefined && output.environmentFiles !== null
|
|
5597
|
+
environment: output.environment != null ? deserializeAws_json1_1EnvironmentVariables(output.environment, context) : undefined,
|
|
5598
|
+
environmentFiles: output.environmentFiles != null
|
|
5813
5599
|
? deserializeAws_json1_1EnvironmentFiles(output.environmentFiles, context)
|
|
5814
5600
|
: undefined,
|
|
5815
5601
|
memory: __expectInt32(output.memory),
|
|
5816
5602
|
memoryReservation: __expectInt32(output.memoryReservation),
|
|
5817
5603
|
name: __expectString(output.name),
|
|
5818
|
-
resourceRequirements: output.resourceRequirements
|
|
5604
|
+
resourceRequirements: output.resourceRequirements != null
|
|
5819
5605
|
? deserializeAws_json1_1ResourceRequirements(output.resourceRequirements, context)
|
|
5820
5606
|
: undefined,
|
|
5821
5607
|
};
|
|
@@ -5844,87 +5630,69 @@ var deserializeAws_json1_1Containers = function (output, context) {
|
|
|
5844
5630
|
};
|
|
5845
5631
|
var deserializeAws_json1_1CreateCapacityProviderResponse = function (output, context) {
|
|
5846
5632
|
return {
|
|
5847
|
-
capacityProvider: output.capacityProvider
|
|
5633
|
+
capacityProvider: output.capacityProvider != null
|
|
5848
5634
|
? deserializeAws_json1_1CapacityProvider(output.capacityProvider, context)
|
|
5849
5635
|
: undefined,
|
|
5850
5636
|
};
|
|
5851
5637
|
};
|
|
5852
5638
|
var deserializeAws_json1_1CreateClusterResponse = function (output, context) {
|
|
5853
5639
|
return {
|
|
5854
|
-
cluster: output.cluster
|
|
5855
|
-
? deserializeAws_json1_1Cluster(output.cluster, context)
|
|
5856
|
-
: undefined,
|
|
5640
|
+
cluster: output.cluster != null ? deserializeAws_json1_1Cluster(output.cluster, context) : undefined,
|
|
5857
5641
|
};
|
|
5858
5642
|
};
|
|
5859
5643
|
var deserializeAws_json1_1CreateServiceResponse = function (output, context) {
|
|
5860
5644
|
return {
|
|
5861
|
-
service: output.service
|
|
5862
|
-
? deserializeAws_json1_1Service(output.service, context)
|
|
5863
|
-
: undefined,
|
|
5645
|
+
service: output.service != null ? deserializeAws_json1_1Service(output.service, context) : undefined,
|
|
5864
5646
|
};
|
|
5865
5647
|
};
|
|
5866
5648
|
var deserializeAws_json1_1CreateTaskSetResponse = function (output, context) {
|
|
5867
5649
|
return {
|
|
5868
|
-
taskSet: output.taskSet
|
|
5869
|
-
? deserializeAws_json1_1TaskSet(output.taskSet, context)
|
|
5870
|
-
: undefined,
|
|
5650
|
+
taskSet: output.taskSet != null ? deserializeAws_json1_1TaskSet(output.taskSet, context) : undefined,
|
|
5871
5651
|
};
|
|
5872
5652
|
};
|
|
5873
5653
|
var deserializeAws_json1_1DeleteAccountSettingResponse = function (output, context) {
|
|
5874
5654
|
return {
|
|
5875
|
-
setting: output.setting
|
|
5876
|
-
? deserializeAws_json1_1Setting(output.setting, context)
|
|
5877
|
-
: undefined,
|
|
5655
|
+
setting: output.setting != null ? deserializeAws_json1_1Setting(output.setting, context) : undefined,
|
|
5878
5656
|
};
|
|
5879
5657
|
};
|
|
5880
5658
|
var deserializeAws_json1_1DeleteAttributesResponse = function (output, context) {
|
|
5881
5659
|
return {
|
|
5882
|
-
attributes: output.attributes
|
|
5883
|
-
? deserializeAws_json1_1Attributes(output.attributes, context)
|
|
5884
|
-
: undefined,
|
|
5660
|
+
attributes: output.attributes != null ? deserializeAws_json1_1Attributes(output.attributes, context) : undefined,
|
|
5885
5661
|
};
|
|
5886
5662
|
};
|
|
5887
5663
|
var deserializeAws_json1_1DeleteCapacityProviderResponse = function (output, context) {
|
|
5888
5664
|
return {
|
|
5889
|
-
capacityProvider: output.capacityProvider
|
|
5665
|
+
capacityProvider: output.capacityProvider != null
|
|
5890
5666
|
? deserializeAws_json1_1CapacityProvider(output.capacityProvider, context)
|
|
5891
5667
|
: undefined,
|
|
5892
5668
|
};
|
|
5893
5669
|
};
|
|
5894
5670
|
var deserializeAws_json1_1DeleteClusterResponse = function (output, context) {
|
|
5895
5671
|
return {
|
|
5896
|
-
cluster: output.cluster
|
|
5897
|
-
? deserializeAws_json1_1Cluster(output.cluster, context)
|
|
5898
|
-
: undefined,
|
|
5672
|
+
cluster: output.cluster != null ? deserializeAws_json1_1Cluster(output.cluster, context) : undefined,
|
|
5899
5673
|
};
|
|
5900
5674
|
};
|
|
5901
5675
|
var deserializeAws_json1_1DeleteServiceResponse = function (output, context) {
|
|
5902
5676
|
return {
|
|
5903
|
-
service: output.service
|
|
5904
|
-
? deserializeAws_json1_1Service(output.service, context)
|
|
5905
|
-
: undefined,
|
|
5677
|
+
service: output.service != null ? deserializeAws_json1_1Service(output.service, context) : undefined,
|
|
5906
5678
|
};
|
|
5907
5679
|
};
|
|
5908
5680
|
var deserializeAws_json1_1DeleteTaskSetResponse = function (output, context) {
|
|
5909
5681
|
return {
|
|
5910
|
-
taskSet: output.taskSet
|
|
5911
|
-
? deserializeAws_json1_1TaskSet(output.taskSet, context)
|
|
5912
|
-
: undefined,
|
|
5682
|
+
taskSet: output.taskSet != null ? deserializeAws_json1_1TaskSet(output.taskSet, context) : undefined,
|
|
5913
5683
|
};
|
|
5914
5684
|
};
|
|
5915
5685
|
var deserializeAws_json1_1Deployment = function (output, context) {
|
|
5916
5686
|
return {
|
|
5917
|
-
capacityProviderStrategy: output.capacityProviderStrategy
|
|
5687
|
+
capacityProviderStrategy: output.capacityProviderStrategy != null
|
|
5918
5688
|
? deserializeAws_json1_1CapacityProviderStrategy(output.capacityProviderStrategy, context)
|
|
5919
5689
|
: undefined,
|
|
5920
|
-
createdAt: output.createdAt
|
|
5921
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
5922
|
-
: undefined,
|
|
5690
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
5923
5691
|
desiredCount: __expectInt32(output.desiredCount),
|
|
5924
5692
|
failedTasks: __expectInt32(output.failedTasks),
|
|
5925
5693
|
id: __expectString(output.id),
|
|
5926
5694
|
launchType: __expectString(output.launchType),
|
|
5927
|
-
networkConfiguration: output.networkConfiguration
|
|
5695
|
+
networkConfiguration: output.networkConfiguration != null
|
|
5928
5696
|
? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
|
|
5929
5697
|
: undefined,
|
|
5930
5698
|
pendingCount: __expectInt32(output.pendingCount),
|
|
@@ -5935,9 +5703,7 @@ var deserializeAws_json1_1Deployment = function (output, context) {
|
|
|
5935
5703
|
runningCount: __expectInt32(output.runningCount),
|
|
5936
5704
|
status: __expectString(output.status),
|
|
5937
5705
|
taskDefinition: __expectString(output.taskDefinition),
|
|
5938
|
-
updatedAt: output.updatedAt
|
|
5939
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updatedAt)))
|
|
5940
|
-
: undefined,
|
|
5706
|
+
updatedAt: output.updatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updatedAt))) : undefined,
|
|
5941
5707
|
};
|
|
5942
5708
|
};
|
|
5943
5709
|
var deserializeAws_json1_1DeploymentCircuitBreaker = function (output, context) {
|
|
@@ -5948,7 +5714,7 @@ var deserializeAws_json1_1DeploymentCircuitBreaker = function (output, context)
|
|
|
5948
5714
|
};
|
|
5949
5715
|
var deserializeAws_json1_1DeploymentConfiguration = function (output, context) {
|
|
5950
5716
|
return {
|
|
5951
|
-
deploymentCircuitBreaker: output.deploymentCircuitBreaker
|
|
5717
|
+
deploymentCircuitBreaker: output.deploymentCircuitBreaker != null
|
|
5952
5718
|
? deserializeAws_json1_1DeploymentCircuitBreaker(output.deploymentCircuitBreaker, context)
|
|
5953
5719
|
: undefined,
|
|
5954
5720
|
maximumPercent: __expectInt32(output.maximumPercent),
|
|
@@ -5973,92 +5739,68 @@ var deserializeAws_json1_1Deployments = function (output, context) {
|
|
|
5973
5739
|
};
|
|
5974
5740
|
var deserializeAws_json1_1DeregisterContainerInstanceResponse = function (output, context) {
|
|
5975
5741
|
return {
|
|
5976
|
-
containerInstance: output.containerInstance
|
|
5742
|
+
containerInstance: output.containerInstance != null
|
|
5977
5743
|
? deserializeAws_json1_1ContainerInstance(output.containerInstance, context)
|
|
5978
5744
|
: undefined,
|
|
5979
5745
|
};
|
|
5980
5746
|
};
|
|
5981
5747
|
var deserializeAws_json1_1DeregisterTaskDefinitionResponse = function (output, context) {
|
|
5982
5748
|
return {
|
|
5983
|
-
taskDefinition: output.taskDefinition
|
|
5984
|
-
? deserializeAws_json1_1TaskDefinition(output.taskDefinition, context)
|
|
5985
|
-
: undefined,
|
|
5749
|
+
taskDefinition: output.taskDefinition != null ? deserializeAws_json1_1TaskDefinition(output.taskDefinition, context) : undefined,
|
|
5986
5750
|
};
|
|
5987
5751
|
};
|
|
5988
5752
|
var deserializeAws_json1_1DescribeCapacityProvidersResponse = function (output, context) {
|
|
5989
5753
|
return {
|
|
5990
|
-
capacityProviders: output.capacityProviders
|
|
5754
|
+
capacityProviders: output.capacityProviders != null
|
|
5991
5755
|
? deserializeAws_json1_1CapacityProviders(output.capacityProviders, context)
|
|
5992
5756
|
: undefined,
|
|
5993
|
-
failures: output.failures
|
|
5994
|
-
? deserializeAws_json1_1Failures(output.failures, context)
|
|
5995
|
-
: undefined,
|
|
5757
|
+
failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
|
|
5996
5758
|
nextToken: __expectString(output.nextToken),
|
|
5997
5759
|
};
|
|
5998
5760
|
};
|
|
5999
5761
|
var deserializeAws_json1_1DescribeClustersResponse = function (output, context) {
|
|
6000
5762
|
return {
|
|
6001
|
-
clusters: output.clusters
|
|
6002
|
-
|
|
6003
|
-
: undefined,
|
|
6004
|
-
failures: output.failures !== undefined && output.failures !== null
|
|
6005
|
-
? deserializeAws_json1_1Failures(output.failures, context)
|
|
6006
|
-
: undefined,
|
|
5763
|
+
clusters: output.clusters != null ? deserializeAws_json1_1Clusters(output.clusters, context) : undefined,
|
|
5764
|
+
failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
|
|
6007
5765
|
};
|
|
6008
5766
|
};
|
|
6009
5767
|
var deserializeAws_json1_1DescribeContainerInstancesResponse = function (output, context) {
|
|
6010
5768
|
return {
|
|
6011
|
-
containerInstances: output.containerInstances
|
|
5769
|
+
containerInstances: output.containerInstances != null
|
|
6012
5770
|
? deserializeAws_json1_1ContainerInstances(output.containerInstances, context)
|
|
6013
5771
|
: undefined,
|
|
6014
|
-
failures: output.failures
|
|
6015
|
-
? deserializeAws_json1_1Failures(output.failures, context)
|
|
6016
|
-
: undefined,
|
|
5772
|
+
failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
|
|
6017
5773
|
};
|
|
6018
5774
|
};
|
|
6019
5775
|
var deserializeAws_json1_1DescribeServicesResponse = function (output, context) {
|
|
6020
5776
|
return {
|
|
6021
|
-
failures: output.failures
|
|
6022
|
-
|
|
6023
|
-
: undefined,
|
|
6024
|
-
services: output.services !== undefined && output.services !== null
|
|
6025
|
-
? deserializeAws_json1_1Services(output.services, context)
|
|
6026
|
-
: undefined,
|
|
5777
|
+
failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
|
|
5778
|
+
services: output.services != null ? deserializeAws_json1_1Services(output.services, context) : undefined,
|
|
6027
5779
|
};
|
|
6028
5780
|
};
|
|
6029
5781
|
var deserializeAws_json1_1DescribeTaskDefinitionResponse = function (output, context) {
|
|
6030
5782
|
return {
|
|
6031
|
-
tags: output.tags
|
|
6032
|
-
taskDefinition: output.taskDefinition
|
|
6033
|
-
? deserializeAws_json1_1TaskDefinition(output.taskDefinition, context)
|
|
6034
|
-
: undefined,
|
|
5783
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
5784
|
+
taskDefinition: output.taskDefinition != null ? deserializeAws_json1_1TaskDefinition(output.taskDefinition, context) : undefined,
|
|
6035
5785
|
};
|
|
6036
5786
|
};
|
|
6037
5787
|
var deserializeAws_json1_1DescribeTaskSetsResponse = function (output, context) {
|
|
6038
5788
|
return {
|
|
6039
|
-
failures: output.failures
|
|
6040
|
-
|
|
6041
|
-
: undefined,
|
|
6042
|
-
taskSets: output.taskSets !== undefined && output.taskSets !== null
|
|
6043
|
-
? deserializeAws_json1_1TaskSets(output.taskSets, context)
|
|
6044
|
-
: undefined,
|
|
5789
|
+
failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
|
|
5790
|
+
taskSets: output.taskSets != null ? deserializeAws_json1_1TaskSets(output.taskSets, context) : undefined,
|
|
6045
5791
|
};
|
|
6046
5792
|
};
|
|
6047
5793
|
var deserializeAws_json1_1DescribeTasksResponse = function (output, context) {
|
|
6048
5794
|
return {
|
|
6049
|
-
failures: output.failures
|
|
6050
|
-
|
|
6051
|
-
: undefined,
|
|
6052
|
-
tasks: output.tasks !== undefined && output.tasks !== null
|
|
6053
|
-
? deserializeAws_json1_1Tasks(output.tasks, context)
|
|
6054
|
-
: undefined,
|
|
5795
|
+
failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
|
|
5796
|
+
tasks: output.tasks != null ? deserializeAws_json1_1Tasks(output.tasks, context) : undefined,
|
|
6055
5797
|
};
|
|
6056
5798
|
};
|
|
6057
5799
|
var deserializeAws_json1_1Device = function (output, context) {
|
|
6058
5800
|
return {
|
|
6059
5801
|
containerPath: __expectString(output.containerPath),
|
|
6060
5802
|
hostPath: __expectString(output.hostPath),
|
|
6061
|
-
permissions: output.permissions
|
|
5803
|
+
permissions: output.permissions != null
|
|
6062
5804
|
? deserializeAws_json1_1DeviceCgroupPermissions(output.permissions, context)
|
|
6063
5805
|
: undefined,
|
|
6064
5806
|
};
|
|
@@ -6105,12 +5847,8 @@ var deserializeAws_json1_1DockerVolumeConfiguration = function (output, context)
|
|
|
6105
5847
|
return {
|
|
6106
5848
|
autoprovision: __expectBoolean(output.autoprovision),
|
|
6107
5849
|
driver: __expectString(output.driver),
|
|
6108
|
-
driverOpts: output.driverOpts
|
|
6109
|
-
|
|
6110
|
-
: undefined,
|
|
6111
|
-
labels: output.labels !== undefined && output.labels !== null
|
|
6112
|
-
? deserializeAws_json1_1StringMap(output.labels, context)
|
|
6113
|
-
: undefined,
|
|
5850
|
+
driverOpts: output.driverOpts != null ? deserializeAws_json1_1StringMap(output.driverOpts, context) : undefined,
|
|
5851
|
+
labels: output.labels != null ? deserializeAws_json1_1StringMap(output.labels, context) : undefined,
|
|
6114
5852
|
scope: __expectString(output.scope),
|
|
6115
5853
|
};
|
|
6116
5854
|
};
|
|
@@ -6122,7 +5860,7 @@ var deserializeAws_json1_1EFSAuthorizationConfig = function (output, context) {
|
|
|
6122
5860
|
};
|
|
6123
5861
|
var deserializeAws_json1_1EFSVolumeConfiguration = function (output, context) {
|
|
6124
5862
|
return {
|
|
6125
|
-
authorizationConfig: output.authorizationConfig
|
|
5863
|
+
authorizationConfig: output.authorizationConfig != null
|
|
6126
5864
|
? deserializeAws_json1_1EFSAuthorizationConfig(output.authorizationConfig, context)
|
|
6127
5865
|
: undefined,
|
|
6128
5866
|
fileSystemId: __expectString(output.fileSystemId),
|
|
@@ -6167,7 +5905,7 @@ var deserializeAws_json1_1EphemeralStorage = function (output, context) {
|
|
|
6167
5905
|
var deserializeAws_json1_1ExecuteCommandConfiguration = function (output, context) {
|
|
6168
5906
|
return {
|
|
6169
5907
|
kmsKeyId: __expectString(output.kmsKeyId),
|
|
6170
|
-
logConfiguration: output.logConfiguration
|
|
5908
|
+
logConfiguration: output.logConfiguration != null
|
|
6171
5909
|
? deserializeAws_json1_1ExecuteCommandLogConfiguration(output.logConfiguration, context)
|
|
6172
5910
|
: undefined,
|
|
6173
5911
|
logging: __expectString(output.logging),
|
|
@@ -6188,9 +5926,7 @@ var deserializeAws_json1_1ExecuteCommandResponse = function (output, context) {
|
|
|
6188
5926
|
containerArn: __expectString(output.containerArn),
|
|
6189
5927
|
containerName: __expectString(output.containerName),
|
|
6190
5928
|
interactive: __expectBoolean(output.interactive),
|
|
6191
|
-
session: output.session
|
|
6192
|
-
? deserializeAws_json1_1Session(output.session, context)
|
|
6193
|
-
: undefined,
|
|
5929
|
+
session: output.session != null ? deserializeAws_json1_1Session(output.session, context) : undefined,
|
|
6194
5930
|
taskArn: __expectString(output.taskArn),
|
|
6195
5931
|
};
|
|
6196
5932
|
};
|
|
@@ -6214,7 +5950,7 @@ var deserializeAws_json1_1Failures = function (output, context) {
|
|
|
6214
5950
|
};
|
|
6215
5951
|
var deserializeAws_json1_1FirelensConfiguration = function (output, context) {
|
|
6216
5952
|
return {
|
|
6217
|
-
options: output.options
|
|
5953
|
+
options: output.options != null
|
|
6218
5954
|
? deserializeAws_json1_1FirelensConfigurationOptionsMap(output.options, context)
|
|
6219
5955
|
: undefined,
|
|
6220
5956
|
type: __expectString(output.type),
|
|
@@ -6238,7 +5974,7 @@ var deserializeAws_json1_1FSxWindowsFileServerAuthorizationConfig = function (ou
|
|
|
6238
5974
|
};
|
|
6239
5975
|
var deserializeAws_json1_1FSxWindowsFileServerVolumeConfiguration = function (output, context) {
|
|
6240
5976
|
return {
|
|
6241
|
-
authorizationConfig: output.authorizationConfig
|
|
5977
|
+
authorizationConfig: output.authorizationConfig != null
|
|
6242
5978
|
? deserializeAws_json1_1FSxWindowsFileServerAuthorizationConfig(output.authorizationConfig, context)
|
|
6243
5979
|
: undefined,
|
|
6244
5980
|
fileSystemId: __expectString(output.fileSystemId),
|
|
@@ -6258,9 +5994,7 @@ var deserializeAws_json1_1GpuIds = function (output, context) {
|
|
|
6258
5994
|
};
|
|
6259
5995
|
var deserializeAws_json1_1HealthCheck = function (output, context) {
|
|
6260
5996
|
return {
|
|
6261
|
-
command: output.command
|
|
6262
|
-
? deserializeAws_json1_1StringList(output.command, context)
|
|
6263
|
-
: undefined,
|
|
5997
|
+
command: output.command != null ? deserializeAws_json1_1StringList(output.command, context) : undefined,
|
|
6264
5998
|
interval: __expectInt32(output.interval),
|
|
6265
5999
|
retries: __expectInt32(output.retries),
|
|
6266
6000
|
startPeriod: __expectInt32(output.startPeriod),
|
|
@@ -6325,10 +6059,10 @@ var deserializeAws_json1_1InferenceAccelerators = function (output, context) {
|
|
|
6325
6059
|
};
|
|
6326
6060
|
var deserializeAws_json1_1InstanceHealthCheckResult = function (output, context) {
|
|
6327
6061
|
return {
|
|
6328
|
-
lastStatusChange: output.lastStatusChange
|
|
6062
|
+
lastStatusChange: output.lastStatusChange != null
|
|
6329
6063
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStatusChange)))
|
|
6330
6064
|
: undefined,
|
|
6331
|
-
lastUpdated: output.lastUpdated
|
|
6065
|
+
lastUpdated: output.lastUpdated != null
|
|
6332
6066
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
6333
6067
|
: undefined,
|
|
6334
6068
|
status: __expectString(output.status),
|
|
@@ -6353,12 +6087,8 @@ var deserializeAws_json1_1InvalidParameterException = function (output, context)
|
|
|
6353
6087
|
};
|
|
6354
6088
|
var deserializeAws_json1_1KernelCapabilities = function (output, context) {
|
|
6355
6089
|
return {
|
|
6356
|
-
add: output.add
|
|
6357
|
-
|
|
6358
|
-
: undefined,
|
|
6359
|
-
drop: output.drop !== undefined && output.drop !== null
|
|
6360
|
-
? deserializeAws_json1_1StringList(output.drop, context)
|
|
6361
|
-
: undefined,
|
|
6090
|
+
add: output.add != null ? deserializeAws_json1_1StringList(output.add, context) : undefined,
|
|
6091
|
+
drop: output.drop != null ? deserializeAws_json1_1StringList(output.drop, context) : undefined,
|
|
6362
6092
|
};
|
|
6363
6093
|
};
|
|
6364
6094
|
var deserializeAws_json1_1KeyValuePair = function (output, context) {
|
|
@@ -6374,48 +6104,36 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
6374
6104
|
};
|
|
6375
6105
|
var deserializeAws_json1_1LinuxParameters = function (output, context) {
|
|
6376
6106
|
return {
|
|
6377
|
-
capabilities: output.capabilities
|
|
6378
|
-
|
|
6379
|
-
: undefined,
|
|
6380
|
-
devices: output.devices !== undefined && output.devices !== null
|
|
6381
|
-
? deserializeAws_json1_1DevicesList(output.devices, context)
|
|
6382
|
-
: undefined,
|
|
6107
|
+
capabilities: output.capabilities != null ? deserializeAws_json1_1KernelCapabilities(output.capabilities, context) : undefined,
|
|
6108
|
+
devices: output.devices != null ? deserializeAws_json1_1DevicesList(output.devices, context) : undefined,
|
|
6383
6109
|
initProcessEnabled: __expectBoolean(output.initProcessEnabled),
|
|
6384
6110
|
maxSwap: __expectInt32(output.maxSwap),
|
|
6385
6111
|
sharedMemorySize: __expectInt32(output.sharedMemorySize),
|
|
6386
6112
|
swappiness: __expectInt32(output.swappiness),
|
|
6387
|
-
tmpfs: output.tmpfs
|
|
6388
|
-
? deserializeAws_json1_1TmpfsList(output.tmpfs, context)
|
|
6389
|
-
: undefined,
|
|
6113
|
+
tmpfs: output.tmpfs != null ? deserializeAws_json1_1TmpfsList(output.tmpfs, context) : undefined,
|
|
6390
6114
|
};
|
|
6391
6115
|
};
|
|
6392
6116
|
var deserializeAws_json1_1ListAccountSettingsResponse = function (output, context) {
|
|
6393
6117
|
return {
|
|
6394
6118
|
nextToken: __expectString(output.nextToken),
|
|
6395
|
-
settings: output.settings
|
|
6396
|
-
? deserializeAws_json1_1Settings(output.settings, context)
|
|
6397
|
-
: undefined,
|
|
6119
|
+
settings: output.settings != null ? deserializeAws_json1_1Settings(output.settings, context) : undefined,
|
|
6398
6120
|
};
|
|
6399
6121
|
};
|
|
6400
6122
|
var deserializeAws_json1_1ListAttributesResponse = function (output, context) {
|
|
6401
6123
|
return {
|
|
6402
|
-
attributes: output.attributes
|
|
6403
|
-
? deserializeAws_json1_1Attributes(output.attributes, context)
|
|
6404
|
-
: undefined,
|
|
6124
|
+
attributes: output.attributes != null ? deserializeAws_json1_1Attributes(output.attributes, context) : undefined,
|
|
6405
6125
|
nextToken: __expectString(output.nextToken),
|
|
6406
6126
|
};
|
|
6407
6127
|
};
|
|
6408
6128
|
var deserializeAws_json1_1ListClustersResponse = function (output, context) {
|
|
6409
6129
|
return {
|
|
6410
|
-
clusterArns: output.clusterArns
|
|
6411
|
-
? deserializeAws_json1_1StringList(output.clusterArns, context)
|
|
6412
|
-
: undefined,
|
|
6130
|
+
clusterArns: output.clusterArns != null ? deserializeAws_json1_1StringList(output.clusterArns, context) : undefined,
|
|
6413
6131
|
nextToken: __expectString(output.nextToken),
|
|
6414
6132
|
};
|
|
6415
6133
|
};
|
|
6416
6134
|
var deserializeAws_json1_1ListContainerInstancesResponse = function (output, context) {
|
|
6417
6135
|
return {
|
|
6418
|
-
containerInstanceArns: output.containerInstanceArns
|
|
6136
|
+
containerInstanceArns: output.containerInstanceArns != null
|
|
6419
6137
|
? deserializeAws_json1_1StringList(output.containerInstanceArns, context)
|
|
6420
6138
|
: undefined,
|
|
6421
6139
|
nextToken: __expectString(output.nextToken),
|
|
@@ -6424,28 +6142,24 @@ var deserializeAws_json1_1ListContainerInstancesResponse = function (output, con
|
|
|
6424
6142
|
var deserializeAws_json1_1ListServicesResponse = function (output, context) {
|
|
6425
6143
|
return {
|
|
6426
6144
|
nextToken: __expectString(output.nextToken),
|
|
6427
|
-
serviceArns: output.serviceArns
|
|
6428
|
-
? deserializeAws_json1_1StringList(output.serviceArns, context)
|
|
6429
|
-
: undefined,
|
|
6145
|
+
serviceArns: output.serviceArns != null ? deserializeAws_json1_1StringList(output.serviceArns, context) : undefined,
|
|
6430
6146
|
};
|
|
6431
6147
|
};
|
|
6432
6148
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
6433
6149
|
return {
|
|
6434
|
-
tags: output.tags
|
|
6150
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
6435
6151
|
};
|
|
6436
6152
|
};
|
|
6437
6153
|
var deserializeAws_json1_1ListTaskDefinitionFamiliesResponse = function (output, context) {
|
|
6438
6154
|
return {
|
|
6439
|
-
families: output.families
|
|
6440
|
-
? deserializeAws_json1_1StringList(output.families, context)
|
|
6441
|
-
: undefined,
|
|
6155
|
+
families: output.families != null ? deserializeAws_json1_1StringList(output.families, context) : undefined,
|
|
6442
6156
|
nextToken: __expectString(output.nextToken),
|
|
6443
6157
|
};
|
|
6444
6158
|
};
|
|
6445
6159
|
var deserializeAws_json1_1ListTaskDefinitionsResponse = function (output, context) {
|
|
6446
6160
|
return {
|
|
6447
6161
|
nextToken: __expectString(output.nextToken),
|
|
6448
|
-
taskDefinitionArns: output.taskDefinitionArns
|
|
6162
|
+
taskDefinitionArns: output.taskDefinitionArns != null
|
|
6449
6163
|
? deserializeAws_json1_1StringList(output.taskDefinitionArns, context)
|
|
6450
6164
|
: undefined,
|
|
6451
6165
|
};
|
|
@@ -6453,9 +6167,7 @@ var deserializeAws_json1_1ListTaskDefinitionsResponse = function (output, contex
|
|
|
6453
6167
|
var deserializeAws_json1_1ListTasksResponse = function (output, context) {
|
|
6454
6168
|
return {
|
|
6455
6169
|
nextToken: __expectString(output.nextToken),
|
|
6456
|
-
taskArns: output.taskArns
|
|
6457
|
-
? deserializeAws_json1_1StringList(output.taskArns, context)
|
|
6458
|
-
: undefined,
|
|
6170
|
+
taskArns: output.taskArns != null ? deserializeAws_json1_1StringList(output.taskArns, context) : undefined,
|
|
6459
6171
|
};
|
|
6460
6172
|
};
|
|
6461
6173
|
var deserializeAws_json1_1LoadBalancer = function (output, context) {
|
|
@@ -6480,12 +6192,8 @@ var deserializeAws_json1_1LoadBalancers = function (output, context) {
|
|
|
6480
6192
|
var deserializeAws_json1_1LogConfiguration = function (output, context) {
|
|
6481
6193
|
return {
|
|
6482
6194
|
logDriver: __expectString(output.logDriver),
|
|
6483
|
-
options: output.options
|
|
6484
|
-
|
|
6485
|
-
: undefined,
|
|
6486
|
-
secretOptions: output.secretOptions !== undefined && output.secretOptions !== null
|
|
6487
|
-
? deserializeAws_json1_1SecretList(output.secretOptions, context)
|
|
6488
|
-
: undefined,
|
|
6195
|
+
options: output.options != null ? deserializeAws_json1_1LogConfigurationOptionsMap(output.options, context) : undefined,
|
|
6196
|
+
secretOptions: output.secretOptions != null ? deserializeAws_json1_1SecretList(output.secretOptions, context) : undefined,
|
|
6489
6197
|
};
|
|
6490
6198
|
};
|
|
6491
6199
|
var deserializeAws_json1_1LogConfigurationOptionsMap = function (output, context) {
|
|
@@ -6500,7 +6208,7 @@ var deserializeAws_json1_1LogConfigurationOptionsMap = function (output, context
|
|
|
6500
6208
|
};
|
|
6501
6209
|
var deserializeAws_json1_1ManagedAgent = function (output, context) {
|
|
6502
6210
|
return {
|
|
6503
|
-
lastStartedAt: output.lastStartedAt
|
|
6211
|
+
lastStartedAt: output.lastStartedAt != null
|
|
6504
6212
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStartedAt)))
|
|
6505
6213
|
: undefined,
|
|
6506
6214
|
lastStatus: __expectString(output.lastStatus),
|
|
@@ -6572,7 +6280,7 @@ var deserializeAws_json1_1NetworkBindings = function (output, context) {
|
|
|
6572
6280
|
};
|
|
6573
6281
|
var deserializeAws_json1_1NetworkConfiguration = function (output, context) {
|
|
6574
6282
|
return {
|
|
6575
|
-
awsvpcConfiguration: output.awsvpcConfiguration
|
|
6283
|
+
awsvpcConfiguration: output.awsvpcConfiguration != null
|
|
6576
6284
|
? deserializeAws_json1_1AwsVpcConfiguration(output.awsvpcConfiguration, context)
|
|
6577
6285
|
: undefined,
|
|
6578
6286
|
};
|
|
@@ -6665,7 +6373,7 @@ var deserializeAws_json1_1PortMappingList = function (output, context) {
|
|
|
6665
6373
|
var deserializeAws_json1_1ProxyConfiguration = function (output, context) {
|
|
6666
6374
|
return {
|
|
6667
6375
|
containerName: __expectString(output.containerName),
|
|
6668
|
-
properties: output.properties
|
|
6376
|
+
properties: output.properties != null
|
|
6669
6377
|
? deserializeAws_json1_1ProxyConfigurationProperties(output.properties, context)
|
|
6670
6378
|
: undefined,
|
|
6671
6379
|
type: __expectString(output.type),
|
|
@@ -6684,45 +6392,35 @@ var deserializeAws_json1_1ProxyConfigurationProperties = function (output, conte
|
|
|
6684
6392
|
};
|
|
6685
6393
|
var deserializeAws_json1_1PutAccountSettingDefaultResponse = function (output, context) {
|
|
6686
6394
|
return {
|
|
6687
|
-
setting: output.setting
|
|
6688
|
-
? deserializeAws_json1_1Setting(output.setting, context)
|
|
6689
|
-
: undefined,
|
|
6395
|
+
setting: output.setting != null ? deserializeAws_json1_1Setting(output.setting, context) : undefined,
|
|
6690
6396
|
};
|
|
6691
6397
|
};
|
|
6692
6398
|
var deserializeAws_json1_1PutAccountSettingResponse = function (output, context) {
|
|
6693
6399
|
return {
|
|
6694
|
-
setting: output.setting
|
|
6695
|
-
? deserializeAws_json1_1Setting(output.setting, context)
|
|
6696
|
-
: undefined,
|
|
6400
|
+
setting: output.setting != null ? deserializeAws_json1_1Setting(output.setting, context) : undefined,
|
|
6697
6401
|
};
|
|
6698
6402
|
};
|
|
6699
6403
|
var deserializeAws_json1_1PutAttributesResponse = function (output, context) {
|
|
6700
6404
|
return {
|
|
6701
|
-
attributes: output.attributes
|
|
6702
|
-
? deserializeAws_json1_1Attributes(output.attributes, context)
|
|
6703
|
-
: undefined,
|
|
6405
|
+
attributes: output.attributes != null ? deserializeAws_json1_1Attributes(output.attributes, context) : undefined,
|
|
6704
6406
|
};
|
|
6705
6407
|
};
|
|
6706
6408
|
var deserializeAws_json1_1PutClusterCapacityProvidersResponse = function (output, context) {
|
|
6707
6409
|
return {
|
|
6708
|
-
cluster: output.cluster
|
|
6709
|
-
? deserializeAws_json1_1Cluster(output.cluster, context)
|
|
6710
|
-
: undefined,
|
|
6410
|
+
cluster: output.cluster != null ? deserializeAws_json1_1Cluster(output.cluster, context) : undefined,
|
|
6711
6411
|
};
|
|
6712
6412
|
};
|
|
6713
6413
|
var deserializeAws_json1_1RegisterContainerInstanceResponse = function (output, context) {
|
|
6714
6414
|
return {
|
|
6715
|
-
containerInstance: output.containerInstance
|
|
6415
|
+
containerInstance: output.containerInstance != null
|
|
6716
6416
|
? deserializeAws_json1_1ContainerInstance(output.containerInstance, context)
|
|
6717
6417
|
: undefined,
|
|
6718
6418
|
};
|
|
6719
6419
|
};
|
|
6720
6420
|
var deserializeAws_json1_1RegisterTaskDefinitionResponse = function (output, context) {
|
|
6721
6421
|
return {
|
|
6722
|
-
tags: output.tags
|
|
6723
|
-
taskDefinition: output.taskDefinition
|
|
6724
|
-
? deserializeAws_json1_1TaskDefinition(output.taskDefinition, context)
|
|
6725
|
-
: undefined,
|
|
6422
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
6423
|
+
taskDefinition: output.taskDefinition != null ? deserializeAws_json1_1TaskDefinition(output.taskDefinition, context) : undefined,
|
|
6726
6424
|
};
|
|
6727
6425
|
};
|
|
6728
6426
|
var deserializeAws_json1_1RepositoryCredentials = function (output, context) {
|
|
@@ -6747,9 +6445,7 @@ var deserializeAws_json1_1Resource = function (output, context) {
|
|
|
6747
6445
|
integerValue: __expectInt32(output.integerValue),
|
|
6748
6446
|
longValue: __expectLong(output.longValue),
|
|
6749
6447
|
name: __expectString(output.name),
|
|
6750
|
-
stringSetValue: output.stringSetValue
|
|
6751
|
-
? deserializeAws_json1_1StringList(output.stringSetValue, context)
|
|
6752
|
-
: undefined,
|
|
6448
|
+
stringSetValue: output.stringSetValue != null ? deserializeAws_json1_1StringList(output.stringSetValue, context) : undefined,
|
|
6753
6449
|
type: __expectString(output.type),
|
|
6754
6450
|
};
|
|
6755
6451
|
};
|
|
@@ -6793,12 +6489,8 @@ var deserializeAws_json1_1Resources = function (output, context) {
|
|
|
6793
6489
|
};
|
|
6794
6490
|
var deserializeAws_json1_1RunTaskResponse = function (output, context) {
|
|
6795
6491
|
return {
|
|
6796
|
-
failures: output.failures
|
|
6797
|
-
|
|
6798
|
-
: undefined,
|
|
6799
|
-
tasks: output.tasks !== undefined && output.tasks !== null
|
|
6800
|
-
? deserializeAws_json1_1Tasks(output.tasks, context)
|
|
6801
|
-
: undefined,
|
|
6492
|
+
failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
|
|
6493
|
+
tasks: output.tasks != null ? deserializeAws_json1_1Tasks(output.tasks, context) : undefined,
|
|
6802
6494
|
};
|
|
6803
6495
|
};
|
|
6804
6496
|
var deserializeAws_json1_1RuntimePlatform = function (output, context) {
|
|
@@ -6837,42 +6529,34 @@ var deserializeAws_json1_1ServerException = function (output, context) {
|
|
|
6837
6529
|
};
|
|
6838
6530
|
var deserializeAws_json1_1Service = function (output, context) {
|
|
6839
6531
|
return {
|
|
6840
|
-
capacityProviderStrategy: output.capacityProviderStrategy
|
|
6532
|
+
capacityProviderStrategy: output.capacityProviderStrategy != null
|
|
6841
6533
|
? deserializeAws_json1_1CapacityProviderStrategy(output.capacityProviderStrategy, context)
|
|
6842
6534
|
: undefined,
|
|
6843
6535
|
clusterArn: __expectString(output.clusterArn),
|
|
6844
|
-
createdAt: output.createdAt
|
|
6845
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6846
|
-
: undefined,
|
|
6536
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6847
6537
|
createdBy: __expectString(output.createdBy),
|
|
6848
|
-
deploymentConfiguration: output.deploymentConfiguration
|
|
6538
|
+
deploymentConfiguration: output.deploymentConfiguration != null
|
|
6849
6539
|
? deserializeAws_json1_1DeploymentConfiguration(output.deploymentConfiguration, context)
|
|
6850
6540
|
: undefined,
|
|
6851
|
-
deploymentController: output.deploymentController
|
|
6541
|
+
deploymentController: output.deploymentController != null
|
|
6852
6542
|
? deserializeAws_json1_1DeploymentController(output.deploymentController, context)
|
|
6853
6543
|
: undefined,
|
|
6854
|
-
deployments: output.deployments
|
|
6855
|
-
? deserializeAws_json1_1Deployments(output.deployments, context)
|
|
6856
|
-
: undefined,
|
|
6544
|
+
deployments: output.deployments != null ? deserializeAws_json1_1Deployments(output.deployments, context) : undefined,
|
|
6857
6545
|
desiredCount: __expectInt32(output.desiredCount),
|
|
6858
6546
|
enableECSManagedTags: __expectBoolean(output.enableECSManagedTags),
|
|
6859
6547
|
enableExecuteCommand: __expectBoolean(output.enableExecuteCommand),
|
|
6860
|
-
events: output.events
|
|
6861
|
-
? deserializeAws_json1_1ServiceEvents(output.events, context)
|
|
6862
|
-
: undefined,
|
|
6548
|
+
events: output.events != null ? deserializeAws_json1_1ServiceEvents(output.events, context) : undefined,
|
|
6863
6549
|
healthCheckGracePeriodSeconds: __expectInt32(output.healthCheckGracePeriodSeconds),
|
|
6864
6550
|
launchType: __expectString(output.launchType),
|
|
6865
|
-
loadBalancers: output.loadBalancers
|
|
6866
|
-
|
|
6867
|
-
: undefined,
|
|
6868
|
-
networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
|
|
6551
|
+
loadBalancers: output.loadBalancers != null ? deserializeAws_json1_1LoadBalancers(output.loadBalancers, context) : undefined,
|
|
6552
|
+
networkConfiguration: output.networkConfiguration != null
|
|
6869
6553
|
? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
|
|
6870
6554
|
: undefined,
|
|
6871
6555
|
pendingCount: __expectInt32(output.pendingCount),
|
|
6872
|
-
placementConstraints: output.placementConstraints
|
|
6556
|
+
placementConstraints: output.placementConstraints != null
|
|
6873
6557
|
? deserializeAws_json1_1PlacementConstraints(output.placementConstraints, context)
|
|
6874
6558
|
: undefined,
|
|
6875
|
-
placementStrategy: output.placementStrategy
|
|
6559
|
+
placementStrategy: output.placementStrategy != null
|
|
6876
6560
|
? deserializeAws_json1_1PlacementStrategies(output.placementStrategy, context)
|
|
6877
6561
|
: undefined,
|
|
6878
6562
|
platformFamily: __expectString(output.platformFamily),
|
|
@@ -6883,22 +6567,18 @@ var deserializeAws_json1_1Service = function (output, context) {
|
|
|
6883
6567
|
schedulingStrategy: __expectString(output.schedulingStrategy),
|
|
6884
6568
|
serviceArn: __expectString(output.serviceArn),
|
|
6885
6569
|
serviceName: __expectString(output.serviceName),
|
|
6886
|
-
serviceRegistries: output.serviceRegistries
|
|
6570
|
+
serviceRegistries: output.serviceRegistries != null
|
|
6887
6571
|
? deserializeAws_json1_1ServiceRegistries(output.serviceRegistries, context)
|
|
6888
6572
|
: undefined,
|
|
6889
6573
|
status: __expectString(output.status),
|
|
6890
|
-
tags: output.tags
|
|
6574
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
6891
6575
|
taskDefinition: __expectString(output.taskDefinition),
|
|
6892
|
-
taskSets: output.taskSets
|
|
6893
|
-
? deserializeAws_json1_1TaskSets(output.taskSets, context)
|
|
6894
|
-
: undefined,
|
|
6576
|
+
taskSets: output.taskSets != null ? deserializeAws_json1_1TaskSets(output.taskSets, context) : undefined,
|
|
6895
6577
|
};
|
|
6896
6578
|
};
|
|
6897
6579
|
var deserializeAws_json1_1ServiceEvent = function (output, context) {
|
|
6898
6580
|
return {
|
|
6899
|
-
createdAt: output.createdAt
|
|
6900
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6901
|
-
: undefined,
|
|
6581
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6902
6582
|
id: __expectString(output.id),
|
|
6903
6583
|
message: __expectString(output.message),
|
|
6904
6584
|
};
|
|
@@ -6981,12 +6661,8 @@ var deserializeAws_json1_1Settings = function (output, context) {
|
|
|
6981
6661
|
};
|
|
6982
6662
|
var deserializeAws_json1_1StartTaskResponse = function (output, context) {
|
|
6983
6663
|
return {
|
|
6984
|
-
failures: output.failures
|
|
6985
|
-
|
|
6986
|
-
: undefined,
|
|
6987
|
-
tasks: output.tasks !== undefined && output.tasks !== null
|
|
6988
|
-
? deserializeAws_json1_1Tasks(output.tasks, context)
|
|
6989
|
-
: undefined,
|
|
6664
|
+
failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
|
|
6665
|
+
tasks: output.tasks != null ? deserializeAws_json1_1Tasks(output.tasks, context) : undefined,
|
|
6990
6666
|
};
|
|
6991
6667
|
};
|
|
6992
6668
|
var deserializeAws_json1_1Statistics = function (output, context) {
|
|
@@ -7002,7 +6678,7 @@ var deserializeAws_json1_1Statistics = function (output, context) {
|
|
|
7002
6678
|
};
|
|
7003
6679
|
var deserializeAws_json1_1StopTaskResponse = function (output, context) {
|
|
7004
6680
|
return {
|
|
7005
|
-
task: output.task
|
|
6681
|
+
task: output.task != null ? deserializeAws_json1_1Task(output.task, context) : undefined,
|
|
7006
6682
|
};
|
|
7007
6683
|
};
|
|
7008
6684
|
var deserializeAws_json1_1StringList = function (output, context) {
|
|
@@ -7090,67 +6766,51 @@ var deserializeAws_json1_1TargetNotFoundException = function (output, context) {
|
|
|
7090
6766
|
};
|
|
7091
6767
|
var deserializeAws_json1_1Task = function (output, context) {
|
|
7092
6768
|
return {
|
|
7093
|
-
attachments: output.attachments
|
|
7094
|
-
|
|
7095
|
-
: undefined,
|
|
7096
|
-
attributes: output.attributes !== undefined && output.attributes !== null
|
|
7097
|
-
? deserializeAws_json1_1Attributes(output.attributes, context)
|
|
7098
|
-
: undefined,
|
|
6769
|
+
attachments: output.attachments != null ? deserializeAws_json1_1Attachments(output.attachments, context) : undefined,
|
|
6770
|
+
attributes: output.attributes != null ? deserializeAws_json1_1Attributes(output.attributes, context) : undefined,
|
|
7099
6771
|
availabilityZone: __expectString(output.availabilityZone),
|
|
7100
6772
|
capacityProviderName: __expectString(output.capacityProviderName),
|
|
7101
6773
|
clusterArn: __expectString(output.clusterArn),
|
|
7102
6774
|
connectivity: __expectString(output.connectivity),
|
|
7103
|
-
connectivityAt: output.connectivityAt
|
|
6775
|
+
connectivityAt: output.connectivityAt != null
|
|
7104
6776
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.connectivityAt)))
|
|
7105
6777
|
: undefined,
|
|
7106
6778
|
containerInstanceArn: __expectString(output.containerInstanceArn),
|
|
7107
|
-
containers: output.containers
|
|
7108
|
-
? deserializeAws_json1_1Containers(output.containers, context)
|
|
7109
|
-
: undefined,
|
|
6779
|
+
containers: output.containers != null ? deserializeAws_json1_1Containers(output.containers, context) : undefined,
|
|
7110
6780
|
cpu: __expectString(output.cpu),
|
|
7111
|
-
createdAt: output.createdAt
|
|
7112
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7113
|
-
: undefined,
|
|
6781
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7114
6782
|
desiredStatus: __expectString(output.desiredStatus),
|
|
7115
6783
|
enableExecuteCommand: __expectBoolean(output.enableExecuteCommand),
|
|
7116
|
-
ephemeralStorage: output.ephemeralStorage
|
|
6784
|
+
ephemeralStorage: output.ephemeralStorage != null
|
|
7117
6785
|
? deserializeAws_json1_1EphemeralStorage(output.ephemeralStorage, context)
|
|
7118
6786
|
: undefined,
|
|
7119
|
-
executionStoppedAt: output.executionStoppedAt
|
|
6787
|
+
executionStoppedAt: output.executionStoppedAt != null
|
|
7120
6788
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.executionStoppedAt)))
|
|
7121
6789
|
: undefined,
|
|
7122
6790
|
group: __expectString(output.group),
|
|
7123
6791
|
healthStatus: __expectString(output.healthStatus),
|
|
7124
|
-
inferenceAccelerators: output.inferenceAccelerators
|
|
6792
|
+
inferenceAccelerators: output.inferenceAccelerators != null
|
|
7125
6793
|
? deserializeAws_json1_1InferenceAccelerators(output.inferenceAccelerators, context)
|
|
7126
6794
|
: undefined,
|
|
7127
6795
|
lastStatus: __expectString(output.lastStatus),
|
|
7128
6796
|
launchType: __expectString(output.launchType),
|
|
7129
6797
|
memory: __expectString(output.memory),
|
|
7130
|
-
overrides: output.overrides
|
|
7131
|
-
? deserializeAws_json1_1TaskOverride(output.overrides, context)
|
|
7132
|
-
: undefined,
|
|
6798
|
+
overrides: output.overrides != null ? deserializeAws_json1_1TaskOverride(output.overrides, context) : undefined,
|
|
7133
6799
|
platformFamily: __expectString(output.platformFamily),
|
|
7134
6800
|
platformVersion: __expectString(output.platformVersion),
|
|
7135
|
-
pullStartedAt: output.pullStartedAt
|
|
6801
|
+
pullStartedAt: output.pullStartedAt != null
|
|
7136
6802
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.pullStartedAt)))
|
|
7137
6803
|
: undefined,
|
|
7138
|
-
pullStoppedAt: output.pullStoppedAt
|
|
6804
|
+
pullStoppedAt: output.pullStoppedAt != null
|
|
7139
6805
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.pullStoppedAt)))
|
|
7140
6806
|
: undefined,
|
|
7141
|
-
startedAt: output.startedAt
|
|
7142
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt)))
|
|
7143
|
-
: undefined,
|
|
6807
|
+
startedAt: output.startedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt))) : undefined,
|
|
7144
6808
|
startedBy: __expectString(output.startedBy),
|
|
7145
6809
|
stopCode: __expectString(output.stopCode),
|
|
7146
|
-
stoppedAt: output.stoppedAt
|
|
7147
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stoppedAt)))
|
|
7148
|
-
: undefined,
|
|
6810
|
+
stoppedAt: output.stoppedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stoppedAt))) : undefined,
|
|
7149
6811
|
stoppedReason: __expectString(output.stoppedReason),
|
|
7150
|
-
stoppingAt: output.stoppingAt
|
|
7151
|
-
|
|
7152
|
-
: undefined,
|
|
7153
|
-
tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
6812
|
+
stoppingAt: output.stoppingAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stoppingAt))) : undefined,
|
|
6813
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
7154
6814
|
taskArn: __expectString(output.taskArn),
|
|
7155
6815
|
taskDefinitionArn: __expectString(output.taskDefinitionArn),
|
|
7156
6816
|
version: __expectLong(output.version),
|
|
@@ -7158,54 +6818,52 @@ var deserializeAws_json1_1Task = function (output, context) {
|
|
|
7158
6818
|
};
|
|
7159
6819
|
var deserializeAws_json1_1TaskDefinition = function (output, context) {
|
|
7160
6820
|
return {
|
|
7161
|
-
compatibilities: output.compatibilities
|
|
6821
|
+
compatibilities: output.compatibilities != null
|
|
7162
6822
|
? deserializeAws_json1_1CompatibilityList(output.compatibilities, context)
|
|
7163
6823
|
: undefined,
|
|
7164
|
-
containerDefinitions: output.containerDefinitions
|
|
6824
|
+
containerDefinitions: output.containerDefinitions != null
|
|
7165
6825
|
? deserializeAws_json1_1ContainerDefinitions(output.containerDefinitions, context)
|
|
7166
6826
|
: undefined,
|
|
7167
6827
|
cpu: __expectString(output.cpu),
|
|
7168
|
-
deregisteredAt: output.deregisteredAt
|
|
6828
|
+
deregisteredAt: output.deregisteredAt != null
|
|
7169
6829
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deregisteredAt)))
|
|
7170
6830
|
: undefined,
|
|
7171
|
-
ephemeralStorage: output.ephemeralStorage
|
|
6831
|
+
ephemeralStorage: output.ephemeralStorage != null
|
|
7172
6832
|
? deserializeAws_json1_1EphemeralStorage(output.ephemeralStorage, context)
|
|
7173
6833
|
: undefined,
|
|
7174
6834
|
executionRoleArn: __expectString(output.executionRoleArn),
|
|
7175
6835
|
family: __expectString(output.family),
|
|
7176
|
-
inferenceAccelerators: output.inferenceAccelerators
|
|
6836
|
+
inferenceAccelerators: output.inferenceAccelerators != null
|
|
7177
6837
|
? deserializeAws_json1_1InferenceAccelerators(output.inferenceAccelerators, context)
|
|
7178
6838
|
: undefined,
|
|
7179
6839
|
ipcMode: __expectString(output.ipcMode),
|
|
7180
6840
|
memory: __expectString(output.memory),
|
|
7181
6841
|
networkMode: __expectString(output.networkMode),
|
|
7182
6842
|
pidMode: __expectString(output.pidMode),
|
|
7183
|
-
placementConstraints: output.placementConstraints
|
|
6843
|
+
placementConstraints: output.placementConstraints != null
|
|
7184
6844
|
? deserializeAws_json1_1TaskDefinitionPlacementConstraints(output.placementConstraints, context)
|
|
7185
6845
|
: undefined,
|
|
7186
|
-
proxyConfiguration: output.proxyConfiguration
|
|
6846
|
+
proxyConfiguration: output.proxyConfiguration != null
|
|
7187
6847
|
? deserializeAws_json1_1ProxyConfiguration(output.proxyConfiguration, context)
|
|
7188
6848
|
: undefined,
|
|
7189
|
-
registeredAt: output.registeredAt
|
|
6849
|
+
registeredAt: output.registeredAt != null
|
|
7190
6850
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.registeredAt)))
|
|
7191
6851
|
: undefined,
|
|
7192
6852
|
registeredBy: __expectString(output.registeredBy),
|
|
7193
|
-
requiresAttributes: output.requiresAttributes
|
|
6853
|
+
requiresAttributes: output.requiresAttributes != null
|
|
7194
6854
|
? deserializeAws_json1_1RequiresAttributes(output.requiresAttributes, context)
|
|
7195
6855
|
: undefined,
|
|
7196
|
-
requiresCompatibilities: output.requiresCompatibilities
|
|
6856
|
+
requiresCompatibilities: output.requiresCompatibilities != null
|
|
7197
6857
|
? deserializeAws_json1_1CompatibilityList(output.requiresCompatibilities, context)
|
|
7198
6858
|
: undefined,
|
|
7199
6859
|
revision: __expectInt32(output.revision),
|
|
7200
|
-
runtimePlatform: output.runtimePlatform
|
|
6860
|
+
runtimePlatform: output.runtimePlatform != null
|
|
7201
6861
|
? deserializeAws_json1_1RuntimePlatform(output.runtimePlatform, context)
|
|
7202
6862
|
: undefined,
|
|
7203
6863
|
status: __expectString(output.status),
|
|
7204
6864
|
taskDefinitionArn: __expectString(output.taskDefinitionArn),
|
|
7205
6865
|
taskRoleArn: __expectString(output.taskRoleArn),
|
|
7206
|
-
volumes: output.volumes
|
|
7207
|
-
? deserializeAws_json1_1VolumeList(output.volumes, context)
|
|
7208
|
-
: undefined,
|
|
6866
|
+
volumes: output.volumes != null ? deserializeAws_json1_1VolumeList(output.volumes, context) : undefined,
|
|
7209
6867
|
};
|
|
7210
6868
|
};
|
|
7211
6869
|
var deserializeAws_json1_1TaskDefinitionPlacementConstraint = function (output, context) {
|
|
@@ -7227,15 +6885,15 @@ var deserializeAws_json1_1TaskDefinitionPlacementConstraints = function (output,
|
|
|
7227
6885
|
};
|
|
7228
6886
|
var deserializeAws_json1_1TaskOverride = function (output, context) {
|
|
7229
6887
|
return {
|
|
7230
|
-
containerOverrides: output.containerOverrides
|
|
6888
|
+
containerOverrides: output.containerOverrides != null
|
|
7231
6889
|
? deserializeAws_json1_1ContainerOverrides(output.containerOverrides, context)
|
|
7232
6890
|
: undefined,
|
|
7233
6891
|
cpu: __expectString(output.cpu),
|
|
7234
|
-
ephemeralStorage: output.ephemeralStorage
|
|
6892
|
+
ephemeralStorage: output.ephemeralStorage != null
|
|
7235
6893
|
? deserializeAws_json1_1EphemeralStorage(output.ephemeralStorage, context)
|
|
7236
6894
|
: undefined,
|
|
7237
6895
|
executionRoleArn: __expectString(output.executionRoleArn),
|
|
7238
|
-
inferenceAcceleratorOverrides: output.inferenceAcceleratorOverrides
|
|
6896
|
+
inferenceAcceleratorOverrides: output.inferenceAcceleratorOverrides != null
|
|
7239
6897
|
? deserializeAws_json1_1InferenceAcceleratorOverrides(output.inferenceAcceleratorOverrides, context)
|
|
7240
6898
|
: undefined,
|
|
7241
6899
|
memory: __expectString(output.memory),
|
|
@@ -7255,46 +6913,38 @@ var deserializeAws_json1_1Tasks = function (output, context) {
|
|
|
7255
6913
|
};
|
|
7256
6914
|
var deserializeAws_json1_1TaskSet = function (output, context) {
|
|
7257
6915
|
return {
|
|
7258
|
-
capacityProviderStrategy: output.capacityProviderStrategy
|
|
6916
|
+
capacityProviderStrategy: output.capacityProviderStrategy != null
|
|
7259
6917
|
? deserializeAws_json1_1CapacityProviderStrategy(output.capacityProviderStrategy, context)
|
|
7260
6918
|
: undefined,
|
|
7261
6919
|
clusterArn: __expectString(output.clusterArn),
|
|
7262
6920
|
computedDesiredCount: __expectInt32(output.computedDesiredCount),
|
|
7263
|
-
createdAt: output.createdAt
|
|
7264
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7265
|
-
: undefined,
|
|
6921
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7266
6922
|
externalId: __expectString(output.externalId),
|
|
7267
6923
|
id: __expectString(output.id),
|
|
7268
6924
|
launchType: __expectString(output.launchType),
|
|
7269
|
-
loadBalancers: output.loadBalancers
|
|
7270
|
-
|
|
7271
|
-
: undefined,
|
|
7272
|
-
networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
|
|
6925
|
+
loadBalancers: output.loadBalancers != null ? deserializeAws_json1_1LoadBalancers(output.loadBalancers, context) : undefined,
|
|
6926
|
+
networkConfiguration: output.networkConfiguration != null
|
|
7273
6927
|
? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
|
|
7274
6928
|
: undefined,
|
|
7275
6929
|
pendingCount: __expectInt32(output.pendingCount),
|
|
7276
6930
|
platformFamily: __expectString(output.platformFamily),
|
|
7277
6931
|
platformVersion: __expectString(output.platformVersion),
|
|
7278
6932
|
runningCount: __expectInt32(output.runningCount),
|
|
7279
|
-
scale: output.scale
|
|
7280
|
-
? deserializeAws_json1_1Scale(output.scale, context)
|
|
7281
|
-
: undefined,
|
|
6933
|
+
scale: output.scale != null ? deserializeAws_json1_1Scale(output.scale, context) : undefined,
|
|
7282
6934
|
serviceArn: __expectString(output.serviceArn),
|
|
7283
|
-
serviceRegistries: output.serviceRegistries
|
|
6935
|
+
serviceRegistries: output.serviceRegistries != null
|
|
7284
6936
|
? deserializeAws_json1_1ServiceRegistries(output.serviceRegistries, context)
|
|
7285
6937
|
: undefined,
|
|
7286
6938
|
stabilityStatus: __expectString(output.stabilityStatus),
|
|
7287
|
-
stabilityStatusAt: output.stabilityStatusAt
|
|
6939
|
+
stabilityStatusAt: output.stabilityStatusAt != null
|
|
7288
6940
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stabilityStatusAt)))
|
|
7289
6941
|
: undefined,
|
|
7290
6942
|
startedBy: __expectString(output.startedBy),
|
|
7291
6943
|
status: __expectString(output.status),
|
|
7292
|
-
tags: output.tags
|
|
6944
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
7293
6945
|
taskDefinition: __expectString(output.taskDefinition),
|
|
7294
6946
|
taskSetArn: __expectString(output.taskSetArn),
|
|
7295
|
-
updatedAt: output.updatedAt
|
|
7296
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updatedAt)))
|
|
7297
|
-
: undefined,
|
|
6947
|
+
updatedAt: output.updatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updatedAt))) : undefined,
|
|
7298
6948
|
};
|
|
7299
6949
|
};
|
|
7300
6950
|
var deserializeAws_json1_1TaskSetNotFoundException = function (output, context) {
|
|
@@ -7316,9 +6966,7 @@ var deserializeAws_json1_1TaskSets = function (output, context) {
|
|
|
7316
6966
|
var deserializeAws_json1_1Tmpfs = function (output, context) {
|
|
7317
6967
|
return {
|
|
7318
6968
|
containerPath: __expectString(output.containerPath),
|
|
7319
|
-
mountOptions: output.mountOptions
|
|
7320
|
-
? deserializeAws_json1_1StringList(output.mountOptions, context)
|
|
7321
|
-
: undefined,
|
|
6969
|
+
mountOptions: output.mountOptions != null ? deserializeAws_json1_1StringList(output.mountOptions, context) : undefined,
|
|
7322
6970
|
size: __expectInt32(output.size),
|
|
7323
6971
|
};
|
|
7324
6972
|
};
|
|
@@ -7361,40 +7009,34 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
7361
7009
|
};
|
|
7362
7010
|
var deserializeAws_json1_1UpdateCapacityProviderResponse = function (output, context) {
|
|
7363
7011
|
return {
|
|
7364
|
-
capacityProvider: output.capacityProvider
|
|
7012
|
+
capacityProvider: output.capacityProvider != null
|
|
7365
7013
|
? deserializeAws_json1_1CapacityProvider(output.capacityProvider, context)
|
|
7366
7014
|
: undefined,
|
|
7367
7015
|
};
|
|
7368
7016
|
};
|
|
7369
7017
|
var deserializeAws_json1_1UpdateClusterResponse = function (output, context) {
|
|
7370
7018
|
return {
|
|
7371
|
-
cluster: output.cluster
|
|
7372
|
-
? deserializeAws_json1_1Cluster(output.cluster, context)
|
|
7373
|
-
: undefined,
|
|
7019
|
+
cluster: output.cluster != null ? deserializeAws_json1_1Cluster(output.cluster, context) : undefined,
|
|
7374
7020
|
};
|
|
7375
7021
|
};
|
|
7376
7022
|
var deserializeAws_json1_1UpdateClusterSettingsResponse = function (output, context) {
|
|
7377
7023
|
return {
|
|
7378
|
-
cluster: output.cluster
|
|
7379
|
-
? deserializeAws_json1_1Cluster(output.cluster, context)
|
|
7380
|
-
: undefined,
|
|
7024
|
+
cluster: output.cluster != null ? deserializeAws_json1_1Cluster(output.cluster, context) : undefined,
|
|
7381
7025
|
};
|
|
7382
7026
|
};
|
|
7383
7027
|
var deserializeAws_json1_1UpdateContainerAgentResponse = function (output, context) {
|
|
7384
7028
|
return {
|
|
7385
|
-
containerInstance: output.containerInstance
|
|
7029
|
+
containerInstance: output.containerInstance != null
|
|
7386
7030
|
? deserializeAws_json1_1ContainerInstance(output.containerInstance, context)
|
|
7387
7031
|
: undefined,
|
|
7388
7032
|
};
|
|
7389
7033
|
};
|
|
7390
7034
|
var deserializeAws_json1_1UpdateContainerInstancesStateResponse = function (output, context) {
|
|
7391
7035
|
return {
|
|
7392
|
-
containerInstances: output.containerInstances
|
|
7036
|
+
containerInstances: output.containerInstances != null
|
|
7393
7037
|
? deserializeAws_json1_1ContainerInstances(output.containerInstances, context)
|
|
7394
7038
|
: undefined,
|
|
7395
|
-
failures: output.failures
|
|
7396
|
-
? deserializeAws_json1_1Failures(output.failures, context)
|
|
7397
|
-
: undefined,
|
|
7039
|
+
failures: output.failures != null ? deserializeAws_json1_1Failures(output.failures, context) : undefined,
|
|
7398
7040
|
};
|
|
7399
7041
|
};
|
|
7400
7042
|
var deserializeAws_json1_1UpdateInProgressException = function (output, context) {
|
|
@@ -7404,23 +7046,17 @@ var deserializeAws_json1_1UpdateInProgressException = function (output, context)
|
|
|
7404
7046
|
};
|
|
7405
7047
|
var deserializeAws_json1_1UpdateServicePrimaryTaskSetResponse = function (output, context) {
|
|
7406
7048
|
return {
|
|
7407
|
-
taskSet: output.taskSet
|
|
7408
|
-
? deserializeAws_json1_1TaskSet(output.taskSet, context)
|
|
7409
|
-
: undefined,
|
|
7049
|
+
taskSet: output.taskSet != null ? deserializeAws_json1_1TaskSet(output.taskSet, context) : undefined,
|
|
7410
7050
|
};
|
|
7411
7051
|
};
|
|
7412
7052
|
var deserializeAws_json1_1UpdateServiceResponse = function (output, context) {
|
|
7413
7053
|
return {
|
|
7414
|
-
service: output.service
|
|
7415
|
-
? deserializeAws_json1_1Service(output.service, context)
|
|
7416
|
-
: undefined,
|
|
7054
|
+
service: output.service != null ? deserializeAws_json1_1Service(output.service, context) : undefined,
|
|
7417
7055
|
};
|
|
7418
7056
|
};
|
|
7419
7057
|
var deserializeAws_json1_1UpdateTaskSetResponse = function (output, context) {
|
|
7420
7058
|
return {
|
|
7421
|
-
taskSet: output.taskSet
|
|
7422
|
-
? deserializeAws_json1_1TaskSet(output.taskSet, context)
|
|
7423
|
-
: undefined,
|
|
7059
|
+
taskSet: output.taskSet != null ? deserializeAws_json1_1TaskSet(output.taskSet, context) : undefined,
|
|
7424
7060
|
};
|
|
7425
7061
|
};
|
|
7426
7062
|
var deserializeAws_json1_1VersionInfo = function (output, context) {
|
|
@@ -7432,19 +7068,16 @@ var deserializeAws_json1_1VersionInfo = function (output, context) {
|
|
|
7432
7068
|
};
|
|
7433
7069
|
var deserializeAws_json1_1Volume = function (output, context) {
|
|
7434
7070
|
return {
|
|
7435
|
-
dockerVolumeConfiguration: output.dockerVolumeConfiguration
|
|
7071
|
+
dockerVolumeConfiguration: output.dockerVolumeConfiguration != null
|
|
7436
7072
|
? deserializeAws_json1_1DockerVolumeConfiguration(output.dockerVolumeConfiguration, context)
|
|
7437
7073
|
: undefined,
|
|
7438
|
-
efsVolumeConfiguration: output.efsVolumeConfiguration
|
|
7074
|
+
efsVolumeConfiguration: output.efsVolumeConfiguration != null
|
|
7439
7075
|
? deserializeAws_json1_1EFSVolumeConfiguration(output.efsVolumeConfiguration, context)
|
|
7440
7076
|
: undefined,
|
|
7441
|
-
fsxWindowsFileServerVolumeConfiguration: output.fsxWindowsFileServerVolumeConfiguration
|
|
7442
|
-
output.fsxWindowsFileServerVolumeConfiguration !== null
|
|
7077
|
+
fsxWindowsFileServerVolumeConfiguration: output.fsxWindowsFileServerVolumeConfiguration != null
|
|
7443
7078
|
? deserializeAws_json1_1FSxWindowsFileServerVolumeConfiguration(output.fsxWindowsFileServerVolumeConfiguration, context)
|
|
7444
7079
|
: undefined,
|
|
7445
|
-
host: output.host
|
|
7446
|
-
? deserializeAws_json1_1HostVolumeProperties(output.host, context)
|
|
7447
|
-
: undefined,
|
|
7080
|
+
host: output.host != null ? deserializeAws_json1_1HostVolumeProperties(output.host, context) : undefined,
|
|
7448
7081
|
name: __expectString(output.name),
|
|
7449
7082
|
};
|
|
7450
7083
|
};
|
|
@@ -7550,5 +7183,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
7550
7183
|
if (data["__type"] !== undefined) {
|
|
7551
7184
|
return sanitizeErrorCode(data["__type"]);
|
|
7552
7185
|
}
|
|
7553
|
-
return "";
|
|
7554
7186
|
};
|