@aws-sdk/client-athena 3.503.1 → 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 +85 -1658
- package/dist-es/protocols/Aws_json1_1.js +116 -1689
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -859,7 +859,7 @@ var se_UpdateWorkGroupCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
859
859
|
}, "se_UpdateWorkGroupCommand");
|
|
860
860
|
var de_BatchGetNamedQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
861
861
|
if (output.statusCode >= 300) {
|
|
862
|
-
return
|
|
862
|
+
return de_CommandError(output, context);
|
|
863
863
|
}
|
|
864
864
|
const data = await parseBody(output.body, context);
|
|
865
865
|
let contents = {};
|
|
@@ -870,31 +870,9 @@ var de_BatchGetNamedQueryCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
870
870
|
};
|
|
871
871
|
return response;
|
|
872
872
|
}, "de_BatchGetNamedQueryCommand");
|
|
873
|
-
var de_BatchGetNamedQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
874
|
-
const parsedOutput = {
|
|
875
|
-
...output,
|
|
876
|
-
body: await parseErrorBody(output.body, context)
|
|
877
|
-
};
|
|
878
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
879
|
-
switch (errorCode) {
|
|
880
|
-
case "InternalServerException":
|
|
881
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
882
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
883
|
-
case "InvalidRequestException":
|
|
884
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
885
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
886
|
-
default:
|
|
887
|
-
const parsedBody = parsedOutput.body;
|
|
888
|
-
return throwDefaultError({
|
|
889
|
-
output,
|
|
890
|
-
parsedBody,
|
|
891
|
-
errorCode
|
|
892
|
-
});
|
|
893
|
-
}
|
|
894
|
-
}, "de_BatchGetNamedQueryCommandError");
|
|
895
873
|
var de_BatchGetPreparedStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
896
874
|
if (output.statusCode >= 300) {
|
|
897
|
-
return
|
|
875
|
+
return de_CommandError(output, context);
|
|
898
876
|
}
|
|
899
877
|
const data = await parseBody(output.body, context);
|
|
900
878
|
let contents = {};
|
|
@@ -905,31 +883,9 @@ var de_BatchGetPreparedStatementCommand = /* @__PURE__ */ __name(async (output,
|
|
|
905
883
|
};
|
|
906
884
|
return response;
|
|
907
885
|
}, "de_BatchGetPreparedStatementCommand");
|
|
908
|
-
var de_BatchGetPreparedStatementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
909
|
-
const parsedOutput = {
|
|
910
|
-
...output,
|
|
911
|
-
body: await parseErrorBody(output.body, context)
|
|
912
|
-
};
|
|
913
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
914
|
-
switch (errorCode) {
|
|
915
|
-
case "InternalServerException":
|
|
916
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
917
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
918
|
-
case "InvalidRequestException":
|
|
919
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
920
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
921
|
-
default:
|
|
922
|
-
const parsedBody = parsedOutput.body;
|
|
923
|
-
return throwDefaultError({
|
|
924
|
-
output,
|
|
925
|
-
parsedBody,
|
|
926
|
-
errorCode
|
|
927
|
-
});
|
|
928
|
-
}
|
|
929
|
-
}, "de_BatchGetPreparedStatementCommandError");
|
|
930
886
|
var de_BatchGetQueryExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
931
887
|
if (output.statusCode >= 300) {
|
|
932
|
-
return
|
|
888
|
+
return de_CommandError(output, context);
|
|
933
889
|
}
|
|
934
890
|
const data = await parseBody(output.body, context);
|
|
935
891
|
let contents = {};
|
|
@@ -940,31 +896,9 @@ var de_BatchGetQueryExecutionCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
940
896
|
};
|
|
941
897
|
return response;
|
|
942
898
|
}, "de_BatchGetQueryExecutionCommand");
|
|
943
|
-
var de_BatchGetQueryExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
944
|
-
const parsedOutput = {
|
|
945
|
-
...output,
|
|
946
|
-
body: await parseErrorBody(output.body, context)
|
|
947
|
-
};
|
|
948
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
949
|
-
switch (errorCode) {
|
|
950
|
-
case "InternalServerException":
|
|
951
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
952
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
953
|
-
case "InvalidRequestException":
|
|
954
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
955
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
956
|
-
default:
|
|
957
|
-
const parsedBody = parsedOutput.body;
|
|
958
|
-
return throwDefaultError({
|
|
959
|
-
output,
|
|
960
|
-
parsedBody,
|
|
961
|
-
errorCode
|
|
962
|
-
});
|
|
963
|
-
}
|
|
964
|
-
}, "de_BatchGetQueryExecutionCommandError");
|
|
965
899
|
var de_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
966
900
|
if (output.statusCode >= 300) {
|
|
967
|
-
return
|
|
901
|
+
return de_CommandError(output, context);
|
|
968
902
|
}
|
|
969
903
|
const data = await parseBody(output.body, context);
|
|
970
904
|
let contents = {};
|
|
@@ -975,31 +909,9 @@ var de_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
975
909
|
};
|
|
976
910
|
return response;
|
|
977
911
|
}, "de_CancelCapacityReservationCommand");
|
|
978
|
-
var de_CancelCapacityReservationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
979
|
-
const parsedOutput = {
|
|
980
|
-
...output,
|
|
981
|
-
body: await parseErrorBody(output.body, context)
|
|
982
|
-
};
|
|
983
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
984
|
-
switch (errorCode) {
|
|
985
|
-
case "InternalServerException":
|
|
986
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
987
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
988
|
-
case "InvalidRequestException":
|
|
989
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
990
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
991
|
-
default:
|
|
992
|
-
const parsedBody = parsedOutput.body;
|
|
993
|
-
return throwDefaultError({
|
|
994
|
-
output,
|
|
995
|
-
parsedBody,
|
|
996
|
-
errorCode
|
|
997
|
-
});
|
|
998
|
-
}
|
|
999
|
-
}, "de_CancelCapacityReservationCommandError");
|
|
1000
912
|
var de_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1001
913
|
if (output.statusCode >= 300) {
|
|
1002
|
-
return
|
|
914
|
+
return de_CommandError(output, context);
|
|
1003
915
|
}
|
|
1004
916
|
const data = await parseBody(output.body, context);
|
|
1005
917
|
let contents = {};
|
|
@@ -1010,31 +922,9 @@ var de_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1010
922
|
};
|
|
1011
923
|
return response;
|
|
1012
924
|
}, "de_CreateCapacityReservationCommand");
|
|
1013
|
-
var de_CreateCapacityReservationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1014
|
-
const parsedOutput = {
|
|
1015
|
-
...output,
|
|
1016
|
-
body: await parseErrorBody(output.body, context)
|
|
1017
|
-
};
|
|
1018
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1019
|
-
switch (errorCode) {
|
|
1020
|
-
case "InternalServerException":
|
|
1021
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1022
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1023
|
-
case "InvalidRequestException":
|
|
1024
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1025
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1026
|
-
default:
|
|
1027
|
-
const parsedBody = parsedOutput.body;
|
|
1028
|
-
return throwDefaultError({
|
|
1029
|
-
output,
|
|
1030
|
-
parsedBody,
|
|
1031
|
-
errorCode
|
|
1032
|
-
});
|
|
1033
|
-
}
|
|
1034
|
-
}, "de_CreateCapacityReservationCommandError");
|
|
1035
925
|
var de_CreateDataCatalogCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1036
926
|
if (output.statusCode >= 300) {
|
|
1037
|
-
return
|
|
927
|
+
return de_CommandError(output, context);
|
|
1038
928
|
}
|
|
1039
929
|
const data = await parseBody(output.body, context);
|
|
1040
930
|
let contents = {};
|
|
@@ -1045,31 +935,9 @@ var de_CreateDataCatalogCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1045
935
|
};
|
|
1046
936
|
return response;
|
|
1047
937
|
}, "de_CreateDataCatalogCommand");
|
|
1048
|
-
var de_CreateDataCatalogCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1049
|
-
const parsedOutput = {
|
|
1050
|
-
...output,
|
|
1051
|
-
body: await parseErrorBody(output.body, context)
|
|
1052
|
-
};
|
|
1053
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1054
|
-
switch (errorCode) {
|
|
1055
|
-
case "InternalServerException":
|
|
1056
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1057
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1058
|
-
case "InvalidRequestException":
|
|
1059
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1060
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1061
|
-
default:
|
|
1062
|
-
const parsedBody = parsedOutput.body;
|
|
1063
|
-
return throwDefaultError({
|
|
1064
|
-
output,
|
|
1065
|
-
parsedBody,
|
|
1066
|
-
errorCode
|
|
1067
|
-
});
|
|
1068
|
-
}
|
|
1069
|
-
}, "de_CreateDataCatalogCommandError");
|
|
1070
938
|
var de_CreateNamedQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1071
939
|
if (output.statusCode >= 300) {
|
|
1072
|
-
return
|
|
940
|
+
return de_CommandError(output, context);
|
|
1073
941
|
}
|
|
1074
942
|
const data = await parseBody(output.body, context);
|
|
1075
943
|
let contents = {};
|
|
@@ -1080,31 +948,9 @@ var de_CreateNamedQueryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1080
948
|
};
|
|
1081
949
|
return response;
|
|
1082
950
|
}, "de_CreateNamedQueryCommand");
|
|
1083
|
-
var de_CreateNamedQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1084
|
-
const parsedOutput = {
|
|
1085
|
-
...output,
|
|
1086
|
-
body: await parseErrorBody(output.body, context)
|
|
1087
|
-
};
|
|
1088
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1089
|
-
switch (errorCode) {
|
|
1090
|
-
case "InternalServerException":
|
|
1091
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1092
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1093
|
-
case "InvalidRequestException":
|
|
1094
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1095
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1096
|
-
default:
|
|
1097
|
-
const parsedBody = parsedOutput.body;
|
|
1098
|
-
return throwDefaultError({
|
|
1099
|
-
output,
|
|
1100
|
-
parsedBody,
|
|
1101
|
-
errorCode
|
|
1102
|
-
});
|
|
1103
|
-
}
|
|
1104
|
-
}, "de_CreateNamedQueryCommandError");
|
|
1105
951
|
var de_CreateNotebookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1106
952
|
if (output.statusCode >= 300) {
|
|
1107
|
-
return
|
|
953
|
+
return de_CommandError(output, context);
|
|
1108
954
|
}
|
|
1109
955
|
const data = await parseBody(output.body, context);
|
|
1110
956
|
let contents = {};
|
|
@@ -1115,34 +961,9 @@ var de_CreateNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1115
961
|
};
|
|
1116
962
|
return response;
|
|
1117
963
|
}, "de_CreateNotebookCommand");
|
|
1118
|
-
var de_CreateNotebookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1119
|
-
const parsedOutput = {
|
|
1120
|
-
...output,
|
|
1121
|
-
body: await parseErrorBody(output.body, context)
|
|
1122
|
-
};
|
|
1123
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1124
|
-
switch (errorCode) {
|
|
1125
|
-
case "InternalServerException":
|
|
1126
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1127
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1128
|
-
case "InvalidRequestException":
|
|
1129
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1130
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1131
|
-
case "TooManyRequestsException":
|
|
1132
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
1133
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1134
|
-
default:
|
|
1135
|
-
const parsedBody = parsedOutput.body;
|
|
1136
|
-
return throwDefaultError({
|
|
1137
|
-
output,
|
|
1138
|
-
parsedBody,
|
|
1139
|
-
errorCode
|
|
1140
|
-
});
|
|
1141
|
-
}
|
|
1142
|
-
}, "de_CreateNotebookCommandError");
|
|
1143
964
|
var de_CreatePreparedStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1144
965
|
if (output.statusCode >= 300) {
|
|
1145
|
-
return
|
|
966
|
+
return de_CommandError(output, context);
|
|
1146
967
|
}
|
|
1147
968
|
const data = await parseBody(output.body, context);
|
|
1148
969
|
let contents = {};
|
|
@@ -1153,31 +974,9 @@ var de_CreatePreparedStatementCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1153
974
|
};
|
|
1154
975
|
return response;
|
|
1155
976
|
}, "de_CreatePreparedStatementCommand");
|
|
1156
|
-
var de_CreatePreparedStatementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1157
|
-
const parsedOutput = {
|
|
1158
|
-
...output,
|
|
1159
|
-
body: await parseErrorBody(output.body, context)
|
|
1160
|
-
};
|
|
1161
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1162
|
-
switch (errorCode) {
|
|
1163
|
-
case "InternalServerException":
|
|
1164
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1165
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1166
|
-
case "InvalidRequestException":
|
|
1167
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1168
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1169
|
-
default:
|
|
1170
|
-
const parsedBody = parsedOutput.body;
|
|
1171
|
-
return throwDefaultError({
|
|
1172
|
-
output,
|
|
1173
|
-
parsedBody,
|
|
1174
|
-
errorCode
|
|
1175
|
-
});
|
|
1176
|
-
}
|
|
1177
|
-
}, "de_CreatePreparedStatementCommandError");
|
|
1178
977
|
var de_CreatePresignedNotebookUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1179
978
|
if (output.statusCode >= 300) {
|
|
1180
|
-
return
|
|
979
|
+
return de_CommandError(output, context);
|
|
1181
980
|
}
|
|
1182
981
|
const data = await parseBody(output.body, context);
|
|
1183
982
|
let contents = {};
|
|
@@ -1188,34 +987,9 @@ var de_CreatePresignedNotebookUrlCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1188
987
|
};
|
|
1189
988
|
return response;
|
|
1190
989
|
}, "de_CreatePresignedNotebookUrlCommand");
|
|
1191
|
-
var de_CreatePresignedNotebookUrlCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1192
|
-
const parsedOutput = {
|
|
1193
|
-
...output,
|
|
1194
|
-
body: await parseErrorBody(output.body, context)
|
|
1195
|
-
};
|
|
1196
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1197
|
-
switch (errorCode) {
|
|
1198
|
-
case "InternalServerException":
|
|
1199
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1200
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1201
|
-
case "InvalidRequestException":
|
|
1202
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1203
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1204
|
-
case "ResourceNotFoundException":
|
|
1205
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
1206
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1207
|
-
default:
|
|
1208
|
-
const parsedBody = parsedOutput.body;
|
|
1209
|
-
return throwDefaultError({
|
|
1210
|
-
output,
|
|
1211
|
-
parsedBody,
|
|
1212
|
-
errorCode
|
|
1213
|
-
});
|
|
1214
|
-
}
|
|
1215
|
-
}, "de_CreatePresignedNotebookUrlCommandError");
|
|
1216
990
|
var de_CreateWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1217
991
|
if (output.statusCode >= 300) {
|
|
1218
|
-
return
|
|
992
|
+
return de_CommandError(output, context);
|
|
1219
993
|
}
|
|
1220
994
|
const data = await parseBody(output.body, context);
|
|
1221
995
|
let contents = {};
|
|
@@ -1226,31 +1000,9 @@ var de_CreateWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1226
1000
|
};
|
|
1227
1001
|
return response;
|
|
1228
1002
|
}, "de_CreateWorkGroupCommand");
|
|
1229
|
-
var de_CreateWorkGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1230
|
-
const parsedOutput = {
|
|
1231
|
-
...output,
|
|
1232
|
-
body: await parseErrorBody(output.body, context)
|
|
1233
|
-
};
|
|
1234
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1235
|
-
switch (errorCode) {
|
|
1236
|
-
case "InternalServerException":
|
|
1237
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1238
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1239
|
-
case "InvalidRequestException":
|
|
1240
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1241
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1242
|
-
default:
|
|
1243
|
-
const parsedBody = parsedOutput.body;
|
|
1244
|
-
return throwDefaultError({
|
|
1245
|
-
output,
|
|
1246
|
-
parsedBody,
|
|
1247
|
-
errorCode
|
|
1248
|
-
});
|
|
1249
|
-
}
|
|
1250
|
-
}, "de_CreateWorkGroupCommandError");
|
|
1251
1003
|
var de_DeleteCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1252
1004
|
if (output.statusCode >= 300) {
|
|
1253
|
-
return
|
|
1005
|
+
return de_CommandError(output, context);
|
|
1254
1006
|
}
|
|
1255
1007
|
const data = await parseBody(output.body, context);
|
|
1256
1008
|
let contents = {};
|
|
@@ -1261,31 +1013,9 @@ var de_DeleteCapacityReservationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1261
1013
|
};
|
|
1262
1014
|
return response;
|
|
1263
1015
|
}, "de_DeleteCapacityReservationCommand");
|
|
1264
|
-
var de_DeleteCapacityReservationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1265
|
-
const parsedOutput = {
|
|
1266
|
-
...output,
|
|
1267
|
-
body: await parseErrorBody(output.body, context)
|
|
1268
|
-
};
|
|
1269
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1270
|
-
switch (errorCode) {
|
|
1271
|
-
case "InternalServerException":
|
|
1272
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1273
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1274
|
-
case "InvalidRequestException":
|
|
1275
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1276
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1277
|
-
default:
|
|
1278
|
-
const parsedBody = parsedOutput.body;
|
|
1279
|
-
return throwDefaultError({
|
|
1280
|
-
output,
|
|
1281
|
-
parsedBody,
|
|
1282
|
-
errorCode
|
|
1283
|
-
});
|
|
1284
|
-
}
|
|
1285
|
-
}, "de_DeleteCapacityReservationCommandError");
|
|
1286
1016
|
var de_DeleteDataCatalogCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1287
1017
|
if (output.statusCode >= 300) {
|
|
1288
|
-
return
|
|
1018
|
+
return de_CommandError(output, context);
|
|
1289
1019
|
}
|
|
1290
1020
|
const data = await parseBody(output.body, context);
|
|
1291
1021
|
let contents = {};
|
|
@@ -1296,31 +1026,9 @@ var de_DeleteDataCatalogCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1296
1026
|
};
|
|
1297
1027
|
return response;
|
|
1298
1028
|
}, "de_DeleteDataCatalogCommand");
|
|
1299
|
-
var de_DeleteDataCatalogCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1300
|
-
const parsedOutput = {
|
|
1301
|
-
...output,
|
|
1302
|
-
body: await parseErrorBody(output.body, context)
|
|
1303
|
-
};
|
|
1304
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1305
|
-
switch (errorCode) {
|
|
1306
|
-
case "InternalServerException":
|
|
1307
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1308
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1309
|
-
case "InvalidRequestException":
|
|
1310
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1311
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1312
|
-
default:
|
|
1313
|
-
const parsedBody = parsedOutput.body;
|
|
1314
|
-
return throwDefaultError({
|
|
1315
|
-
output,
|
|
1316
|
-
parsedBody,
|
|
1317
|
-
errorCode
|
|
1318
|
-
});
|
|
1319
|
-
}
|
|
1320
|
-
}, "de_DeleteDataCatalogCommandError");
|
|
1321
1029
|
var de_DeleteNamedQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1322
1030
|
if (output.statusCode >= 300) {
|
|
1323
|
-
return
|
|
1031
|
+
return de_CommandError(output, context);
|
|
1324
1032
|
}
|
|
1325
1033
|
const data = await parseBody(output.body, context);
|
|
1326
1034
|
let contents = {};
|
|
@@ -1331,31 +1039,9 @@ var de_DeleteNamedQueryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1331
1039
|
};
|
|
1332
1040
|
return response;
|
|
1333
1041
|
}, "de_DeleteNamedQueryCommand");
|
|
1334
|
-
var de_DeleteNamedQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1335
|
-
const parsedOutput = {
|
|
1336
|
-
...output,
|
|
1337
|
-
body: await parseErrorBody(output.body, context)
|
|
1338
|
-
};
|
|
1339
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1340
|
-
switch (errorCode) {
|
|
1341
|
-
case "InternalServerException":
|
|
1342
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1343
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1344
|
-
case "InvalidRequestException":
|
|
1345
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1346
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1347
|
-
default:
|
|
1348
|
-
const parsedBody = parsedOutput.body;
|
|
1349
|
-
return throwDefaultError({
|
|
1350
|
-
output,
|
|
1351
|
-
parsedBody,
|
|
1352
|
-
errorCode
|
|
1353
|
-
});
|
|
1354
|
-
}
|
|
1355
|
-
}, "de_DeleteNamedQueryCommandError");
|
|
1356
1042
|
var de_DeleteNotebookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1357
1043
|
if (output.statusCode >= 300) {
|
|
1358
|
-
return
|
|
1044
|
+
return de_CommandError(output, context);
|
|
1359
1045
|
}
|
|
1360
1046
|
const data = await parseBody(output.body, context);
|
|
1361
1047
|
let contents = {};
|
|
@@ -1366,34 +1052,9 @@ var de_DeleteNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1366
1052
|
};
|
|
1367
1053
|
return response;
|
|
1368
1054
|
}, "de_DeleteNotebookCommand");
|
|
1369
|
-
var de_DeleteNotebookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1370
|
-
const parsedOutput = {
|
|
1371
|
-
...output,
|
|
1372
|
-
body: await parseErrorBody(output.body, context)
|
|
1373
|
-
};
|
|
1374
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1375
|
-
switch (errorCode) {
|
|
1376
|
-
case "InternalServerException":
|
|
1377
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1378
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1379
|
-
case "InvalidRequestException":
|
|
1380
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1381
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1382
|
-
case "TooManyRequestsException":
|
|
1383
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
1384
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1385
|
-
default:
|
|
1386
|
-
const parsedBody = parsedOutput.body;
|
|
1387
|
-
return throwDefaultError({
|
|
1388
|
-
output,
|
|
1389
|
-
parsedBody,
|
|
1390
|
-
errorCode
|
|
1391
|
-
});
|
|
1392
|
-
}
|
|
1393
|
-
}, "de_DeleteNotebookCommandError");
|
|
1394
1055
|
var de_DeletePreparedStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1395
1056
|
if (output.statusCode >= 300) {
|
|
1396
|
-
return
|
|
1057
|
+
return de_CommandError(output, context);
|
|
1397
1058
|
}
|
|
1398
1059
|
const data = await parseBody(output.body, context);
|
|
1399
1060
|
let contents = {};
|
|
@@ -1404,34 +1065,9 @@ var de_DeletePreparedStatementCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1404
1065
|
};
|
|
1405
1066
|
return response;
|
|
1406
1067
|
}, "de_DeletePreparedStatementCommand");
|
|
1407
|
-
var de_DeletePreparedStatementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1408
|
-
const parsedOutput = {
|
|
1409
|
-
...output,
|
|
1410
|
-
body: await parseErrorBody(output.body, context)
|
|
1411
|
-
};
|
|
1412
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1413
|
-
switch (errorCode) {
|
|
1414
|
-
case "InternalServerException":
|
|
1415
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1416
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1417
|
-
case "InvalidRequestException":
|
|
1418
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1419
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1420
|
-
case "ResourceNotFoundException":
|
|
1421
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
1422
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1423
|
-
default:
|
|
1424
|
-
const parsedBody = parsedOutput.body;
|
|
1425
|
-
return throwDefaultError({
|
|
1426
|
-
output,
|
|
1427
|
-
parsedBody,
|
|
1428
|
-
errorCode
|
|
1429
|
-
});
|
|
1430
|
-
}
|
|
1431
|
-
}, "de_DeletePreparedStatementCommandError");
|
|
1432
1068
|
var de_DeleteWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1433
1069
|
if (output.statusCode >= 300) {
|
|
1434
|
-
return
|
|
1070
|
+
return de_CommandError(output, context);
|
|
1435
1071
|
}
|
|
1436
1072
|
const data = await parseBody(output.body, context);
|
|
1437
1073
|
let contents = {};
|
|
@@ -1442,31 +1078,9 @@ var de_DeleteWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1442
1078
|
};
|
|
1443
1079
|
return response;
|
|
1444
1080
|
}, "de_DeleteWorkGroupCommand");
|
|
1445
|
-
var de_DeleteWorkGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1446
|
-
const parsedOutput = {
|
|
1447
|
-
...output,
|
|
1448
|
-
body: await parseErrorBody(output.body, context)
|
|
1449
|
-
};
|
|
1450
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1451
|
-
switch (errorCode) {
|
|
1452
|
-
case "InternalServerException":
|
|
1453
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1454
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1455
|
-
case "InvalidRequestException":
|
|
1456
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1457
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1458
|
-
default:
|
|
1459
|
-
const parsedBody = parsedOutput.body;
|
|
1460
|
-
return throwDefaultError({
|
|
1461
|
-
output,
|
|
1462
|
-
parsedBody,
|
|
1463
|
-
errorCode
|
|
1464
|
-
});
|
|
1465
|
-
}
|
|
1466
|
-
}, "de_DeleteWorkGroupCommandError");
|
|
1467
1081
|
var de_ExportNotebookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1468
1082
|
if (output.statusCode >= 300) {
|
|
1469
|
-
return
|
|
1083
|
+
return de_CommandError(output, context);
|
|
1470
1084
|
}
|
|
1471
1085
|
const data = await parseBody(output.body, context);
|
|
1472
1086
|
let contents = {};
|
|
@@ -1477,34 +1091,9 @@ var de_ExportNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1477
1091
|
};
|
|
1478
1092
|
return response;
|
|
1479
1093
|
}, "de_ExportNotebookCommand");
|
|
1480
|
-
var de_ExportNotebookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1481
|
-
const parsedOutput = {
|
|
1482
|
-
...output,
|
|
1483
|
-
body: await parseErrorBody(output.body, context)
|
|
1484
|
-
};
|
|
1485
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1486
|
-
switch (errorCode) {
|
|
1487
|
-
case "InternalServerException":
|
|
1488
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1489
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1490
|
-
case "InvalidRequestException":
|
|
1491
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1492
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1493
|
-
case "TooManyRequestsException":
|
|
1494
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
1495
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1496
|
-
default:
|
|
1497
|
-
const parsedBody = parsedOutput.body;
|
|
1498
|
-
return throwDefaultError({
|
|
1499
|
-
output,
|
|
1500
|
-
parsedBody,
|
|
1501
|
-
errorCode
|
|
1502
|
-
});
|
|
1503
|
-
}
|
|
1504
|
-
}, "de_ExportNotebookCommandError");
|
|
1505
1094
|
var de_GetCalculationExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1506
1095
|
if (output.statusCode >= 300) {
|
|
1507
|
-
return
|
|
1096
|
+
return de_CommandError(output, context);
|
|
1508
1097
|
}
|
|
1509
1098
|
const data = await parseBody(output.body, context);
|
|
1510
1099
|
let contents = {};
|
|
@@ -1515,34 +1104,9 @@ var de_GetCalculationExecutionCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1515
1104
|
};
|
|
1516
1105
|
return response;
|
|
1517
1106
|
}, "de_GetCalculationExecutionCommand");
|
|
1518
|
-
var de_GetCalculationExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1519
|
-
const parsedOutput = {
|
|
1520
|
-
...output,
|
|
1521
|
-
body: await parseErrorBody(output.body, context)
|
|
1522
|
-
};
|
|
1523
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1524
|
-
switch (errorCode) {
|
|
1525
|
-
case "InternalServerException":
|
|
1526
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1527
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1528
|
-
case "InvalidRequestException":
|
|
1529
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1530
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1531
|
-
case "ResourceNotFoundException":
|
|
1532
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
1533
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1534
|
-
default:
|
|
1535
|
-
const parsedBody = parsedOutput.body;
|
|
1536
|
-
return throwDefaultError({
|
|
1537
|
-
output,
|
|
1538
|
-
parsedBody,
|
|
1539
|
-
errorCode
|
|
1540
|
-
});
|
|
1541
|
-
}
|
|
1542
|
-
}, "de_GetCalculationExecutionCommandError");
|
|
1543
1107
|
var de_GetCalculationExecutionCodeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1544
1108
|
if (output.statusCode >= 300) {
|
|
1545
|
-
return
|
|
1109
|
+
return de_CommandError(output, context);
|
|
1546
1110
|
}
|
|
1547
1111
|
const data = await parseBody(output.body, context);
|
|
1548
1112
|
let contents = {};
|
|
@@ -1553,34 +1117,9 @@ var de_GetCalculationExecutionCodeCommand = /* @__PURE__ */ __name(async (output
|
|
|
1553
1117
|
};
|
|
1554
1118
|
return response;
|
|
1555
1119
|
}, "de_GetCalculationExecutionCodeCommand");
|
|
1556
|
-
var de_GetCalculationExecutionCodeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1557
|
-
const parsedOutput = {
|
|
1558
|
-
...output,
|
|
1559
|
-
body: await parseErrorBody(output.body, context)
|
|
1560
|
-
};
|
|
1561
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1562
|
-
switch (errorCode) {
|
|
1563
|
-
case "InternalServerException":
|
|
1564
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1565
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1566
|
-
case "InvalidRequestException":
|
|
1567
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1568
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1569
|
-
case "ResourceNotFoundException":
|
|
1570
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
1571
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1572
|
-
default:
|
|
1573
|
-
const parsedBody = parsedOutput.body;
|
|
1574
|
-
return throwDefaultError({
|
|
1575
|
-
output,
|
|
1576
|
-
parsedBody,
|
|
1577
|
-
errorCode
|
|
1578
|
-
});
|
|
1579
|
-
}
|
|
1580
|
-
}, "de_GetCalculationExecutionCodeCommandError");
|
|
1581
1120
|
var de_GetCalculationExecutionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1582
1121
|
if (output.statusCode >= 300) {
|
|
1583
|
-
return
|
|
1122
|
+
return de_CommandError(output, context);
|
|
1584
1123
|
}
|
|
1585
1124
|
const data = await parseBody(output.body, context);
|
|
1586
1125
|
let contents = {};
|
|
@@ -1591,34 +1130,9 @@ var de_GetCalculationExecutionStatusCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1591
1130
|
};
|
|
1592
1131
|
return response;
|
|
1593
1132
|
}, "de_GetCalculationExecutionStatusCommand");
|
|
1594
|
-
var de_GetCalculationExecutionStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1595
|
-
const parsedOutput = {
|
|
1596
|
-
...output,
|
|
1597
|
-
body: await parseErrorBody(output.body, context)
|
|
1598
|
-
};
|
|
1599
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1600
|
-
switch (errorCode) {
|
|
1601
|
-
case "InternalServerException":
|
|
1602
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1603
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1604
|
-
case "InvalidRequestException":
|
|
1605
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1606
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1607
|
-
case "ResourceNotFoundException":
|
|
1608
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
1609
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1610
|
-
default:
|
|
1611
|
-
const parsedBody = parsedOutput.body;
|
|
1612
|
-
return throwDefaultError({
|
|
1613
|
-
output,
|
|
1614
|
-
parsedBody,
|
|
1615
|
-
errorCode
|
|
1616
|
-
});
|
|
1617
|
-
}
|
|
1618
|
-
}, "de_GetCalculationExecutionStatusCommandError");
|
|
1619
1133
|
var de_GetCapacityAssignmentConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1620
1134
|
if (output.statusCode >= 300) {
|
|
1621
|
-
return
|
|
1135
|
+
return de_CommandError(output, context);
|
|
1622
1136
|
}
|
|
1623
1137
|
const data = await parseBody(output.body, context);
|
|
1624
1138
|
let contents = {};
|
|
@@ -1629,31 +1143,9 @@ var de_GetCapacityAssignmentConfigurationCommand = /* @__PURE__ */ __name(async
|
|
|
1629
1143
|
};
|
|
1630
1144
|
return response;
|
|
1631
1145
|
}, "de_GetCapacityAssignmentConfigurationCommand");
|
|
1632
|
-
var de_GetCapacityAssignmentConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1633
|
-
const parsedOutput = {
|
|
1634
|
-
...output,
|
|
1635
|
-
body: await parseErrorBody(output.body, context)
|
|
1636
|
-
};
|
|
1637
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1638
|
-
switch (errorCode) {
|
|
1639
|
-
case "InternalServerException":
|
|
1640
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1641
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1642
|
-
case "InvalidRequestException":
|
|
1643
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1644
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1645
|
-
default:
|
|
1646
|
-
const parsedBody = parsedOutput.body;
|
|
1647
|
-
return throwDefaultError({
|
|
1648
|
-
output,
|
|
1649
|
-
parsedBody,
|
|
1650
|
-
errorCode
|
|
1651
|
-
});
|
|
1652
|
-
}
|
|
1653
|
-
}, "de_GetCapacityAssignmentConfigurationCommandError");
|
|
1654
1146
|
var de_GetCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1655
1147
|
if (output.statusCode >= 300) {
|
|
1656
|
-
return
|
|
1148
|
+
return de_CommandError(output, context);
|
|
1657
1149
|
}
|
|
1658
1150
|
const data = await parseBody(output.body, context);
|
|
1659
1151
|
let contents = {};
|
|
@@ -1664,31 +1156,9 @@ var de_GetCapacityReservationCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1664
1156
|
};
|
|
1665
1157
|
return response;
|
|
1666
1158
|
}, "de_GetCapacityReservationCommand");
|
|
1667
|
-
var de_GetCapacityReservationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1668
|
-
const parsedOutput = {
|
|
1669
|
-
...output,
|
|
1670
|
-
body: await parseErrorBody(output.body, context)
|
|
1671
|
-
};
|
|
1672
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1673
|
-
switch (errorCode) {
|
|
1674
|
-
case "InternalServerException":
|
|
1675
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1676
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1677
|
-
case "InvalidRequestException":
|
|
1678
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1679
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1680
|
-
default:
|
|
1681
|
-
const parsedBody = parsedOutput.body;
|
|
1682
|
-
return throwDefaultError({
|
|
1683
|
-
output,
|
|
1684
|
-
parsedBody,
|
|
1685
|
-
errorCode
|
|
1686
|
-
});
|
|
1687
|
-
}
|
|
1688
|
-
}, "de_GetCapacityReservationCommandError");
|
|
1689
1159
|
var de_GetDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1690
1160
|
if (output.statusCode >= 300) {
|
|
1691
|
-
return
|
|
1161
|
+
return de_CommandError(output, context);
|
|
1692
1162
|
}
|
|
1693
1163
|
const data = await parseBody(output.body, context);
|
|
1694
1164
|
let contents = {};
|
|
@@ -1699,34 +1169,9 @@ var de_GetDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1699
1169
|
};
|
|
1700
1170
|
return response;
|
|
1701
1171
|
}, "de_GetDatabaseCommand");
|
|
1702
|
-
var de_GetDatabaseCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1703
|
-
const parsedOutput = {
|
|
1704
|
-
...output,
|
|
1705
|
-
body: await parseErrorBody(output.body, context)
|
|
1706
|
-
};
|
|
1707
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1708
|
-
switch (errorCode) {
|
|
1709
|
-
case "InternalServerException":
|
|
1710
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1711
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1712
|
-
case "InvalidRequestException":
|
|
1713
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1714
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1715
|
-
case "MetadataException":
|
|
1716
|
-
case "com.amazonaws.athena#MetadataException":
|
|
1717
|
-
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
1718
|
-
default:
|
|
1719
|
-
const parsedBody = parsedOutput.body;
|
|
1720
|
-
return throwDefaultError({
|
|
1721
|
-
output,
|
|
1722
|
-
parsedBody,
|
|
1723
|
-
errorCode
|
|
1724
|
-
});
|
|
1725
|
-
}
|
|
1726
|
-
}, "de_GetDatabaseCommandError");
|
|
1727
1172
|
var de_GetDataCatalogCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1728
1173
|
if (output.statusCode >= 300) {
|
|
1729
|
-
return
|
|
1174
|
+
return de_CommandError(output, context);
|
|
1730
1175
|
}
|
|
1731
1176
|
const data = await parseBody(output.body, context);
|
|
1732
1177
|
let contents = {};
|
|
@@ -1737,31 +1182,9 @@ var de_GetDataCatalogCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1737
1182
|
};
|
|
1738
1183
|
return response;
|
|
1739
1184
|
}, "de_GetDataCatalogCommand");
|
|
1740
|
-
var de_GetDataCatalogCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1741
|
-
const parsedOutput = {
|
|
1742
|
-
...output,
|
|
1743
|
-
body: await parseErrorBody(output.body, context)
|
|
1744
|
-
};
|
|
1745
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1746
|
-
switch (errorCode) {
|
|
1747
|
-
case "InternalServerException":
|
|
1748
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1749
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1750
|
-
case "InvalidRequestException":
|
|
1751
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1752
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1753
|
-
default:
|
|
1754
|
-
const parsedBody = parsedOutput.body;
|
|
1755
|
-
return throwDefaultError({
|
|
1756
|
-
output,
|
|
1757
|
-
parsedBody,
|
|
1758
|
-
errorCode
|
|
1759
|
-
});
|
|
1760
|
-
}
|
|
1761
|
-
}, "de_GetDataCatalogCommandError");
|
|
1762
1185
|
var de_GetNamedQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1763
1186
|
if (output.statusCode >= 300) {
|
|
1764
|
-
return
|
|
1187
|
+
return de_CommandError(output, context);
|
|
1765
1188
|
}
|
|
1766
1189
|
const data = await parseBody(output.body, context);
|
|
1767
1190
|
let contents = {};
|
|
@@ -1772,31 +1195,9 @@ var de_GetNamedQueryCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1772
1195
|
};
|
|
1773
1196
|
return response;
|
|
1774
1197
|
}, "de_GetNamedQueryCommand");
|
|
1775
|
-
var de_GetNamedQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1776
|
-
const parsedOutput = {
|
|
1777
|
-
...output,
|
|
1778
|
-
body: await parseErrorBody(output.body, context)
|
|
1779
|
-
};
|
|
1780
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1781
|
-
switch (errorCode) {
|
|
1782
|
-
case "InternalServerException":
|
|
1783
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1784
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1785
|
-
case "InvalidRequestException":
|
|
1786
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1787
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1788
|
-
default:
|
|
1789
|
-
const parsedBody = parsedOutput.body;
|
|
1790
|
-
return throwDefaultError({
|
|
1791
|
-
output,
|
|
1792
|
-
parsedBody,
|
|
1793
|
-
errorCode
|
|
1794
|
-
});
|
|
1795
|
-
}
|
|
1796
|
-
}, "de_GetNamedQueryCommandError");
|
|
1797
1198
|
var de_GetNotebookMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1798
1199
|
if (output.statusCode >= 300) {
|
|
1799
|
-
return
|
|
1200
|
+
return de_CommandError(output, context);
|
|
1800
1201
|
}
|
|
1801
1202
|
const data = await parseBody(output.body, context);
|
|
1802
1203
|
let contents = {};
|
|
@@ -1807,34 +1208,9 @@ var de_GetNotebookMetadataCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1807
1208
|
};
|
|
1808
1209
|
return response;
|
|
1809
1210
|
}, "de_GetNotebookMetadataCommand");
|
|
1810
|
-
var de_GetNotebookMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1811
|
-
const parsedOutput = {
|
|
1812
|
-
...output,
|
|
1813
|
-
body: await parseErrorBody(output.body, context)
|
|
1814
|
-
};
|
|
1815
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1816
|
-
switch (errorCode) {
|
|
1817
|
-
case "InternalServerException":
|
|
1818
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1819
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1820
|
-
case "InvalidRequestException":
|
|
1821
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1822
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1823
|
-
case "TooManyRequestsException":
|
|
1824
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
1825
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1826
|
-
default:
|
|
1827
|
-
const parsedBody = parsedOutput.body;
|
|
1828
|
-
return throwDefaultError({
|
|
1829
|
-
output,
|
|
1830
|
-
parsedBody,
|
|
1831
|
-
errorCode
|
|
1832
|
-
});
|
|
1833
|
-
}
|
|
1834
|
-
}, "de_GetNotebookMetadataCommandError");
|
|
1835
1211
|
var de_GetPreparedStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1836
1212
|
if (output.statusCode >= 300) {
|
|
1837
|
-
return
|
|
1213
|
+
return de_CommandError(output, context);
|
|
1838
1214
|
}
|
|
1839
1215
|
const data = await parseBody(output.body, context);
|
|
1840
1216
|
let contents = {};
|
|
@@ -1845,34 +1221,9 @@ var de_GetPreparedStatementCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1845
1221
|
};
|
|
1846
1222
|
return response;
|
|
1847
1223
|
}, "de_GetPreparedStatementCommand");
|
|
1848
|
-
var de_GetPreparedStatementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1849
|
-
const parsedOutput = {
|
|
1850
|
-
...output,
|
|
1851
|
-
body: await parseErrorBody(output.body, context)
|
|
1852
|
-
};
|
|
1853
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1854
|
-
switch (errorCode) {
|
|
1855
|
-
case "InternalServerException":
|
|
1856
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1857
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1858
|
-
case "InvalidRequestException":
|
|
1859
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1860
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1861
|
-
case "ResourceNotFoundException":
|
|
1862
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
1863
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1864
|
-
default:
|
|
1865
|
-
const parsedBody = parsedOutput.body;
|
|
1866
|
-
return throwDefaultError({
|
|
1867
|
-
output,
|
|
1868
|
-
parsedBody,
|
|
1869
|
-
errorCode
|
|
1870
|
-
});
|
|
1871
|
-
}
|
|
1872
|
-
}, "de_GetPreparedStatementCommandError");
|
|
1873
1224
|
var de_GetQueryExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1874
1225
|
if (output.statusCode >= 300) {
|
|
1875
|
-
return
|
|
1226
|
+
return de_CommandError(output, context);
|
|
1876
1227
|
}
|
|
1877
1228
|
const data = await parseBody(output.body, context);
|
|
1878
1229
|
let contents = {};
|
|
@@ -1883,31 +1234,9 @@ var de_GetQueryExecutionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1883
1234
|
};
|
|
1884
1235
|
return response;
|
|
1885
1236
|
}, "de_GetQueryExecutionCommand");
|
|
1886
|
-
var de_GetQueryExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1887
|
-
const parsedOutput = {
|
|
1888
|
-
...output,
|
|
1889
|
-
body: await parseErrorBody(output.body, context)
|
|
1890
|
-
};
|
|
1891
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1892
|
-
switch (errorCode) {
|
|
1893
|
-
case "InternalServerException":
|
|
1894
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1895
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1896
|
-
case "InvalidRequestException":
|
|
1897
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1898
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1899
|
-
default:
|
|
1900
|
-
const parsedBody = parsedOutput.body;
|
|
1901
|
-
return throwDefaultError({
|
|
1902
|
-
output,
|
|
1903
|
-
parsedBody,
|
|
1904
|
-
errorCode
|
|
1905
|
-
});
|
|
1906
|
-
}
|
|
1907
|
-
}, "de_GetQueryExecutionCommandError");
|
|
1908
1237
|
var de_GetQueryResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1909
1238
|
if (output.statusCode >= 300) {
|
|
1910
|
-
return
|
|
1239
|
+
return de_CommandError(output, context);
|
|
1911
1240
|
}
|
|
1912
1241
|
const data = await parseBody(output.body, context);
|
|
1913
1242
|
let contents = {};
|
|
@@ -1918,34 +1247,9 @@ var de_GetQueryResultsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1918
1247
|
};
|
|
1919
1248
|
return response;
|
|
1920
1249
|
}, "de_GetQueryResultsCommand");
|
|
1921
|
-
var de_GetQueryResultsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1922
|
-
const parsedOutput = {
|
|
1923
|
-
...output,
|
|
1924
|
-
body: await parseErrorBody(output.body, context)
|
|
1925
|
-
};
|
|
1926
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1927
|
-
switch (errorCode) {
|
|
1928
|
-
case "InternalServerException":
|
|
1929
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1930
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1931
|
-
case "InvalidRequestException":
|
|
1932
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1933
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1934
|
-
case "TooManyRequestsException":
|
|
1935
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
1936
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1937
|
-
default:
|
|
1938
|
-
const parsedBody = parsedOutput.body;
|
|
1939
|
-
return throwDefaultError({
|
|
1940
|
-
output,
|
|
1941
|
-
parsedBody,
|
|
1942
|
-
errorCode
|
|
1943
|
-
});
|
|
1944
|
-
}
|
|
1945
|
-
}, "de_GetQueryResultsCommandError");
|
|
1946
1250
|
var de_GetQueryRuntimeStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1947
1251
|
if (output.statusCode >= 300) {
|
|
1948
|
-
return
|
|
1252
|
+
return de_CommandError(output, context);
|
|
1949
1253
|
}
|
|
1950
1254
|
const data = await parseBody(output.body, context);
|
|
1951
1255
|
let contents = {};
|
|
@@ -1956,31 +1260,9 @@ var de_GetQueryRuntimeStatisticsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1956
1260
|
};
|
|
1957
1261
|
return response;
|
|
1958
1262
|
}, "de_GetQueryRuntimeStatisticsCommand");
|
|
1959
|
-
var de_GetQueryRuntimeStatisticsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1960
|
-
const parsedOutput = {
|
|
1961
|
-
...output,
|
|
1962
|
-
body: await parseErrorBody(output.body, context)
|
|
1963
|
-
};
|
|
1964
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1965
|
-
switch (errorCode) {
|
|
1966
|
-
case "InternalServerException":
|
|
1967
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
1968
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1969
|
-
case "InvalidRequestException":
|
|
1970
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
1971
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1972
|
-
default:
|
|
1973
|
-
const parsedBody = parsedOutput.body;
|
|
1974
|
-
return throwDefaultError({
|
|
1975
|
-
output,
|
|
1976
|
-
parsedBody,
|
|
1977
|
-
errorCode
|
|
1978
|
-
});
|
|
1979
|
-
}
|
|
1980
|
-
}, "de_GetQueryRuntimeStatisticsCommandError");
|
|
1981
1263
|
var de_GetSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1982
1264
|
if (output.statusCode >= 300) {
|
|
1983
|
-
return
|
|
1265
|
+
return de_CommandError(output, context);
|
|
1984
1266
|
}
|
|
1985
1267
|
const data = await parseBody(output.body, context);
|
|
1986
1268
|
let contents = {};
|
|
@@ -1991,34 +1273,9 @@ var de_GetSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1991
1273
|
};
|
|
1992
1274
|
return response;
|
|
1993
1275
|
}, "de_GetSessionCommand");
|
|
1994
|
-
var de_GetSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1995
|
-
const parsedOutput = {
|
|
1996
|
-
...output,
|
|
1997
|
-
body: await parseErrorBody(output.body, context)
|
|
1998
|
-
};
|
|
1999
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2000
|
-
switch (errorCode) {
|
|
2001
|
-
case "InternalServerException":
|
|
2002
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2003
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2004
|
-
case "InvalidRequestException":
|
|
2005
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2006
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2007
|
-
case "ResourceNotFoundException":
|
|
2008
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2009
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2010
|
-
default:
|
|
2011
|
-
const parsedBody = parsedOutput.body;
|
|
2012
|
-
return throwDefaultError({
|
|
2013
|
-
output,
|
|
2014
|
-
parsedBody,
|
|
2015
|
-
errorCode
|
|
2016
|
-
});
|
|
2017
|
-
}
|
|
2018
|
-
}, "de_GetSessionCommandError");
|
|
2019
1276
|
var de_GetSessionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2020
1277
|
if (output.statusCode >= 300) {
|
|
2021
|
-
return
|
|
1278
|
+
return de_CommandError(output, context);
|
|
2022
1279
|
}
|
|
2023
1280
|
const data = await parseBody(output.body, context);
|
|
2024
1281
|
let contents = {};
|
|
@@ -2029,34 +1286,9 @@ var de_GetSessionStatusCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2029
1286
|
};
|
|
2030
1287
|
return response;
|
|
2031
1288
|
}, "de_GetSessionStatusCommand");
|
|
2032
|
-
var de_GetSessionStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2033
|
-
const parsedOutput = {
|
|
2034
|
-
...output,
|
|
2035
|
-
body: await parseErrorBody(output.body, context)
|
|
2036
|
-
};
|
|
2037
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2038
|
-
switch (errorCode) {
|
|
2039
|
-
case "InternalServerException":
|
|
2040
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2041
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2042
|
-
case "InvalidRequestException":
|
|
2043
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2044
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2045
|
-
case "ResourceNotFoundException":
|
|
2046
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2047
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2048
|
-
default:
|
|
2049
|
-
const parsedBody = parsedOutput.body;
|
|
2050
|
-
return throwDefaultError({
|
|
2051
|
-
output,
|
|
2052
|
-
parsedBody,
|
|
2053
|
-
errorCode
|
|
2054
|
-
});
|
|
2055
|
-
}
|
|
2056
|
-
}, "de_GetSessionStatusCommandError");
|
|
2057
1289
|
var de_GetTableMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2058
1290
|
if (output.statusCode >= 300) {
|
|
2059
|
-
return
|
|
1291
|
+
return de_CommandError(output, context);
|
|
2060
1292
|
}
|
|
2061
1293
|
const data = await parseBody(output.body, context);
|
|
2062
1294
|
let contents = {};
|
|
@@ -2067,34 +1299,9 @@ var de_GetTableMetadataCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2067
1299
|
};
|
|
2068
1300
|
return response;
|
|
2069
1301
|
}, "de_GetTableMetadataCommand");
|
|
2070
|
-
var de_GetTableMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2071
|
-
const parsedOutput = {
|
|
2072
|
-
...output,
|
|
2073
|
-
body: await parseErrorBody(output.body, context)
|
|
2074
|
-
};
|
|
2075
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2076
|
-
switch (errorCode) {
|
|
2077
|
-
case "InternalServerException":
|
|
2078
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2079
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2080
|
-
case "InvalidRequestException":
|
|
2081
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2082
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2083
|
-
case "MetadataException":
|
|
2084
|
-
case "com.amazonaws.athena#MetadataException":
|
|
2085
|
-
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
2086
|
-
default:
|
|
2087
|
-
const parsedBody = parsedOutput.body;
|
|
2088
|
-
return throwDefaultError({
|
|
2089
|
-
output,
|
|
2090
|
-
parsedBody,
|
|
2091
|
-
errorCode
|
|
2092
|
-
});
|
|
2093
|
-
}
|
|
2094
|
-
}, "de_GetTableMetadataCommandError");
|
|
2095
1302
|
var de_GetWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2096
1303
|
if (output.statusCode >= 300) {
|
|
2097
|
-
return
|
|
1304
|
+
return de_CommandError(output, context);
|
|
2098
1305
|
}
|
|
2099
1306
|
const data = await parseBody(output.body, context);
|
|
2100
1307
|
let contents = {};
|
|
@@ -2105,31 +1312,9 @@ var de_GetWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2105
1312
|
};
|
|
2106
1313
|
return response;
|
|
2107
1314
|
}, "de_GetWorkGroupCommand");
|
|
2108
|
-
var de_GetWorkGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2109
|
-
const parsedOutput = {
|
|
2110
|
-
...output,
|
|
2111
|
-
body: await parseErrorBody(output.body, context)
|
|
2112
|
-
};
|
|
2113
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2114
|
-
switch (errorCode) {
|
|
2115
|
-
case "InternalServerException":
|
|
2116
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2117
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2118
|
-
case "InvalidRequestException":
|
|
2119
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2120
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2121
|
-
default:
|
|
2122
|
-
const parsedBody = parsedOutput.body;
|
|
2123
|
-
return throwDefaultError({
|
|
2124
|
-
output,
|
|
2125
|
-
parsedBody,
|
|
2126
|
-
errorCode
|
|
2127
|
-
});
|
|
2128
|
-
}
|
|
2129
|
-
}, "de_GetWorkGroupCommandError");
|
|
2130
1315
|
var de_ImportNotebookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2131
1316
|
if (output.statusCode >= 300) {
|
|
2132
|
-
return
|
|
1317
|
+
return de_CommandError(output, context);
|
|
2133
1318
|
}
|
|
2134
1319
|
const data = await parseBody(output.body, context);
|
|
2135
1320
|
let contents = {};
|
|
@@ -2140,34 +1325,9 @@ var de_ImportNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2140
1325
|
};
|
|
2141
1326
|
return response;
|
|
2142
1327
|
}, "de_ImportNotebookCommand");
|
|
2143
|
-
var de_ImportNotebookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2144
|
-
const parsedOutput = {
|
|
2145
|
-
...output,
|
|
2146
|
-
body: await parseErrorBody(output.body, context)
|
|
2147
|
-
};
|
|
2148
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2149
|
-
switch (errorCode) {
|
|
2150
|
-
case "InternalServerException":
|
|
2151
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2152
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2153
|
-
case "InvalidRequestException":
|
|
2154
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2155
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2156
|
-
case "TooManyRequestsException":
|
|
2157
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
2158
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2159
|
-
default:
|
|
2160
|
-
const parsedBody = parsedOutput.body;
|
|
2161
|
-
return throwDefaultError({
|
|
2162
|
-
output,
|
|
2163
|
-
parsedBody,
|
|
2164
|
-
errorCode
|
|
2165
|
-
});
|
|
2166
|
-
}
|
|
2167
|
-
}, "de_ImportNotebookCommandError");
|
|
2168
1328
|
var de_ListApplicationDPUSizesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2169
1329
|
if (output.statusCode >= 300) {
|
|
2170
|
-
return
|
|
1330
|
+
return de_CommandError(output, context);
|
|
2171
1331
|
}
|
|
2172
1332
|
const data = await parseBody(output.body, context);
|
|
2173
1333
|
let contents = {};
|
|
@@ -2178,34 +1338,9 @@ var de_ListApplicationDPUSizesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2178
1338
|
};
|
|
2179
1339
|
return response;
|
|
2180
1340
|
}, "de_ListApplicationDPUSizesCommand");
|
|
2181
|
-
var de_ListApplicationDPUSizesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2182
|
-
const parsedOutput = {
|
|
2183
|
-
...output,
|
|
2184
|
-
body: await parseErrorBody(output.body, context)
|
|
2185
|
-
};
|
|
2186
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2187
|
-
switch (errorCode) {
|
|
2188
|
-
case "InternalServerException":
|
|
2189
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2190
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2191
|
-
case "InvalidRequestException":
|
|
2192
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2193
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2194
|
-
case "TooManyRequestsException":
|
|
2195
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
2196
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2197
|
-
default:
|
|
2198
|
-
const parsedBody = parsedOutput.body;
|
|
2199
|
-
return throwDefaultError({
|
|
2200
|
-
output,
|
|
2201
|
-
parsedBody,
|
|
2202
|
-
errorCode
|
|
2203
|
-
});
|
|
2204
|
-
}
|
|
2205
|
-
}, "de_ListApplicationDPUSizesCommandError");
|
|
2206
1341
|
var de_ListCalculationExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2207
1342
|
if (output.statusCode >= 300) {
|
|
2208
|
-
return
|
|
1343
|
+
return de_CommandError(output, context);
|
|
2209
1344
|
}
|
|
2210
1345
|
const data = await parseBody(output.body, context);
|
|
2211
1346
|
let contents = {};
|
|
@@ -2216,34 +1351,9 @@ var de_ListCalculationExecutionsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2216
1351
|
};
|
|
2217
1352
|
return response;
|
|
2218
1353
|
}, "de_ListCalculationExecutionsCommand");
|
|
2219
|
-
var de_ListCalculationExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2220
|
-
const parsedOutput = {
|
|
2221
|
-
...output,
|
|
2222
|
-
body: await parseErrorBody(output.body, context)
|
|
2223
|
-
};
|
|
2224
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2225
|
-
switch (errorCode) {
|
|
2226
|
-
case "InternalServerException":
|
|
2227
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2228
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2229
|
-
case "InvalidRequestException":
|
|
2230
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2231
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2232
|
-
case "ResourceNotFoundException":
|
|
2233
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2234
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2235
|
-
default:
|
|
2236
|
-
const parsedBody = parsedOutput.body;
|
|
2237
|
-
return throwDefaultError({
|
|
2238
|
-
output,
|
|
2239
|
-
parsedBody,
|
|
2240
|
-
errorCode
|
|
2241
|
-
});
|
|
2242
|
-
}
|
|
2243
|
-
}, "de_ListCalculationExecutionsCommandError");
|
|
2244
1354
|
var de_ListCapacityReservationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2245
1355
|
if (output.statusCode >= 300) {
|
|
2246
|
-
return
|
|
1356
|
+
return de_CommandError(output, context);
|
|
2247
1357
|
}
|
|
2248
1358
|
const data = await parseBody(output.body, context);
|
|
2249
1359
|
let contents = {};
|
|
@@ -2254,31 +1364,9 @@ var de_ListCapacityReservationsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2254
1364
|
};
|
|
2255
1365
|
return response;
|
|
2256
1366
|
}, "de_ListCapacityReservationsCommand");
|
|
2257
|
-
var de_ListCapacityReservationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2258
|
-
const parsedOutput = {
|
|
2259
|
-
...output,
|
|
2260
|
-
body: await parseErrorBody(output.body, context)
|
|
2261
|
-
};
|
|
2262
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2263
|
-
switch (errorCode) {
|
|
2264
|
-
case "InternalServerException":
|
|
2265
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2266
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2267
|
-
case "InvalidRequestException":
|
|
2268
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2269
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2270
|
-
default:
|
|
2271
|
-
const parsedBody = parsedOutput.body;
|
|
2272
|
-
return throwDefaultError({
|
|
2273
|
-
output,
|
|
2274
|
-
parsedBody,
|
|
2275
|
-
errorCode
|
|
2276
|
-
});
|
|
2277
|
-
}
|
|
2278
|
-
}, "de_ListCapacityReservationsCommandError");
|
|
2279
1367
|
var de_ListDatabasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2280
1368
|
if (output.statusCode >= 300) {
|
|
2281
|
-
return
|
|
1369
|
+
return de_CommandError(output, context);
|
|
2282
1370
|
}
|
|
2283
1371
|
const data = await parseBody(output.body, context);
|
|
2284
1372
|
let contents = {};
|
|
@@ -2289,34 +1377,9 @@ var de_ListDatabasesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2289
1377
|
};
|
|
2290
1378
|
return response;
|
|
2291
1379
|
}, "de_ListDatabasesCommand");
|
|
2292
|
-
var de_ListDatabasesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2293
|
-
const parsedOutput = {
|
|
2294
|
-
...output,
|
|
2295
|
-
body: await parseErrorBody(output.body, context)
|
|
2296
|
-
};
|
|
2297
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2298
|
-
switch (errorCode) {
|
|
2299
|
-
case "InternalServerException":
|
|
2300
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2301
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2302
|
-
case "InvalidRequestException":
|
|
2303
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2304
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2305
|
-
case "MetadataException":
|
|
2306
|
-
case "com.amazonaws.athena#MetadataException":
|
|
2307
|
-
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
2308
|
-
default:
|
|
2309
|
-
const parsedBody = parsedOutput.body;
|
|
2310
|
-
return throwDefaultError({
|
|
2311
|
-
output,
|
|
2312
|
-
parsedBody,
|
|
2313
|
-
errorCode
|
|
2314
|
-
});
|
|
2315
|
-
}
|
|
2316
|
-
}, "de_ListDatabasesCommandError");
|
|
2317
1380
|
var de_ListDataCatalogsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2318
1381
|
if (output.statusCode >= 300) {
|
|
2319
|
-
return
|
|
1382
|
+
return de_CommandError(output, context);
|
|
2320
1383
|
}
|
|
2321
1384
|
const data = await parseBody(output.body, context);
|
|
2322
1385
|
let contents = {};
|
|
@@ -2327,31 +1390,9 @@ var de_ListDataCatalogsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2327
1390
|
};
|
|
2328
1391
|
return response;
|
|
2329
1392
|
}, "de_ListDataCatalogsCommand");
|
|
2330
|
-
var de_ListDataCatalogsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2331
|
-
const parsedOutput = {
|
|
2332
|
-
...output,
|
|
2333
|
-
body: await parseErrorBody(output.body, context)
|
|
2334
|
-
};
|
|
2335
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2336
|
-
switch (errorCode) {
|
|
2337
|
-
case "InternalServerException":
|
|
2338
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2339
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2340
|
-
case "InvalidRequestException":
|
|
2341
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2342
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2343
|
-
default:
|
|
2344
|
-
const parsedBody = parsedOutput.body;
|
|
2345
|
-
return throwDefaultError({
|
|
2346
|
-
output,
|
|
2347
|
-
parsedBody,
|
|
2348
|
-
errorCode
|
|
2349
|
-
});
|
|
2350
|
-
}
|
|
2351
|
-
}, "de_ListDataCatalogsCommandError");
|
|
2352
1393
|
var de_ListEngineVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2353
1394
|
if (output.statusCode >= 300) {
|
|
2354
|
-
return
|
|
1395
|
+
return de_CommandError(output, context);
|
|
2355
1396
|
}
|
|
2356
1397
|
const data = await parseBody(output.body, context);
|
|
2357
1398
|
let contents = {};
|
|
@@ -2362,31 +1403,9 @@ var de_ListEngineVersionsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2362
1403
|
};
|
|
2363
1404
|
return response;
|
|
2364
1405
|
}, "de_ListEngineVersionsCommand");
|
|
2365
|
-
var de_ListEngineVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2366
|
-
const parsedOutput = {
|
|
2367
|
-
...output,
|
|
2368
|
-
body: await parseErrorBody(output.body, context)
|
|
2369
|
-
};
|
|
2370
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2371
|
-
switch (errorCode) {
|
|
2372
|
-
case "InternalServerException":
|
|
2373
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2374
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2375
|
-
case "InvalidRequestException":
|
|
2376
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2377
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2378
|
-
default:
|
|
2379
|
-
const parsedBody = parsedOutput.body;
|
|
2380
|
-
return throwDefaultError({
|
|
2381
|
-
output,
|
|
2382
|
-
parsedBody,
|
|
2383
|
-
errorCode
|
|
2384
|
-
});
|
|
2385
|
-
}
|
|
2386
|
-
}, "de_ListEngineVersionsCommandError");
|
|
2387
1406
|
var de_ListExecutorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2388
1407
|
if (output.statusCode >= 300) {
|
|
2389
|
-
return
|
|
1408
|
+
return de_CommandError(output, context);
|
|
2390
1409
|
}
|
|
2391
1410
|
const data = await parseBody(output.body, context);
|
|
2392
1411
|
let contents = {};
|
|
@@ -2397,34 +1416,9 @@ var de_ListExecutorsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2397
1416
|
};
|
|
2398
1417
|
return response;
|
|
2399
1418
|
}, "de_ListExecutorsCommand");
|
|
2400
|
-
var de_ListExecutorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2401
|
-
const parsedOutput = {
|
|
2402
|
-
...output,
|
|
2403
|
-
body: await parseErrorBody(output.body, context)
|
|
2404
|
-
};
|
|
2405
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2406
|
-
switch (errorCode) {
|
|
2407
|
-
case "InternalServerException":
|
|
2408
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2409
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2410
|
-
case "InvalidRequestException":
|
|
2411
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2412
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2413
|
-
case "ResourceNotFoundException":
|
|
2414
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2415
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2416
|
-
default:
|
|
2417
|
-
const parsedBody = parsedOutput.body;
|
|
2418
|
-
return throwDefaultError({
|
|
2419
|
-
output,
|
|
2420
|
-
parsedBody,
|
|
2421
|
-
errorCode
|
|
2422
|
-
});
|
|
2423
|
-
}
|
|
2424
|
-
}, "de_ListExecutorsCommandError");
|
|
2425
1419
|
var de_ListNamedQueriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2426
1420
|
if (output.statusCode >= 300) {
|
|
2427
|
-
return
|
|
1421
|
+
return de_CommandError(output, context);
|
|
2428
1422
|
}
|
|
2429
1423
|
const data = await parseBody(output.body, context);
|
|
2430
1424
|
let contents = {};
|
|
@@ -2435,31 +1429,9 @@ var de_ListNamedQueriesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2435
1429
|
};
|
|
2436
1430
|
return response;
|
|
2437
1431
|
}, "de_ListNamedQueriesCommand");
|
|
2438
|
-
var de_ListNamedQueriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2439
|
-
const parsedOutput = {
|
|
2440
|
-
...output,
|
|
2441
|
-
body: await parseErrorBody(output.body, context)
|
|
2442
|
-
};
|
|
2443
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2444
|
-
switch (errorCode) {
|
|
2445
|
-
case "InternalServerException":
|
|
2446
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2447
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2448
|
-
case "InvalidRequestException":
|
|
2449
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2450
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2451
|
-
default:
|
|
2452
|
-
const parsedBody = parsedOutput.body;
|
|
2453
|
-
return throwDefaultError({
|
|
2454
|
-
output,
|
|
2455
|
-
parsedBody,
|
|
2456
|
-
errorCode
|
|
2457
|
-
});
|
|
2458
|
-
}
|
|
2459
|
-
}, "de_ListNamedQueriesCommandError");
|
|
2460
1432
|
var de_ListNotebookMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2461
1433
|
if (output.statusCode >= 300) {
|
|
2462
|
-
return
|
|
1434
|
+
return de_CommandError(output, context);
|
|
2463
1435
|
}
|
|
2464
1436
|
const data = await parseBody(output.body, context);
|
|
2465
1437
|
let contents = {};
|
|
@@ -2470,34 +1442,9 @@ var de_ListNotebookMetadataCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2470
1442
|
};
|
|
2471
1443
|
return response;
|
|
2472
1444
|
}, "de_ListNotebookMetadataCommand");
|
|
2473
|
-
var de_ListNotebookMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2474
|
-
const parsedOutput = {
|
|
2475
|
-
...output,
|
|
2476
|
-
body: await parseErrorBody(output.body, context)
|
|
2477
|
-
};
|
|
2478
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2479
|
-
switch (errorCode) {
|
|
2480
|
-
case "InternalServerException":
|
|
2481
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2482
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2483
|
-
case "InvalidRequestException":
|
|
2484
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2485
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2486
|
-
case "TooManyRequestsException":
|
|
2487
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
2488
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2489
|
-
default:
|
|
2490
|
-
const parsedBody = parsedOutput.body;
|
|
2491
|
-
return throwDefaultError({
|
|
2492
|
-
output,
|
|
2493
|
-
parsedBody,
|
|
2494
|
-
errorCode
|
|
2495
|
-
});
|
|
2496
|
-
}
|
|
2497
|
-
}, "de_ListNotebookMetadataCommandError");
|
|
2498
1445
|
var de_ListNotebookSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2499
1446
|
if (output.statusCode >= 300) {
|
|
2500
|
-
return
|
|
1447
|
+
return de_CommandError(output, context);
|
|
2501
1448
|
}
|
|
2502
1449
|
const data = await parseBody(output.body, context);
|
|
2503
1450
|
let contents = {};
|
|
@@ -2508,34 +1455,9 @@ var de_ListNotebookSessionsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2508
1455
|
};
|
|
2509
1456
|
return response;
|
|
2510
1457
|
}, "de_ListNotebookSessionsCommand");
|
|
2511
|
-
var de_ListNotebookSessionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2512
|
-
const parsedOutput = {
|
|
2513
|
-
...output,
|
|
2514
|
-
body: await parseErrorBody(output.body, context)
|
|
2515
|
-
};
|
|
2516
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2517
|
-
switch (errorCode) {
|
|
2518
|
-
case "InternalServerException":
|
|
2519
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2520
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2521
|
-
case "InvalidRequestException":
|
|
2522
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2523
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2524
|
-
case "ResourceNotFoundException":
|
|
2525
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2526
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2527
|
-
default:
|
|
2528
|
-
const parsedBody = parsedOutput.body;
|
|
2529
|
-
return throwDefaultError({
|
|
2530
|
-
output,
|
|
2531
|
-
parsedBody,
|
|
2532
|
-
errorCode
|
|
2533
|
-
});
|
|
2534
|
-
}
|
|
2535
|
-
}, "de_ListNotebookSessionsCommandError");
|
|
2536
1458
|
var de_ListPreparedStatementsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2537
1459
|
if (output.statusCode >= 300) {
|
|
2538
|
-
return
|
|
1460
|
+
return de_CommandError(output, context);
|
|
2539
1461
|
}
|
|
2540
1462
|
const data = await parseBody(output.body, context);
|
|
2541
1463
|
let contents = {};
|
|
@@ -2546,31 +1468,9 @@ var de_ListPreparedStatementsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2546
1468
|
};
|
|
2547
1469
|
return response;
|
|
2548
1470
|
}, "de_ListPreparedStatementsCommand");
|
|
2549
|
-
var de_ListPreparedStatementsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2550
|
-
const parsedOutput = {
|
|
2551
|
-
...output,
|
|
2552
|
-
body: await parseErrorBody(output.body, context)
|
|
2553
|
-
};
|
|
2554
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2555
|
-
switch (errorCode) {
|
|
2556
|
-
case "InternalServerException":
|
|
2557
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2558
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2559
|
-
case "InvalidRequestException":
|
|
2560
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2561
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2562
|
-
default:
|
|
2563
|
-
const parsedBody = parsedOutput.body;
|
|
2564
|
-
return throwDefaultError({
|
|
2565
|
-
output,
|
|
2566
|
-
parsedBody,
|
|
2567
|
-
errorCode
|
|
2568
|
-
});
|
|
2569
|
-
}
|
|
2570
|
-
}, "de_ListPreparedStatementsCommandError");
|
|
2571
1471
|
var de_ListQueryExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2572
1472
|
if (output.statusCode >= 300) {
|
|
2573
|
-
return
|
|
1473
|
+
return de_CommandError(output, context);
|
|
2574
1474
|
}
|
|
2575
1475
|
const data = await parseBody(output.body, context);
|
|
2576
1476
|
let contents = {};
|
|
@@ -2581,31 +1481,9 @@ var de_ListQueryExecutionsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2581
1481
|
};
|
|
2582
1482
|
return response;
|
|
2583
1483
|
}, "de_ListQueryExecutionsCommand");
|
|
2584
|
-
var de_ListQueryExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2585
|
-
const parsedOutput = {
|
|
2586
|
-
...output,
|
|
2587
|
-
body: await parseErrorBody(output.body, context)
|
|
2588
|
-
};
|
|
2589
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2590
|
-
switch (errorCode) {
|
|
2591
|
-
case "InternalServerException":
|
|
2592
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2593
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2594
|
-
case "InvalidRequestException":
|
|
2595
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2596
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2597
|
-
default:
|
|
2598
|
-
const parsedBody = parsedOutput.body;
|
|
2599
|
-
return throwDefaultError({
|
|
2600
|
-
output,
|
|
2601
|
-
parsedBody,
|
|
2602
|
-
errorCode
|
|
2603
|
-
});
|
|
2604
|
-
}
|
|
2605
|
-
}, "de_ListQueryExecutionsCommandError");
|
|
2606
1484
|
var de_ListSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2607
1485
|
if (output.statusCode >= 300) {
|
|
2608
|
-
return
|
|
1486
|
+
return de_CommandError(output, context);
|
|
2609
1487
|
}
|
|
2610
1488
|
const data = await parseBody(output.body, context);
|
|
2611
1489
|
let contents = {};
|
|
@@ -2616,34 +1494,9 @@ var de_ListSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2616
1494
|
};
|
|
2617
1495
|
return response;
|
|
2618
1496
|
}, "de_ListSessionsCommand");
|
|
2619
|
-
var de_ListSessionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2620
|
-
const parsedOutput = {
|
|
2621
|
-
...output,
|
|
2622
|
-
body: await parseErrorBody(output.body, context)
|
|
2623
|
-
};
|
|
2624
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2625
|
-
switch (errorCode) {
|
|
2626
|
-
case "InternalServerException":
|
|
2627
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2628
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2629
|
-
case "InvalidRequestException":
|
|
2630
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2631
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2632
|
-
case "ResourceNotFoundException":
|
|
2633
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2634
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2635
|
-
default:
|
|
2636
|
-
const parsedBody = parsedOutput.body;
|
|
2637
|
-
return throwDefaultError({
|
|
2638
|
-
output,
|
|
2639
|
-
parsedBody,
|
|
2640
|
-
errorCode
|
|
2641
|
-
});
|
|
2642
|
-
}
|
|
2643
|
-
}, "de_ListSessionsCommandError");
|
|
2644
1497
|
var de_ListTableMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2645
1498
|
if (output.statusCode >= 300) {
|
|
2646
|
-
return
|
|
1499
|
+
return de_CommandError(output, context);
|
|
2647
1500
|
}
|
|
2648
1501
|
const data = await parseBody(output.body, context);
|
|
2649
1502
|
let contents = {};
|
|
@@ -2654,34 +1507,9 @@ var de_ListTableMetadataCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2654
1507
|
};
|
|
2655
1508
|
return response;
|
|
2656
1509
|
}, "de_ListTableMetadataCommand");
|
|
2657
|
-
var de_ListTableMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2658
|
-
const parsedOutput = {
|
|
2659
|
-
...output,
|
|
2660
|
-
body: await parseErrorBody(output.body, context)
|
|
2661
|
-
};
|
|
2662
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2663
|
-
switch (errorCode) {
|
|
2664
|
-
case "InternalServerException":
|
|
2665
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2666
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2667
|
-
case "InvalidRequestException":
|
|
2668
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2669
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2670
|
-
case "MetadataException":
|
|
2671
|
-
case "com.amazonaws.athena#MetadataException":
|
|
2672
|
-
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
2673
|
-
default:
|
|
2674
|
-
const parsedBody = parsedOutput.body;
|
|
2675
|
-
return throwDefaultError({
|
|
2676
|
-
output,
|
|
2677
|
-
parsedBody,
|
|
2678
|
-
errorCode
|
|
2679
|
-
});
|
|
2680
|
-
}
|
|
2681
|
-
}, "de_ListTableMetadataCommandError");
|
|
2682
1510
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2683
1511
|
if (output.statusCode >= 300) {
|
|
2684
|
-
return
|
|
1512
|
+
return de_CommandError(output, context);
|
|
2685
1513
|
}
|
|
2686
1514
|
const data = await parseBody(output.body, context);
|
|
2687
1515
|
let contents = {};
|
|
@@ -2692,34 +1520,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2692
1520
|
};
|
|
2693
1521
|
return response;
|
|
2694
1522
|
}, "de_ListTagsForResourceCommand");
|
|
2695
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2696
|
-
const parsedOutput = {
|
|
2697
|
-
...output,
|
|
2698
|
-
body: await parseErrorBody(output.body, context)
|
|
2699
|
-
};
|
|
2700
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2701
|
-
switch (errorCode) {
|
|
2702
|
-
case "InternalServerException":
|
|
2703
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2704
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2705
|
-
case "InvalidRequestException":
|
|
2706
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2707
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2708
|
-
case "ResourceNotFoundException":
|
|
2709
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2710
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2711
|
-
default:
|
|
2712
|
-
const parsedBody = parsedOutput.body;
|
|
2713
|
-
return throwDefaultError({
|
|
2714
|
-
output,
|
|
2715
|
-
parsedBody,
|
|
2716
|
-
errorCode
|
|
2717
|
-
});
|
|
2718
|
-
}
|
|
2719
|
-
}, "de_ListTagsForResourceCommandError");
|
|
2720
1523
|
var de_ListWorkGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2721
1524
|
if (output.statusCode >= 300) {
|
|
2722
|
-
return
|
|
1525
|
+
return de_CommandError(output, context);
|
|
2723
1526
|
}
|
|
2724
1527
|
const data = await parseBody(output.body, context);
|
|
2725
1528
|
let contents = {};
|
|
@@ -2730,31 +1533,9 @@ var de_ListWorkGroupsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2730
1533
|
};
|
|
2731
1534
|
return response;
|
|
2732
1535
|
}, "de_ListWorkGroupsCommand");
|
|
2733
|
-
var de_ListWorkGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2734
|
-
const parsedOutput = {
|
|
2735
|
-
...output,
|
|
2736
|
-
body: await parseErrorBody(output.body, context)
|
|
2737
|
-
};
|
|
2738
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2739
|
-
switch (errorCode) {
|
|
2740
|
-
case "InternalServerException":
|
|
2741
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2742
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2743
|
-
case "InvalidRequestException":
|
|
2744
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2745
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2746
|
-
default:
|
|
2747
|
-
const parsedBody = parsedOutput.body;
|
|
2748
|
-
return throwDefaultError({
|
|
2749
|
-
output,
|
|
2750
|
-
parsedBody,
|
|
2751
|
-
errorCode
|
|
2752
|
-
});
|
|
2753
|
-
}
|
|
2754
|
-
}, "de_ListWorkGroupsCommandError");
|
|
2755
1536
|
var de_PutCapacityAssignmentConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2756
1537
|
if (output.statusCode >= 300) {
|
|
2757
|
-
return
|
|
1538
|
+
return de_CommandError(output, context);
|
|
2758
1539
|
}
|
|
2759
1540
|
const data = await parseBody(output.body, context);
|
|
2760
1541
|
let contents = {};
|
|
@@ -2765,31 +1546,9 @@ var de_PutCapacityAssignmentConfigurationCommand = /* @__PURE__ */ __name(async
|
|
|
2765
1546
|
};
|
|
2766
1547
|
return response;
|
|
2767
1548
|
}, "de_PutCapacityAssignmentConfigurationCommand");
|
|
2768
|
-
var de_PutCapacityAssignmentConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2769
|
-
const parsedOutput = {
|
|
2770
|
-
...output,
|
|
2771
|
-
body: await parseErrorBody(output.body, context)
|
|
2772
|
-
};
|
|
2773
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2774
|
-
switch (errorCode) {
|
|
2775
|
-
case "InternalServerException":
|
|
2776
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2777
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2778
|
-
case "InvalidRequestException":
|
|
2779
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2780
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2781
|
-
default:
|
|
2782
|
-
const parsedBody = parsedOutput.body;
|
|
2783
|
-
return throwDefaultError({
|
|
2784
|
-
output,
|
|
2785
|
-
parsedBody,
|
|
2786
|
-
errorCode
|
|
2787
|
-
});
|
|
2788
|
-
}
|
|
2789
|
-
}, "de_PutCapacityAssignmentConfigurationCommandError");
|
|
2790
1549
|
var de_StartCalculationExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2791
1550
|
if (output.statusCode >= 300) {
|
|
2792
|
-
return
|
|
1551
|
+
return de_CommandError(output, context);
|
|
2793
1552
|
}
|
|
2794
1553
|
const data = await parseBody(output.body, context);
|
|
2795
1554
|
let contents = {};
|
|
@@ -2800,34 +1559,9 @@ var de_StartCalculationExecutionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2800
1559
|
};
|
|
2801
1560
|
return response;
|
|
2802
1561
|
}, "de_StartCalculationExecutionCommand");
|
|
2803
|
-
var de_StartCalculationExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2804
|
-
const parsedOutput = {
|
|
2805
|
-
...output,
|
|
2806
|
-
body: await parseErrorBody(output.body, context)
|
|
2807
|
-
};
|
|
2808
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2809
|
-
switch (errorCode) {
|
|
2810
|
-
case "InternalServerException":
|
|
2811
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2812
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2813
|
-
case "InvalidRequestException":
|
|
2814
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2815
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2816
|
-
case "ResourceNotFoundException":
|
|
2817
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2818
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2819
|
-
default:
|
|
2820
|
-
const parsedBody = parsedOutput.body;
|
|
2821
|
-
return throwDefaultError({
|
|
2822
|
-
output,
|
|
2823
|
-
parsedBody,
|
|
2824
|
-
errorCode
|
|
2825
|
-
});
|
|
2826
|
-
}
|
|
2827
|
-
}, "de_StartCalculationExecutionCommandError");
|
|
2828
1562
|
var de_StartQueryExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2829
1563
|
if (output.statusCode >= 300) {
|
|
2830
|
-
return
|
|
1564
|
+
return de_CommandError(output, context);
|
|
2831
1565
|
}
|
|
2832
1566
|
const data = await parseBody(output.body, context);
|
|
2833
1567
|
let contents = {};
|
|
@@ -2838,34 +1572,9 @@ var de_StartQueryExecutionCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2838
1572
|
};
|
|
2839
1573
|
return response;
|
|
2840
1574
|
}, "de_StartQueryExecutionCommand");
|
|
2841
|
-
var de_StartQueryExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2842
|
-
const parsedOutput = {
|
|
2843
|
-
...output,
|
|
2844
|
-
body: await parseErrorBody(output.body, context)
|
|
2845
|
-
};
|
|
2846
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2847
|
-
switch (errorCode) {
|
|
2848
|
-
case "InternalServerException":
|
|
2849
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2850
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2851
|
-
case "InvalidRequestException":
|
|
2852
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2853
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2854
|
-
case "TooManyRequestsException":
|
|
2855
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
2856
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2857
|
-
default:
|
|
2858
|
-
const parsedBody = parsedOutput.body;
|
|
2859
|
-
return throwDefaultError({
|
|
2860
|
-
output,
|
|
2861
|
-
parsedBody,
|
|
2862
|
-
errorCode
|
|
2863
|
-
});
|
|
2864
|
-
}
|
|
2865
|
-
}, "de_StartQueryExecutionCommandError");
|
|
2866
1575
|
var de_StartSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2867
1576
|
if (output.statusCode >= 300) {
|
|
2868
|
-
return
|
|
1577
|
+
return de_CommandError(output, context);
|
|
2869
1578
|
}
|
|
2870
1579
|
const data = await parseBody(output.body, context);
|
|
2871
1580
|
let contents = {};
|
|
@@ -2873,43 +1582,12 @@ var de_StartSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2873
1582
|
const response = {
|
|
2874
1583
|
$metadata: deserializeMetadata(output),
|
|
2875
1584
|
...contents
|
|
2876
|
-
};
|
|
2877
|
-
return response;
|
|
2878
|
-
}, "de_StartSessionCommand");
|
|
2879
|
-
var de_StartSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2880
|
-
const parsedOutput = {
|
|
2881
|
-
...output,
|
|
2882
|
-
body: await parseErrorBody(output.body, context)
|
|
2883
|
-
};
|
|
2884
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2885
|
-
switch (errorCode) {
|
|
2886
|
-
case "InternalServerException":
|
|
2887
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2888
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2889
|
-
case "InvalidRequestException":
|
|
2890
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2891
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2892
|
-
case "ResourceNotFoundException":
|
|
2893
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2894
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2895
|
-
case "SessionAlreadyExistsException":
|
|
2896
|
-
case "com.amazonaws.athena#SessionAlreadyExistsException":
|
|
2897
|
-
throw await de_SessionAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2898
|
-
case "TooManyRequestsException":
|
|
2899
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
2900
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2901
|
-
default:
|
|
2902
|
-
const parsedBody = parsedOutput.body;
|
|
2903
|
-
return throwDefaultError({
|
|
2904
|
-
output,
|
|
2905
|
-
parsedBody,
|
|
2906
|
-
errorCode
|
|
2907
|
-
});
|
|
2908
|
-
}
|
|
2909
|
-
}, "de_StartSessionCommandError");
|
|
1585
|
+
};
|
|
1586
|
+
return response;
|
|
1587
|
+
}, "de_StartSessionCommand");
|
|
2910
1588
|
var de_StopCalculationExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2911
1589
|
if (output.statusCode >= 300) {
|
|
2912
|
-
return
|
|
1590
|
+
return de_CommandError(output, context);
|
|
2913
1591
|
}
|
|
2914
1592
|
const data = await parseBody(output.body, context);
|
|
2915
1593
|
let contents = {};
|
|
@@ -2920,34 +1598,9 @@ var de_StopCalculationExecutionCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2920
1598
|
};
|
|
2921
1599
|
return response;
|
|
2922
1600
|
}, "de_StopCalculationExecutionCommand");
|
|
2923
|
-
var de_StopCalculationExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2924
|
-
const parsedOutput = {
|
|
2925
|
-
...output,
|
|
2926
|
-
body: await parseErrorBody(output.body, context)
|
|
2927
|
-
};
|
|
2928
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2929
|
-
switch (errorCode) {
|
|
2930
|
-
case "InternalServerException":
|
|
2931
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2932
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2933
|
-
case "InvalidRequestException":
|
|
2934
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2935
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2936
|
-
case "ResourceNotFoundException":
|
|
2937
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
2938
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2939
|
-
default:
|
|
2940
|
-
const parsedBody = parsedOutput.body;
|
|
2941
|
-
return throwDefaultError({
|
|
2942
|
-
output,
|
|
2943
|
-
parsedBody,
|
|
2944
|
-
errorCode
|
|
2945
|
-
});
|
|
2946
|
-
}
|
|
2947
|
-
}, "de_StopCalculationExecutionCommandError");
|
|
2948
1601
|
var de_StopQueryExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2949
1602
|
if (output.statusCode >= 300) {
|
|
2950
|
-
return
|
|
1603
|
+
return de_CommandError(output, context);
|
|
2951
1604
|
}
|
|
2952
1605
|
const data = await parseBody(output.body, context);
|
|
2953
1606
|
let contents = {};
|
|
@@ -2958,31 +1611,9 @@ var de_StopQueryExecutionCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2958
1611
|
};
|
|
2959
1612
|
return response;
|
|
2960
1613
|
}, "de_StopQueryExecutionCommand");
|
|
2961
|
-
var de_StopQueryExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2962
|
-
const parsedOutput = {
|
|
2963
|
-
...output,
|
|
2964
|
-
body: await parseErrorBody(output.body, context)
|
|
2965
|
-
};
|
|
2966
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2967
|
-
switch (errorCode) {
|
|
2968
|
-
case "InternalServerException":
|
|
2969
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
2970
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2971
|
-
case "InvalidRequestException":
|
|
2972
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
2973
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2974
|
-
default:
|
|
2975
|
-
const parsedBody = parsedOutput.body;
|
|
2976
|
-
return throwDefaultError({
|
|
2977
|
-
output,
|
|
2978
|
-
parsedBody,
|
|
2979
|
-
errorCode
|
|
2980
|
-
});
|
|
2981
|
-
}
|
|
2982
|
-
}, "de_StopQueryExecutionCommandError");
|
|
2983
1614
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2984
1615
|
if (output.statusCode >= 300) {
|
|
2985
|
-
return
|
|
1616
|
+
return de_CommandError(output, context);
|
|
2986
1617
|
}
|
|
2987
1618
|
const data = await parseBody(output.body, context);
|
|
2988
1619
|
let contents = {};
|
|
@@ -2993,34 +1624,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2993
1624
|
};
|
|
2994
1625
|
return response;
|
|
2995
1626
|
}, "de_TagResourceCommand");
|
|
2996
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2997
|
-
const parsedOutput = {
|
|
2998
|
-
...output,
|
|
2999
|
-
body: await parseErrorBody(output.body, context)
|
|
3000
|
-
};
|
|
3001
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3002
|
-
switch (errorCode) {
|
|
3003
|
-
case "InternalServerException":
|
|
3004
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
3005
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3006
|
-
case "InvalidRequestException":
|
|
3007
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
3008
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3009
|
-
case "ResourceNotFoundException":
|
|
3010
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
3011
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3012
|
-
default:
|
|
3013
|
-
const parsedBody = parsedOutput.body;
|
|
3014
|
-
return throwDefaultError({
|
|
3015
|
-
output,
|
|
3016
|
-
parsedBody,
|
|
3017
|
-
errorCode
|
|
3018
|
-
});
|
|
3019
|
-
}
|
|
3020
|
-
}, "de_TagResourceCommandError");
|
|
3021
1627
|
var de_TerminateSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3022
1628
|
if (output.statusCode >= 300) {
|
|
3023
|
-
return
|
|
1629
|
+
return de_CommandError(output, context);
|
|
3024
1630
|
}
|
|
3025
1631
|
const data = await parseBody(output.body, context);
|
|
3026
1632
|
let contents = {};
|
|
@@ -3031,34 +1637,9 @@ var de_TerminateSessionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3031
1637
|
};
|
|
3032
1638
|
return response;
|
|
3033
1639
|
}, "de_TerminateSessionCommand");
|
|
3034
|
-
var de_TerminateSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3035
|
-
const parsedOutput = {
|
|
3036
|
-
...output,
|
|
3037
|
-
body: await parseErrorBody(output.body, context)
|
|
3038
|
-
};
|
|
3039
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3040
|
-
switch (errorCode) {
|
|
3041
|
-
case "InternalServerException":
|
|
3042
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
3043
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3044
|
-
case "InvalidRequestException":
|
|
3045
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
3046
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3047
|
-
case "ResourceNotFoundException":
|
|
3048
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
3049
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3050
|
-
default:
|
|
3051
|
-
const parsedBody = parsedOutput.body;
|
|
3052
|
-
return throwDefaultError({
|
|
3053
|
-
output,
|
|
3054
|
-
parsedBody,
|
|
3055
|
-
errorCode
|
|
3056
|
-
});
|
|
3057
|
-
}
|
|
3058
|
-
}, "de_TerminateSessionCommandError");
|
|
3059
1640
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3060
1641
|
if (output.statusCode >= 300) {
|
|
3061
|
-
return
|
|
1642
|
+
return de_CommandError(output, context);
|
|
3062
1643
|
}
|
|
3063
1644
|
const data = await parseBody(output.body, context);
|
|
3064
1645
|
let contents = {};
|
|
@@ -3069,34 +1650,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3069
1650
|
};
|
|
3070
1651
|
return response;
|
|
3071
1652
|
}, "de_UntagResourceCommand");
|
|
3072
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3073
|
-
const parsedOutput = {
|
|
3074
|
-
...output,
|
|
3075
|
-
body: await parseErrorBody(output.body, context)
|
|
3076
|
-
};
|
|
3077
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3078
|
-
switch (errorCode) {
|
|
3079
|
-
case "InternalServerException":
|
|
3080
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
3081
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3082
|
-
case "InvalidRequestException":
|
|
3083
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
3084
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3085
|
-
case "ResourceNotFoundException":
|
|
3086
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
3087
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3088
|
-
default:
|
|
3089
|
-
const parsedBody = parsedOutput.body;
|
|
3090
|
-
return throwDefaultError({
|
|
3091
|
-
output,
|
|
3092
|
-
parsedBody,
|
|
3093
|
-
errorCode
|
|
3094
|
-
});
|
|
3095
|
-
}
|
|
3096
|
-
}, "de_UntagResourceCommandError");
|
|
3097
1653
|
var de_UpdateCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3098
1654
|
if (output.statusCode >= 300) {
|
|
3099
|
-
return
|
|
1655
|
+
return de_CommandError(output, context);
|
|
3100
1656
|
}
|
|
3101
1657
|
const data = await parseBody(output.body, context);
|
|
3102
1658
|
let contents = {};
|
|
@@ -3107,31 +1663,9 @@ var de_UpdateCapacityReservationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3107
1663
|
};
|
|
3108
1664
|
return response;
|
|
3109
1665
|
}, "de_UpdateCapacityReservationCommand");
|
|
3110
|
-
var de_UpdateCapacityReservationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3111
|
-
const parsedOutput = {
|
|
3112
|
-
...output,
|
|
3113
|
-
body: await parseErrorBody(output.body, context)
|
|
3114
|
-
};
|
|
3115
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3116
|
-
switch (errorCode) {
|
|
3117
|
-
case "InternalServerException":
|
|
3118
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
3119
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3120
|
-
case "InvalidRequestException":
|
|
3121
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
3122
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3123
|
-
default:
|
|
3124
|
-
const parsedBody = parsedOutput.body;
|
|
3125
|
-
return throwDefaultError({
|
|
3126
|
-
output,
|
|
3127
|
-
parsedBody,
|
|
3128
|
-
errorCode
|
|
3129
|
-
});
|
|
3130
|
-
}
|
|
3131
|
-
}, "de_UpdateCapacityReservationCommandError");
|
|
3132
1666
|
var de_UpdateDataCatalogCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3133
1667
|
if (output.statusCode >= 300) {
|
|
3134
|
-
return
|
|
1668
|
+
return de_CommandError(output, context);
|
|
3135
1669
|
}
|
|
3136
1670
|
const data = await parseBody(output.body, context);
|
|
3137
1671
|
let contents = {};
|
|
@@ -3142,31 +1676,9 @@ var de_UpdateDataCatalogCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3142
1676
|
};
|
|
3143
1677
|
return response;
|
|
3144
1678
|
}, "de_UpdateDataCatalogCommand");
|
|
3145
|
-
var de_UpdateDataCatalogCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3146
|
-
const parsedOutput = {
|
|
3147
|
-
...output,
|
|
3148
|
-
body: await parseErrorBody(output.body, context)
|
|
3149
|
-
};
|
|
3150
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3151
|
-
switch (errorCode) {
|
|
3152
|
-
case "InternalServerException":
|
|
3153
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
3154
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3155
|
-
case "InvalidRequestException":
|
|
3156
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
3157
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3158
|
-
default:
|
|
3159
|
-
const parsedBody = parsedOutput.body;
|
|
3160
|
-
return throwDefaultError({
|
|
3161
|
-
output,
|
|
3162
|
-
parsedBody,
|
|
3163
|
-
errorCode
|
|
3164
|
-
});
|
|
3165
|
-
}
|
|
3166
|
-
}, "de_UpdateDataCatalogCommandError");
|
|
3167
1679
|
var de_UpdateNamedQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3168
1680
|
if (output.statusCode >= 300) {
|
|
3169
|
-
return
|
|
1681
|
+
return de_CommandError(output, context);
|
|
3170
1682
|
}
|
|
3171
1683
|
const data = await parseBody(output.body, context);
|
|
3172
1684
|
let contents = {};
|
|
@@ -3177,31 +1689,9 @@ var de_UpdateNamedQueryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3177
1689
|
};
|
|
3178
1690
|
return response;
|
|
3179
1691
|
}, "de_UpdateNamedQueryCommand");
|
|
3180
|
-
var de_UpdateNamedQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3181
|
-
const parsedOutput = {
|
|
3182
|
-
...output,
|
|
3183
|
-
body: await parseErrorBody(output.body, context)
|
|
3184
|
-
};
|
|
3185
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3186
|
-
switch (errorCode) {
|
|
3187
|
-
case "InternalServerException":
|
|
3188
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
3189
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3190
|
-
case "InvalidRequestException":
|
|
3191
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
3192
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3193
|
-
default:
|
|
3194
|
-
const parsedBody = parsedOutput.body;
|
|
3195
|
-
return throwDefaultError({
|
|
3196
|
-
output,
|
|
3197
|
-
parsedBody,
|
|
3198
|
-
errorCode
|
|
3199
|
-
});
|
|
3200
|
-
}
|
|
3201
|
-
}, "de_UpdateNamedQueryCommandError");
|
|
3202
1692
|
var de_UpdateNotebookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3203
1693
|
if (output.statusCode >= 300) {
|
|
3204
|
-
return
|
|
1694
|
+
return de_CommandError(output, context);
|
|
3205
1695
|
}
|
|
3206
1696
|
const data = await parseBody(output.body, context);
|
|
3207
1697
|
let contents = {};
|
|
@@ -3212,34 +1702,9 @@ var de_UpdateNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3212
1702
|
};
|
|
3213
1703
|
return response;
|
|
3214
1704
|
}, "de_UpdateNotebookCommand");
|
|
3215
|
-
var de_UpdateNotebookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3216
|
-
const parsedOutput = {
|
|
3217
|
-
...output,
|
|
3218
|
-
body: await parseErrorBody(output.body, context)
|
|
3219
|
-
};
|
|
3220
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3221
|
-
switch (errorCode) {
|
|
3222
|
-
case "InternalServerException":
|
|
3223
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
3224
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3225
|
-
case "InvalidRequestException":
|
|
3226
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
3227
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3228
|
-
case "TooManyRequestsException":
|
|
3229
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
3230
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3231
|
-
default:
|
|
3232
|
-
const parsedBody = parsedOutput.body;
|
|
3233
|
-
return throwDefaultError({
|
|
3234
|
-
output,
|
|
3235
|
-
parsedBody,
|
|
3236
|
-
errorCode
|
|
3237
|
-
});
|
|
3238
|
-
}
|
|
3239
|
-
}, "de_UpdateNotebookCommandError");
|
|
3240
1705
|
var de_UpdateNotebookMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3241
1706
|
if (output.statusCode >= 300) {
|
|
3242
|
-
return
|
|
1707
|
+
return de_CommandError(output, context);
|
|
3243
1708
|
}
|
|
3244
1709
|
const data = await parseBody(output.body, context);
|
|
3245
1710
|
let contents = {};
|
|
@@ -3250,34 +1715,9 @@ var de_UpdateNotebookMetadataCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3250
1715
|
};
|
|
3251
1716
|
return response;
|
|
3252
1717
|
}, "de_UpdateNotebookMetadataCommand");
|
|
3253
|
-
var de_UpdateNotebookMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3254
|
-
const parsedOutput = {
|
|
3255
|
-
...output,
|
|
3256
|
-
body: await parseErrorBody(output.body, context)
|
|
3257
|
-
};
|
|
3258
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3259
|
-
switch (errorCode) {
|
|
3260
|
-
case "InternalServerException":
|
|
3261
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
3262
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3263
|
-
case "InvalidRequestException":
|
|
3264
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
3265
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3266
|
-
case "TooManyRequestsException":
|
|
3267
|
-
case "com.amazonaws.athena#TooManyRequestsException":
|
|
3268
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3269
|
-
default:
|
|
3270
|
-
const parsedBody = parsedOutput.body;
|
|
3271
|
-
return throwDefaultError({
|
|
3272
|
-
output,
|
|
3273
|
-
parsedBody,
|
|
3274
|
-
errorCode
|
|
3275
|
-
});
|
|
3276
|
-
}
|
|
3277
|
-
}, "de_UpdateNotebookMetadataCommandError");
|
|
3278
1718
|
var de_UpdatePreparedStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3279
1719
|
if (output.statusCode >= 300) {
|
|
3280
|
-
return
|
|
1720
|
+
return de_CommandError(output, context);
|
|
3281
1721
|
}
|
|
3282
1722
|
const data = await parseBody(output.body, context);
|
|
3283
1723
|
let contents = {};
|
|
@@ -3288,34 +1728,9 @@ var de_UpdatePreparedStatementCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3288
1728
|
};
|
|
3289
1729
|
return response;
|
|
3290
1730
|
}, "de_UpdatePreparedStatementCommand");
|
|
3291
|
-
var de_UpdatePreparedStatementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3292
|
-
const parsedOutput = {
|
|
3293
|
-
...output,
|
|
3294
|
-
body: await parseErrorBody(output.body, context)
|
|
3295
|
-
};
|
|
3296
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3297
|
-
switch (errorCode) {
|
|
3298
|
-
case "InternalServerException":
|
|
3299
|
-
case "com.amazonaws.athena#InternalServerException":
|
|
3300
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3301
|
-
case "InvalidRequestException":
|
|
3302
|
-
case "com.amazonaws.athena#InvalidRequestException":
|
|
3303
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3304
|
-
case "ResourceNotFoundException":
|
|
3305
|
-
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
3306
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3307
|
-
default:
|
|
3308
|
-
const parsedBody = parsedOutput.body;
|
|
3309
|
-
return throwDefaultError({
|
|
3310
|
-
output,
|
|
3311
|
-
parsedBody,
|
|
3312
|
-
errorCode
|
|
3313
|
-
});
|
|
3314
|
-
}
|
|
3315
|
-
}, "de_UpdatePreparedStatementCommandError");
|
|
3316
1731
|
var de_UpdateWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3317
1732
|
if (output.statusCode >= 300) {
|
|
3318
|
-
return
|
|
1733
|
+
return de_CommandError(output, context);
|
|
3319
1734
|
}
|
|
3320
1735
|
const data = await parseBody(output.body, context);
|
|
3321
1736
|
let contents = {};
|
|
@@ -3326,7 +1741,7 @@ var de_UpdateWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3326
1741
|
};
|
|
3327
1742
|
return response;
|
|
3328
1743
|
}, "de_UpdateWorkGroupCommand");
|
|
3329
|
-
var
|
|
1744
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3330
1745
|
const parsedOutput = {
|
|
3331
1746
|
...output,
|
|
3332
1747
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3339,6 +1754,18 @@ var de_UpdateWorkGroupCommandError = /* @__PURE__ */ __name(async (output, conte
|
|
|
3339
1754
|
case "InvalidRequestException":
|
|
3340
1755
|
case "com.amazonaws.athena#InvalidRequestException":
|
|
3341
1756
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1757
|
+
case "TooManyRequestsException":
|
|
1758
|
+
case "com.amazonaws.athena#TooManyRequestsException":
|
|
1759
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1760
|
+
case "ResourceNotFoundException":
|
|
1761
|
+
case "com.amazonaws.athena#ResourceNotFoundException":
|
|
1762
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1763
|
+
case "MetadataException":
|
|
1764
|
+
case "com.amazonaws.athena#MetadataException":
|
|
1765
|
+
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
1766
|
+
case "SessionAlreadyExistsException":
|
|
1767
|
+
case "com.amazonaws.athena#SessionAlreadyExistsException":
|
|
1768
|
+
throw await de_SessionAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3342
1769
|
default:
|
|
3343
1770
|
const parsedBody = parsedOutput.body;
|
|
3344
1771
|
return throwDefaultError({
|
|
@@ -3347,7 +1774,7 @@ var de_UpdateWorkGroupCommandError = /* @__PURE__ */ __name(async (output, conte
|
|
|
3347
1774
|
errorCode
|
|
3348
1775
|
});
|
|
3349
1776
|
}
|
|
3350
|
-
}, "
|
|
1777
|
+
}, "de_CommandError");
|
|
3351
1778
|
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3352
1779
|
const body = parsedOutput.body;
|
|
3353
1780
|
const deserialized = (0, import_smithy_client._json)(body);
|