@aws-sdk/client-forecast 3.504.0 → 3.507.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/dist-cjs/index.js +102 -1631
- package/dist-es/protocols/Aws_json1_1.js +98 -1627
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -923,7 +923,7 @@ var se_UpdateDatasetGroupCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
923
923
|
}, "se_UpdateDatasetGroupCommand");
|
|
924
924
|
var de_CreateAutoPredictorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
925
925
|
if (output.statusCode >= 300) {
|
|
926
|
-
return
|
|
926
|
+
return de_CommandError(output, context);
|
|
927
927
|
}
|
|
928
928
|
const data = await parseBody(output.body, context);
|
|
929
929
|
let contents = {};
|
|
@@ -934,40 +934,9 @@ var de_CreateAutoPredictorCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
934
934
|
};
|
|
935
935
|
return response;
|
|
936
936
|
}, "de_CreateAutoPredictorCommand");
|
|
937
|
-
var de_CreateAutoPredictorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
938
|
-
const parsedOutput = {
|
|
939
|
-
...output,
|
|
940
|
-
body: await parseErrorBody(output.body, context)
|
|
941
|
-
};
|
|
942
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
943
|
-
switch (errorCode) {
|
|
944
|
-
case "InvalidInputException":
|
|
945
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
946
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
947
|
-
case "LimitExceededException":
|
|
948
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
949
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
950
|
-
case "ResourceAlreadyExistsException":
|
|
951
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
952
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
953
|
-
case "ResourceInUseException":
|
|
954
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
955
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
956
|
-
case "ResourceNotFoundException":
|
|
957
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
958
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
959
|
-
default:
|
|
960
|
-
const parsedBody = parsedOutput.body;
|
|
961
|
-
return throwDefaultError({
|
|
962
|
-
output,
|
|
963
|
-
parsedBody,
|
|
964
|
-
errorCode
|
|
965
|
-
});
|
|
966
|
-
}
|
|
967
|
-
}, "de_CreateAutoPredictorCommandError");
|
|
968
937
|
var de_CreateDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
969
938
|
if (output.statusCode >= 300) {
|
|
970
|
-
return
|
|
939
|
+
return de_CommandError(output, context);
|
|
971
940
|
}
|
|
972
941
|
const data = await parseBody(output.body, context);
|
|
973
942
|
let contents = {};
|
|
@@ -978,34 +947,9 @@ var de_CreateDatasetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
978
947
|
};
|
|
979
948
|
return response;
|
|
980
949
|
}, "de_CreateDatasetCommand");
|
|
981
|
-
var de_CreateDatasetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
982
|
-
const parsedOutput = {
|
|
983
|
-
...output,
|
|
984
|
-
body: await parseErrorBody(output.body, context)
|
|
985
|
-
};
|
|
986
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
987
|
-
switch (errorCode) {
|
|
988
|
-
case "InvalidInputException":
|
|
989
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
990
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
991
|
-
case "LimitExceededException":
|
|
992
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
993
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
994
|
-
case "ResourceAlreadyExistsException":
|
|
995
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
996
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
997
|
-
default:
|
|
998
|
-
const parsedBody = parsedOutput.body;
|
|
999
|
-
return throwDefaultError({
|
|
1000
|
-
output,
|
|
1001
|
-
parsedBody,
|
|
1002
|
-
errorCode
|
|
1003
|
-
});
|
|
1004
|
-
}
|
|
1005
|
-
}, "de_CreateDatasetCommandError");
|
|
1006
950
|
var de_CreateDatasetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1007
951
|
if (output.statusCode >= 300) {
|
|
1008
|
-
return
|
|
952
|
+
return de_CommandError(output, context);
|
|
1009
953
|
}
|
|
1010
954
|
const data = await parseBody(output.body, context);
|
|
1011
955
|
let contents = {};
|
|
@@ -1016,40 +960,9 @@ var de_CreateDatasetGroupCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1016
960
|
};
|
|
1017
961
|
return response;
|
|
1018
962
|
}, "de_CreateDatasetGroupCommand");
|
|
1019
|
-
var de_CreateDatasetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1020
|
-
const parsedOutput = {
|
|
1021
|
-
...output,
|
|
1022
|
-
body: await parseErrorBody(output.body, context)
|
|
1023
|
-
};
|
|
1024
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1025
|
-
switch (errorCode) {
|
|
1026
|
-
case "InvalidInputException":
|
|
1027
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1028
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1029
|
-
case "LimitExceededException":
|
|
1030
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1031
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1032
|
-
case "ResourceAlreadyExistsException":
|
|
1033
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1034
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1035
|
-
case "ResourceInUseException":
|
|
1036
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1037
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1038
|
-
case "ResourceNotFoundException":
|
|
1039
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1040
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1041
|
-
default:
|
|
1042
|
-
const parsedBody = parsedOutput.body;
|
|
1043
|
-
return throwDefaultError({
|
|
1044
|
-
output,
|
|
1045
|
-
parsedBody,
|
|
1046
|
-
errorCode
|
|
1047
|
-
});
|
|
1048
|
-
}
|
|
1049
|
-
}, "de_CreateDatasetGroupCommandError");
|
|
1050
963
|
var de_CreateDatasetImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1051
964
|
if (output.statusCode >= 300) {
|
|
1052
|
-
return
|
|
965
|
+
return de_CommandError(output, context);
|
|
1053
966
|
}
|
|
1054
967
|
const data = await parseBody(output.body, context);
|
|
1055
968
|
let contents = {};
|
|
@@ -1060,40 +973,9 @@ var de_CreateDatasetImportJobCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1060
973
|
};
|
|
1061
974
|
return response;
|
|
1062
975
|
}, "de_CreateDatasetImportJobCommand");
|
|
1063
|
-
var de_CreateDatasetImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1064
|
-
const parsedOutput = {
|
|
1065
|
-
...output,
|
|
1066
|
-
body: await parseErrorBody(output.body, context)
|
|
1067
|
-
};
|
|
1068
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1069
|
-
switch (errorCode) {
|
|
1070
|
-
case "InvalidInputException":
|
|
1071
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1072
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1073
|
-
case "LimitExceededException":
|
|
1074
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1075
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1076
|
-
case "ResourceAlreadyExistsException":
|
|
1077
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1078
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1079
|
-
case "ResourceInUseException":
|
|
1080
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1081
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1082
|
-
case "ResourceNotFoundException":
|
|
1083
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1084
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1085
|
-
default:
|
|
1086
|
-
const parsedBody = parsedOutput.body;
|
|
1087
|
-
return throwDefaultError({
|
|
1088
|
-
output,
|
|
1089
|
-
parsedBody,
|
|
1090
|
-
errorCode
|
|
1091
|
-
});
|
|
1092
|
-
}
|
|
1093
|
-
}, "de_CreateDatasetImportJobCommandError");
|
|
1094
976
|
var de_CreateExplainabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1095
977
|
if (output.statusCode >= 300) {
|
|
1096
|
-
return
|
|
978
|
+
return de_CommandError(output, context);
|
|
1097
979
|
}
|
|
1098
980
|
const data = await parseBody(output.body, context);
|
|
1099
981
|
let contents = {};
|
|
@@ -1104,40 +986,9 @@ var de_CreateExplainabilityCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1104
986
|
};
|
|
1105
987
|
return response;
|
|
1106
988
|
}, "de_CreateExplainabilityCommand");
|
|
1107
|
-
var de_CreateExplainabilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1108
|
-
const parsedOutput = {
|
|
1109
|
-
...output,
|
|
1110
|
-
body: await parseErrorBody(output.body, context)
|
|
1111
|
-
};
|
|
1112
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1113
|
-
switch (errorCode) {
|
|
1114
|
-
case "InvalidInputException":
|
|
1115
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1116
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1117
|
-
case "LimitExceededException":
|
|
1118
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1119
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1120
|
-
case "ResourceAlreadyExistsException":
|
|
1121
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1122
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1123
|
-
case "ResourceInUseException":
|
|
1124
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1125
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1126
|
-
case "ResourceNotFoundException":
|
|
1127
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1128
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1129
|
-
default:
|
|
1130
|
-
const parsedBody = parsedOutput.body;
|
|
1131
|
-
return throwDefaultError({
|
|
1132
|
-
output,
|
|
1133
|
-
parsedBody,
|
|
1134
|
-
errorCode
|
|
1135
|
-
});
|
|
1136
|
-
}
|
|
1137
|
-
}, "de_CreateExplainabilityCommandError");
|
|
1138
989
|
var de_CreateExplainabilityExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1139
990
|
if (output.statusCode >= 300) {
|
|
1140
|
-
return
|
|
991
|
+
return de_CommandError(output, context);
|
|
1141
992
|
}
|
|
1142
993
|
const data = await parseBody(output.body, context);
|
|
1143
994
|
let contents = {};
|
|
@@ -1148,40 +999,9 @@ var de_CreateExplainabilityExportCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1148
999
|
};
|
|
1149
1000
|
return response;
|
|
1150
1001
|
}, "de_CreateExplainabilityExportCommand");
|
|
1151
|
-
var de_CreateExplainabilityExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1152
|
-
const parsedOutput = {
|
|
1153
|
-
...output,
|
|
1154
|
-
body: await parseErrorBody(output.body, context)
|
|
1155
|
-
};
|
|
1156
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1157
|
-
switch (errorCode) {
|
|
1158
|
-
case "InvalidInputException":
|
|
1159
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1160
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1161
|
-
case "LimitExceededException":
|
|
1162
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1163
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1164
|
-
case "ResourceAlreadyExistsException":
|
|
1165
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1166
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1167
|
-
case "ResourceInUseException":
|
|
1168
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1169
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1170
|
-
case "ResourceNotFoundException":
|
|
1171
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1172
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1173
|
-
default:
|
|
1174
|
-
const parsedBody = parsedOutput.body;
|
|
1175
|
-
return throwDefaultError({
|
|
1176
|
-
output,
|
|
1177
|
-
parsedBody,
|
|
1178
|
-
errorCode
|
|
1179
|
-
});
|
|
1180
|
-
}
|
|
1181
|
-
}, "de_CreateExplainabilityExportCommandError");
|
|
1182
1002
|
var de_CreateForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1183
1003
|
if (output.statusCode >= 300) {
|
|
1184
|
-
return
|
|
1004
|
+
return de_CommandError(output, context);
|
|
1185
1005
|
}
|
|
1186
1006
|
const data = await parseBody(output.body, context);
|
|
1187
1007
|
let contents = {};
|
|
@@ -1192,40 +1012,9 @@ var de_CreateForecastCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1192
1012
|
};
|
|
1193
1013
|
return response;
|
|
1194
1014
|
}, "de_CreateForecastCommand");
|
|
1195
|
-
var de_CreateForecastCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1196
|
-
const parsedOutput = {
|
|
1197
|
-
...output,
|
|
1198
|
-
body: await parseErrorBody(output.body, context)
|
|
1199
|
-
};
|
|
1200
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1201
|
-
switch (errorCode) {
|
|
1202
|
-
case "InvalidInputException":
|
|
1203
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1204
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1205
|
-
case "LimitExceededException":
|
|
1206
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1207
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1208
|
-
case "ResourceAlreadyExistsException":
|
|
1209
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1210
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1211
|
-
case "ResourceInUseException":
|
|
1212
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1213
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1214
|
-
case "ResourceNotFoundException":
|
|
1215
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1216
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1217
|
-
default:
|
|
1218
|
-
const parsedBody = parsedOutput.body;
|
|
1219
|
-
return throwDefaultError({
|
|
1220
|
-
output,
|
|
1221
|
-
parsedBody,
|
|
1222
|
-
errorCode
|
|
1223
|
-
});
|
|
1224
|
-
}
|
|
1225
|
-
}, "de_CreateForecastCommandError");
|
|
1226
1015
|
var de_CreateForecastExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1227
1016
|
if (output.statusCode >= 300) {
|
|
1228
|
-
return
|
|
1017
|
+
return de_CommandError(output, context);
|
|
1229
1018
|
}
|
|
1230
1019
|
const data = await parseBody(output.body, context);
|
|
1231
1020
|
let contents = {};
|
|
@@ -1236,40 +1025,9 @@ var de_CreateForecastExportJobCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1236
1025
|
};
|
|
1237
1026
|
return response;
|
|
1238
1027
|
}, "de_CreateForecastExportJobCommand");
|
|
1239
|
-
var de_CreateForecastExportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1240
|
-
const parsedOutput = {
|
|
1241
|
-
...output,
|
|
1242
|
-
body: await parseErrorBody(output.body, context)
|
|
1243
|
-
};
|
|
1244
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1245
|
-
switch (errorCode) {
|
|
1246
|
-
case "InvalidInputException":
|
|
1247
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1248
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1249
|
-
case "LimitExceededException":
|
|
1250
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1251
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1252
|
-
case "ResourceAlreadyExistsException":
|
|
1253
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1254
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1255
|
-
case "ResourceInUseException":
|
|
1256
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1257
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1258
|
-
case "ResourceNotFoundException":
|
|
1259
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1260
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1261
|
-
default:
|
|
1262
|
-
const parsedBody = parsedOutput.body;
|
|
1263
|
-
return throwDefaultError({
|
|
1264
|
-
output,
|
|
1265
|
-
parsedBody,
|
|
1266
|
-
errorCode
|
|
1267
|
-
});
|
|
1268
|
-
}
|
|
1269
|
-
}, "de_CreateForecastExportJobCommandError");
|
|
1270
1028
|
var de_CreateMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1271
1029
|
if (output.statusCode >= 300) {
|
|
1272
|
-
return
|
|
1030
|
+
return de_CommandError(output, context);
|
|
1273
1031
|
}
|
|
1274
1032
|
const data = await parseBody(output.body, context);
|
|
1275
1033
|
let contents = {};
|
|
@@ -1280,40 +1038,9 @@ var de_CreateMonitorCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1280
1038
|
};
|
|
1281
1039
|
return response;
|
|
1282
1040
|
}, "de_CreateMonitorCommand");
|
|
1283
|
-
var de_CreateMonitorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1284
|
-
const parsedOutput = {
|
|
1285
|
-
...output,
|
|
1286
|
-
body: await parseErrorBody(output.body, context)
|
|
1287
|
-
};
|
|
1288
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1289
|
-
switch (errorCode) {
|
|
1290
|
-
case "InvalidInputException":
|
|
1291
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1292
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1293
|
-
case "LimitExceededException":
|
|
1294
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1295
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1296
|
-
case "ResourceAlreadyExistsException":
|
|
1297
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1298
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1299
|
-
case "ResourceInUseException":
|
|
1300
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1301
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1302
|
-
case "ResourceNotFoundException":
|
|
1303
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1304
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1305
|
-
default:
|
|
1306
|
-
const parsedBody = parsedOutput.body;
|
|
1307
|
-
return throwDefaultError({
|
|
1308
|
-
output,
|
|
1309
|
-
parsedBody,
|
|
1310
|
-
errorCode
|
|
1311
|
-
});
|
|
1312
|
-
}
|
|
1313
|
-
}, "de_CreateMonitorCommandError");
|
|
1314
1041
|
var de_CreatePredictorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1315
1042
|
if (output.statusCode >= 300) {
|
|
1316
|
-
return
|
|
1043
|
+
return de_CommandError(output, context);
|
|
1317
1044
|
}
|
|
1318
1045
|
const data = await parseBody(output.body, context);
|
|
1319
1046
|
let contents = {};
|
|
@@ -1324,40 +1051,9 @@ var de_CreatePredictorCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1324
1051
|
};
|
|
1325
1052
|
return response;
|
|
1326
1053
|
}, "de_CreatePredictorCommand");
|
|
1327
|
-
var de_CreatePredictorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1328
|
-
const parsedOutput = {
|
|
1329
|
-
...output,
|
|
1330
|
-
body: await parseErrorBody(output.body, context)
|
|
1331
|
-
};
|
|
1332
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1333
|
-
switch (errorCode) {
|
|
1334
|
-
case "InvalidInputException":
|
|
1335
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1336
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1337
|
-
case "LimitExceededException":
|
|
1338
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1339
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1340
|
-
case "ResourceAlreadyExistsException":
|
|
1341
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1342
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1343
|
-
case "ResourceInUseException":
|
|
1344
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1345
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1346
|
-
case "ResourceNotFoundException":
|
|
1347
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1348
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1349
|
-
default:
|
|
1350
|
-
const parsedBody = parsedOutput.body;
|
|
1351
|
-
return throwDefaultError({
|
|
1352
|
-
output,
|
|
1353
|
-
parsedBody,
|
|
1354
|
-
errorCode
|
|
1355
|
-
});
|
|
1356
|
-
}
|
|
1357
|
-
}, "de_CreatePredictorCommandError");
|
|
1358
1054
|
var de_CreatePredictorBacktestExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1359
1055
|
if (output.statusCode >= 300) {
|
|
1360
|
-
return
|
|
1056
|
+
return de_CommandError(output, context);
|
|
1361
1057
|
}
|
|
1362
1058
|
const data = await parseBody(output.body, context);
|
|
1363
1059
|
let contents = {};
|
|
@@ -1368,40 +1064,9 @@ var de_CreatePredictorBacktestExportJobCommand = /* @__PURE__ */ __name(async (o
|
|
|
1368
1064
|
};
|
|
1369
1065
|
return response;
|
|
1370
1066
|
}, "de_CreatePredictorBacktestExportJobCommand");
|
|
1371
|
-
var de_CreatePredictorBacktestExportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1372
|
-
const parsedOutput = {
|
|
1373
|
-
...output,
|
|
1374
|
-
body: await parseErrorBody(output.body, context)
|
|
1375
|
-
};
|
|
1376
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1377
|
-
switch (errorCode) {
|
|
1378
|
-
case "InvalidInputException":
|
|
1379
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1380
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1381
|
-
case "LimitExceededException":
|
|
1382
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1383
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1384
|
-
case "ResourceAlreadyExistsException":
|
|
1385
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1386
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1387
|
-
case "ResourceInUseException":
|
|
1388
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1389
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1390
|
-
case "ResourceNotFoundException":
|
|
1391
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1392
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1393
|
-
default:
|
|
1394
|
-
const parsedBody = parsedOutput.body;
|
|
1395
|
-
return throwDefaultError({
|
|
1396
|
-
output,
|
|
1397
|
-
parsedBody,
|
|
1398
|
-
errorCode
|
|
1399
|
-
});
|
|
1400
|
-
}
|
|
1401
|
-
}, "de_CreatePredictorBacktestExportJobCommandError");
|
|
1402
1067
|
var de_CreateWhatIfAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1403
1068
|
if (output.statusCode >= 300) {
|
|
1404
|
-
return
|
|
1069
|
+
return de_CommandError(output, context);
|
|
1405
1070
|
}
|
|
1406
1071
|
const data = await parseBody(output.body, context);
|
|
1407
1072
|
let contents = {};
|
|
@@ -1412,40 +1077,9 @@ var de_CreateWhatIfAnalysisCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1412
1077
|
};
|
|
1413
1078
|
return response;
|
|
1414
1079
|
}, "de_CreateWhatIfAnalysisCommand");
|
|
1415
|
-
var de_CreateWhatIfAnalysisCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1416
|
-
const parsedOutput = {
|
|
1417
|
-
...output,
|
|
1418
|
-
body: await parseErrorBody(output.body, context)
|
|
1419
|
-
};
|
|
1420
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1421
|
-
switch (errorCode) {
|
|
1422
|
-
case "InvalidInputException":
|
|
1423
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1424
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1425
|
-
case "LimitExceededException":
|
|
1426
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1427
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1428
|
-
case "ResourceAlreadyExistsException":
|
|
1429
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1430
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1431
|
-
case "ResourceInUseException":
|
|
1432
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1433
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1434
|
-
case "ResourceNotFoundException":
|
|
1435
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1436
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1437
|
-
default:
|
|
1438
|
-
const parsedBody = parsedOutput.body;
|
|
1439
|
-
return throwDefaultError({
|
|
1440
|
-
output,
|
|
1441
|
-
parsedBody,
|
|
1442
|
-
errorCode
|
|
1443
|
-
});
|
|
1444
|
-
}
|
|
1445
|
-
}, "de_CreateWhatIfAnalysisCommandError");
|
|
1446
1080
|
var de_CreateWhatIfForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1447
1081
|
if (output.statusCode >= 300) {
|
|
1448
|
-
return
|
|
1082
|
+
return de_CommandError(output, context);
|
|
1449
1083
|
}
|
|
1450
1084
|
const data = await parseBody(output.body, context);
|
|
1451
1085
|
let contents = {};
|
|
@@ -1456,40 +1090,9 @@ var de_CreateWhatIfForecastCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1456
1090
|
};
|
|
1457
1091
|
return response;
|
|
1458
1092
|
}, "de_CreateWhatIfForecastCommand");
|
|
1459
|
-
var de_CreateWhatIfForecastCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1460
|
-
const parsedOutput = {
|
|
1461
|
-
...output,
|
|
1462
|
-
body: await parseErrorBody(output.body, context)
|
|
1463
|
-
};
|
|
1464
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1465
|
-
switch (errorCode) {
|
|
1466
|
-
case "InvalidInputException":
|
|
1467
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1468
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1469
|
-
case "LimitExceededException":
|
|
1470
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1471
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1472
|
-
case "ResourceAlreadyExistsException":
|
|
1473
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1474
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1475
|
-
case "ResourceInUseException":
|
|
1476
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1477
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1478
|
-
case "ResourceNotFoundException":
|
|
1479
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1480
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1481
|
-
default:
|
|
1482
|
-
const parsedBody = parsedOutput.body;
|
|
1483
|
-
return throwDefaultError({
|
|
1484
|
-
output,
|
|
1485
|
-
parsedBody,
|
|
1486
|
-
errorCode
|
|
1487
|
-
});
|
|
1488
|
-
}
|
|
1489
|
-
}, "de_CreateWhatIfForecastCommandError");
|
|
1490
1093
|
var de_CreateWhatIfForecastExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1491
1094
|
if (output.statusCode >= 300) {
|
|
1492
|
-
return
|
|
1095
|
+
return de_CommandError(output, context);
|
|
1493
1096
|
}
|
|
1494
1097
|
const data = await parseBody(output.body, context);
|
|
1495
1098
|
let contents = {};
|
|
@@ -1500,40 +1103,9 @@ var de_CreateWhatIfForecastExportCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1500
1103
|
};
|
|
1501
1104
|
return response;
|
|
1502
1105
|
}, "de_CreateWhatIfForecastExportCommand");
|
|
1503
|
-
var de_CreateWhatIfForecastExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1504
|
-
const parsedOutput = {
|
|
1505
|
-
...output,
|
|
1506
|
-
body: await parseErrorBody(output.body, context)
|
|
1507
|
-
};
|
|
1508
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1509
|
-
switch (errorCode) {
|
|
1510
|
-
case "InvalidInputException":
|
|
1511
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1512
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1513
|
-
case "LimitExceededException":
|
|
1514
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1515
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1516
|
-
case "ResourceAlreadyExistsException":
|
|
1517
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1518
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1519
|
-
case "ResourceInUseException":
|
|
1520
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1521
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1522
|
-
case "ResourceNotFoundException":
|
|
1523
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1524
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1525
|
-
default:
|
|
1526
|
-
const parsedBody = parsedOutput.body;
|
|
1527
|
-
return throwDefaultError({
|
|
1528
|
-
output,
|
|
1529
|
-
parsedBody,
|
|
1530
|
-
errorCode
|
|
1531
|
-
});
|
|
1532
|
-
}
|
|
1533
|
-
}, "de_CreateWhatIfForecastExportCommandError");
|
|
1534
1106
|
var de_DeleteDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1535
1107
|
if (output.statusCode >= 300) {
|
|
1536
|
-
return
|
|
1108
|
+
return de_CommandError(output, context);
|
|
1537
1109
|
}
|
|
1538
1110
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1539
1111
|
const response = {
|
|
@@ -1541,34 +1113,9 @@ var de_DeleteDatasetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1541
1113
|
};
|
|
1542
1114
|
return response;
|
|
1543
1115
|
}, "de_DeleteDatasetCommand");
|
|
1544
|
-
var de_DeleteDatasetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1545
|
-
const parsedOutput = {
|
|
1546
|
-
...output,
|
|
1547
|
-
body: await parseErrorBody(output.body, context)
|
|
1548
|
-
};
|
|
1549
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1550
|
-
switch (errorCode) {
|
|
1551
|
-
case "InvalidInputException":
|
|
1552
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1553
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1554
|
-
case "ResourceInUseException":
|
|
1555
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1556
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1557
|
-
case "ResourceNotFoundException":
|
|
1558
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1559
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1560
|
-
default:
|
|
1561
|
-
const parsedBody = parsedOutput.body;
|
|
1562
|
-
return throwDefaultError({
|
|
1563
|
-
output,
|
|
1564
|
-
parsedBody,
|
|
1565
|
-
errorCode
|
|
1566
|
-
});
|
|
1567
|
-
}
|
|
1568
|
-
}, "de_DeleteDatasetCommandError");
|
|
1569
1116
|
var de_DeleteDatasetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1570
1117
|
if (output.statusCode >= 300) {
|
|
1571
|
-
return
|
|
1118
|
+
return de_CommandError(output, context);
|
|
1572
1119
|
}
|
|
1573
1120
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1574
1121
|
const response = {
|
|
@@ -1576,34 +1123,9 @@ var de_DeleteDatasetGroupCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1576
1123
|
};
|
|
1577
1124
|
return response;
|
|
1578
1125
|
}, "de_DeleteDatasetGroupCommand");
|
|
1579
|
-
var de_DeleteDatasetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1580
|
-
const parsedOutput = {
|
|
1581
|
-
...output,
|
|
1582
|
-
body: await parseErrorBody(output.body, context)
|
|
1583
|
-
};
|
|
1584
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1585
|
-
switch (errorCode) {
|
|
1586
|
-
case "InvalidInputException":
|
|
1587
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1588
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1589
|
-
case "ResourceInUseException":
|
|
1590
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1591
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1592
|
-
case "ResourceNotFoundException":
|
|
1593
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1594
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1595
|
-
default:
|
|
1596
|
-
const parsedBody = parsedOutput.body;
|
|
1597
|
-
return throwDefaultError({
|
|
1598
|
-
output,
|
|
1599
|
-
parsedBody,
|
|
1600
|
-
errorCode
|
|
1601
|
-
});
|
|
1602
|
-
}
|
|
1603
|
-
}, "de_DeleteDatasetGroupCommandError");
|
|
1604
1126
|
var de_DeleteDatasetImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1605
1127
|
if (output.statusCode >= 300) {
|
|
1606
|
-
return
|
|
1128
|
+
return de_CommandError(output, context);
|
|
1607
1129
|
}
|
|
1608
1130
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1609
1131
|
const response = {
|
|
@@ -1611,34 +1133,9 @@ var de_DeleteDatasetImportJobCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1611
1133
|
};
|
|
1612
1134
|
return response;
|
|
1613
1135
|
}, "de_DeleteDatasetImportJobCommand");
|
|
1614
|
-
var de_DeleteDatasetImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1615
|
-
const parsedOutput = {
|
|
1616
|
-
...output,
|
|
1617
|
-
body: await parseErrorBody(output.body, context)
|
|
1618
|
-
};
|
|
1619
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1620
|
-
switch (errorCode) {
|
|
1621
|
-
case "InvalidInputException":
|
|
1622
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1623
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1624
|
-
case "ResourceInUseException":
|
|
1625
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1626
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1627
|
-
case "ResourceNotFoundException":
|
|
1628
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1629
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1630
|
-
default:
|
|
1631
|
-
const parsedBody = parsedOutput.body;
|
|
1632
|
-
return throwDefaultError({
|
|
1633
|
-
output,
|
|
1634
|
-
parsedBody,
|
|
1635
|
-
errorCode
|
|
1636
|
-
});
|
|
1637
|
-
}
|
|
1638
|
-
}, "de_DeleteDatasetImportJobCommandError");
|
|
1639
1136
|
var de_DeleteExplainabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1640
1137
|
if (output.statusCode >= 300) {
|
|
1641
|
-
return
|
|
1138
|
+
return de_CommandError(output, context);
|
|
1642
1139
|
}
|
|
1643
1140
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1644
1141
|
const response = {
|
|
@@ -1646,34 +1143,9 @@ var de_DeleteExplainabilityCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1646
1143
|
};
|
|
1647
1144
|
return response;
|
|
1648
1145
|
}, "de_DeleteExplainabilityCommand");
|
|
1649
|
-
var de_DeleteExplainabilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1650
|
-
const parsedOutput = {
|
|
1651
|
-
...output,
|
|
1652
|
-
body: await parseErrorBody(output.body, context)
|
|
1653
|
-
};
|
|
1654
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1655
|
-
switch (errorCode) {
|
|
1656
|
-
case "InvalidInputException":
|
|
1657
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1658
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1659
|
-
case "ResourceInUseException":
|
|
1660
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1661
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1662
|
-
case "ResourceNotFoundException":
|
|
1663
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1664
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1665
|
-
default:
|
|
1666
|
-
const parsedBody = parsedOutput.body;
|
|
1667
|
-
return throwDefaultError({
|
|
1668
|
-
output,
|
|
1669
|
-
parsedBody,
|
|
1670
|
-
errorCode
|
|
1671
|
-
});
|
|
1672
|
-
}
|
|
1673
|
-
}, "de_DeleteExplainabilityCommandError");
|
|
1674
1146
|
var de_DeleteExplainabilityExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1675
1147
|
if (output.statusCode >= 300) {
|
|
1676
|
-
return
|
|
1148
|
+
return de_CommandError(output, context);
|
|
1677
1149
|
}
|
|
1678
1150
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1679
1151
|
const response = {
|
|
@@ -1681,34 +1153,9 @@ var de_DeleteExplainabilityExportCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1681
1153
|
};
|
|
1682
1154
|
return response;
|
|
1683
1155
|
}, "de_DeleteExplainabilityExportCommand");
|
|
1684
|
-
var de_DeleteExplainabilityExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1685
|
-
const parsedOutput = {
|
|
1686
|
-
...output,
|
|
1687
|
-
body: await parseErrorBody(output.body, context)
|
|
1688
|
-
};
|
|
1689
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1690
|
-
switch (errorCode) {
|
|
1691
|
-
case "InvalidInputException":
|
|
1692
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1693
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1694
|
-
case "ResourceInUseException":
|
|
1695
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1696
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1697
|
-
case "ResourceNotFoundException":
|
|
1698
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1699
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1700
|
-
default:
|
|
1701
|
-
const parsedBody = parsedOutput.body;
|
|
1702
|
-
return throwDefaultError({
|
|
1703
|
-
output,
|
|
1704
|
-
parsedBody,
|
|
1705
|
-
errorCode
|
|
1706
|
-
});
|
|
1707
|
-
}
|
|
1708
|
-
}, "de_DeleteExplainabilityExportCommandError");
|
|
1709
1156
|
var de_DeleteForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1710
1157
|
if (output.statusCode >= 300) {
|
|
1711
|
-
return
|
|
1158
|
+
return de_CommandError(output, context);
|
|
1712
1159
|
}
|
|
1713
1160
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1714
1161
|
const response = {
|
|
@@ -1716,34 +1163,9 @@ var de_DeleteForecastCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1716
1163
|
};
|
|
1717
1164
|
return response;
|
|
1718
1165
|
}, "de_DeleteForecastCommand");
|
|
1719
|
-
var de_DeleteForecastCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1720
|
-
const parsedOutput = {
|
|
1721
|
-
...output,
|
|
1722
|
-
body: await parseErrorBody(output.body, context)
|
|
1723
|
-
};
|
|
1724
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1725
|
-
switch (errorCode) {
|
|
1726
|
-
case "InvalidInputException":
|
|
1727
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1728
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1729
|
-
case "ResourceInUseException":
|
|
1730
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1731
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1732
|
-
case "ResourceNotFoundException":
|
|
1733
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1734
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1735
|
-
default:
|
|
1736
|
-
const parsedBody = parsedOutput.body;
|
|
1737
|
-
return throwDefaultError({
|
|
1738
|
-
output,
|
|
1739
|
-
parsedBody,
|
|
1740
|
-
errorCode
|
|
1741
|
-
});
|
|
1742
|
-
}
|
|
1743
|
-
}, "de_DeleteForecastCommandError");
|
|
1744
1166
|
var de_DeleteForecastExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1745
1167
|
if (output.statusCode >= 300) {
|
|
1746
|
-
return
|
|
1168
|
+
return de_CommandError(output, context);
|
|
1747
1169
|
}
|
|
1748
1170
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1749
1171
|
const response = {
|
|
@@ -1751,34 +1173,9 @@ var de_DeleteForecastExportJobCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1751
1173
|
};
|
|
1752
1174
|
return response;
|
|
1753
1175
|
}, "de_DeleteForecastExportJobCommand");
|
|
1754
|
-
var de_DeleteForecastExportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1755
|
-
const parsedOutput = {
|
|
1756
|
-
...output,
|
|
1757
|
-
body: await parseErrorBody(output.body, context)
|
|
1758
|
-
};
|
|
1759
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1760
|
-
switch (errorCode) {
|
|
1761
|
-
case "InvalidInputException":
|
|
1762
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1763
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1764
|
-
case "ResourceInUseException":
|
|
1765
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1766
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1767
|
-
case "ResourceNotFoundException":
|
|
1768
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1769
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1770
|
-
default:
|
|
1771
|
-
const parsedBody = parsedOutput.body;
|
|
1772
|
-
return throwDefaultError({
|
|
1773
|
-
output,
|
|
1774
|
-
parsedBody,
|
|
1775
|
-
errorCode
|
|
1776
|
-
});
|
|
1777
|
-
}
|
|
1778
|
-
}, "de_DeleteForecastExportJobCommandError");
|
|
1779
1176
|
var de_DeleteMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1780
1177
|
if (output.statusCode >= 300) {
|
|
1781
|
-
return
|
|
1178
|
+
return de_CommandError(output, context);
|
|
1782
1179
|
}
|
|
1783
1180
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1784
1181
|
const response = {
|
|
@@ -1786,34 +1183,9 @@ var de_DeleteMonitorCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1786
1183
|
};
|
|
1787
1184
|
return response;
|
|
1788
1185
|
}, "de_DeleteMonitorCommand");
|
|
1789
|
-
var de_DeleteMonitorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1790
|
-
const parsedOutput = {
|
|
1791
|
-
...output,
|
|
1792
|
-
body: await parseErrorBody(output.body, context)
|
|
1793
|
-
};
|
|
1794
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1795
|
-
switch (errorCode) {
|
|
1796
|
-
case "InvalidInputException":
|
|
1797
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1798
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1799
|
-
case "ResourceInUseException":
|
|
1800
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1801
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1802
|
-
case "ResourceNotFoundException":
|
|
1803
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1804
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1805
|
-
default:
|
|
1806
|
-
const parsedBody = parsedOutput.body;
|
|
1807
|
-
return throwDefaultError({
|
|
1808
|
-
output,
|
|
1809
|
-
parsedBody,
|
|
1810
|
-
errorCode
|
|
1811
|
-
});
|
|
1812
|
-
}
|
|
1813
|
-
}, "de_DeleteMonitorCommandError");
|
|
1814
1186
|
var de_DeletePredictorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1815
1187
|
if (output.statusCode >= 300) {
|
|
1816
|
-
return
|
|
1188
|
+
return de_CommandError(output, context);
|
|
1817
1189
|
}
|
|
1818
1190
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1819
1191
|
const response = {
|
|
@@ -1821,34 +1193,9 @@ var de_DeletePredictorCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1821
1193
|
};
|
|
1822
1194
|
return response;
|
|
1823
1195
|
}, "de_DeletePredictorCommand");
|
|
1824
|
-
var de_DeletePredictorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1825
|
-
const parsedOutput = {
|
|
1826
|
-
...output,
|
|
1827
|
-
body: await parseErrorBody(output.body, context)
|
|
1828
|
-
};
|
|
1829
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1830
|
-
switch (errorCode) {
|
|
1831
|
-
case "InvalidInputException":
|
|
1832
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1833
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1834
|
-
case "ResourceInUseException":
|
|
1835
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1836
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1837
|
-
case "ResourceNotFoundException":
|
|
1838
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1839
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1840
|
-
default:
|
|
1841
|
-
const parsedBody = parsedOutput.body;
|
|
1842
|
-
return throwDefaultError({
|
|
1843
|
-
output,
|
|
1844
|
-
parsedBody,
|
|
1845
|
-
errorCode
|
|
1846
|
-
});
|
|
1847
|
-
}
|
|
1848
|
-
}, "de_DeletePredictorCommandError");
|
|
1849
1196
|
var de_DeletePredictorBacktestExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1850
1197
|
if (output.statusCode >= 300) {
|
|
1851
|
-
return
|
|
1198
|
+
return de_CommandError(output, context);
|
|
1852
1199
|
}
|
|
1853
1200
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1854
1201
|
const response = {
|
|
@@ -1856,34 +1203,9 @@ var de_DeletePredictorBacktestExportJobCommand = /* @__PURE__ */ __name(async (o
|
|
|
1856
1203
|
};
|
|
1857
1204
|
return response;
|
|
1858
1205
|
}, "de_DeletePredictorBacktestExportJobCommand");
|
|
1859
|
-
var de_DeletePredictorBacktestExportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1860
|
-
const parsedOutput = {
|
|
1861
|
-
...output,
|
|
1862
|
-
body: await parseErrorBody(output.body, context)
|
|
1863
|
-
};
|
|
1864
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1865
|
-
switch (errorCode) {
|
|
1866
|
-
case "InvalidInputException":
|
|
1867
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1868
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1869
|
-
case "ResourceInUseException":
|
|
1870
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1871
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1872
|
-
case "ResourceNotFoundException":
|
|
1873
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1874
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1875
|
-
default:
|
|
1876
|
-
const parsedBody = parsedOutput.body;
|
|
1877
|
-
return throwDefaultError({
|
|
1878
|
-
output,
|
|
1879
|
-
parsedBody,
|
|
1880
|
-
errorCode
|
|
1881
|
-
});
|
|
1882
|
-
}
|
|
1883
|
-
}, "de_DeletePredictorBacktestExportJobCommandError");
|
|
1884
1206
|
var de_DeleteResourceTreeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1885
1207
|
if (output.statusCode >= 300) {
|
|
1886
|
-
return
|
|
1208
|
+
return de_CommandError(output, context);
|
|
1887
1209
|
}
|
|
1888
1210
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1889
1211
|
const response = {
|
|
@@ -1891,104 +1213,29 @@ var de_DeleteResourceTreeCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1891
1213
|
};
|
|
1892
1214
|
return response;
|
|
1893
1215
|
}, "de_DeleteResourceTreeCommand");
|
|
1894
|
-
var de_DeleteResourceTreeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1895
|
-
const parsedOutput = {
|
|
1896
|
-
...output,
|
|
1897
|
-
body: await parseErrorBody(output.body, context)
|
|
1898
|
-
};
|
|
1899
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1900
|
-
switch (errorCode) {
|
|
1901
|
-
case "InvalidInputException":
|
|
1902
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1903
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1904
|
-
case "ResourceInUseException":
|
|
1905
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1906
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1907
|
-
case "ResourceNotFoundException":
|
|
1908
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1909
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1910
|
-
default:
|
|
1911
|
-
const parsedBody = parsedOutput.body;
|
|
1912
|
-
return throwDefaultError({
|
|
1913
|
-
output,
|
|
1914
|
-
parsedBody,
|
|
1915
|
-
errorCode
|
|
1916
|
-
});
|
|
1917
|
-
}
|
|
1918
|
-
}, "de_DeleteResourceTreeCommandError");
|
|
1919
1216
|
var de_DeleteWhatIfAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1920
1217
|
if (output.statusCode >= 300) {
|
|
1921
|
-
return
|
|
1218
|
+
return de_CommandError(output, context);
|
|
1922
1219
|
}
|
|
1923
1220
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1924
1221
|
const response = {
|
|
1925
|
-
$metadata: deserializeMetadata(output)
|
|
1926
|
-
};
|
|
1927
|
-
return response;
|
|
1928
|
-
}, "de_DeleteWhatIfAnalysisCommand");
|
|
1929
|
-
var
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
body: await parseErrorBody(output.body, context)
|
|
1933
|
-
};
|
|
1934
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1935
|
-
switch (errorCode) {
|
|
1936
|
-
case "InvalidInputException":
|
|
1937
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1938
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1939
|
-
case "ResourceInUseException":
|
|
1940
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1941
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1942
|
-
case "ResourceNotFoundException":
|
|
1943
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1944
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1945
|
-
default:
|
|
1946
|
-
const parsedBody = parsedOutput.body;
|
|
1947
|
-
return throwDefaultError({
|
|
1948
|
-
output,
|
|
1949
|
-
parsedBody,
|
|
1950
|
-
errorCode
|
|
1951
|
-
});
|
|
1952
|
-
}
|
|
1953
|
-
}, "de_DeleteWhatIfAnalysisCommandError");
|
|
1954
|
-
var de_DeleteWhatIfForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1955
|
-
if (output.statusCode >= 300) {
|
|
1956
|
-
return de_DeleteWhatIfForecastCommandError(output, context);
|
|
1957
|
-
}
|
|
1958
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1959
|
-
const response = {
|
|
1960
|
-
$metadata: deserializeMetadata(output)
|
|
1961
|
-
};
|
|
1962
|
-
return response;
|
|
1963
|
-
}, "de_DeleteWhatIfForecastCommand");
|
|
1964
|
-
var de_DeleteWhatIfForecastCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1965
|
-
const parsedOutput = {
|
|
1966
|
-
...output,
|
|
1967
|
-
body: await parseErrorBody(output.body, context)
|
|
1968
|
-
};
|
|
1969
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1970
|
-
switch (errorCode) {
|
|
1971
|
-
case "InvalidInputException":
|
|
1972
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1973
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1974
|
-
case "ResourceInUseException":
|
|
1975
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1976
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1977
|
-
case "ResourceNotFoundException":
|
|
1978
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1979
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1980
|
-
default:
|
|
1981
|
-
const parsedBody = parsedOutput.body;
|
|
1982
|
-
return throwDefaultError({
|
|
1983
|
-
output,
|
|
1984
|
-
parsedBody,
|
|
1985
|
-
errorCode
|
|
1986
|
-
});
|
|
1222
|
+
$metadata: deserializeMetadata(output)
|
|
1223
|
+
};
|
|
1224
|
+
return response;
|
|
1225
|
+
}, "de_DeleteWhatIfAnalysisCommand");
|
|
1226
|
+
var de_DeleteWhatIfForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1227
|
+
if (output.statusCode >= 300) {
|
|
1228
|
+
return de_CommandError(output, context);
|
|
1987
1229
|
}
|
|
1988
|
-
|
|
1230
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1231
|
+
const response = {
|
|
1232
|
+
$metadata: deserializeMetadata(output)
|
|
1233
|
+
};
|
|
1234
|
+
return response;
|
|
1235
|
+
}, "de_DeleteWhatIfForecastCommand");
|
|
1989
1236
|
var de_DeleteWhatIfForecastExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1990
1237
|
if (output.statusCode >= 300) {
|
|
1991
|
-
return
|
|
1238
|
+
return de_CommandError(output, context);
|
|
1992
1239
|
}
|
|
1993
1240
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1994
1241
|
const response = {
|
|
@@ -1996,34 +1243,9 @@ var de_DeleteWhatIfForecastExportCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1996
1243
|
};
|
|
1997
1244
|
return response;
|
|
1998
1245
|
}, "de_DeleteWhatIfForecastExportCommand");
|
|
1999
|
-
var de_DeleteWhatIfForecastExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2000
|
-
const parsedOutput = {
|
|
2001
|
-
...output,
|
|
2002
|
-
body: await parseErrorBody(output.body, context)
|
|
2003
|
-
};
|
|
2004
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2005
|
-
switch (errorCode) {
|
|
2006
|
-
case "InvalidInputException":
|
|
2007
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2008
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2009
|
-
case "ResourceInUseException":
|
|
2010
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
2011
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2012
|
-
case "ResourceNotFoundException":
|
|
2013
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2014
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2015
|
-
default:
|
|
2016
|
-
const parsedBody = parsedOutput.body;
|
|
2017
|
-
return throwDefaultError({
|
|
2018
|
-
output,
|
|
2019
|
-
parsedBody,
|
|
2020
|
-
errorCode
|
|
2021
|
-
});
|
|
2022
|
-
}
|
|
2023
|
-
}, "de_DeleteWhatIfForecastExportCommandError");
|
|
2024
1246
|
var de_DescribeAutoPredictorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2025
1247
|
if (output.statusCode >= 300) {
|
|
2026
|
-
return
|
|
1248
|
+
return de_CommandError(output, context);
|
|
2027
1249
|
}
|
|
2028
1250
|
const data = await parseBody(output.body, context);
|
|
2029
1251
|
let contents = {};
|
|
@@ -2034,31 +1256,9 @@ var de_DescribeAutoPredictorCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2034
1256
|
};
|
|
2035
1257
|
return response;
|
|
2036
1258
|
}, "de_DescribeAutoPredictorCommand");
|
|
2037
|
-
var de_DescribeAutoPredictorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2038
|
-
const parsedOutput = {
|
|
2039
|
-
...output,
|
|
2040
|
-
body: await parseErrorBody(output.body, context)
|
|
2041
|
-
};
|
|
2042
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2043
|
-
switch (errorCode) {
|
|
2044
|
-
case "InvalidInputException":
|
|
2045
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2046
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2047
|
-
case "ResourceNotFoundException":
|
|
2048
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2049
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2050
|
-
default:
|
|
2051
|
-
const parsedBody = parsedOutput.body;
|
|
2052
|
-
return throwDefaultError({
|
|
2053
|
-
output,
|
|
2054
|
-
parsedBody,
|
|
2055
|
-
errorCode
|
|
2056
|
-
});
|
|
2057
|
-
}
|
|
2058
|
-
}, "de_DescribeAutoPredictorCommandError");
|
|
2059
1259
|
var de_DescribeDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2060
1260
|
if (output.statusCode >= 300) {
|
|
2061
|
-
return
|
|
1261
|
+
return de_CommandError(output, context);
|
|
2062
1262
|
}
|
|
2063
1263
|
const data = await parseBody(output.body, context);
|
|
2064
1264
|
let contents = {};
|
|
@@ -2069,31 +1269,9 @@ var de_DescribeDatasetCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2069
1269
|
};
|
|
2070
1270
|
return response;
|
|
2071
1271
|
}, "de_DescribeDatasetCommand");
|
|
2072
|
-
var de_DescribeDatasetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2073
|
-
const parsedOutput = {
|
|
2074
|
-
...output,
|
|
2075
|
-
body: await parseErrorBody(output.body, context)
|
|
2076
|
-
};
|
|
2077
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2078
|
-
switch (errorCode) {
|
|
2079
|
-
case "InvalidInputException":
|
|
2080
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2081
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2082
|
-
case "ResourceNotFoundException":
|
|
2083
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2084
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2085
|
-
default:
|
|
2086
|
-
const parsedBody = parsedOutput.body;
|
|
2087
|
-
return throwDefaultError({
|
|
2088
|
-
output,
|
|
2089
|
-
parsedBody,
|
|
2090
|
-
errorCode
|
|
2091
|
-
});
|
|
2092
|
-
}
|
|
2093
|
-
}, "de_DescribeDatasetCommandError");
|
|
2094
1272
|
var de_DescribeDatasetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2095
1273
|
if (output.statusCode >= 300) {
|
|
2096
|
-
return
|
|
1274
|
+
return de_CommandError(output, context);
|
|
2097
1275
|
}
|
|
2098
1276
|
const data = await parseBody(output.body, context);
|
|
2099
1277
|
let contents = {};
|
|
@@ -2104,31 +1282,9 @@ var de_DescribeDatasetGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2104
1282
|
};
|
|
2105
1283
|
return response;
|
|
2106
1284
|
}, "de_DescribeDatasetGroupCommand");
|
|
2107
|
-
var de_DescribeDatasetGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2108
|
-
const parsedOutput = {
|
|
2109
|
-
...output,
|
|
2110
|
-
body: await parseErrorBody(output.body, context)
|
|
2111
|
-
};
|
|
2112
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2113
|
-
switch (errorCode) {
|
|
2114
|
-
case "InvalidInputException":
|
|
2115
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2116
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2117
|
-
case "ResourceNotFoundException":
|
|
2118
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2119
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2120
|
-
default:
|
|
2121
|
-
const parsedBody = parsedOutput.body;
|
|
2122
|
-
return throwDefaultError({
|
|
2123
|
-
output,
|
|
2124
|
-
parsedBody,
|
|
2125
|
-
errorCode
|
|
2126
|
-
});
|
|
2127
|
-
}
|
|
2128
|
-
}, "de_DescribeDatasetGroupCommandError");
|
|
2129
1285
|
var de_DescribeDatasetImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2130
1286
|
if (output.statusCode >= 300) {
|
|
2131
|
-
return
|
|
1287
|
+
return de_CommandError(output, context);
|
|
2132
1288
|
}
|
|
2133
1289
|
const data = await parseBody(output.body, context);
|
|
2134
1290
|
let contents = {};
|
|
@@ -2139,31 +1295,9 @@ var de_DescribeDatasetImportJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2139
1295
|
};
|
|
2140
1296
|
return response;
|
|
2141
1297
|
}, "de_DescribeDatasetImportJobCommand");
|
|
2142
|
-
var de_DescribeDatasetImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2143
|
-
const parsedOutput = {
|
|
2144
|
-
...output,
|
|
2145
|
-
body: await parseErrorBody(output.body, context)
|
|
2146
|
-
};
|
|
2147
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2148
|
-
switch (errorCode) {
|
|
2149
|
-
case "InvalidInputException":
|
|
2150
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2151
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2152
|
-
case "ResourceNotFoundException":
|
|
2153
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2154
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2155
|
-
default:
|
|
2156
|
-
const parsedBody = parsedOutput.body;
|
|
2157
|
-
return throwDefaultError({
|
|
2158
|
-
output,
|
|
2159
|
-
parsedBody,
|
|
2160
|
-
errorCode
|
|
2161
|
-
});
|
|
2162
|
-
}
|
|
2163
|
-
}, "de_DescribeDatasetImportJobCommandError");
|
|
2164
1298
|
var de_DescribeExplainabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2165
1299
|
if (output.statusCode >= 300) {
|
|
2166
|
-
return
|
|
1300
|
+
return de_CommandError(output, context);
|
|
2167
1301
|
}
|
|
2168
1302
|
const data = await parseBody(output.body, context);
|
|
2169
1303
|
let contents = {};
|
|
@@ -2174,31 +1308,9 @@ var de_DescribeExplainabilityCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2174
1308
|
};
|
|
2175
1309
|
return response;
|
|
2176
1310
|
}, "de_DescribeExplainabilityCommand");
|
|
2177
|
-
var de_DescribeExplainabilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2178
|
-
const parsedOutput = {
|
|
2179
|
-
...output,
|
|
2180
|
-
body: await parseErrorBody(output.body, context)
|
|
2181
|
-
};
|
|
2182
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2183
|
-
switch (errorCode) {
|
|
2184
|
-
case "InvalidInputException":
|
|
2185
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2186
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2187
|
-
case "ResourceNotFoundException":
|
|
2188
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2189
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2190
|
-
default:
|
|
2191
|
-
const parsedBody = parsedOutput.body;
|
|
2192
|
-
return throwDefaultError({
|
|
2193
|
-
output,
|
|
2194
|
-
parsedBody,
|
|
2195
|
-
errorCode
|
|
2196
|
-
});
|
|
2197
|
-
}
|
|
2198
|
-
}, "de_DescribeExplainabilityCommandError");
|
|
2199
1311
|
var de_DescribeExplainabilityExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2200
1312
|
if (output.statusCode >= 300) {
|
|
2201
|
-
return
|
|
1313
|
+
return de_CommandError(output, context);
|
|
2202
1314
|
}
|
|
2203
1315
|
const data = await parseBody(output.body, context);
|
|
2204
1316
|
let contents = {};
|
|
@@ -2209,31 +1321,9 @@ var de_DescribeExplainabilityExportCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2209
1321
|
};
|
|
2210
1322
|
return response;
|
|
2211
1323
|
}, "de_DescribeExplainabilityExportCommand");
|
|
2212
|
-
var de_DescribeExplainabilityExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2213
|
-
const parsedOutput = {
|
|
2214
|
-
...output,
|
|
2215
|
-
body: await parseErrorBody(output.body, context)
|
|
2216
|
-
};
|
|
2217
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2218
|
-
switch (errorCode) {
|
|
2219
|
-
case "InvalidInputException":
|
|
2220
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2221
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2222
|
-
case "ResourceNotFoundException":
|
|
2223
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2224
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2225
|
-
default:
|
|
2226
|
-
const parsedBody = parsedOutput.body;
|
|
2227
|
-
return throwDefaultError({
|
|
2228
|
-
output,
|
|
2229
|
-
parsedBody,
|
|
2230
|
-
errorCode
|
|
2231
|
-
});
|
|
2232
|
-
}
|
|
2233
|
-
}, "de_DescribeExplainabilityExportCommandError");
|
|
2234
1324
|
var de_DescribeForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2235
1325
|
if (output.statusCode >= 300) {
|
|
2236
|
-
return
|
|
1326
|
+
return de_CommandError(output, context);
|
|
2237
1327
|
}
|
|
2238
1328
|
const data = await parseBody(output.body, context);
|
|
2239
1329
|
let contents = {};
|
|
@@ -2244,31 +1334,9 @@ var de_DescribeForecastCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2244
1334
|
};
|
|
2245
1335
|
return response;
|
|
2246
1336
|
}, "de_DescribeForecastCommand");
|
|
2247
|
-
var de_DescribeForecastCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2248
|
-
const parsedOutput = {
|
|
2249
|
-
...output,
|
|
2250
|
-
body: await parseErrorBody(output.body, context)
|
|
2251
|
-
};
|
|
2252
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2253
|
-
switch (errorCode) {
|
|
2254
|
-
case "InvalidInputException":
|
|
2255
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2256
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2257
|
-
case "ResourceNotFoundException":
|
|
2258
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2259
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2260
|
-
default:
|
|
2261
|
-
const parsedBody = parsedOutput.body;
|
|
2262
|
-
return throwDefaultError({
|
|
2263
|
-
output,
|
|
2264
|
-
parsedBody,
|
|
2265
|
-
errorCode
|
|
2266
|
-
});
|
|
2267
|
-
}
|
|
2268
|
-
}, "de_DescribeForecastCommandError");
|
|
2269
1337
|
var de_DescribeForecastExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2270
1338
|
if (output.statusCode >= 300) {
|
|
2271
|
-
return
|
|
1339
|
+
return de_CommandError(output, context);
|
|
2272
1340
|
}
|
|
2273
1341
|
const data = await parseBody(output.body, context);
|
|
2274
1342
|
let contents = {};
|
|
@@ -2279,31 +1347,9 @@ var de_DescribeForecastExportJobCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2279
1347
|
};
|
|
2280
1348
|
return response;
|
|
2281
1349
|
}, "de_DescribeForecastExportJobCommand");
|
|
2282
|
-
var de_DescribeForecastExportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2283
|
-
const parsedOutput = {
|
|
2284
|
-
...output,
|
|
2285
|
-
body: await parseErrorBody(output.body, context)
|
|
2286
|
-
};
|
|
2287
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2288
|
-
switch (errorCode) {
|
|
2289
|
-
case "InvalidInputException":
|
|
2290
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2291
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2292
|
-
case "ResourceNotFoundException":
|
|
2293
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2294
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2295
|
-
default:
|
|
2296
|
-
const parsedBody = parsedOutput.body;
|
|
2297
|
-
return throwDefaultError({
|
|
2298
|
-
output,
|
|
2299
|
-
parsedBody,
|
|
2300
|
-
errorCode
|
|
2301
|
-
});
|
|
2302
|
-
}
|
|
2303
|
-
}, "de_DescribeForecastExportJobCommandError");
|
|
2304
1350
|
var de_DescribeMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2305
1351
|
if (output.statusCode >= 300) {
|
|
2306
|
-
return
|
|
1352
|
+
return de_CommandError(output, context);
|
|
2307
1353
|
}
|
|
2308
1354
|
const data = await parseBody(output.body, context);
|
|
2309
1355
|
let contents = {};
|
|
@@ -2314,31 +1360,9 @@ var de_DescribeMonitorCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2314
1360
|
};
|
|
2315
1361
|
return response;
|
|
2316
1362
|
}, "de_DescribeMonitorCommand");
|
|
2317
|
-
var de_DescribeMonitorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2318
|
-
const parsedOutput = {
|
|
2319
|
-
...output,
|
|
2320
|
-
body: await parseErrorBody(output.body, context)
|
|
2321
|
-
};
|
|
2322
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2323
|
-
switch (errorCode) {
|
|
2324
|
-
case "InvalidInputException":
|
|
2325
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2326
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2327
|
-
case "ResourceNotFoundException":
|
|
2328
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2329
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2330
|
-
default:
|
|
2331
|
-
const parsedBody = parsedOutput.body;
|
|
2332
|
-
return throwDefaultError({
|
|
2333
|
-
output,
|
|
2334
|
-
parsedBody,
|
|
2335
|
-
errorCode
|
|
2336
|
-
});
|
|
2337
|
-
}
|
|
2338
|
-
}, "de_DescribeMonitorCommandError");
|
|
2339
1363
|
var de_DescribePredictorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2340
1364
|
if (output.statusCode >= 300) {
|
|
2341
|
-
return
|
|
1365
|
+
return de_CommandError(output, context);
|
|
2342
1366
|
}
|
|
2343
1367
|
const data = await parseBody(output.body, context);
|
|
2344
1368
|
let contents = {};
|
|
@@ -2349,31 +1373,9 @@ var de_DescribePredictorCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2349
1373
|
};
|
|
2350
1374
|
return response;
|
|
2351
1375
|
}, "de_DescribePredictorCommand");
|
|
2352
|
-
var de_DescribePredictorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2353
|
-
const parsedOutput = {
|
|
2354
|
-
...output,
|
|
2355
|
-
body: await parseErrorBody(output.body, context)
|
|
2356
|
-
};
|
|
2357
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2358
|
-
switch (errorCode) {
|
|
2359
|
-
case "InvalidInputException":
|
|
2360
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2361
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2362
|
-
case "ResourceNotFoundException":
|
|
2363
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2364
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2365
|
-
default:
|
|
2366
|
-
const parsedBody = parsedOutput.body;
|
|
2367
|
-
return throwDefaultError({
|
|
2368
|
-
output,
|
|
2369
|
-
parsedBody,
|
|
2370
|
-
errorCode
|
|
2371
|
-
});
|
|
2372
|
-
}
|
|
2373
|
-
}, "de_DescribePredictorCommandError");
|
|
2374
1376
|
var de_DescribePredictorBacktestExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2375
1377
|
if (output.statusCode >= 300) {
|
|
2376
|
-
return
|
|
1378
|
+
return de_CommandError(output, context);
|
|
2377
1379
|
}
|
|
2378
1380
|
const data = await parseBody(output.body, context);
|
|
2379
1381
|
let contents = {};
|
|
@@ -2383,32 +1385,10 @@ var de_DescribePredictorBacktestExportJobCommand = /* @__PURE__ */ __name(async
|
|
|
2383
1385
|
...contents
|
|
2384
1386
|
};
|
|
2385
1387
|
return response;
|
|
2386
|
-
}, "de_DescribePredictorBacktestExportJobCommand");
|
|
2387
|
-
var de_DescribePredictorBacktestExportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2388
|
-
const parsedOutput = {
|
|
2389
|
-
...output,
|
|
2390
|
-
body: await parseErrorBody(output.body, context)
|
|
2391
|
-
};
|
|
2392
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2393
|
-
switch (errorCode) {
|
|
2394
|
-
case "InvalidInputException":
|
|
2395
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2396
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2397
|
-
case "ResourceNotFoundException":
|
|
2398
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2399
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2400
|
-
default:
|
|
2401
|
-
const parsedBody = parsedOutput.body;
|
|
2402
|
-
return throwDefaultError({
|
|
2403
|
-
output,
|
|
2404
|
-
parsedBody,
|
|
2405
|
-
errorCode
|
|
2406
|
-
});
|
|
2407
|
-
}
|
|
2408
|
-
}, "de_DescribePredictorBacktestExportJobCommandError");
|
|
1388
|
+
}, "de_DescribePredictorBacktestExportJobCommand");
|
|
2409
1389
|
var de_DescribeWhatIfAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2410
1390
|
if (output.statusCode >= 300) {
|
|
2411
|
-
return
|
|
1391
|
+
return de_CommandError(output, context);
|
|
2412
1392
|
}
|
|
2413
1393
|
const data = await parseBody(output.body, context);
|
|
2414
1394
|
let contents = {};
|
|
@@ -2419,31 +1399,9 @@ var de_DescribeWhatIfAnalysisCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2419
1399
|
};
|
|
2420
1400
|
return response;
|
|
2421
1401
|
}, "de_DescribeWhatIfAnalysisCommand");
|
|
2422
|
-
var de_DescribeWhatIfAnalysisCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2423
|
-
const parsedOutput = {
|
|
2424
|
-
...output,
|
|
2425
|
-
body: await parseErrorBody(output.body, context)
|
|
2426
|
-
};
|
|
2427
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2428
|
-
switch (errorCode) {
|
|
2429
|
-
case "InvalidInputException":
|
|
2430
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2431
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2432
|
-
case "ResourceNotFoundException":
|
|
2433
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2434
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2435
|
-
default:
|
|
2436
|
-
const parsedBody = parsedOutput.body;
|
|
2437
|
-
return throwDefaultError({
|
|
2438
|
-
output,
|
|
2439
|
-
parsedBody,
|
|
2440
|
-
errorCode
|
|
2441
|
-
});
|
|
2442
|
-
}
|
|
2443
|
-
}, "de_DescribeWhatIfAnalysisCommandError");
|
|
2444
1402
|
var de_DescribeWhatIfForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2445
1403
|
if (output.statusCode >= 300) {
|
|
2446
|
-
return
|
|
1404
|
+
return de_CommandError(output, context);
|
|
2447
1405
|
}
|
|
2448
1406
|
const data = await parseBody(output.body, context);
|
|
2449
1407
|
let contents = {};
|
|
@@ -2454,31 +1412,9 @@ var de_DescribeWhatIfForecastCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2454
1412
|
};
|
|
2455
1413
|
return response;
|
|
2456
1414
|
}, "de_DescribeWhatIfForecastCommand");
|
|
2457
|
-
var de_DescribeWhatIfForecastCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2458
|
-
const parsedOutput = {
|
|
2459
|
-
...output,
|
|
2460
|
-
body: await parseErrorBody(output.body, context)
|
|
2461
|
-
};
|
|
2462
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2463
|
-
switch (errorCode) {
|
|
2464
|
-
case "InvalidInputException":
|
|
2465
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2466
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2467
|
-
case "ResourceNotFoundException":
|
|
2468
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2469
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2470
|
-
default:
|
|
2471
|
-
const parsedBody = parsedOutput.body;
|
|
2472
|
-
return throwDefaultError({
|
|
2473
|
-
output,
|
|
2474
|
-
parsedBody,
|
|
2475
|
-
errorCode
|
|
2476
|
-
});
|
|
2477
|
-
}
|
|
2478
|
-
}, "de_DescribeWhatIfForecastCommandError");
|
|
2479
1415
|
var de_DescribeWhatIfForecastExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2480
1416
|
if (output.statusCode >= 300) {
|
|
2481
|
-
return
|
|
1417
|
+
return de_CommandError(output, context);
|
|
2482
1418
|
}
|
|
2483
1419
|
const data = await parseBody(output.body, context);
|
|
2484
1420
|
let contents = {};
|
|
@@ -2489,31 +1425,9 @@ var de_DescribeWhatIfForecastExportCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2489
1425
|
};
|
|
2490
1426
|
return response;
|
|
2491
1427
|
}, "de_DescribeWhatIfForecastExportCommand");
|
|
2492
|
-
var de_DescribeWhatIfForecastExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2493
|
-
const parsedOutput = {
|
|
2494
|
-
...output,
|
|
2495
|
-
body: await parseErrorBody(output.body, context)
|
|
2496
|
-
};
|
|
2497
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2498
|
-
switch (errorCode) {
|
|
2499
|
-
case "InvalidInputException":
|
|
2500
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2501
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2502
|
-
case "ResourceNotFoundException":
|
|
2503
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2504
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2505
|
-
default:
|
|
2506
|
-
const parsedBody = parsedOutput.body;
|
|
2507
|
-
return throwDefaultError({
|
|
2508
|
-
output,
|
|
2509
|
-
parsedBody,
|
|
2510
|
-
errorCode
|
|
2511
|
-
});
|
|
2512
|
-
}
|
|
2513
|
-
}, "de_DescribeWhatIfForecastExportCommandError");
|
|
2514
1428
|
var de_GetAccuracyMetricsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2515
1429
|
if (output.statusCode >= 300) {
|
|
2516
|
-
return
|
|
1430
|
+
return de_CommandError(output, context);
|
|
2517
1431
|
}
|
|
2518
1432
|
const data = await parseBody(output.body, context);
|
|
2519
1433
|
let contents = {};
|
|
@@ -2524,34 +1438,9 @@ var de_GetAccuracyMetricsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2524
1438
|
};
|
|
2525
1439
|
return response;
|
|
2526
1440
|
}, "de_GetAccuracyMetricsCommand");
|
|
2527
|
-
var de_GetAccuracyMetricsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2528
|
-
const parsedOutput = {
|
|
2529
|
-
...output,
|
|
2530
|
-
body: await parseErrorBody(output.body, context)
|
|
2531
|
-
};
|
|
2532
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2533
|
-
switch (errorCode) {
|
|
2534
|
-
case "InvalidInputException":
|
|
2535
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2536
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2537
|
-
case "ResourceInUseException":
|
|
2538
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
2539
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2540
|
-
case "ResourceNotFoundException":
|
|
2541
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2542
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2543
|
-
default:
|
|
2544
|
-
const parsedBody = parsedOutput.body;
|
|
2545
|
-
return throwDefaultError({
|
|
2546
|
-
output,
|
|
2547
|
-
parsedBody,
|
|
2548
|
-
errorCode
|
|
2549
|
-
});
|
|
2550
|
-
}
|
|
2551
|
-
}, "de_GetAccuracyMetricsCommandError");
|
|
2552
1441
|
var de_ListDatasetGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2553
1442
|
if (output.statusCode >= 300) {
|
|
2554
|
-
return
|
|
1443
|
+
return de_CommandError(output, context);
|
|
2555
1444
|
}
|
|
2556
1445
|
const data = await parseBody(output.body, context);
|
|
2557
1446
|
let contents = {};
|
|
@@ -2562,28 +1451,9 @@ var de_ListDatasetGroupsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2562
1451
|
};
|
|
2563
1452
|
return response;
|
|
2564
1453
|
}, "de_ListDatasetGroupsCommand");
|
|
2565
|
-
var de_ListDatasetGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2566
|
-
const parsedOutput = {
|
|
2567
|
-
...output,
|
|
2568
|
-
body: await parseErrorBody(output.body, context)
|
|
2569
|
-
};
|
|
2570
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2571
|
-
switch (errorCode) {
|
|
2572
|
-
case "InvalidNextTokenException":
|
|
2573
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2574
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2575
|
-
default:
|
|
2576
|
-
const parsedBody = parsedOutput.body;
|
|
2577
|
-
return throwDefaultError({
|
|
2578
|
-
output,
|
|
2579
|
-
parsedBody,
|
|
2580
|
-
errorCode
|
|
2581
|
-
});
|
|
2582
|
-
}
|
|
2583
|
-
}, "de_ListDatasetGroupsCommandError");
|
|
2584
1454
|
var de_ListDatasetImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2585
1455
|
if (output.statusCode >= 300) {
|
|
2586
|
-
return
|
|
1456
|
+
return de_CommandError(output, context);
|
|
2587
1457
|
}
|
|
2588
1458
|
const data = await parseBody(output.body, context);
|
|
2589
1459
|
let contents = {};
|
|
@@ -2594,31 +1464,9 @@ var de_ListDatasetImportJobsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2594
1464
|
};
|
|
2595
1465
|
return response;
|
|
2596
1466
|
}, "de_ListDatasetImportJobsCommand");
|
|
2597
|
-
var de_ListDatasetImportJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2598
|
-
const parsedOutput = {
|
|
2599
|
-
...output,
|
|
2600
|
-
body: await parseErrorBody(output.body, context)
|
|
2601
|
-
};
|
|
2602
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2603
|
-
switch (errorCode) {
|
|
2604
|
-
case "InvalidInputException":
|
|
2605
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2606
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2607
|
-
case "InvalidNextTokenException":
|
|
2608
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2609
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2610
|
-
default:
|
|
2611
|
-
const parsedBody = parsedOutput.body;
|
|
2612
|
-
return throwDefaultError({
|
|
2613
|
-
output,
|
|
2614
|
-
parsedBody,
|
|
2615
|
-
errorCode
|
|
2616
|
-
});
|
|
2617
|
-
}
|
|
2618
|
-
}, "de_ListDatasetImportJobsCommandError");
|
|
2619
1467
|
var de_ListDatasetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2620
1468
|
if (output.statusCode >= 300) {
|
|
2621
|
-
return
|
|
1469
|
+
return de_CommandError(output, context);
|
|
2622
1470
|
}
|
|
2623
1471
|
const data = await parseBody(output.body, context);
|
|
2624
1472
|
let contents = {};
|
|
@@ -2629,28 +1477,9 @@ var de_ListDatasetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2629
1477
|
};
|
|
2630
1478
|
return response;
|
|
2631
1479
|
}, "de_ListDatasetsCommand");
|
|
2632
|
-
var de_ListDatasetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2633
|
-
const parsedOutput = {
|
|
2634
|
-
...output,
|
|
2635
|
-
body: await parseErrorBody(output.body, context)
|
|
2636
|
-
};
|
|
2637
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2638
|
-
switch (errorCode) {
|
|
2639
|
-
case "InvalidNextTokenException":
|
|
2640
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2641
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2642
|
-
default:
|
|
2643
|
-
const parsedBody = parsedOutput.body;
|
|
2644
|
-
return throwDefaultError({
|
|
2645
|
-
output,
|
|
2646
|
-
parsedBody,
|
|
2647
|
-
errorCode
|
|
2648
|
-
});
|
|
2649
|
-
}
|
|
2650
|
-
}, "de_ListDatasetsCommandError");
|
|
2651
1480
|
var de_ListExplainabilitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2652
1481
|
if (output.statusCode >= 300) {
|
|
2653
|
-
return
|
|
1482
|
+
return de_CommandError(output, context);
|
|
2654
1483
|
}
|
|
2655
1484
|
const data = await parseBody(output.body, context);
|
|
2656
1485
|
let contents = {};
|
|
@@ -2661,31 +1490,9 @@ var de_ListExplainabilitiesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2661
1490
|
};
|
|
2662
1491
|
return response;
|
|
2663
1492
|
}, "de_ListExplainabilitiesCommand");
|
|
2664
|
-
var de_ListExplainabilitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2665
|
-
const parsedOutput = {
|
|
2666
|
-
...output,
|
|
2667
|
-
body: await parseErrorBody(output.body, context)
|
|
2668
|
-
};
|
|
2669
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2670
|
-
switch (errorCode) {
|
|
2671
|
-
case "InvalidInputException":
|
|
2672
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2673
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2674
|
-
case "InvalidNextTokenException":
|
|
2675
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2676
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2677
|
-
default:
|
|
2678
|
-
const parsedBody = parsedOutput.body;
|
|
2679
|
-
return throwDefaultError({
|
|
2680
|
-
output,
|
|
2681
|
-
parsedBody,
|
|
2682
|
-
errorCode
|
|
2683
|
-
});
|
|
2684
|
-
}
|
|
2685
|
-
}, "de_ListExplainabilitiesCommandError");
|
|
2686
1493
|
var de_ListExplainabilityExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2687
1494
|
if (output.statusCode >= 300) {
|
|
2688
|
-
return
|
|
1495
|
+
return de_CommandError(output, context);
|
|
2689
1496
|
}
|
|
2690
1497
|
const data = await parseBody(output.body, context);
|
|
2691
1498
|
let contents = {};
|
|
@@ -2696,31 +1503,9 @@ var de_ListExplainabilityExportsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2696
1503
|
};
|
|
2697
1504
|
return response;
|
|
2698
1505
|
}, "de_ListExplainabilityExportsCommand");
|
|
2699
|
-
var de_ListExplainabilityExportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2700
|
-
const parsedOutput = {
|
|
2701
|
-
...output,
|
|
2702
|
-
body: await parseErrorBody(output.body, context)
|
|
2703
|
-
};
|
|
2704
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2705
|
-
switch (errorCode) {
|
|
2706
|
-
case "InvalidInputException":
|
|
2707
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2708
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2709
|
-
case "InvalidNextTokenException":
|
|
2710
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2711
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2712
|
-
default:
|
|
2713
|
-
const parsedBody = parsedOutput.body;
|
|
2714
|
-
return throwDefaultError({
|
|
2715
|
-
output,
|
|
2716
|
-
parsedBody,
|
|
2717
|
-
errorCode
|
|
2718
|
-
});
|
|
2719
|
-
}
|
|
2720
|
-
}, "de_ListExplainabilityExportsCommandError");
|
|
2721
1506
|
var de_ListForecastExportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2722
1507
|
if (output.statusCode >= 300) {
|
|
2723
|
-
return
|
|
1508
|
+
return de_CommandError(output, context);
|
|
2724
1509
|
}
|
|
2725
1510
|
const data = await parseBody(output.body, context);
|
|
2726
1511
|
let contents = {};
|
|
@@ -2731,104 +1516,35 @@ var de_ListForecastExportJobsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2731
1516
|
};
|
|
2732
1517
|
return response;
|
|
2733
1518
|
}, "de_ListForecastExportJobsCommand");
|
|
2734
|
-
var de_ListForecastExportJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2735
|
-
const parsedOutput = {
|
|
2736
|
-
...output,
|
|
2737
|
-
body: await parseErrorBody(output.body, context)
|
|
2738
|
-
};
|
|
2739
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2740
|
-
switch (errorCode) {
|
|
2741
|
-
case "InvalidInputException":
|
|
2742
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2743
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2744
|
-
case "InvalidNextTokenException":
|
|
2745
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2746
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2747
|
-
default:
|
|
2748
|
-
const parsedBody = parsedOutput.body;
|
|
2749
|
-
return throwDefaultError({
|
|
2750
|
-
output,
|
|
2751
|
-
parsedBody,
|
|
2752
|
-
errorCode
|
|
2753
|
-
});
|
|
2754
|
-
}
|
|
2755
|
-
}, "de_ListForecastExportJobsCommandError");
|
|
2756
1519
|
var de_ListForecastsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2757
1520
|
if (output.statusCode >= 300) {
|
|
2758
|
-
return
|
|
1521
|
+
return de_CommandError(output, context);
|
|
2759
1522
|
}
|
|
2760
1523
|
const data = await parseBody(output.body, context);
|
|
2761
1524
|
let contents = {};
|
|
2762
1525
|
contents = de_ListForecastsResponse(data, context);
|
|
2763
1526
|
const response = {
|
|
2764
1527
|
$metadata: deserializeMetadata(output),
|
|
2765
|
-
...contents
|
|
2766
|
-
};
|
|
2767
|
-
return response;
|
|
2768
|
-
}, "de_ListForecastsCommand");
|
|
2769
|
-
var
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
body: await parseErrorBody(output.body, context)
|
|
2773
|
-
};
|
|
2774
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2775
|
-
switch (errorCode) {
|
|
2776
|
-
case "InvalidInputException":
|
|
2777
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2778
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2779
|
-
case "InvalidNextTokenException":
|
|
2780
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2781
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2782
|
-
default:
|
|
2783
|
-
const parsedBody = parsedOutput.body;
|
|
2784
|
-
return throwDefaultError({
|
|
2785
|
-
output,
|
|
2786
|
-
parsedBody,
|
|
2787
|
-
errorCode
|
|
2788
|
-
});
|
|
2789
|
-
}
|
|
2790
|
-
}, "de_ListForecastsCommandError");
|
|
2791
|
-
var de_ListMonitorEvaluationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2792
|
-
if (output.statusCode >= 300) {
|
|
2793
|
-
return de_ListMonitorEvaluationsCommandError(output, context);
|
|
2794
|
-
}
|
|
2795
|
-
const data = await parseBody(output.body, context);
|
|
2796
|
-
let contents = {};
|
|
2797
|
-
contents = de_ListMonitorEvaluationsResponse(data, context);
|
|
2798
|
-
const response = {
|
|
2799
|
-
$metadata: deserializeMetadata(output),
|
|
2800
|
-
...contents
|
|
2801
|
-
};
|
|
2802
|
-
return response;
|
|
2803
|
-
}, "de_ListMonitorEvaluationsCommand");
|
|
2804
|
-
var de_ListMonitorEvaluationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2805
|
-
const parsedOutput = {
|
|
2806
|
-
...output,
|
|
2807
|
-
body: await parseErrorBody(output.body, context)
|
|
2808
|
-
};
|
|
2809
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2810
|
-
switch (errorCode) {
|
|
2811
|
-
case "InvalidInputException":
|
|
2812
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2813
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2814
|
-
case "InvalidNextTokenException":
|
|
2815
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2816
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2817
|
-
case "ResourceNotFoundException":
|
|
2818
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2819
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2820
|
-
default:
|
|
2821
|
-
const parsedBody = parsedOutput.body;
|
|
2822
|
-
return throwDefaultError({
|
|
2823
|
-
output,
|
|
2824
|
-
parsedBody,
|
|
2825
|
-
errorCode
|
|
2826
|
-
});
|
|
1528
|
+
...contents
|
|
1529
|
+
};
|
|
1530
|
+
return response;
|
|
1531
|
+
}, "de_ListForecastsCommand");
|
|
1532
|
+
var de_ListMonitorEvaluationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1533
|
+
if (output.statusCode >= 300) {
|
|
1534
|
+
return de_CommandError(output, context);
|
|
2827
1535
|
}
|
|
2828
|
-
|
|
1536
|
+
const data = await parseBody(output.body, context);
|
|
1537
|
+
let contents = {};
|
|
1538
|
+
contents = de_ListMonitorEvaluationsResponse(data, context);
|
|
1539
|
+
const response = {
|
|
1540
|
+
$metadata: deserializeMetadata(output),
|
|
1541
|
+
...contents
|
|
1542
|
+
};
|
|
1543
|
+
return response;
|
|
1544
|
+
}, "de_ListMonitorEvaluationsCommand");
|
|
2829
1545
|
var de_ListMonitorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2830
1546
|
if (output.statusCode >= 300) {
|
|
2831
|
-
return
|
|
1547
|
+
return de_CommandError(output, context);
|
|
2832
1548
|
}
|
|
2833
1549
|
const data = await parseBody(output.body, context);
|
|
2834
1550
|
let contents = {};
|
|
@@ -2839,31 +1555,9 @@ var de_ListMonitorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2839
1555
|
};
|
|
2840
1556
|
return response;
|
|
2841
1557
|
}, "de_ListMonitorsCommand");
|
|
2842
|
-
var de_ListMonitorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2843
|
-
const parsedOutput = {
|
|
2844
|
-
...output,
|
|
2845
|
-
body: await parseErrorBody(output.body, context)
|
|
2846
|
-
};
|
|
2847
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2848
|
-
switch (errorCode) {
|
|
2849
|
-
case "InvalidInputException":
|
|
2850
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2851
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2852
|
-
case "InvalidNextTokenException":
|
|
2853
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2854
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2855
|
-
default:
|
|
2856
|
-
const parsedBody = parsedOutput.body;
|
|
2857
|
-
return throwDefaultError({
|
|
2858
|
-
output,
|
|
2859
|
-
parsedBody,
|
|
2860
|
-
errorCode
|
|
2861
|
-
});
|
|
2862
|
-
}
|
|
2863
|
-
}, "de_ListMonitorsCommandError");
|
|
2864
1558
|
var de_ListPredictorBacktestExportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2865
1559
|
if (output.statusCode >= 300) {
|
|
2866
|
-
return
|
|
1560
|
+
return de_CommandError(output, context);
|
|
2867
1561
|
}
|
|
2868
1562
|
const data = await parseBody(output.body, context);
|
|
2869
1563
|
let contents = {};
|
|
@@ -2874,31 +1568,9 @@ var de_ListPredictorBacktestExportJobsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2874
1568
|
};
|
|
2875
1569
|
return response;
|
|
2876
1570
|
}, "de_ListPredictorBacktestExportJobsCommand");
|
|
2877
|
-
var de_ListPredictorBacktestExportJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2878
|
-
const parsedOutput = {
|
|
2879
|
-
...output,
|
|
2880
|
-
body: await parseErrorBody(output.body, context)
|
|
2881
|
-
};
|
|
2882
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2883
|
-
switch (errorCode) {
|
|
2884
|
-
case "InvalidInputException":
|
|
2885
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2886
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2887
|
-
case "InvalidNextTokenException":
|
|
2888
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2889
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2890
|
-
default:
|
|
2891
|
-
const parsedBody = parsedOutput.body;
|
|
2892
|
-
return throwDefaultError({
|
|
2893
|
-
output,
|
|
2894
|
-
parsedBody,
|
|
2895
|
-
errorCode
|
|
2896
|
-
});
|
|
2897
|
-
}
|
|
2898
|
-
}, "de_ListPredictorBacktestExportJobsCommandError");
|
|
2899
1571
|
var de_ListPredictorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2900
1572
|
if (output.statusCode >= 300) {
|
|
2901
|
-
return
|
|
1573
|
+
return de_CommandError(output, context);
|
|
2902
1574
|
}
|
|
2903
1575
|
const data = await parseBody(output.body, context);
|
|
2904
1576
|
let contents = {};
|
|
@@ -2909,31 +1581,9 @@ var de_ListPredictorsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2909
1581
|
};
|
|
2910
1582
|
return response;
|
|
2911
1583
|
}, "de_ListPredictorsCommand");
|
|
2912
|
-
var de_ListPredictorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2913
|
-
const parsedOutput = {
|
|
2914
|
-
...output,
|
|
2915
|
-
body: await parseErrorBody(output.body, context)
|
|
2916
|
-
};
|
|
2917
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2918
|
-
switch (errorCode) {
|
|
2919
|
-
case "InvalidInputException":
|
|
2920
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2921
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2922
|
-
case "InvalidNextTokenException":
|
|
2923
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2924
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2925
|
-
default:
|
|
2926
|
-
const parsedBody = parsedOutput.body;
|
|
2927
|
-
return throwDefaultError({
|
|
2928
|
-
output,
|
|
2929
|
-
parsedBody,
|
|
2930
|
-
errorCode
|
|
2931
|
-
});
|
|
2932
|
-
}
|
|
2933
|
-
}, "de_ListPredictorsCommandError");
|
|
2934
1584
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2935
1585
|
if (output.statusCode >= 300) {
|
|
2936
|
-
return
|
|
1586
|
+
return de_CommandError(output, context);
|
|
2937
1587
|
}
|
|
2938
1588
|
const data = await parseBody(output.body, context);
|
|
2939
1589
|
let contents = {};
|
|
@@ -2944,31 +1594,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2944
1594
|
};
|
|
2945
1595
|
return response;
|
|
2946
1596
|
}, "de_ListTagsForResourceCommand");
|
|
2947
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2948
|
-
const parsedOutput = {
|
|
2949
|
-
...output,
|
|
2950
|
-
body: await parseErrorBody(output.body, context)
|
|
2951
|
-
};
|
|
2952
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2953
|
-
switch (errorCode) {
|
|
2954
|
-
case "InvalidInputException":
|
|
2955
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2956
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2957
|
-
case "ResourceNotFoundException":
|
|
2958
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
2959
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2960
|
-
default:
|
|
2961
|
-
const parsedBody = parsedOutput.body;
|
|
2962
|
-
return throwDefaultError({
|
|
2963
|
-
output,
|
|
2964
|
-
parsedBody,
|
|
2965
|
-
errorCode
|
|
2966
|
-
});
|
|
2967
|
-
}
|
|
2968
|
-
}, "de_ListTagsForResourceCommandError");
|
|
2969
1597
|
var de_ListWhatIfAnalysesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2970
1598
|
if (output.statusCode >= 300) {
|
|
2971
|
-
return
|
|
1599
|
+
return de_CommandError(output, context);
|
|
2972
1600
|
}
|
|
2973
1601
|
const data = await parseBody(output.body, context);
|
|
2974
1602
|
let contents = {};
|
|
@@ -2979,31 +1607,9 @@ var de_ListWhatIfAnalysesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2979
1607
|
};
|
|
2980
1608
|
return response;
|
|
2981
1609
|
}, "de_ListWhatIfAnalysesCommand");
|
|
2982
|
-
var de_ListWhatIfAnalysesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2983
|
-
const parsedOutput = {
|
|
2984
|
-
...output,
|
|
2985
|
-
body: await parseErrorBody(output.body, context)
|
|
2986
|
-
};
|
|
2987
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2988
|
-
switch (errorCode) {
|
|
2989
|
-
case "InvalidInputException":
|
|
2990
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
2991
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2992
|
-
case "InvalidNextTokenException":
|
|
2993
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
2994
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2995
|
-
default:
|
|
2996
|
-
const parsedBody = parsedOutput.body;
|
|
2997
|
-
return throwDefaultError({
|
|
2998
|
-
output,
|
|
2999
|
-
parsedBody,
|
|
3000
|
-
errorCode
|
|
3001
|
-
});
|
|
3002
|
-
}
|
|
3003
|
-
}, "de_ListWhatIfAnalysesCommandError");
|
|
3004
1610
|
var de_ListWhatIfForecastExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3005
1611
|
if (output.statusCode >= 300) {
|
|
3006
|
-
return
|
|
1612
|
+
return de_CommandError(output, context);
|
|
3007
1613
|
}
|
|
3008
1614
|
const data = await parseBody(output.body, context);
|
|
3009
1615
|
let contents = {};
|
|
@@ -3014,31 +1620,9 @@ var de_ListWhatIfForecastExportsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3014
1620
|
};
|
|
3015
1621
|
return response;
|
|
3016
1622
|
}, "de_ListWhatIfForecastExportsCommand");
|
|
3017
|
-
var de_ListWhatIfForecastExportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3018
|
-
const parsedOutput = {
|
|
3019
|
-
...output,
|
|
3020
|
-
body: await parseErrorBody(output.body, context)
|
|
3021
|
-
};
|
|
3022
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3023
|
-
switch (errorCode) {
|
|
3024
|
-
case "InvalidInputException":
|
|
3025
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
3026
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3027
|
-
case "InvalidNextTokenException":
|
|
3028
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
3029
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3030
|
-
default:
|
|
3031
|
-
const parsedBody = parsedOutput.body;
|
|
3032
|
-
return throwDefaultError({
|
|
3033
|
-
output,
|
|
3034
|
-
parsedBody,
|
|
3035
|
-
errorCode
|
|
3036
|
-
});
|
|
3037
|
-
}
|
|
3038
|
-
}, "de_ListWhatIfForecastExportsCommandError");
|
|
3039
1623
|
var de_ListWhatIfForecastsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3040
1624
|
if (output.statusCode >= 300) {
|
|
3041
|
-
return
|
|
1625
|
+
return de_CommandError(output, context);
|
|
3042
1626
|
}
|
|
3043
1627
|
const data = await parseBody(output.body, context);
|
|
3044
1628
|
let contents = {};
|
|
@@ -3049,31 +1633,9 @@ var de_ListWhatIfForecastsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3049
1633
|
};
|
|
3050
1634
|
return response;
|
|
3051
1635
|
}, "de_ListWhatIfForecastsCommand");
|
|
3052
|
-
var de_ListWhatIfForecastsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3053
|
-
const parsedOutput = {
|
|
3054
|
-
...output,
|
|
3055
|
-
body: await parseErrorBody(output.body, context)
|
|
3056
|
-
};
|
|
3057
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3058
|
-
switch (errorCode) {
|
|
3059
|
-
case "InvalidInputException":
|
|
3060
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
3061
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3062
|
-
case "InvalidNextTokenException":
|
|
3063
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
3064
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3065
|
-
default:
|
|
3066
|
-
const parsedBody = parsedOutput.body;
|
|
3067
|
-
return throwDefaultError({
|
|
3068
|
-
output,
|
|
3069
|
-
parsedBody,
|
|
3070
|
-
errorCode
|
|
3071
|
-
});
|
|
3072
|
-
}
|
|
3073
|
-
}, "de_ListWhatIfForecastsCommandError");
|
|
3074
1636
|
var de_ResumeResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3075
1637
|
if (output.statusCode >= 300) {
|
|
3076
|
-
return
|
|
1638
|
+
return de_CommandError(output, context);
|
|
3077
1639
|
}
|
|
3078
1640
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3079
1641
|
const response = {
|
|
@@ -3081,37 +1643,9 @@ var de_ResumeResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3081
1643
|
};
|
|
3082
1644
|
return response;
|
|
3083
1645
|
}, "de_ResumeResourceCommand");
|
|
3084
|
-
var de_ResumeResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3085
|
-
const parsedOutput = {
|
|
3086
|
-
...output,
|
|
3087
|
-
body: await parseErrorBody(output.body, context)
|
|
3088
|
-
};
|
|
3089
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3090
|
-
switch (errorCode) {
|
|
3091
|
-
case "InvalidInputException":
|
|
3092
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
3093
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3094
|
-
case "LimitExceededException":
|
|
3095
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
3096
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3097
|
-
case "ResourceInUseException":
|
|
3098
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
3099
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3100
|
-
case "ResourceNotFoundException":
|
|
3101
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
3102
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3103
|
-
default:
|
|
3104
|
-
const parsedBody = parsedOutput.body;
|
|
3105
|
-
return throwDefaultError({
|
|
3106
|
-
output,
|
|
3107
|
-
parsedBody,
|
|
3108
|
-
errorCode
|
|
3109
|
-
});
|
|
3110
|
-
}
|
|
3111
|
-
}, "de_ResumeResourceCommandError");
|
|
3112
1646
|
var de_StopResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3113
1647
|
if (output.statusCode >= 300) {
|
|
3114
|
-
return
|
|
1648
|
+
return de_CommandError(output, context);
|
|
3115
1649
|
}
|
|
3116
1650
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3117
1651
|
const response = {
|
|
@@ -3119,34 +1653,9 @@ var de_StopResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3119
1653
|
};
|
|
3120
1654
|
return response;
|
|
3121
1655
|
}, "de_StopResourceCommand");
|
|
3122
|
-
var de_StopResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3123
|
-
const parsedOutput = {
|
|
3124
|
-
...output,
|
|
3125
|
-
body: await parseErrorBody(output.body, context)
|
|
3126
|
-
};
|
|
3127
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3128
|
-
switch (errorCode) {
|
|
3129
|
-
case "InvalidInputException":
|
|
3130
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
3131
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3132
|
-
case "LimitExceededException":
|
|
3133
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
3134
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3135
|
-
case "ResourceNotFoundException":
|
|
3136
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
3137
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3138
|
-
default:
|
|
3139
|
-
const parsedBody = parsedOutput.body;
|
|
3140
|
-
return throwDefaultError({
|
|
3141
|
-
output,
|
|
3142
|
-
parsedBody,
|
|
3143
|
-
errorCode
|
|
3144
|
-
});
|
|
3145
|
-
}
|
|
3146
|
-
}, "de_StopResourceCommandError");
|
|
3147
1656
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3148
1657
|
if (output.statusCode >= 300) {
|
|
3149
|
-
return
|
|
1658
|
+
return de_CommandError(output, context);
|
|
3150
1659
|
}
|
|
3151
1660
|
const data = await parseBody(output.body, context);
|
|
3152
1661
|
let contents = {};
|
|
@@ -3157,34 +1666,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3157
1666
|
};
|
|
3158
1667
|
return response;
|
|
3159
1668
|
}, "de_TagResourceCommand");
|
|
3160
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3161
|
-
const parsedOutput = {
|
|
3162
|
-
...output,
|
|
3163
|
-
body: await parseErrorBody(output.body, context)
|
|
3164
|
-
};
|
|
3165
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3166
|
-
switch (errorCode) {
|
|
3167
|
-
case "InvalidInputException":
|
|
3168
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
3169
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3170
|
-
case "LimitExceededException":
|
|
3171
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
3172
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3173
|
-
case "ResourceNotFoundException":
|
|
3174
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
3175
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3176
|
-
default:
|
|
3177
|
-
const parsedBody = parsedOutput.body;
|
|
3178
|
-
return throwDefaultError({
|
|
3179
|
-
output,
|
|
3180
|
-
parsedBody,
|
|
3181
|
-
errorCode
|
|
3182
|
-
});
|
|
3183
|
-
}
|
|
3184
|
-
}, "de_TagResourceCommandError");
|
|
3185
1669
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3186
1670
|
if (output.statusCode >= 300) {
|
|
3187
|
-
return
|
|
1671
|
+
return de_CommandError(output, context);
|
|
3188
1672
|
}
|
|
3189
1673
|
const data = await parseBody(output.body, context);
|
|
3190
1674
|
let contents = {};
|
|
@@ -3195,31 +1679,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3195
1679
|
};
|
|
3196
1680
|
return response;
|
|
3197
1681
|
}, "de_UntagResourceCommand");
|
|
3198
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3199
|
-
const parsedOutput = {
|
|
3200
|
-
...output,
|
|
3201
|
-
body: await parseErrorBody(output.body, context)
|
|
3202
|
-
};
|
|
3203
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3204
|
-
switch (errorCode) {
|
|
3205
|
-
case "InvalidInputException":
|
|
3206
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
3207
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3208
|
-
case "ResourceNotFoundException":
|
|
3209
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
3210
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3211
|
-
default:
|
|
3212
|
-
const parsedBody = parsedOutput.body;
|
|
3213
|
-
return throwDefaultError({
|
|
3214
|
-
output,
|
|
3215
|
-
parsedBody,
|
|
3216
|
-
errorCode
|
|
3217
|
-
});
|
|
3218
|
-
}
|
|
3219
|
-
}, "de_UntagResourceCommandError");
|
|
3220
1682
|
var de_UpdateDatasetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3221
1683
|
if (output.statusCode >= 300) {
|
|
3222
|
-
return
|
|
1684
|
+
return de_CommandError(output, context);
|
|
3223
1685
|
}
|
|
3224
1686
|
const data = await parseBody(output.body, context);
|
|
3225
1687
|
let contents = {};
|
|
@@ -3230,7 +1692,7 @@ var de_UpdateDatasetGroupCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3230
1692
|
};
|
|
3231
1693
|
return response;
|
|
3232
1694
|
}, "de_UpdateDatasetGroupCommand");
|
|
3233
|
-
var
|
|
1695
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3234
1696
|
const parsedOutput = {
|
|
3235
1697
|
...output,
|
|
3236
1698
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3240,12 +1702,21 @@ var de_UpdateDatasetGroupCommandError = /* @__PURE__ */ __name(async (output, co
|
|
|
3240
1702
|
case "InvalidInputException":
|
|
3241
1703
|
case "com.amazonaws.forecast#InvalidInputException":
|
|
3242
1704
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1705
|
+
case "LimitExceededException":
|
|
1706
|
+
case "com.amazonaws.forecast#LimitExceededException":
|
|
1707
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1708
|
+
case "ResourceAlreadyExistsException":
|
|
1709
|
+
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1710
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3243
1711
|
case "ResourceInUseException":
|
|
3244
1712
|
case "com.amazonaws.forecast#ResourceInUseException":
|
|
3245
1713
|
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3246
1714
|
case "ResourceNotFoundException":
|
|
3247
1715
|
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
3248
1716
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1717
|
+
case "InvalidNextTokenException":
|
|
1718
|
+
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
1719
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3249
1720
|
default:
|
|
3250
1721
|
const parsedBody = parsedOutput.body;
|
|
3251
1722
|
return throwDefaultError({
|
|
@@ -3254,7 +1725,7 @@ var de_UpdateDatasetGroupCommandError = /* @__PURE__ */ __name(async (output, co
|
|
|
3254
1725
|
errorCode
|
|
3255
1726
|
});
|
|
3256
1727
|
}
|
|
3257
|
-
}, "
|
|
1728
|
+
}, "de_CommandError");
|
|
3258
1729
|
var de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3259
1730
|
const body = parsedOutput.body;
|
|
3260
1731
|
const deserialized = (0, import_smithy_client._json)(body);
|