@aws-sdk/client-personalize 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 +641 -740
- package/dist-es/protocols/Aws_json1_1.js +541 -640
- package/package.json +26 -26
|
@@ -682,7 +682,7 @@ export var deserializeAws_json1_1CreateBatchInferenceJobCommand = function (outp
|
|
|
682
682
|
});
|
|
683
683
|
}); };
|
|
684
684
|
var deserializeAws_json1_1CreateBatchInferenceJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
685
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
685
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
686
686
|
var _c;
|
|
687
687
|
return __generator(this, function (_d) {
|
|
688
688
|
switch (_d.label) {
|
|
@@ -692,7 +692,6 @@ var deserializeAws_json1_1CreateBatchInferenceJobCommandError = function (output
|
|
|
692
692
|
return [4, parseBody(output.body, context)];
|
|
693
693
|
case 1:
|
|
694
694
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
695
|
-
errorCode = "UnknownError";
|
|
696
695
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
697
696
|
_b = errorCode;
|
|
698
697
|
switch (_b) {
|
|
@@ -724,10 +723,12 @@ var deserializeAws_json1_1CreateBatchInferenceJobCommandError = function (output
|
|
|
724
723
|
case 13: throw _d.sent();
|
|
725
724
|
case 14:
|
|
726
725
|
parsedBody = parsedOutput.body;
|
|
726
|
+
$metadata = deserializeMetadata(output);
|
|
727
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
727
728
|
response = new __BaseException({
|
|
728
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
729
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
729
730
|
$fault: "client",
|
|
730
|
-
$metadata:
|
|
731
|
+
$metadata: $metadata,
|
|
731
732
|
});
|
|
732
733
|
throw __decorateServiceException(response, parsedBody);
|
|
733
734
|
}
|
|
@@ -752,7 +753,7 @@ export var deserializeAws_json1_1CreateBatchSegmentJobCommand = function (output
|
|
|
752
753
|
});
|
|
753
754
|
}); };
|
|
754
755
|
var deserializeAws_json1_1CreateBatchSegmentJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
755
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
756
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
756
757
|
var _c;
|
|
757
758
|
return __generator(this, function (_d) {
|
|
758
759
|
switch (_d.label) {
|
|
@@ -762,7 +763,6 @@ var deserializeAws_json1_1CreateBatchSegmentJobCommandError = function (output,
|
|
|
762
763
|
return [4, parseBody(output.body, context)];
|
|
763
764
|
case 1:
|
|
764
765
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
765
|
-
errorCode = "UnknownError";
|
|
766
766
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
767
767
|
_b = errorCode;
|
|
768
768
|
switch (_b) {
|
|
@@ -794,10 +794,12 @@ var deserializeAws_json1_1CreateBatchSegmentJobCommandError = function (output,
|
|
|
794
794
|
case 13: throw _d.sent();
|
|
795
795
|
case 14:
|
|
796
796
|
parsedBody = parsedOutput.body;
|
|
797
|
+
$metadata = deserializeMetadata(output);
|
|
798
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
797
799
|
response = new __BaseException({
|
|
798
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
800
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
799
801
|
$fault: "client",
|
|
800
|
-
$metadata:
|
|
802
|
+
$metadata: $metadata,
|
|
801
803
|
});
|
|
802
804
|
throw __decorateServiceException(response, parsedBody);
|
|
803
805
|
}
|
|
@@ -822,7 +824,7 @@ export var deserializeAws_json1_1CreateCampaignCommand = function (output, conte
|
|
|
822
824
|
});
|
|
823
825
|
}); };
|
|
824
826
|
var deserializeAws_json1_1CreateCampaignCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
825
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
827
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
826
828
|
var _c;
|
|
827
829
|
return __generator(this, function (_d) {
|
|
828
830
|
switch (_d.label) {
|
|
@@ -832,7 +834,6 @@ var deserializeAws_json1_1CreateCampaignCommandError = function (output, context
|
|
|
832
834
|
return [4, parseBody(output.body, context)];
|
|
833
835
|
case 1:
|
|
834
836
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
835
|
-
errorCode = "UnknownError";
|
|
836
837
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
837
838
|
_b = errorCode;
|
|
838
839
|
switch (_b) {
|
|
@@ -864,10 +865,12 @@ var deserializeAws_json1_1CreateCampaignCommandError = function (output, context
|
|
|
864
865
|
case 13: throw _d.sent();
|
|
865
866
|
case 14:
|
|
866
867
|
parsedBody = parsedOutput.body;
|
|
868
|
+
$metadata = deserializeMetadata(output);
|
|
869
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
867
870
|
response = new __BaseException({
|
|
868
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
871
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
869
872
|
$fault: "client",
|
|
870
|
-
$metadata:
|
|
873
|
+
$metadata: $metadata,
|
|
871
874
|
});
|
|
872
875
|
throw __decorateServiceException(response, parsedBody);
|
|
873
876
|
}
|
|
@@ -892,7 +895,7 @@ export var deserializeAws_json1_1CreateDatasetCommand = function (output, contex
|
|
|
892
895
|
});
|
|
893
896
|
}); };
|
|
894
897
|
var deserializeAws_json1_1CreateDatasetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
895
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
898
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
896
899
|
var _c;
|
|
897
900
|
return __generator(this, function (_d) {
|
|
898
901
|
switch (_d.label) {
|
|
@@ -902,7 +905,6 @@ var deserializeAws_json1_1CreateDatasetCommandError = function (output, context)
|
|
|
902
905
|
return [4, parseBody(output.body, context)];
|
|
903
906
|
case 1:
|
|
904
907
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
905
|
-
errorCode = "UnknownError";
|
|
906
908
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
907
909
|
_b = errorCode;
|
|
908
910
|
switch (_b) {
|
|
@@ -934,10 +936,12 @@ var deserializeAws_json1_1CreateDatasetCommandError = function (output, context)
|
|
|
934
936
|
case 13: throw _d.sent();
|
|
935
937
|
case 14:
|
|
936
938
|
parsedBody = parsedOutput.body;
|
|
939
|
+
$metadata = deserializeMetadata(output);
|
|
940
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
937
941
|
response = new __BaseException({
|
|
938
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
942
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
939
943
|
$fault: "client",
|
|
940
|
-
$metadata:
|
|
944
|
+
$metadata: $metadata,
|
|
941
945
|
});
|
|
942
946
|
throw __decorateServiceException(response, parsedBody);
|
|
943
947
|
}
|
|
@@ -962,7 +966,7 @@ export var deserializeAws_json1_1CreateDatasetExportJobCommand = function (outpu
|
|
|
962
966
|
});
|
|
963
967
|
}); };
|
|
964
968
|
var deserializeAws_json1_1CreateDatasetExportJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
965
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
969
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
966
970
|
var _c;
|
|
967
971
|
return __generator(this, function (_d) {
|
|
968
972
|
switch (_d.label) {
|
|
@@ -972,7 +976,6 @@ var deserializeAws_json1_1CreateDatasetExportJobCommandError = function (output,
|
|
|
972
976
|
return [4, parseBody(output.body, context)];
|
|
973
977
|
case 1:
|
|
974
978
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
975
|
-
errorCode = "UnknownError";
|
|
976
979
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
977
980
|
_b = errorCode;
|
|
978
981
|
switch (_b) {
|
|
@@ -1004,10 +1007,12 @@ var deserializeAws_json1_1CreateDatasetExportJobCommandError = function (output,
|
|
|
1004
1007
|
case 13: throw _d.sent();
|
|
1005
1008
|
case 14:
|
|
1006
1009
|
parsedBody = parsedOutput.body;
|
|
1010
|
+
$metadata = deserializeMetadata(output);
|
|
1011
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1007
1012
|
response = new __BaseException({
|
|
1008
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1013
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1009
1014
|
$fault: "client",
|
|
1010
|
-
$metadata:
|
|
1015
|
+
$metadata: $metadata,
|
|
1011
1016
|
});
|
|
1012
1017
|
throw __decorateServiceException(response, parsedBody);
|
|
1013
1018
|
}
|
|
@@ -1032,7 +1037,7 @@ export var deserializeAws_json1_1CreateDatasetGroupCommand = function (output, c
|
|
|
1032
1037
|
});
|
|
1033
1038
|
}); };
|
|
1034
1039
|
var deserializeAws_json1_1CreateDatasetGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1035
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1040
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1036
1041
|
var _c;
|
|
1037
1042
|
return __generator(this, function (_d) {
|
|
1038
1043
|
switch (_d.label) {
|
|
@@ -1042,7 +1047,6 @@ var deserializeAws_json1_1CreateDatasetGroupCommandError = function (output, con
|
|
|
1042
1047
|
return [4, parseBody(output.body, context)];
|
|
1043
1048
|
case 1:
|
|
1044
1049
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1045
|
-
errorCode = "UnknownError";
|
|
1046
1050
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1047
1051
|
_b = errorCode;
|
|
1048
1052
|
switch (_b) {
|
|
@@ -1066,10 +1070,12 @@ var deserializeAws_json1_1CreateDatasetGroupCommandError = function (output, con
|
|
|
1066
1070
|
case 9: throw _d.sent();
|
|
1067
1071
|
case 10:
|
|
1068
1072
|
parsedBody = parsedOutput.body;
|
|
1073
|
+
$metadata = deserializeMetadata(output);
|
|
1074
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1069
1075
|
response = new __BaseException({
|
|
1070
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1076
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1071
1077
|
$fault: "client",
|
|
1072
|
-
$metadata:
|
|
1078
|
+
$metadata: $metadata,
|
|
1073
1079
|
});
|
|
1074
1080
|
throw __decorateServiceException(response, parsedBody);
|
|
1075
1081
|
}
|
|
@@ -1094,7 +1100,7 @@ export var deserializeAws_json1_1CreateDatasetImportJobCommand = function (outpu
|
|
|
1094
1100
|
});
|
|
1095
1101
|
}); };
|
|
1096
1102
|
var deserializeAws_json1_1CreateDatasetImportJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1097
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1103
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1098
1104
|
var _c;
|
|
1099
1105
|
return __generator(this, function (_d) {
|
|
1100
1106
|
switch (_d.label) {
|
|
@@ -1104,7 +1110,6 @@ var deserializeAws_json1_1CreateDatasetImportJobCommandError = function (output,
|
|
|
1104
1110
|
return [4, parseBody(output.body, context)];
|
|
1105
1111
|
case 1:
|
|
1106
1112
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1107
|
-
errorCode = "UnknownError";
|
|
1108
1113
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1109
1114
|
_b = errorCode;
|
|
1110
1115
|
switch (_b) {
|
|
@@ -1136,10 +1141,12 @@ var deserializeAws_json1_1CreateDatasetImportJobCommandError = function (output,
|
|
|
1136
1141
|
case 13: throw _d.sent();
|
|
1137
1142
|
case 14:
|
|
1138
1143
|
parsedBody = parsedOutput.body;
|
|
1144
|
+
$metadata = deserializeMetadata(output);
|
|
1145
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1139
1146
|
response = new __BaseException({
|
|
1140
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1147
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1141
1148
|
$fault: "client",
|
|
1142
|
-
$metadata:
|
|
1149
|
+
$metadata: $metadata,
|
|
1143
1150
|
});
|
|
1144
1151
|
throw __decorateServiceException(response, parsedBody);
|
|
1145
1152
|
}
|
|
@@ -1164,7 +1171,7 @@ export var deserializeAws_json1_1CreateEventTrackerCommand = function (output, c
|
|
|
1164
1171
|
});
|
|
1165
1172
|
}); };
|
|
1166
1173
|
var deserializeAws_json1_1CreateEventTrackerCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1167
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1174
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1168
1175
|
var _c;
|
|
1169
1176
|
return __generator(this, function (_d) {
|
|
1170
1177
|
switch (_d.label) {
|
|
@@ -1174,7 +1181,6 @@ var deserializeAws_json1_1CreateEventTrackerCommandError = function (output, con
|
|
|
1174
1181
|
return [4, parseBody(output.body, context)];
|
|
1175
1182
|
case 1:
|
|
1176
1183
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1177
|
-
errorCode = "UnknownError";
|
|
1178
1184
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1179
1185
|
_b = errorCode;
|
|
1180
1186
|
switch (_b) {
|
|
@@ -1206,10 +1212,12 @@ var deserializeAws_json1_1CreateEventTrackerCommandError = function (output, con
|
|
|
1206
1212
|
case 13: throw _d.sent();
|
|
1207
1213
|
case 14:
|
|
1208
1214
|
parsedBody = parsedOutput.body;
|
|
1215
|
+
$metadata = deserializeMetadata(output);
|
|
1216
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1209
1217
|
response = new __BaseException({
|
|
1210
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1218
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1211
1219
|
$fault: "client",
|
|
1212
|
-
$metadata:
|
|
1220
|
+
$metadata: $metadata,
|
|
1213
1221
|
});
|
|
1214
1222
|
throw __decorateServiceException(response, parsedBody);
|
|
1215
1223
|
}
|
|
@@ -1234,7 +1242,7 @@ export var deserializeAws_json1_1CreateFilterCommand = function (output, context
|
|
|
1234
1242
|
});
|
|
1235
1243
|
}); };
|
|
1236
1244
|
var deserializeAws_json1_1CreateFilterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1237
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1245
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1238
1246
|
var _c;
|
|
1239
1247
|
return __generator(this, function (_d) {
|
|
1240
1248
|
switch (_d.label) {
|
|
@@ -1244,7 +1252,6 @@ var deserializeAws_json1_1CreateFilterCommandError = function (output, context)
|
|
|
1244
1252
|
return [4, parseBody(output.body, context)];
|
|
1245
1253
|
case 1:
|
|
1246
1254
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1247
|
-
errorCode = "UnknownError";
|
|
1248
1255
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1249
1256
|
_b = errorCode;
|
|
1250
1257
|
switch (_b) {
|
|
@@ -1272,10 +1279,12 @@ var deserializeAws_json1_1CreateFilterCommandError = function (output, context)
|
|
|
1272
1279
|
case 11: throw _d.sent();
|
|
1273
1280
|
case 12:
|
|
1274
1281
|
parsedBody = parsedOutput.body;
|
|
1282
|
+
$metadata = deserializeMetadata(output);
|
|
1283
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1275
1284
|
response = new __BaseException({
|
|
1276
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1285
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1277
1286
|
$fault: "client",
|
|
1278
|
-
$metadata:
|
|
1287
|
+
$metadata: $metadata,
|
|
1279
1288
|
});
|
|
1280
1289
|
throw __decorateServiceException(response, parsedBody);
|
|
1281
1290
|
}
|
|
@@ -1300,7 +1309,7 @@ export var deserializeAws_json1_1CreateRecommenderCommand = function (output, co
|
|
|
1300
1309
|
});
|
|
1301
1310
|
}); };
|
|
1302
1311
|
var deserializeAws_json1_1CreateRecommenderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1303
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1312
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1304
1313
|
var _c;
|
|
1305
1314
|
return __generator(this, function (_d) {
|
|
1306
1315
|
switch (_d.label) {
|
|
@@ -1310,7 +1319,6 @@ var deserializeAws_json1_1CreateRecommenderCommandError = function (output, cont
|
|
|
1310
1319
|
return [4, parseBody(output.body, context)];
|
|
1311
1320
|
case 1:
|
|
1312
1321
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1313
|
-
errorCode = "UnknownError";
|
|
1314
1322
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1315
1323
|
_b = errorCode;
|
|
1316
1324
|
switch (_b) {
|
|
@@ -1342,10 +1350,12 @@ var deserializeAws_json1_1CreateRecommenderCommandError = function (output, cont
|
|
|
1342
1350
|
case 13: throw _d.sent();
|
|
1343
1351
|
case 14:
|
|
1344
1352
|
parsedBody = parsedOutput.body;
|
|
1353
|
+
$metadata = deserializeMetadata(output);
|
|
1354
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1345
1355
|
response = new __BaseException({
|
|
1346
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1356
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1347
1357
|
$fault: "client",
|
|
1348
|
-
$metadata:
|
|
1358
|
+
$metadata: $metadata,
|
|
1349
1359
|
});
|
|
1350
1360
|
throw __decorateServiceException(response, parsedBody);
|
|
1351
1361
|
}
|
|
@@ -1370,7 +1380,7 @@ export var deserializeAws_json1_1CreateSchemaCommand = function (output, context
|
|
|
1370
1380
|
});
|
|
1371
1381
|
}); };
|
|
1372
1382
|
var deserializeAws_json1_1CreateSchemaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1373
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1383
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1374
1384
|
var _c;
|
|
1375
1385
|
return __generator(this, function (_d) {
|
|
1376
1386
|
switch (_d.label) {
|
|
@@ -1380,7 +1390,6 @@ var deserializeAws_json1_1CreateSchemaCommandError = function (output, context)
|
|
|
1380
1390
|
return [4, parseBody(output.body, context)];
|
|
1381
1391
|
case 1:
|
|
1382
1392
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1383
|
-
errorCode = "UnknownError";
|
|
1384
1393
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1385
1394
|
_b = errorCode;
|
|
1386
1395
|
switch (_b) {
|
|
@@ -1400,10 +1409,12 @@ var deserializeAws_json1_1CreateSchemaCommandError = function (output, context)
|
|
|
1400
1409
|
case 7: throw _d.sent();
|
|
1401
1410
|
case 8:
|
|
1402
1411
|
parsedBody = parsedOutput.body;
|
|
1412
|
+
$metadata = deserializeMetadata(output);
|
|
1413
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1403
1414
|
response = new __BaseException({
|
|
1404
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1415
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1405
1416
|
$fault: "client",
|
|
1406
|
-
$metadata:
|
|
1417
|
+
$metadata: $metadata,
|
|
1407
1418
|
});
|
|
1408
1419
|
throw __decorateServiceException(response, parsedBody);
|
|
1409
1420
|
}
|
|
@@ -1428,7 +1439,7 @@ export var deserializeAws_json1_1CreateSolutionCommand = function (output, conte
|
|
|
1428
1439
|
});
|
|
1429
1440
|
}); };
|
|
1430
1441
|
var deserializeAws_json1_1CreateSolutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1431
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1442
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1432
1443
|
var _c;
|
|
1433
1444
|
return __generator(this, function (_d) {
|
|
1434
1445
|
switch (_d.label) {
|
|
@@ -1438,7 +1449,6 @@ var deserializeAws_json1_1CreateSolutionCommandError = function (output, context
|
|
|
1438
1449
|
return [4, parseBody(output.body, context)];
|
|
1439
1450
|
case 1:
|
|
1440
1451
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1441
|
-
errorCode = "UnknownError";
|
|
1442
1452
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1443
1453
|
_b = errorCode;
|
|
1444
1454
|
switch (_b) {
|
|
@@ -1470,10 +1480,12 @@ var deserializeAws_json1_1CreateSolutionCommandError = function (output, context
|
|
|
1470
1480
|
case 13: throw _d.sent();
|
|
1471
1481
|
case 14:
|
|
1472
1482
|
parsedBody = parsedOutput.body;
|
|
1483
|
+
$metadata = deserializeMetadata(output);
|
|
1484
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1473
1485
|
response = new __BaseException({
|
|
1474
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1486
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1475
1487
|
$fault: "client",
|
|
1476
|
-
$metadata:
|
|
1488
|
+
$metadata: $metadata,
|
|
1477
1489
|
});
|
|
1478
1490
|
throw __decorateServiceException(response, parsedBody);
|
|
1479
1491
|
}
|
|
@@ -1498,7 +1510,7 @@ export var deserializeAws_json1_1CreateSolutionVersionCommand = function (output
|
|
|
1498
1510
|
});
|
|
1499
1511
|
}); };
|
|
1500
1512
|
var deserializeAws_json1_1CreateSolutionVersionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1501
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1513
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1502
1514
|
var _c;
|
|
1503
1515
|
return __generator(this, function (_d) {
|
|
1504
1516
|
switch (_d.label) {
|
|
@@ -1508,7 +1520,6 @@ var deserializeAws_json1_1CreateSolutionVersionCommandError = function (output,
|
|
|
1508
1520
|
return [4, parseBody(output.body, context)];
|
|
1509
1521
|
case 1:
|
|
1510
1522
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1511
|
-
errorCode = "UnknownError";
|
|
1512
1523
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1513
1524
|
_b = errorCode;
|
|
1514
1525
|
switch (_b) {
|
|
@@ -1536,10 +1547,12 @@ var deserializeAws_json1_1CreateSolutionVersionCommandError = function (output,
|
|
|
1536
1547
|
case 11: throw _d.sent();
|
|
1537
1548
|
case 12:
|
|
1538
1549
|
parsedBody = parsedOutput.body;
|
|
1550
|
+
$metadata = deserializeMetadata(output);
|
|
1551
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1539
1552
|
response = new __BaseException({
|
|
1540
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1553
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1541
1554
|
$fault: "client",
|
|
1542
|
-
$metadata:
|
|
1555
|
+
$metadata: $metadata,
|
|
1543
1556
|
});
|
|
1544
1557
|
throw __decorateServiceException(response, parsedBody);
|
|
1545
1558
|
}
|
|
@@ -1564,7 +1577,7 @@ export var deserializeAws_json1_1DeleteCampaignCommand = function (output, conte
|
|
|
1564
1577
|
});
|
|
1565
1578
|
}); };
|
|
1566
1579
|
var deserializeAws_json1_1DeleteCampaignCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1567
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1580
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1568
1581
|
var _c;
|
|
1569
1582
|
return __generator(this, function (_d) {
|
|
1570
1583
|
switch (_d.label) {
|
|
@@ -1574,7 +1587,6 @@ var deserializeAws_json1_1DeleteCampaignCommandError = function (output, context
|
|
|
1574
1587
|
return [4, parseBody(output.body, context)];
|
|
1575
1588
|
case 1:
|
|
1576
1589
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1577
|
-
errorCode = "UnknownError";
|
|
1578
1590
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1579
1591
|
_b = errorCode;
|
|
1580
1592
|
switch (_b) {
|
|
@@ -1594,10 +1606,12 @@ var deserializeAws_json1_1DeleteCampaignCommandError = function (output, context
|
|
|
1594
1606
|
case 7: throw _d.sent();
|
|
1595
1607
|
case 8:
|
|
1596
1608
|
parsedBody = parsedOutput.body;
|
|
1609
|
+
$metadata = deserializeMetadata(output);
|
|
1610
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1597
1611
|
response = new __BaseException({
|
|
1598
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1612
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1599
1613
|
$fault: "client",
|
|
1600
|
-
$metadata:
|
|
1614
|
+
$metadata: $metadata,
|
|
1601
1615
|
});
|
|
1602
1616
|
throw __decorateServiceException(response, parsedBody);
|
|
1603
1617
|
}
|
|
@@ -1622,7 +1636,7 @@ export var deserializeAws_json1_1DeleteDatasetCommand = function (output, contex
|
|
|
1622
1636
|
});
|
|
1623
1637
|
}); };
|
|
1624
1638
|
var deserializeAws_json1_1DeleteDatasetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1625
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1639
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1626
1640
|
var _c;
|
|
1627
1641
|
return __generator(this, function (_d) {
|
|
1628
1642
|
switch (_d.label) {
|
|
@@ -1632,7 +1646,6 @@ var deserializeAws_json1_1DeleteDatasetCommandError = function (output, context)
|
|
|
1632
1646
|
return [4, parseBody(output.body, context)];
|
|
1633
1647
|
case 1:
|
|
1634
1648
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1635
|
-
errorCode = "UnknownError";
|
|
1636
1649
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1637
1650
|
_b = errorCode;
|
|
1638
1651
|
switch (_b) {
|
|
@@ -1652,10 +1665,12 @@ var deserializeAws_json1_1DeleteDatasetCommandError = function (output, context)
|
|
|
1652
1665
|
case 7: throw _d.sent();
|
|
1653
1666
|
case 8:
|
|
1654
1667
|
parsedBody = parsedOutput.body;
|
|
1668
|
+
$metadata = deserializeMetadata(output);
|
|
1669
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1655
1670
|
response = new __BaseException({
|
|
1656
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1671
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1657
1672
|
$fault: "client",
|
|
1658
|
-
$metadata:
|
|
1673
|
+
$metadata: $metadata,
|
|
1659
1674
|
});
|
|
1660
1675
|
throw __decorateServiceException(response, parsedBody);
|
|
1661
1676
|
}
|
|
@@ -1680,7 +1695,7 @@ export var deserializeAws_json1_1DeleteDatasetGroupCommand = function (output, c
|
|
|
1680
1695
|
});
|
|
1681
1696
|
}); };
|
|
1682
1697
|
var deserializeAws_json1_1DeleteDatasetGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1683
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1698
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1684
1699
|
var _c;
|
|
1685
1700
|
return __generator(this, function (_d) {
|
|
1686
1701
|
switch (_d.label) {
|
|
@@ -1690,7 +1705,6 @@ var deserializeAws_json1_1DeleteDatasetGroupCommandError = function (output, con
|
|
|
1690
1705
|
return [4, parseBody(output.body, context)];
|
|
1691
1706
|
case 1:
|
|
1692
1707
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1693
|
-
errorCode = "UnknownError";
|
|
1694
1708
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1695
1709
|
_b = errorCode;
|
|
1696
1710
|
switch (_b) {
|
|
@@ -1710,10 +1724,12 @@ var deserializeAws_json1_1DeleteDatasetGroupCommandError = function (output, con
|
|
|
1710
1724
|
case 7: throw _d.sent();
|
|
1711
1725
|
case 8:
|
|
1712
1726
|
parsedBody = parsedOutput.body;
|
|
1727
|
+
$metadata = deserializeMetadata(output);
|
|
1728
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1713
1729
|
response = new __BaseException({
|
|
1714
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1730
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1715
1731
|
$fault: "client",
|
|
1716
|
-
$metadata:
|
|
1732
|
+
$metadata: $metadata,
|
|
1717
1733
|
});
|
|
1718
1734
|
throw __decorateServiceException(response, parsedBody);
|
|
1719
1735
|
}
|
|
@@ -1738,7 +1754,7 @@ export var deserializeAws_json1_1DeleteEventTrackerCommand = function (output, c
|
|
|
1738
1754
|
});
|
|
1739
1755
|
}); };
|
|
1740
1756
|
var deserializeAws_json1_1DeleteEventTrackerCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1741
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1757
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1742
1758
|
var _c;
|
|
1743
1759
|
return __generator(this, function (_d) {
|
|
1744
1760
|
switch (_d.label) {
|
|
@@ -1748,7 +1764,6 @@ var deserializeAws_json1_1DeleteEventTrackerCommandError = function (output, con
|
|
|
1748
1764
|
return [4, parseBody(output.body, context)];
|
|
1749
1765
|
case 1:
|
|
1750
1766
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1751
|
-
errorCode = "UnknownError";
|
|
1752
1767
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1753
1768
|
_b = errorCode;
|
|
1754
1769
|
switch (_b) {
|
|
@@ -1768,10 +1783,12 @@ var deserializeAws_json1_1DeleteEventTrackerCommandError = function (output, con
|
|
|
1768
1783
|
case 7: throw _d.sent();
|
|
1769
1784
|
case 8:
|
|
1770
1785
|
parsedBody = parsedOutput.body;
|
|
1786
|
+
$metadata = deserializeMetadata(output);
|
|
1787
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1771
1788
|
response = new __BaseException({
|
|
1772
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1789
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1773
1790
|
$fault: "client",
|
|
1774
|
-
$metadata:
|
|
1791
|
+
$metadata: $metadata,
|
|
1775
1792
|
});
|
|
1776
1793
|
throw __decorateServiceException(response, parsedBody);
|
|
1777
1794
|
}
|
|
@@ -1796,7 +1813,7 @@ export var deserializeAws_json1_1DeleteFilterCommand = function (output, context
|
|
|
1796
1813
|
});
|
|
1797
1814
|
}); };
|
|
1798
1815
|
var deserializeAws_json1_1DeleteFilterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1799
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1816
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1800
1817
|
var _c;
|
|
1801
1818
|
return __generator(this, function (_d) {
|
|
1802
1819
|
switch (_d.label) {
|
|
@@ -1806,7 +1823,6 @@ var deserializeAws_json1_1DeleteFilterCommandError = function (output, context)
|
|
|
1806
1823
|
return [4, parseBody(output.body, context)];
|
|
1807
1824
|
case 1:
|
|
1808
1825
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1809
|
-
errorCode = "UnknownError";
|
|
1810
1826
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1811
1827
|
_b = errorCode;
|
|
1812
1828
|
switch (_b) {
|
|
@@ -1826,10 +1842,12 @@ var deserializeAws_json1_1DeleteFilterCommandError = function (output, context)
|
|
|
1826
1842
|
case 7: throw _d.sent();
|
|
1827
1843
|
case 8:
|
|
1828
1844
|
parsedBody = parsedOutput.body;
|
|
1845
|
+
$metadata = deserializeMetadata(output);
|
|
1846
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1829
1847
|
response = new __BaseException({
|
|
1830
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1848
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1831
1849
|
$fault: "client",
|
|
1832
|
-
$metadata:
|
|
1850
|
+
$metadata: $metadata,
|
|
1833
1851
|
});
|
|
1834
1852
|
throw __decorateServiceException(response, parsedBody);
|
|
1835
1853
|
}
|
|
@@ -1854,7 +1872,7 @@ export var deserializeAws_json1_1DeleteRecommenderCommand = function (output, co
|
|
|
1854
1872
|
});
|
|
1855
1873
|
}); };
|
|
1856
1874
|
var deserializeAws_json1_1DeleteRecommenderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1857
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1875
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1858
1876
|
var _c;
|
|
1859
1877
|
return __generator(this, function (_d) {
|
|
1860
1878
|
switch (_d.label) {
|
|
@@ -1864,7 +1882,6 @@ var deserializeAws_json1_1DeleteRecommenderCommandError = function (output, cont
|
|
|
1864
1882
|
return [4, parseBody(output.body, context)];
|
|
1865
1883
|
case 1:
|
|
1866
1884
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1867
|
-
errorCode = "UnknownError";
|
|
1868
1885
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1869
1886
|
_b = errorCode;
|
|
1870
1887
|
switch (_b) {
|
|
@@ -1884,10 +1901,12 @@ var deserializeAws_json1_1DeleteRecommenderCommandError = function (output, cont
|
|
|
1884
1901
|
case 7: throw _d.sent();
|
|
1885
1902
|
case 8:
|
|
1886
1903
|
parsedBody = parsedOutput.body;
|
|
1904
|
+
$metadata = deserializeMetadata(output);
|
|
1905
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1887
1906
|
response = new __BaseException({
|
|
1888
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1907
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1889
1908
|
$fault: "client",
|
|
1890
|
-
$metadata:
|
|
1909
|
+
$metadata: $metadata,
|
|
1891
1910
|
});
|
|
1892
1911
|
throw __decorateServiceException(response, parsedBody);
|
|
1893
1912
|
}
|
|
@@ -1912,7 +1931,7 @@ export var deserializeAws_json1_1DeleteSchemaCommand = function (output, context
|
|
|
1912
1931
|
});
|
|
1913
1932
|
}); };
|
|
1914
1933
|
var deserializeAws_json1_1DeleteSchemaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1915
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1934
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1916
1935
|
var _c;
|
|
1917
1936
|
return __generator(this, function (_d) {
|
|
1918
1937
|
switch (_d.label) {
|
|
@@ -1922,7 +1941,6 @@ var deserializeAws_json1_1DeleteSchemaCommandError = function (output, context)
|
|
|
1922
1941
|
return [4, parseBody(output.body, context)];
|
|
1923
1942
|
case 1:
|
|
1924
1943
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1925
|
-
errorCode = "UnknownError";
|
|
1926
1944
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1927
1945
|
_b = errorCode;
|
|
1928
1946
|
switch (_b) {
|
|
@@ -1942,10 +1960,12 @@ var deserializeAws_json1_1DeleteSchemaCommandError = function (output, context)
|
|
|
1942
1960
|
case 7: throw _d.sent();
|
|
1943
1961
|
case 8:
|
|
1944
1962
|
parsedBody = parsedOutput.body;
|
|
1963
|
+
$metadata = deserializeMetadata(output);
|
|
1964
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1945
1965
|
response = new __BaseException({
|
|
1946
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1966
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1947
1967
|
$fault: "client",
|
|
1948
|
-
$metadata:
|
|
1968
|
+
$metadata: $metadata,
|
|
1949
1969
|
});
|
|
1950
1970
|
throw __decorateServiceException(response, parsedBody);
|
|
1951
1971
|
}
|
|
@@ -1970,7 +1990,7 @@ export var deserializeAws_json1_1DeleteSolutionCommand = function (output, conte
|
|
|
1970
1990
|
});
|
|
1971
1991
|
}); };
|
|
1972
1992
|
var deserializeAws_json1_1DeleteSolutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1973
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1993
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1974
1994
|
var _c;
|
|
1975
1995
|
return __generator(this, function (_d) {
|
|
1976
1996
|
switch (_d.label) {
|
|
@@ -1980,7 +2000,6 @@ var deserializeAws_json1_1DeleteSolutionCommandError = function (output, context
|
|
|
1980
2000
|
return [4, parseBody(output.body, context)];
|
|
1981
2001
|
case 1:
|
|
1982
2002
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1983
|
-
errorCode = "UnknownError";
|
|
1984
2003
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1985
2004
|
_b = errorCode;
|
|
1986
2005
|
switch (_b) {
|
|
@@ -2000,10 +2019,12 @@ var deserializeAws_json1_1DeleteSolutionCommandError = function (output, context
|
|
|
2000
2019
|
case 7: throw _d.sent();
|
|
2001
2020
|
case 8:
|
|
2002
2021
|
parsedBody = parsedOutput.body;
|
|
2022
|
+
$metadata = deserializeMetadata(output);
|
|
2023
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2003
2024
|
response = new __BaseException({
|
|
2004
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2025
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2005
2026
|
$fault: "client",
|
|
2006
|
-
$metadata:
|
|
2027
|
+
$metadata: $metadata,
|
|
2007
2028
|
});
|
|
2008
2029
|
throw __decorateServiceException(response, parsedBody);
|
|
2009
2030
|
}
|
|
@@ -2028,7 +2049,7 @@ export var deserializeAws_json1_1DescribeAlgorithmCommand = function (output, co
|
|
|
2028
2049
|
});
|
|
2029
2050
|
}); };
|
|
2030
2051
|
var deserializeAws_json1_1DescribeAlgorithmCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2031
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2052
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2032
2053
|
var _c;
|
|
2033
2054
|
return __generator(this, function (_d) {
|
|
2034
2055
|
switch (_d.label) {
|
|
@@ -2038,7 +2059,6 @@ var deserializeAws_json1_1DescribeAlgorithmCommandError = function (output, cont
|
|
|
2038
2059
|
return [4, parseBody(output.body, context)];
|
|
2039
2060
|
case 1:
|
|
2040
2061
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2041
|
-
errorCode = "UnknownError";
|
|
2042
2062
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2043
2063
|
_b = errorCode;
|
|
2044
2064
|
switch (_b) {
|
|
@@ -2054,10 +2074,12 @@ var deserializeAws_json1_1DescribeAlgorithmCommandError = function (output, cont
|
|
|
2054
2074
|
case 5: throw _d.sent();
|
|
2055
2075
|
case 6:
|
|
2056
2076
|
parsedBody = parsedOutput.body;
|
|
2077
|
+
$metadata = deserializeMetadata(output);
|
|
2078
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2057
2079
|
response = new __BaseException({
|
|
2058
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2080
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2059
2081
|
$fault: "client",
|
|
2060
|
-
$metadata:
|
|
2082
|
+
$metadata: $metadata,
|
|
2061
2083
|
});
|
|
2062
2084
|
throw __decorateServiceException(response, parsedBody);
|
|
2063
2085
|
}
|
|
@@ -2082,7 +2104,7 @@ export var deserializeAws_json1_1DescribeBatchInferenceJobCommand = function (ou
|
|
|
2082
2104
|
});
|
|
2083
2105
|
}); };
|
|
2084
2106
|
var deserializeAws_json1_1DescribeBatchInferenceJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2085
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2107
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2086
2108
|
var _c;
|
|
2087
2109
|
return __generator(this, function (_d) {
|
|
2088
2110
|
switch (_d.label) {
|
|
@@ -2092,7 +2114,6 @@ var deserializeAws_json1_1DescribeBatchInferenceJobCommandError = function (outp
|
|
|
2092
2114
|
return [4, parseBody(output.body, context)];
|
|
2093
2115
|
case 1:
|
|
2094
2116
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2095
|
-
errorCode = "UnknownError";
|
|
2096
2117
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2097
2118
|
_b = errorCode;
|
|
2098
2119
|
switch (_b) {
|
|
@@ -2108,10 +2129,12 @@ var deserializeAws_json1_1DescribeBatchInferenceJobCommandError = function (outp
|
|
|
2108
2129
|
case 5: throw _d.sent();
|
|
2109
2130
|
case 6:
|
|
2110
2131
|
parsedBody = parsedOutput.body;
|
|
2132
|
+
$metadata = deserializeMetadata(output);
|
|
2133
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2111
2134
|
response = new __BaseException({
|
|
2112
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2135
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2113
2136
|
$fault: "client",
|
|
2114
|
-
$metadata:
|
|
2137
|
+
$metadata: $metadata,
|
|
2115
2138
|
});
|
|
2116
2139
|
throw __decorateServiceException(response, parsedBody);
|
|
2117
2140
|
}
|
|
@@ -2136,7 +2159,7 @@ export var deserializeAws_json1_1DescribeBatchSegmentJobCommand = function (outp
|
|
|
2136
2159
|
});
|
|
2137
2160
|
}); };
|
|
2138
2161
|
var deserializeAws_json1_1DescribeBatchSegmentJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2139
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2162
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2140
2163
|
var _c;
|
|
2141
2164
|
return __generator(this, function (_d) {
|
|
2142
2165
|
switch (_d.label) {
|
|
@@ -2146,7 +2169,6 @@ var deserializeAws_json1_1DescribeBatchSegmentJobCommandError = function (output
|
|
|
2146
2169
|
return [4, parseBody(output.body, context)];
|
|
2147
2170
|
case 1:
|
|
2148
2171
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2149
|
-
errorCode = "UnknownError";
|
|
2150
2172
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2151
2173
|
_b = errorCode;
|
|
2152
2174
|
switch (_b) {
|
|
@@ -2162,10 +2184,12 @@ var deserializeAws_json1_1DescribeBatchSegmentJobCommandError = function (output
|
|
|
2162
2184
|
case 5: throw _d.sent();
|
|
2163
2185
|
case 6:
|
|
2164
2186
|
parsedBody = parsedOutput.body;
|
|
2187
|
+
$metadata = deserializeMetadata(output);
|
|
2188
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2165
2189
|
response = new __BaseException({
|
|
2166
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2190
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2167
2191
|
$fault: "client",
|
|
2168
|
-
$metadata:
|
|
2192
|
+
$metadata: $metadata,
|
|
2169
2193
|
});
|
|
2170
2194
|
throw __decorateServiceException(response, parsedBody);
|
|
2171
2195
|
}
|
|
@@ -2190,7 +2214,7 @@ export var deserializeAws_json1_1DescribeCampaignCommand = function (output, con
|
|
|
2190
2214
|
});
|
|
2191
2215
|
}); };
|
|
2192
2216
|
var deserializeAws_json1_1DescribeCampaignCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2193
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2217
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2194
2218
|
var _c;
|
|
2195
2219
|
return __generator(this, function (_d) {
|
|
2196
2220
|
switch (_d.label) {
|
|
@@ -2200,7 +2224,6 @@ var deserializeAws_json1_1DescribeCampaignCommandError = function (output, conte
|
|
|
2200
2224
|
return [4, parseBody(output.body, context)];
|
|
2201
2225
|
case 1:
|
|
2202
2226
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2203
|
-
errorCode = "UnknownError";
|
|
2204
2227
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2205
2228
|
_b = errorCode;
|
|
2206
2229
|
switch (_b) {
|
|
@@ -2216,10 +2239,12 @@ var deserializeAws_json1_1DescribeCampaignCommandError = function (output, conte
|
|
|
2216
2239
|
case 5: throw _d.sent();
|
|
2217
2240
|
case 6:
|
|
2218
2241
|
parsedBody = parsedOutput.body;
|
|
2242
|
+
$metadata = deserializeMetadata(output);
|
|
2243
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2219
2244
|
response = new __BaseException({
|
|
2220
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2245
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2221
2246
|
$fault: "client",
|
|
2222
|
-
$metadata:
|
|
2247
|
+
$metadata: $metadata,
|
|
2223
2248
|
});
|
|
2224
2249
|
throw __decorateServiceException(response, parsedBody);
|
|
2225
2250
|
}
|
|
@@ -2244,7 +2269,7 @@ export var deserializeAws_json1_1DescribeDatasetCommand = function (output, cont
|
|
|
2244
2269
|
});
|
|
2245
2270
|
}); };
|
|
2246
2271
|
var deserializeAws_json1_1DescribeDatasetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2247
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2272
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2248
2273
|
var _c;
|
|
2249
2274
|
return __generator(this, function (_d) {
|
|
2250
2275
|
switch (_d.label) {
|
|
@@ -2254,7 +2279,6 @@ var deserializeAws_json1_1DescribeDatasetCommandError = function (output, contex
|
|
|
2254
2279
|
return [4, parseBody(output.body, context)];
|
|
2255
2280
|
case 1:
|
|
2256
2281
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2257
|
-
errorCode = "UnknownError";
|
|
2258
2282
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2259
2283
|
_b = errorCode;
|
|
2260
2284
|
switch (_b) {
|
|
@@ -2270,10 +2294,12 @@ var deserializeAws_json1_1DescribeDatasetCommandError = function (output, contex
|
|
|
2270
2294
|
case 5: throw _d.sent();
|
|
2271
2295
|
case 6:
|
|
2272
2296
|
parsedBody = parsedOutput.body;
|
|
2297
|
+
$metadata = deserializeMetadata(output);
|
|
2298
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2273
2299
|
response = new __BaseException({
|
|
2274
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2300
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2275
2301
|
$fault: "client",
|
|
2276
|
-
$metadata:
|
|
2302
|
+
$metadata: $metadata,
|
|
2277
2303
|
});
|
|
2278
2304
|
throw __decorateServiceException(response, parsedBody);
|
|
2279
2305
|
}
|
|
@@ -2298,7 +2324,7 @@ export var deserializeAws_json1_1DescribeDatasetExportJobCommand = function (out
|
|
|
2298
2324
|
});
|
|
2299
2325
|
}); };
|
|
2300
2326
|
var deserializeAws_json1_1DescribeDatasetExportJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2301
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2327
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2302
2328
|
var _c;
|
|
2303
2329
|
return __generator(this, function (_d) {
|
|
2304
2330
|
switch (_d.label) {
|
|
@@ -2308,7 +2334,6 @@ var deserializeAws_json1_1DescribeDatasetExportJobCommandError = function (outpu
|
|
|
2308
2334
|
return [4, parseBody(output.body, context)];
|
|
2309
2335
|
case 1:
|
|
2310
2336
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2311
|
-
errorCode = "UnknownError";
|
|
2312
2337
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2313
2338
|
_b = errorCode;
|
|
2314
2339
|
switch (_b) {
|
|
@@ -2324,10 +2349,12 @@ var deserializeAws_json1_1DescribeDatasetExportJobCommandError = function (outpu
|
|
|
2324
2349
|
case 5: throw _d.sent();
|
|
2325
2350
|
case 6:
|
|
2326
2351
|
parsedBody = parsedOutput.body;
|
|
2352
|
+
$metadata = deserializeMetadata(output);
|
|
2353
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2327
2354
|
response = new __BaseException({
|
|
2328
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2355
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2329
2356
|
$fault: "client",
|
|
2330
|
-
$metadata:
|
|
2357
|
+
$metadata: $metadata,
|
|
2331
2358
|
});
|
|
2332
2359
|
throw __decorateServiceException(response, parsedBody);
|
|
2333
2360
|
}
|
|
@@ -2352,7 +2379,7 @@ export var deserializeAws_json1_1DescribeDatasetGroupCommand = function (output,
|
|
|
2352
2379
|
});
|
|
2353
2380
|
}); };
|
|
2354
2381
|
var deserializeAws_json1_1DescribeDatasetGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2355
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2382
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2356
2383
|
var _c;
|
|
2357
2384
|
return __generator(this, function (_d) {
|
|
2358
2385
|
switch (_d.label) {
|
|
@@ -2362,7 +2389,6 @@ var deserializeAws_json1_1DescribeDatasetGroupCommandError = function (output, c
|
|
|
2362
2389
|
return [4, parseBody(output.body, context)];
|
|
2363
2390
|
case 1:
|
|
2364
2391
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2365
|
-
errorCode = "UnknownError";
|
|
2366
2392
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2367
2393
|
_b = errorCode;
|
|
2368
2394
|
switch (_b) {
|
|
@@ -2378,10 +2404,12 @@ var deserializeAws_json1_1DescribeDatasetGroupCommandError = function (output, c
|
|
|
2378
2404
|
case 5: throw _d.sent();
|
|
2379
2405
|
case 6:
|
|
2380
2406
|
parsedBody = parsedOutput.body;
|
|
2407
|
+
$metadata = deserializeMetadata(output);
|
|
2408
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2381
2409
|
response = new __BaseException({
|
|
2382
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2410
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2383
2411
|
$fault: "client",
|
|
2384
|
-
$metadata:
|
|
2412
|
+
$metadata: $metadata,
|
|
2385
2413
|
});
|
|
2386
2414
|
throw __decorateServiceException(response, parsedBody);
|
|
2387
2415
|
}
|
|
@@ -2406,7 +2434,7 @@ export var deserializeAws_json1_1DescribeDatasetImportJobCommand = function (out
|
|
|
2406
2434
|
});
|
|
2407
2435
|
}); };
|
|
2408
2436
|
var deserializeAws_json1_1DescribeDatasetImportJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2409
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2437
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2410
2438
|
var _c;
|
|
2411
2439
|
return __generator(this, function (_d) {
|
|
2412
2440
|
switch (_d.label) {
|
|
@@ -2416,7 +2444,6 @@ var deserializeAws_json1_1DescribeDatasetImportJobCommandError = function (outpu
|
|
|
2416
2444
|
return [4, parseBody(output.body, context)];
|
|
2417
2445
|
case 1:
|
|
2418
2446
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2419
|
-
errorCode = "UnknownError";
|
|
2420
2447
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2421
2448
|
_b = errorCode;
|
|
2422
2449
|
switch (_b) {
|
|
@@ -2432,10 +2459,12 @@ var deserializeAws_json1_1DescribeDatasetImportJobCommandError = function (outpu
|
|
|
2432
2459
|
case 5: throw _d.sent();
|
|
2433
2460
|
case 6:
|
|
2434
2461
|
parsedBody = parsedOutput.body;
|
|
2462
|
+
$metadata = deserializeMetadata(output);
|
|
2463
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2435
2464
|
response = new __BaseException({
|
|
2436
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2465
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2437
2466
|
$fault: "client",
|
|
2438
|
-
$metadata:
|
|
2467
|
+
$metadata: $metadata,
|
|
2439
2468
|
});
|
|
2440
2469
|
throw __decorateServiceException(response, parsedBody);
|
|
2441
2470
|
}
|
|
@@ -2460,7 +2489,7 @@ export var deserializeAws_json1_1DescribeEventTrackerCommand = function (output,
|
|
|
2460
2489
|
});
|
|
2461
2490
|
}); };
|
|
2462
2491
|
var deserializeAws_json1_1DescribeEventTrackerCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2463
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2492
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2464
2493
|
var _c;
|
|
2465
2494
|
return __generator(this, function (_d) {
|
|
2466
2495
|
switch (_d.label) {
|
|
@@ -2470,7 +2499,6 @@ var deserializeAws_json1_1DescribeEventTrackerCommandError = function (output, c
|
|
|
2470
2499
|
return [4, parseBody(output.body, context)];
|
|
2471
2500
|
case 1:
|
|
2472
2501
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2473
|
-
errorCode = "UnknownError";
|
|
2474
2502
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2475
2503
|
_b = errorCode;
|
|
2476
2504
|
switch (_b) {
|
|
@@ -2486,10 +2514,12 @@ var deserializeAws_json1_1DescribeEventTrackerCommandError = function (output, c
|
|
|
2486
2514
|
case 5: throw _d.sent();
|
|
2487
2515
|
case 6:
|
|
2488
2516
|
parsedBody = parsedOutput.body;
|
|
2517
|
+
$metadata = deserializeMetadata(output);
|
|
2518
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2489
2519
|
response = new __BaseException({
|
|
2490
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2520
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2491
2521
|
$fault: "client",
|
|
2492
|
-
$metadata:
|
|
2522
|
+
$metadata: $metadata,
|
|
2493
2523
|
});
|
|
2494
2524
|
throw __decorateServiceException(response, parsedBody);
|
|
2495
2525
|
}
|
|
@@ -2514,7 +2544,7 @@ export var deserializeAws_json1_1DescribeFeatureTransformationCommand = function
|
|
|
2514
2544
|
});
|
|
2515
2545
|
}); };
|
|
2516
2546
|
var deserializeAws_json1_1DescribeFeatureTransformationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2517
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2547
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2518
2548
|
var _c;
|
|
2519
2549
|
return __generator(this, function (_d) {
|
|
2520
2550
|
switch (_d.label) {
|
|
@@ -2524,7 +2554,6 @@ var deserializeAws_json1_1DescribeFeatureTransformationCommandError = function (
|
|
|
2524
2554
|
return [4, parseBody(output.body, context)];
|
|
2525
2555
|
case 1:
|
|
2526
2556
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2527
|
-
errorCode = "UnknownError";
|
|
2528
2557
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2529
2558
|
_b = errorCode;
|
|
2530
2559
|
switch (_b) {
|
|
@@ -2540,10 +2569,12 @@ var deserializeAws_json1_1DescribeFeatureTransformationCommandError = function (
|
|
|
2540
2569
|
case 5: throw _d.sent();
|
|
2541
2570
|
case 6:
|
|
2542
2571
|
parsedBody = parsedOutput.body;
|
|
2572
|
+
$metadata = deserializeMetadata(output);
|
|
2573
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2543
2574
|
response = new __BaseException({
|
|
2544
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2575
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2545
2576
|
$fault: "client",
|
|
2546
|
-
$metadata:
|
|
2577
|
+
$metadata: $metadata,
|
|
2547
2578
|
});
|
|
2548
2579
|
throw __decorateServiceException(response, parsedBody);
|
|
2549
2580
|
}
|
|
@@ -2568,7 +2599,7 @@ export var deserializeAws_json1_1DescribeFilterCommand = function (output, conte
|
|
|
2568
2599
|
});
|
|
2569
2600
|
}); };
|
|
2570
2601
|
var deserializeAws_json1_1DescribeFilterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2571
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2602
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2572
2603
|
var _c;
|
|
2573
2604
|
return __generator(this, function (_d) {
|
|
2574
2605
|
switch (_d.label) {
|
|
@@ -2578,7 +2609,6 @@ var deserializeAws_json1_1DescribeFilterCommandError = function (output, context
|
|
|
2578
2609
|
return [4, parseBody(output.body, context)];
|
|
2579
2610
|
case 1:
|
|
2580
2611
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2581
|
-
errorCode = "UnknownError";
|
|
2582
2612
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2583
2613
|
_b = errorCode;
|
|
2584
2614
|
switch (_b) {
|
|
@@ -2594,10 +2624,12 @@ var deserializeAws_json1_1DescribeFilterCommandError = function (output, context
|
|
|
2594
2624
|
case 5: throw _d.sent();
|
|
2595
2625
|
case 6:
|
|
2596
2626
|
parsedBody = parsedOutput.body;
|
|
2627
|
+
$metadata = deserializeMetadata(output);
|
|
2628
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2597
2629
|
response = new __BaseException({
|
|
2598
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2630
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2599
2631
|
$fault: "client",
|
|
2600
|
-
$metadata:
|
|
2632
|
+
$metadata: $metadata,
|
|
2601
2633
|
});
|
|
2602
2634
|
throw __decorateServiceException(response, parsedBody);
|
|
2603
2635
|
}
|
|
@@ -2622,7 +2654,7 @@ export var deserializeAws_json1_1DescribeRecipeCommand = function (output, conte
|
|
|
2622
2654
|
});
|
|
2623
2655
|
}); };
|
|
2624
2656
|
var deserializeAws_json1_1DescribeRecipeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2625
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2657
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2626
2658
|
var _c;
|
|
2627
2659
|
return __generator(this, function (_d) {
|
|
2628
2660
|
switch (_d.label) {
|
|
@@ -2632,7 +2664,6 @@ var deserializeAws_json1_1DescribeRecipeCommandError = function (output, context
|
|
|
2632
2664
|
return [4, parseBody(output.body, context)];
|
|
2633
2665
|
case 1:
|
|
2634
2666
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2635
|
-
errorCode = "UnknownError";
|
|
2636
2667
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2637
2668
|
_b = errorCode;
|
|
2638
2669
|
switch (_b) {
|
|
@@ -2648,10 +2679,12 @@ var deserializeAws_json1_1DescribeRecipeCommandError = function (output, context
|
|
|
2648
2679
|
case 5: throw _d.sent();
|
|
2649
2680
|
case 6:
|
|
2650
2681
|
parsedBody = parsedOutput.body;
|
|
2682
|
+
$metadata = deserializeMetadata(output);
|
|
2683
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2651
2684
|
response = new __BaseException({
|
|
2652
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2685
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2653
2686
|
$fault: "client",
|
|
2654
|
-
$metadata:
|
|
2687
|
+
$metadata: $metadata,
|
|
2655
2688
|
});
|
|
2656
2689
|
throw __decorateServiceException(response, parsedBody);
|
|
2657
2690
|
}
|
|
@@ -2676,7 +2709,7 @@ export var deserializeAws_json1_1DescribeRecommenderCommand = function (output,
|
|
|
2676
2709
|
});
|
|
2677
2710
|
}); };
|
|
2678
2711
|
var deserializeAws_json1_1DescribeRecommenderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2679
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2712
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2680
2713
|
var _c;
|
|
2681
2714
|
return __generator(this, function (_d) {
|
|
2682
2715
|
switch (_d.label) {
|
|
@@ -2686,7 +2719,6 @@ var deserializeAws_json1_1DescribeRecommenderCommandError = function (output, co
|
|
|
2686
2719
|
return [4, parseBody(output.body, context)];
|
|
2687
2720
|
case 1:
|
|
2688
2721
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2689
|
-
errorCode = "UnknownError";
|
|
2690
2722
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2691
2723
|
_b = errorCode;
|
|
2692
2724
|
switch (_b) {
|
|
@@ -2702,10 +2734,12 @@ var deserializeAws_json1_1DescribeRecommenderCommandError = function (output, co
|
|
|
2702
2734
|
case 5: throw _d.sent();
|
|
2703
2735
|
case 6:
|
|
2704
2736
|
parsedBody = parsedOutput.body;
|
|
2737
|
+
$metadata = deserializeMetadata(output);
|
|
2738
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2705
2739
|
response = new __BaseException({
|
|
2706
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2740
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2707
2741
|
$fault: "client",
|
|
2708
|
-
$metadata:
|
|
2742
|
+
$metadata: $metadata,
|
|
2709
2743
|
});
|
|
2710
2744
|
throw __decorateServiceException(response, parsedBody);
|
|
2711
2745
|
}
|
|
@@ -2730,7 +2764,7 @@ export var deserializeAws_json1_1DescribeSchemaCommand = function (output, conte
|
|
|
2730
2764
|
});
|
|
2731
2765
|
}); };
|
|
2732
2766
|
var deserializeAws_json1_1DescribeSchemaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2733
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2767
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2734
2768
|
var _c;
|
|
2735
2769
|
return __generator(this, function (_d) {
|
|
2736
2770
|
switch (_d.label) {
|
|
@@ -2740,7 +2774,6 @@ var deserializeAws_json1_1DescribeSchemaCommandError = function (output, context
|
|
|
2740
2774
|
return [4, parseBody(output.body, context)];
|
|
2741
2775
|
case 1:
|
|
2742
2776
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2743
|
-
errorCode = "UnknownError";
|
|
2744
2777
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2745
2778
|
_b = errorCode;
|
|
2746
2779
|
switch (_b) {
|
|
@@ -2756,10 +2789,12 @@ var deserializeAws_json1_1DescribeSchemaCommandError = function (output, context
|
|
|
2756
2789
|
case 5: throw _d.sent();
|
|
2757
2790
|
case 6:
|
|
2758
2791
|
parsedBody = parsedOutput.body;
|
|
2792
|
+
$metadata = deserializeMetadata(output);
|
|
2793
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2759
2794
|
response = new __BaseException({
|
|
2760
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2795
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2761
2796
|
$fault: "client",
|
|
2762
|
-
$metadata:
|
|
2797
|
+
$metadata: $metadata,
|
|
2763
2798
|
});
|
|
2764
2799
|
throw __decorateServiceException(response, parsedBody);
|
|
2765
2800
|
}
|
|
@@ -2784,7 +2819,7 @@ export var deserializeAws_json1_1DescribeSolutionCommand = function (output, con
|
|
|
2784
2819
|
});
|
|
2785
2820
|
}); };
|
|
2786
2821
|
var deserializeAws_json1_1DescribeSolutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2787
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2822
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2788
2823
|
var _c;
|
|
2789
2824
|
return __generator(this, function (_d) {
|
|
2790
2825
|
switch (_d.label) {
|
|
@@ -2794,7 +2829,6 @@ var deserializeAws_json1_1DescribeSolutionCommandError = function (output, conte
|
|
|
2794
2829
|
return [4, parseBody(output.body, context)];
|
|
2795
2830
|
case 1:
|
|
2796
2831
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2797
|
-
errorCode = "UnknownError";
|
|
2798
2832
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2799
2833
|
_b = errorCode;
|
|
2800
2834
|
switch (_b) {
|
|
@@ -2810,10 +2844,12 @@ var deserializeAws_json1_1DescribeSolutionCommandError = function (output, conte
|
|
|
2810
2844
|
case 5: throw _d.sent();
|
|
2811
2845
|
case 6:
|
|
2812
2846
|
parsedBody = parsedOutput.body;
|
|
2847
|
+
$metadata = deserializeMetadata(output);
|
|
2848
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2813
2849
|
response = new __BaseException({
|
|
2814
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2850
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2815
2851
|
$fault: "client",
|
|
2816
|
-
$metadata:
|
|
2852
|
+
$metadata: $metadata,
|
|
2817
2853
|
});
|
|
2818
2854
|
throw __decorateServiceException(response, parsedBody);
|
|
2819
2855
|
}
|
|
@@ -2838,7 +2874,7 @@ export var deserializeAws_json1_1DescribeSolutionVersionCommand = function (outp
|
|
|
2838
2874
|
});
|
|
2839
2875
|
}); };
|
|
2840
2876
|
var deserializeAws_json1_1DescribeSolutionVersionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2841
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2877
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2842
2878
|
var _c;
|
|
2843
2879
|
return __generator(this, function (_d) {
|
|
2844
2880
|
switch (_d.label) {
|
|
@@ -2848,7 +2884,6 @@ var deserializeAws_json1_1DescribeSolutionVersionCommandError = function (output
|
|
|
2848
2884
|
return [4, parseBody(output.body, context)];
|
|
2849
2885
|
case 1:
|
|
2850
2886
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2851
|
-
errorCode = "UnknownError";
|
|
2852
2887
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2853
2888
|
_b = errorCode;
|
|
2854
2889
|
switch (_b) {
|
|
@@ -2864,10 +2899,12 @@ var deserializeAws_json1_1DescribeSolutionVersionCommandError = function (output
|
|
|
2864
2899
|
case 5: throw _d.sent();
|
|
2865
2900
|
case 6:
|
|
2866
2901
|
parsedBody = parsedOutput.body;
|
|
2902
|
+
$metadata = deserializeMetadata(output);
|
|
2903
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2867
2904
|
response = new __BaseException({
|
|
2868
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2905
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2869
2906
|
$fault: "client",
|
|
2870
|
-
$metadata:
|
|
2907
|
+
$metadata: $metadata,
|
|
2871
2908
|
});
|
|
2872
2909
|
throw __decorateServiceException(response, parsedBody);
|
|
2873
2910
|
}
|
|
@@ -2892,7 +2929,7 @@ export var deserializeAws_json1_1GetSolutionMetricsCommand = function (output, c
|
|
|
2892
2929
|
});
|
|
2893
2930
|
}); };
|
|
2894
2931
|
var deserializeAws_json1_1GetSolutionMetricsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2895
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2932
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2896
2933
|
var _c;
|
|
2897
2934
|
return __generator(this, function (_d) {
|
|
2898
2935
|
switch (_d.label) {
|
|
@@ -2902,7 +2939,6 @@ var deserializeAws_json1_1GetSolutionMetricsCommandError = function (output, con
|
|
|
2902
2939
|
return [4, parseBody(output.body, context)];
|
|
2903
2940
|
case 1:
|
|
2904
2941
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2905
|
-
errorCode = "UnknownError";
|
|
2906
2942
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2907
2943
|
_b = errorCode;
|
|
2908
2944
|
switch (_b) {
|
|
@@ -2922,10 +2958,12 @@ var deserializeAws_json1_1GetSolutionMetricsCommandError = function (output, con
|
|
|
2922
2958
|
case 7: throw _d.sent();
|
|
2923
2959
|
case 8:
|
|
2924
2960
|
parsedBody = parsedOutput.body;
|
|
2961
|
+
$metadata = deserializeMetadata(output);
|
|
2962
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2925
2963
|
response = new __BaseException({
|
|
2926
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2964
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2927
2965
|
$fault: "client",
|
|
2928
|
-
$metadata:
|
|
2966
|
+
$metadata: $metadata,
|
|
2929
2967
|
});
|
|
2930
2968
|
throw __decorateServiceException(response, parsedBody);
|
|
2931
2969
|
}
|
|
@@ -2950,7 +2988,7 @@ export var deserializeAws_json1_1ListBatchInferenceJobsCommand = function (outpu
|
|
|
2950
2988
|
});
|
|
2951
2989
|
}); };
|
|
2952
2990
|
var deserializeAws_json1_1ListBatchInferenceJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2953
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2991
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2954
2992
|
var _c;
|
|
2955
2993
|
return __generator(this, function (_d) {
|
|
2956
2994
|
switch (_d.label) {
|
|
@@ -2960,7 +2998,6 @@ var deserializeAws_json1_1ListBatchInferenceJobsCommandError = function (output,
|
|
|
2960
2998
|
return [4, parseBody(output.body, context)];
|
|
2961
2999
|
case 1:
|
|
2962
3000
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2963
|
-
errorCode = "UnknownError";
|
|
2964
3001
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2965
3002
|
_b = errorCode;
|
|
2966
3003
|
switch (_b) {
|
|
@@ -2976,10 +3013,12 @@ var deserializeAws_json1_1ListBatchInferenceJobsCommandError = function (output,
|
|
|
2976
3013
|
case 5: throw _d.sent();
|
|
2977
3014
|
case 6:
|
|
2978
3015
|
parsedBody = parsedOutput.body;
|
|
3016
|
+
$metadata = deserializeMetadata(output);
|
|
3017
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2979
3018
|
response = new __BaseException({
|
|
2980
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3019
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2981
3020
|
$fault: "client",
|
|
2982
|
-
$metadata:
|
|
3021
|
+
$metadata: $metadata,
|
|
2983
3022
|
});
|
|
2984
3023
|
throw __decorateServiceException(response, parsedBody);
|
|
2985
3024
|
}
|
|
@@ -3004,7 +3043,7 @@ export var deserializeAws_json1_1ListBatchSegmentJobsCommand = function (output,
|
|
|
3004
3043
|
});
|
|
3005
3044
|
}); };
|
|
3006
3045
|
var deserializeAws_json1_1ListBatchSegmentJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3007
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3046
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3008
3047
|
var _c;
|
|
3009
3048
|
return __generator(this, function (_d) {
|
|
3010
3049
|
switch (_d.label) {
|
|
@@ -3014,7 +3053,6 @@ var deserializeAws_json1_1ListBatchSegmentJobsCommandError = function (output, c
|
|
|
3014
3053
|
return [4, parseBody(output.body, context)];
|
|
3015
3054
|
case 1:
|
|
3016
3055
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3017
|
-
errorCode = "UnknownError";
|
|
3018
3056
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3019
3057
|
_b = errorCode;
|
|
3020
3058
|
switch (_b) {
|
|
@@ -3030,10 +3068,12 @@ var deserializeAws_json1_1ListBatchSegmentJobsCommandError = function (output, c
|
|
|
3030
3068
|
case 5: throw _d.sent();
|
|
3031
3069
|
case 6:
|
|
3032
3070
|
parsedBody = parsedOutput.body;
|
|
3071
|
+
$metadata = deserializeMetadata(output);
|
|
3072
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3033
3073
|
response = new __BaseException({
|
|
3034
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3074
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3035
3075
|
$fault: "client",
|
|
3036
|
-
$metadata:
|
|
3076
|
+
$metadata: $metadata,
|
|
3037
3077
|
});
|
|
3038
3078
|
throw __decorateServiceException(response, parsedBody);
|
|
3039
3079
|
}
|
|
@@ -3058,7 +3098,7 @@ export var deserializeAws_json1_1ListCampaignsCommand = function (output, contex
|
|
|
3058
3098
|
});
|
|
3059
3099
|
}); };
|
|
3060
3100
|
var deserializeAws_json1_1ListCampaignsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3061
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3101
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3062
3102
|
var _c;
|
|
3063
3103
|
return __generator(this, function (_d) {
|
|
3064
3104
|
switch (_d.label) {
|
|
@@ -3068,7 +3108,6 @@ var deserializeAws_json1_1ListCampaignsCommandError = function (output, context)
|
|
|
3068
3108
|
return [4, parseBody(output.body, context)];
|
|
3069
3109
|
case 1:
|
|
3070
3110
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3071
|
-
errorCode = "UnknownError";
|
|
3072
3111
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3073
3112
|
_b = errorCode;
|
|
3074
3113
|
switch (_b) {
|
|
@@ -3084,10 +3123,12 @@ var deserializeAws_json1_1ListCampaignsCommandError = function (output, context)
|
|
|
3084
3123
|
case 5: throw _d.sent();
|
|
3085
3124
|
case 6:
|
|
3086
3125
|
parsedBody = parsedOutput.body;
|
|
3126
|
+
$metadata = deserializeMetadata(output);
|
|
3127
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3087
3128
|
response = new __BaseException({
|
|
3088
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3129
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3089
3130
|
$fault: "client",
|
|
3090
|
-
$metadata:
|
|
3131
|
+
$metadata: $metadata,
|
|
3091
3132
|
});
|
|
3092
3133
|
throw __decorateServiceException(response, parsedBody);
|
|
3093
3134
|
}
|
|
@@ -3112,7 +3153,7 @@ export var deserializeAws_json1_1ListDatasetExportJobsCommand = function (output
|
|
|
3112
3153
|
});
|
|
3113
3154
|
}); };
|
|
3114
3155
|
var deserializeAws_json1_1ListDatasetExportJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3115
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3156
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3116
3157
|
var _c;
|
|
3117
3158
|
return __generator(this, function (_d) {
|
|
3118
3159
|
switch (_d.label) {
|
|
@@ -3122,7 +3163,6 @@ var deserializeAws_json1_1ListDatasetExportJobsCommandError = function (output,
|
|
|
3122
3163
|
return [4, parseBody(output.body, context)];
|
|
3123
3164
|
case 1:
|
|
3124
3165
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3125
|
-
errorCode = "UnknownError";
|
|
3126
3166
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3127
3167
|
_b = errorCode;
|
|
3128
3168
|
switch (_b) {
|
|
@@ -3138,10 +3178,12 @@ var deserializeAws_json1_1ListDatasetExportJobsCommandError = function (output,
|
|
|
3138
3178
|
case 5: throw _d.sent();
|
|
3139
3179
|
case 6:
|
|
3140
3180
|
parsedBody = parsedOutput.body;
|
|
3181
|
+
$metadata = deserializeMetadata(output);
|
|
3182
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3141
3183
|
response = new __BaseException({
|
|
3142
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3184
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3143
3185
|
$fault: "client",
|
|
3144
|
-
$metadata:
|
|
3186
|
+
$metadata: $metadata,
|
|
3145
3187
|
});
|
|
3146
3188
|
throw __decorateServiceException(response, parsedBody);
|
|
3147
3189
|
}
|
|
@@ -3166,7 +3208,7 @@ export var deserializeAws_json1_1ListDatasetGroupsCommand = function (output, co
|
|
|
3166
3208
|
});
|
|
3167
3209
|
}); };
|
|
3168
3210
|
var deserializeAws_json1_1ListDatasetGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3169
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3211
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3170
3212
|
var _c;
|
|
3171
3213
|
return __generator(this, function (_d) {
|
|
3172
3214
|
switch (_d.label) {
|
|
@@ -3176,7 +3218,6 @@ var deserializeAws_json1_1ListDatasetGroupsCommandError = function (output, cont
|
|
|
3176
3218
|
return [4, parseBody(output.body, context)];
|
|
3177
3219
|
case 1:
|
|
3178
3220
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3179
|
-
errorCode = "UnknownError";
|
|
3180
3221
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3181
3222
|
_b = errorCode;
|
|
3182
3223
|
switch (_b) {
|
|
@@ -3188,10 +3229,12 @@ var deserializeAws_json1_1ListDatasetGroupsCommandError = function (output, cont
|
|
|
3188
3229
|
case 3: throw _d.sent();
|
|
3189
3230
|
case 4:
|
|
3190
3231
|
parsedBody = parsedOutput.body;
|
|
3232
|
+
$metadata = deserializeMetadata(output);
|
|
3233
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3191
3234
|
response = new __BaseException({
|
|
3192
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3235
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3193
3236
|
$fault: "client",
|
|
3194
|
-
$metadata:
|
|
3237
|
+
$metadata: $metadata,
|
|
3195
3238
|
});
|
|
3196
3239
|
throw __decorateServiceException(response, parsedBody);
|
|
3197
3240
|
}
|
|
@@ -3216,7 +3259,7 @@ export var deserializeAws_json1_1ListDatasetImportJobsCommand = function (output
|
|
|
3216
3259
|
});
|
|
3217
3260
|
}); };
|
|
3218
3261
|
var deserializeAws_json1_1ListDatasetImportJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3219
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3262
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3220
3263
|
var _c;
|
|
3221
3264
|
return __generator(this, function (_d) {
|
|
3222
3265
|
switch (_d.label) {
|
|
@@ -3226,7 +3269,6 @@ var deserializeAws_json1_1ListDatasetImportJobsCommandError = function (output,
|
|
|
3226
3269
|
return [4, parseBody(output.body, context)];
|
|
3227
3270
|
case 1:
|
|
3228
3271
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3229
|
-
errorCode = "UnknownError";
|
|
3230
3272
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3231
3273
|
_b = errorCode;
|
|
3232
3274
|
switch (_b) {
|
|
@@ -3242,10 +3284,12 @@ var deserializeAws_json1_1ListDatasetImportJobsCommandError = function (output,
|
|
|
3242
3284
|
case 5: throw _d.sent();
|
|
3243
3285
|
case 6:
|
|
3244
3286
|
parsedBody = parsedOutput.body;
|
|
3287
|
+
$metadata = deserializeMetadata(output);
|
|
3288
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3245
3289
|
response = new __BaseException({
|
|
3246
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3290
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3247
3291
|
$fault: "client",
|
|
3248
|
-
$metadata:
|
|
3292
|
+
$metadata: $metadata,
|
|
3249
3293
|
});
|
|
3250
3294
|
throw __decorateServiceException(response, parsedBody);
|
|
3251
3295
|
}
|
|
@@ -3270,7 +3314,7 @@ export var deserializeAws_json1_1ListDatasetsCommand = function (output, context
|
|
|
3270
3314
|
});
|
|
3271
3315
|
}); };
|
|
3272
3316
|
var deserializeAws_json1_1ListDatasetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3273
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3317
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3274
3318
|
var _c;
|
|
3275
3319
|
return __generator(this, function (_d) {
|
|
3276
3320
|
switch (_d.label) {
|
|
@@ -3280,7 +3324,6 @@ var deserializeAws_json1_1ListDatasetsCommandError = function (output, context)
|
|
|
3280
3324
|
return [4, parseBody(output.body, context)];
|
|
3281
3325
|
case 1:
|
|
3282
3326
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3283
|
-
errorCode = "UnknownError";
|
|
3284
3327
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3285
3328
|
_b = errorCode;
|
|
3286
3329
|
switch (_b) {
|
|
@@ -3296,10 +3339,12 @@ var deserializeAws_json1_1ListDatasetsCommandError = function (output, context)
|
|
|
3296
3339
|
case 5: throw _d.sent();
|
|
3297
3340
|
case 6:
|
|
3298
3341
|
parsedBody = parsedOutput.body;
|
|
3342
|
+
$metadata = deserializeMetadata(output);
|
|
3343
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3299
3344
|
response = new __BaseException({
|
|
3300
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3345
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3301
3346
|
$fault: "client",
|
|
3302
|
-
$metadata:
|
|
3347
|
+
$metadata: $metadata,
|
|
3303
3348
|
});
|
|
3304
3349
|
throw __decorateServiceException(response, parsedBody);
|
|
3305
3350
|
}
|
|
@@ -3324,7 +3369,7 @@ export var deserializeAws_json1_1ListEventTrackersCommand = function (output, co
|
|
|
3324
3369
|
});
|
|
3325
3370
|
}); };
|
|
3326
3371
|
var deserializeAws_json1_1ListEventTrackersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3327
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3372
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3328
3373
|
var _c;
|
|
3329
3374
|
return __generator(this, function (_d) {
|
|
3330
3375
|
switch (_d.label) {
|
|
@@ -3334,7 +3379,6 @@ var deserializeAws_json1_1ListEventTrackersCommandError = function (output, cont
|
|
|
3334
3379
|
return [4, parseBody(output.body, context)];
|
|
3335
3380
|
case 1:
|
|
3336
3381
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3337
|
-
errorCode = "UnknownError";
|
|
3338
3382
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3339
3383
|
_b = errorCode;
|
|
3340
3384
|
switch (_b) {
|
|
@@ -3350,10 +3394,12 @@ var deserializeAws_json1_1ListEventTrackersCommandError = function (output, cont
|
|
|
3350
3394
|
case 5: throw _d.sent();
|
|
3351
3395
|
case 6:
|
|
3352
3396
|
parsedBody = parsedOutput.body;
|
|
3397
|
+
$metadata = deserializeMetadata(output);
|
|
3398
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3353
3399
|
response = new __BaseException({
|
|
3354
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3400
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3355
3401
|
$fault: "client",
|
|
3356
|
-
$metadata:
|
|
3402
|
+
$metadata: $metadata,
|
|
3357
3403
|
});
|
|
3358
3404
|
throw __decorateServiceException(response, parsedBody);
|
|
3359
3405
|
}
|
|
@@ -3378,7 +3424,7 @@ export var deserializeAws_json1_1ListFiltersCommand = function (output, context)
|
|
|
3378
3424
|
});
|
|
3379
3425
|
}); };
|
|
3380
3426
|
var deserializeAws_json1_1ListFiltersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3381
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3427
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3382
3428
|
var _c;
|
|
3383
3429
|
return __generator(this, function (_d) {
|
|
3384
3430
|
switch (_d.label) {
|
|
@@ -3388,7 +3434,6 @@ var deserializeAws_json1_1ListFiltersCommandError = function (output, context) {
|
|
|
3388
3434
|
return [4, parseBody(output.body, context)];
|
|
3389
3435
|
case 1:
|
|
3390
3436
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3391
|
-
errorCode = "UnknownError";
|
|
3392
3437
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3393
3438
|
_b = errorCode;
|
|
3394
3439
|
switch (_b) {
|
|
@@ -3404,10 +3449,12 @@ var deserializeAws_json1_1ListFiltersCommandError = function (output, context) {
|
|
|
3404
3449
|
case 5: throw _d.sent();
|
|
3405
3450
|
case 6:
|
|
3406
3451
|
parsedBody = parsedOutput.body;
|
|
3452
|
+
$metadata = deserializeMetadata(output);
|
|
3453
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3407
3454
|
response = new __BaseException({
|
|
3408
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3455
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3409
3456
|
$fault: "client",
|
|
3410
|
-
$metadata:
|
|
3457
|
+
$metadata: $metadata,
|
|
3411
3458
|
});
|
|
3412
3459
|
throw __decorateServiceException(response, parsedBody);
|
|
3413
3460
|
}
|
|
@@ -3432,7 +3479,7 @@ export var deserializeAws_json1_1ListRecipesCommand = function (output, context)
|
|
|
3432
3479
|
});
|
|
3433
3480
|
}); };
|
|
3434
3481
|
var deserializeAws_json1_1ListRecipesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3435
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3482
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3436
3483
|
var _c;
|
|
3437
3484
|
return __generator(this, function (_d) {
|
|
3438
3485
|
switch (_d.label) {
|
|
@@ -3442,7 +3489,6 @@ var deserializeAws_json1_1ListRecipesCommandError = function (output, context) {
|
|
|
3442
3489
|
return [4, parseBody(output.body, context)];
|
|
3443
3490
|
case 1:
|
|
3444
3491
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3445
|
-
errorCode = "UnknownError";
|
|
3446
3492
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3447
3493
|
_b = errorCode;
|
|
3448
3494
|
switch (_b) {
|
|
@@ -3458,10 +3504,12 @@ var deserializeAws_json1_1ListRecipesCommandError = function (output, context) {
|
|
|
3458
3504
|
case 5: throw _d.sent();
|
|
3459
3505
|
case 6:
|
|
3460
3506
|
parsedBody = parsedOutput.body;
|
|
3507
|
+
$metadata = deserializeMetadata(output);
|
|
3508
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3461
3509
|
response = new __BaseException({
|
|
3462
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3510
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3463
3511
|
$fault: "client",
|
|
3464
|
-
$metadata:
|
|
3512
|
+
$metadata: $metadata,
|
|
3465
3513
|
});
|
|
3466
3514
|
throw __decorateServiceException(response, parsedBody);
|
|
3467
3515
|
}
|
|
@@ -3486,7 +3534,7 @@ export var deserializeAws_json1_1ListRecommendersCommand = function (output, con
|
|
|
3486
3534
|
});
|
|
3487
3535
|
}); };
|
|
3488
3536
|
var deserializeAws_json1_1ListRecommendersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3489
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3537
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3490
3538
|
var _c;
|
|
3491
3539
|
return __generator(this, function (_d) {
|
|
3492
3540
|
switch (_d.label) {
|
|
@@ -3496,7 +3544,6 @@ var deserializeAws_json1_1ListRecommendersCommandError = function (output, conte
|
|
|
3496
3544
|
return [4, parseBody(output.body, context)];
|
|
3497
3545
|
case 1:
|
|
3498
3546
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3499
|
-
errorCode = "UnknownError";
|
|
3500
3547
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3501
3548
|
_b = errorCode;
|
|
3502
3549
|
switch (_b) {
|
|
@@ -3512,10 +3559,12 @@ var deserializeAws_json1_1ListRecommendersCommandError = function (output, conte
|
|
|
3512
3559
|
case 5: throw _d.sent();
|
|
3513
3560
|
case 6:
|
|
3514
3561
|
parsedBody = parsedOutput.body;
|
|
3562
|
+
$metadata = deserializeMetadata(output);
|
|
3563
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3515
3564
|
response = new __BaseException({
|
|
3516
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3565
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3517
3566
|
$fault: "client",
|
|
3518
|
-
$metadata:
|
|
3567
|
+
$metadata: $metadata,
|
|
3519
3568
|
});
|
|
3520
3569
|
throw __decorateServiceException(response, parsedBody);
|
|
3521
3570
|
}
|
|
@@ -3540,7 +3589,7 @@ export var deserializeAws_json1_1ListSchemasCommand = function (output, context)
|
|
|
3540
3589
|
});
|
|
3541
3590
|
}); };
|
|
3542
3591
|
var deserializeAws_json1_1ListSchemasCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3543
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3592
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3544
3593
|
var _c;
|
|
3545
3594
|
return __generator(this, function (_d) {
|
|
3546
3595
|
switch (_d.label) {
|
|
@@ -3550,7 +3599,6 @@ var deserializeAws_json1_1ListSchemasCommandError = function (output, context) {
|
|
|
3550
3599
|
return [4, parseBody(output.body, context)];
|
|
3551
3600
|
case 1:
|
|
3552
3601
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3553
|
-
errorCode = "UnknownError";
|
|
3554
3602
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3555
3603
|
_b = errorCode;
|
|
3556
3604
|
switch (_b) {
|
|
@@ -3562,10 +3610,12 @@ var deserializeAws_json1_1ListSchemasCommandError = function (output, context) {
|
|
|
3562
3610
|
case 3: throw _d.sent();
|
|
3563
3611
|
case 4:
|
|
3564
3612
|
parsedBody = parsedOutput.body;
|
|
3613
|
+
$metadata = deserializeMetadata(output);
|
|
3614
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3565
3615
|
response = new __BaseException({
|
|
3566
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3616
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3567
3617
|
$fault: "client",
|
|
3568
|
-
$metadata:
|
|
3618
|
+
$metadata: $metadata,
|
|
3569
3619
|
});
|
|
3570
3620
|
throw __decorateServiceException(response, parsedBody);
|
|
3571
3621
|
}
|
|
@@ -3590,7 +3640,7 @@ export var deserializeAws_json1_1ListSolutionsCommand = function (output, contex
|
|
|
3590
3640
|
});
|
|
3591
3641
|
}); };
|
|
3592
3642
|
var deserializeAws_json1_1ListSolutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3593
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3643
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3594
3644
|
var _c;
|
|
3595
3645
|
return __generator(this, function (_d) {
|
|
3596
3646
|
switch (_d.label) {
|
|
@@ -3600,7 +3650,6 @@ var deserializeAws_json1_1ListSolutionsCommandError = function (output, context)
|
|
|
3600
3650
|
return [4, parseBody(output.body, context)];
|
|
3601
3651
|
case 1:
|
|
3602
3652
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3603
|
-
errorCode = "UnknownError";
|
|
3604
3653
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3605
3654
|
_b = errorCode;
|
|
3606
3655
|
switch (_b) {
|
|
@@ -3616,10 +3665,12 @@ var deserializeAws_json1_1ListSolutionsCommandError = function (output, context)
|
|
|
3616
3665
|
case 5: throw _d.sent();
|
|
3617
3666
|
case 6:
|
|
3618
3667
|
parsedBody = parsedOutput.body;
|
|
3668
|
+
$metadata = deserializeMetadata(output);
|
|
3669
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3619
3670
|
response = new __BaseException({
|
|
3620
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3671
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3621
3672
|
$fault: "client",
|
|
3622
|
-
$metadata:
|
|
3673
|
+
$metadata: $metadata,
|
|
3623
3674
|
});
|
|
3624
3675
|
throw __decorateServiceException(response, parsedBody);
|
|
3625
3676
|
}
|
|
@@ -3644,7 +3695,7 @@ export var deserializeAws_json1_1ListSolutionVersionsCommand = function (output,
|
|
|
3644
3695
|
});
|
|
3645
3696
|
}); };
|
|
3646
3697
|
var deserializeAws_json1_1ListSolutionVersionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3647
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3698
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3648
3699
|
var _c;
|
|
3649
3700
|
return __generator(this, function (_d) {
|
|
3650
3701
|
switch (_d.label) {
|
|
@@ -3654,7 +3705,6 @@ var deserializeAws_json1_1ListSolutionVersionsCommandError = function (output, c
|
|
|
3654
3705
|
return [4, parseBody(output.body, context)];
|
|
3655
3706
|
case 1:
|
|
3656
3707
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3657
|
-
errorCode = "UnknownError";
|
|
3658
3708
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3659
3709
|
_b = errorCode;
|
|
3660
3710
|
switch (_b) {
|
|
@@ -3674,10 +3724,12 @@ var deserializeAws_json1_1ListSolutionVersionsCommandError = function (output, c
|
|
|
3674
3724
|
case 7: throw _d.sent();
|
|
3675
3725
|
case 8:
|
|
3676
3726
|
parsedBody = parsedOutput.body;
|
|
3727
|
+
$metadata = deserializeMetadata(output);
|
|
3728
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3677
3729
|
response = new __BaseException({
|
|
3678
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3730
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3679
3731
|
$fault: "client",
|
|
3680
|
-
$metadata:
|
|
3732
|
+
$metadata: $metadata,
|
|
3681
3733
|
});
|
|
3682
3734
|
throw __decorateServiceException(response, parsedBody);
|
|
3683
3735
|
}
|
|
@@ -3702,7 +3754,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
3702
3754
|
});
|
|
3703
3755
|
}); };
|
|
3704
3756
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3705
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3757
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3706
3758
|
var _c;
|
|
3707
3759
|
return __generator(this, function (_d) {
|
|
3708
3760
|
switch (_d.label) {
|
|
@@ -3712,7 +3764,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
3712
3764
|
return [4, parseBody(output.body, context)];
|
|
3713
3765
|
case 1:
|
|
3714
3766
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3715
|
-
errorCode = "UnknownError";
|
|
3716
3767
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3717
3768
|
_b = errorCode;
|
|
3718
3769
|
switch (_b) {
|
|
@@ -3732,10 +3783,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
3732
3783
|
case 7: throw _d.sent();
|
|
3733
3784
|
case 8:
|
|
3734
3785
|
parsedBody = parsedOutput.body;
|
|
3786
|
+
$metadata = deserializeMetadata(output);
|
|
3787
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3735
3788
|
response = new __BaseException({
|
|
3736
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3789
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3737
3790
|
$fault: "client",
|
|
3738
|
-
$metadata:
|
|
3791
|
+
$metadata: $metadata,
|
|
3739
3792
|
});
|
|
3740
3793
|
throw __decorateServiceException(response, parsedBody);
|
|
3741
3794
|
}
|
|
@@ -3760,7 +3813,7 @@ export var deserializeAws_json1_1StartRecommenderCommand = function (output, con
|
|
|
3760
3813
|
});
|
|
3761
3814
|
}); };
|
|
3762
3815
|
var deserializeAws_json1_1StartRecommenderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3763
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3816
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3764
3817
|
var _c;
|
|
3765
3818
|
return __generator(this, function (_d) {
|
|
3766
3819
|
switch (_d.label) {
|
|
@@ -3770,7 +3823,6 @@ var deserializeAws_json1_1StartRecommenderCommandError = function (output, conte
|
|
|
3770
3823
|
return [4, parseBody(output.body, context)];
|
|
3771
3824
|
case 1:
|
|
3772
3825
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3773
|
-
errorCode = "UnknownError";
|
|
3774
3826
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3775
3827
|
_b = errorCode;
|
|
3776
3828
|
switch (_b) {
|
|
@@ -3790,10 +3842,12 @@ var deserializeAws_json1_1StartRecommenderCommandError = function (output, conte
|
|
|
3790
3842
|
case 7: throw _d.sent();
|
|
3791
3843
|
case 8:
|
|
3792
3844
|
parsedBody = parsedOutput.body;
|
|
3845
|
+
$metadata = deserializeMetadata(output);
|
|
3846
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3793
3847
|
response = new __BaseException({
|
|
3794
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3848
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3795
3849
|
$fault: "client",
|
|
3796
|
-
$metadata:
|
|
3850
|
+
$metadata: $metadata,
|
|
3797
3851
|
});
|
|
3798
3852
|
throw __decorateServiceException(response, parsedBody);
|
|
3799
3853
|
}
|
|
@@ -3818,7 +3872,7 @@ export var deserializeAws_json1_1StopRecommenderCommand = function (output, cont
|
|
|
3818
3872
|
});
|
|
3819
3873
|
}); };
|
|
3820
3874
|
var deserializeAws_json1_1StopRecommenderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3821
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3875
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3822
3876
|
var _c;
|
|
3823
3877
|
return __generator(this, function (_d) {
|
|
3824
3878
|
switch (_d.label) {
|
|
@@ -3828,7 +3882,6 @@ var deserializeAws_json1_1StopRecommenderCommandError = function (output, contex
|
|
|
3828
3882
|
return [4, parseBody(output.body, context)];
|
|
3829
3883
|
case 1:
|
|
3830
3884
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3831
|
-
errorCode = "UnknownError";
|
|
3832
3885
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3833
3886
|
_b = errorCode;
|
|
3834
3887
|
switch (_b) {
|
|
@@ -3848,10 +3901,12 @@ var deserializeAws_json1_1StopRecommenderCommandError = function (output, contex
|
|
|
3848
3901
|
case 7: throw _d.sent();
|
|
3849
3902
|
case 8:
|
|
3850
3903
|
parsedBody = parsedOutput.body;
|
|
3904
|
+
$metadata = deserializeMetadata(output);
|
|
3905
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3851
3906
|
response = new __BaseException({
|
|
3852
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3907
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3853
3908
|
$fault: "client",
|
|
3854
|
-
$metadata:
|
|
3909
|
+
$metadata: $metadata,
|
|
3855
3910
|
});
|
|
3856
3911
|
throw __decorateServiceException(response, parsedBody);
|
|
3857
3912
|
}
|
|
@@ -3876,7 +3931,7 @@ export var deserializeAws_json1_1StopSolutionVersionCreationCommand = function (
|
|
|
3876
3931
|
});
|
|
3877
3932
|
}); };
|
|
3878
3933
|
var deserializeAws_json1_1StopSolutionVersionCreationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3879
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3934
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3880
3935
|
var _c;
|
|
3881
3936
|
return __generator(this, function (_d) {
|
|
3882
3937
|
switch (_d.label) {
|
|
@@ -3886,7 +3941,6 @@ var deserializeAws_json1_1StopSolutionVersionCreationCommandError = function (ou
|
|
|
3886
3941
|
return [4, parseBody(output.body, context)];
|
|
3887
3942
|
case 1:
|
|
3888
3943
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3889
|
-
errorCode = "UnknownError";
|
|
3890
3944
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3891
3945
|
_b = errorCode;
|
|
3892
3946
|
switch (_b) {
|
|
@@ -3906,10 +3960,12 @@ var deserializeAws_json1_1StopSolutionVersionCreationCommandError = function (ou
|
|
|
3906
3960
|
case 7: throw _d.sent();
|
|
3907
3961
|
case 8:
|
|
3908
3962
|
parsedBody = parsedOutput.body;
|
|
3963
|
+
$metadata = deserializeMetadata(output);
|
|
3964
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3909
3965
|
response = new __BaseException({
|
|
3910
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3966
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3911
3967
|
$fault: "client",
|
|
3912
|
-
$metadata:
|
|
3968
|
+
$metadata: $metadata,
|
|
3913
3969
|
});
|
|
3914
3970
|
throw __decorateServiceException(response, parsedBody);
|
|
3915
3971
|
}
|
|
@@ -3934,7 +3990,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
3934
3990
|
});
|
|
3935
3991
|
}); };
|
|
3936
3992
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3937
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3993
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3938
3994
|
var _c;
|
|
3939
3995
|
return __generator(this, function (_d) {
|
|
3940
3996
|
switch (_d.label) {
|
|
@@ -3944,7 +4000,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
3944
4000
|
return [4, parseBody(output.body, context)];
|
|
3945
4001
|
case 1:
|
|
3946
4002
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3947
|
-
errorCode = "UnknownError";
|
|
3948
4003
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3949
4004
|
_b = errorCode;
|
|
3950
4005
|
switch (_b) {
|
|
@@ -3972,10 +4027,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
3972
4027
|
case 11: throw _d.sent();
|
|
3973
4028
|
case 12:
|
|
3974
4029
|
parsedBody = parsedOutput.body;
|
|
4030
|
+
$metadata = deserializeMetadata(output);
|
|
4031
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3975
4032
|
response = new __BaseException({
|
|
3976
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4033
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3977
4034
|
$fault: "client",
|
|
3978
|
-
$metadata:
|
|
4035
|
+
$metadata: $metadata,
|
|
3979
4036
|
});
|
|
3980
4037
|
throw __decorateServiceException(response, parsedBody);
|
|
3981
4038
|
}
|
|
@@ -4000,7 +4057,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
4000
4057
|
});
|
|
4001
4058
|
}); };
|
|
4002
4059
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4003
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4060
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4004
4061
|
var _c;
|
|
4005
4062
|
return __generator(this, function (_d) {
|
|
4006
4063
|
switch (_d.label) {
|
|
@@ -4010,7 +4067,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
4010
4067
|
return [4, parseBody(output.body, context)];
|
|
4011
4068
|
case 1:
|
|
4012
4069
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4013
|
-
errorCode = "UnknownError";
|
|
4014
4070
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4015
4071
|
_b = errorCode;
|
|
4016
4072
|
switch (_b) {
|
|
@@ -4034,10 +4090,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
4034
4090
|
case 9: throw _d.sent();
|
|
4035
4091
|
case 10:
|
|
4036
4092
|
parsedBody = parsedOutput.body;
|
|
4093
|
+
$metadata = deserializeMetadata(output);
|
|
4094
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4037
4095
|
response = new __BaseException({
|
|
4038
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4096
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4039
4097
|
$fault: "client",
|
|
4040
|
-
$metadata:
|
|
4098
|
+
$metadata: $metadata,
|
|
4041
4099
|
});
|
|
4042
4100
|
throw __decorateServiceException(response, parsedBody);
|
|
4043
4101
|
}
|
|
@@ -4062,7 +4120,7 @@ export var deserializeAws_json1_1UpdateCampaignCommand = function (output, conte
|
|
|
4062
4120
|
});
|
|
4063
4121
|
}); };
|
|
4064
4122
|
var deserializeAws_json1_1UpdateCampaignCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4065
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4123
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4066
4124
|
var _c;
|
|
4067
4125
|
return __generator(this, function (_d) {
|
|
4068
4126
|
switch (_d.label) {
|
|
@@ -4072,7 +4130,6 @@ var deserializeAws_json1_1UpdateCampaignCommandError = function (output, context
|
|
|
4072
4130
|
return [4, parseBody(output.body, context)];
|
|
4073
4131
|
case 1:
|
|
4074
4132
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4075
|
-
errorCode = "UnknownError";
|
|
4076
4133
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4077
4134
|
_b = errorCode;
|
|
4078
4135
|
switch (_b) {
|
|
@@ -4092,10 +4149,12 @@ var deserializeAws_json1_1UpdateCampaignCommandError = function (output, context
|
|
|
4092
4149
|
case 7: throw _d.sent();
|
|
4093
4150
|
case 8:
|
|
4094
4151
|
parsedBody = parsedOutput.body;
|
|
4152
|
+
$metadata = deserializeMetadata(output);
|
|
4153
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4095
4154
|
response = new __BaseException({
|
|
4096
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4155
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4097
4156
|
$fault: "client",
|
|
4098
|
-
$metadata:
|
|
4157
|
+
$metadata: $metadata,
|
|
4099
4158
|
});
|
|
4100
4159
|
throw __decorateServiceException(response, parsedBody);
|
|
4101
4160
|
}
|
|
@@ -4120,7 +4179,7 @@ export var deserializeAws_json1_1UpdateRecommenderCommand = function (output, co
|
|
|
4120
4179
|
});
|
|
4121
4180
|
}); };
|
|
4122
4181
|
var deserializeAws_json1_1UpdateRecommenderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4123
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4182
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4124
4183
|
var _c;
|
|
4125
4184
|
return __generator(this, function (_d) {
|
|
4126
4185
|
switch (_d.label) {
|
|
@@ -4130,7 +4189,6 @@ var deserializeAws_json1_1UpdateRecommenderCommandError = function (output, cont
|
|
|
4130
4189
|
return [4, parseBody(output.body, context)];
|
|
4131
4190
|
case 1:
|
|
4132
4191
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4133
|
-
errorCode = "UnknownError";
|
|
4134
4192
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4135
4193
|
_b = errorCode;
|
|
4136
4194
|
switch (_b) {
|
|
@@ -4150,10 +4208,12 @@ var deserializeAws_json1_1UpdateRecommenderCommandError = function (output, cont
|
|
|
4150
4208
|
case 7: throw _d.sent();
|
|
4151
4209
|
case 8:
|
|
4152
4210
|
parsedBody = parsedOutput.body;
|
|
4211
|
+
$metadata = deserializeMetadata(output);
|
|
4212
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4153
4213
|
response = new __BaseException({
|
|
4154
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4214
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4155
4215
|
$fault: "client",
|
|
4156
|
-
$metadata:
|
|
4216
|
+
$metadata: $metadata,
|
|
4157
4217
|
});
|
|
4158
4218
|
throw __decorateServiceException(response, parsedBody);
|
|
4159
4219
|
}
|
|
@@ -4242,44 +4302,36 @@ var serializeAws_json1_1ArnList = function (input, context) {
|
|
|
4242
4302
|
});
|
|
4243
4303
|
};
|
|
4244
4304
|
var serializeAws_json1_1AutoMLConfig = function (input, context) {
|
|
4245
|
-
return __assign(__assign({}, (input.metricName
|
|
4246
|
-
input.recipeList !== null && { recipeList: serializeAws_json1_1ArnList(input.recipeList, context) }));
|
|
4305
|
+
return __assign(__assign({}, (input.metricName != null && { metricName: input.metricName })), (input.recipeList != null && { recipeList: serializeAws_json1_1ArnList(input.recipeList, context) }));
|
|
4247
4306
|
};
|
|
4248
4307
|
var serializeAws_json1_1BatchInferenceJobConfig = function (input, context) {
|
|
4249
|
-
return __assign({}, (input.itemExplorationConfig
|
|
4250
|
-
input.itemExplorationConfig !== null && {
|
|
4308
|
+
return __assign({}, (input.itemExplorationConfig != null && {
|
|
4251
4309
|
itemExplorationConfig: serializeAws_json1_1HyperParameters(input.itemExplorationConfig, context),
|
|
4252
4310
|
}));
|
|
4253
4311
|
};
|
|
4254
4312
|
var serializeAws_json1_1BatchInferenceJobInput = function (input, context) {
|
|
4255
|
-
return __assign({}, (input.s3DataSource
|
|
4256
|
-
input.s3DataSource !== null && { s3DataSource: serializeAws_json1_1S3DataConfig(input.s3DataSource, context) }));
|
|
4313
|
+
return __assign({}, (input.s3DataSource != null && { s3DataSource: serializeAws_json1_1S3DataConfig(input.s3DataSource, context) }));
|
|
4257
4314
|
};
|
|
4258
4315
|
var serializeAws_json1_1BatchInferenceJobOutput = function (input, context) {
|
|
4259
|
-
return __assign({}, (input.s3DataDestination
|
|
4260
|
-
input.s3DataDestination !== null && {
|
|
4316
|
+
return __assign({}, (input.s3DataDestination != null && {
|
|
4261
4317
|
s3DataDestination: serializeAws_json1_1S3DataConfig(input.s3DataDestination, context),
|
|
4262
4318
|
}));
|
|
4263
4319
|
};
|
|
4264
4320
|
var serializeAws_json1_1BatchSegmentJobInput = function (input, context) {
|
|
4265
|
-
return __assign({}, (input.s3DataSource
|
|
4266
|
-
input.s3DataSource !== null && { s3DataSource: serializeAws_json1_1S3DataConfig(input.s3DataSource, context) }));
|
|
4321
|
+
return __assign({}, (input.s3DataSource != null && { s3DataSource: serializeAws_json1_1S3DataConfig(input.s3DataSource, context) }));
|
|
4267
4322
|
};
|
|
4268
4323
|
var serializeAws_json1_1BatchSegmentJobOutput = function (input, context) {
|
|
4269
|
-
return __assign({}, (input.s3DataDestination
|
|
4270
|
-
input.s3DataDestination !== null && {
|
|
4324
|
+
return __assign({}, (input.s3DataDestination != null && {
|
|
4271
4325
|
s3DataDestination: serializeAws_json1_1S3DataConfig(input.s3DataDestination, context),
|
|
4272
4326
|
}));
|
|
4273
4327
|
};
|
|
4274
4328
|
var serializeAws_json1_1CampaignConfig = function (input, context) {
|
|
4275
|
-
return __assign({}, (input.itemExplorationConfig
|
|
4276
|
-
input.itemExplorationConfig !== null && {
|
|
4329
|
+
return __assign({}, (input.itemExplorationConfig != null && {
|
|
4277
4330
|
itemExplorationConfig: serializeAws_json1_1HyperParameters(input.itemExplorationConfig, context),
|
|
4278
4331
|
}));
|
|
4279
4332
|
};
|
|
4280
4333
|
var serializeAws_json1_1CategoricalHyperParameterRange = function (input, context) {
|
|
4281
|
-
return __assign(__assign({}, (input.name
|
|
4282
|
-
input.values !== null && { values: serializeAws_json1_1CategoricalValues(input.values, context) }));
|
|
4334
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.values != null && { values: serializeAws_json1_1CategoricalValues(input.values, context) }));
|
|
4283
4335
|
};
|
|
4284
4336
|
var serializeAws_json1_1CategoricalHyperParameterRanges = function (input, context) {
|
|
4285
4337
|
return input
|
|
@@ -4302,7 +4354,7 @@ var serializeAws_json1_1CategoricalValues = function (input, context) {
|
|
|
4302
4354
|
});
|
|
4303
4355
|
};
|
|
4304
4356
|
var serializeAws_json1_1ContinuousHyperParameterRange = function (input, context) {
|
|
4305
|
-
return __assign(__assign(__assign({}, (input.maxValue
|
|
4357
|
+
return __assign(__assign(__assign({}, (input.maxValue != null && { maxValue: __serializeFloat(input.maxValue) })), (input.minValue != null && { minValue: __serializeFloat(input.minValue) })), (input.name != null && { name: input.name }));
|
|
4306
4358
|
};
|
|
4307
4359
|
var serializeAws_json1_1ContinuousHyperParameterRanges = function (input, context) {
|
|
4308
4360
|
return input
|
|
@@ -4315,164 +4367,133 @@ var serializeAws_json1_1ContinuousHyperParameterRanges = function (input, contex
|
|
|
4315
4367
|
});
|
|
4316
4368
|
};
|
|
4317
4369
|
var serializeAws_json1_1CreateBatchInferenceJobRequest = function (input, context) {
|
|
4318
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.batchInferenceJobConfig
|
|
4319
|
-
input.batchInferenceJobConfig !== null && {
|
|
4370
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.batchInferenceJobConfig != null && {
|
|
4320
4371
|
batchInferenceJobConfig: serializeAws_json1_1BatchInferenceJobConfig(input.batchInferenceJobConfig, context),
|
|
4321
|
-
})), (input.filterArn
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4372
|
+
})), (input.filterArn != null && { filterArn: input.filterArn })), (input.jobInput != null && { jobInput: serializeAws_json1_1BatchInferenceJobInput(input.jobInput, context) })), (input.jobName != null && { jobName: input.jobName })), (input.jobOutput != null && {
|
|
4373
|
+
jobOutput: serializeAws_json1_1BatchInferenceJobOutput(input.jobOutput, context),
|
|
4374
|
+
})), (input.numResults != null && { numResults: input.numResults })), (input.roleArn != null && { roleArn: input.roleArn })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4325
4375
|
};
|
|
4326
4376
|
var serializeAws_json1_1CreateBatchSegmentJobRequest = function (input, context) {
|
|
4327
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.filterArn
|
|
4328
|
-
input.jobInput !== null && { jobInput: serializeAws_json1_1BatchSegmentJobInput(input.jobInput, context) })), (input.jobName !== undefined && input.jobName !== null && { jobName: input.jobName })), (input.jobOutput !== undefined &&
|
|
4329
|
-
input.jobOutput !== null && { jobOutput: serializeAws_json1_1BatchSegmentJobOutput(input.jobOutput, context) })), (input.numResults !== undefined && input.numResults !== null && { numResults: input.numResults })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.solutionVersionArn !== undefined &&
|
|
4330
|
-
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4377
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.filterArn != null && { filterArn: input.filterArn })), (input.jobInput != null && { jobInput: serializeAws_json1_1BatchSegmentJobInput(input.jobInput, context) })), (input.jobName != null && { jobName: input.jobName })), (input.jobOutput != null && { jobOutput: serializeAws_json1_1BatchSegmentJobOutput(input.jobOutput, context) })), (input.numResults != null && { numResults: input.numResults })), (input.roleArn != null && { roleArn: input.roleArn })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4331
4378
|
};
|
|
4332
4379
|
var serializeAws_json1_1CreateCampaignRequest = function (input, context) {
|
|
4333
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.campaignConfig
|
|
4334
|
-
input.campaignConfig !== null && {
|
|
4380
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.campaignConfig != null && {
|
|
4335
4381
|
campaignConfig: serializeAws_json1_1CampaignConfig(input.campaignConfig, context),
|
|
4336
|
-
})), (input.minProvisionedTPS
|
|
4337
|
-
input.minProvisionedTPS !== null && { minProvisionedTPS: input.minProvisionedTPS })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.solutionVersionArn !== undefined &&
|
|
4338
|
-
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4382
|
+
})), (input.minProvisionedTPS != null && { minProvisionedTPS: input.minProvisionedTPS })), (input.name != null && { name: input.name })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4339
4383
|
};
|
|
4340
4384
|
var serializeAws_json1_1CreateDatasetExportJobRequest = function (input, context) {
|
|
4341
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.datasetArn
|
|
4342
|
-
input.jobOutput !== null && { jobOutput: serializeAws_json1_1DatasetExportJobOutput(input.jobOutput, context) })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4385
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn })), (input.ingestionMode != null && { ingestionMode: input.ingestionMode })), (input.jobName != null && { jobName: input.jobName })), (input.jobOutput != null && { jobOutput: serializeAws_json1_1DatasetExportJobOutput(input.jobOutput, context) })), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4343
4386
|
};
|
|
4344
4387
|
var serializeAws_json1_1CreateDatasetGroupRequest = function (input, context) {
|
|
4345
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
4388
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn })), (input.name != null && { name: input.name })), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4346
4389
|
};
|
|
4347
4390
|
var serializeAws_json1_1CreateDatasetImportJobRequest = function (input, context) {
|
|
4348
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.dataSource
|
|
4349
|
-
input.dataSource !== null && { dataSource: serializeAws_json1_1DataSource(input.dataSource, context) })), (input.datasetArn !== undefined && input.datasetArn !== null && { datasetArn: input.datasetArn })), (input.jobName !== undefined && input.jobName !== null && { jobName: input.jobName })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4391
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.dataSource != null && { dataSource: serializeAws_json1_1DataSource(input.dataSource, context) })), (input.datasetArn != null && { datasetArn: input.datasetArn })), (input.jobName != null && { jobName: input.jobName })), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4350
4392
|
};
|
|
4351
4393
|
var serializeAws_json1_1CreateDatasetRequest = function (input, context) {
|
|
4352
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4353
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.datasetType !== undefined && input.datasetType !== null && { datasetType: input.datasetType })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.schemaArn !== undefined && input.schemaArn !== null && { schemaArn: input.schemaArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4394
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.datasetType != null && { datasetType: input.datasetType })), (input.name != null && { name: input.name })), (input.schemaArn != null && { schemaArn: input.schemaArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4354
4395
|
};
|
|
4355
4396
|
var serializeAws_json1_1CreateEventTrackerRequest = function (input, context) {
|
|
4356
|
-
return __assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4357
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4397
|
+
return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4358
4398
|
};
|
|
4359
4399
|
var serializeAws_json1_1CreateFilterRequest = function (input, context) {
|
|
4360
|
-
return __assign(__assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4361
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.filterExpression !== undefined &&
|
|
4362
|
-
input.filterExpression !== null && { filterExpression: input.filterExpression })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4400
|
+
return __assign(__assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.filterExpression != null && { filterExpression: input.filterExpression })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4363
4401
|
};
|
|
4364
4402
|
var serializeAws_json1_1CreateRecommenderRequest = function (input, context) {
|
|
4365
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4366
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.recipeArn !== undefined && input.recipeArn !== null && { recipeArn: input.recipeArn })), (input.recommenderConfig !== undefined &&
|
|
4367
|
-
input.recommenderConfig !== null && {
|
|
4403
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.name != null && { name: input.name })), (input.recipeArn != null && { recipeArn: input.recipeArn })), (input.recommenderConfig != null && {
|
|
4368
4404
|
recommenderConfig: serializeAws_json1_1RecommenderConfig(input.recommenderConfig, context),
|
|
4369
|
-
})), (input.tags
|
|
4405
|
+
})), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4370
4406
|
};
|
|
4371
4407
|
var serializeAws_json1_1CreateSchemaRequest = function (input, context) {
|
|
4372
|
-
return __assign(__assign(__assign({}, (input.domain
|
|
4408
|
+
return __assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.name != null && { name: input.name })), (input.schema != null && { schema: input.schema }));
|
|
4373
4409
|
};
|
|
4374
4410
|
var serializeAws_json1_1CreateSolutionRequest = function (input, context) {
|
|
4375
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4376
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.eventType !== undefined && input.eventType !== null && { eventType: input.eventType })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.performAutoML !== undefined && input.performAutoML !== null && { performAutoML: input.performAutoML })), (input.performHPO !== undefined && input.performHPO !== null && { performHPO: input.performHPO })), (input.recipeArn !== undefined && input.recipeArn !== null && { recipeArn: input.recipeArn })), (input.solutionConfig !== undefined &&
|
|
4377
|
-
input.solutionConfig !== null && {
|
|
4411
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.eventType != null && { eventType: input.eventType })), (input.name != null && { name: input.name })), (input.performAutoML != null && { performAutoML: input.performAutoML })), (input.performHPO != null && { performHPO: input.performHPO })), (input.recipeArn != null && { recipeArn: input.recipeArn })), (input.solutionConfig != null && {
|
|
4378
4412
|
solutionConfig: serializeAws_json1_1SolutionConfig(input.solutionConfig, context),
|
|
4379
|
-
})), (input.tags
|
|
4413
|
+
})), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4380
4414
|
};
|
|
4381
4415
|
var serializeAws_json1_1CreateSolutionVersionRequest = function (input, context) {
|
|
4382
|
-
return __assign(__assign(__assign({}, (input.solutionArn
|
|
4416
|
+
return __assign(__assign(__assign({}, (input.solutionArn != null && { solutionArn: input.solutionArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.trainingMode != null && { trainingMode: input.trainingMode }));
|
|
4383
4417
|
};
|
|
4384
4418
|
var serializeAws_json1_1DatasetExportJobOutput = function (input, context) {
|
|
4385
|
-
return __assign({}, (input.s3DataDestination
|
|
4386
|
-
input.s3DataDestination !== null && {
|
|
4419
|
+
return __assign({}, (input.s3DataDestination != null && {
|
|
4387
4420
|
s3DataDestination: serializeAws_json1_1S3DataConfig(input.s3DataDestination, context),
|
|
4388
4421
|
}));
|
|
4389
4422
|
};
|
|
4390
4423
|
var serializeAws_json1_1DataSource = function (input, context) {
|
|
4391
|
-
return __assign({}, (input.dataLocation
|
|
4424
|
+
return __assign({}, (input.dataLocation != null && { dataLocation: input.dataLocation }));
|
|
4392
4425
|
};
|
|
4393
4426
|
var serializeAws_json1_1DeleteCampaignRequest = function (input, context) {
|
|
4394
|
-
return __assign({}, (input.campaignArn
|
|
4427
|
+
return __assign({}, (input.campaignArn != null && { campaignArn: input.campaignArn }));
|
|
4395
4428
|
};
|
|
4396
4429
|
var serializeAws_json1_1DeleteDatasetGroupRequest = function (input, context) {
|
|
4397
|
-
return __assign({}, (input.datasetGroupArn
|
|
4398
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn }));
|
|
4430
|
+
return __assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }));
|
|
4399
4431
|
};
|
|
4400
4432
|
var serializeAws_json1_1DeleteDatasetRequest = function (input, context) {
|
|
4401
|
-
return __assign({}, (input.datasetArn
|
|
4433
|
+
return __assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn }));
|
|
4402
4434
|
};
|
|
4403
4435
|
var serializeAws_json1_1DeleteEventTrackerRequest = function (input, context) {
|
|
4404
|
-
return __assign({}, (input.eventTrackerArn
|
|
4405
|
-
input.eventTrackerArn !== null && { eventTrackerArn: input.eventTrackerArn }));
|
|
4436
|
+
return __assign({}, (input.eventTrackerArn != null && { eventTrackerArn: input.eventTrackerArn }));
|
|
4406
4437
|
};
|
|
4407
4438
|
var serializeAws_json1_1DeleteFilterRequest = function (input, context) {
|
|
4408
|
-
return __assign({}, (input.filterArn
|
|
4439
|
+
return __assign({}, (input.filterArn != null && { filterArn: input.filterArn }));
|
|
4409
4440
|
};
|
|
4410
4441
|
var serializeAws_json1_1DeleteRecommenderRequest = function (input, context) {
|
|
4411
|
-
return __assign({}, (input.recommenderArn
|
|
4412
|
-
input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
|
|
4442
|
+
return __assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn }));
|
|
4413
4443
|
};
|
|
4414
4444
|
var serializeAws_json1_1DeleteSchemaRequest = function (input, context) {
|
|
4415
|
-
return __assign({}, (input.schemaArn
|
|
4445
|
+
return __assign({}, (input.schemaArn != null && { schemaArn: input.schemaArn }));
|
|
4416
4446
|
};
|
|
4417
4447
|
var serializeAws_json1_1DeleteSolutionRequest = function (input, context) {
|
|
4418
|
-
return __assign({}, (input.solutionArn
|
|
4448
|
+
return __assign({}, (input.solutionArn != null && { solutionArn: input.solutionArn }));
|
|
4419
4449
|
};
|
|
4420
4450
|
var serializeAws_json1_1DescribeAlgorithmRequest = function (input, context) {
|
|
4421
|
-
return __assign({}, (input.algorithmArn
|
|
4451
|
+
return __assign({}, (input.algorithmArn != null && { algorithmArn: input.algorithmArn }));
|
|
4422
4452
|
};
|
|
4423
4453
|
var serializeAws_json1_1DescribeBatchInferenceJobRequest = function (input, context) {
|
|
4424
|
-
return __assign({}, (input.batchInferenceJobArn
|
|
4425
|
-
input.batchInferenceJobArn !== null && { batchInferenceJobArn: input.batchInferenceJobArn }));
|
|
4454
|
+
return __assign({}, (input.batchInferenceJobArn != null && { batchInferenceJobArn: input.batchInferenceJobArn }));
|
|
4426
4455
|
};
|
|
4427
4456
|
var serializeAws_json1_1DescribeBatchSegmentJobRequest = function (input, context) {
|
|
4428
|
-
return __assign({}, (input.batchSegmentJobArn
|
|
4429
|
-
input.batchSegmentJobArn !== null && { batchSegmentJobArn: input.batchSegmentJobArn }));
|
|
4457
|
+
return __assign({}, (input.batchSegmentJobArn != null && { batchSegmentJobArn: input.batchSegmentJobArn }));
|
|
4430
4458
|
};
|
|
4431
4459
|
var serializeAws_json1_1DescribeCampaignRequest = function (input, context) {
|
|
4432
|
-
return __assign({}, (input.campaignArn
|
|
4460
|
+
return __assign({}, (input.campaignArn != null && { campaignArn: input.campaignArn }));
|
|
4433
4461
|
};
|
|
4434
4462
|
var serializeAws_json1_1DescribeDatasetExportJobRequest = function (input, context) {
|
|
4435
|
-
return __assign({}, (input.datasetExportJobArn
|
|
4436
|
-
input.datasetExportJobArn !== null && { datasetExportJobArn: input.datasetExportJobArn }));
|
|
4463
|
+
return __assign({}, (input.datasetExportJobArn != null && { datasetExportJobArn: input.datasetExportJobArn }));
|
|
4437
4464
|
};
|
|
4438
4465
|
var serializeAws_json1_1DescribeDatasetGroupRequest = function (input, context) {
|
|
4439
|
-
return __assign({}, (input.datasetGroupArn
|
|
4440
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn }));
|
|
4466
|
+
return __assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }));
|
|
4441
4467
|
};
|
|
4442
4468
|
var serializeAws_json1_1DescribeDatasetImportJobRequest = function (input, context) {
|
|
4443
|
-
return __assign({}, (input.datasetImportJobArn
|
|
4444
|
-
input.datasetImportJobArn !== null && { datasetImportJobArn: input.datasetImportJobArn }));
|
|
4469
|
+
return __assign({}, (input.datasetImportJobArn != null && { datasetImportJobArn: input.datasetImportJobArn }));
|
|
4445
4470
|
};
|
|
4446
4471
|
var serializeAws_json1_1DescribeDatasetRequest = function (input, context) {
|
|
4447
|
-
return __assign({}, (input.datasetArn
|
|
4472
|
+
return __assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn }));
|
|
4448
4473
|
};
|
|
4449
4474
|
var serializeAws_json1_1DescribeEventTrackerRequest = function (input, context) {
|
|
4450
|
-
return __assign({}, (input.eventTrackerArn
|
|
4451
|
-
input.eventTrackerArn !== null && { eventTrackerArn: input.eventTrackerArn }));
|
|
4475
|
+
return __assign({}, (input.eventTrackerArn != null && { eventTrackerArn: input.eventTrackerArn }));
|
|
4452
4476
|
};
|
|
4453
4477
|
var serializeAws_json1_1DescribeFeatureTransformationRequest = function (input, context) {
|
|
4454
|
-
return __assign({}, (input.featureTransformationArn
|
|
4455
|
-
input.featureTransformationArn !== null && { featureTransformationArn: input.featureTransformationArn }));
|
|
4478
|
+
return __assign({}, (input.featureTransformationArn != null && { featureTransformationArn: input.featureTransformationArn }));
|
|
4456
4479
|
};
|
|
4457
4480
|
var serializeAws_json1_1DescribeFilterRequest = function (input, context) {
|
|
4458
|
-
return __assign({}, (input.filterArn
|
|
4481
|
+
return __assign({}, (input.filterArn != null && { filterArn: input.filterArn }));
|
|
4459
4482
|
};
|
|
4460
4483
|
var serializeAws_json1_1DescribeRecipeRequest = function (input, context) {
|
|
4461
|
-
return __assign({}, (input.recipeArn
|
|
4484
|
+
return __assign({}, (input.recipeArn != null && { recipeArn: input.recipeArn }));
|
|
4462
4485
|
};
|
|
4463
4486
|
var serializeAws_json1_1DescribeRecommenderRequest = function (input, context) {
|
|
4464
|
-
return __assign({}, (input.recommenderArn
|
|
4465
|
-
input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
|
|
4487
|
+
return __assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn }));
|
|
4466
4488
|
};
|
|
4467
4489
|
var serializeAws_json1_1DescribeSchemaRequest = function (input, context) {
|
|
4468
|
-
return __assign({}, (input.schemaArn
|
|
4490
|
+
return __assign({}, (input.schemaArn != null && { schemaArn: input.schemaArn }));
|
|
4469
4491
|
};
|
|
4470
4492
|
var serializeAws_json1_1DescribeSolutionRequest = function (input, context) {
|
|
4471
|
-
return __assign({}, (input.solutionArn
|
|
4493
|
+
return __assign({}, (input.solutionArn != null && { solutionArn: input.solutionArn }));
|
|
4472
4494
|
};
|
|
4473
4495
|
var serializeAws_json1_1DescribeSolutionVersionRequest = function (input, context) {
|
|
4474
|
-
return __assign({}, (input.solutionVersionArn
|
|
4475
|
-
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4496
|
+
return __assign({}, (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4476
4497
|
};
|
|
4477
4498
|
var serializeAws_json1_1FeatureTransformationParameters = function (input, context) {
|
|
4478
4499
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4485,36 +4506,27 @@ var serializeAws_json1_1FeatureTransformationParameters = function (input, conte
|
|
|
4485
4506
|
}, {});
|
|
4486
4507
|
};
|
|
4487
4508
|
var serializeAws_json1_1GetSolutionMetricsRequest = function (input, context) {
|
|
4488
|
-
return __assign({}, (input.solutionVersionArn
|
|
4489
|
-
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4509
|
+
return __assign({}, (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4490
4510
|
};
|
|
4491
4511
|
var serializeAws_json1_1HPOConfig = function (input, context) {
|
|
4492
|
-
return __assign(__assign(__assign({}, (input.algorithmHyperParameterRanges
|
|
4493
|
-
input.algorithmHyperParameterRanges !== null && {
|
|
4512
|
+
return __assign(__assign(__assign({}, (input.algorithmHyperParameterRanges != null && {
|
|
4494
4513
|
algorithmHyperParameterRanges: serializeAws_json1_1HyperParameterRanges(input.algorithmHyperParameterRanges, context),
|
|
4495
|
-
})), (input.hpoObjective
|
|
4496
|
-
input.hpoObjective !== null && { hpoObjective: serializeAws_json1_1HPOObjective(input.hpoObjective, context) })), (input.hpoResourceConfig !== undefined &&
|
|
4497
|
-
input.hpoResourceConfig !== null && {
|
|
4514
|
+
})), (input.hpoObjective != null && { hpoObjective: serializeAws_json1_1HPOObjective(input.hpoObjective, context) })), (input.hpoResourceConfig != null && {
|
|
4498
4515
|
hpoResourceConfig: serializeAws_json1_1HPOResourceConfig(input.hpoResourceConfig, context),
|
|
4499
4516
|
}));
|
|
4500
4517
|
};
|
|
4501
4518
|
var serializeAws_json1_1HPOObjective = function (input, context) {
|
|
4502
|
-
return __assign(__assign(__assign({}, (input.metricName
|
|
4519
|
+
return __assign(__assign(__assign({}, (input.metricName != null && { metricName: input.metricName })), (input.metricRegex != null && { metricRegex: input.metricRegex })), (input.type != null && { type: input.type }));
|
|
4503
4520
|
};
|
|
4504
4521
|
var serializeAws_json1_1HPOResourceConfig = function (input, context) {
|
|
4505
|
-
return __assign(__assign({}, (input.maxNumberOfTrainingJobs
|
|
4506
|
-
input.maxNumberOfTrainingJobs !== null && { maxNumberOfTrainingJobs: input.maxNumberOfTrainingJobs })), (input.maxParallelTrainingJobs !== undefined &&
|
|
4507
|
-
input.maxParallelTrainingJobs !== null && { maxParallelTrainingJobs: input.maxParallelTrainingJobs }));
|
|
4522
|
+
return __assign(__assign({}, (input.maxNumberOfTrainingJobs != null && { maxNumberOfTrainingJobs: input.maxNumberOfTrainingJobs })), (input.maxParallelTrainingJobs != null && { maxParallelTrainingJobs: input.maxParallelTrainingJobs }));
|
|
4508
4523
|
};
|
|
4509
4524
|
var serializeAws_json1_1HyperParameterRanges = function (input, context) {
|
|
4510
|
-
return __assign(__assign(__assign({}, (input.categoricalHyperParameterRanges
|
|
4511
|
-
input.categoricalHyperParameterRanges !== null && {
|
|
4525
|
+
return __assign(__assign(__assign({}, (input.categoricalHyperParameterRanges != null && {
|
|
4512
4526
|
categoricalHyperParameterRanges: serializeAws_json1_1CategoricalHyperParameterRanges(input.categoricalHyperParameterRanges, context),
|
|
4513
|
-
})), (input.continuousHyperParameterRanges
|
|
4514
|
-
input.continuousHyperParameterRanges !== null && {
|
|
4527
|
+
})), (input.continuousHyperParameterRanges != null && {
|
|
4515
4528
|
continuousHyperParameterRanges: serializeAws_json1_1ContinuousHyperParameterRanges(input.continuousHyperParameterRanges, context),
|
|
4516
|
-
})), (input.integerHyperParameterRanges
|
|
4517
|
-
input.integerHyperParameterRanges !== null && {
|
|
4529
|
+
})), (input.integerHyperParameterRanges != null && {
|
|
4518
4530
|
integerHyperParameterRanges: serializeAws_json1_1IntegerHyperParameterRanges(input.integerHyperParameterRanges, context),
|
|
4519
4531
|
}));
|
|
4520
4532
|
};
|
|
@@ -4529,7 +4541,7 @@ var serializeAws_json1_1HyperParameters = function (input, context) {
|
|
|
4529
4541
|
}, {});
|
|
4530
4542
|
};
|
|
4531
4543
|
var serializeAws_json1_1IntegerHyperParameterRange = function (input, context) {
|
|
4532
|
-
return __assign(__assign(__assign({}, (input.maxValue
|
|
4544
|
+
return __assign(__assign(__assign({}, (input.maxValue != null && { maxValue: input.maxValue })), (input.minValue != null && { minValue: input.minValue })), (input.name != null && { name: input.name }));
|
|
4533
4545
|
};
|
|
4534
4546
|
var serializeAws_json1_1IntegerHyperParameterRanges = function (input, context) {
|
|
4535
4547
|
return input
|
|
@@ -4542,103 +4554,83 @@ var serializeAws_json1_1IntegerHyperParameterRanges = function (input, context)
|
|
|
4542
4554
|
});
|
|
4543
4555
|
};
|
|
4544
4556
|
var serializeAws_json1_1ListBatchInferenceJobsRequest = function (input, context) {
|
|
4545
|
-
return __assign(__assign(__assign({}, (input.maxResults
|
|
4546
|
-
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4557
|
+
return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4547
4558
|
};
|
|
4548
4559
|
var serializeAws_json1_1ListBatchSegmentJobsRequest = function (input, context) {
|
|
4549
|
-
return __assign(__assign(__assign({}, (input.maxResults
|
|
4550
|
-
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4560
|
+
return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4551
4561
|
};
|
|
4552
4562
|
var serializeAws_json1_1ListCampaignsRequest = function (input, context) {
|
|
4553
|
-
return __assign(__assign(__assign({}, (input.maxResults
|
|
4563
|
+
return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.solutionArn != null && { solutionArn: input.solutionArn }));
|
|
4554
4564
|
};
|
|
4555
4565
|
var serializeAws_json1_1ListDatasetExportJobsRequest = function (input, context) {
|
|
4556
|
-
return __assign(__assign(__assign({}, (input.datasetArn
|
|
4566
|
+
return __assign(__assign(__assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4557
4567
|
};
|
|
4558
4568
|
var serializeAws_json1_1ListDatasetGroupsRequest = function (input, context) {
|
|
4559
|
-
return __assign(__assign({}, (input.maxResults
|
|
4569
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4560
4570
|
};
|
|
4561
4571
|
var serializeAws_json1_1ListDatasetImportJobsRequest = function (input, context) {
|
|
4562
|
-
return __assign(__assign(__assign({}, (input.datasetArn
|
|
4572
|
+
return __assign(__assign(__assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4563
4573
|
};
|
|
4564
4574
|
var serializeAws_json1_1ListDatasetsRequest = function (input, context) {
|
|
4565
|
-
return __assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4566
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
4575
|
+
return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4567
4576
|
};
|
|
4568
4577
|
var serializeAws_json1_1ListEventTrackersRequest = function (input, context) {
|
|
4569
|
-
return __assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4570
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
4578
|
+
return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4571
4579
|
};
|
|
4572
4580
|
var serializeAws_json1_1ListFiltersRequest = function (input, context) {
|
|
4573
|
-
return __assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4574
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
4581
|
+
return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4575
4582
|
};
|
|
4576
4583
|
var serializeAws_json1_1ListRecipesRequest = function (input, context) {
|
|
4577
|
-
return __assign(__assign(__assign(__assign({}, (input.domain
|
|
4578
|
-
input.recipeProvider !== null && { recipeProvider: input.recipeProvider }));
|
|
4584
|
+
return __assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.recipeProvider != null && { recipeProvider: input.recipeProvider }));
|
|
4579
4585
|
};
|
|
4580
4586
|
var serializeAws_json1_1ListRecommendersRequest = function (input, context) {
|
|
4581
|
-
return __assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4582
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
4587
|
+
return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4583
4588
|
};
|
|
4584
4589
|
var serializeAws_json1_1ListSchemasRequest = function (input, context) {
|
|
4585
|
-
return __assign(__assign({}, (input.maxResults
|
|
4590
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4586
4591
|
};
|
|
4587
4592
|
var serializeAws_json1_1ListSolutionsRequest = function (input, context) {
|
|
4588
|
-
return __assign(__assign(__assign({}, (input.datasetGroupArn
|
|
4589
|
-
input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
4593
|
+
return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
4590
4594
|
};
|
|
4591
4595
|
var serializeAws_json1_1ListSolutionVersionsRequest = function (input, context) {
|
|
4592
|
-
return __assign(__assign(__assign({}, (input.maxResults
|
|
4596
|
+
return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.solutionArn != null && { solutionArn: input.solutionArn }));
|
|
4593
4597
|
};
|
|
4594
4598
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
4595
|
-
return __assign({}, (input.resourceArn
|
|
4599
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
4596
4600
|
};
|
|
4597
4601
|
var serializeAws_json1_1OptimizationObjective = function (input, context) {
|
|
4598
|
-
return __assign(__assign({}, (input.itemAttribute
|
|
4599
|
-
input.objectiveSensitivity !== null && { objectiveSensitivity: input.objectiveSensitivity }));
|
|
4602
|
+
return __assign(__assign({}, (input.itemAttribute != null && { itemAttribute: input.itemAttribute })), (input.objectiveSensitivity != null && { objectiveSensitivity: input.objectiveSensitivity }));
|
|
4600
4603
|
};
|
|
4601
4604
|
var serializeAws_json1_1RecommenderConfig = function (input, context) {
|
|
4602
|
-
return __assign(__assign({}, (input.itemExplorationConfig
|
|
4603
|
-
input.itemExplorationConfig !== null && {
|
|
4605
|
+
return __assign(__assign({}, (input.itemExplorationConfig != null && {
|
|
4604
4606
|
itemExplorationConfig: serializeAws_json1_1HyperParameters(input.itemExplorationConfig, context),
|
|
4605
|
-
})), (input.minRecommendationRequestsPerSecond
|
|
4606
|
-
input.minRecommendationRequestsPerSecond !== null && {
|
|
4607
|
+
})), (input.minRecommendationRequestsPerSecond != null && {
|
|
4607
4608
|
minRecommendationRequestsPerSecond: input.minRecommendationRequestsPerSecond,
|
|
4608
4609
|
}));
|
|
4609
4610
|
};
|
|
4610
4611
|
var serializeAws_json1_1S3DataConfig = function (input, context) {
|
|
4611
|
-
return __assign(__assign({}, (input.kmsKeyArn
|
|
4612
|
+
return __assign(__assign({}, (input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn })), (input.path != null && { path: input.path }));
|
|
4612
4613
|
};
|
|
4613
4614
|
var serializeAws_json1_1SolutionConfig = function (input, context) {
|
|
4614
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.algorithmHyperParameters
|
|
4615
|
-
input.algorithmHyperParameters !== null && {
|
|
4615
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.algorithmHyperParameters != null && {
|
|
4616
4616
|
algorithmHyperParameters: serializeAws_json1_1HyperParameters(input.algorithmHyperParameters, context),
|
|
4617
|
-
})), (input.autoMLConfig
|
|
4618
|
-
input.autoMLConfig !== null && { autoMLConfig: serializeAws_json1_1AutoMLConfig(input.autoMLConfig, context) })), (input.eventValueThreshold !== undefined &&
|
|
4619
|
-
input.eventValueThreshold !== null && { eventValueThreshold: input.eventValueThreshold })), (input.featureTransformationParameters !== undefined &&
|
|
4620
|
-
input.featureTransformationParameters !== null && {
|
|
4617
|
+
})), (input.autoMLConfig != null && { autoMLConfig: serializeAws_json1_1AutoMLConfig(input.autoMLConfig, context) })), (input.eventValueThreshold != null && { eventValueThreshold: input.eventValueThreshold })), (input.featureTransformationParameters != null && {
|
|
4621
4618
|
featureTransformationParameters: serializeAws_json1_1FeatureTransformationParameters(input.featureTransformationParameters, context),
|
|
4622
|
-
})), (input.hpoConfig
|
|
4623
|
-
input.hpoConfig !== null && { hpoConfig: serializeAws_json1_1HPOConfig(input.hpoConfig, context) })), (input.optimizationObjective !== undefined &&
|
|
4624
|
-
input.optimizationObjective !== null && {
|
|
4619
|
+
})), (input.hpoConfig != null && { hpoConfig: serializeAws_json1_1HPOConfig(input.hpoConfig, context) })), (input.optimizationObjective != null && {
|
|
4625
4620
|
optimizationObjective: serializeAws_json1_1OptimizationObjective(input.optimizationObjective, context),
|
|
4626
4621
|
}));
|
|
4627
4622
|
};
|
|
4628
4623
|
var serializeAws_json1_1StartRecommenderRequest = function (input, context) {
|
|
4629
|
-
return __assign({}, (input.recommenderArn
|
|
4630
|
-
input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
|
|
4624
|
+
return __assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn }));
|
|
4631
4625
|
};
|
|
4632
4626
|
var serializeAws_json1_1StopRecommenderRequest = function (input, context) {
|
|
4633
|
-
return __assign({}, (input.recommenderArn
|
|
4634
|
-
input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
|
|
4627
|
+
return __assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn }));
|
|
4635
4628
|
};
|
|
4636
4629
|
var serializeAws_json1_1StopSolutionVersionCreationRequest = function (input, context) {
|
|
4637
|
-
return __assign({}, (input.solutionVersionArn
|
|
4638
|
-
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4630
|
+
return __assign({}, (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4639
4631
|
};
|
|
4640
4632
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
4641
|
-
return __assign(__assign({}, (input.tagKey
|
|
4633
|
+
return __assign(__assign({}, (input.tagKey != null && { tagKey: input.tagKey })), (input.tagValue != null && { tagValue: input.tagValue }));
|
|
4642
4634
|
};
|
|
4643
4635
|
var serializeAws_json1_1TagKeys = function (input, context) {
|
|
4644
4636
|
return input
|
|
@@ -4651,7 +4643,7 @@ var serializeAws_json1_1TagKeys = function (input, context) {
|
|
|
4651
4643
|
});
|
|
4652
4644
|
};
|
|
4653
4645
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
4654
|
-
return __assign(__assign({}, (input.resourceArn
|
|
4646
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
|
|
4655
4647
|
};
|
|
4656
4648
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
4657
4649
|
return input
|
|
@@ -4664,43 +4656,35 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
4664
4656
|
});
|
|
4665
4657
|
};
|
|
4666
4658
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
4667
|
-
return __assign(__assign({}, (input.resourceArn
|
|
4668
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_1TagKeys(input.tagKeys, context) }));
|
|
4659
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeys(input.tagKeys, context) }));
|
|
4669
4660
|
};
|
|
4670
4661
|
var serializeAws_json1_1UpdateCampaignRequest = function (input, context) {
|
|
4671
|
-
return __assign(__assign(__assign(__assign({}, (input.campaignArn
|
|
4672
|
-
input.campaignConfig !== null && {
|
|
4662
|
+
return __assign(__assign(__assign(__assign({}, (input.campaignArn != null && { campaignArn: input.campaignArn })), (input.campaignConfig != null && {
|
|
4673
4663
|
campaignConfig: serializeAws_json1_1CampaignConfig(input.campaignConfig, context),
|
|
4674
|
-
})), (input.minProvisionedTPS
|
|
4675
|
-
input.minProvisionedTPS !== null && { minProvisionedTPS: input.minProvisionedTPS })), (input.solutionVersionArn !== undefined &&
|
|
4676
|
-
input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4664
|
+
})), (input.minProvisionedTPS != null && { minProvisionedTPS: input.minProvisionedTPS })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
|
|
4677
4665
|
};
|
|
4678
4666
|
var serializeAws_json1_1UpdateRecommenderRequest = function (input, context) {
|
|
4679
|
-
return __assign(__assign({}, (input.recommenderArn
|
|
4680
|
-
input.recommenderArn !== null && { recommenderArn: input.recommenderArn })), (input.recommenderConfig !== undefined &&
|
|
4681
|
-
input.recommenderConfig !== null && {
|
|
4667
|
+
return __assign(__assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn })), (input.recommenderConfig != null && {
|
|
4682
4668
|
recommenderConfig: serializeAws_json1_1RecommenderConfig(input.recommenderConfig, context),
|
|
4683
4669
|
}));
|
|
4684
4670
|
};
|
|
4685
4671
|
var deserializeAws_json1_1Algorithm = function (output, context) {
|
|
4686
4672
|
return {
|
|
4687
4673
|
algorithmArn: __expectString(output.algorithmArn),
|
|
4688
|
-
algorithmImage: output.algorithmImage
|
|
4689
|
-
|
|
4690
|
-
: undefined,
|
|
4691
|
-
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
4674
|
+
algorithmImage: output.algorithmImage != null ? deserializeAws_json1_1AlgorithmImage(output.algorithmImage, context) : undefined,
|
|
4675
|
+
creationDateTime: output.creationDateTime != null
|
|
4692
4676
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4693
4677
|
: undefined,
|
|
4694
|
-
defaultHyperParameterRanges: output.defaultHyperParameterRanges
|
|
4678
|
+
defaultHyperParameterRanges: output.defaultHyperParameterRanges != null
|
|
4695
4679
|
? deserializeAws_json1_1DefaultHyperParameterRanges(output.defaultHyperParameterRanges, context)
|
|
4696
4680
|
: undefined,
|
|
4697
|
-
defaultHyperParameters: output.defaultHyperParameters
|
|
4681
|
+
defaultHyperParameters: output.defaultHyperParameters != null
|
|
4698
4682
|
? deserializeAws_json1_1HyperParameters(output.defaultHyperParameters, context)
|
|
4699
4683
|
: undefined,
|
|
4700
|
-
defaultResourceConfig: output.defaultResourceConfig
|
|
4684
|
+
defaultResourceConfig: output.defaultResourceConfig != null
|
|
4701
4685
|
? deserializeAws_json1_1ResourceConfig(output.defaultResourceConfig, context)
|
|
4702
4686
|
: undefined,
|
|
4703
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
4687
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4704
4688
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4705
4689
|
: undefined,
|
|
4706
4690
|
name: __expectString(output.name),
|
|
@@ -4728,9 +4712,7 @@ var deserializeAws_json1_1ArnList = function (output, context) {
|
|
|
4728
4712
|
var deserializeAws_json1_1AutoMLConfig = function (output, context) {
|
|
4729
4713
|
return {
|
|
4730
4714
|
metricName: __expectString(output.metricName),
|
|
4731
|
-
recipeList: output.recipeList
|
|
4732
|
-
? deserializeAws_json1_1ArnList(output.recipeList, context)
|
|
4733
|
-
: undefined,
|
|
4715
|
+
recipeList: output.recipeList != null ? deserializeAws_json1_1ArnList(output.recipeList, context) : undefined,
|
|
4734
4716
|
};
|
|
4735
4717
|
};
|
|
4736
4718
|
var deserializeAws_json1_1AutoMLResult = function (output, context) {
|
|
@@ -4741,22 +4723,18 @@ var deserializeAws_json1_1AutoMLResult = function (output, context) {
|
|
|
4741
4723
|
var deserializeAws_json1_1BatchInferenceJob = function (output, context) {
|
|
4742
4724
|
return {
|
|
4743
4725
|
batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
|
|
4744
|
-
batchInferenceJobConfig: output.batchInferenceJobConfig
|
|
4726
|
+
batchInferenceJobConfig: output.batchInferenceJobConfig != null
|
|
4745
4727
|
? deserializeAws_json1_1BatchInferenceJobConfig(output.batchInferenceJobConfig, context)
|
|
4746
4728
|
: undefined,
|
|
4747
|
-
creationDateTime: output.creationDateTime
|
|
4729
|
+
creationDateTime: output.creationDateTime != null
|
|
4748
4730
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4749
4731
|
: undefined,
|
|
4750
4732
|
failureReason: __expectString(output.failureReason),
|
|
4751
4733
|
filterArn: __expectString(output.filterArn),
|
|
4752
|
-
jobInput: output.jobInput
|
|
4753
|
-
? deserializeAws_json1_1BatchInferenceJobInput(output.jobInput, context)
|
|
4754
|
-
: undefined,
|
|
4734
|
+
jobInput: output.jobInput != null ? deserializeAws_json1_1BatchInferenceJobInput(output.jobInput, context) : undefined,
|
|
4755
4735
|
jobName: __expectString(output.jobName),
|
|
4756
|
-
jobOutput: output.jobOutput
|
|
4757
|
-
|
|
4758
|
-
: undefined,
|
|
4759
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
4736
|
+
jobOutput: output.jobOutput != null ? deserializeAws_json1_1BatchInferenceJobOutput(output.jobOutput, context) : undefined,
|
|
4737
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4760
4738
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4761
4739
|
: undefined,
|
|
4762
4740
|
numResults: __expectInt32(output.numResults),
|
|
@@ -4767,21 +4745,19 @@ var deserializeAws_json1_1BatchInferenceJob = function (output, context) {
|
|
|
4767
4745
|
};
|
|
4768
4746
|
var deserializeAws_json1_1BatchInferenceJobConfig = function (output, context) {
|
|
4769
4747
|
return {
|
|
4770
|
-
itemExplorationConfig: output.itemExplorationConfig
|
|
4748
|
+
itemExplorationConfig: output.itemExplorationConfig != null
|
|
4771
4749
|
? deserializeAws_json1_1HyperParameters(output.itemExplorationConfig, context)
|
|
4772
4750
|
: undefined,
|
|
4773
4751
|
};
|
|
4774
4752
|
};
|
|
4775
4753
|
var deserializeAws_json1_1BatchInferenceJobInput = function (output, context) {
|
|
4776
4754
|
return {
|
|
4777
|
-
s3DataSource: output.s3DataSource
|
|
4778
|
-
? deserializeAws_json1_1S3DataConfig(output.s3DataSource, context)
|
|
4779
|
-
: undefined,
|
|
4755
|
+
s3DataSource: output.s3DataSource != null ? deserializeAws_json1_1S3DataConfig(output.s3DataSource, context) : undefined,
|
|
4780
4756
|
};
|
|
4781
4757
|
};
|
|
4782
4758
|
var deserializeAws_json1_1BatchInferenceJobOutput = function (output, context) {
|
|
4783
4759
|
return {
|
|
4784
|
-
s3DataDestination: output.s3DataDestination
|
|
4760
|
+
s3DataDestination: output.s3DataDestination != null
|
|
4785
4761
|
? deserializeAws_json1_1S3DataConfig(output.s3DataDestination, context)
|
|
4786
4762
|
: undefined,
|
|
4787
4763
|
};
|
|
@@ -4800,12 +4776,12 @@ var deserializeAws_json1_1BatchInferenceJobs = function (output, context) {
|
|
|
4800
4776
|
var deserializeAws_json1_1BatchInferenceJobSummary = function (output, context) {
|
|
4801
4777
|
return {
|
|
4802
4778
|
batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
|
|
4803
|
-
creationDateTime: output.creationDateTime
|
|
4779
|
+
creationDateTime: output.creationDateTime != null
|
|
4804
4780
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4805
4781
|
: undefined,
|
|
4806
4782
|
failureReason: __expectString(output.failureReason),
|
|
4807
4783
|
jobName: __expectString(output.jobName),
|
|
4808
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
4784
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4809
4785
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4810
4786
|
: undefined,
|
|
4811
4787
|
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
@@ -4815,19 +4791,15 @@ var deserializeAws_json1_1BatchInferenceJobSummary = function (output, context)
|
|
|
4815
4791
|
var deserializeAws_json1_1BatchSegmentJob = function (output, context) {
|
|
4816
4792
|
return {
|
|
4817
4793
|
batchSegmentJobArn: __expectString(output.batchSegmentJobArn),
|
|
4818
|
-
creationDateTime: output.creationDateTime
|
|
4794
|
+
creationDateTime: output.creationDateTime != null
|
|
4819
4795
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4820
4796
|
: undefined,
|
|
4821
4797
|
failureReason: __expectString(output.failureReason),
|
|
4822
4798
|
filterArn: __expectString(output.filterArn),
|
|
4823
|
-
jobInput: output.jobInput
|
|
4824
|
-
? deserializeAws_json1_1BatchSegmentJobInput(output.jobInput, context)
|
|
4825
|
-
: undefined,
|
|
4799
|
+
jobInput: output.jobInput != null ? deserializeAws_json1_1BatchSegmentJobInput(output.jobInput, context) : undefined,
|
|
4826
4800
|
jobName: __expectString(output.jobName),
|
|
4827
|
-
jobOutput: output.jobOutput
|
|
4828
|
-
|
|
4829
|
-
: undefined,
|
|
4830
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
4801
|
+
jobOutput: output.jobOutput != null ? deserializeAws_json1_1BatchSegmentJobOutput(output.jobOutput, context) : undefined,
|
|
4802
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4831
4803
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4832
4804
|
: undefined,
|
|
4833
4805
|
numResults: __expectInt32(output.numResults),
|
|
@@ -4838,14 +4810,12 @@ var deserializeAws_json1_1BatchSegmentJob = function (output, context) {
|
|
|
4838
4810
|
};
|
|
4839
4811
|
var deserializeAws_json1_1BatchSegmentJobInput = function (output, context) {
|
|
4840
4812
|
return {
|
|
4841
|
-
s3DataSource: output.s3DataSource
|
|
4842
|
-
? deserializeAws_json1_1S3DataConfig(output.s3DataSource, context)
|
|
4843
|
-
: undefined,
|
|
4813
|
+
s3DataSource: output.s3DataSource != null ? deserializeAws_json1_1S3DataConfig(output.s3DataSource, context) : undefined,
|
|
4844
4814
|
};
|
|
4845
4815
|
};
|
|
4846
4816
|
var deserializeAws_json1_1BatchSegmentJobOutput = function (output, context) {
|
|
4847
4817
|
return {
|
|
4848
|
-
s3DataDestination: output.s3DataDestination
|
|
4818
|
+
s3DataDestination: output.s3DataDestination != null
|
|
4849
4819
|
? deserializeAws_json1_1S3DataConfig(output.s3DataDestination, context)
|
|
4850
4820
|
: undefined,
|
|
4851
4821
|
};
|
|
@@ -4864,12 +4834,12 @@ var deserializeAws_json1_1BatchSegmentJobs = function (output, context) {
|
|
|
4864
4834
|
var deserializeAws_json1_1BatchSegmentJobSummary = function (output, context) {
|
|
4865
4835
|
return {
|
|
4866
4836
|
batchSegmentJobArn: __expectString(output.batchSegmentJobArn),
|
|
4867
|
-
creationDateTime: output.creationDateTime
|
|
4837
|
+
creationDateTime: output.creationDateTime != null
|
|
4868
4838
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4869
4839
|
: undefined,
|
|
4870
4840
|
failureReason: __expectString(output.failureReason),
|
|
4871
4841
|
jobName: __expectString(output.jobName),
|
|
4872
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
4842
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4873
4843
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4874
4844
|
: undefined,
|
|
4875
4845
|
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
@@ -4879,17 +4849,15 @@ var deserializeAws_json1_1BatchSegmentJobSummary = function (output, context) {
|
|
|
4879
4849
|
var deserializeAws_json1_1Campaign = function (output, context) {
|
|
4880
4850
|
return {
|
|
4881
4851
|
campaignArn: __expectString(output.campaignArn),
|
|
4882
|
-
campaignConfig: output.campaignConfig
|
|
4883
|
-
|
|
4884
|
-
: undefined,
|
|
4885
|
-
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
4852
|
+
campaignConfig: output.campaignConfig != null ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context) : undefined,
|
|
4853
|
+
creationDateTime: output.creationDateTime != null
|
|
4886
4854
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4887
4855
|
: undefined,
|
|
4888
4856
|
failureReason: __expectString(output.failureReason),
|
|
4889
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
4857
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4890
4858
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4891
4859
|
: undefined,
|
|
4892
|
-
latestCampaignUpdate: output.latestCampaignUpdate
|
|
4860
|
+
latestCampaignUpdate: output.latestCampaignUpdate != null
|
|
4893
4861
|
? deserializeAws_json1_1CampaignUpdateSummary(output.latestCampaignUpdate, context)
|
|
4894
4862
|
: undefined,
|
|
4895
4863
|
minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
|
|
@@ -4900,7 +4868,7 @@ var deserializeAws_json1_1Campaign = function (output, context) {
|
|
|
4900
4868
|
};
|
|
4901
4869
|
var deserializeAws_json1_1CampaignConfig = function (output, context) {
|
|
4902
4870
|
return {
|
|
4903
|
-
itemExplorationConfig: output.itemExplorationConfig
|
|
4871
|
+
itemExplorationConfig: output.itemExplorationConfig != null
|
|
4904
4872
|
? deserializeAws_json1_1HyperParameters(output.itemExplorationConfig, context)
|
|
4905
4873
|
: undefined,
|
|
4906
4874
|
};
|
|
@@ -4919,11 +4887,11 @@ var deserializeAws_json1_1Campaigns = function (output, context) {
|
|
|
4919
4887
|
var deserializeAws_json1_1CampaignSummary = function (output, context) {
|
|
4920
4888
|
return {
|
|
4921
4889
|
campaignArn: __expectString(output.campaignArn),
|
|
4922
|
-
creationDateTime: output.creationDateTime
|
|
4890
|
+
creationDateTime: output.creationDateTime != null
|
|
4923
4891
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4924
4892
|
: undefined,
|
|
4925
4893
|
failureReason: __expectString(output.failureReason),
|
|
4926
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
4894
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4927
4895
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4928
4896
|
: undefined,
|
|
4929
4897
|
name: __expectString(output.name),
|
|
@@ -4932,14 +4900,12 @@ var deserializeAws_json1_1CampaignSummary = function (output, context) {
|
|
|
4932
4900
|
};
|
|
4933
4901
|
var deserializeAws_json1_1CampaignUpdateSummary = function (output, context) {
|
|
4934
4902
|
return {
|
|
4935
|
-
campaignConfig: output.campaignConfig
|
|
4936
|
-
|
|
4937
|
-
: undefined,
|
|
4938
|
-
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
4903
|
+
campaignConfig: output.campaignConfig != null ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context) : undefined,
|
|
4904
|
+
creationDateTime: output.creationDateTime != null
|
|
4939
4905
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
4940
4906
|
: undefined,
|
|
4941
4907
|
failureReason: __expectString(output.failureReason),
|
|
4942
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
4908
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
4943
4909
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
4944
4910
|
: undefined,
|
|
4945
4911
|
minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
|
|
@@ -4950,9 +4916,7 @@ var deserializeAws_json1_1CampaignUpdateSummary = function (output, context) {
|
|
|
4950
4916
|
var deserializeAws_json1_1CategoricalHyperParameterRange = function (output, context) {
|
|
4951
4917
|
return {
|
|
4952
4918
|
name: __expectString(output.name),
|
|
4953
|
-
values: output.values
|
|
4954
|
-
? deserializeAws_json1_1CategoricalValues(output.values, context)
|
|
4955
|
-
: undefined,
|
|
4919
|
+
values: output.values != null ? deserializeAws_json1_1CategoricalValues(output.values, context) : undefined,
|
|
4956
4920
|
};
|
|
4957
4921
|
};
|
|
4958
4922
|
var deserializeAws_json1_1CategoricalHyperParameterRanges = function (output, context) {
|
|
@@ -5064,13 +5028,13 @@ var deserializeAws_json1_1CreateSolutionVersionResponse = function (output, cont
|
|
|
5064
5028
|
};
|
|
5065
5029
|
var deserializeAws_json1_1Dataset = function (output, context) {
|
|
5066
5030
|
return {
|
|
5067
|
-
creationDateTime: output.creationDateTime
|
|
5031
|
+
creationDateTime: output.creationDateTime != null
|
|
5068
5032
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5069
5033
|
: undefined,
|
|
5070
5034
|
datasetArn: __expectString(output.datasetArn),
|
|
5071
5035
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
5072
5036
|
datasetType: __expectString(output.datasetType),
|
|
5073
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5037
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5074
5038
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5075
5039
|
: undefined,
|
|
5076
5040
|
name: __expectString(output.name),
|
|
@@ -5080,7 +5044,7 @@ var deserializeAws_json1_1Dataset = function (output, context) {
|
|
|
5080
5044
|
};
|
|
5081
5045
|
var deserializeAws_json1_1DatasetExportJob = function (output, context) {
|
|
5082
5046
|
return {
|
|
5083
|
-
creationDateTime: output.creationDateTime
|
|
5047
|
+
creationDateTime: output.creationDateTime != null
|
|
5084
5048
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5085
5049
|
: undefined,
|
|
5086
5050
|
datasetArn: __expectString(output.datasetArn),
|
|
@@ -5088,10 +5052,8 @@ var deserializeAws_json1_1DatasetExportJob = function (output, context) {
|
|
|
5088
5052
|
failureReason: __expectString(output.failureReason),
|
|
5089
5053
|
ingestionMode: __expectString(output.ingestionMode),
|
|
5090
5054
|
jobName: __expectString(output.jobName),
|
|
5091
|
-
jobOutput: output.jobOutput
|
|
5092
|
-
|
|
5093
|
-
: undefined,
|
|
5094
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
5055
|
+
jobOutput: output.jobOutput != null ? deserializeAws_json1_1DatasetExportJobOutput(output.jobOutput, context) : undefined,
|
|
5056
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5095
5057
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5096
5058
|
: undefined,
|
|
5097
5059
|
roleArn: __expectString(output.roleArn),
|
|
@@ -5100,7 +5062,7 @@ var deserializeAws_json1_1DatasetExportJob = function (output, context) {
|
|
|
5100
5062
|
};
|
|
5101
5063
|
var deserializeAws_json1_1DatasetExportJobOutput = function (output, context) {
|
|
5102
5064
|
return {
|
|
5103
|
-
s3DataDestination: output.s3DataDestination
|
|
5065
|
+
s3DataDestination: output.s3DataDestination != null
|
|
5104
5066
|
? deserializeAws_json1_1S3DataConfig(output.s3DataDestination, context)
|
|
5105
5067
|
: undefined,
|
|
5106
5068
|
};
|
|
@@ -5118,13 +5080,13 @@ var deserializeAws_json1_1DatasetExportJobs = function (output, context) {
|
|
|
5118
5080
|
};
|
|
5119
5081
|
var deserializeAws_json1_1DatasetExportJobSummary = function (output, context) {
|
|
5120
5082
|
return {
|
|
5121
|
-
creationDateTime: output.creationDateTime
|
|
5083
|
+
creationDateTime: output.creationDateTime != null
|
|
5122
5084
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5123
5085
|
: undefined,
|
|
5124
5086
|
datasetExportJobArn: __expectString(output.datasetExportJobArn),
|
|
5125
5087
|
failureReason: __expectString(output.failureReason),
|
|
5126
5088
|
jobName: __expectString(output.jobName),
|
|
5127
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5089
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5128
5090
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5129
5091
|
: undefined,
|
|
5130
5092
|
status: __expectString(output.status),
|
|
@@ -5132,14 +5094,14 @@ var deserializeAws_json1_1DatasetExportJobSummary = function (output, context) {
|
|
|
5132
5094
|
};
|
|
5133
5095
|
var deserializeAws_json1_1DatasetGroup = function (output, context) {
|
|
5134
5096
|
return {
|
|
5135
|
-
creationDateTime: output.creationDateTime
|
|
5097
|
+
creationDateTime: output.creationDateTime != null
|
|
5136
5098
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5137
5099
|
: undefined,
|
|
5138
5100
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
5139
5101
|
domain: __expectString(output.domain),
|
|
5140
5102
|
failureReason: __expectString(output.failureReason),
|
|
5141
5103
|
kmsKeyArn: __expectString(output.kmsKeyArn),
|
|
5142
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5104
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5143
5105
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5144
5106
|
: undefined,
|
|
5145
5107
|
name: __expectString(output.name),
|
|
@@ -5160,13 +5122,13 @@ var deserializeAws_json1_1DatasetGroups = function (output, context) {
|
|
|
5160
5122
|
};
|
|
5161
5123
|
var deserializeAws_json1_1DatasetGroupSummary = function (output, context) {
|
|
5162
5124
|
return {
|
|
5163
|
-
creationDateTime: output.creationDateTime
|
|
5125
|
+
creationDateTime: output.creationDateTime != null
|
|
5164
5126
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5165
5127
|
: undefined,
|
|
5166
5128
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
5167
5129
|
domain: __expectString(output.domain),
|
|
5168
5130
|
failureReason: __expectString(output.failureReason),
|
|
5169
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5131
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5170
5132
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5171
5133
|
: undefined,
|
|
5172
5134
|
name: __expectString(output.name),
|
|
@@ -5175,17 +5137,15 @@ var deserializeAws_json1_1DatasetGroupSummary = function (output, context) {
|
|
|
5175
5137
|
};
|
|
5176
5138
|
var deserializeAws_json1_1DatasetImportJob = function (output, context) {
|
|
5177
5139
|
return {
|
|
5178
|
-
creationDateTime: output.creationDateTime
|
|
5140
|
+
creationDateTime: output.creationDateTime != null
|
|
5179
5141
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5180
5142
|
: undefined,
|
|
5181
|
-
dataSource: output.dataSource
|
|
5182
|
-
? deserializeAws_json1_1DataSource(output.dataSource, context)
|
|
5183
|
-
: undefined,
|
|
5143
|
+
dataSource: output.dataSource != null ? deserializeAws_json1_1DataSource(output.dataSource, context) : undefined,
|
|
5184
5144
|
datasetArn: __expectString(output.datasetArn),
|
|
5185
5145
|
datasetImportJobArn: __expectString(output.datasetImportJobArn),
|
|
5186
5146
|
failureReason: __expectString(output.failureReason),
|
|
5187
5147
|
jobName: __expectString(output.jobName),
|
|
5188
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5148
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5189
5149
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5190
5150
|
: undefined,
|
|
5191
5151
|
roleArn: __expectString(output.roleArn),
|
|
@@ -5205,13 +5165,13 @@ var deserializeAws_json1_1DatasetImportJobs = function (output, context) {
|
|
|
5205
5165
|
};
|
|
5206
5166
|
var deserializeAws_json1_1DatasetImportJobSummary = function (output, context) {
|
|
5207
5167
|
return {
|
|
5208
|
-
creationDateTime: output.creationDateTime
|
|
5168
|
+
creationDateTime: output.creationDateTime != null
|
|
5209
5169
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5210
5170
|
: undefined,
|
|
5211
5171
|
datasetImportJobArn: __expectString(output.datasetImportJobArn),
|
|
5212
5172
|
failureReason: __expectString(output.failureReason),
|
|
5213
5173
|
jobName: __expectString(output.jobName),
|
|
5214
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5174
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5215
5175
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5216
5176
|
: undefined,
|
|
5217
5177
|
status: __expectString(output.status),
|
|
@@ -5230,11 +5190,11 @@ var deserializeAws_json1_1Datasets = function (output, context) {
|
|
|
5230
5190
|
};
|
|
5231
5191
|
var deserializeAws_json1_1DatasetSchema = function (output, context) {
|
|
5232
5192
|
return {
|
|
5233
|
-
creationDateTime: output.creationDateTime
|
|
5193
|
+
creationDateTime: output.creationDateTime != null
|
|
5234
5194
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5235
5195
|
: undefined,
|
|
5236
5196
|
domain: __expectString(output.domain),
|
|
5237
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5197
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5238
5198
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5239
5199
|
: undefined,
|
|
5240
5200
|
name: __expectString(output.name),
|
|
@@ -5244,11 +5204,11 @@ var deserializeAws_json1_1DatasetSchema = function (output, context) {
|
|
|
5244
5204
|
};
|
|
5245
5205
|
var deserializeAws_json1_1DatasetSchemaSummary = function (output, context) {
|
|
5246
5206
|
return {
|
|
5247
|
-
creationDateTime: output.creationDateTime
|
|
5207
|
+
creationDateTime: output.creationDateTime != null
|
|
5248
5208
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5249
5209
|
: undefined,
|
|
5250
5210
|
domain: __expectString(output.domain),
|
|
5251
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5211
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5252
5212
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5253
5213
|
: undefined,
|
|
5254
5214
|
name: __expectString(output.name),
|
|
@@ -5257,12 +5217,12 @@ var deserializeAws_json1_1DatasetSchemaSummary = function (output, context) {
|
|
|
5257
5217
|
};
|
|
5258
5218
|
var deserializeAws_json1_1DatasetSummary = function (output, context) {
|
|
5259
5219
|
return {
|
|
5260
|
-
creationDateTime: output.creationDateTime
|
|
5220
|
+
creationDateTime: output.creationDateTime != null
|
|
5261
5221
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5262
5222
|
: undefined,
|
|
5263
5223
|
datasetArn: __expectString(output.datasetArn),
|
|
5264
5224
|
datasetType: __expectString(output.datasetType),
|
|
5265
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5225
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5266
5226
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5267
5227
|
: undefined,
|
|
5268
5228
|
name: __expectString(output.name),
|
|
@@ -5278,9 +5238,7 @@ var deserializeAws_json1_1DefaultCategoricalHyperParameterRange = function (outp
|
|
|
5278
5238
|
return {
|
|
5279
5239
|
isTunable: __expectBoolean(output.isTunable),
|
|
5280
5240
|
name: __expectString(output.name),
|
|
5281
|
-
values: output.values
|
|
5282
|
-
? deserializeAws_json1_1CategoricalValues(output.values, context)
|
|
5283
|
-
: undefined,
|
|
5241
|
+
values: output.values != null ? deserializeAws_json1_1CategoricalValues(output.values, context) : undefined,
|
|
5284
5242
|
};
|
|
5285
5243
|
};
|
|
5286
5244
|
var deserializeAws_json1_1DefaultCategoricalHyperParameterRanges = function (output, context) {
|
|
@@ -5315,13 +5273,13 @@ var deserializeAws_json1_1DefaultContinuousHyperParameterRanges = function (outp
|
|
|
5315
5273
|
};
|
|
5316
5274
|
var deserializeAws_json1_1DefaultHyperParameterRanges = function (output, context) {
|
|
5317
5275
|
return {
|
|
5318
|
-
categoricalHyperParameterRanges: output.categoricalHyperParameterRanges
|
|
5276
|
+
categoricalHyperParameterRanges: output.categoricalHyperParameterRanges != null
|
|
5319
5277
|
? deserializeAws_json1_1DefaultCategoricalHyperParameterRanges(output.categoricalHyperParameterRanges, context)
|
|
5320
5278
|
: undefined,
|
|
5321
|
-
continuousHyperParameterRanges: output.continuousHyperParameterRanges
|
|
5279
|
+
continuousHyperParameterRanges: output.continuousHyperParameterRanges != null
|
|
5322
5280
|
? deserializeAws_json1_1DefaultContinuousHyperParameterRanges(output.continuousHyperParameterRanges, context)
|
|
5323
5281
|
: undefined,
|
|
5324
|
-
integerHyperParameterRanges: output.integerHyperParameterRanges
|
|
5282
|
+
integerHyperParameterRanges: output.integerHyperParameterRanges != null
|
|
5325
5283
|
? deserializeAws_json1_1DefaultIntegerHyperParameterRanges(output.integerHyperParameterRanges, context)
|
|
5326
5284
|
: undefined,
|
|
5327
5285
|
};
|
|
@@ -5347,112 +5305,92 @@ var deserializeAws_json1_1DefaultIntegerHyperParameterRanges = function (output,
|
|
|
5347
5305
|
};
|
|
5348
5306
|
var deserializeAws_json1_1DescribeAlgorithmResponse = function (output, context) {
|
|
5349
5307
|
return {
|
|
5350
|
-
algorithm: output.algorithm
|
|
5351
|
-
? deserializeAws_json1_1Algorithm(output.algorithm, context)
|
|
5352
|
-
: undefined,
|
|
5308
|
+
algorithm: output.algorithm != null ? deserializeAws_json1_1Algorithm(output.algorithm, context) : undefined,
|
|
5353
5309
|
};
|
|
5354
5310
|
};
|
|
5355
5311
|
var deserializeAws_json1_1DescribeBatchInferenceJobResponse = function (output, context) {
|
|
5356
5312
|
return {
|
|
5357
|
-
batchInferenceJob: output.batchInferenceJob
|
|
5313
|
+
batchInferenceJob: output.batchInferenceJob != null
|
|
5358
5314
|
? deserializeAws_json1_1BatchInferenceJob(output.batchInferenceJob, context)
|
|
5359
5315
|
: undefined,
|
|
5360
5316
|
};
|
|
5361
5317
|
};
|
|
5362
5318
|
var deserializeAws_json1_1DescribeBatchSegmentJobResponse = function (output, context) {
|
|
5363
5319
|
return {
|
|
5364
|
-
batchSegmentJob: output.batchSegmentJob
|
|
5320
|
+
batchSegmentJob: output.batchSegmentJob != null
|
|
5365
5321
|
? deserializeAws_json1_1BatchSegmentJob(output.batchSegmentJob, context)
|
|
5366
5322
|
: undefined,
|
|
5367
5323
|
};
|
|
5368
5324
|
};
|
|
5369
5325
|
var deserializeAws_json1_1DescribeCampaignResponse = function (output, context) {
|
|
5370
5326
|
return {
|
|
5371
|
-
campaign: output.campaign
|
|
5372
|
-
? deserializeAws_json1_1Campaign(output.campaign, context)
|
|
5373
|
-
: undefined,
|
|
5327
|
+
campaign: output.campaign != null ? deserializeAws_json1_1Campaign(output.campaign, context) : undefined,
|
|
5374
5328
|
};
|
|
5375
5329
|
};
|
|
5376
5330
|
var deserializeAws_json1_1DescribeDatasetExportJobResponse = function (output, context) {
|
|
5377
5331
|
return {
|
|
5378
|
-
datasetExportJob: output.datasetExportJob
|
|
5332
|
+
datasetExportJob: output.datasetExportJob != null
|
|
5379
5333
|
? deserializeAws_json1_1DatasetExportJob(output.datasetExportJob, context)
|
|
5380
5334
|
: undefined,
|
|
5381
5335
|
};
|
|
5382
5336
|
};
|
|
5383
5337
|
var deserializeAws_json1_1DescribeDatasetGroupResponse = function (output, context) {
|
|
5384
5338
|
return {
|
|
5385
|
-
datasetGroup: output.datasetGroup
|
|
5386
|
-
? deserializeAws_json1_1DatasetGroup(output.datasetGroup, context)
|
|
5387
|
-
: undefined,
|
|
5339
|
+
datasetGroup: output.datasetGroup != null ? deserializeAws_json1_1DatasetGroup(output.datasetGroup, context) : undefined,
|
|
5388
5340
|
};
|
|
5389
5341
|
};
|
|
5390
5342
|
var deserializeAws_json1_1DescribeDatasetImportJobResponse = function (output, context) {
|
|
5391
5343
|
return {
|
|
5392
|
-
datasetImportJob: output.datasetImportJob
|
|
5344
|
+
datasetImportJob: output.datasetImportJob != null
|
|
5393
5345
|
? deserializeAws_json1_1DatasetImportJob(output.datasetImportJob, context)
|
|
5394
5346
|
: undefined,
|
|
5395
5347
|
};
|
|
5396
5348
|
};
|
|
5397
5349
|
var deserializeAws_json1_1DescribeDatasetResponse = function (output, context) {
|
|
5398
5350
|
return {
|
|
5399
|
-
dataset: output.dataset
|
|
5400
|
-
? deserializeAws_json1_1Dataset(output.dataset, context)
|
|
5401
|
-
: undefined,
|
|
5351
|
+
dataset: output.dataset != null ? deserializeAws_json1_1Dataset(output.dataset, context) : undefined,
|
|
5402
5352
|
};
|
|
5403
5353
|
};
|
|
5404
5354
|
var deserializeAws_json1_1DescribeEventTrackerResponse = function (output, context) {
|
|
5405
5355
|
return {
|
|
5406
|
-
eventTracker: output.eventTracker
|
|
5407
|
-
? deserializeAws_json1_1EventTracker(output.eventTracker, context)
|
|
5408
|
-
: undefined,
|
|
5356
|
+
eventTracker: output.eventTracker != null ? deserializeAws_json1_1EventTracker(output.eventTracker, context) : undefined,
|
|
5409
5357
|
};
|
|
5410
5358
|
};
|
|
5411
5359
|
var deserializeAws_json1_1DescribeFeatureTransformationResponse = function (output, context) {
|
|
5412
5360
|
return {
|
|
5413
|
-
featureTransformation: output.featureTransformation
|
|
5361
|
+
featureTransformation: output.featureTransformation != null
|
|
5414
5362
|
? deserializeAws_json1_1FeatureTransformation(output.featureTransformation, context)
|
|
5415
5363
|
: undefined,
|
|
5416
5364
|
};
|
|
5417
5365
|
};
|
|
5418
5366
|
var deserializeAws_json1_1DescribeFilterResponse = function (output, context) {
|
|
5419
5367
|
return {
|
|
5420
|
-
filter: output.filter
|
|
5421
|
-
? deserializeAws_json1_1Filter(output.filter, context)
|
|
5422
|
-
: undefined,
|
|
5368
|
+
filter: output.filter != null ? deserializeAws_json1_1Filter(output.filter, context) : undefined,
|
|
5423
5369
|
};
|
|
5424
5370
|
};
|
|
5425
5371
|
var deserializeAws_json1_1DescribeRecipeResponse = function (output, context) {
|
|
5426
5372
|
return {
|
|
5427
|
-
recipe: output.recipe
|
|
5428
|
-
? deserializeAws_json1_1Recipe(output.recipe, context)
|
|
5429
|
-
: undefined,
|
|
5373
|
+
recipe: output.recipe != null ? deserializeAws_json1_1Recipe(output.recipe, context) : undefined,
|
|
5430
5374
|
};
|
|
5431
5375
|
};
|
|
5432
5376
|
var deserializeAws_json1_1DescribeRecommenderResponse = function (output, context) {
|
|
5433
5377
|
return {
|
|
5434
|
-
recommender: output.recommender
|
|
5435
|
-
? deserializeAws_json1_1Recommender(output.recommender, context)
|
|
5436
|
-
: undefined,
|
|
5378
|
+
recommender: output.recommender != null ? deserializeAws_json1_1Recommender(output.recommender, context) : undefined,
|
|
5437
5379
|
};
|
|
5438
5380
|
};
|
|
5439
5381
|
var deserializeAws_json1_1DescribeSchemaResponse = function (output, context) {
|
|
5440
5382
|
return {
|
|
5441
|
-
schema: output.schema
|
|
5442
|
-
? deserializeAws_json1_1DatasetSchema(output.schema, context)
|
|
5443
|
-
: undefined,
|
|
5383
|
+
schema: output.schema != null ? deserializeAws_json1_1DatasetSchema(output.schema, context) : undefined,
|
|
5444
5384
|
};
|
|
5445
5385
|
};
|
|
5446
5386
|
var deserializeAws_json1_1DescribeSolutionResponse = function (output, context) {
|
|
5447
5387
|
return {
|
|
5448
|
-
solution: output.solution
|
|
5449
|
-
? deserializeAws_json1_1Solution(output.solution, context)
|
|
5450
|
-
: undefined,
|
|
5388
|
+
solution: output.solution != null ? deserializeAws_json1_1Solution(output.solution, context) : undefined,
|
|
5451
5389
|
};
|
|
5452
5390
|
};
|
|
5453
5391
|
var deserializeAws_json1_1DescribeSolutionVersionResponse = function (output, context) {
|
|
5454
5392
|
return {
|
|
5455
|
-
solutionVersion: output.solutionVersion
|
|
5393
|
+
solutionVersion: output.solutionVersion != null
|
|
5456
5394
|
? deserializeAws_json1_1SolutionVersion(output.solutionVersion, context)
|
|
5457
5395
|
: undefined,
|
|
5458
5396
|
};
|
|
@@ -5460,12 +5398,12 @@ var deserializeAws_json1_1DescribeSolutionVersionResponse = function (output, co
|
|
|
5460
5398
|
var deserializeAws_json1_1EventTracker = function (output, context) {
|
|
5461
5399
|
return {
|
|
5462
5400
|
accountId: __expectString(output.accountId),
|
|
5463
|
-
creationDateTime: output.creationDateTime
|
|
5401
|
+
creationDateTime: output.creationDateTime != null
|
|
5464
5402
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5465
5403
|
: undefined,
|
|
5466
5404
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
5467
5405
|
eventTrackerArn: __expectString(output.eventTrackerArn),
|
|
5468
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5406
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5469
5407
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5470
5408
|
: undefined,
|
|
5471
5409
|
name: __expectString(output.name),
|
|
@@ -5486,11 +5424,11 @@ var deserializeAws_json1_1EventTrackers = function (output, context) {
|
|
|
5486
5424
|
};
|
|
5487
5425
|
var deserializeAws_json1_1EventTrackerSummary = function (output, context) {
|
|
5488
5426
|
return {
|
|
5489
|
-
creationDateTime: output.creationDateTime
|
|
5427
|
+
creationDateTime: output.creationDateTime != null
|
|
5490
5428
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5491
5429
|
: undefined,
|
|
5492
5430
|
eventTrackerArn: __expectString(output.eventTrackerArn),
|
|
5493
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5431
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5494
5432
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5495
5433
|
: undefined,
|
|
5496
5434
|
name: __expectString(output.name),
|
|
@@ -5499,14 +5437,14 @@ var deserializeAws_json1_1EventTrackerSummary = function (output, context) {
|
|
|
5499
5437
|
};
|
|
5500
5438
|
var deserializeAws_json1_1FeatureTransformation = function (output, context) {
|
|
5501
5439
|
return {
|
|
5502
|
-
creationDateTime: output.creationDateTime
|
|
5440
|
+
creationDateTime: output.creationDateTime != null
|
|
5503
5441
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5504
5442
|
: undefined,
|
|
5505
|
-
defaultParameters: output.defaultParameters
|
|
5443
|
+
defaultParameters: output.defaultParameters != null
|
|
5506
5444
|
? deserializeAws_json1_1FeaturizationParameters(output.defaultParameters, context)
|
|
5507
5445
|
: undefined,
|
|
5508
5446
|
featureTransformationArn: __expectString(output.featureTransformationArn),
|
|
5509
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5447
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5510
5448
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5511
5449
|
: undefined,
|
|
5512
5450
|
name: __expectString(output.name),
|
|
@@ -5535,14 +5473,14 @@ var deserializeAws_json1_1FeaturizationParameters = function (output, context) {
|
|
|
5535
5473
|
};
|
|
5536
5474
|
var deserializeAws_json1_1Filter = function (output, context) {
|
|
5537
5475
|
return {
|
|
5538
|
-
creationDateTime: output.creationDateTime
|
|
5476
|
+
creationDateTime: output.creationDateTime != null
|
|
5539
5477
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5540
5478
|
: undefined,
|
|
5541
5479
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
5542
5480
|
failureReason: __expectString(output.failureReason),
|
|
5543
5481
|
filterArn: __expectString(output.filterArn),
|
|
5544
5482
|
filterExpression: __expectString(output.filterExpression),
|
|
5545
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5483
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5546
5484
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5547
5485
|
: undefined,
|
|
5548
5486
|
name: __expectString(output.name),
|
|
@@ -5562,13 +5500,13 @@ var deserializeAws_json1_1Filters = function (output, context) {
|
|
|
5562
5500
|
};
|
|
5563
5501
|
var deserializeAws_json1_1FilterSummary = function (output, context) {
|
|
5564
5502
|
return {
|
|
5565
|
-
creationDateTime: output.creationDateTime
|
|
5503
|
+
creationDateTime: output.creationDateTime != null
|
|
5566
5504
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5567
5505
|
: undefined,
|
|
5568
5506
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
5569
5507
|
failureReason: __expectString(output.failureReason),
|
|
5570
5508
|
filterArn: __expectString(output.filterArn),
|
|
5571
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5509
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5572
5510
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5573
5511
|
: undefined,
|
|
5574
5512
|
name: __expectString(output.name),
|
|
@@ -5577,21 +5515,17 @@ var deserializeAws_json1_1FilterSummary = function (output, context) {
|
|
|
5577
5515
|
};
|
|
5578
5516
|
var deserializeAws_json1_1GetSolutionMetricsResponse = function (output, context) {
|
|
5579
5517
|
return {
|
|
5580
|
-
metrics: output.metrics
|
|
5581
|
-
? deserializeAws_json1_1Metrics(output.metrics, context)
|
|
5582
|
-
: undefined,
|
|
5518
|
+
metrics: output.metrics != null ? deserializeAws_json1_1Metrics(output.metrics, context) : undefined,
|
|
5583
5519
|
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
5584
5520
|
};
|
|
5585
5521
|
};
|
|
5586
5522
|
var deserializeAws_json1_1HPOConfig = function (output, context) {
|
|
5587
5523
|
return {
|
|
5588
|
-
algorithmHyperParameterRanges: output.algorithmHyperParameterRanges
|
|
5524
|
+
algorithmHyperParameterRanges: output.algorithmHyperParameterRanges != null
|
|
5589
5525
|
? deserializeAws_json1_1HyperParameterRanges(output.algorithmHyperParameterRanges, context)
|
|
5590
5526
|
: undefined,
|
|
5591
|
-
hpoObjective: output.hpoObjective
|
|
5592
|
-
|
|
5593
|
-
: undefined,
|
|
5594
|
-
hpoResourceConfig: output.hpoResourceConfig !== undefined && output.hpoResourceConfig !== null
|
|
5527
|
+
hpoObjective: output.hpoObjective != null ? deserializeAws_json1_1HPOObjective(output.hpoObjective, context) : undefined,
|
|
5528
|
+
hpoResourceConfig: output.hpoResourceConfig != null
|
|
5595
5529
|
? deserializeAws_json1_1HPOResourceConfig(output.hpoResourceConfig, context)
|
|
5596
5530
|
: undefined,
|
|
5597
5531
|
};
|
|
@@ -5611,13 +5545,13 @@ var deserializeAws_json1_1HPOResourceConfig = function (output, context) {
|
|
|
5611
5545
|
};
|
|
5612
5546
|
var deserializeAws_json1_1HyperParameterRanges = function (output, context) {
|
|
5613
5547
|
return {
|
|
5614
|
-
categoricalHyperParameterRanges: output.categoricalHyperParameterRanges
|
|
5548
|
+
categoricalHyperParameterRanges: output.categoricalHyperParameterRanges != null
|
|
5615
5549
|
? deserializeAws_json1_1CategoricalHyperParameterRanges(output.categoricalHyperParameterRanges, context)
|
|
5616
5550
|
: undefined,
|
|
5617
|
-
continuousHyperParameterRanges: output.continuousHyperParameterRanges
|
|
5551
|
+
continuousHyperParameterRanges: output.continuousHyperParameterRanges != null
|
|
5618
5552
|
? deserializeAws_json1_1ContinuousHyperParameterRanges(output.continuousHyperParameterRanges, context)
|
|
5619
5553
|
: undefined,
|
|
5620
|
-
integerHyperParameterRanges: output.integerHyperParameterRanges
|
|
5554
|
+
integerHyperParameterRanges: output.integerHyperParameterRanges != null
|
|
5621
5555
|
? deserializeAws_json1_1IntegerHyperParameterRanges(output.integerHyperParameterRanges, context)
|
|
5622
5556
|
: undefined,
|
|
5623
5557
|
};
|
|
@@ -5667,7 +5601,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
5667
5601
|
};
|
|
5668
5602
|
var deserializeAws_json1_1ListBatchInferenceJobsResponse = function (output, context) {
|
|
5669
5603
|
return {
|
|
5670
|
-
batchInferenceJobs: output.batchInferenceJobs
|
|
5604
|
+
batchInferenceJobs: output.batchInferenceJobs != null
|
|
5671
5605
|
? deserializeAws_json1_1BatchInferenceJobs(output.batchInferenceJobs, context)
|
|
5672
5606
|
: undefined,
|
|
5673
5607
|
nextToken: __expectString(output.nextToken),
|
|
@@ -5675,7 +5609,7 @@ var deserializeAws_json1_1ListBatchInferenceJobsResponse = function (output, con
|
|
|
5675
5609
|
};
|
|
5676
5610
|
var deserializeAws_json1_1ListBatchSegmentJobsResponse = function (output, context) {
|
|
5677
5611
|
return {
|
|
5678
|
-
batchSegmentJobs: output.batchSegmentJobs
|
|
5612
|
+
batchSegmentJobs: output.batchSegmentJobs != null
|
|
5679
5613
|
? deserializeAws_json1_1BatchSegmentJobs(output.batchSegmentJobs, context)
|
|
5680
5614
|
: undefined,
|
|
5681
5615
|
nextToken: __expectString(output.nextToken),
|
|
@@ -5683,15 +5617,13 @@ var deserializeAws_json1_1ListBatchSegmentJobsResponse = function (output, conte
|
|
|
5683
5617
|
};
|
|
5684
5618
|
var deserializeAws_json1_1ListCampaignsResponse = function (output, context) {
|
|
5685
5619
|
return {
|
|
5686
|
-
campaigns: output.campaigns
|
|
5687
|
-
? deserializeAws_json1_1Campaigns(output.campaigns, context)
|
|
5688
|
-
: undefined,
|
|
5620
|
+
campaigns: output.campaigns != null ? deserializeAws_json1_1Campaigns(output.campaigns, context) : undefined,
|
|
5689
5621
|
nextToken: __expectString(output.nextToken),
|
|
5690
5622
|
};
|
|
5691
5623
|
};
|
|
5692
5624
|
var deserializeAws_json1_1ListDatasetExportJobsResponse = function (output, context) {
|
|
5693
5625
|
return {
|
|
5694
|
-
datasetExportJobs: output.datasetExportJobs
|
|
5626
|
+
datasetExportJobs: output.datasetExportJobs != null
|
|
5695
5627
|
? deserializeAws_json1_1DatasetExportJobs(output.datasetExportJobs, context)
|
|
5696
5628
|
: undefined,
|
|
5697
5629
|
nextToken: __expectString(output.nextToken),
|
|
@@ -5699,15 +5631,13 @@ var deserializeAws_json1_1ListDatasetExportJobsResponse = function (output, cont
|
|
|
5699
5631
|
};
|
|
5700
5632
|
var deserializeAws_json1_1ListDatasetGroupsResponse = function (output, context) {
|
|
5701
5633
|
return {
|
|
5702
|
-
datasetGroups: output.datasetGroups
|
|
5703
|
-
? deserializeAws_json1_1DatasetGroups(output.datasetGroups, context)
|
|
5704
|
-
: undefined,
|
|
5634
|
+
datasetGroups: output.datasetGroups != null ? deserializeAws_json1_1DatasetGroups(output.datasetGroups, context) : undefined,
|
|
5705
5635
|
nextToken: __expectString(output.nextToken),
|
|
5706
5636
|
};
|
|
5707
5637
|
};
|
|
5708
5638
|
var deserializeAws_json1_1ListDatasetImportJobsResponse = function (output, context) {
|
|
5709
5639
|
return {
|
|
5710
|
-
datasetImportJobs: output.datasetImportJobs
|
|
5640
|
+
datasetImportJobs: output.datasetImportJobs != null
|
|
5711
5641
|
? deserializeAws_json1_1DatasetImportJobs(output.datasetImportJobs, context)
|
|
5712
5642
|
: undefined,
|
|
5713
5643
|
nextToken: __expectString(output.nextToken),
|
|
@@ -5715,71 +5645,57 @@ var deserializeAws_json1_1ListDatasetImportJobsResponse = function (output, cont
|
|
|
5715
5645
|
};
|
|
5716
5646
|
var deserializeAws_json1_1ListDatasetsResponse = function (output, context) {
|
|
5717
5647
|
return {
|
|
5718
|
-
datasets: output.datasets
|
|
5719
|
-
? deserializeAws_json1_1Datasets(output.datasets, context)
|
|
5720
|
-
: undefined,
|
|
5648
|
+
datasets: output.datasets != null ? deserializeAws_json1_1Datasets(output.datasets, context) : undefined,
|
|
5721
5649
|
nextToken: __expectString(output.nextToken),
|
|
5722
5650
|
};
|
|
5723
5651
|
};
|
|
5724
5652
|
var deserializeAws_json1_1ListEventTrackersResponse = function (output, context) {
|
|
5725
5653
|
return {
|
|
5726
|
-
eventTrackers: output.eventTrackers
|
|
5727
|
-
? deserializeAws_json1_1EventTrackers(output.eventTrackers, context)
|
|
5728
|
-
: undefined,
|
|
5654
|
+
eventTrackers: output.eventTrackers != null ? deserializeAws_json1_1EventTrackers(output.eventTrackers, context) : undefined,
|
|
5729
5655
|
nextToken: __expectString(output.nextToken),
|
|
5730
5656
|
};
|
|
5731
5657
|
};
|
|
5732
5658
|
var deserializeAws_json1_1ListFiltersResponse = function (output, context) {
|
|
5733
5659
|
return {
|
|
5734
|
-
Filters: output.Filters
|
|
5735
|
-
? deserializeAws_json1_1Filters(output.Filters, context)
|
|
5736
|
-
: undefined,
|
|
5660
|
+
Filters: output.Filters != null ? deserializeAws_json1_1Filters(output.Filters, context) : undefined,
|
|
5737
5661
|
nextToken: __expectString(output.nextToken),
|
|
5738
5662
|
};
|
|
5739
5663
|
};
|
|
5740
5664
|
var deserializeAws_json1_1ListRecipesResponse = function (output, context) {
|
|
5741
5665
|
return {
|
|
5742
5666
|
nextToken: __expectString(output.nextToken),
|
|
5743
|
-
recipes: output.recipes
|
|
5744
|
-
? deserializeAws_json1_1Recipes(output.recipes, context)
|
|
5745
|
-
: undefined,
|
|
5667
|
+
recipes: output.recipes != null ? deserializeAws_json1_1Recipes(output.recipes, context) : undefined,
|
|
5746
5668
|
};
|
|
5747
5669
|
};
|
|
5748
5670
|
var deserializeAws_json1_1ListRecommendersResponse = function (output, context) {
|
|
5749
5671
|
return {
|
|
5750
5672
|
nextToken: __expectString(output.nextToken),
|
|
5751
|
-
recommenders: output.recommenders
|
|
5752
|
-
? deserializeAws_json1_1Recommenders(output.recommenders, context)
|
|
5753
|
-
: undefined,
|
|
5673
|
+
recommenders: output.recommenders != null ? deserializeAws_json1_1Recommenders(output.recommenders, context) : undefined,
|
|
5754
5674
|
};
|
|
5755
5675
|
};
|
|
5756
5676
|
var deserializeAws_json1_1ListSchemasResponse = function (output, context) {
|
|
5757
5677
|
return {
|
|
5758
5678
|
nextToken: __expectString(output.nextToken),
|
|
5759
|
-
schemas: output.schemas
|
|
5760
|
-
? deserializeAws_json1_1Schemas(output.schemas, context)
|
|
5761
|
-
: undefined,
|
|
5679
|
+
schemas: output.schemas != null ? deserializeAws_json1_1Schemas(output.schemas, context) : undefined,
|
|
5762
5680
|
};
|
|
5763
5681
|
};
|
|
5764
5682
|
var deserializeAws_json1_1ListSolutionsResponse = function (output, context) {
|
|
5765
5683
|
return {
|
|
5766
5684
|
nextToken: __expectString(output.nextToken),
|
|
5767
|
-
solutions: output.solutions
|
|
5768
|
-
? deserializeAws_json1_1Solutions(output.solutions, context)
|
|
5769
|
-
: undefined,
|
|
5685
|
+
solutions: output.solutions != null ? deserializeAws_json1_1Solutions(output.solutions, context) : undefined,
|
|
5770
5686
|
};
|
|
5771
5687
|
};
|
|
5772
5688
|
var deserializeAws_json1_1ListSolutionVersionsResponse = function (output, context) {
|
|
5773
5689
|
return {
|
|
5774
5690
|
nextToken: __expectString(output.nextToken),
|
|
5775
|
-
solutionVersions: output.solutionVersions
|
|
5691
|
+
solutionVersions: output.solutionVersions != null
|
|
5776
5692
|
? deserializeAws_json1_1SolutionVersions(output.solutionVersions, context)
|
|
5777
5693
|
: undefined,
|
|
5778
5694
|
};
|
|
5779
5695
|
};
|
|
5780
5696
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
5781
5697
|
return {
|
|
5782
|
-
tags: output.tags
|
|
5698
|
+
tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
5783
5699
|
};
|
|
5784
5700
|
};
|
|
5785
5701
|
var deserializeAws_json1_1Metrics = function (output, context) {
|
|
@@ -5801,12 +5717,12 @@ var deserializeAws_json1_1OptimizationObjective = function (output, context) {
|
|
|
5801
5717
|
var deserializeAws_json1_1Recipe = function (output, context) {
|
|
5802
5718
|
return {
|
|
5803
5719
|
algorithmArn: __expectString(output.algorithmArn),
|
|
5804
|
-
creationDateTime: output.creationDateTime
|
|
5720
|
+
creationDateTime: output.creationDateTime != null
|
|
5805
5721
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5806
5722
|
: undefined,
|
|
5807
5723
|
description: __expectString(output.description),
|
|
5808
5724
|
featureTransformationArn: __expectString(output.featureTransformationArn),
|
|
5809
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5725
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5810
5726
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5811
5727
|
: undefined,
|
|
5812
5728
|
name: __expectString(output.name),
|
|
@@ -5828,11 +5744,11 @@ var deserializeAws_json1_1Recipes = function (output, context) {
|
|
|
5828
5744
|
};
|
|
5829
5745
|
var deserializeAws_json1_1RecipeSummary = function (output, context) {
|
|
5830
5746
|
return {
|
|
5831
|
-
creationDateTime: output.creationDateTime
|
|
5747
|
+
creationDateTime: output.creationDateTime != null
|
|
5832
5748
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5833
5749
|
: undefined,
|
|
5834
5750
|
domain: __expectString(output.domain),
|
|
5835
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5751
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5836
5752
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5837
5753
|
: undefined,
|
|
5838
5754
|
name: __expectString(output.name),
|
|
@@ -5842,24 +5758,22 @@ var deserializeAws_json1_1RecipeSummary = function (output, context) {
|
|
|
5842
5758
|
};
|
|
5843
5759
|
var deserializeAws_json1_1Recommender = function (output, context) {
|
|
5844
5760
|
return {
|
|
5845
|
-
creationDateTime: output.creationDateTime
|
|
5761
|
+
creationDateTime: output.creationDateTime != null
|
|
5846
5762
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5847
5763
|
: undefined,
|
|
5848
5764
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
5849
5765
|
failureReason: __expectString(output.failureReason),
|
|
5850
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5766
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5851
5767
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5852
5768
|
: undefined,
|
|
5853
|
-
latestRecommenderUpdate: output.latestRecommenderUpdate
|
|
5769
|
+
latestRecommenderUpdate: output.latestRecommenderUpdate != null
|
|
5854
5770
|
? deserializeAws_json1_1RecommenderUpdateSummary(output.latestRecommenderUpdate, context)
|
|
5855
5771
|
: undefined,
|
|
5856
|
-
modelMetrics: output.modelMetrics
|
|
5857
|
-
? deserializeAws_json1_1Metrics(output.modelMetrics, context)
|
|
5858
|
-
: undefined,
|
|
5772
|
+
modelMetrics: output.modelMetrics != null ? deserializeAws_json1_1Metrics(output.modelMetrics, context) : undefined,
|
|
5859
5773
|
name: __expectString(output.name),
|
|
5860
5774
|
recipeArn: __expectString(output.recipeArn),
|
|
5861
5775
|
recommenderArn: __expectString(output.recommenderArn),
|
|
5862
|
-
recommenderConfig: output.recommenderConfig
|
|
5776
|
+
recommenderConfig: output.recommenderConfig != null
|
|
5863
5777
|
? deserializeAws_json1_1RecommenderConfig(output.recommenderConfig, context)
|
|
5864
5778
|
: undefined,
|
|
5865
5779
|
status: __expectString(output.status),
|
|
@@ -5867,7 +5781,7 @@ var deserializeAws_json1_1Recommender = function (output, context) {
|
|
|
5867
5781
|
};
|
|
5868
5782
|
var deserializeAws_json1_1RecommenderConfig = function (output, context) {
|
|
5869
5783
|
return {
|
|
5870
|
-
itemExplorationConfig: output.itemExplorationConfig
|
|
5784
|
+
itemExplorationConfig: output.itemExplorationConfig != null
|
|
5871
5785
|
? deserializeAws_json1_1HyperParameters(output.itemExplorationConfig, context)
|
|
5872
5786
|
: undefined,
|
|
5873
5787
|
minRecommendationRequestsPerSecond: __expectInt32(output.minRecommendationRequestsPerSecond),
|
|
@@ -5886,17 +5800,17 @@ var deserializeAws_json1_1Recommenders = function (output, context) {
|
|
|
5886
5800
|
};
|
|
5887
5801
|
var deserializeAws_json1_1RecommenderSummary = function (output, context) {
|
|
5888
5802
|
return {
|
|
5889
|
-
creationDateTime: output.creationDateTime
|
|
5803
|
+
creationDateTime: output.creationDateTime != null
|
|
5890
5804
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5891
5805
|
: undefined,
|
|
5892
5806
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
5893
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5807
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5894
5808
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5895
5809
|
: undefined,
|
|
5896
5810
|
name: __expectString(output.name),
|
|
5897
5811
|
recipeArn: __expectString(output.recipeArn),
|
|
5898
5812
|
recommenderArn: __expectString(output.recommenderArn),
|
|
5899
|
-
recommenderConfig: output.recommenderConfig
|
|
5813
|
+
recommenderConfig: output.recommenderConfig != null
|
|
5900
5814
|
? deserializeAws_json1_1RecommenderConfig(output.recommenderConfig, context)
|
|
5901
5815
|
: undefined,
|
|
5902
5816
|
status: __expectString(output.status),
|
|
@@ -5904,14 +5818,14 @@ var deserializeAws_json1_1RecommenderSummary = function (output, context) {
|
|
|
5904
5818
|
};
|
|
5905
5819
|
var deserializeAws_json1_1RecommenderUpdateSummary = function (output, context) {
|
|
5906
5820
|
return {
|
|
5907
|
-
creationDateTime: output.creationDateTime
|
|
5821
|
+
creationDateTime: output.creationDateTime != null
|
|
5908
5822
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5909
5823
|
: undefined,
|
|
5910
5824
|
failureReason: __expectString(output.failureReason),
|
|
5911
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5825
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5912
5826
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5913
5827
|
: undefined,
|
|
5914
|
-
recommenderConfig: output.recommenderConfig
|
|
5828
|
+
recommenderConfig: output.recommenderConfig != null
|
|
5915
5829
|
? deserializeAws_json1_1RecommenderConfig(output.recommenderConfig, context)
|
|
5916
5830
|
: undefined,
|
|
5917
5831
|
status: __expectString(output.status),
|
|
@@ -5961,18 +5875,16 @@ var deserializeAws_json1_1Schemas = function (output, context) {
|
|
|
5961
5875
|
};
|
|
5962
5876
|
var deserializeAws_json1_1Solution = function (output, context) {
|
|
5963
5877
|
return {
|
|
5964
|
-
autoMLResult: output.autoMLResult
|
|
5965
|
-
|
|
5966
|
-
: undefined,
|
|
5967
|
-
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
5878
|
+
autoMLResult: output.autoMLResult != null ? deserializeAws_json1_1AutoMLResult(output.autoMLResult, context) : undefined,
|
|
5879
|
+
creationDateTime: output.creationDateTime != null
|
|
5968
5880
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
5969
5881
|
: undefined,
|
|
5970
5882
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
5971
5883
|
eventType: __expectString(output.eventType),
|
|
5972
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5884
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
5973
5885
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
5974
5886
|
: undefined,
|
|
5975
|
-
latestSolutionVersion: output.latestSolutionVersion
|
|
5887
|
+
latestSolutionVersion: output.latestSolutionVersion != null
|
|
5976
5888
|
? deserializeAws_json1_1SolutionVersionSummary(output.latestSolutionVersion, context)
|
|
5977
5889
|
: undefined,
|
|
5978
5890
|
name: __expectString(output.name),
|
|
@@ -5980,28 +5892,22 @@ var deserializeAws_json1_1Solution = function (output, context) {
|
|
|
5980
5892
|
performHPO: __expectBoolean(output.performHPO),
|
|
5981
5893
|
recipeArn: __expectString(output.recipeArn),
|
|
5982
5894
|
solutionArn: __expectString(output.solutionArn),
|
|
5983
|
-
solutionConfig: output.solutionConfig
|
|
5984
|
-
? deserializeAws_json1_1SolutionConfig(output.solutionConfig, context)
|
|
5985
|
-
: undefined,
|
|
5895
|
+
solutionConfig: output.solutionConfig != null ? deserializeAws_json1_1SolutionConfig(output.solutionConfig, context) : undefined,
|
|
5986
5896
|
status: __expectString(output.status),
|
|
5987
5897
|
};
|
|
5988
5898
|
};
|
|
5989
5899
|
var deserializeAws_json1_1SolutionConfig = function (output, context) {
|
|
5990
5900
|
return {
|
|
5991
|
-
algorithmHyperParameters: output.algorithmHyperParameters
|
|
5901
|
+
algorithmHyperParameters: output.algorithmHyperParameters != null
|
|
5992
5902
|
? deserializeAws_json1_1HyperParameters(output.algorithmHyperParameters, context)
|
|
5993
5903
|
: undefined,
|
|
5994
|
-
autoMLConfig: output.autoMLConfig
|
|
5995
|
-
? deserializeAws_json1_1AutoMLConfig(output.autoMLConfig, context)
|
|
5996
|
-
: undefined,
|
|
5904
|
+
autoMLConfig: output.autoMLConfig != null ? deserializeAws_json1_1AutoMLConfig(output.autoMLConfig, context) : undefined,
|
|
5997
5905
|
eventValueThreshold: __expectString(output.eventValueThreshold),
|
|
5998
|
-
featureTransformationParameters: output.featureTransformationParameters
|
|
5906
|
+
featureTransformationParameters: output.featureTransformationParameters != null
|
|
5999
5907
|
? deserializeAws_json1_1FeatureTransformationParameters(output.featureTransformationParameters, context)
|
|
6000
5908
|
: undefined,
|
|
6001
|
-
hpoConfig: output.hpoConfig
|
|
6002
|
-
|
|
6003
|
-
: undefined,
|
|
6004
|
-
optimizationObjective: output.optimizationObjective !== undefined && output.optimizationObjective !== null
|
|
5909
|
+
hpoConfig: output.hpoConfig != null ? deserializeAws_json1_1HPOConfig(output.hpoConfig, context) : undefined,
|
|
5910
|
+
optimizationObjective: output.optimizationObjective != null
|
|
6005
5911
|
? deserializeAws_json1_1OptimizationObjective(output.optimizationObjective, context)
|
|
6006
5912
|
: undefined,
|
|
6007
5913
|
};
|
|
@@ -6019,10 +5925,10 @@ var deserializeAws_json1_1Solutions = function (output, context) {
|
|
|
6019
5925
|
};
|
|
6020
5926
|
var deserializeAws_json1_1SolutionSummary = function (output, context) {
|
|
6021
5927
|
return {
|
|
6022
|
-
creationDateTime: output.creationDateTime
|
|
5928
|
+
creationDateTime: output.creationDateTime != null
|
|
6023
5929
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
6024
5930
|
: undefined,
|
|
6025
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5931
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
6026
5932
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
6027
5933
|
: undefined,
|
|
6028
5934
|
name: __expectString(output.name),
|
|
@@ -6032,29 +5938,25 @@ var deserializeAws_json1_1SolutionSummary = function (output, context) {
|
|
|
6032
5938
|
};
|
|
6033
5939
|
var deserializeAws_json1_1SolutionVersion = function (output, context) {
|
|
6034
5940
|
return {
|
|
6035
|
-
creationDateTime: output.creationDateTime
|
|
5941
|
+
creationDateTime: output.creationDateTime != null
|
|
6036
5942
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
6037
5943
|
: undefined,
|
|
6038
5944
|
datasetGroupArn: __expectString(output.datasetGroupArn),
|
|
6039
5945
|
eventType: __expectString(output.eventType),
|
|
6040
5946
|
failureReason: __expectString(output.failureReason),
|
|
6041
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5947
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
6042
5948
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
6043
5949
|
: undefined,
|
|
6044
5950
|
performAutoML: __expectBoolean(output.performAutoML),
|
|
6045
5951
|
performHPO: __expectBoolean(output.performHPO),
|
|
6046
5952
|
recipeArn: __expectString(output.recipeArn),
|
|
6047
5953
|
solutionArn: __expectString(output.solutionArn),
|
|
6048
|
-
solutionConfig: output.solutionConfig
|
|
6049
|
-
? deserializeAws_json1_1SolutionConfig(output.solutionConfig, context)
|
|
6050
|
-
: undefined,
|
|
5954
|
+
solutionConfig: output.solutionConfig != null ? deserializeAws_json1_1SolutionConfig(output.solutionConfig, context) : undefined,
|
|
6051
5955
|
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
6052
5956
|
status: __expectString(output.status),
|
|
6053
5957
|
trainingHours: __limitedParseDouble(output.trainingHours),
|
|
6054
5958
|
trainingMode: __expectString(output.trainingMode),
|
|
6055
|
-
tunedHPOParams: output.tunedHPOParams
|
|
6056
|
-
? deserializeAws_json1_1TunedHPOParams(output.tunedHPOParams, context)
|
|
6057
|
-
: undefined,
|
|
5959
|
+
tunedHPOParams: output.tunedHPOParams != null ? deserializeAws_json1_1TunedHPOParams(output.tunedHPOParams, context) : undefined,
|
|
6058
5960
|
};
|
|
6059
5961
|
};
|
|
6060
5962
|
var deserializeAws_json1_1SolutionVersions = function (output, context) {
|
|
@@ -6070,11 +5972,11 @@ var deserializeAws_json1_1SolutionVersions = function (output, context) {
|
|
|
6070
5972
|
};
|
|
6071
5973
|
var deserializeAws_json1_1SolutionVersionSummary = function (output, context) {
|
|
6072
5974
|
return {
|
|
6073
|
-
creationDateTime: output.creationDateTime
|
|
5975
|
+
creationDateTime: output.creationDateTime != null
|
|
6074
5976
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
|
|
6075
5977
|
: undefined,
|
|
6076
5978
|
failureReason: __expectString(output.failureReason),
|
|
6077
|
-
lastUpdatedDateTime: output.lastUpdatedDateTime
|
|
5979
|
+
lastUpdatedDateTime: output.lastUpdatedDateTime != null
|
|
6078
5980
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
6079
5981
|
: undefined,
|
|
6080
5982
|
solutionVersionArn: __expectString(output.solutionVersionArn),
|
|
@@ -6123,7 +6025,7 @@ var deserializeAws_json1_1TooManyTagsException = function (output, context) {
|
|
|
6123
6025
|
};
|
|
6124
6026
|
var deserializeAws_json1_1TunedHPOParams = function (output, context) {
|
|
6125
6027
|
return {
|
|
6126
|
-
algorithmHyperParameters: output.algorithmHyperParameters
|
|
6028
|
+
algorithmHyperParameters: output.algorithmHyperParameters != null
|
|
6127
6029
|
? deserializeAws_json1_1HyperParameters(output.algorithmHyperParameters, context)
|
|
6128
6030
|
: undefined,
|
|
6129
6031
|
};
|
|
@@ -6215,5 +6117,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
6215
6117
|
if (data["__type"] !== undefined) {
|
|
6216
6118
|
return sanitizeErrorCode(data["__type"]);
|
|
6217
6119
|
}
|
|
6218
|
-
return "";
|
|
6219
6120
|
};
|