@aws-sdk/client-athena 3.523.0 → 3.529.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 +71 -111
- package/dist-es/protocols/Aws_json1_1.js +1 -40
- package/package.json +17 -17
- package/dist-cjs/Athena.js +0 -1
- package/dist-cjs/AthenaClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/BatchGetNamedQueryCommand.js +0 -1
- package/dist-cjs/commands/BatchGetPreparedStatementCommand.js +0 -1
- package/dist-cjs/commands/BatchGetQueryExecutionCommand.js +0 -1
- package/dist-cjs/commands/CancelCapacityReservationCommand.js +0 -1
- package/dist-cjs/commands/CreateCapacityReservationCommand.js +0 -1
- package/dist-cjs/commands/CreateDataCatalogCommand.js +0 -1
- package/dist-cjs/commands/CreateNamedQueryCommand.js +0 -1
- package/dist-cjs/commands/CreateNotebookCommand.js +0 -1
- package/dist-cjs/commands/CreatePreparedStatementCommand.js +0 -1
- package/dist-cjs/commands/CreatePresignedNotebookUrlCommand.js +0 -1
- package/dist-cjs/commands/CreateWorkGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteCapacityReservationCommand.js +0 -1
- package/dist-cjs/commands/DeleteDataCatalogCommand.js +0 -1
- package/dist-cjs/commands/DeleteNamedQueryCommand.js +0 -1
- package/dist-cjs/commands/DeleteNotebookCommand.js +0 -1
- package/dist-cjs/commands/DeletePreparedStatementCommand.js +0 -1
- package/dist-cjs/commands/DeleteWorkGroupCommand.js +0 -1
- package/dist-cjs/commands/ExportNotebookCommand.js +0 -1
- package/dist-cjs/commands/GetCalculationExecutionCodeCommand.js +0 -1
- package/dist-cjs/commands/GetCalculationExecutionCommand.js +0 -1
- package/dist-cjs/commands/GetCalculationExecutionStatusCommand.js +0 -1
- package/dist-cjs/commands/GetCapacityAssignmentConfigurationCommand.js +0 -1
- package/dist-cjs/commands/GetCapacityReservationCommand.js +0 -1
- package/dist-cjs/commands/GetDataCatalogCommand.js +0 -1
- package/dist-cjs/commands/GetDatabaseCommand.js +0 -1
- package/dist-cjs/commands/GetNamedQueryCommand.js +0 -1
- package/dist-cjs/commands/GetNotebookMetadataCommand.js +0 -1
- package/dist-cjs/commands/GetPreparedStatementCommand.js +0 -1
- package/dist-cjs/commands/GetQueryExecutionCommand.js +0 -1
- package/dist-cjs/commands/GetQueryResultsCommand.js +0 -1
- package/dist-cjs/commands/GetQueryRuntimeStatisticsCommand.js +0 -1
- package/dist-cjs/commands/GetSessionCommand.js +0 -1
- package/dist-cjs/commands/GetSessionStatusCommand.js +0 -1
- package/dist-cjs/commands/GetTableMetadataCommand.js +0 -1
- package/dist-cjs/commands/GetWorkGroupCommand.js +0 -1
- package/dist-cjs/commands/ImportNotebookCommand.js +0 -1
- package/dist-cjs/commands/ListApplicationDPUSizesCommand.js +0 -1
- package/dist-cjs/commands/ListCalculationExecutionsCommand.js +0 -1
- package/dist-cjs/commands/ListCapacityReservationsCommand.js +0 -1
- package/dist-cjs/commands/ListDataCatalogsCommand.js +0 -1
- package/dist-cjs/commands/ListDatabasesCommand.js +0 -1
- package/dist-cjs/commands/ListEngineVersionsCommand.js +0 -1
- package/dist-cjs/commands/ListExecutorsCommand.js +0 -1
- package/dist-cjs/commands/ListNamedQueriesCommand.js +0 -1
- package/dist-cjs/commands/ListNotebookMetadataCommand.js +0 -1
- package/dist-cjs/commands/ListNotebookSessionsCommand.js +0 -1
- package/dist-cjs/commands/ListPreparedStatementsCommand.js +0 -1
- package/dist-cjs/commands/ListQueryExecutionsCommand.js +0 -1
- package/dist-cjs/commands/ListSessionsCommand.js +0 -1
- package/dist-cjs/commands/ListTableMetadataCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListWorkGroupsCommand.js +0 -1
- package/dist-cjs/commands/PutCapacityAssignmentConfigurationCommand.js +0 -1
- package/dist-cjs/commands/StartCalculationExecutionCommand.js +0 -1
- package/dist-cjs/commands/StartQueryExecutionCommand.js +0 -1
- package/dist-cjs/commands/StartSessionCommand.js +0 -1
- package/dist-cjs/commands/StopCalculationExecutionCommand.js +0 -1
- package/dist-cjs/commands/StopQueryExecutionCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/TerminateSessionCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateCapacityReservationCommand.js +0 -1
- package/dist-cjs/commands/UpdateDataCatalogCommand.js +0 -1
- package/dist-cjs/commands/UpdateNamedQueryCommand.js +0 -1
- package/dist-cjs/commands/UpdateNotebookCommand.js +0 -1
- package/dist-cjs/commands/UpdateNotebookMetadataCommand.js +0 -1
- package/dist-cjs/commands/UpdatePreparedStatementCommand.js +0 -1
- package/dist-cjs/commands/UpdateWorkGroupCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/AthenaServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/GetQueryResultsPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListApplicationDPUSizesPaginator.js +0 -1
- package/dist-cjs/pagination/ListCalculationExecutionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListCapacityReservationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDataCatalogsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDatabasesPaginator.js +0 -1
- package/dist-cjs/pagination/ListEngineVersionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListExecutorsPaginator.js +0 -1
- package/dist-cjs/pagination/ListNamedQueriesPaginator.js +0 -1
- package/dist-cjs/pagination/ListPreparedStatementsPaginator.js +0 -1
- package/dist-cjs/pagination/ListQueryExecutionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListSessionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTableMetadataPaginator.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-cjs/pagination/ListWorkGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -286,6 +286,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
286
286
|
var import_types = require("@smithy/types");
|
|
287
287
|
|
|
288
288
|
// src/protocols/Aws_json1_1.ts
|
|
289
|
+
var import_core2 = require("@aws-sdk/core");
|
|
289
290
|
|
|
290
291
|
|
|
291
292
|
var import_uuid = require("uuid");
|
|
@@ -919,7 +920,7 @@ var de_BatchGetNamedQueryCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
919
920
|
if (output.statusCode >= 300) {
|
|
920
921
|
return de_CommandError(output, context);
|
|
921
922
|
}
|
|
922
|
-
const data = await
|
|
923
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
923
924
|
let contents = {};
|
|
924
925
|
contents = (0, import_smithy_client._json)(data);
|
|
925
926
|
const response = {
|
|
@@ -932,7 +933,7 @@ var de_BatchGetPreparedStatementCommand = /* @__PURE__ */ __name(async (output,
|
|
|
932
933
|
if (output.statusCode >= 300) {
|
|
933
934
|
return de_CommandError(output, context);
|
|
934
935
|
}
|
|
935
|
-
const data = await
|
|
936
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
936
937
|
let contents = {};
|
|
937
938
|
contents = de_BatchGetPreparedStatementOutput(data, context);
|
|
938
939
|
const response = {
|
|
@@ -945,7 +946,7 @@ var de_BatchGetQueryExecutionCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
945
946
|
if (output.statusCode >= 300) {
|
|
946
947
|
return de_CommandError(output, context);
|
|
947
948
|
}
|
|
948
|
-
const data = await
|
|
949
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
949
950
|
let contents = {};
|
|
950
951
|
contents = de_BatchGetQueryExecutionOutput(data, context);
|
|
951
952
|
const response = {
|
|
@@ -958,7 +959,7 @@ var de_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
958
959
|
if (output.statusCode >= 300) {
|
|
959
960
|
return de_CommandError(output, context);
|
|
960
961
|
}
|
|
961
|
-
const data = await
|
|
962
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
962
963
|
let contents = {};
|
|
963
964
|
contents = (0, import_smithy_client._json)(data);
|
|
964
965
|
const response = {
|
|
@@ -971,7 +972,7 @@ var de_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
971
972
|
if (output.statusCode >= 300) {
|
|
972
973
|
return de_CommandError(output, context);
|
|
973
974
|
}
|
|
974
|
-
const data = await
|
|
975
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
975
976
|
let contents = {};
|
|
976
977
|
contents = (0, import_smithy_client._json)(data);
|
|
977
978
|
const response = {
|
|
@@ -984,7 +985,7 @@ var de_CreateDataCatalogCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
984
985
|
if (output.statusCode >= 300) {
|
|
985
986
|
return de_CommandError(output, context);
|
|
986
987
|
}
|
|
987
|
-
const data = await
|
|
988
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
988
989
|
let contents = {};
|
|
989
990
|
contents = (0, import_smithy_client._json)(data);
|
|
990
991
|
const response = {
|
|
@@ -997,7 +998,7 @@ var de_CreateNamedQueryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
997
998
|
if (output.statusCode >= 300) {
|
|
998
999
|
return de_CommandError(output, context);
|
|
999
1000
|
}
|
|
1000
|
-
const data = await
|
|
1001
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1001
1002
|
let contents = {};
|
|
1002
1003
|
contents = (0, import_smithy_client._json)(data);
|
|
1003
1004
|
const response = {
|
|
@@ -1010,7 +1011,7 @@ var de_CreateNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1010
1011
|
if (output.statusCode >= 300) {
|
|
1011
1012
|
return de_CommandError(output, context);
|
|
1012
1013
|
}
|
|
1013
|
-
const data = await
|
|
1014
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1014
1015
|
let contents = {};
|
|
1015
1016
|
contents = (0, import_smithy_client._json)(data);
|
|
1016
1017
|
const response = {
|
|
@@ -1023,7 +1024,7 @@ var de_CreatePreparedStatementCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1023
1024
|
if (output.statusCode >= 300) {
|
|
1024
1025
|
return de_CommandError(output, context);
|
|
1025
1026
|
}
|
|
1026
|
-
const data = await
|
|
1027
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1027
1028
|
let contents = {};
|
|
1028
1029
|
contents = (0, import_smithy_client._json)(data);
|
|
1029
1030
|
const response = {
|
|
@@ -1036,7 +1037,7 @@ var de_CreatePresignedNotebookUrlCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1036
1037
|
if (output.statusCode >= 300) {
|
|
1037
1038
|
return de_CommandError(output, context);
|
|
1038
1039
|
}
|
|
1039
|
-
const data = await
|
|
1040
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1040
1041
|
let contents = {};
|
|
1041
1042
|
contents = (0, import_smithy_client._json)(data);
|
|
1042
1043
|
const response = {
|
|
@@ -1049,7 +1050,7 @@ var de_CreateWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1049
1050
|
if (output.statusCode >= 300) {
|
|
1050
1051
|
return de_CommandError(output, context);
|
|
1051
1052
|
}
|
|
1052
|
-
const data = await
|
|
1053
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1053
1054
|
let contents = {};
|
|
1054
1055
|
contents = (0, import_smithy_client._json)(data);
|
|
1055
1056
|
const response = {
|
|
@@ -1062,7 +1063,7 @@ var de_DeleteCapacityReservationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1062
1063
|
if (output.statusCode >= 300) {
|
|
1063
1064
|
return de_CommandError(output, context);
|
|
1064
1065
|
}
|
|
1065
|
-
const data = await
|
|
1066
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1066
1067
|
let contents = {};
|
|
1067
1068
|
contents = (0, import_smithy_client._json)(data);
|
|
1068
1069
|
const response = {
|
|
@@ -1075,7 +1076,7 @@ var de_DeleteDataCatalogCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1075
1076
|
if (output.statusCode >= 300) {
|
|
1076
1077
|
return de_CommandError(output, context);
|
|
1077
1078
|
}
|
|
1078
|
-
const data = await
|
|
1079
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1079
1080
|
let contents = {};
|
|
1080
1081
|
contents = (0, import_smithy_client._json)(data);
|
|
1081
1082
|
const response = {
|
|
@@ -1088,7 +1089,7 @@ var de_DeleteNamedQueryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1088
1089
|
if (output.statusCode >= 300) {
|
|
1089
1090
|
return de_CommandError(output, context);
|
|
1090
1091
|
}
|
|
1091
|
-
const data = await
|
|
1092
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1092
1093
|
let contents = {};
|
|
1093
1094
|
contents = (0, import_smithy_client._json)(data);
|
|
1094
1095
|
const response = {
|
|
@@ -1101,7 +1102,7 @@ var de_DeleteNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1101
1102
|
if (output.statusCode >= 300) {
|
|
1102
1103
|
return de_CommandError(output, context);
|
|
1103
1104
|
}
|
|
1104
|
-
const data = await
|
|
1105
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1105
1106
|
let contents = {};
|
|
1106
1107
|
contents = (0, import_smithy_client._json)(data);
|
|
1107
1108
|
const response = {
|
|
@@ -1114,7 +1115,7 @@ var de_DeletePreparedStatementCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1114
1115
|
if (output.statusCode >= 300) {
|
|
1115
1116
|
return de_CommandError(output, context);
|
|
1116
1117
|
}
|
|
1117
|
-
const data = await
|
|
1118
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1118
1119
|
let contents = {};
|
|
1119
1120
|
contents = (0, import_smithy_client._json)(data);
|
|
1120
1121
|
const response = {
|
|
@@ -1127,7 +1128,7 @@ var de_DeleteWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1127
1128
|
if (output.statusCode >= 300) {
|
|
1128
1129
|
return de_CommandError(output, context);
|
|
1129
1130
|
}
|
|
1130
|
-
const data = await
|
|
1131
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1131
1132
|
let contents = {};
|
|
1132
1133
|
contents = (0, import_smithy_client._json)(data);
|
|
1133
1134
|
const response = {
|
|
@@ -1140,7 +1141,7 @@ var de_ExportNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1140
1141
|
if (output.statusCode >= 300) {
|
|
1141
1142
|
return de_CommandError(output, context);
|
|
1142
1143
|
}
|
|
1143
|
-
const data = await
|
|
1144
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1144
1145
|
let contents = {};
|
|
1145
1146
|
contents = de_ExportNotebookOutput(data, context);
|
|
1146
1147
|
const response = {
|
|
@@ -1153,7 +1154,7 @@ var de_GetCalculationExecutionCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1153
1154
|
if (output.statusCode >= 300) {
|
|
1154
1155
|
return de_CommandError(output, context);
|
|
1155
1156
|
}
|
|
1156
|
-
const data = await
|
|
1157
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1157
1158
|
let contents = {};
|
|
1158
1159
|
contents = de_GetCalculationExecutionResponse(data, context);
|
|
1159
1160
|
const response = {
|
|
@@ -1166,7 +1167,7 @@ var de_GetCalculationExecutionCodeCommand = /* @__PURE__ */ __name(async (output
|
|
|
1166
1167
|
if (output.statusCode >= 300) {
|
|
1167
1168
|
return de_CommandError(output, context);
|
|
1168
1169
|
}
|
|
1169
|
-
const data = await
|
|
1170
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1170
1171
|
let contents = {};
|
|
1171
1172
|
contents = (0, import_smithy_client._json)(data);
|
|
1172
1173
|
const response = {
|
|
@@ -1179,7 +1180,7 @@ var de_GetCalculationExecutionStatusCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1179
1180
|
if (output.statusCode >= 300) {
|
|
1180
1181
|
return de_CommandError(output, context);
|
|
1181
1182
|
}
|
|
1182
|
-
const data = await
|
|
1183
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1183
1184
|
let contents = {};
|
|
1184
1185
|
contents = de_GetCalculationExecutionStatusResponse(data, context);
|
|
1185
1186
|
const response = {
|
|
@@ -1192,7 +1193,7 @@ var de_GetCapacityAssignmentConfigurationCommand = /* @__PURE__ */ __name(async
|
|
|
1192
1193
|
if (output.statusCode >= 300) {
|
|
1193
1194
|
return de_CommandError(output, context);
|
|
1194
1195
|
}
|
|
1195
|
-
const data = await
|
|
1196
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1196
1197
|
let contents = {};
|
|
1197
1198
|
contents = (0, import_smithy_client._json)(data);
|
|
1198
1199
|
const response = {
|
|
@@ -1205,7 +1206,7 @@ var de_GetCapacityReservationCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1205
1206
|
if (output.statusCode >= 300) {
|
|
1206
1207
|
return de_CommandError(output, context);
|
|
1207
1208
|
}
|
|
1208
|
-
const data = await
|
|
1209
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1209
1210
|
let contents = {};
|
|
1210
1211
|
contents = de_GetCapacityReservationOutput(data, context);
|
|
1211
1212
|
const response = {
|
|
@@ -1218,7 +1219,7 @@ var de_GetDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1218
1219
|
if (output.statusCode >= 300) {
|
|
1219
1220
|
return de_CommandError(output, context);
|
|
1220
1221
|
}
|
|
1221
|
-
const data = await
|
|
1222
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1222
1223
|
let contents = {};
|
|
1223
1224
|
contents = (0, import_smithy_client._json)(data);
|
|
1224
1225
|
const response = {
|
|
@@ -1231,7 +1232,7 @@ var de_GetDataCatalogCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1231
1232
|
if (output.statusCode >= 300) {
|
|
1232
1233
|
return de_CommandError(output, context);
|
|
1233
1234
|
}
|
|
1234
|
-
const data = await
|
|
1235
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1235
1236
|
let contents = {};
|
|
1236
1237
|
contents = (0, import_smithy_client._json)(data);
|
|
1237
1238
|
const response = {
|
|
@@ -1244,7 +1245,7 @@ var de_GetNamedQueryCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1244
1245
|
if (output.statusCode >= 300) {
|
|
1245
1246
|
return de_CommandError(output, context);
|
|
1246
1247
|
}
|
|
1247
|
-
const data = await
|
|
1248
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1248
1249
|
let contents = {};
|
|
1249
1250
|
contents = (0, import_smithy_client._json)(data);
|
|
1250
1251
|
const response = {
|
|
@@ -1257,7 +1258,7 @@ var de_GetNotebookMetadataCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1257
1258
|
if (output.statusCode >= 300) {
|
|
1258
1259
|
return de_CommandError(output, context);
|
|
1259
1260
|
}
|
|
1260
|
-
const data = await
|
|
1261
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1261
1262
|
let contents = {};
|
|
1262
1263
|
contents = de_GetNotebookMetadataOutput(data, context);
|
|
1263
1264
|
const response = {
|
|
@@ -1270,7 +1271,7 @@ var de_GetPreparedStatementCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1270
1271
|
if (output.statusCode >= 300) {
|
|
1271
1272
|
return de_CommandError(output, context);
|
|
1272
1273
|
}
|
|
1273
|
-
const data = await
|
|
1274
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1274
1275
|
let contents = {};
|
|
1275
1276
|
contents = de_GetPreparedStatementOutput(data, context);
|
|
1276
1277
|
const response = {
|
|
@@ -1283,7 +1284,7 @@ var de_GetQueryExecutionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1283
1284
|
if (output.statusCode >= 300) {
|
|
1284
1285
|
return de_CommandError(output, context);
|
|
1285
1286
|
}
|
|
1286
|
-
const data = await
|
|
1287
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1287
1288
|
let contents = {};
|
|
1288
1289
|
contents = de_GetQueryExecutionOutput(data, context);
|
|
1289
1290
|
const response = {
|
|
@@ -1296,7 +1297,7 @@ var de_GetQueryResultsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1296
1297
|
if (output.statusCode >= 300) {
|
|
1297
1298
|
return de_CommandError(output, context);
|
|
1298
1299
|
}
|
|
1299
|
-
const data = await
|
|
1300
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1300
1301
|
let contents = {};
|
|
1301
1302
|
contents = (0, import_smithy_client._json)(data);
|
|
1302
1303
|
const response = {
|
|
@@ -1309,7 +1310,7 @@ var de_GetQueryRuntimeStatisticsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1309
1310
|
if (output.statusCode >= 300) {
|
|
1310
1311
|
return de_CommandError(output, context);
|
|
1311
1312
|
}
|
|
1312
|
-
const data = await
|
|
1313
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1313
1314
|
let contents = {};
|
|
1314
1315
|
contents = de_GetQueryRuntimeStatisticsOutput(data, context);
|
|
1315
1316
|
const response = {
|
|
@@ -1322,7 +1323,7 @@ var de_GetSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1322
1323
|
if (output.statusCode >= 300) {
|
|
1323
1324
|
return de_CommandError(output, context);
|
|
1324
1325
|
}
|
|
1325
|
-
const data = await
|
|
1326
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1326
1327
|
let contents = {};
|
|
1327
1328
|
contents = de_GetSessionResponse(data, context);
|
|
1328
1329
|
const response = {
|
|
@@ -1335,7 +1336,7 @@ var de_GetSessionStatusCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1335
1336
|
if (output.statusCode >= 300) {
|
|
1336
1337
|
return de_CommandError(output, context);
|
|
1337
1338
|
}
|
|
1338
|
-
const data = await
|
|
1339
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1339
1340
|
let contents = {};
|
|
1340
1341
|
contents = de_GetSessionStatusResponse(data, context);
|
|
1341
1342
|
const response = {
|
|
@@ -1348,7 +1349,7 @@ var de_GetTableMetadataCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1348
1349
|
if (output.statusCode >= 300) {
|
|
1349
1350
|
return de_CommandError(output, context);
|
|
1350
1351
|
}
|
|
1351
|
-
const data = await
|
|
1352
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1352
1353
|
let contents = {};
|
|
1353
1354
|
contents = de_GetTableMetadataOutput(data, context);
|
|
1354
1355
|
const response = {
|
|
@@ -1361,7 +1362,7 @@ var de_GetWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1361
1362
|
if (output.statusCode >= 300) {
|
|
1362
1363
|
return de_CommandError(output, context);
|
|
1363
1364
|
}
|
|
1364
|
-
const data = await
|
|
1365
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1365
1366
|
let contents = {};
|
|
1366
1367
|
contents = de_GetWorkGroupOutput(data, context);
|
|
1367
1368
|
const response = {
|
|
@@ -1374,7 +1375,7 @@ var de_ImportNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1374
1375
|
if (output.statusCode >= 300) {
|
|
1375
1376
|
return de_CommandError(output, context);
|
|
1376
1377
|
}
|
|
1377
|
-
const data = await
|
|
1378
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1378
1379
|
let contents = {};
|
|
1379
1380
|
contents = (0, import_smithy_client._json)(data);
|
|
1380
1381
|
const response = {
|
|
@@ -1387,7 +1388,7 @@ var de_ListApplicationDPUSizesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1387
1388
|
if (output.statusCode >= 300) {
|
|
1388
1389
|
return de_CommandError(output, context);
|
|
1389
1390
|
}
|
|
1390
|
-
const data = await
|
|
1391
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1391
1392
|
let contents = {};
|
|
1392
1393
|
contents = (0, import_smithy_client._json)(data);
|
|
1393
1394
|
const response = {
|
|
@@ -1400,7 +1401,7 @@ var de_ListCalculationExecutionsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1400
1401
|
if (output.statusCode >= 300) {
|
|
1401
1402
|
return de_CommandError(output, context);
|
|
1402
1403
|
}
|
|
1403
|
-
const data = await
|
|
1404
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1404
1405
|
let contents = {};
|
|
1405
1406
|
contents = de_ListCalculationExecutionsResponse(data, context);
|
|
1406
1407
|
const response = {
|
|
@@ -1413,7 +1414,7 @@ var de_ListCapacityReservationsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1413
1414
|
if (output.statusCode >= 300) {
|
|
1414
1415
|
return de_CommandError(output, context);
|
|
1415
1416
|
}
|
|
1416
|
-
const data = await
|
|
1417
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1417
1418
|
let contents = {};
|
|
1418
1419
|
contents = de_ListCapacityReservationsOutput(data, context);
|
|
1419
1420
|
const response = {
|
|
@@ -1426,7 +1427,7 @@ var de_ListDatabasesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1426
1427
|
if (output.statusCode >= 300) {
|
|
1427
1428
|
return de_CommandError(output, context);
|
|
1428
1429
|
}
|
|
1429
|
-
const data = await
|
|
1430
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1430
1431
|
let contents = {};
|
|
1431
1432
|
contents = (0, import_smithy_client._json)(data);
|
|
1432
1433
|
const response = {
|
|
@@ -1439,7 +1440,7 @@ var de_ListDataCatalogsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1439
1440
|
if (output.statusCode >= 300) {
|
|
1440
1441
|
return de_CommandError(output, context);
|
|
1441
1442
|
}
|
|
1442
|
-
const data = await
|
|
1443
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1443
1444
|
let contents = {};
|
|
1444
1445
|
contents = (0, import_smithy_client._json)(data);
|
|
1445
1446
|
const response = {
|
|
@@ -1452,7 +1453,7 @@ var de_ListEngineVersionsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1452
1453
|
if (output.statusCode >= 300) {
|
|
1453
1454
|
return de_CommandError(output, context);
|
|
1454
1455
|
}
|
|
1455
|
-
const data = await
|
|
1456
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1456
1457
|
let contents = {};
|
|
1457
1458
|
contents = (0, import_smithy_client._json)(data);
|
|
1458
1459
|
const response = {
|
|
@@ -1465,7 +1466,7 @@ var de_ListExecutorsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1465
1466
|
if (output.statusCode >= 300) {
|
|
1466
1467
|
return de_CommandError(output, context);
|
|
1467
1468
|
}
|
|
1468
|
-
const data = await
|
|
1469
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1469
1470
|
let contents = {};
|
|
1470
1471
|
contents = (0, import_smithy_client._json)(data);
|
|
1471
1472
|
const response = {
|
|
@@ -1478,7 +1479,7 @@ var de_ListNamedQueriesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1478
1479
|
if (output.statusCode >= 300) {
|
|
1479
1480
|
return de_CommandError(output, context);
|
|
1480
1481
|
}
|
|
1481
|
-
const data = await
|
|
1482
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1482
1483
|
let contents = {};
|
|
1483
1484
|
contents = (0, import_smithy_client._json)(data);
|
|
1484
1485
|
const response = {
|
|
@@ -1491,7 +1492,7 @@ var de_ListNotebookMetadataCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1491
1492
|
if (output.statusCode >= 300) {
|
|
1492
1493
|
return de_CommandError(output, context);
|
|
1493
1494
|
}
|
|
1494
|
-
const data = await
|
|
1495
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1495
1496
|
let contents = {};
|
|
1496
1497
|
contents = de_ListNotebookMetadataOutput(data, context);
|
|
1497
1498
|
const response = {
|
|
@@ -1504,7 +1505,7 @@ var de_ListNotebookSessionsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1504
1505
|
if (output.statusCode >= 300) {
|
|
1505
1506
|
return de_CommandError(output, context);
|
|
1506
1507
|
}
|
|
1507
|
-
const data = await
|
|
1508
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1508
1509
|
let contents = {};
|
|
1509
1510
|
contents = de_ListNotebookSessionsResponse(data, context);
|
|
1510
1511
|
const response = {
|
|
@@ -1517,7 +1518,7 @@ var de_ListPreparedStatementsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1517
1518
|
if (output.statusCode >= 300) {
|
|
1518
1519
|
return de_CommandError(output, context);
|
|
1519
1520
|
}
|
|
1520
|
-
const data = await
|
|
1521
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1521
1522
|
let contents = {};
|
|
1522
1523
|
contents = de_ListPreparedStatementsOutput(data, context);
|
|
1523
1524
|
const response = {
|
|
@@ -1530,7 +1531,7 @@ var de_ListQueryExecutionsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1530
1531
|
if (output.statusCode >= 300) {
|
|
1531
1532
|
return de_CommandError(output, context);
|
|
1532
1533
|
}
|
|
1533
|
-
const data = await
|
|
1534
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1534
1535
|
let contents = {};
|
|
1535
1536
|
contents = (0, import_smithy_client._json)(data);
|
|
1536
1537
|
const response = {
|
|
@@ -1543,7 +1544,7 @@ var de_ListSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1543
1544
|
if (output.statusCode >= 300) {
|
|
1544
1545
|
return de_CommandError(output, context);
|
|
1545
1546
|
}
|
|
1546
|
-
const data = await
|
|
1547
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1547
1548
|
let contents = {};
|
|
1548
1549
|
contents = de_ListSessionsResponse(data, context);
|
|
1549
1550
|
const response = {
|
|
@@ -1556,7 +1557,7 @@ var de_ListTableMetadataCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1556
1557
|
if (output.statusCode >= 300) {
|
|
1557
1558
|
return de_CommandError(output, context);
|
|
1558
1559
|
}
|
|
1559
|
-
const data = await
|
|
1560
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1560
1561
|
let contents = {};
|
|
1561
1562
|
contents = de_ListTableMetadataOutput(data, context);
|
|
1562
1563
|
const response = {
|
|
@@ -1569,7 +1570,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1569
1570
|
if (output.statusCode >= 300) {
|
|
1570
1571
|
return de_CommandError(output, context);
|
|
1571
1572
|
}
|
|
1572
|
-
const data = await
|
|
1573
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1573
1574
|
let contents = {};
|
|
1574
1575
|
contents = (0, import_smithy_client._json)(data);
|
|
1575
1576
|
const response = {
|
|
@@ -1582,7 +1583,7 @@ var de_ListWorkGroupsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1582
1583
|
if (output.statusCode >= 300) {
|
|
1583
1584
|
return de_CommandError(output, context);
|
|
1584
1585
|
}
|
|
1585
|
-
const data = await
|
|
1586
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1586
1587
|
let contents = {};
|
|
1587
1588
|
contents = de_ListWorkGroupsOutput(data, context);
|
|
1588
1589
|
const response = {
|
|
@@ -1595,7 +1596,7 @@ var de_PutCapacityAssignmentConfigurationCommand = /* @__PURE__ */ __name(async
|
|
|
1595
1596
|
if (output.statusCode >= 300) {
|
|
1596
1597
|
return de_CommandError(output, context);
|
|
1597
1598
|
}
|
|
1598
|
-
const data = await
|
|
1599
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1599
1600
|
let contents = {};
|
|
1600
1601
|
contents = (0, import_smithy_client._json)(data);
|
|
1601
1602
|
const response = {
|
|
@@ -1608,7 +1609,7 @@ var de_StartCalculationExecutionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1608
1609
|
if (output.statusCode >= 300) {
|
|
1609
1610
|
return de_CommandError(output, context);
|
|
1610
1611
|
}
|
|
1611
|
-
const data = await
|
|
1612
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1612
1613
|
let contents = {};
|
|
1613
1614
|
contents = (0, import_smithy_client._json)(data);
|
|
1614
1615
|
const response = {
|
|
@@ -1621,7 +1622,7 @@ var de_StartQueryExecutionCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1621
1622
|
if (output.statusCode >= 300) {
|
|
1622
1623
|
return de_CommandError(output, context);
|
|
1623
1624
|
}
|
|
1624
|
-
const data = await
|
|
1625
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1625
1626
|
let contents = {};
|
|
1626
1627
|
contents = (0, import_smithy_client._json)(data);
|
|
1627
1628
|
const response = {
|
|
@@ -1634,7 +1635,7 @@ var de_StartSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1634
1635
|
if (output.statusCode >= 300) {
|
|
1635
1636
|
return de_CommandError(output, context);
|
|
1636
1637
|
}
|
|
1637
|
-
const data = await
|
|
1638
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1638
1639
|
let contents = {};
|
|
1639
1640
|
contents = (0, import_smithy_client._json)(data);
|
|
1640
1641
|
const response = {
|
|
@@ -1647,7 +1648,7 @@ var de_StopCalculationExecutionCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1647
1648
|
if (output.statusCode >= 300) {
|
|
1648
1649
|
return de_CommandError(output, context);
|
|
1649
1650
|
}
|
|
1650
|
-
const data = await
|
|
1651
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1651
1652
|
let contents = {};
|
|
1652
1653
|
contents = (0, import_smithy_client._json)(data);
|
|
1653
1654
|
const response = {
|
|
@@ -1660,7 +1661,7 @@ var de_StopQueryExecutionCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1660
1661
|
if (output.statusCode >= 300) {
|
|
1661
1662
|
return de_CommandError(output, context);
|
|
1662
1663
|
}
|
|
1663
|
-
const data = await
|
|
1664
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1664
1665
|
let contents = {};
|
|
1665
1666
|
contents = (0, import_smithy_client._json)(data);
|
|
1666
1667
|
const response = {
|
|
@@ -1673,7 +1674,7 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1673
1674
|
if (output.statusCode >= 300) {
|
|
1674
1675
|
return de_CommandError(output, context);
|
|
1675
1676
|
}
|
|
1676
|
-
const data = await
|
|
1677
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1677
1678
|
let contents = {};
|
|
1678
1679
|
contents = (0, import_smithy_client._json)(data);
|
|
1679
1680
|
const response = {
|
|
@@ -1686,7 +1687,7 @@ var de_TerminateSessionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1686
1687
|
if (output.statusCode >= 300) {
|
|
1687
1688
|
return de_CommandError(output, context);
|
|
1688
1689
|
}
|
|
1689
|
-
const data = await
|
|
1690
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1690
1691
|
let contents = {};
|
|
1691
1692
|
contents = (0, import_smithy_client._json)(data);
|
|
1692
1693
|
const response = {
|
|
@@ -1699,7 +1700,7 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1699
1700
|
if (output.statusCode >= 300) {
|
|
1700
1701
|
return de_CommandError(output, context);
|
|
1701
1702
|
}
|
|
1702
|
-
const data = await
|
|
1703
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1703
1704
|
let contents = {};
|
|
1704
1705
|
contents = (0, import_smithy_client._json)(data);
|
|
1705
1706
|
const response = {
|
|
@@ -1712,7 +1713,7 @@ var de_UpdateCapacityReservationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1712
1713
|
if (output.statusCode >= 300) {
|
|
1713
1714
|
return de_CommandError(output, context);
|
|
1714
1715
|
}
|
|
1715
|
-
const data = await
|
|
1716
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1716
1717
|
let contents = {};
|
|
1717
1718
|
contents = (0, import_smithy_client._json)(data);
|
|
1718
1719
|
const response = {
|
|
@@ -1725,7 +1726,7 @@ var de_UpdateDataCatalogCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1725
1726
|
if (output.statusCode >= 300) {
|
|
1726
1727
|
return de_CommandError(output, context);
|
|
1727
1728
|
}
|
|
1728
|
-
const data = await
|
|
1729
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1729
1730
|
let contents = {};
|
|
1730
1731
|
contents = (0, import_smithy_client._json)(data);
|
|
1731
1732
|
const response = {
|
|
@@ -1738,7 +1739,7 @@ var de_UpdateNamedQueryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1738
1739
|
if (output.statusCode >= 300) {
|
|
1739
1740
|
return de_CommandError(output, context);
|
|
1740
1741
|
}
|
|
1741
|
-
const data = await
|
|
1742
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1742
1743
|
let contents = {};
|
|
1743
1744
|
contents = (0, import_smithy_client._json)(data);
|
|
1744
1745
|
const response = {
|
|
@@ -1751,7 +1752,7 @@ var de_UpdateNotebookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1751
1752
|
if (output.statusCode >= 300) {
|
|
1752
1753
|
return de_CommandError(output, context);
|
|
1753
1754
|
}
|
|
1754
|
-
const data = await
|
|
1755
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1755
1756
|
let contents = {};
|
|
1756
1757
|
contents = (0, import_smithy_client._json)(data);
|
|
1757
1758
|
const response = {
|
|
@@ -1764,7 +1765,7 @@ var de_UpdateNotebookMetadataCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1764
1765
|
if (output.statusCode >= 300) {
|
|
1765
1766
|
return de_CommandError(output, context);
|
|
1766
1767
|
}
|
|
1767
|
-
const data = await
|
|
1768
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1768
1769
|
let contents = {};
|
|
1769
1770
|
contents = (0, import_smithy_client._json)(data);
|
|
1770
1771
|
const response = {
|
|
@@ -1777,7 +1778,7 @@ var de_UpdatePreparedStatementCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1777
1778
|
if (output.statusCode >= 300) {
|
|
1778
1779
|
return de_CommandError(output, context);
|
|
1779
1780
|
}
|
|
1780
|
-
const data = await
|
|
1781
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1781
1782
|
let contents = {};
|
|
1782
1783
|
contents = (0, import_smithy_client._json)(data);
|
|
1783
1784
|
const response = {
|
|
@@ -1790,7 +1791,7 @@ var de_UpdateWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1790
1791
|
if (output.statusCode >= 300) {
|
|
1791
1792
|
return de_CommandError(output, context);
|
|
1792
1793
|
}
|
|
1793
|
-
const data = await
|
|
1794
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1794
1795
|
let contents = {};
|
|
1795
1796
|
contents = (0, import_smithy_client._json)(data);
|
|
1796
1797
|
const response = {
|
|
@@ -1802,9 +1803,9 @@ var de_UpdateWorkGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1802
1803
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1803
1804
|
const parsedOutput = {
|
|
1804
1805
|
...output,
|
|
1805
|
-
body: await
|
|
1806
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1806
1807
|
};
|
|
1807
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1808
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1808
1809
|
switch (errorCode) {
|
|
1809
1810
|
case "InternalServerException":
|
|
1810
1811
|
case "com.amazonaws.athena#InternalServerException":
|
|
@@ -2302,7 +2303,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
2302
2303
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2303
2304
|
cfId: output.headers["x-amz-cf-id"]
|
|
2304
2305
|
}), "deserializeMetadata");
|
|
2305
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2306
2306
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(AthenaServiceException);
|
|
2307
2307
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
2308
2308
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -2329,46 +2329,6 @@ function sharedHeaders(operation) {
|
|
|
2329
2329
|
};
|
|
2330
2330
|
}
|
|
2331
2331
|
__name(sharedHeaders, "sharedHeaders");
|
|
2332
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2333
|
-
if (encoded.length) {
|
|
2334
|
-
return JSON.parse(encoded);
|
|
2335
|
-
}
|
|
2336
|
-
return {};
|
|
2337
|
-
}), "parseBody");
|
|
2338
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2339
|
-
const value = await parseBody(errorBody, context);
|
|
2340
|
-
value.message = value.message ?? value.Message;
|
|
2341
|
-
return value;
|
|
2342
|
-
}, "parseErrorBody");
|
|
2343
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2344
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2345
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2346
|
-
let cleanValue = rawValue;
|
|
2347
|
-
if (typeof cleanValue === "number") {
|
|
2348
|
-
cleanValue = cleanValue.toString();
|
|
2349
|
-
}
|
|
2350
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2351
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2352
|
-
}
|
|
2353
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2354
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2355
|
-
}
|
|
2356
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2357
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2358
|
-
}
|
|
2359
|
-
return cleanValue;
|
|
2360
|
-
}, "sanitizeErrorCode");
|
|
2361
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2362
|
-
if (headerKey !== void 0) {
|
|
2363
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2364
|
-
}
|
|
2365
|
-
if (data.code !== void 0) {
|
|
2366
|
-
return sanitizeErrorCode(data.code);
|
|
2367
|
-
}
|
|
2368
|
-
if (data["__type"] !== void 0) {
|
|
2369
|
-
return sanitizeErrorCode(data["__type"]);
|
|
2370
|
-
}
|
|
2371
|
-
}, "loadRestJsonErrorCode");
|
|
2372
2332
|
|
|
2373
2333
|
// src/commands/BatchGetNamedQueryCommand.ts
|
|
2374
2334
|
var _BatchGetNamedQueryCommand = class _BatchGetNamedQueryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
@@ -1848,43 +1849,3 @@ function sharedHeaders(operation) {
|
|
|
1848
1849
|
"x-amz-target": `AmazonAthena.${operation}`,
|
|
1849
1850
|
};
|
|
1850
1851
|
}
|
|
1851
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1852
|
-
if (encoded.length) {
|
|
1853
|
-
return JSON.parse(encoded);
|
|
1854
|
-
}
|
|
1855
|
-
return {};
|
|
1856
|
-
});
|
|
1857
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1858
|
-
const value = await parseBody(errorBody, context);
|
|
1859
|
-
value.message = value.message ?? value.Message;
|
|
1860
|
-
return value;
|
|
1861
|
-
};
|
|
1862
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1863
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1864
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1865
|
-
let cleanValue = rawValue;
|
|
1866
|
-
if (typeof cleanValue === "number") {
|
|
1867
|
-
cleanValue = cleanValue.toString();
|
|
1868
|
-
}
|
|
1869
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1870
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1871
|
-
}
|
|
1872
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1873
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1874
|
-
}
|
|
1875
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1876
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1877
|
-
}
|
|
1878
|
-
return cleanValue;
|
|
1879
|
-
};
|
|
1880
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1881
|
-
if (headerKey !== undefined) {
|
|
1882
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1883
|
-
}
|
|
1884
|
-
if (data.code !== undefined) {
|
|
1885
|
-
return sanitizeErrorCode(data.code);
|
|
1886
|
-
}
|
|
1887
|
-
if (data["__type"] !== undefined) {
|
|
1888
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1889
|
-
}
|
|
1890
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-athena",
|
|
3
3
|
"description": "AWS SDK for JavaScript Athena Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-athena",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
package/dist-cjs/Athena.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
package/dist-cjs/AthenaClient.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|