@aws-sdk/client-athena 3.312.0 → 3.315.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/protocols/Aws_json1_1.js +444 -1861
- package/dist-es/protocols/Aws_json1_1.js +445 -1862
- package/package.json +6 -6
|
@@ -11,28 +11,28 @@ const models_0_1 = require("../models/models_0");
|
|
|
11
11
|
const se_BatchGetNamedQueryCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("BatchGetNamedQuery");
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
17
|
exports.se_BatchGetNamedQueryCommand = se_BatchGetNamedQueryCommand;
|
|
18
18
|
const se_BatchGetPreparedStatementCommand = async (input, context) => {
|
|
19
19
|
const headers = sharedHeaders("BatchGetPreparedStatement");
|
|
20
20
|
let body;
|
|
21
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
22
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
23
|
};
|
|
24
24
|
exports.se_BatchGetPreparedStatementCommand = se_BatchGetPreparedStatementCommand;
|
|
25
25
|
const se_BatchGetQueryExecutionCommand = async (input, context) => {
|
|
26
26
|
const headers = sharedHeaders("BatchGetQueryExecution");
|
|
27
27
|
let body;
|
|
28
|
-
body = JSON.stringify(
|
|
28
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
29
29
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
30
|
};
|
|
31
31
|
exports.se_BatchGetQueryExecutionCommand = se_BatchGetQueryExecutionCommand;
|
|
32
32
|
const se_CreateDataCatalogCommand = async (input, context) => {
|
|
33
33
|
const headers = sharedHeaders("CreateDataCatalog");
|
|
34
34
|
let body;
|
|
35
|
-
body = JSON.stringify(
|
|
35
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
36
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
37
|
};
|
|
38
38
|
exports.se_CreateDataCatalogCommand = se_CreateDataCatalogCommand;
|
|
@@ -46,35 +46,35 @@ exports.se_CreateNamedQueryCommand = se_CreateNamedQueryCommand;
|
|
|
46
46
|
const se_CreateNotebookCommand = async (input, context) => {
|
|
47
47
|
const headers = sharedHeaders("CreateNotebook");
|
|
48
48
|
let body;
|
|
49
|
-
body = JSON.stringify(
|
|
49
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
50
50
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
51
51
|
};
|
|
52
52
|
exports.se_CreateNotebookCommand = se_CreateNotebookCommand;
|
|
53
53
|
const se_CreatePreparedStatementCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("CreatePreparedStatement");
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
59
|
exports.se_CreatePreparedStatementCommand = se_CreatePreparedStatementCommand;
|
|
60
60
|
const se_CreatePresignedNotebookUrlCommand = async (input, context) => {
|
|
61
61
|
const headers = sharedHeaders("CreatePresignedNotebookUrl");
|
|
62
62
|
let body;
|
|
63
|
-
body = JSON.stringify(
|
|
63
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
64
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
65
|
};
|
|
66
66
|
exports.se_CreatePresignedNotebookUrlCommand = se_CreatePresignedNotebookUrlCommand;
|
|
67
67
|
const se_CreateWorkGroupCommand = async (input, context) => {
|
|
68
68
|
const headers = sharedHeaders("CreateWorkGroup");
|
|
69
69
|
let body;
|
|
70
|
-
body = JSON.stringify(
|
|
70
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
71
71
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
72
|
};
|
|
73
73
|
exports.se_CreateWorkGroupCommand = se_CreateWorkGroupCommand;
|
|
74
74
|
const se_DeleteDataCatalogCommand = async (input, context) => {
|
|
75
75
|
const headers = sharedHeaders("DeleteDataCatalog");
|
|
76
76
|
let body;
|
|
77
|
-
body = JSON.stringify(
|
|
77
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
78
78
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
79
79
|
};
|
|
80
80
|
exports.se_DeleteDataCatalogCommand = se_DeleteDataCatalogCommand;
|
|
@@ -88,252 +88,252 @@ exports.se_DeleteNamedQueryCommand = se_DeleteNamedQueryCommand;
|
|
|
88
88
|
const se_DeleteNotebookCommand = async (input, context) => {
|
|
89
89
|
const headers = sharedHeaders("DeleteNotebook");
|
|
90
90
|
let body;
|
|
91
|
-
body = JSON.stringify(
|
|
91
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
92
92
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
93
93
|
};
|
|
94
94
|
exports.se_DeleteNotebookCommand = se_DeleteNotebookCommand;
|
|
95
95
|
const se_DeletePreparedStatementCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("DeletePreparedStatement");
|
|
97
97
|
let body;
|
|
98
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
99
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
100
|
};
|
|
101
101
|
exports.se_DeletePreparedStatementCommand = se_DeletePreparedStatementCommand;
|
|
102
102
|
const se_DeleteWorkGroupCommand = async (input, context) => {
|
|
103
103
|
const headers = sharedHeaders("DeleteWorkGroup");
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
108
|
exports.se_DeleteWorkGroupCommand = se_DeleteWorkGroupCommand;
|
|
109
109
|
const se_ExportNotebookCommand = async (input, context) => {
|
|
110
110
|
const headers = sharedHeaders("ExportNotebook");
|
|
111
111
|
let body;
|
|
112
|
-
body = JSON.stringify(
|
|
112
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
113
113
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
114
|
};
|
|
115
115
|
exports.se_ExportNotebookCommand = se_ExportNotebookCommand;
|
|
116
116
|
const se_GetCalculationExecutionCommand = async (input, context) => {
|
|
117
117
|
const headers = sharedHeaders("GetCalculationExecution");
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
122
|
exports.se_GetCalculationExecutionCommand = se_GetCalculationExecutionCommand;
|
|
123
123
|
const se_GetCalculationExecutionCodeCommand = async (input, context) => {
|
|
124
124
|
const headers = sharedHeaders("GetCalculationExecutionCode");
|
|
125
125
|
let body;
|
|
126
|
-
body = JSON.stringify(
|
|
126
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
127
127
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
128
|
};
|
|
129
129
|
exports.se_GetCalculationExecutionCodeCommand = se_GetCalculationExecutionCodeCommand;
|
|
130
130
|
const se_GetCalculationExecutionStatusCommand = async (input, context) => {
|
|
131
131
|
const headers = sharedHeaders("GetCalculationExecutionStatus");
|
|
132
132
|
let body;
|
|
133
|
-
body = JSON.stringify(
|
|
133
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
134
134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
135
135
|
};
|
|
136
136
|
exports.se_GetCalculationExecutionStatusCommand = se_GetCalculationExecutionStatusCommand;
|
|
137
137
|
const se_GetDatabaseCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("GetDatabase");
|
|
139
139
|
let body;
|
|
140
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
141
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
142
|
};
|
|
143
143
|
exports.se_GetDatabaseCommand = se_GetDatabaseCommand;
|
|
144
144
|
const se_GetDataCatalogCommand = async (input, context) => {
|
|
145
145
|
const headers = sharedHeaders("GetDataCatalog");
|
|
146
146
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
150
|
exports.se_GetDataCatalogCommand = se_GetDataCatalogCommand;
|
|
151
151
|
const se_GetNamedQueryCommand = async (input, context) => {
|
|
152
152
|
const headers = sharedHeaders("GetNamedQuery");
|
|
153
153
|
let body;
|
|
154
|
-
body = JSON.stringify(
|
|
154
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
155
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
156
|
};
|
|
157
157
|
exports.se_GetNamedQueryCommand = se_GetNamedQueryCommand;
|
|
158
158
|
const se_GetNotebookMetadataCommand = async (input, context) => {
|
|
159
159
|
const headers = sharedHeaders("GetNotebookMetadata");
|
|
160
160
|
let body;
|
|
161
|
-
body = JSON.stringify(
|
|
161
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
162
162
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
163
163
|
};
|
|
164
164
|
exports.se_GetNotebookMetadataCommand = se_GetNotebookMetadataCommand;
|
|
165
165
|
const se_GetPreparedStatementCommand = async (input, context) => {
|
|
166
166
|
const headers = sharedHeaders("GetPreparedStatement");
|
|
167
167
|
let body;
|
|
168
|
-
body = JSON.stringify(
|
|
168
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
169
169
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
170
170
|
};
|
|
171
171
|
exports.se_GetPreparedStatementCommand = se_GetPreparedStatementCommand;
|
|
172
172
|
const se_GetQueryExecutionCommand = async (input, context) => {
|
|
173
173
|
const headers = sharedHeaders("GetQueryExecution");
|
|
174
174
|
let body;
|
|
175
|
-
body = JSON.stringify(
|
|
175
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
178
|
exports.se_GetQueryExecutionCommand = se_GetQueryExecutionCommand;
|
|
179
179
|
const se_GetQueryResultsCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("GetQueryResults");
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
185
|
exports.se_GetQueryResultsCommand = se_GetQueryResultsCommand;
|
|
186
186
|
const se_GetQueryRuntimeStatisticsCommand = async (input, context) => {
|
|
187
187
|
const headers = sharedHeaders("GetQueryRuntimeStatistics");
|
|
188
188
|
let body;
|
|
189
|
-
body = JSON.stringify(
|
|
189
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
190
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
191
|
};
|
|
192
192
|
exports.se_GetQueryRuntimeStatisticsCommand = se_GetQueryRuntimeStatisticsCommand;
|
|
193
193
|
const se_GetSessionCommand = async (input, context) => {
|
|
194
194
|
const headers = sharedHeaders("GetSession");
|
|
195
195
|
let body;
|
|
196
|
-
body = JSON.stringify(
|
|
196
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
197
197
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
198
|
};
|
|
199
199
|
exports.se_GetSessionCommand = se_GetSessionCommand;
|
|
200
200
|
const se_GetSessionStatusCommand = async (input, context) => {
|
|
201
201
|
const headers = sharedHeaders("GetSessionStatus");
|
|
202
202
|
let body;
|
|
203
|
-
body = JSON.stringify(
|
|
203
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
204
204
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
205
205
|
};
|
|
206
206
|
exports.se_GetSessionStatusCommand = se_GetSessionStatusCommand;
|
|
207
207
|
const se_GetTableMetadataCommand = async (input, context) => {
|
|
208
208
|
const headers = sharedHeaders("GetTableMetadata");
|
|
209
209
|
let body;
|
|
210
|
-
body = JSON.stringify(
|
|
210
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
211
211
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
212
212
|
};
|
|
213
213
|
exports.se_GetTableMetadataCommand = se_GetTableMetadataCommand;
|
|
214
214
|
const se_GetWorkGroupCommand = async (input, context) => {
|
|
215
215
|
const headers = sharedHeaders("GetWorkGroup");
|
|
216
216
|
let body;
|
|
217
|
-
body = JSON.stringify(
|
|
217
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
218
218
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
219
219
|
};
|
|
220
220
|
exports.se_GetWorkGroupCommand = se_GetWorkGroupCommand;
|
|
221
221
|
const se_ImportNotebookCommand = async (input, context) => {
|
|
222
222
|
const headers = sharedHeaders("ImportNotebook");
|
|
223
223
|
let body;
|
|
224
|
-
body = JSON.stringify(
|
|
224
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
225
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
226
|
};
|
|
227
227
|
exports.se_ImportNotebookCommand = se_ImportNotebookCommand;
|
|
228
228
|
const se_ListApplicationDPUSizesCommand = async (input, context) => {
|
|
229
229
|
const headers = sharedHeaders("ListApplicationDPUSizes");
|
|
230
230
|
let body;
|
|
231
|
-
body = JSON.stringify(
|
|
231
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
232
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
233
|
};
|
|
234
234
|
exports.se_ListApplicationDPUSizesCommand = se_ListApplicationDPUSizesCommand;
|
|
235
235
|
const se_ListCalculationExecutionsCommand = async (input, context) => {
|
|
236
236
|
const headers = sharedHeaders("ListCalculationExecutions");
|
|
237
237
|
let body;
|
|
238
|
-
body = JSON.stringify(
|
|
238
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
239
239
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
240
|
};
|
|
241
241
|
exports.se_ListCalculationExecutionsCommand = se_ListCalculationExecutionsCommand;
|
|
242
242
|
const se_ListDatabasesCommand = async (input, context) => {
|
|
243
243
|
const headers = sharedHeaders("ListDatabases");
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
248
|
exports.se_ListDatabasesCommand = se_ListDatabasesCommand;
|
|
249
249
|
const se_ListDataCatalogsCommand = async (input, context) => {
|
|
250
250
|
const headers = sharedHeaders("ListDataCatalogs");
|
|
251
251
|
let body;
|
|
252
|
-
body = JSON.stringify(
|
|
252
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
253
253
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
254
254
|
};
|
|
255
255
|
exports.se_ListDataCatalogsCommand = se_ListDataCatalogsCommand;
|
|
256
256
|
const se_ListEngineVersionsCommand = async (input, context) => {
|
|
257
257
|
const headers = sharedHeaders("ListEngineVersions");
|
|
258
258
|
let body;
|
|
259
|
-
body = JSON.stringify(
|
|
259
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
260
260
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
261
261
|
};
|
|
262
262
|
exports.se_ListEngineVersionsCommand = se_ListEngineVersionsCommand;
|
|
263
263
|
const se_ListExecutorsCommand = async (input, context) => {
|
|
264
264
|
const headers = sharedHeaders("ListExecutors");
|
|
265
265
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
266
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
267
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
268
|
};
|
|
269
269
|
exports.se_ListExecutorsCommand = se_ListExecutorsCommand;
|
|
270
270
|
const se_ListNamedQueriesCommand = async (input, context) => {
|
|
271
271
|
const headers = sharedHeaders("ListNamedQueries");
|
|
272
272
|
let body;
|
|
273
|
-
body = JSON.stringify(
|
|
273
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
274
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
275
|
};
|
|
276
276
|
exports.se_ListNamedQueriesCommand = se_ListNamedQueriesCommand;
|
|
277
277
|
const se_ListNotebookMetadataCommand = async (input, context) => {
|
|
278
278
|
const headers = sharedHeaders("ListNotebookMetadata");
|
|
279
279
|
let body;
|
|
280
|
-
body = JSON.stringify(
|
|
280
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
281
281
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
282
282
|
};
|
|
283
283
|
exports.se_ListNotebookMetadataCommand = se_ListNotebookMetadataCommand;
|
|
284
284
|
const se_ListNotebookSessionsCommand = async (input, context) => {
|
|
285
285
|
const headers = sharedHeaders("ListNotebookSessions");
|
|
286
286
|
let body;
|
|
287
|
-
body = JSON.stringify(
|
|
287
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
288
288
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
289
289
|
};
|
|
290
290
|
exports.se_ListNotebookSessionsCommand = se_ListNotebookSessionsCommand;
|
|
291
291
|
const se_ListPreparedStatementsCommand = async (input, context) => {
|
|
292
292
|
const headers = sharedHeaders("ListPreparedStatements");
|
|
293
293
|
let body;
|
|
294
|
-
body = JSON.stringify(
|
|
294
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
295
295
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
296
296
|
};
|
|
297
297
|
exports.se_ListPreparedStatementsCommand = se_ListPreparedStatementsCommand;
|
|
298
298
|
const se_ListQueryExecutionsCommand = async (input, context) => {
|
|
299
299
|
const headers = sharedHeaders("ListQueryExecutions");
|
|
300
300
|
let body;
|
|
301
|
-
body = JSON.stringify(
|
|
301
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
302
302
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
303
303
|
};
|
|
304
304
|
exports.se_ListQueryExecutionsCommand = se_ListQueryExecutionsCommand;
|
|
305
305
|
const se_ListSessionsCommand = async (input, context) => {
|
|
306
306
|
const headers = sharedHeaders("ListSessions");
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
311
|
exports.se_ListSessionsCommand = se_ListSessionsCommand;
|
|
312
312
|
const se_ListTableMetadataCommand = async (input, context) => {
|
|
313
313
|
const headers = sharedHeaders("ListTableMetadata");
|
|
314
314
|
let body;
|
|
315
|
-
body = JSON.stringify(
|
|
315
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
316
316
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
317
|
};
|
|
318
318
|
exports.se_ListTableMetadataCommand = se_ListTableMetadataCommand;
|
|
319
319
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
320
320
|
const headers = sharedHeaders("ListTagsForResource");
|
|
321
321
|
let body;
|
|
322
|
-
body = JSON.stringify(
|
|
322
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
323
323
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
324
324
|
};
|
|
325
325
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
326
326
|
const se_ListWorkGroupsCommand = async (input, context) => {
|
|
327
327
|
const headers = sharedHeaders("ListWorkGroups");
|
|
328
328
|
let body;
|
|
329
|
-
body = JSON.stringify(
|
|
329
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
330
330
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
331
331
|
};
|
|
332
332
|
exports.se_ListWorkGroupsCommand = se_ListWorkGroupsCommand;
|
|
333
333
|
const se_StartCalculationExecutionCommand = async (input, context) => {
|
|
334
334
|
const headers = sharedHeaders("StartCalculationExecution");
|
|
335
335
|
let body;
|
|
336
|
-
body = JSON.stringify(
|
|
336
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
337
337
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
338
|
};
|
|
339
339
|
exports.se_StartCalculationExecutionCommand = se_StartCalculationExecutionCommand;
|
|
@@ -347,14 +347,14 @@ exports.se_StartQueryExecutionCommand = se_StartQueryExecutionCommand;
|
|
|
347
347
|
const se_StartSessionCommand = async (input, context) => {
|
|
348
348
|
const headers = sharedHeaders("StartSession");
|
|
349
349
|
let body;
|
|
350
|
-
body = JSON.stringify(
|
|
350
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
351
351
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
352
352
|
};
|
|
353
353
|
exports.se_StartSessionCommand = se_StartSessionCommand;
|
|
354
354
|
const se_StopCalculationExecutionCommand = async (input, context) => {
|
|
355
355
|
const headers = sharedHeaders("StopCalculationExecution");
|
|
356
356
|
let body;
|
|
357
|
-
body = JSON.stringify(
|
|
357
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
358
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
359
|
};
|
|
360
360
|
exports.se_StopCalculationExecutionCommand = se_StopCalculationExecutionCommand;
|
|
@@ -368,63 +368,63 @@ exports.se_StopQueryExecutionCommand = se_StopQueryExecutionCommand;
|
|
|
368
368
|
const se_TagResourceCommand = async (input, context) => {
|
|
369
369
|
const headers = sharedHeaders("TagResource");
|
|
370
370
|
let body;
|
|
371
|
-
body = JSON.stringify(
|
|
371
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
372
372
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
373
373
|
};
|
|
374
374
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
375
375
|
const se_TerminateSessionCommand = async (input, context) => {
|
|
376
376
|
const headers = sharedHeaders("TerminateSession");
|
|
377
377
|
let body;
|
|
378
|
-
body = JSON.stringify(
|
|
378
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
379
379
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
380
380
|
};
|
|
381
381
|
exports.se_TerminateSessionCommand = se_TerminateSessionCommand;
|
|
382
382
|
const se_UntagResourceCommand = async (input, context) => {
|
|
383
383
|
const headers = sharedHeaders("UntagResource");
|
|
384
384
|
let body;
|
|
385
|
-
body = JSON.stringify(
|
|
385
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
386
386
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
387
387
|
};
|
|
388
388
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
389
389
|
const se_UpdateDataCatalogCommand = async (input, context) => {
|
|
390
390
|
const headers = sharedHeaders("UpdateDataCatalog");
|
|
391
391
|
let body;
|
|
392
|
-
body = JSON.stringify(
|
|
392
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
393
393
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
394
394
|
};
|
|
395
395
|
exports.se_UpdateDataCatalogCommand = se_UpdateDataCatalogCommand;
|
|
396
396
|
const se_UpdateNamedQueryCommand = async (input, context) => {
|
|
397
397
|
const headers = sharedHeaders("UpdateNamedQuery");
|
|
398
398
|
let body;
|
|
399
|
-
body = JSON.stringify(
|
|
399
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
400
400
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
401
|
};
|
|
402
402
|
exports.se_UpdateNamedQueryCommand = se_UpdateNamedQueryCommand;
|
|
403
403
|
const se_UpdateNotebookCommand = async (input, context) => {
|
|
404
404
|
const headers = sharedHeaders("UpdateNotebook");
|
|
405
405
|
let body;
|
|
406
|
-
body = JSON.stringify(
|
|
406
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
407
407
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
408
408
|
};
|
|
409
409
|
exports.se_UpdateNotebookCommand = se_UpdateNotebookCommand;
|
|
410
410
|
const se_UpdateNotebookMetadataCommand = async (input, context) => {
|
|
411
411
|
const headers = sharedHeaders("UpdateNotebookMetadata");
|
|
412
412
|
let body;
|
|
413
|
-
body = JSON.stringify(
|
|
413
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
414
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
415
415
|
};
|
|
416
416
|
exports.se_UpdateNotebookMetadataCommand = se_UpdateNotebookMetadataCommand;
|
|
417
417
|
const se_UpdatePreparedStatementCommand = async (input, context) => {
|
|
418
418
|
const headers = sharedHeaders("UpdatePreparedStatement");
|
|
419
419
|
let body;
|
|
420
|
-
body = JSON.stringify(
|
|
420
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
421
421
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
422
422
|
};
|
|
423
423
|
exports.se_UpdatePreparedStatementCommand = se_UpdatePreparedStatementCommand;
|
|
424
424
|
const se_UpdateWorkGroupCommand = async (input, context) => {
|
|
425
425
|
const headers = sharedHeaders("UpdateWorkGroup");
|
|
426
426
|
let body;
|
|
427
|
-
body = JSON.stringify(
|
|
427
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
428
428
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
429
429
|
};
|
|
430
430
|
exports.se_UpdateWorkGroupCommand = se_UpdateWorkGroupCommand;
|
|
@@ -434,12 +434,12 @@ const de_BatchGetNamedQueryCommand = async (output, context) => {
|
|
|
434
434
|
}
|
|
435
435
|
const data = await parseBody(output.body, context);
|
|
436
436
|
let contents = {};
|
|
437
|
-
contents =
|
|
437
|
+
contents = (0, smithy_client_1._json)(data);
|
|
438
438
|
const response = {
|
|
439
439
|
$metadata: deserializeMetadata(output),
|
|
440
440
|
...contents,
|
|
441
441
|
};
|
|
442
|
-
return
|
|
442
|
+
return response;
|
|
443
443
|
};
|
|
444
444
|
exports.de_BatchGetNamedQueryCommand = de_BatchGetNamedQueryCommand;
|
|
445
445
|
const de_BatchGetNamedQueryCommandError = async (output, context) => {
|
|
@@ -457,10 +457,9 @@ const de_BatchGetNamedQueryCommandError = async (output, context) => {
|
|
|
457
457
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
458
458
|
default:
|
|
459
459
|
const parsedBody = parsedOutput.body;
|
|
460
|
-
|
|
460
|
+
return throwDefaultError({
|
|
461
461
|
output,
|
|
462
462
|
parsedBody,
|
|
463
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
464
463
|
errorCode,
|
|
465
464
|
});
|
|
466
465
|
}
|
|
@@ -476,7 +475,7 @@ const de_BatchGetPreparedStatementCommand = async (output, context) => {
|
|
|
476
475
|
$metadata: deserializeMetadata(output),
|
|
477
476
|
...contents,
|
|
478
477
|
};
|
|
479
|
-
return
|
|
478
|
+
return response;
|
|
480
479
|
};
|
|
481
480
|
exports.de_BatchGetPreparedStatementCommand = de_BatchGetPreparedStatementCommand;
|
|
482
481
|
const de_BatchGetPreparedStatementCommandError = async (output, context) => {
|
|
@@ -494,10 +493,9 @@ const de_BatchGetPreparedStatementCommandError = async (output, context) => {
|
|
|
494
493
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
495
494
|
default:
|
|
496
495
|
const parsedBody = parsedOutput.body;
|
|
497
|
-
|
|
496
|
+
return throwDefaultError({
|
|
498
497
|
output,
|
|
499
498
|
parsedBody,
|
|
500
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
501
499
|
errorCode,
|
|
502
500
|
});
|
|
503
501
|
}
|
|
@@ -513,7 +511,7 @@ const de_BatchGetQueryExecutionCommand = async (output, context) => {
|
|
|
513
511
|
$metadata: deserializeMetadata(output),
|
|
514
512
|
...contents,
|
|
515
513
|
};
|
|
516
|
-
return
|
|
514
|
+
return response;
|
|
517
515
|
};
|
|
518
516
|
exports.de_BatchGetQueryExecutionCommand = de_BatchGetQueryExecutionCommand;
|
|
519
517
|
const de_BatchGetQueryExecutionCommandError = async (output, context) => {
|
|
@@ -531,10 +529,9 @@ const de_BatchGetQueryExecutionCommandError = async (output, context) => {
|
|
|
531
529
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
532
530
|
default:
|
|
533
531
|
const parsedBody = parsedOutput.body;
|
|
534
|
-
|
|
532
|
+
return throwDefaultError({
|
|
535
533
|
output,
|
|
536
534
|
parsedBody,
|
|
537
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
538
535
|
errorCode,
|
|
539
536
|
});
|
|
540
537
|
}
|
|
@@ -545,12 +542,12 @@ const de_CreateDataCatalogCommand = async (output, context) => {
|
|
|
545
542
|
}
|
|
546
543
|
const data = await parseBody(output.body, context);
|
|
547
544
|
let contents = {};
|
|
548
|
-
contents =
|
|
545
|
+
contents = (0, smithy_client_1._json)(data);
|
|
549
546
|
const response = {
|
|
550
547
|
$metadata: deserializeMetadata(output),
|
|
551
548
|
...contents,
|
|
552
549
|
};
|
|
553
|
-
return
|
|
550
|
+
return response;
|
|
554
551
|
};
|
|
555
552
|
exports.de_CreateDataCatalogCommand = de_CreateDataCatalogCommand;
|
|
556
553
|
const de_CreateDataCatalogCommandError = async (output, context) => {
|
|
@@ -568,10 +565,9 @@ const de_CreateDataCatalogCommandError = async (output, context) => {
|
|
|
568
565
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
569
566
|
default:
|
|
570
567
|
const parsedBody = parsedOutput.body;
|
|
571
|
-
|
|
568
|
+
return throwDefaultError({
|
|
572
569
|
output,
|
|
573
570
|
parsedBody,
|
|
574
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
575
571
|
errorCode,
|
|
576
572
|
});
|
|
577
573
|
}
|
|
@@ -582,12 +578,12 @@ const de_CreateNamedQueryCommand = async (output, context) => {
|
|
|
582
578
|
}
|
|
583
579
|
const data = await parseBody(output.body, context);
|
|
584
580
|
let contents = {};
|
|
585
|
-
contents =
|
|
581
|
+
contents = (0, smithy_client_1._json)(data);
|
|
586
582
|
const response = {
|
|
587
583
|
$metadata: deserializeMetadata(output),
|
|
588
584
|
...contents,
|
|
589
585
|
};
|
|
590
|
-
return
|
|
586
|
+
return response;
|
|
591
587
|
};
|
|
592
588
|
exports.de_CreateNamedQueryCommand = de_CreateNamedQueryCommand;
|
|
593
589
|
const de_CreateNamedQueryCommandError = async (output, context) => {
|
|
@@ -605,10 +601,9 @@ const de_CreateNamedQueryCommandError = async (output, context) => {
|
|
|
605
601
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
606
602
|
default:
|
|
607
603
|
const parsedBody = parsedOutput.body;
|
|
608
|
-
|
|
604
|
+
return throwDefaultError({
|
|
609
605
|
output,
|
|
610
606
|
parsedBody,
|
|
611
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
612
607
|
errorCode,
|
|
613
608
|
});
|
|
614
609
|
}
|
|
@@ -619,12 +614,12 @@ const de_CreateNotebookCommand = async (output, context) => {
|
|
|
619
614
|
}
|
|
620
615
|
const data = await parseBody(output.body, context);
|
|
621
616
|
let contents = {};
|
|
622
|
-
contents =
|
|
617
|
+
contents = (0, smithy_client_1._json)(data);
|
|
623
618
|
const response = {
|
|
624
619
|
$metadata: deserializeMetadata(output),
|
|
625
620
|
...contents,
|
|
626
621
|
};
|
|
627
|
-
return
|
|
622
|
+
return response;
|
|
628
623
|
};
|
|
629
624
|
exports.de_CreateNotebookCommand = de_CreateNotebookCommand;
|
|
630
625
|
const de_CreateNotebookCommandError = async (output, context) => {
|
|
@@ -645,10 +640,9 @@ const de_CreateNotebookCommandError = async (output, context) => {
|
|
|
645
640
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
646
641
|
default:
|
|
647
642
|
const parsedBody = parsedOutput.body;
|
|
648
|
-
|
|
643
|
+
return throwDefaultError({
|
|
649
644
|
output,
|
|
650
645
|
parsedBody,
|
|
651
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
652
646
|
errorCode,
|
|
653
647
|
});
|
|
654
648
|
}
|
|
@@ -659,12 +653,12 @@ const de_CreatePreparedStatementCommand = async (output, context) => {
|
|
|
659
653
|
}
|
|
660
654
|
const data = await parseBody(output.body, context);
|
|
661
655
|
let contents = {};
|
|
662
|
-
contents =
|
|
656
|
+
contents = (0, smithy_client_1._json)(data);
|
|
663
657
|
const response = {
|
|
664
658
|
$metadata: deserializeMetadata(output),
|
|
665
659
|
...contents,
|
|
666
660
|
};
|
|
667
|
-
return
|
|
661
|
+
return response;
|
|
668
662
|
};
|
|
669
663
|
exports.de_CreatePreparedStatementCommand = de_CreatePreparedStatementCommand;
|
|
670
664
|
const de_CreatePreparedStatementCommandError = async (output, context) => {
|
|
@@ -682,10 +676,9 @@ const de_CreatePreparedStatementCommandError = async (output, context) => {
|
|
|
682
676
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
683
677
|
default:
|
|
684
678
|
const parsedBody = parsedOutput.body;
|
|
685
|
-
|
|
679
|
+
return throwDefaultError({
|
|
686
680
|
output,
|
|
687
681
|
parsedBody,
|
|
688
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
689
682
|
errorCode,
|
|
690
683
|
});
|
|
691
684
|
}
|
|
@@ -696,12 +689,12 @@ const de_CreatePresignedNotebookUrlCommand = async (output, context) => {
|
|
|
696
689
|
}
|
|
697
690
|
const data = await parseBody(output.body, context);
|
|
698
691
|
let contents = {};
|
|
699
|
-
contents =
|
|
692
|
+
contents = (0, smithy_client_1._json)(data);
|
|
700
693
|
const response = {
|
|
701
694
|
$metadata: deserializeMetadata(output),
|
|
702
695
|
...contents,
|
|
703
696
|
};
|
|
704
|
-
return
|
|
697
|
+
return response;
|
|
705
698
|
};
|
|
706
699
|
exports.de_CreatePresignedNotebookUrlCommand = de_CreatePresignedNotebookUrlCommand;
|
|
707
700
|
const de_CreatePresignedNotebookUrlCommandError = async (output, context) => {
|
|
@@ -722,10 +715,9 @@ const de_CreatePresignedNotebookUrlCommandError = async (output, context) => {
|
|
|
722
715
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
723
716
|
default:
|
|
724
717
|
const parsedBody = parsedOutput.body;
|
|
725
|
-
|
|
718
|
+
return throwDefaultError({
|
|
726
719
|
output,
|
|
727
720
|
parsedBody,
|
|
728
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
729
721
|
errorCode,
|
|
730
722
|
});
|
|
731
723
|
}
|
|
@@ -736,12 +728,12 @@ const de_CreateWorkGroupCommand = async (output, context) => {
|
|
|
736
728
|
}
|
|
737
729
|
const data = await parseBody(output.body, context);
|
|
738
730
|
let contents = {};
|
|
739
|
-
contents =
|
|
731
|
+
contents = (0, smithy_client_1._json)(data);
|
|
740
732
|
const response = {
|
|
741
733
|
$metadata: deserializeMetadata(output),
|
|
742
734
|
...contents,
|
|
743
735
|
};
|
|
744
|
-
return
|
|
736
|
+
return response;
|
|
745
737
|
};
|
|
746
738
|
exports.de_CreateWorkGroupCommand = de_CreateWorkGroupCommand;
|
|
747
739
|
const de_CreateWorkGroupCommandError = async (output, context) => {
|
|
@@ -759,10 +751,9 @@ const de_CreateWorkGroupCommandError = async (output, context) => {
|
|
|
759
751
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
760
752
|
default:
|
|
761
753
|
const parsedBody = parsedOutput.body;
|
|
762
|
-
|
|
754
|
+
return throwDefaultError({
|
|
763
755
|
output,
|
|
764
756
|
parsedBody,
|
|
765
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
766
757
|
errorCode,
|
|
767
758
|
});
|
|
768
759
|
}
|
|
@@ -773,12 +764,12 @@ const de_DeleteDataCatalogCommand = async (output, context) => {
|
|
|
773
764
|
}
|
|
774
765
|
const data = await parseBody(output.body, context);
|
|
775
766
|
let contents = {};
|
|
776
|
-
contents =
|
|
767
|
+
contents = (0, smithy_client_1._json)(data);
|
|
777
768
|
const response = {
|
|
778
769
|
$metadata: deserializeMetadata(output),
|
|
779
770
|
...contents,
|
|
780
771
|
};
|
|
781
|
-
return
|
|
772
|
+
return response;
|
|
782
773
|
};
|
|
783
774
|
exports.de_DeleteDataCatalogCommand = de_DeleteDataCatalogCommand;
|
|
784
775
|
const de_DeleteDataCatalogCommandError = async (output, context) => {
|
|
@@ -796,10 +787,9 @@ const de_DeleteDataCatalogCommandError = async (output, context) => {
|
|
|
796
787
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
797
788
|
default:
|
|
798
789
|
const parsedBody = parsedOutput.body;
|
|
799
|
-
|
|
790
|
+
return throwDefaultError({
|
|
800
791
|
output,
|
|
801
792
|
parsedBody,
|
|
802
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
803
793
|
errorCode,
|
|
804
794
|
});
|
|
805
795
|
}
|
|
@@ -810,12 +800,12 @@ const de_DeleteNamedQueryCommand = async (output, context) => {
|
|
|
810
800
|
}
|
|
811
801
|
const data = await parseBody(output.body, context);
|
|
812
802
|
let contents = {};
|
|
813
|
-
contents =
|
|
803
|
+
contents = (0, smithy_client_1._json)(data);
|
|
814
804
|
const response = {
|
|
815
805
|
$metadata: deserializeMetadata(output),
|
|
816
806
|
...contents,
|
|
817
807
|
};
|
|
818
|
-
return
|
|
808
|
+
return response;
|
|
819
809
|
};
|
|
820
810
|
exports.de_DeleteNamedQueryCommand = de_DeleteNamedQueryCommand;
|
|
821
811
|
const de_DeleteNamedQueryCommandError = async (output, context) => {
|
|
@@ -833,10 +823,9 @@ const de_DeleteNamedQueryCommandError = async (output, context) => {
|
|
|
833
823
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
834
824
|
default:
|
|
835
825
|
const parsedBody = parsedOutput.body;
|
|
836
|
-
|
|
826
|
+
return throwDefaultError({
|
|
837
827
|
output,
|
|
838
828
|
parsedBody,
|
|
839
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
840
829
|
errorCode,
|
|
841
830
|
});
|
|
842
831
|
}
|
|
@@ -847,12 +836,12 @@ const de_DeleteNotebookCommand = async (output, context) => {
|
|
|
847
836
|
}
|
|
848
837
|
const data = await parseBody(output.body, context);
|
|
849
838
|
let contents = {};
|
|
850
|
-
contents =
|
|
839
|
+
contents = (0, smithy_client_1._json)(data);
|
|
851
840
|
const response = {
|
|
852
841
|
$metadata: deserializeMetadata(output),
|
|
853
842
|
...contents,
|
|
854
843
|
};
|
|
855
|
-
return
|
|
844
|
+
return response;
|
|
856
845
|
};
|
|
857
846
|
exports.de_DeleteNotebookCommand = de_DeleteNotebookCommand;
|
|
858
847
|
const de_DeleteNotebookCommandError = async (output, context) => {
|
|
@@ -873,10 +862,9 @@ const de_DeleteNotebookCommandError = async (output, context) => {
|
|
|
873
862
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
874
863
|
default:
|
|
875
864
|
const parsedBody = parsedOutput.body;
|
|
876
|
-
|
|
865
|
+
return throwDefaultError({
|
|
877
866
|
output,
|
|
878
867
|
parsedBody,
|
|
879
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
880
868
|
errorCode,
|
|
881
869
|
});
|
|
882
870
|
}
|
|
@@ -887,12 +875,12 @@ const de_DeletePreparedStatementCommand = async (output, context) => {
|
|
|
887
875
|
}
|
|
888
876
|
const data = await parseBody(output.body, context);
|
|
889
877
|
let contents = {};
|
|
890
|
-
contents =
|
|
878
|
+
contents = (0, smithy_client_1._json)(data);
|
|
891
879
|
const response = {
|
|
892
880
|
$metadata: deserializeMetadata(output),
|
|
893
881
|
...contents,
|
|
894
882
|
};
|
|
895
|
-
return
|
|
883
|
+
return response;
|
|
896
884
|
};
|
|
897
885
|
exports.de_DeletePreparedStatementCommand = de_DeletePreparedStatementCommand;
|
|
898
886
|
const de_DeletePreparedStatementCommandError = async (output, context) => {
|
|
@@ -913,10 +901,9 @@ const de_DeletePreparedStatementCommandError = async (output, context) => {
|
|
|
913
901
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
914
902
|
default:
|
|
915
903
|
const parsedBody = parsedOutput.body;
|
|
916
|
-
|
|
904
|
+
return throwDefaultError({
|
|
917
905
|
output,
|
|
918
906
|
parsedBody,
|
|
919
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
920
907
|
errorCode,
|
|
921
908
|
});
|
|
922
909
|
}
|
|
@@ -927,12 +914,12 @@ const de_DeleteWorkGroupCommand = async (output, context) => {
|
|
|
927
914
|
}
|
|
928
915
|
const data = await parseBody(output.body, context);
|
|
929
916
|
let contents = {};
|
|
930
|
-
contents =
|
|
917
|
+
contents = (0, smithy_client_1._json)(data);
|
|
931
918
|
const response = {
|
|
932
919
|
$metadata: deserializeMetadata(output),
|
|
933
920
|
...contents,
|
|
934
921
|
};
|
|
935
|
-
return
|
|
922
|
+
return response;
|
|
936
923
|
};
|
|
937
924
|
exports.de_DeleteWorkGroupCommand = de_DeleteWorkGroupCommand;
|
|
938
925
|
const de_DeleteWorkGroupCommandError = async (output, context) => {
|
|
@@ -950,10 +937,9 @@ const de_DeleteWorkGroupCommandError = async (output, context) => {
|
|
|
950
937
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
951
938
|
default:
|
|
952
939
|
const parsedBody = parsedOutput.body;
|
|
953
|
-
|
|
940
|
+
return throwDefaultError({
|
|
954
941
|
output,
|
|
955
942
|
parsedBody,
|
|
956
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
957
943
|
errorCode,
|
|
958
944
|
});
|
|
959
945
|
}
|
|
@@ -969,7 +955,7 @@ const de_ExportNotebookCommand = async (output, context) => {
|
|
|
969
955
|
$metadata: deserializeMetadata(output),
|
|
970
956
|
...contents,
|
|
971
957
|
};
|
|
972
|
-
return
|
|
958
|
+
return response;
|
|
973
959
|
};
|
|
974
960
|
exports.de_ExportNotebookCommand = de_ExportNotebookCommand;
|
|
975
961
|
const de_ExportNotebookCommandError = async (output, context) => {
|
|
@@ -990,10 +976,9 @@ const de_ExportNotebookCommandError = async (output, context) => {
|
|
|
990
976
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
991
977
|
default:
|
|
992
978
|
const parsedBody = parsedOutput.body;
|
|
993
|
-
|
|
979
|
+
return throwDefaultError({
|
|
994
980
|
output,
|
|
995
981
|
parsedBody,
|
|
996
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
997
982
|
errorCode,
|
|
998
983
|
});
|
|
999
984
|
}
|
|
@@ -1009,7 +994,7 @@ const de_GetCalculationExecutionCommand = async (output, context) => {
|
|
|
1009
994
|
$metadata: deserializeMetadata(output),
|
|
1010
995
|
...contents,
|
|
1011
996
|
};
|
|
1012
|
-
return
|
|
997
|
+
return response;
|
|
1013
998
|
};
|
|
1014
999
|
exports.de_GetCalculationExecutionCommand = de_GetCalculationExecutionCommand;
|
|
1015
1000
|
const de_GetCalculationExecutionCommandError = async (output, context) => {
|
|
@@ -1030,10 +1015,9 @@ const de_GetCalculationExecutionCommandError = async (output, context) => {
|
|
|
1030
1015
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1031
1016
|
default:
|
|
1032
1017
|
const parsedBody = parsedOutput.body;
|
|
1033
|
-
|
|
1018
|
+
return throwDefaultError({
|
|
1034
1019
|
output,
|
|
1035
1020
|
parsedBody,
|
|
1036
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1037
1021
|
errorCode,
|
|
1038
1022
|
});
|
|
1039
1023
|
}
|
|
@@ -1044,12 +1028,12 @@ const de_GetCalculationExecutionCodeCommand = async (output, context) => {
|
|
|
1044
1028
|
}
|
|
1045
1029
|
const data = await parseBody(output.body, context);
|
|
1046
1030
|
let contents = {};
|
|
1047
|
-
contents =
|
|
1031
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1048
1032
|
const response = {
|
|
1049
1033
|
$metadata: deserializeMetadata(output),
|
|
1050
1034
|
...contents,
|
|
1051
1035
|
};
|
|
1052
|
-
return
|
|
1036
|
+
return response;
|
|
1053
1037
|
};
|
|
1054
1038
|
exports.de_GetCalculationExecutionCodeCommand = de_GetCalculationExecutionCodeCommand;
|
|
1055
1039
|
const de_GetCalculationExecutionCodeCommandError = async (output, context) => {
|
|
@@ -1070,10 +1054,9 @@ const de_GetCalculationExecutionCodeCommandError = async (output, context) => {
|
|
|
1070
1054
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1071
1055
|
default:
|
|
1072
1056
|
const parsedBody = parsedOutput.body;
|
|
1073
|
-
|
|
1057
|
+
return throwDefaultError({
|
|
1074
1058
|
output,
|
|
1075
1059
|
parsedBody,
|
|
1076
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1077
1060
|
errorCode,
|
|
1078
1061
|
});
|
|
1079
1062
|
}
|
|
@@ -1089,7 +1072,7 @@ const de_GetCalculationExecutionStatusCommand = async (output, context) => {
|
|
|
1089
1072
|
$metadata: deserializeMetadata(output),
|
|
1090
1073
|
...contents,
|
|
1091
1074
|
};
|
|
1092
|
-
return
|
|
1075
|
+
return response;
|
|
1093
1076
|
};
|
|
1094
1077
|
exports.de_GetCalculationExecutionStatusCommand = de_GetCalculationExecutionStatusCommand;
|
|
1095
1078
|
const de_GetCalculationExecutionStatusCommandError = async (output, context) => {
|
|
@@ -1110,10 +1093,9 @@ const de_GetCalculationExecutionStatusCommandError = async (output, context) =>
|
|
|
1110
1093
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1111
1094
|
default:
|
|
1112
1095
|
const parsedBody = parsedOutput.body;
|
|
1113
|
-
|
|
1096
|
+
return throwDefaultError({
|
|
1114
1097
|
output,
|
|
1115
1098
|
parsedBody,
|
|
1116
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1117
1099
|
errorCode,
|
|
1118
1100
|
});
|
|
1119
1101
|
}
|
|
@@ -1124,12 +1106,12 @@ const de_GetDatabaseCommand = async (output, context) => {
|
|
|
1124
1106
|
}
|
|
1125
1107
|
const data = await parseBody(output.body, context);
|
|
1126
1108
|
let contents = {};
|
|
1127
|
-
contents =
|
|
1109
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1128
1110
|
const response = {
|
|
1129
1111
|
$metadata: deserializeMetadata(output),
|
|
1130
1112
|
...contents,
|
|
1131
1113
|
};
|
|
1132
|
-
return
|
|
1114
|
+
return response;
|
|
1133
1115
|
};
|
|
1134
1116
|
exports.de_GetDatabaseCommand = de_GetDatabaseCommand;
|
|
1135
1117
|
const de_GetDatabaseCommandError = async (output, context) => {
|
|
@@ -1150,10 +1132,9 @@ const de_GetDatabaseCommandError = async (output, context) => {
|
|
|
1150
1132
|
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
1151
1133
|
default:
|
|
1152
1134
|
const parsedBody = parsedOutput.body;
|
|
1153
|
-
|
|
1135
|
+
return throwDefaultError({
|
|
1154
1136
|
output,
|
|
1155
1137
|
parsedBody,
|
|
1156
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1157
1138
|
errorCode,
|
|
1158
1139
|
});
|
|
1159
1140
|
}
|
|
@@ -1164,12 +1145,12 @@ const de_GetDataCatalogCommand = async (output, context) => {
|
|
|
1164
1145
|
}
|
|
1165
1146
|
const data = await parseBody(output.body, context);
|
|
1166
1147
|
let contents = {};
|
|
1167
|
-
contents =
|
|
1148
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1168
1149
|
const response = {
|
|
1169
1150
|
$metadata: deserializeMetadata(output),
|
|
1170
1151
|
...contents,
|
|
1171
1152
|
};
|
|
1172
|
-
return
|
|
1153
|
+
return response;
|
|
1173
1154
|
};
|
|
1174
1155
|
exports.de_GetDataCatalogCommand = de_GetDataCatalogCommand;
|
|
1175
1156
|
const de_GetDataCatalogCommandError = async (output, context) => {
|
|
@@ -1187,10 +1168,9 @@ const de_GetDataCatalogCommandError = async (output, context) => {
|
|
|
1187
1168
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1188
1169
|
default:
|
|
1189
1170
|
const parsedBody = parsedOutput.body;
|
|
1190
|
-
|
|
1171
|
+
return throwDefaultError({
|
|
1191
1172
|
output,
|
|
1192
1173
|
parsedBody,
|
|
1193
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1194
1174
|
errorCode,
|
|
1195
1175
|
});
|
|
1196
1176
|
}
|
|
@@ -1201,12 +1181,12 @@ const de_GetNamedQueryCommand = async (output, context) => {
|
|
|
1201
1181
|
}
|
|
1202
1182
|
const data = await parseBody(output.body, context);
|
|
1203
1183
|
let contents = {};
|
|
1204
|
-
contents =
|
|
1184
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1205
1185
|
const response = {
|
|
1206
1186
|
$metadata: deserializeMetadata(output),
|
|
1207
1187
|
...contents,
|
|
1208
1188
|
};
|
|
1209
|
-
return
|
|
1189
|
+
return response;
|
|
1210
1190
|
};
|
|
1211
1191
|
exports.de_GetNamedQueryCommand = de_GetNamedQueryCommand;
|
|
1212
1192
|
const de_GetNamedQueryCommandError = async (output, context) => {
|
|
@@ -1224,10 +1204,9 @@ const de_GetNamedQueryCommandError = async (output, context) => {
|
|
|
1224
1204
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1225
1205
|
default:
|
|
1226
1206
|
const parsedBody = parsedOutput.body;
|
|
1227
|
-
|
|
1207
|
+
return throwDefaultError({
|
|
1228
1208
|
output,
|
|
1229
1209
|
parsedBody,
|
|
1230
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1231
1210
|
errorCode,
|
|
1232
1211
|
});
|
|
1233
1212
|
}
|
|
@@ -1243,7 +1222,7 @@ const de_GetNotebookMetadataCommand = async (output, context) => {
|
|
|
1243
1222
|
$metadata: deserializeMetadata(output),
|
|
1244
1223
|
...contents,
|
|
1245
1224
|
};
|
|
1246
|
-
return
|
|
1225
|
+
return response;
|
|
1247
1226
|
};
|
|
1248
1227
|
exports.de_GetNotebookMetadataCommand = de_GetNotebookMetadataCommand;
|
|
1249
1228
|
const de_GetNotebookMetadataCommandError = async (output, context) => {
|
|
@@ -1264,10 +1243,9 @@ const de_GetNotebookMetadataCommandError = async (output, context) => {
|
|
|
1264
1243
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1265
1244
|
default:
|
|
1266
1245
|
const parsedBody = parsedOutput.body;
|
|
1267
|
-
|
|
1246
|
+
return throwDefaultError({
|
|
1268
1247
|
output,
|
|
1269
1248
|
parsedBody,
|
|
1270
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1271
1249
|
errorCode,
|
|
1272
1250
|
});
|
|
1273
1251
|
}
|
|
@@ -1283,7 +1261,7 @@ const de_GetPreparedStatementCommand = async (output, context) => {
|
|
|
1283
1261
|
$metadata: deserializeMetadata(output),
|
|
1284
1262
|
...contents,
|
|
1285
1263
|
};
|
|
1286
|
-
return
|
|
1264
|
+
return response;
|
|
1287
1265
|
};
|
|
1288
1266
|
exports.de_GetPreparedStatementCommand = de_GetPreparedStatementCommand;
|
|
1289
1267
|
const de_GetPreparedStatementCommandError = async (output, context) => {
|
|
@@ -1304,10 +1282,9 @@ const de_GetPreparedStatementCommandError = async (output, context) => {
|
|
|
1304
1282
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1305
1283
|
default:
|
|
1306
1284
|
const parsedBody = parsedOutput.body;
|
|
1307
|
-
|
|
1285
|
+
return throwDefaultError({
|
|
1308
1286
|
output,
|
|
1309
1287
|
parsedBody,
|
|
1310
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1311
1288
|
errorCode,
|
|
1312
1289
|
});
|
|
1313
1290
|
}
|
|
@@ -1323,7 +1300,7 @@ const de_GetQueryExecutionCommand = async (output, context) => {
|
|
|
1323
1300
|
$metadata: deserializeMetadata(output),
|
|
1324
1301
|
...contents,
|
|
1325
1302
|
};
|
|
1326
|
-
return
|
|
1303
|
+
return response;
|
|
1327
1304
|
};
|
|
1328
1305
|
exports.de_GetQueryExecutionCommand = de_GetQueryExecutionCommand;
|
|
1329
1306
|
const de_GetQueryExecutionCommandError = async (output, context) => {
|
|
@@ -1341,10 +1318,9 @@ const de_GetQueryExecutionCommandError = async (output, context) => {
|
|
|
1341
1318
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1342
1319
|
default:
|
|
1343
1320
|
const parsedBody = parsedOutput.body;
|
|
1344
|
-
|
|
1321
|
+
return throwDefaultError({
|
|
1345
1322
|
output,
|
|
1346
1323
|
parsedBody,
|
|
1347
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1348
1324
|
errorCode,
|
|
1349
1325
|
});
|
|
1350
1326
|
}
|
|
@@ -1355,12 +1331,12 @@ const de_GetQueryResultsCommand = async (output, context) => {
|
|
|
1355
1331
|
}
|
|
1356
1332
|
const data = await parseBody(output.body, context);
|
|
1357
1333
|
let contents = {};
|
|
1358
|
-
contents =
|
|
1334
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1359
1335
|
const response = {
|
|
1360
1336
|
$metadata: deserializeMetadata(output),
|
|
1361
1337
|
...contents,
|
|
1362
1338
|
};
|
|
1363
|
-
return
|
|
1339
|
+
return response;
|
|
1364
1340
|
};
|
|
1365
1341
|
exports.de_GetQueryResultsCommand = de_GetQueryResultsCommand;
|
|
1366
1342
|
const de_GetQueryResultsCommandError = async (output, context) => {
|
|
@@ -1381,10 +1357,9 @@ const de_GetQueryResultsCommandError = async (output, context) => {
|
|
|
1381
1357
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1382
1358
|
default:
|
|
1383
1359
|
const parsedBody = parsedOutput.body;
|
|
1384
|
-
|
|
1360
|
+
return throwDefaultError({
|
|
1385
1361
|
output,
|
|
1386
1362
|
parsedBody,
|
|
1387
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1388
1363
|
errorCode,
|
|
1389
1364
|
});
|
|
1390
1365
|
}
|
|
@@ -1400,7 +1375,7 @@ const de_GetQueryRuntimeStatisticsCommand = async (output, context) => {
|
|
|
1400
1375
|
$metadata: deserializeMetadata(output),
|
|
1401
1376
|
...contents,
|
|
1402
1377
|
};
|
|
1403
|
-
return
|
|
1378
|
+
return response;
|
|
1404
1379
|
};
|
|
1405
1380
|
exports.de_GetQueryRuntimeStatisticsCommand = de_GetQueryRuntimeStatisticsCommand;
|
|
1406
1381
|
const de_GetQueryRuntimeStatisticsCommandError = async (output, context) => {
|
|
@@ -1418,10 +1393,9 @@ const de_GetQueryRuntimeStatisticsCommandError = async (output, context) => {
|
|
|
1418
1393
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1419
1394
|
default:
|
|
1420
1395
|
const parsedBody = parsedOutput.body;
|
|
1421
|
-
|
|
1396
|
+
return throwDefaultError({
|
|
1422
1397
|
output,
|
|
1423
1398
|
parsedBody,
|
|
1424
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1425
1399
|
errorCode,
|
|
1426
1400
|
});
|
|
1427
1401
|
}
|
|
@@ -1437,7 +1411,7 @@ const de_GetSessionCommand = async (output, context) => {
|
|
|
1437
1411
|
$metadata: deserializeMetadata(output),
|
|
1438
1412
|
...contents,
|
|
1439
1413
|
};
|
|
1440
|
-
return
|
|
1414
|
+
return response;
|
|
1441
1415
|
};
|
|
1442
1416
|
exports.de_GetSessionCommand = de_GetSessionCommand;
|
|
1443
1417
|
const de_GetSessionCommandError = async (output, context) => {
|
|
@@ -1458,10 +1432,9 @@ const de_GetSessionCommandError = async (output, context) => {
|
|
|
1458
1432
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1459
1433
|
default:
|
|
1460
1434
|
const parsedBody = parsedOutput.body;
|
|
1461
|
-
|
|
1435
|
+
return throwDefaultError({
|
|
1462
1436
|
output,
|
|
1463
1437
|
parsedBody,
|
|
1464
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1465
1438
|
errorCode,
|
|
1466
1439
|
});
|
|
1467
1440
|
}
|
|
@@ -1477,7 +1450,7 @@ const de_GetSessionStatusCommand = async (output, context) => {
|
|
|
1477
1450
|
$metadata: deserializeMetadata(output),
|
|
1478
1451
|
...contents,
|
|
1479
1452
|
};
|
|
1480
|
-
return
|
|
1453
|
+
return response;
|
|
1481
1454
|
};
|
|
1482
1455
|
exports.de_GetSessionStatusCommand = de_GetSessionStatusCommand;
|
|
1483
1456
|
const de_GetSessionStatusCommandError = async (output, context) => {
|
|
@@ -1498,10 +1471,9 @@ const de_GetSessionStatusCommandError = async (output, context) => {
|
|
|
1498
1471
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1499
1472
|
default:
|
|
1500
1473
|
const parsedBody = parsedOutput.body;
|
|
1501
|
-
|
|
1474
|
+
return throwDefaultError({
|
|
1502
1475
|
output,
|
|
1503
1476
|
parsedBody,
|
|
1504
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1505
1477
|
errorCode,
|
|
1506
1478
|
});
|
|
1507
1479
|
}
|
|
@@ -1517,7 +1489,7 @@ const de_GetTableMetadataCommand = async (output, context) => {
|
|
|
1517
1489
|
$metadata: deserializeMetadata(output),
|
|
1518
1490
|
...contents,
|
|
1519
1491
|
};
|
|
1520
|
-
return
|
|
1492
|
+
return response;
|
|
1521
1493
|
};
|
|
1522
1494
|
exports.de_GetTableMetadataCommand = de_GetTableMetadataCommand;
|
|
1523
1495
|
const de_GetTableMetadataCommandError = async (output, context) => {
|
|
@@ -1538,10 +1510,9 @@ const de_GetTableMetadataCommandError = async (output, context) => {
|
|
|
1538
1510
|
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
1539
1511
|
default:
|
|
1540
1512
|
const parsedBody = parsedOutput.body;
|
|
1541
|
-
|
|
1513
|
+
return throwDefaultError({
|
|
1542
1514
|
output,
|
|
1543
1515
|
parsedBody,
|
|
1544
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1545
1516
|
errorCode,
|
|
1546
1517
|
});
|
|
1547
1518
|
}
|
|
@@ -1557,7 +1528,7 @@ const de_GetWorkGroupCommand = async (output, context) => {
|
|
|
1557
1528
|
$metadata: deserializeMetadata(output),
|
|
1558
1529
|
...contents,
|
|
1559
1530
|
};
|
|
1560
|
-
return
|
|
1531
|
+
return response;
|
|
1561
1532
|
};
|
|
1562
1533
|
exports.de_GetWorkGroupCommand = de_GetWorkGroupCommand;
|
|
1563
1534
|
const de_GetWorkGroupCommandError = async (output, context) => {
|
|
@@ -1575,10 +1546,9 @@ const de_GetWorkGroupCommandError = async (output, context) => {
|
|
|
1575
1546
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1576
1547
|
default:
|
|
1577
1548
|
const parsedBody = parsedOutput.body;
|
|
1578
|
-
|
|
1549
|
+
return throwDefaultError({
|
|
1579
1550
|
output,
|
|
1580
1551
|
parsedBody,
|
|
1581
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1582
1552
|
errorCode,
|
|
1583
1553
|
});
|
|
1584
1554
|
}
|
|
@@ -1589,12 +1559,12 @@ const de_ImportNotebookCommand = async (output, context) => {
|
|
|
1589
1559
|
}
|
|
1590
1560
|
const data = await parseBody(output.body, context);
|
|
1591
1561
|
let contents = {};
|
|
1592
|
-
contents =
|
|
1562
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1593
1563
|
const response = {
|
|
1594
1564
|
$metadata: deserializeMetadata(output),
|
|
1595
1565
|
...contents,
|
|
1596
1566
|
};
|
|
1597
|
-
return
|
|
1567
|
+
return response;
|
|
1598
1568
|
};
|
|
1599
1569
|
exports.de_ImportNotebookCommand = de_ImportNotebookCommand;
|
|
1600
1570
|
const de_ImportNotebookCommandError = async (output, context) => {
|
|
@@ -1615,10 +1585,9 @@ const de_ImportNotebookCommandError = async (output, context) => {
|
|
|
1615
1585
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1616
1586
|
default:
|
|
1617
1587
|
const parsedBody = parsedOutput.body;
|
|
1618
|
-
|
|
1588
|
+
return throwDefaultError({
|
|
1619
1589
|
output,
|
|
1620
1590
|
parsedBody,
|
|
1621
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1622
1591
|
errorCode,
|
|
1623
1592
|
});
|
|
1624
1593
|
}
|
|
@@ -1629,12 +1598,12 @@ const de_ListApplicationDPUSizesCommand = async (output, context) => {
|
|
|
1629
1598
|
}
|
|
1630
1599
|
const data = await parseBody(output.body, context);
|
|
1631
1600
|
let contents = {};
|
|
1632
|
-
contents =
|
|
1601
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1633
1602
|
const response = {
|
|
1634
1603
|
$metadata: deserializeMetadata(output),
|
|
1635
1604
|
...contents,
|
|
1636
1605
|
};
|
|
1637
|
-
return
|
|
1606
|
+
return response;
|
|
1638
1607
|
};
|
|
1639
1608
|
exports.de_ListApplicationDPUSizesCommand = de_ListApplicationDPUSizesCommand;
|
|
1640
1609
|
const de_ListApplicationDPUSizesCommandError = async (output, context) => {
|
|
@@ -1655,10 +1624,9 @@ const de_ListApplicationDPUSizesCommandError = async (output, context) => {
|
|
|
1655
1624
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1656
1625
|
default:
|
|
1657
1626
|
const parsedBody = parsedOutput.body;
|
|
1658
|
-
|
|
1627
|
+
return throwDefaultError({
|
|
1659
1628
|
output,
|
|
1660
1629
|
parsedBody,
|
|
1661
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1662
1630
|
errorCode,
|
|
1663
1631
|
});
|
|
1664
1632
|
}
|
|
@@ -1674,7 +1642,7 @@ const de_ListCalculationExecutionsCommand = async (output, context) => {
|
|
|
1674
1642
|
$metadata: deserializeMetadata(output),
|
|
1675
1643
|
...contents,
|
|
1676
1644
|
};
|
|
1677
|
-
return
|
|
1645
|
+
return response;
|
|
1678
1646
|
};
|
|
1679
1647
|
exports.de_ListCalculationExecutionsCommand = de_ListCalculationExecutionsCommand;
|
|
1680
1648
|
const de_ListCalculationExecutionsCommandError = async (output, context) => {
|
|
@@ -1695,10 +1663,9 @@ const de_ListCalculationExecutionsCommandError = async (output, context) => {
|
|
|
1695
1663
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1696
1664
|
default:
|
|
1697
1665
|
const parsedBody = parsedOutput.body;
|
|
1698
|
-
|
|
1666
|
+
return throwDefaultError({
|
|
1699
1667
|
output,
|
|
1700
1668
|
parsedBody,
|
|
1701
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1702
1669
|
errorCode,
|
|
1703
1670
|
});
|
|
1704
1671
|
}
|
|
@@ -1709,12 +1676,12 @@ const de_ListDatabasesCommand = async (output, context) => {
|
|
|
1709
1676
|
}
|
|
1710
1677
|
const data = await parseBody(output.body, context);
|
|
1711
1678
|
let contents = {};
|
|
1712
|
-
contents =
|
|
1679
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1713
1680
|
const response = {
|
|
1714
1681
|
$metadata: deserializeMetadata(output),
|
|
1715
1682
|
...contents,
|
|
1716
1683
|
};
|
|
1717
|
-
return
|
|
1684
|
+
return response;
|
|
1718
1685
|
};
|
|
1719
1686
|
exports.de_ListDatabasesCommand = de_ListDatabasesCommand;
|
|
1720
1687
|
const de_ListDatabasesCommandError = async (output, context) => {
|
|
@@ -1735,10 +1702,9 @@ const de_ListDatabasesCommandError = async (output, context) => {
|
|
|
1735
1702
|
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
1736
1703
|
default:
|
|
1737
1704
|
const parsedBody = parsedOutput.body;
|
|
1738
|
-
|
|
1705
|
+
return throwDefaultError({
|
|
1739
1706
|
output,
|
|
1740
1707
|
parsedBody,
|
|
1741
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1742
1708
|
errorCode,
|
|
1743
1709
|
});
|
|
1744
1710
|
}
|
|
@@ -1749,12 +1715,12 @@ const de_ListDataCatalogsCommand = async (output, context) => {
|
|
|
1749
1715
|
}
|
|
1750
1716
|
const data = await parseBody(output.body, context);
|
|
1751
1717
|
let contents = {};
|
|
1752
|
-
contents =
|
|
1718
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1753
1719
|
const response = {
|
|
1754
1720
|
$metadata: deserializeMetadata(output),
|
|
1755
1721
|
...contents,
|
|
1756
1722
|
};
|
|
1757
|
-
return
|
|
1723
|
+
return response;
|
|
1758
1724
|
};
|
|
1759
1725
|
exports.de_ListDataCatalogsCommand = de_ListDataCatalogsCommand;
|
|
1760
1726
|
const de_ListDataCatalogsCommandError = async (output, context) => {
|
|
@@ -1772,10 +1738,9 @@ const de_ListDataCatalogsCommandError = async (output, context) => {
|
|
|
1772
1738
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1773
1739
|
default:
|
|
1774
1740
|
const parsedBody = parsedOutput.body;
|
|
1775
|
-
|
|
1741
|
+
return throwDefaultError({
|
|
1776
1742
|
output,
|
|
1777
1743
|
parsedBody,
|
|
1778
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1779
1744
|
errorCode,
|
|
1780
1745
|
});
|
|
1781
1746
|
}
|
|
@@ -1786,12 +1751,12 @@ const de_ListEngineVersionsCommand = async (output, context) => {
|
|
|
1786
1751
|
}
|
|
1787
1752
|
const data = await parseBody(output.body, context);
|
|
1788
1753
|
let contents = {};
|
|
1789
|
-
contents =
|
|
1754
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1790
1755
|
const response = {
|
|
1791
1756
|
$metadata: deserializeMetadata(output),
|
|
1792
1757
|
...contents,
|
|
1793
1758
|
};
|
|
1794
|
-
return
|
|
1759
|
+
return response;
|
|
1795
1760
|
};
|
|
1796
1761
|
exports.de_ListEngineVersionsCommand = de_ListEngineVersionsCommand;
|
|
1797
1762
|
const de_ListEngineVersionsCommandError = async (output, context) => {
|
|
@@ -1809,10 +1774,9 @@ const de_ListEngineVersionsCommandError = async (output, context) => {
|
|
|
1809
1774
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1810
1775
|
default:
|
|
1811
1776
|
const parsedBody = parsedOutput.body;
|
|
1812
|
-
|
|
1777
|
+
return throwDefaultError({
|
|
1813
1778
|
output,
|
|
1814
1779
|
parsedBody,
|
|
1815
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1816
1780
|
errorCode,
|
|
1817
1781
|
});
|
|
1818
1782
|
}
|
|
@@ -1823,12 +1787,12 @@ const de_ListExecutorsCommand = async (output, context) => {
|
|
|
1823
1787
|
}
|
|
1824
1788
|
const data = await parseBody(output.body, context);
|
|
1825
1789
|
let contents = {};
|
|
1826
|
-
contents =
|
|
1790
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1827
1791
|
const response = {
|
|
1828
1792
|
$metadata: deserializeMetadata(output),
|
|
1829
1793
|
...contents,
|
|
1830
1794
|
};
|
|
1831
|
-
return
|
|
1795
|
+
return response;
|
|
1832
1796
|
};
|
|
1833
1797
|
exports.de_ListExecutorsCommand = de_ListExecutorsCommand;
|
|
1834
1798
|
const de_ListExecutorsCommandError = async (output, context) => {
|
|
@@ -1849,10 +1813,9 @@ const de_ListExecutorsCommandError = async (output, context) => {
|
|
|
1849
1813
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1850
1814
|
default:
|
|
1851
1815
|
const parsedBody = parsedOutput.body;
|
|
1852
|
-
|
|
1816
|
+
return throwDefaultError({
|
|
1853
1817
|
output,
|
|
1854
1818
|
parsedBody,
|
|
1855
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1856
1819
|
errorCode,
|
|
1857
1820
|
});
|
|
1858
1821
|
}
|
|
@@ -1863,12 +1826,12 @@ const de_ListNamedQueriesCommand = async (output, context) => {
|
|
|
1863
1826
|
}
|
|
1864
1827
|
const data = await parseBody(output.body, context);
|
|
1865
1828
|
let contents = {};
|
|
1866
|
-
contents =
|
|
1829
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1867
1830
|
const response = {
|
|
1868
1831
|
$metadata: deserializeMetadata(output),
|
|
1869
1832
|
...contents,
|
|
1870
1833
|
};
|
|
1871
|
-
return
|
|
1834
|
+
return response;
|
|
1872
1835
|
};
|
|
1873
1836
|
exports.de_ListNamedQueriesCommand = de_ListNamedQueriesCommand;
|
|
1874
1837
|
const de_ListNamedQueriesCommandError = async (output, context) => {
|
|
@@ -1886,10 +1849,9 @@ const de_ListNamedQueriesCommandError = async (output, context) => {
|
|
|
1886
1849
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1887
1850
|
default:
|
|
1888
1851
|
const parsedBody = parsedOutput.body;
|
|
1889
|
-
|
|
1852
|
+
return throwDefaultError({
|
|
1890
1853
|
output,
|
|
1891
1854
|
parsedBody,
|
|
1892
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1893
1855
|
errorCode,
|
|
1894
1856
|
});
|
|
1895
1857
|
}
|
|
@@ -1905,7 +1867,7 @@ const de_ListNotebookMetadataCommand = async (output, context) => {
|
|
|
1905
1867
|
$metadata: deserializeMetadata(output),
|
|
1906
1868
|
...contents,
|
|
1907
1869
|
};
|
|
1908
|
-
return
|
|
1870
|
+
return response;
|
|
1909
1871
|
};
|
|
1910
1872
|
exports.de_ListNotebookMetadataCommand = de_ListNotebookMetadataCommand;
|
|
1911
1873
|
const de_ListNotebookMetadataCommandError = async (output, context) => {
|
|
@@ -1926,10 +1888,9 @@ const de_ListNotebookMetadataCommandError = async (output, context) => {
|
|
|
1926
1888
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1927
1889
|
default:
|
|
1928
1890
|
const parsedBody = parsedOutput.body;
|
|
1929
|
-
|
|
1891
|
+
return throwDefaultError({
|
|
1930
1892
|
output,
|
|
1931
1893
|
parsedBody,
|
|
1932
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1933
1894
|
errorCode,
|
|
1934
1895
|
});
|
|
1935
1896
|
}
|
|
@@ -1945,7 +1906,7 @@ const de_ListNotebookSessionsCommand = async (output, context) => {
|
|
|
1945
1906
|
$metadata: deserializeMetadata(output),
|
|
1946
1907
|
...contents,
|
|
1947
1908
|
};
|
|
1948
|
-
return
|
|
1909
|
+
return response;
|
|
1949
1910
|
};
|
|
1950
1911
|
exports.de_ListNotebookSessionsCommand = de_ListNotebookSessionsCommand;
|
|
1951
1912
|
const de_ListNotebookSessionsCommandError = async (output, context) => {
|
|
@@ -1966,10 +1927,9 @@ const de_ListNotebookSessionsCommandError = async (output, context) => {
|
|
|
1966
1927
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1967
1928
|
default:
|
|
1968
1929
|
const parsedBody = parsedOutput.body;
|
|
1969
|
-
|
|
1930
|
+
return throwDefaultError({
|
|
1970
1931
|
output,
|
|
1971
1932
|
parsedBody,
|
|
1972
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
1973
1933
|
errorCode,
|
|
1974
1934
|
});
|
|
1975
1935
|
}
|
|
@@ -1985,7 +1945,7 @@ const de_ListPreparedStatementsCommand = async (output, context) => {
|
|
|
1985
1945
|
$metadata: deserializeMetadata(output),
|
|
1986
1946
|
...contents,
|
|
1987
1947
|
};
|
|
1988
|
-
return
|
|
1948
|
+
return response;
|
|
1989
1949
|
};
|
|
1990
1950
|
exports.de_ListPreparedStatementsCommand = de_ListPreparedStatementsCommand;
|
|
1991
1951
|
const de_ListPreparedStatementsCommandError = async (output, context) => {
|
|
@@ -2003,10 +1963,9 @@ const de_ListPreparedStatementsCommandError = async (output, context) => {
|
|
|
2003
1963
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2004
1964
|
default:
|
|
2005
1965
|
const parsedBody = parsedOutput.body;
|
|
2006
|
-
|
|
1966
|
+
return throwDefaultError({
|
|
2007
1967
|
output,
|
|
2008
1968
|
parsedBody,
|
|
2009
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2010
1969
|
errorCode,
|
|
2011
1970
|
});
|
|
2012
1971
|
}
|
|
@@ -2017,12 +1976,12 @@ const de_ListQueryExecutionsCommand = async (output, context) => {
|
|
|
2017
1976
|
}
|
|
2018
1977
|
const data = await parseBody(output.body, context);
|
|
2019
1978
|
let contents = {};
|
|
2020
|
-
contents =
|
|
1979
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2021
1980
|
const response = {
|
|
2022
1981
|
$metadata: deserializeMetadata(output),
|
|
2023
1982
|
...contents,
|
|
2024
1983
|
};
|
|
2025
|
-
return
|
|
1984
|
+
return response;
|
|
2026
1985
|
};
|
|
2027
1986
|
exports.de_ListQueryExecutionsCommand = de_ListQueryExecutionsCommand;
|
|
2028
1987
|
const de_ListQueryExecutionsCommandError = async (output, context) => {
|
|
@@ -2040,10 +1999,9 @@ const de_ListQueryExecutionsCommandError = async (output, context) => {
|
|
|
2040
1999
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2041
2000
|
default:
|
|
2042
2001
|
const parsedBody = parsedOutput.body;
|
|
2043
|
-
|
|
2002
|
+
return throwDefaultError({
|
|
2044
2003
|
output,
|
|
2045
2004
|
parsedBody,
|
|
2046
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2047
2005
|
errorCode,
|
|
2048
2006
|
});
|
|
2049
2007
|
}
|
|
@@ -2059,7 +2017,7 @@ const de_ListSessionsCommand = async (output, context) => {
|
|
|
2059
2017
|
$metadata: deserializeMetadata(output),
|
|
2060
2018
|
...contents,
|
|
2061
2019
|
};
|
|
2062
|
-
return
|
|
2020
|
+
return response;
|
|
2063
2021
|
};
|
|
2064
2022
|
exports.de_ListSessionsCommand = de_ListSessionsCommand;
|
|
2065
2023
|
const de_ListSessionsCommandError = async (output, context) => {
|
|
@@ -2080,10 +2038,9 @@ const de_ListSessionsCommandError = async (output, context) => {
|
|
|
2080
2038
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2081
2039
|
default:
|
|
2082
2040
|
const parsedBody = parsedOutput.body;
|
|
2083
|
-
|
|
2041
|
+
return throwDefaultError({
|
|
2084
2042
|
output,
|
|
2085
2043
|
parsedBody,
|
|
2086
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2087
2044
|
errorCode,
|
|
2088
2045
|
});
|
|
2089
2046
|
}
|
|
@@ -2099,7 +2056,7 @@ const de_ListTableMetadataCommand = async (output, context) => {
|
|
|
2099
2056
|
$metadata: deserializeMetadata(output),
|
|
2100
2057
|
...contents,
|
|
2101
2058
|
};
|
|
2102
|
-
return
|
|
2059
|
+
return response;
|
|
2103
2060
|
};
|
|
2104
2061
|
exports.de_ListTableMetadataCommand = de_ListTableMetadataCommand;
|
|
2105
2062
|
const de_ListTableMetadataCommandError = async (output, context) => {
|
|
@@ -2120,10 +2077,9 @@ const de_ListTableMetadataCommandError = async (output, context) => {
|
|
|
2120
2077
|
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
2121
2078
|
default:
|
|
2122
2079
|
const parsedBody = parsedOutput.body;
|
|
2123
|
-
|
|
2080
|
+
return throwDefaultError({
|
|
2124
2081
|
output,
|
|
2125
2082
|
parsedBody,
|
|
2126
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2127
2083
|
errorCode,
|
|
2128
2084
|
});
|
|
2129
2085
|
}
|
|
@@ -2134,12 +2090,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2134
2090
|
}
|
|
2135
2091
|
const data = await parseBody(output.body, context);
|
|
2136
2092
|
let contents = {};
|
|
2137
|
-
contents =
|
|
2093
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2138
2094
|
const response = {
|
|
2139
2095
|
$metadata: deserializeMetadata(output),
|
|
2140
2096
|
...contents,
|
|
2141
2097
|
};
|
|
2142
|
-
return
|
|
2098
|
+
return response;
|
|
2143
2099
|
};
|
|
2144
2100
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2145
2101
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2160,10 +2116,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2160
2116
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2161
2117
|
default:
|
|
2162
2118
|
const parsedBody = parsedOutput.body;
|
|
2163
|
-
|
|
2119
|
+
return throwDefaultError({
|
|
2164
2120
|
output,
|
|
2165
2121
|
parsedBody,
|
|
2166
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2167
2122
|
errorCode,
|
|
2168
2123
|
});
|
|
2169
2124
|
}
|
|
@@ -2179,7 +2134,7 @@ const de_ListWorkGroupsCommand = async (output, context) => {
|
|
|
2179
2134
|
$metadata: deserializeMetadata(output),
|
|
2180
2135
|
...contents,
|
|
2181
2136
|
};
|
|
2182
|
-
return
|
|
2137
|
+
return response;
|
|
2183
2138
|
};
|
|
2184
2139
|
exports.de_ListWorkGroupsCommand = de_ListWorkGroupsCommand;
|
|
2185
2140
|
const de_ListWorkGroupsCommandError = async (output, context) => {
|
|
@@ -2197,10 +2152,9 @@ const de_ListWorkGroupsCommandError = async (output, context) => {
|
|
|
2197
2152
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2198
2153
|
default:
|
|
2199
2154
|
const parsedBody = parsedOutput.body;
|
|
2200
|
-
|
|
2155
|
+
return throwDefaultError({
|
|
2201
2156
|
output,
|
|
2202
2157
|
parsedBody,
|
|
2203
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2204
2158
|
errorCode,
|
|
2205
2159
|
});
|
|
2206
2160
|
}
|
|
@@ -2211,12 +2165,12 @@ const de_StartCalculationExecutionCommand = async (output, context) => {
|
|
|
2211
2165
|
}
|
|
2212
2166
|
const data = await parseBody(output.body, context);
|
|
2213
2167
|
let contents = {};
|
|
2214
|
-
contents =
|
|
2168
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2215
2169
|
const response = {
|
|
2216
2170
|
$metadata: deserializeMetadata(output),
|
|
2217
2171
|
...contents,
|
|
2218
2172
|
};
|
|
2219
|
-
return
|
|
2173
|
+
return response;
|
|
2220
2174
|
};
|
|
2221
2175
|
exports.de_StartCalculationExecutionCommand = de_StartCalculationExecutionCommand;
|
|
2222
2176
|
const de_StartCalculationExecutionCommandError = async (output, context) => {
|
|
@@ -2237,10 +2191,9 @@ const de_StartCalculationExecutionCommandError = async (output, context) => {
|
|
|
2237
2191
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2238
2192
|
default:
|
|
2239
2193
|
const parsedBody = parsedOutput.body;
|
|
2240
|
-
|
|
2194
|
+
return throwDefaultError({
|
|
2241
2195
|
output,
|
|
2242
2196
|
parsedBody,
|
|
2243
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2244
2197
|
errorCode,
|
|
2245
2198
|
});
|
|
2246
2199
|
}
|
|
@@ -2251,12 +2204,12 @@ const de_StartQueryExecutionCommand = async (output, context) => {
|
|
|
2251
2204
|
}
|
|
2252
2205
|
const data = await parseBody(output.body, context);
|
|
2253
2206
|
let contents = {};
|
|
2254
|
-
contents =
|
|
2207
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2255
2208
|
const response = {
|
|
2256
2209
|
$metadata: deserializeMetadata(output),
|
|
2257
2210
|
...contents,
|
|
2258
2211
|
};
|
|
2259
|
-
return
|
|
2212
|
+
return response;
|
|
2260
2213
|
};
|
|
2261
2214
|
exports.de_StartQueryExecutionCommand = de_StartQueryExecutionCommand;
|
|
2262
2215
|
const de_StartQueryExecutionCommandError = async (output, context) => {
|
|
@@ -2277,10 +2230,9 @@ const de_StartQueryExecutionCommandError = async (output, context) => {
|
|
|
2277
2230
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2278
2231
|
default:
|
|
2279
2232
|
const parsedBody = parsedOutput.body;
|
|
2280
|
-
|
|
2233
|
+
return throwDefaultError({
|
|
2281
2234
|
output,
|
|
2282
2235
|
parsedBody,
|
|
2283
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2284
2236
|
errorCode,
|
|
2285
2237
|
});
|
|
2286
2238
|
}
|
|
@@ -2291,12 +2243,12 @@ const de_StartSessionCommand = async (output, context) => {
|
|
|
2291
2243
|
}
|
|
2292
2244
|
const data = await parseBody(output.body, context);
|
|
2293
2245
|
let contents = {};
|
|
2294
|
-
contents =
|
|
2246
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2295
2247
|
const response = {
|
|
2296
2248
|
$metadata: deserializeMetadata(output),
|
|
2297
2249
|
...contents,
|
|
2298
2250
|
};
|
|
2299
|
-
return
|
|
2251
|
+
return response;
|
|
2300
2252
|
};
|
|
2301
2253
|
exports.de_StartSessionCommand = de_StartSessionCommand;
|
|
2302
2254
|
const de_StartSessionCommandError = async (output, context) => {
|
|
@@ -2323,10 +2275,9 @@ const de_StartSessionCommandError = async (output, context) => {
|
|
|
2323
2275
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2324
2276
|
default:
|
|
2325
2277
|
const parsedBody = parsedOutput.body;
|
|
2326
|
-
|
|
2278
|
+
return throwDefaultError({
|
|
2327
2279
|
output,
|
|
2328
2280
|
parsedBody,
|
|
2329
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2330
2281
|
errorCode,
|
|
2331
2282
|
});
|
|
2332
2283
|
}
|
|
@@ -2337,12 +2288,12 @@ const de_StopCalculationExecutionCommand = async (output, context) => {
|
|
|
2337
2288
|
}
|
|
2338
2289
|
const data = await parseBody(output.body, context);
|
|
2339
2290
|
let contents = {};
|
|
2340
|
-
contents =
|
|
2291
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2341
2292
|
const response = {
|
|
2342
2293
|
$metadata: deserializeMetadata(output),
|
|
2343
2294
|
...contents,
|
|
2344
2295
|
};
|
|
2345
|
-
return
|
|
2296
|
+
return response;
|
|
2346
2297
|
};
|
|
2347
2298
|
exports.de_StopCalculationExecutionCommand = de_StopCalculationExecutionCommand;
|
|
2348
2299
|
const de_StopCalculationExecutionCommandError = async (output, context) => {
|
|
@@ -2363,10 +2314,9 @@ const de_StopCalculationExecutionCommandError = async (output, context) => {
|
|
|
2363
2314
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2364
2315
|
default:
|
|
2365
2316
|
const parsedBody = parsedOutput.body;
|
|
2366
|
-
|
|
2317
|
+
return throwDefaultError({
|
|
2367
2318
|
output,
|
|
2368
2319
|
parsedBody,
|
|
2369
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2370
2320
|
errorCode,
|
|
2371
2321
|
});
|
|
2372
2322
|
}
|
|
@@ -2377,12 +2327,12 @@ const de_StopQueryExecutionCommand = async (output, context) => {
|
|
|
2377
2327
|
}
|
|
2378
2328
|
const data = await parseBody(output.body, context);
|
|
2379
2329
|
let contents = {};
|
|
2380
|
-
contents =
|
|
2330
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2381
2331
|
const response = {
|
|
2382
2332
|
$metadata: deserializeMetadata(output),
|
|
2383
2333
|
...contents,
|
|
2384
2334
|
};
|
|
2385
|
-
return
|
|
2335
|
+
return response;
|
|
2386
2336
|
};
|
|
2387
2337
|
exports.de_StopQueryExecutionCommand = de_StopQueryExecutionCommand;
|
|
2388
2338
|
const de_StopQueryExecutionCommandError = async (output, context) => {
|
|
@@ -2400,10 +2350,9 @@ const de_StopQueryExecutionCommandError = async (output, context) => {
|
|
|
2400
2350
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2401
2351
|
default:
|
|
2402
2352
|
const parsedBody = parsedOutput.body;
|
|
2403
|
-
|
|
2353
|
+
return throwDefaultError({
|
|
2404
2354
|
output,
|
|
2405
2355
|
parsedBody,
|
|
2406
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2407
2356
|
errorCode,
|
|
2408
2357
|
});
|
|
2409
2358
|
}
|
|
@@ -2414,12 +2363,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2414
2363
|
}
|
|
2415
2364
|
const data = await parseBody(output.body, context);
|
|
2416
2365
|
let contents = {};
|
|
2417
|
-
contents =
|
|
2366
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2418
2367
|
const response = {
|
|
2419
2368
|
$metadata: deserializeMetadata(output),
|
|
2420
2369
|
...contents,
|
|
2421
2370
|
};
|
|
2422
|
-
return
|
|
2371
|
+
return response;
|
|
2423
2372
|
};
|
|
2424
2373
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2425
2374
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -2440,10 +2389,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2440
2389
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2441
2390
|
default:
|
|
2442
2391
|
const parsedBody = parsedOutput.body;
|
|
2443
|
-
|
|
2392
|
+
return throwDefaultError({
|
|
2444
2393
|
output,
|
|
2445
2394
|
parsedBody,
|
|
2446
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2447
2395
|
errorCode,
|
|
2448
2396
|
});
|
|
2449
2397
|
}
|
|
@@ -2454,12 +2402,12 @@ const de_TerminateSessionCommand = async (output, context) => {
|
|
|
2454
2402
|
}
|
|
2455
2403
|
const data = await parseBody(output.body, context);
|
|
2456
2404
|
let contents = {};
|
|
2457
|
-
contents =
|
|
2405
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2458
2406
|
const response = {
|
|
2459
2407
|
$metadata: deserializeMetadata(output),
|
|
2460
2408
|
...contents,
|
|
2461
2409
|
};
|
|
2462
|
-
return
|
|
2410
|
+
return response;
|
|
2463
2411
|
};
|
|
2464
2412
|
exports.de_TerminateSessionCommand = de_TerminateSessionCommand;
|
|
2465
2413
|
const de_TerminateSessionCommandError = async (output, context) => {
|
|
@@ -2480,10 +2428,9 @@ const de_TerminateSessionCommandError = async (output, context) => {
|
|
|
2480
2428
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2481
2429
|
default:
|
|
2482
2430
|
const parsedBody = parsedOutput.body;
|
|
2483
|
-
|
|
2431
|
+
return throwDefaultError({
|
|
2484
2432
|
output,
|
|
2485
2433
|
parsedBody,
|
|
2486
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2487
2434
|
errorCode,
|
|
2488
2435
|
});
|
|
2489
2436
|
}
|
|
@@ -2494,12 +2441,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2494
2441
|
}
|
|
2495
2442
|
const data = await parseBody(output.body, context);
|
|
2496
2443
|
let contents = {};
|
|
2497
|
-
contents =
|
|
2444
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2498
2445
|
const response = {
|
|
2499
2446
|
$metadata: deserializeMetadata(output),
|
|
2500
2447
|
...contents,
|
|
2501
2448
|
};
|
|
2502
|
-
return
|
|
2449
|
+
return response;
|
|
2503
2450
|
};
|
|
2504
2451
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2505
2452
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -2520,10 +2467,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2520
2467
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2521
2468
|
default:
|
|
2522
2469
|
const parsedBody = parsedOutput.body;
|
|
2523
|
-
|
|
2470
|
+
return throwDefaultError({
|
|
2524
2471
|
output,
|
|
2525
2472
|
parsedBody,
|
|
2526
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2527
2473
|
errorCode,
|
|
2528
2474
|
});
|
|
2529
2475
|
}
|
|
@@ -2534,12 +2480,12 @@ const de_UpdateDataCatalogCommand = async (output, context) => {
|
|
|
2534
2480
|
}
|
|
2535
2481
|
const data = await parseBody(output.body, context);
|
|
2536
2482
|
let contents = {};
|
|
2537
|
-
contents =
|
|
2483
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2538
2484
|
const response = {
|
|
2539
2485
|
$metadata: deserializeMetadata(output),
|
|
2540
2486
|
...contents,
|
|
2541
2487
|
};
|
|
2542
|
-
return
|
|
2488
|
+
return response;
|
|
2543
2489
|
};
|
|
2544
2490
|
exports.de_UpdateDataCatalogCommand = de_UpdateDataCatalogCommand;
|
|
2545
2491
|
const de_UpdateDataCatalogCommandError = async (output, context) => {
|
|
@@ -2557,10 +2503,9 @@ const de_UpdateDataCatalogCommandError = async (output, context) => {
|
|
|
2557
2503
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2558
2504
|
default:
|
|
2559
2505
|
const parsedBody = parsedOutput.body;
|
|
2560
|
-
|
|
2506
|
+
return throwDefaultError({
|
|
2561
2507
|
output,
|
|
2562
2508
|
parsedBody,
|
|
2563
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2564
2509
|
errorCode,
|
|
2565
2510
|
});
|
|
2566
2511
|
}
|
|
@@ -2571,12 +2516,12 @@ const de_UpdateNamedQueryCommand = async (output, context) => {
|
|
|
2571
2516
|
}
|
|
2572
2517
|
const data = await parseBody(output.body, context);
|
|
2573
2518
|
let contents = {};
|
|
2574
|
-
contents =
|
|
2519
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2575
2520
|
const response = {
|
|
2576
2521
|
$metadata: deserializeMetadata(output),
|
|
2577
2522
|
...contents,
|
|
2578
2523
|
};
|
|
2579
|
-
return
|
|
2524
|
+
return response;
|
|
2580
2525
|
};
|
|
2581
2526
|
exports.de_UpdateNamedQueryCommand = de_UpdateNamedQueryCommand;
|
|
2582
2527
|
const de_UpdateNamedQueryCommandError = async (output, context) => {
|
|
@@ -2594,10 +2539,9 @@ const de_UpdateNamedQueryCommandError = async (output, context) => {
|
|
|
2594
2539
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2595
2540
|
default:
|
|
2596
2541
|
const parsedBody = parsedOutput.body;
|
|
2597
|
-
|
|
2542
|
+
return throwDefaultError({
|
|
2598
2543
|
output,
|
|
2599
2544
|
parsedBody,
|
|
2600
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2601
2545
|
errorCode,
|
|
2602
2546
|
});
|
|
2603
2547
|
}
|
|
@@ -2608,12 +2552,12 @@ const de_UpdateNotebookCommand = async (output, context) => {
|
|
|
2608
2552
|
}
|
|
2609
2553
|
const data = await parseBody(output.body, context);
|
|
2610
2554
|
let contents = {};
|
|
2611
|
-
contents =
|
|
2555
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2612
2556
|
const response = {
|
|
2613
2557
|
$metadata: deserializeMetadata(output),
|
|
2614
2558
|
...contents,
|
|
2615
2559
|
};
|
|
2616
|
-
return
|
|
2560
|
+
return response;
|
|
2617
2561
|
};
|
|
2618
2562
|
exports.de_UpdateNotebookCommand = de_UpdateNotebookCommand;
|
|
2619
2563
|
const de_UpdateNotebookCommandError = async (output, context) => {
|
|
@@ -2634,10 +2578,9 @@ const de_UpdateNotebookCommandError = async (output, context) => {
|
|
|
2634
2578
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2635
2579
|
default:
|
|
2636
2580
|
const parsedBody = parsedOutput.body;
|
|
2637
|
-
|
|
2581
|
+
return throwDefaultError({
|
|
2638
2582
|
output,
|
|
2639
2583
|
parsedBody,
|
|
2640
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2641
2584
|
errorCode,
|
|
2642
2585
|
});
|
|
2643
2586
|
}
|
|
@@ -2648,12 +2591,12 @@ const de_UpdateNotebookMetadataCommand = async (output, context) => {
|
|
|
2648
2591
|
}
|
|
2649
2592
|
const data = await parseBody(output.body, context);
|
|
2650
2593
|
let contents = {};
|
|
2651
|
-
contents =
|
|
2594
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2652
2595
|
const response = {
|
|
2653
2596
|
$metadata: deserializeMetadata(output),
|
|
2654
2597
|
...contents,
|
|
2655
2598
|
};
|
|
2656
|
-
return
|
|
2599
|
+
return response;
|
|
2657
2600
|
};
|
|
2658
2601
|
exports.de_UpdateNotebookMetadataCommand = de_UpdateNotebookMetadataCommand;
|
|
2659
2602
|
const de_UpdateNotebookMetadataCommandError = async (output, context) => {
|
|
@@ -2674,10 +2617,9 @@ const de_UpdateNotebookMetadataCommandError = async (output, context) => {
|
|
|
2674
2617
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2675
2618
|
default:
|
|
2676
2619
|
const parsedBody = parsedOutput.body;
|
|
2677
|
-
|
|
2620
|
+
return throwDefaultError({
|
|
2678
2621
|
output,
|
|
2679
2622
|
parsedBody,
|
|
2680
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2681
2623
|
errorCode,
|
|
2682
2624
|
});
|
|
2683
2625
|
}
|
|
@@ -2688,12 +2630,12 @@ const de_UpdatePreparedStatementCommand = async (output, context) => {
|
|
|
2688
2630
|
}
|
|
2689
2631
|
const data = await parseBody(output.body, context);
|
|
2690
2632
|
let contents = {};
|
|
2691
|
-
contents =
|
|
2633
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2692
2634
|
const response = {
|
|
2693
2635
|
$metadata: deserializeMetadata(output),
|
|
2694
2636
|
...contents,
|
|
2695
2637
|
};
|
|
2696
|
-
return
|
|
2638
|
+
return response;
|
|
2697
2639
|
};
|
|
2698
2640
|
exports.de_UpdatePreparedStatementCommand = de_UpdatePreparedStatementCommand;
|
|
2699
2641
|
const de_UpdatePreparedStatementCommandError = async (output, context) => {
|
|
@@ -2714,10 +2656,9 @@ const de_UpdatePreparedStatementCommandError = async (output, context) => {
|
|
|
2714
2656
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2715
2657
|
default:
|
|
2716
2658
|
const parsedBody = parsedOutput.body;
|
|
2717
|
-
|
|
2659
|
+
return throwDefaultError({
|
|
2718
2660
|
output,
|
|
2719
2661
|
parsedBody,
|
|
2720
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2721
2662
|
errorCode,
|
|
2722
2663
|
});
|
|
2723
2664
|
}
|
|
@@ -2728,12 +2669,12 @@ const de_UpdateWorkGroupCommand = async (output, context) => {
|
|
|
2728
2669
|
}
|
|
2729
2670
|
const data = await parseBody(output.body, context);
|
|
2730
2671
|
let contents = {};
|
|
2731
|
-
contents =
|
|
2672
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2732
2673
|
const response = {
|
|
2733
2674
|
$metadata: deserializeMetadata(output),
|
|
2734
2675
|
...contents,
|
|
2735
2676
|
};
|
|
2736
|
-
return
|
|
2677
|
+
return response;
|
|
2737
2678
|
};
|
|
2738
2679
|
exports.de_UpdateWorkGroupCommand = de_UpdateWorkGroupCommand;
|
|
2739
2680
|
const de_UpdateWorkGroupCommandError = async (output, context) => {
|
|
@@ -2751,17 +2692,16 @@ const de_UpdateWorkGroupCommandError = async (output, context) => {
|
|
|
2751
2692
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2752
2693
|
default:
|
|
2753
2694
|
const parsedBody = parsedOutput.body;
|
|
2754
|
-
|
|
2695
|
+
return throwDefaultError({
|
|
2755
2696
|
output,
|
|
2756
2697
|
parsedBody,
|
|
2757
|
-
exceptionCtor: AthenaServiceException_1.AthenaServiceException,
|
|
2758
2698
|
errorCode,
|
|
2759
2699
|
});
|
|
2760
2700
|
}
|
|
2761
2701
|
};
|
|
2762
2702
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2763
2703
|
const body = parsedOutput.body;
|
|
2764
|
-
const deserialized =
|
|
2704
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2765
2705
|
const exception = new models_0_1.InternalServerException({
|
|
2766
2706
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2767
2707
|
...deserialized,
|
|
@@ -2770,7 +2710,7 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
2770
2710
|
};
|
|
2771
2711
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
2772
2712
|
const body = parsedOutput.body;
|
|
2773
|
-
const deserialized =
|
|
2713
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2774
2714
|
const exception = new models_0_1.InvalidRequestException({
|
|
2775
2715
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2776
2716
|
...deserialized,
|
|
@@ -2779,7 +2719,7 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
2779
2719
|
};
|
|
2780
2720
|
const de_MetadataExceptionRes = async (parsedOutput, context) => {
|
|
2781
2721
|
const body = parsedOutput.body;
|
|
2782
|
-
const deserialized =
|
|
2722
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2783
2723
|
const exception = new models_0_1.MetadataException({
|
|
2784
2724
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2785
2725
|
...deserialized,
|
|
@@ -2788,7 +2728,7 @@ const de_MetadataExceptionRes = async (parsedOutput, context) => {
|
|
|
2788
2728
|
};
|
|
2789
2729
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2790
2730
|
const body = parsedOutput.body;
|
|
2791
|
-
const deserialized =
|
|
2731
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2792
2732
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2793
2733
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2794
2734
|
...deserialized,
|
|
@@ -2797,7 +2737,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2797
2737
|
};
|
|
2798
2738
|
const de_SessionAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2799
2739
|
const body = parsedOutput.body;
|
|
2800
|
-
const deserialized =
|
|
2740
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2801
2741
|
const exception = new models_0_1.SessionAlreadyExistsException({
|
|
2802
2742
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2803
2743
|
...deserialized,
|
|
@@ -2806,1203 +2746,207 @@ const de_SessionAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
2806
2746
|
};
|
|
2807
2747
|
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
2808
2748
|
const body = parsedOutput.body;
|
|
2809
|
-
const deserialized =
|
|
2749
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2810
2750
|
const exception = new models_0_1.TooManyRequestsException({
|
|
2811
2751
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2812
2752
|
...deserialized,
|
|
2813
2753
|
});
|
|
2814
2754
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2815
2755
|
};
|
|
2816
|
-
const se_AclConfiguration = (input, context) => {
|
|
2817
|
-
return {
|
|
2818
|
-
...(input.S3AclOption != null && { S3AclOption: input.S3AclOption }),
|
|
2819
|
-
};
|
|
2820
|
-
};
|
|
2821
|
-
const se_BatchGetNamedQueryInput = (input, context) => {
|
|
2822
|
-
return {
|
|
2823
|
-
...(input.NamedQueryIds != null && { NamedQueryIds: se_NamedQueryIdList(input.NamedQueryIds, context) }),
|
|
2824
|
-
};
|
|
2825
|
-
};
|
|
2826
|
-
const se_BatchGetPreparedStatementInput = (input, context) => {
|
|
2827
|
-
return {
|
|
2828
|
-
...(input.PreparedStatementNames != null && {
|
|
2829
|
-
PreparedStatementNames: se_PreparedStatementNameList(input.PreparedStatementNames, context),
|
|
2830
|
-
}),
|
|
2831
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2832
|
-
};
|
|
2833
|
-
};
|
|
2834
|
-
const se_BatchGetQueryExecutionInput = (input, context) => {
|
|
2835
|
-
return {
|
|
2836
|
-
...(input.QueryExecutionIds != null && {
|
|
2837
|
-
QueryExecutionIds: se_QueryExecutionIdList(input.QueryExecutionIds, context),
|
|
2838
|
-
}),
|
|
2839
|
-
};
|
|
2840
|
-
};
|
|
2841
|
-
const se_CalculationConfiguration = (input, context) => {
|
|
2842
|
-
return {
|
|
2843
|
-
...(input.CodeBlock != null && { CodeBlock: input.CodeBlock }),
|
|
2844
|
-
};
|
|
2845
|
-
};
|
|
2846
|
-
const se_CreateDataCatalogInput = (input, context) => {
|
|
2847
|
-
return {
|
|
2848
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2849
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2850
|
-
...(input.Parameters != null && { Parameters: se_ParametersMap(input.Parameters, context) }),
|
|
2851
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2852
|
-
...(input.Type != null && { Type: input.Type }),
|
|
2853
|
-
};
|
|
2854
|
-
};
|
|
2855
2756
|
const se_CreateNamedQueryInput = (input, context) => {
|
|
2856
|
-
return {
|
|
2857
|
-
ClientRequestToken:
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
};
|
|
2864
|
-
};
|
|
2865
|
-
const se_CreateNotebookInput = (input, context) => {
|
|
2866
|
-
return {
|
|
2867
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
2868
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2869
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2870
|
-
};
|
|
2871
|
-
};
|
|
2872
|
-
const se_CreatePreparedStatementInput = (input, context) => {
|
|
2873
|
-
return {
|
|
2874
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2875
|
-
...(input.QueryStatement != null && { QueryStatement: input.QueryStatement }),
|
|
2876
|
-
...(input.StatementName != null && { StatementName: input.StatementName }),
|
|
2877
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2878
|
-
};
|
|
2879
|
-
};
|
|
2880
|
-
const se_CreatePresignedNotebookUrlRequest = (input, context) => {
|
|
2881
|
-
return {
|
|
2882
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
2883
|
-
};
|
|
2884
|
-
};
|
|
2885
|
-
const se_CreateWorkGroupInput = (input, context) => {
|
|
2886
|
-
return {
|
|
2887
|
-
...(input.Configuration != null && { Configuration: se_WorkGroupConfiguration(input.Configuration, context) }),
|
|
2888
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2889
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2890
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2891
|
-
};
|
|
2892
|
-
};
|
|
2893
|
-
const se_CustomerContentEncryptionConfiguration = (input, context) => {
|
|
2894
|
-
return {
|
|
2895
|
-
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
2896
|
-
};
|
|
2897
|
-
};
|
|
2898
|
-
const se_DeleteDataCatalogInput = (input, context) => {
|
|
2899
|
-
return {
|
|
2900
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2901
|
-
};
|
|
2902
|
-
};
|
|
2903
|
-
const se_DeleteNamedQueryInput = (input, context) => {
|
|
2904
|
-
return {
|
|
2905
|
-
NamedQueryId: input.NamedQueryId ?? (0, uuid_1.v4)(),
|
|
2906
|
-
};
|
|
2907
|
-
};
|
|
2908
|
-
const se_DeleteNotebookInput = (input, context) => {
|
|
2909
|
-
return {
|
|
2910
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
2911
|
-
};
|
|
2912
|
-
};
|
|
2913
|
-
const se_DeletePreparedStatementInput = (input, context) => {
|
|
2914
|
-
return {
|
|
2915
|
-
...(input.StatementName != null && { StatementName: input.StatementName }),
|
|
2916
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2917
|
-
};
|
|
2918
|
-
};
|
|
2919
|
-
const se_DeleteWorkGroupInput = (input, context) => {
|
|
2920
|
-
return {
|
|
2921
|
-
...(input.RecursiveDeleteOption != null && { RecursiveDeleteOption: input.RecursiveDeleteOption }),
|
|
2922
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2923
|
-
};
|
|
2924
|
-
};
|
|
2925
|
-
const se_EncryptionConfiguration = (input, context) => {
|
|
2926
|
-
return {
|
|
2927
|
-
...(input.EncryptionOption != null && { EncryptionOption: input.EncryptionOption }),
|
|
2928
|
-
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
2929
|
-
};
|
|
2930
|
-
};
|
|
2931
|
-
const se_EngineConfiguration = (input, context) => {
|
|
2932
|
-
return {
|
|
2933
|
-
...(input.AdditionalConfigs != null && { AdditionalConfigs: se_ParametersMap(input.AdditionalConfigs, context) }),
|
|
2934
|
-
...(input.CoordinatorDpuSize != null && { CoordinatorDpuSize: input.CoordinatorDpuSize }),
|
|
2935
|
-
...(input.DefaultExecutorDpuSize != null && { DefaultExecutorDpuSize: input.DefaultExecutorDpuSize }),
|
|
2936
|
-
...(input.MaxConcurrentDpus != null && { MaxConcurrentDpus: input.MaxConcurrentDpus }),
|
|
2937
|
-
};
|
|
2938
|
-
};
|
|
2939
|
-
const se_EngineVersion = (input, context) => {
|
|
2940
|
-
return {
|
|
2941
|
-
...(input.EffectiveEngineVersion != null && { EffectiveEngineVersion: input.EffectiveEngineVersion }),
|
|
2942
|
-
...(input.SelectedEngineVersion != null && { SelectedEngineVersion: input.SelectedEngineVersion }),
|
|
2943
|
-
};
|
|
2944
|
-
};
|
|
2945
|
-
const se_ExecutionParameters = (input, context) => {
|
|
2946
|
-
return input
|
|
2947
|
-
.filter((e) => e != null)
|
|
2948
|
-
.map((entry) => {
|
|
2949
|
-
return entry;
|
|
2757
|
+
return (0, smithy_client_1.take)(input, {
|
|
2758
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2759
|
+
Database: [],
|
|
2760
|
+
Description: [],
|
|
2761
|
+
Name: [],
|
|
2762
|
+
QueryString: [],
|
|
2763
|
+
WorkGroup: [],
|
|
2950
2764
|
});
|
|
2951
2765
|
};
|
|
2952
|
-
const
|
|
2953
|
-
return {
|
|
2954
|
-
|
|
2955
|
-
};
|
|
2956
|
-
};
|
|
2957
|
-
const se_FilterDefinition = (input, context) => {
|
|
2958
|
-
return {
|
|
2959
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2960
|
-
};
|
|
2961
|
-
};
|
|
2962
|
-
const se_GetCalculationExecutionCodeRequest = (input, context) => {
|
|
2963
|
-
return {
|
|
2964
|
-
...(input.CalculationExecutionId != null && { CalculationExecutionId: input.CalculationExecutionId }),
|
|
2965
|
-
};
|
|
2966
|
-
};
|
|
2967
|
-
const se_GetCalculationExecutionRequest = (input, context) => {
|
|
2968
|
-
return {
|
|
2969
|
-
...(input.CalculationExecutionId != null && { CalculationExecutionId: input.CalculationExecutionId }),
|
|
2970
|
-
};
|
|
2971
|
-
};
|
|
2972
|
-
const se_GetCalculationExecutionStatusRequest = (input, context) => {
|
|
2973
|
-
return {
|
|
2974
|
-
...(input.CalculationExecutionId != null && { CalculationExecutionId: input.CalculationExecutionId }),
|
|
2975
|
-
};
|
|
2976
|
-
};
|
|
2977
|
-
const se_GetDatabaseInput = (input, context) => {
|
|
2978
|
-
return {
|
|
2979
|
-
...(input.CatalogName != null && { CatalogName: input.CatalogName }),
|
|
2980
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
2981
|
-
};
|
|
2982
|
-
};
|
|
2983
|
-
const se_GetDataCatalogInput = (input, context) => {
|
|
2984
|
-
return {
|
|
2985
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2986
|
-
};
|
|
2987
|
-
};
|
|
2988
|
-
const se_GetNamedQueryInput = (input, context) => {
|
|
2989
|
-
return {
|
|
2990
|
-
...(input.NamedQueryId != null && { NamedQueryId: input.NamedQueryId }),
|
|
2991
|
-
};
|
|
2992
|
-
};
|
|
2993
|
-
const se_GetNotebookMetadataInput = (input, context) => {
|
|
2994
|
-
return {
|
|
2995
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
2996
|
-
};
|
|
2997
|
-
};
|
|
2998
|
-
const se_GetPreparedStatementInput = (input, context) => {
|
|
2999
|
-
return {
|
|
3000
|
-
...(input.StatementName != null && { StatementName: input.StatementName }),
|
|
3001
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3002
|
-
};
|
|
3003
|
-
};
|
|
3004
|
-
const se_GetQueryExecutionInput = (input, context) => {
|
|
3005
|
-
return {
|
|
3006
|
-
...(input.QueryExecutionId != null && { QueryExecutionId: input.QueryExecutionId }),
|
|
3007
|
-
};
|
|
3008
|
-
};
|
|
3009
|
-
const se_GetQueryResultsInput = (input, context) => {
|
|
3010
|
-
return {
|
|
3011
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3012
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3013
|
-
...(input.QueryExecutionId != null && { QueryExecutionId: input.QueryExecutionId }),
|
|
3014
|
-
};
|
|
3015
|
-
};
|
|
3016
|
-
const se_GetQueryRuntimeStatisticsInput = (input, context) => {
|
|
3017
|
-
return {
|
|
3018
|
-
...(input.QueryExecutionId != null && { QueryExecutionId: input.QueryExecutionId }),
|
|
3019
|
-
};
|
|
3020
|
-
};
|
|
3021
|
-
const se_GetSessionRequest = (input, context) => {
|
|
3022
|
-
return {
|
|
3023
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3024
|
-
};
|
|
3025
|
-
};
|
|
3026
|
-
const se_GetSessionStatusRequest = (input, context) => {
|
|
3027
|
-
return {
|
|
3028
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3029
|
-
};
|
|
3030
|
-
};
|
|
3031
|
-
const se_GetTableMetadataInput = (input, context) => {
|
|
3032
|
-
return {
|
|
3033
|
-
...(input.CatalogName != null && { CatalogName: input.CatalogName }),
|
|
3034
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3035
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
3036
|
-
};
|
|
3037
|
-
};
|
|
3038
|
-
const se_GetWorkGroupInput = (input, context) => {
|
|
3039
|
-
return {
|
|
3040
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3041
|
-
};
|
|
3042
|
-
};
|
|
3043
|
-
const se_ImportNotebookInput = (input, context) => {
|
|
3044
|
-
return {
|
|
3045
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
3046
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3047
|
-
...(input.Payload != null && { Payload: input.Payload }),
|
|
3048
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3049
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3050
|
-
};
|
|
3051
|
-
};
|
|
3052
|
-
const se_ListApplicationDPUSizesInput = (input, context) => {
|
|
3053
|
-
return {
|
|
3054
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3055
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3056
|
-
};
|
|
3057
|
-
};
|
|
3058
|
-
const se_ListCalculationExecutionsRequest = (input, context) => {
|
|
3059
|
-
return {
|
|
3060
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3061
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3062
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3063
|
-
...(input.StateFilter != null && { StateFilter: input.StateFilter }),
|
|
3064
|
-
};
|
|
3065
|
-
};
|
|
3066
|
-
const se_ListDatabasesInput = (input, context) => {
|
|
3067
|
-
return {
|
|
3068
|
-
...(input.CatalogName != null && { CatalogName: input.CatalogName }),
|
|
3069
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3070
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3071
|
-
};
|
|
3072
|
-
};
|
|
3073
|
-
const se_ListDataCatalogsInput = (input, context) => {
|
|
3074
|
-
return {
|
|
3075
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3076
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3077
|
-
};
|
|
3078
|
-
};
|
|
3079
|
-
const se_ListEngineVersionsInput = (input, context) => {
|
|
3080
|
-
return {
|
|
3081
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3082
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3083
|
-
};
|
|
3084
|
-
};
|
|
3085
|
-
const se_ListExecutorsRequest = (input, context) => {
|
|
3086
|
-
return {
|
|
3087
|
-
...(input.ExecutorStateFilter != null && { ExecutorStateFilter: input.ExecutorStateFilter }),
|
|
3088
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3089
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3090
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3091
|
-
};
|
|
3092
|
-
};
|
|
3093
|
-
const se_ListNamedQueriesInput = (input, context) => {
|
|
3094
|
-
return {
|
|
3095
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3096
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3097
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3098
|
-
};
|
|
3099
|
-
};
|
|
3100
|
-
const se_ListNotebookMetadataInput = (input, context) => {
|
|
3101
|
-
return {
|
|
3102
|
-
...(input.Filters != null && { Filters: se_FilterDefinition(input.Filters, context) }),
|
|
3103
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3104
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3105
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3106
|
-
};
|
|
3107
|
-
};
|
|
3108
|
-
const se_ListNotebookSessionsRequest = (input, context) => {
|
|
3109
|
-
return {
|
|
3110
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3111
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3112
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
3113
|
-
};
|
|
3114
|
-
};
|
|
3115
|
-
const se_ListPreparedStatementsInput = (input, context) => {
|
|
3116
|
-
return {
|
|
3117
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3118
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3119
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3120
|
-
};
|
|
3121
|
-
};
|
|
3122
|
-
const se_ListQueryExecutionsInput = (input, context) => {
|
|
3123
|
-
return {
|
|
3124
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3125
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3126
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3127
|
-
};
|
|
3128
|
-
};
|
|
3129
|
-
const se_ListSessionsRequest = (input, context) => {
|
|
3130
|
-
return {
|
|
3131
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3132
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3133
|
-
...(input.StateFilter != null && { StateFilter: input.StateFilter }),
|
|
3134
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3135
|
-
};
|
|
3136
|
-
};
|
|
3137
|
-
const se_ListTableMetadataInput = (input, context) => {
|
|
3138
|
-
return {
|
|
3139
|
-
...(input.CatalogName != null && { CatalogName: input.CatalogName }),
|
|
3140
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3141
|
-
...(input.Expression != null && { Expression: input.Expression }),
|
|
3142
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3143
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3144
|
-
};
|
|
3145
|
-
};
|
|
3146
|
-
const se_ListTagsForResourceInput = (input, context) => {
|
|
3147
|
-
return {
|
|
3148
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3149
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3150
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3151
|
-
};
|
|
3152
|
-
};
|
|
3153
|
-
const se_ListWorkGroupsInput = (input, context) => {
|
|
3154
|
-
return {
|
|
3155
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3156
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3157
|
-
};
|
|
3158
|
-
};
|
|
3159
|
-
const se_NamedQueryIdList = (input, context) => {
|
|
3160
|
-
return input
|
|
3161
|
-
.filter((e) => e != null)
|
|
3162
|
-
.map((entry) => {
|
|
3163
|
-
return entry;
|
|
3164
|
-
});
|
|
3165
|
-
};
|
|
3166
|
-
const se_ParametersMap = (input, context) => {
|
|
3167
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3168
|
-
if (value === null) {
|
|
3169
|
-
return acc;
|
|
3170
|
-
}
|
|
3171
|
-
acc[key] = value;
|
|
3172
|
-
return acc;
|
|
3173
|
-
}, {});
|
|
3174
|
-
};
|
|
3175
|
-
const se_PreparedStatementNameList = (input, context) => {
|
|
3176
|
-
return input
|
|
3177
|
-
.filter((e) => e != null)
|
|
3178
|
-
.map((entry) => {
|
|
3179
|
-
return entry;
|
|
3180
|
-
});
|
|
3181
|
-
};
|
|
3182
|
-
const se_QueryExecutionContext = (input, context) => {
|
|
3183
|
-
return {
|
|
3184
|
-
...(input.Catalog != null && { Catalog: input.Catalog }),
|
|
3185
|
-
...(input.Database != null && { Database: input.Database }),
|
|
3186
|
-
};
|
|
3187
|
-
};
|
|
3188
|
-
const se_QueryExecutionIdList = (input, context) => {
|
|
3189
|
-
return input
|
|
3190
|
-
.filter((e) => e != null)
|
|
3191
|
-
.map((entry) => {
|
|
3192
|
-
return entry;
|
|
2766
|
+
const se_DeleteNamedQueryInput = (input, context) => {
|
|
2767
|
+
return (0, smithy_client_1.take)(input, {
|
|
2768
|
+
NamedQueryId: (_) => _ ?? (0, uuid_1.v4)(),
|
|
3193
2769
|
});
|
|
3194
2770
|
};
|
|
3195
|
-
const se_ResultConfiguration = (input, context) => {
|
|
3196
|
-
return {
|
|
3197
|
-
...(input.AclConfiguration != null && { AclConfiguration: se_AclConfiguration(input.AclConfiguration, context) }),
|
|
3198
|
-
...(input.EncryptionConfiguration != null && {
|
|
3199
|
-
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
3200
|
-
}),
|
|
3201
|
-
...(input.ExpectedBucketOwner != null && { ExpectedBucketOwner: input.ExpectedBucketOwner }),
|
|
3202
|
-
...(input.OutputLocation != null && { OutputLocation: input.OutputLocation }),
|
|
3203
|
-
};
|
|
3204
|
-
};
|
|
3205
|
-
const se_ResultConfigurationUpdates = (input, context) => {
|
|
3206
|
-
return {
|
|
3207
|
-
...(input.AclConfiguration != null && { AclConfiguration: se_AclConfiguration(input.AclConfiguration, context) }),
|
|
3208
|
-
...(input.EncryptionConfiguration != null && {
|
|
3209
|
-
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
3210
|
-
}),
|
|
3211
|
-
...(input.ExpectedBucketOwner != null && { ExpectedBucketOwner: input.ExpectedBucketOwner }),
|
|
3212
|
-
...(input.OutputLocation != null && { OutputLocation: input.OutputLocation }),
|
|
3213
|
-
...(input.RemoveAclConfiguration != null && { RemoveAclConfiguration: input.RemoveAclConfiguration }),
|
|
3214
|
-
...(input.RemoveEncryptionConfiguration != null && {
|
|
3215
|
-
RemoveEncryptionConfiguration: input.RemoveEncryptionConfiguration,
|
|
3216
|
-
}),
|
|
3217
|
-
...(input.RemoveExpectedBucketOwner != null && { RemoveExpectedBucketOwner: input.RemoveExpectedBucketOwner }),
|
|
3218
|
-
...(input.RemoveOutputLocation != null && { RemoveOutputLocation: input.RemoveOutputLocation }),
|
|
3219
|
-
};
|
|
3220
|
-
};
|
|
3221
|
-
const se_ResultReuseByAgeConfiguration = (input, context) => {
|
|
3222
|
-
return {
|
|
3223
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3224
|
-
...(input.MaxAgeInMinutes != null && { MaxAgeInMinutes: input.MaxAgeInMinutes }),
|
|
3225
|
-
};
|
|
3226
|
-
};
|
|
3227
|
-
const se_ResultReuseConfiguration = (input, context) => {
|
|
3228
|
-
return {
|
|
3229
|
-
...(input.ResultReuseByAgeConfiguration != null && {
|
|
3230
|
-
ResultReuseByAgeConfiguration: se_ResultReuseByAgeConfiguration(input.ResultReuseByAgeConfiguration, context),
|
|
3231
|
-
}),
|
|
3232
|
-
};
|
|
3233
|
-
};
|
|
3234
|
-
const se_StartCalculationExecutionRequest = (input, context) => {
|
|
3235
|
-
return {
|
|
3236
|
-
...(input.CalculationConfiguration != null && {
|
|
3237
|
-
CalculationConfiguration: se_CalculationConfiguration(input.CalculationConfiguration, context),
|
|
3238
|
-
}),
|
|
3239
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
3240
|
-
...(input.CodeBlock != null && { CodeBlock: input.CodeBlock }),
|
|
3241
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3242
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3243
|
-
};
|
|
3244
|
-
};
|
|
3245
2771
|
const se_StartQueryExecutionInput = (input, context) => {
|
|
3246
|
-
return {
|
|
3247
|
-
ClientRequestToken:
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
...(input.QueryString != null && { QueryString: input.QueryString }),
|
|
3255
|
-
...(input.ResultConfiguration != null && {
|
|
3256
|
-
ResultConfiguration: se_ResultConfiguration(input.ResultConfiguration, context),
|
|
3257
|
-
}),
|
|
3258
|
-
...(input.ResultReuseConfiguration != null && {
|
|
3259
|
-
ResultReuseConfiguration: se_ResultReuseConfiguration(input.ResultReuseConfiguration, context),
|
|
3260
|
-
}),
|
|
3261
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3262
|
-
};
|
|
3263
|
-
};
|
|
3264
|
-
const se_StartSessionRequest = (input, context) => {
|
|
3265
|
-
return {
|
|
3266
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
3267
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3268
|
-
...(input.EngineConfiguration != null && {
|
|
3269
|
-
EngineConfiguration: se_EngineConfiguration(input.EngineConfiguration, context),
|
|
3270
|
-
}),
|
|
3271
|
-
...(input.NotebookVersion != null && { NotebookVersion: input.NotebookVersion }),
|
|
3272
|
-
...(input.SessionIdleTimeoutInMinutes != null && {
|
|
3273
|
-
SessionIdleTimeoutInMinutes: input.SessionIdleTimeoutInMinutes,
|
|
3274
|
-
}),
|
|
3275
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3276
|
-
};
|
|
3277
|
-
};
|
|
3278
|
-
const se_StopCalculationExecutionRequest = (input, context) => {
|
|
3279
|
-
return {
|
|
3280
|
-
...(input.CalculationExecutionId != null && { CalculationExecutionId: input.CalculationExecutionId }),
|
|
3281
|
-
};
|
|
3282
|
-
};
|
|
3283
|
-
const se_StopQueryExecutionInput = (input, context) => {
|
|
3284
|
-
return {
|
|
3285
|
-
QueryExecutionId: input.QueryExecutionId ?? (0, uuid_1.v4)(),
|
|
3286
|
-
};
|
|
3287
|
-
};
|
|
3288
|
-
const se_Tag = (input, context) => {
|
|
3289
|
-
return {
|
|
3290
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3291
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3292
|
-
};
|
|
3293
|
-
};
|
|
3294
|
-
const se_TagKeyList = (input, context) => {
|
|
3295
|
-
return input
|
|
3296
|
-
.filter((e) => e != null)
|
|
3297
|
-
.map((entry) => {
|
|
3298
|
-
return entry;
|
|
2772
|
+
return (0, smithy_client_1.take)(input, {
|
|
2773
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2774
|
+
ExecutionParameters: smithy_client_1._json,
|
|
2775
|
+
QueryExecutionContext: smithy_client_1._json,
|
|
2776
|
+
QueryString: [],
|
|
2777
|
+
ResultConfiguration: smithy_client_1._json,
|
|
2778
|
+
ResultReuseConfiguration: smithy_client_1._json,
|
|
2779
|
+
WorkGroup: [],
|
|
3299
2780
|
});
|
|
3300
2781
|
};
|
|
3301
|
-
const
|
|
3302
|
-
return input
|
|
3303
|
-
|
|
3304
|
-
.map((entry) => {
|
|
3305
|
-
return se_Tag(entry, context);
|
|
3306
|
-
});
|
|
3307
|
-
};
|
|
3308
|
-
const se_TagResourceInput = (input, context) => {
|
|
3309
|
-
return {
|
|
3310
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3311
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3312
|
-
};
|
|
3313
|
-
};
|
|
3314
|
-
const se_TerminateSessionRequest = (input, context) => {
|
|
3315
|
-
return {
|
|
3316
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3317
|
-
};
|
|
3318
|
-
};
|
|
3319
|
-
const se_UntagResourceInput = (input, context) => {
|
|
3320
|
-
return {
|
|
3321
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3322
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
3323
|
-
};
|
|
3324
|
-
};
|
|
3325
|
-
const se_UpdateDataCatalogInput = (input, context) => {
|
|
3326
|
-
return {
|
|
3327
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3328
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3329
|
-
...(input.Parameters != null && { Parameters: se_ParametersMap(input.Parameters, context) }),
|
|
3330
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3331
|
-
};
|
|
3332
|
-
};
|
|
3333
|
-
const se_UpdateNamedQueryInput = (input, context) => {
|
|
3334
|
-
return {
|
|
3335
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3336
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3337
|
-
...(input.NamedQueryId != null && { NamedQueryId: input.NamedQueryId }),
|
|
3338
|
-
...(input.QueryString != null && { QueryString: input.QueryString }),
|
|
3339
|
-
};
|
|
3340
|
-
};
|
|
3341
|
-
const se_UpdateNotebookInput = (input, context) => {
|
|
3342
|
-
return {
|
|
3343
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
3344
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
3345
|
-
...(input.Payload != null && { Payload: input.Payload }),
|
|
3346
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3347
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3348
|
-
};
|
|
3349
|
-
};
|
|
3350
|
-
const se_UpdateNotebookMetadataInput = (input, context) => {
|
|
3351
|
-
return {
|
|
3352
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
3353
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3354
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
3355
|
-
};
|
|
3356
|
-
};
|
|
3357
|
-
const se_UpdatePreparedStatementInput = (input, context) => {
|
|
3358
|
-
return {
|
|
3359
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3360
|
-
...(input.QueryStatement != null && { QueryStatement: input.QueryStatement }),
|
|
3361
|
-
...(input.StatementName != null && { StatementName: input.StatementName }),
|
|
3362
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3363
|
-
};
|
|
3364
|
-
};
|
|
3365
|
-
const se_UpdateWorkGroupInput = (input, context) => {
|
|
3366
|
-
return {
|
|
3367
|
-
...(input.ConfigurationUpdates != null && {
|
|
3368
|
-
ConfigurationUpdates: se_WorkGroupConfigurationUpdates(input.ConfigurationUpdates, context),
|
|
3369
|
-
}),
|
|
3370
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3371
|
-
...(input.State != null && { State: input.State }),
|
|
3372
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3373
|
-
};
|
|
3374
|
-
};
|
|
3375
|
-
const se_WorkGroupConfiguration = (input, context) => {
|
|
3376
|
-
return {
|
|
3377
|
-
...(input.AdditionalConfiguration != null && { AdditionalConfiguration: input.AdditionalConfiguration }),
|
|
3378
|
-
...(input.BytesScannedCutoffPerQuery != null && { BytesScannedCutoffPerQuery: input.BytesScannedCutoffPerQuery }),
|
|
3379
|
-
...(input.CustomerContentEncryptionConfiguration != null && {
|
|
3380
|
-
CustomerContentEncryptionConfiguration: se_CustomerContentEncryptionConfiguration(input.CustomerContentEncryptionConfiguration, context),
|
|
3381
|
-
}),
|
|
3382
|
-
...(input.EnableMinimumEncryptionConfiguration != null && {
|
|
3383
|
-
EnableMinimumEncryptionConfiguration: input.EnableMinimumEncryptionConfiguration,
|
|
3384
|
-
}),
|
|
3385
|
-
...(input.EnforceWorkGroupConfiguration != null && {
|
|
3386
|
-
EnforceWorkGroupConfiguration: input.EnforceWorkGroupConfiguration,
|
|
3387
|
-
}),
|
|
3388
|
-
...(input.EngineVersion != null && { EngineVersion: se_EngineVersion(input.EngineVersion, context) }),
|
|
3389
|
-
...(input.ExecutionRole != null && { ExecutionRole: input.ExecutionRole }),
|
|
3390
|
-
...(input.PublishCloudWatchMetricsEnabled != null && {
|
|
3391
|
-
PublishCloudWatchMetricsEnabled: input.PublishCloudWatchMetricsEnabled,
|
|
3392
|
-
}),
|
|
3393
|
-
...(input.RequesterPaysEnabled != null && { RequesterPaysEnabled: input.RequesterPaysEnabled }),
|
|
3394
|
-
...(input.ResultConfiguration != null && {
|
|
3395
|
-
ResultConfiguration: se_ResultConfiguration(input.ResultConfiguration, context),
|
|
3396
|
-
}),
|
|
3397
|
-
};
|
|
3398
|
-
};
|
|
3399
|
-
const se_WorkGroupConfigurationUpdates = (input, context) => {
|
|
3400
|
-
return {
|
|
3401
|
-
...(input.AdditionalConfiguration != null && { AdditionalConfiguration: input.AdditionalConfiguration }),
|
|
3402
|
-
...(input.BytesScannedCutoffPerQuery != null && { BytesScannedCutoffPerQuery: input.BytesScannedCutoffPerQuery }),
|
|
3403
|
-
...(input.CustomerContentEncryptionConfiguration != null && {
|
|
3404
|
-
CustomerContentEncryptionConfiguration: se_CustomerContentEncryptionConfiguration(input.CustomerContentEncryptionConfiguration, context),
|
|
3405
|
-
}),
|
|
3406
|
-
...(input.EnableMinimumEncryptionConfiguration != null && {
|
|
3407
|
-
EnableMinimumEncryptionConfiguration: input.EnableMinimumEncryptionConfiguration,
|
|
3408
|
-
}),
|
|
3409
|
-
...(input.EnforceWorkGroupConfiguration != null && {
|
|
3410
|
-
EnforceWorkGroupConfiguration: input.EnforceWorkGroupConfiguration,
|
|
3411
|
-
}),
|
|
3412
|
-
...(input.EngineVersion != null && { EngineVersion: se_EngineVersion(input.EngineVersion, context) }),
|
|
3413
|
-
...(input.ExecutionRole != null && { ExecutionRole: input.ExecutionRole }),
|
|
3414
|
-
...(input.PublishCloudWatchMetricsEnabled != null && {
|
|
3415
|
-
PublishCloudWatchMetricsEnabled: input.PublishCloudWatchMetricsEnabled,
|
|
3416
|
-
}),
|
|
3417
|
-
...(input.RemoveBytesScannedCutoffPerQuery != null && {
|
|
3418
|
-
RemoveBytesScannedCutoffPerQuery: input.RemoveBytesScannedCutoffPerQuery,
|
|
3419
|
-
}),
|
|
3420
|
-
...(input.RemoveCustomerContentEncryptionConfiguration != null && {
|
|
3421
|
-
RemoveCustomerContentEncryptionConfiguration: input.RemoveCustomerContentEncryptionConfiguration,
|
|
3422
|
-
}),
|
|
3423
|
-
...(input.RequesterPaysEnabled != null && { RequesterPaysEnabled: input.RequesterPaysEnabled }),
|
|
3424
|
-
...(input.ResultConfigurationUpdates != null && {
|
|
3425
|
-
ResultConfigurationUpdates: se_ResultConfigurationUpdates(input.ResultConfigurationUpdates, context),
|
|
3426
|
-
}),
|
|
3427
|
-
};
|
|
3428
|
-
};
|
|
3429
|
-
const de_AclConfiguration = (output, context) => {
|
|
3430
|
-
return {
|
|
3431
|
-
S3AclOption: (0, smithy_client_1.expectString)(output.S3AclOption),
|
|
3432
|
-
};
|
|
3433
|
-
};
|
|
3434
|
-
const de_ApplicationDPUSizes = (output, context) => {
|
|
3435
|
-
return {
|
|
3436
|
-
ApplicationRuntimeId: (0, smithy_client_1.expectString)(output.ApplicationRuntimeId),
|
|
3437
|
-
SupportedDPUSizes: output.SupportedDPUSizes != null ? de_SupportedDPUSizeList(output.SupportedDPUSizes, context) : undefined,
|
|
3438
|
-
};
|
|
3439
|
-
};
|
|
3440
|
-
const de_ApplicationDPUSizesList = (output, context) => {
|
|
3441
|
-
const retVal = (output || [])
|
|
3442
|
-
.filter((e) => e != null)
|
|
3443
|
-
.map((entry) => {
|
|
3444
|
-
if (entry === null) {
|
|
3445
|
-
return null;
|
|
3446
|
-
}
|
|
3447
|
-
return de_ApplicationDPUSizes(entry, context);
|
|
2782
|
+
const se_StopQueryExecutionInput = (input, context) => {
|
|
2783
|
+
return (0, smithy_client_1.take)(input, {
|
|
2784
|
+
QueryExecutionId: (_) => _ ?? (0, uuid_1.v4)(),
|
|
3448
2785
|
});
|
|
3449
|
-
return retVal;
|
|
3450
|
-
};
|
|
3451
|
-
const de_AthenaError = (output, context) => {
|
|
3452
|
-
return {
|
|
3453
|
-
ErrorCategory: (0, smithy_client_1.expectInt32)(output.ErrorCategory),
|
|
3454
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
3455
|
-
ErrorType: (0, smithy_client_1.expectInt32)(output.ErrorType),
|
|
3456
|
-
Retryable: (0, smithy_client_1.expectBoolean)(output.Retryable),
|
|
3457
|
-
};
|
|
3458
|
-
};
|
|
3459
|
-
const de_BatchGetNamedQueryOutput = (output, context) => {
|
|
3460
|
-
return {
|
|
3461
|
-
NamedQueries: output.NamedQueries != null ? de_NamedQueryList(output.NamedQueries, context) : undefined,
|
|
3462
|
-
UnprocessedNamedQueryIds: output.UnprocessedNamedQueryIds != null
|
|
3463
|
-
? de_UnprocessedNamedQueryIdList(output.UnprocessedNamedQueryIds, context)
|
|
3464
|
-
: undefined,
|
|
3465
|
-
};
|
|
3466
2786
|
};
|
|
3467
2787
|
const de_BatchGetPreparedStatementOutput = (output, context) => {
|
|
3468
|
-
return {
|
|
3469
|
-
PreparedStatements:
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
UnprocessedPreparedStatementNames: output.UnprocessedPreparedStatementNames != null
|
|
3473
|
-
? de_UnprocessedPreparedStatementNameList(output.UnprocessedPreparedStatementNames, context)
|
|
3474
|
-
: undefined,
|
|
3475
|
-
};
|
|
2788
|
+
return (0, smithy_client_1.take)(output, {
|
|
2789
|
+
PreparedStatements: (_) => de_PreparedStatementDetailsList(_, context),
|
|
2790
|
+
UnprocessedPreparedStatementNames: smithy_client_1._json,
|
|
2791
|
+
});
|
|
3476
2792
|
};
|
|
3477
2793
|
const de_BatchGetQueryExecutionOutput = (output, context) => {
|
|
3478
|
-
return {
|
|
3479
|
-
QueryExecutions:
|
|
3480
|
-
UnprocessedQueryExecutionIds:
|
|
3481
|
-
|
|
3482
|
-
: undefined,
|
|
3483
|
-
};
|
|
3484
|
-
};
|
|
3485
|
-
const de_CalculationResult = (output, context) => {
|
|
3486
|
-
return {
|
|
3487
|
-
ResultS3Uri: (0, smithy_client_1.expectString)(output.ResultS3Uri),
|
|
3488
|
-
ResultType: (0, smithy_client_1.expectString)(output.ResultType),
|
|
3489
|
-
StdErrorS3Uri: (0, smithy_client_1.expectString)(output.StdErrorS3Uri),
|
|
3490
|
-
StdOutS3Uri: (0, smithy_client_1.expectString)(output.StdOutS3Uri),
|
|
3491
|
-
};
|
|
2794
|
+
return (0, smithy_client_1.take)(output, {
|
|
2795
|
+
QueryExecutions: (_) => de_QueryExecutionList(_, context),
|
|
2796
|
+
UnprocessedQueryExecutionIds: smithy_client_1._json,
|
|
2797
|
+
});
|
|
3492
2798
|
};
|
|
3493
2799
|
const de_CalculationsList = (output, context) => {
|
|
3494
2800
|
const retVal = (output || [])
|
|
3495
2801
|
.filter((e) => e != null)
|
|
3496
2802
|
.map((entry) => {
|
|
3497
|
-
if (entry === null) {
|
|
3498
|
-
return null;
|
|
3499
|
-
}
|
|
3500
2803
|
return de_CalculationSummary(entry, context);
|
|
3501
2804
|
});
|
|
3502
2805
|
return retVal;
|
|
3503
2806
|
};
|
|
3504
|
-
const de_CalculationStatistics = (output, context) => {
|
|
3505
|
-
return {
|
|
3506
|
-
DpuExecutionInMillis: (0, smithy_client_1.expectLong)(output.DpuExecutionInMillis),
|
|
3507
|
-
Progress: (0, smithy_client_1.expectString)(output.Progress),
|
|
3508
|
-
};
|
|
3509
|
-
};
|
|
3510
2807
|
const de_CalculationStatus = (output, context) => {
|
|
3511
|
-
return {
|
|
3512
|
-
CompletionDateTime:
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
StateChangeReason: (0, smithy_client_1.expectString)(output.StateChangeReason),
|
|
3517
|
-
SubmissionDateTime: output.SubmissionDateTime != null
|
|
3518
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmissionDateTime)))
|
|
3519
|
-
: undefined,
|
|
3520
|
-
};
|
|
3521
|
-
};
|
|
3522
|
-
const de_CalculationSummary = (output, context) => {
|
|
3523
|
-
return {
|
|
3524
|
-
CalculationExecutionId: (0, smithy_client_1.expectString)(output.CalculationExecutionId),
|
|
3525
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3526
|
-
Status: output.Status != null ? de_CalculationStatus(output.Status, context) : undefined,
|
|
3527
|
-
};
|
|
3528
|
-
};
|
|
3529
|
-
const de_Column = (output, context) => {
|
|
3530
|
-
return {
|
|
3531
|
-
Comment: (0, smithy_client_1.expectString)(output.Comment),
|
|
3532
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3533
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3534
|
-
};
|
|
3535
|
-
};
|
|
3536
|
-
const de_ColumnInfo = (output, context) => {
|
|
3537
|
-
return {
|
|
3538
|
-
CaseSensitive: (0, smithy_client_1.expectBoolean)(output.CaseSensitive),
|
|
3539
|
-
CatalogName: (0, smithy_client_1.expectString)(output.CatalogName),
|
|
3540
|
-
Label: (0, smithy_client_1.expectString)(output.Label),
|
|
3541
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3542
|
-
Nullable: (0, smithy_client_1.expectString)(output.Nullable),
|
|
3543
|
-
Precision: (0, smithy_client_1.expectInt32)(output.Precision),
|
|
3544
|
-
Scale: (0, smithy_client_1.expectInt32)(output.Scale),
|
|
3545
|
-
SchemaName: (0, smithy_client_1.expectString)(output.SchemaName),
|
|
3546
|
-
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
3547
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3548
|
-
};
|
|
3549
|
-
};
|
|
3550
|
-
const de_ColumnInfoList = (output, context) => {
|
|
3551
|
-
const retVal = (output || [])
|
|
3552
|
-
.filter((e) => e != null)
|
|
3553
|
-
.map((entry) => {
|
|
3554
|
-
if (entry === null) {
|
|
3555
|
-
return null;
|
|
3556
|
-
}
|
|
3557
|
-
return de_ColumnInfo(entry, context);
|
|
3558
|
-
});
|
|
3559
|
-
return retVal;
|
|
3560
|
-
};
|
|
3561
|
-
const de_ColumnList = (output, context) => {
|
|
3562
|
-
const retVal = (output || [])
|
|
3563
|
-
.filter((e) => e != null)
|
|
3564
|
-
.map((entry) => {
|
|
3565
|
-
if (entry === null) {
|
|
3566
|
-
return null;
|
|
3567
|
-
}
|
|
3568
|
-
return de_Column(entry, context);
|
|
3569
|
-
});
|
|
3570
|
-
return retVal;
|
|
3571
|
-
};
|
|
3572
|
-
const de_CreateDataCatalogOutput = (output, context) => {
|
|
3573
|
-
return {};
|
|
3574
|
-
};
|
|
3575
|
-
const de_CreateNamedQueryOutput = (output, context) => {
|
|
3576
|
-
return {
|
|
3577
|
-
NamedQueryId: (0, smithy_client_1.expectString)(output.NamedQueryId),
|
|
3578
|
-
};
|
|
3579
|
-
};
|
|
3580
|
-
const de_CreateNotebookOutput = (output, context) => {
|
|
3581
|
-
return {
|
|
3582
|
-
NotebookId: (0, smithy_client_1.expectString)(output.NotebookId),
|
|
3583
|
-
};
|
|
3584
|
-
};
|
|
3585
|
-
const de_CreatePreparedStatementOutput = (output, context) => {
|
|
3586
|
-
return {};
|
|
3587
|
-
};
|
|
3588
|
-
const de_CreatePresignedNotebookUrlResponse = (output, context) => {
|
|
3589
|
-
return {
|
|
3590
|
-
AuthToken: (0, smithy_client_1.expectString)(output.AuthToken),
|
|
3591
|
-
AuthTokenExpirationTime: (0, smithy_client_1.expectLong)(output.AuthTokenExpirationTime),
|
|
3592
|
-
NotebookUrl: (0, smithy_client_1.expectString)(output.NotebookUrl),
|
|
3593
|
-
};
|
|
3594
|
-
};
|
|
3595
|
-
const de_CreateWorkGroupOutput = (output, context) => {
|
|
3596
|
-
return {};
|
|
3597
|
-
};
|
|
3598
|
-
const de_CustomerContentEncryptionConfiguration = (output, context) => {
|
|
3599
|
-
return {
|
|
3600
|
-
KmsKey: (0, smithy_client_1.expectString)(output.KmsKey),
|
|
3601
|
-
};
|
|
3602
|
-
};
|
|
3603
|
-
const de_Database = (output, context) => {
|
|
3604
|
-
return {
|
|
3605
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3606
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3607
|
-
Parameters: output.Parameters != null ? de_ParametersMap(output.Parameters, context) : undefined,
|
|
3608
|
-
};
|
|
3609
|
-
};
|
|
3610
|
-
const de_DatabaseList = (output, context) => {
|
|
3611
|
-
const retVal = (output || [])
|
|
3612
|
-
.filter((e) => e != null)
|
|
3613
|
-
.map((entry) => {
|
|
3614
|
-
if (entry === null) {
|
|
3615
|
-
return null;
|
|
3616
|
-
}
|
|
3617
|
-
return de_Database(entry, context);
|
|
3618
|
-
});
|
|
3619
|
-
return retVal;
|
|
3620
|
-
};
|
|
3621
|
-
const de_DataCatalog = (output, context) => {
|
|
3622
|
-
return {
|
|
3623
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3624
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3625
|
-
Parameters: output.Parameters != null ? de_ParametersMap(output.Parameters, context) : undefined,
|
|
3626
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3627
|
-
};
|
|
3628
|
-
};
|
|
3629
|
-
const de_DataCatalogSummary = (output, context) => {
|
|
3630
|
-
return {
|
|
3631
|
-
CatalogName: (0, smithy_client_1.expectString)(output.CatalogName),
|
|
3632
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3633
|
-
};
|
|
3634
|
-
};
|
|
3635
|
-
const de_DataCatalogSummaryList = (output, context) => {
|
|
3636
|
-
const retVal = (output || [])
|
|
3637
|
-
.filter((e) => e != null)
|
|
3638
|
-
.map((entry) => {
|
|
3639
|
-
if (entry === null) {
|
|
3640
|
-
return null;
|
|
3641
|
-
}
|
|
3642
|
-
return de_DataCatalogSummary(entry, context);
|
|
3643
|
-
});
|
|
3644
|
-
return retVal;
|
|
3645
|
-
};
|
|
3646
|
-
const de_Datum = (output, context) => {
|
|
3647
|
-
return {
|
|
3648
|
-
VarCharValue: (0, smithy_client_1.expectString)(output.VarCharValue),
|
|
3649
|
-
};
|
|
3650
|
-
};
|
|
3651
|
-
const de_datumList = (output, context) => {
|
|
3652
|
-
const retVal = (output || [])
|
|
3653
|
-
.filter((e) => e != null)
|
|
3654
|
-
.map((entry) => {
|
|
3655
|
-
if (entry === null) {
|
|
3656
|
-
return null;
|
|
3657
|
-
}
|
|
3658
|
-
return de_Datum(entry, context);
|
|
3659
|
-
});
|
|
3660
|
-
return retVal;
|
|
3661
|
-
};
|
|
3662
|
-
const de_DeleteDataCatalogOutput = (output, context) => {
|
|
3663
|
-
return {};
|
|
3664
|
-
};
|
|
3665
|
-
const de_DeleteNamedQueryOutput = (output, context) => {
|
|
3666
|
-
return {};
|
|
3667
|
-
};
|
|
3668
|
-
const de_DeleteNotebookOutput = (output, context) => {
|
|
3669
|
-
return {};
|
|
3670
|
-
};
|
|
3671
|
-
const de_DeletePreparedStatementOutput = (output, context) => {
|
|
3672
|
-
return {};
|
|
3673
|
-
};
|
|
3674
|
-
const de_DeleteWorkGroupOutput = (output, context) => {
|
|
3675
|
-
return {};
|
|
3676
|
-
};
|
|
3677
|
-
const de_EncryptionConfiguration = (output, context) => {
|
|
3678
|
-
return {
|
|
3679
|
-
EncryptionOption: (0, smithy_client_1.expectString)(output.EncryptionOption),
|
|
3680
|
-
KmsKey: (0, smithy_client_1.expectString)(output.KmsKey),
|
|
3681
|
-
};
|
|
3682
|
-
};
|
|
3683
|
-
const de_EngineConfiguration = (output, context) => {
|
|
3684
|
-
return {
|
|
3685
|
-
AdditionalConfigs: output.AdditionalConfigs != null ? de_ParametersMap(output.AdditionalConfigs, context) : undefined,
|
|
3686
|
-
CoordinatorDpuSize: (0, smithy_client_1.expectInt32)(output.CoordinatorDpuSize),
|
|
3687
|
-
DefaultExecutorDpuSize: (0, smithy_client_1.expectInt32)(output.DefaultExecutorDpuSize),
|
|
3688
|
-
MaxConcurrentDpus: (0, smithy_client_1.expectInt32)(output.MaxConcurrentDpus),
|
|
3689
|
-
};
|
|
3690
|
-
};
|
|
3691
|
-
const de_EngineVersion = (output, context) => {
|
|
3692
|
-
return {
|
|
3693
|
-
EffectiveEngineVersion: (0, smithy_client_1.expectString)(output.EffectiveEngineVersion),
|
|
3694
|
-
SelectedEngineVersion: (0, smithy_client_1.expectString)(output.SelectedEngineVersion),
|
|
3695
|
-
};
|
|
3696
|
-
};
|
|
3697
|
-
const de_EngineVersionsList = (output, context) => {
|
|
3698
|
-
const retVal = (output || [])
|
|
3699
|
-
.filter((e) => e != null)
|
|
3700
|
-
.map((entry) => {
|
|
3701
|
-
if (entry === null) {
|
|
3702
|
-
return null;
|
|
3703
|
-
}
|
|
3704
|
-
return de_EngineVersion(entry, context);
|
|
2808
|
+
return (0, smithy_client_1.take)(output, {
|
|
2809
|
+
CompletionDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2810
|
+
State: smithy_client_1.expectString,
|
|
2811
|
+
StateChangeReason: smithy_client_1.expectString,
|
|
2812
|
+
SubmissionDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3705
2813
|
});
|
|
3706
|
-
return retVal;
|
|
3707
2814
|
};
|
|
3708
|
-
const
|
|
3709
|
-
|
|
3710
|
-
.
|
|
3711
|
-
.
|
|
3712
|
-
|
|
3713
|
-
return null;
|
|
3714
|
-
}
|
|
3715
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3716
|
-
});
|
|
3717
|
-
return retVal;
|
|
3718
|
-
};
|
|
3719
|
-
const de_ExecutorsSummary = (output, context) => {
|
|
3720
|
-
return {
|
|
3721
|
-
ExecutorId: (0, smithy_client_1.expectString)(output.ExecutorId),
|
|
3722
|
-
ExecutorSize: (0, smithy_client_1.expectLong)(output.ExecutorSize),
|
|
3723
|
-
ExecutorState: (0, smithy_client_1.expectString)(output.ExecutorState),
|
|
3724
|
-
ExecutorType: (0, smithy_client_1.expectString)(output.ExecutorType),
|
|
3725
|
-
StartDateTime: (0, smithy_client_1.expectLong)(output.StartDateTime),
|
|
3726
|
-
TerminationDateTime: (0, smithy_client_1.expectLong)(output.TerminationDateTime),
|
|
3727
|
-
};
|
|
3728
|
-
};
|
|
3729
|
-
const de_ExecutorsSummaryList = (output, context) => {
|
|
3730
|
-
const retVal = (output || [])
|
|
3731
|
-
.filter((e) => e != null)
|
|
3732
|
-
.map((entry) => {
|
|
3733
|
-
if (entry === null) {
|
|
3734
|
-
return null;
|
|
3735
|
-
}
|
|
3736
|
-
return de_ExecutorsSummary(entry, context);
|
|
2815
|
+
const de_CalculationSummary = (output, context) => {
|
|
2816
|
+
return (0, smithy_client_1.take)(output, {
|
|
2817
|
+
CalculationExecutionId: smithy_client_1.expectString,
|
|
2818
|
+
Description: smithy_client_1.expectString,
|
|
2819
|
+
Status: (_) => de_CalculationStatus(_, context),
|
|
3737
2820
|
});
|
|
3738
|
-
return retVal;
|
|
3739
2821
|
};
|
|
3740
2822
|
const de_ExportNotebookOutput = (output, context) => {
|
|
3741
|
-
return {
|
|
3742
|
-
NotebookMetadata:
|
|
3743
|
-
Payload:
|
|
3744
|
-
};
|
|
3745
|
-
};
|
|
3746
|
-
const de_GetCalculationExecutionCodeResponse = (output, context) => {
|
|
3747
|
-
return {
|
|
3748
|
-
CodeBlock: (0, smithy_client_1.expectString)(output.CodeBlock),
|
|
3749
|
-
};
|
|
2823
|
+
return (0, smithy_client_1.take)(output, {
|
|
2824
|
+
NotebookMetadata: (_) => de_NotebookMetadata(_, context),
|
|
2825
|
+
Payload: smithy_client_1.expectString,
|
|
2826
|
+
});
|
|
3750
2827
|
};
|
|
3751
2828
|
const de_GetCalculationExecutionResponse = (output, context) => {
|
|
3752
|
-
return {
|
|
3753
|
-
CalculationExecutionId:
|
|
3754
|
-
Description:
|
|
3755
|
-
Result:
|
|
3756
|
-
SessionId:
|
|
3757
|
-
Statistics:
|
|
3758
|
-
Status:
|
|
3759
|
-
WorkingDirectory:
|
|
3760
|
-
};
|
|
2829
|
+
return (0, smithy_client_1.take)(output, {
|
|
2830
|
+
CalculationExecutionId: smithy_client_1.expectString,
|
|
2831
|
+
Description: smithy_client_1.expectString,
|
|
2832
|
+
Result: smithy_client_1._json,
|
|
2833
|
+
SessionId: smithy_client_1.expectString,
|
|
2834
|
+
Statistics: smithy_client_1._json,
|
|
2835
|
+
Status: (_) => de_CalculationStatus(_, context),
|
|
2836
|
+
WorkingDirectory: smithy_client_1.expectString,
|
|
2837
|
+
});
|
|
3761
2838
|
};
|
|
3762
2839
|
const de_GetCalculationExecutionStatusResponse = (output, context) => {
|
|
3763
|
-
return {
|
|
3764
|
-
Statistics:
|
|
3765
|
-
Status:
|
|
3766
|
-
};
|
|
3767
|
-
};
|
|
3768
|
-
const de_GetDatabaseOutput = (output, context) => {
|
|
3769
|
-
return {
|
|
3770
|
-
Database: output.Database != null ? de_Database(output.Database, context) : undefined,
|
|
3771
|
-
};
|
|
3772
|
-
};
|
|
3773
|
-
const de_GetDataCatalogOutput = (output, context) => {
|
|
3774
|
-
return {
|
|
3775
|
-
DataCatalog: output.DataCatalog != null ? de_DataCatalog(output.DataCatalog, context) : undefined,
|
|
3776
|
-
};
|
|
3777
|
-
};
|
|
3778
|
-
const de_GetNamedQueryOutput = (output, context) => {
|
|
3779
|
-
return {
|
|
3780
|
-
NamedQuery: output.NamedQuery != null ? de_NamedQuery(output.NamedQuery, context) : undefined,
|
|
3781
|
-
};
|
|
2840
|
+
return (0, smithy_client_1.take)(output, {
|
|
2841
|
+
Statistics: smithy_client_1._json,
|
|
2842
|
+
Status: (_) => de_CalculationStatus(_, context),
|
|
2843
|
+
});
|
|
3782
2844
|
};
|
|
3783
2845
|
const de_GetNotebookMetadataOutput = (output, context) => {
|
|
3784
|
-
return {
|
|
3785
|
-
NotebookMetadata:
|
|
3786
|
-
};
|
|
2846
|
+
return (0, smithy_client_1.take)(output, {
|
|
2847
|
+
NotebookMetadata: (_) => de_NotebookMetadata(_, context),
|
|
2848
|
+
});
|
|
3787
2849
|
};
|
|
3788
2850
|
const de_GetPreparedStatementOutput = (output, context) => {
|
|
3789
|
-
return {
|
|
3790
|
-
PreparedStatement:
|
|
3791
|
-
};
|
|
2851
|
+
return (0, smithy_client_1.take)(output, {
|
|
2852
|
+
PreparedStatement: (_) => de_PreparedStatement(_, context),
|
|
2853
|
+
});
|
|
3792
2854
|
};
|
|
3793
2855
|
const de_GetQueryExecutionOutput = (output, context) => {
|
|
3794
|
-
return {
|
|
3795
|
-
QueryExecution:
|
|
3796
|
-
};
|
|
3797
|
-
};
|
|
3798
|
-
const de_GetQueryResultsOutput = (output, context) => {
|
|
3799
|
-
return {
|
|
3800
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3801
|
-
ResultSet: output.ResultSet != null ? de_ResultSet(output.ResultSet, context) : undefined,
|
|
3802
|
-
UpdateCount: (0, smithy_client_1.expectLong)(output.UpdateCount),
|
|
3803
|
-
};
|
|
2856
|
+
return (0, smithy_client_1.take)(output, {
|
|
2857
|
+
QueryExecution: (_) => de_QueryExecution(_, context),
|
|
2858
|
+
});
|
|
3804
2859
|
};
|
|
3805
2860
|
const de_GetQueryRuntimeStatisticsOutput = (output, context) => {
|
|
3806
|
-
return {
|
|
3807
|
-
QueryRuntimeStatistics:
|
|
3808
|
-
|
|
3809
|
-
: undefined,
|
|
3810
|
-
};
|
|
2861
|
+
return (0, smithy_client_1.take)(output, {
|
|
2862
|
+
QueryRuntimeStatistics: (_) => de_QueryRuntimeStatistics(_, context),
|
|
2863
|
+
});
|
|
3811
2864
|
};
|
|
3812
2865
|
const de_GetSessionResponse = (output, context) => {
|
|
3813
|
-
return {
|
|
3814
|
-
Description:
|
|
3815
|
-
EngineConfiguration:
|
|
3816
|
-
EngineVersion:
|
|
3817
|
-
NotebookVersion:
|
|
3818
|
-
SessionConfiguration:
|
|
3819
|
-
SessionId:
|
|
3820
|
-
Statistics:
|
|
3821
|
-
Status:
|
|
3822
|
-
WorkGroup:
|
|
3823
|
-
};
|
|
2866
|
+
return (0, smithy_client_1.take)(output, {
|
|
2867
|
+
Description: smithy_client_1.expectString,
|
|
2868
|
+
EngineConfiguration: smithy_client_1._json,
|
|
2869
|
+
EngineVersion: smithy_client_1.expectString,
|
|
2870
|
+
NotebookVersion: smithy_client_1.expectString,
|
|
2871
|
+
SessionConfiguration: smithy_client_1._json,
|
|
2872
|
+
SessionId: smithy_client_1.expectString,
|
|
2873
|
+
Statistics: smithy_client_1._json,
|
|
2874
|
+
Status: (_) => de_SessionStatus(_, context),
|
|
2875
|
+
WorkGroup: smithy_client_1.expectString,
|
|
2876
|
+
});
|
|
3824
2877
|
};
|
|
3825
2878
|
const de_GetSessionStatusResponse = (output, context) => {
|
|
3826
|
-
return {
|
|
3827
|
-
SessionId:
|
|
3828
|
-
Status:
|
|
3829
|
-
};
|
|
3830
|
-
};
|
|
3831
|
-
const de_GetTableMetadataOutput = (output, context) => {
|
|
3832
|
-
return {
|
|
3833
|
-
TableMetadata: output.TableMetadata != null ? de_TableMetadata(output.TableMetadata, context) : undefined,
|
|
3834
|
-
};
|
|
3835
|
-
};
|
|
3836
|
-
const de_GetWorkGroupOutput = (output, context) => {
|
|
3837
|
-
return {
|
|
3838
|
-
WorkGroup: output.WorkGroup != null ? de_WorkGroup(output.WorkGroup, context) : undefined,
|
|
3839
|
-
};
|
|
3840
|
-
};
|
|
3841
|
-
const de_ImportNotebookOutput = (output, context) => {
|
|
3842
|
-
return {
|
|
3843
|
-
NotebookId: (0, smithy_client_1.expectString)(output.NotebookId),
|
|
3844
|
-
};
|
|
3845
|
-
};
|
|
3846
|
-
const de_InternalServerException = (output, context) => {
|
|
3847
|
-
return {
|
|
3848
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3849
|
-
};
|
|
3850
|
-
};
|
|
3851
|
-
const de_InvalidRequestException = (output, context) => {
|
|
3852
|
-
return {
|
|
3853
|
-
AthenaErrorCode: (0, smithy_client_1.expectString)(output.AthenaErrorCode),
|
|
3854
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3855
|
-
};
|
|
3856
|
-
};
|
|
3857
|
-
const de_ListApplicationDPUSizesOutput = (output, context) => {
|
|
3858
|
-
return {
|
|
3859
|
-
ApplicationDPUSizes: output.ApplicationDPUSizes != null ? de_ApplicationDPUSizesList(output.ApplicationDPUSizes, context) : undefined,
|
|
3860
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3861
|
-
};
|
|
3862
|
-
};
|
|
3863
|
-
const de_ListCalculationExecutionsResponse = (output, context) => {
|
|
3864
|
-
return {
|
|
3865
|
-
Calculations: output.Calculations != null ? de_CalculationsList(output.Calculations, context) : undefined,
|
|
3866
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3867
|
-
};
|
|
3868
|
-
};
|
|
3869
|
-
const de_ListDatabasesOutput = (output, context) => {
|
|
3870
|
-
return {
|
|
3871
|
-
DatabaseList: output.DatabaseList != null ? de_DatabaseList(output.DatabaseList, context) : undefined,
|
|
3872
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3873
|
-
};
|
|
3874
|
-
};
|
|
3875
|
-
const de_ListDataCatalogsOutput = (output, context) => {
|
|
3876
|
-
return {
|
|
3877
|
-
DataCatalogsSummary: output.DataCatalogsSummary != null ? de_DataCatalogSummaryList(output.DataCatalogsSummary, context) : undefined,
|
|
3878
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3879
|
-
};
|
|
2879
|
+
return (0, smithy_client_1.take)(output, {
|
|
2880
|
+
SessionId: smithy_client_1.expectString,
|
|
2881
|
+
Status: (_) => de_SessionStatus(_, context),
|
|
2882
|
+
});
|
|
3880
2883
|
};
|
|
3881
|
-
const
|
|
3882
|
-
return {
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
};
|
|
2884
|
+
const de_GetTableMetadataOutput = (output, context) => {
|
|
2885
|
+
return (0, smithy_client_1.take)(output, {
|
|
2886
|
+
TableMetadata: (_) => de_TableMetadata(_, context),
|
|
2887
|
+
});
|
|
3886
2888
|
};
|
|
3887
|
-
const
|
|
3888
|
-
return {
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
SessionId: (0, smithy_client_1.expectString)(output.SessionId),
|
|
3892
|
-
};
|
|
2889
|
+
const de_GetWorkGroupOutput = (output, context) => {
|
|
2890
|
+
return (0, smithy_client_1.take)(output, {
|
|
2891
|
+
WorkGroup: (_) => de_WorkGroup(_, context),
|
|
2892
|
+
});
|
|
3893
2893
|
};
|
|
3894
|
-
const
|
|
3895
|
-
return {
|
|
3896
|
-
|
|
3897
|
-
NextToken:
|
|
3898
|
-
};
|
|
2894
|
+
const de_ListCalculationExecutionsResponse = (output, context) => {
|
|
2895
|
+
return (0, smithy_client_1.take)(output, {
|
|
2896
|
+
Calculations: (_) => de_CalculationsList(_, context),
|
|
2897
|
+
NextToken: smithy_client_1.expectString,
|
|
2898
|
+
});
|
|
3899
2899
|
};
|
|
3900
2900
|
const de_ListNotebookMetadataOutput = (output, context) => {
|
|
3901
|
-
return {
|
|
3902
|
-
NextToken:
|
|
3903
|
-
NotebookMetadataList:
|
|
3904
|
-
};
|
|
2901
|
+
return (0, smithy_client_1.take)(output, {
|
|
2902
|
+
NextToken: smithy_client_1.expectString,
|
|
2903
|
+
NotebookMetadataList: (_) => de_NotebookMetadataArray(_, context),
|
|
2904
|
+
});
|
|
3905
2905
|
};
|
|
3906
2906
|
const de_ListNotebookSessionsResponse = (output, context) => {
|
|
3907
|
-
return {
|
|
3908
|
-
NextToken:
|
|
3909
|
-
NotebookSessionsList:
|
|
3910
|
-
};
|
|
2907
|
+
return (0, smithy_client_1.take)(output, {
|
|
2908
|
+
NextToken: smithy_client_1.expectString,
|
|
2909
|
+
NotebookSessionsList: (_) => de_NotebookSessionsList(_, context),
|
|
2910
|
+
});
|
|
3911
2911
|
};
|
|
3912
2912
|
const de_ListPreparedStatementsOutput = (output, context) => {
|
|
3913
|
-
return {
|
|
3914
|
-
NextToken:
|
|
3915
|
-
PreparedStatements:
|
|
3916
|
-
};
|
|
3917
|
-
};
|
|
3918
|
-
const de_ListQueryExecutionsOutput = (output, context) => {
|
|
3919
|
-
return {
|
|
3920
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3921
|
-
QueryExecutionIds: output.QueryExecutionIds != null ? de_QueryExecutionIdList(output.QueryExecutionIds, context) : undefined,
|
|
3922
|
-
};
|
|
2913
|
+
return (0, smithy_client_1.take)(output, {
|
|
2914
|
+
NextToken: smithy_client_1.expectString,
|
|
2915
|
+
PreparedStatements: (_) => de_PreparedStatementsList(_, context),
|
|
2916
|
+
});
|
|
3923
2917
|
};
|
|
3924
2918
|
const de_ListSessionsResponse = (output, context) => {
|
|
3925
|
-
return {
|
|
3926
|
-
NextToken:
|
|
3927
|
-
Sessions:
|
|
3928
|
-
};
|
|
2919
|
+
return (0, smithy_client_1.take)(output, {
|
|
2920
|
+
NextToken: smithy_client_1.expectString,
|
|
2921
|
+
Sessions: (_) => de_SessionsList(_, context),
|
|
2922
|
+
});
|
|
3929
2923
|
};
|
|
3930
2924
|
const de_ListTableMetadataOutput = (output, context) => {
|
|
3931
|
-
return {
|
|
3932
|
-
NextToken:
|
|
3933
|
-
TableMetadataList:
|
|
3934
|
-
};
|
|
3935
|
-
};
|
|
3936
|
-
const de_ListTagsForResourceOutput = (output, context) => {
|
|
3937
|
-
return {
|
|
3938
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3939
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
3940
|
-
};
|
|
3941
|
-
};
|
|
3942
|
-
const de_ListWorkGroupsOutput = (output, context) => {
|
|
3943
|
-
return {
|
|
3944
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3945
|
-
WorkGroups: output.WorkGroups != null ? de_WorkGroupsList(output.WorkGroups, context) : undefined,
|
|
3946
|
-
};
|
|
3947
|
-
};
|
|
3948
|
-
const de_MetadataException = (output, context) => {
|
|
3949
|
-
return {
|
|
3950
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3951
|
-
};
|
|
3952
|
-
};
|
|
3953
|
-
const de_NamedQuery = (output, context) => {
|
|
3954
|
-
return {
|
|
3955
|
-
Database: (0, smithy_client_1.expectString)(output.Database),
|
|
3956
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3957
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3958
|
-
NamedQueryId: (0, smithy_client_1.expectString)(output.NamedQueryId),
|
|
3959
|
-
QueryString: (0, smithy_client_1.expectString)(output.QueryString),
|
|
3960
|
-
WorkGroup: (0, smithy_client_1.expectString)(output.WorkGroup),
|
|
3961
|
-
};
|
|
3962
|
-
};
|
|
3963
|
-
const de_NamedQueryIdList = (output, context) => {
|
|
3964
|
-
const retVal = (output || [])
|
|
3965
|
-
.filter((e) => e != null)
|
|
3966
|
-
.map((entry) => {
|
|
3967
|
-
if (entry === null) {
|
|
3968
|
-
return null;
|
|
3969
|
-
}
|
|
3970
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2925
|
+
return (0, smithy_client_1.take)(output, {
|
|
2926
|
+
NextToken: smithy_client_1.expectString,
|
|
2927
|
+
TableMetadataList: (_) => de_TableMetadataList(_, context),
|
|
3971
2928
|
});
|
|
3972
|
-
return retVal;
|
|
3973
2929
|
};
|
|
3974
|
-
const
|
|
3975
|
-
|
|
3976
|
-
.
|
|
3977
|
-
|
|
3978
|
-
if (entry === null) {
|
|
3979
|
-
return null;
|
|
3980
|
-
}
|
|
3981
|
-
return de_NamedQuery(entry, context);
|
|
2930
|
+
const de_ListWorkGroupsOutput = (output, context) => {
|
|
2931
|
+
return (0, smithy_client_1.take)(output, {
|
|
2932
|
+
NextToken: smithy_client_1.expectString,
|
|
2933
|
+
WorkGroups: (_) => de_WorkGroupsList(_, context),
|
|
3982
2934
|
});
|
|
3983
|
-
return retVal;
|
|
3984
2935
|
};
|
|
3985
2936
|
const de_NotebookMetadata = (output, context) => {
|
|
3986
|
-
return {
|
|
3987
|
-
CreationTime:
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
NotebookId: (0, smithy_client_1.expectString)(output.NotebookId),
|
|
3995
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3996
|
-
WorkGroup: (0, smithy_client_1.expectString)(output.WorkGroup),
|
|
3997
|
-
};
|
|
2937
|
+
return (0, smithy_client_1.take)(output, {
|
|
2938
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2939
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2940
|
+
Name: smithy_client_1.expectString,
|
|
2941
|
+
NotebookId: smithy_client_1.expectString,
|
|
2942
|
+
Type: smithy_client_1.expectString,
|
|
2943
|
+
WorkGroup: smithy_client_1.expectString,
|
|
2944
|
+
});
|
|
3998
2945
|
};
|
|
3999
2946
|
const de_NotebookMetadataArray = (output, context) => {
|
|
4000
2947
|
const retVal = (output || [])
|
|
4001
2948
|
.filter((e) => e != null)
|
|
4002
2949
|
.map((entry) => {
|
|
4003
|
-
if (entry === null) {
|
|
4004
|
-
return null;
|
|
4005
|
-
}
|
|
4006
2950
|
return de_NotebookMetadata(entry, context);
|
|
4007
2951
|
});
|
|
4008
2952
|
return retVal;
|
|
@@ -4011,48 +2955,29 @@ const de_NotebookSessionsList = (output, context) => {
|
|
|
4011
2955
|
const retVal = (output || [])
|
|
4012
2956
|
.filter((e) => e != null)
|
|
4013
2957
|
.map((entry) => {
|
|
4014
|
-
if (entry === null) {
|
|
4015
|
-
return null;
|
|
4016
|
-
}
|
|
4017
2958
|
return de_NotebookSessionSummary(entry, context);
|
|
4018
2959
|
});
|
|
4019
2960
|
return retVal;
|
|
4020
2961
|
};
|
|
4021
2962
|
const de_NotebookSessionSummary = (output, context) => {
|
|
4022
|
-
return {
|
|
4023
|
-
CreationTime:
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
SessionId: (0, smithy_client_1.expectString)(output.SessionId),
|
|
4027
|
-
};
|
|
4028
|
-
};
|
|
4029
|
-
const de_ParametersMap = (output, context) => {
|
|
4030
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4031
|
-
if (value === null) {
|
|
4032
|
-
return acc;
|
|
4033
|
-
}
|
|
4034
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
4035
|
-
return acc;
|
|
4036
|
-
}, {});
|
|
2963
|
+
return (0, smithy_client_1.take)(output, {
|
|
2964
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2965
|
+
SessionId: smithy_client_1.expectString,
|
|
2966
|
+
});
|
|
4037
2967
|
};
|
|
4038
2968
|
const de_PreparedStatement = (output, context) => {
|
|
4039
|
-
return {
|
|
4040
|
-
Description:
|
|
4041
|
-
LastModifiedTime:
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
WorkGroupName: (0, smithy_client_1.expectString)(output.WorkGroupName),
|
|
4047
|
-
};
|
|
2969
|
+
return (0, smithy_client_1.take)(output, {
|
|
2970
|
+
Description: smithy_client_1.expectString,
|
|
2971
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2972
|
+
QueryStatement: smithy_client_1.expectString,
|
|
2973
|
+
StatementName: smithy_client_1.expectString,
|
|
2974
|
+
WorkGroupName: smithy_client_1.expectString,
|
|
2975
|
+
});
|
|
4048
2976
|
};
|
|
4049
2977
|
const de_PreparedStatementDetailsList = (output, context) => {
|
|
4050
2978
|
const retVal = (output || [])
|
|
4051
2979
|
.filter((e) => e != null)
|
|
4052
2980
|
.map((entry) => {
|
|
4053
|
-
if (entry === null) {
|
|
4054
|
-
return null;
|
|
4055
|
-
}
|
|
4056
2981
|
return de_PreparedStatement(entry, context);
|
|
4057
2982
|
});
|
|
4058
2983
|
return retVal;
|
|
@@ -4061,148 +2986,81 @@ const de_PreparedStatementsList = (output, context) => {
|
|
|
4061
2986
|
const retVal = (output || [])
|
|
4062
2987
|
.filter((e) => e != null)
|
|
4063
2988
|
.map((entry) => {
|
|
4064
|
-
if (entry === null) {
|
|
4065
|
-
return null;
|
|
4066
|
-
}
|
|
4067
2989
|
return de_PreparedStatementSummary(entry, context);
|
|
4068
2990
|
});
|
|
4069
2991
|
return retVal;
|
|
4070
2992
|
};
|
|
4071
2993
|
const de_PreparedStatementSummary = (output, context) => {
|
|
4072
|
-
return {
|
|
4073
|
-
LastModifiedTime:
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
StatementName: (0, smithy_client_1.expectString)(output.StatementName),
|
|
4077
|
-
};
|
|
2994
|
+
return (0, smithy_client_1.take)(output, {
|
|
2995
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2996
|
+
StatementName: smithy_client_1.expectString,
|
|
2997
|
+
});
|
|
4078
2998
|
};
|
|
4079
2999
|
const de_QueryExecution = (output, context) => {
|
|
4080
|
-
return {
|
|
4081
|
-
EngineVersion:
|
|
4082
|
-
ExecutionParameters:
|
|
4083
|
-
Query:
|
|
4084
|
-
QueryExecutionContext:
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
Statistics: output.Statistics != null ? de_QueryExecutionStatistics(output.Statistics, context) : undefined,
|
|
4094
|
-
Status: output.Status != null ? de_QueryExecutionStatus(output.Status, context) : undefined,
|
|
4095
|
-
SubstatementType: (0, smithy_client_1.expectString)(output.SubstatementType),
|
|
4096
|
-
WorkGroup: (0, smithy_client_1.expectString)(output.WorkGroup),
|
|
4097
|
-
};
|
|
4098
|
-
};
|
|
4099
|
-
const de_QueryExecutionContext = (output, context) => {
|
|
4100
|
-
return {
|
|
4101
|
-
Catalog: (0, smithy_client_1.expectString)(output.Catalog),
|
|
4102
|
-
Database: (0, smithy_client_1.expectString)(output.Database),
|
|
4103
|
-
};
|
|
4104
|
-
};
|
|
4105
|
-
const de_QueryExecutionIdList = (output, context) => {
|
|
4106
|
-
const retVal = (output || [])
|
|
4107
|
-
.filter((e) => e != null)
|
|
4108
|
-
.map((entry) => {
|
|
4109
|
-
if (entry === null) {
|
|
4110
|
-
return null;
|
|
4111
|
-
}
|
|
4112
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3000
|
+
return (0, smithy_client_1.take)(output, {
|
|
3001
|
+
EngineVersion: smithy_client_1._json,
|
|
3002
|
+
ExecutionParameters: smithy_client_1._json,
|
|
3003
|
+
Query: smithy_client_1.expectString,
|
|
3004
|
+
QueryExecutionContext: smithy_client_1._json,
|
|
3005
|
+
QueryExecutionId: smithy_client_1.expectString,
|
|
3006
|
+
ResultConfiguration: smithy_client_1._json,
|
|
3007
|
+
ResultReuseConfiguration: smithy_client_1._json,
|
|
3008
|
+
StatementType: smithy_client_1.expectString,
|
|
3009
|
+
Statistics: smithy_client_1._json,
|
|
3010
|
+
Status: (_) => de_QueryExecutionStatus(_, context),
|
|
3011
|
+
SubstatementType: smithy_client_1.expectString,
|
|
3012
|
+
WorkGroup: smithy_client_1.expectString,
|
|
4113
3013
|
});
|
|
4114
|
-
return retVal;
|
|
4115
3014
|
};
|
|
4116
3015
|
const de_QueryExecutionList = (output, context) => {
|
|
4117
3016
|
const retVal = (output || [])
|
|
4118
3017
|
.filter((e) => e != null)
|
|
4119
3018
|
.map((entry) => {
|
|
4120
|
-
if (entry === null) {
|
|
4121
|
-
return null;
|
|
4122
|
-
}
|
|
4123
3019
|
return de_QueryExecution(entry, context);
|
|
4124
3020
|
});
|
|
4125
3021
|
return retVal;
|
|
4126
3022
|
};
|
|
4127
|
-
const de_QueryExecutionStatistics = (output, context) => {
|
|
4128
|
-
return {
|
|
4129
|
-
DataManifestLocation: (0, smithy_client_1.expectString)(output.DataManifestLocation),
|
|
4130
|
-
DataScannedInBytes: (0, smithy_client_1.expectLong)(output.DataScannedInBytes),
|
|
4131
|
-
EngineExecutionTimeInMillis: (0, smithy_client_1.expectLong)(output.EngineExecutionTimeInMillis),
|
|
4132
|
-
QueryPlanningTimeInMillis: (0, smithy_client_1.expectLong)(output.QueryPlanningTimeInMillis),
|
|
4133
|
-
QueryQueueTimeInMillis: (0, smithy_client_1.expectLong)(output.QueryQueueTimeInMillis),
|
|
4134
|
-
ResultReuseInformation: output.ResultReuseInformation != null
|
|
4135
|
-
? de_ResultReuseInformation(output.ResultReuseInformation, context)
|
|
4136
|
-
: undefined,
|
|
4137
|
-
ServiceProcessingTimeInMillis: (0, smithy_client_1.expectLong)(output.ServiceProcessingTimeInMillis),
|
|
4138
|
-
TotalExecutionTimeInMillis: (0, smithy_client_1.expectLong)(output.TotalExecutionTimeInMillis),
|
|
4139
|
-
};
|
|
4140
|
-
};
|
|
4141
3023
|
const de_QueryExecutionStatus = (output, context) => {
|
|
4142
|
-
return {
|
|
4143
|
-
AthenaError:
|
|
4144
|
-
CompletionDateTime:
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
SubmissionDateTime: output.SubmissionDateTime != null
|
|
4150
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmissionDateTime)))
|
|
4151
|
-
: undefined,
|
|
4152
|
-
};
|
|
3024
|
+
return (0, smithy_client_1.take)(output, {
|
|
3025
|
+
AthenaError: smithy_client_1._json,
|
|
3026
|
+
CompletionDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3027
|
+
State: smithy_client_1.expectString,
|
|
3028
|
+
StateChangeReason: smithy_client_1.expectString,
|
|
3029
|
+
SubmissionDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3030
|
+
});
|
|
4153
3031
|
};
|
|
4154
3032
|
const de_QueryRuntimeStatistics = (output, context) => {
|
|
4155
|
-
return {
|
|
4156
|
-
OutputStage:
|
|
4157
|
-
Rows:
|
|
4158
|
-
Timeline:
|
|
4159
|
-
};
|
|
4160
|
-
};
|
|
4161
|
-
const de_QueryRuntimeStatisticsRows = (output, context) => {
|
|
4162
|
-
return {
|
|
4163
|
-
InputBytes: (0, smithy_client_1.expectLong)(output.InputBytes),
|
|
4164
|
-
InputRows: (0, smithy_client_1.expectLong)(output.InputRows),
|
|
4165
|
-
OutputBytes: (0, smithy_client_1.expectLong)(output.OutputBytes),
|
|
4166
|
-
OutputRows: (0, smithy_client_1.expectLong)(output.OutputRows),
|
|
4167
|
-
};
|
|
4168
|
-
};
|
|
4169
|
-
const de_QueryRuntimeStatisticsTimeline = (output, context) => {
|
|
4170
|
-
return {
|
|
4171
|
-
EngineExecutionTimeInMillis: (0, smithy_client_1.expectLong)(output.EngineExecutionTimeInMillis),
|
|
4172
|
-
QueryPlanningTimeInMillis: (0, smithy_client_1.expectLong)(output.QueryPlanningTimeInMillis),
|
|
4173
|
-
QueryQueueTimeInMillis: (0, smithy_client_1.expectLong)(output.QueryQueueTimeInMillis),
|
|
4174
|
-
ServiceProcessingTimeInMillis: (0, smithy_client_1.expectLong)(output.ServiceProcessingTimeInMillis),
|
|
4175
|
-
TotalExecutionTimeInMillis: (0, smithy_client_1.expectLong)(output.TotalExecutionTimeInMillis),
|
|
4176
|
-
};
|
|
3033
|
+
return (0, smithy_client_1.take)(output, {
|
|
3034
|
+
OutputStage: (_) => de_QueryStage(_, context),
|
|
3035
|
+
Rows: smithy_client_1._json,
|
|
3036
|
+
Timeline: smithy_client_1._json,
|
|
3037
|
+
});
|
|
4177
3038
|
};
|
|
4178
3039
|
const de_QueryStage = (output, context) => {
|
|
4179
|
-
return {
|
|
4180
|
-
ExecutionTime:
|
|
4181
|
-
InputBytes:
|
|
4182
|
-
InputRows:
|
|
4183
|
-
OutputBytes:
|
|
4184
|
-
OutputRows:
|
|
4185
|
-
QueryStagePlan:
|
|
4186
|
-
StageId:
|
|
4187
|
-
State:
|
|
4188
|
-
SubStages:
|
|
4189
|
-
};
|
|
3040
|
+
return (0, smithy_client_1.take)(output, {
|
|
3041
|
+
ExecutionTime: smithy_client_1.expectLong,
|
|
3042
|
+
InputBytes: smithy_client_1.expectLong,
|
|
3043
|
+
InputRows: smithy_client_1.expectLong,
|
|
3044
|
+
OutputBytes: smithy_client_1.expectLong,
|
|
3045
|
+
OutputRows: smithy_client_1.expectLong,
|
|
3046
|
+
QueryStagePlan: (_) => de_QueryStagePlanNode(_, context),
|
|
3047
|
+
StageId: smithy_client_1.expectLong,
|
|
3048
|
+
State: smithy_client_1.expectString,
|
|
3049
|
+
SubStages: (_) => de_QueryStages(_, context),
|
|
3050
|
+
});
|
|
4190
3051
|
};
|
|
4191
3052
|
const de_QueryStagePlanNode = (output, context) => {
|
|
4192
|
-
return {
|
|
4193
|
-
Children:
|
|
4194
|
-
Identifier:
|
|
4195
|
-
Name:
|
|
4196
|
-
RemoteSources:
|
|
4197
|
-
};
|
|
3053
|
+
return (0, smithy_client_1.take)(output, {
|
|
3054
|
+
Children: (_) => de_QueryStagePlanNodes(_, context),
|
|
3055
|
+
Identifier: smithy_client_1.expectString,
|
|
3056
|
+
Name: smithy_client_1.expectString,
|
|
3057
|
+
RemoteSources: smithy_client_1._json,
|
|
3058
|
+
});
|
|
4198
3059
|
};
|
|
4199
3060
|
const de_QueryStagePlanNodes = (output, context) => {
|
|
4200
3061
|
const retVal = (output || [])
|
|
4201
3062
|
.filter((e) => e != null)
|
|
4202
3063
|
.map((entry) => {
|
|
4203
|
-
if (entry === null) {
|
|
4204
|
-
return null;
|
|
4205
|
-
}
|
|
4206
3064
|
return de_QueryStagePlanNode(entry, context);
|
|
4207
3065
|
});
|
|
4208
3066
|
return retVal;
|
|
@@ -4211,357 +3069,81 @@ const de_QueryStages = (output, context) => {
|
|
|
4211
3069
|
const retVal = (output || [])
|
|
4212
3070
|
.filter((e) => e != null)
|
|
4213
3071
|
.map((entry) => {
|
|
4214
|
-
if (entry === null) {
|
|
4215
|
-
return null;
|
|
4216
|
-
}
|
|
4217
3072
|
return de_QueryStage(entry, context);
|
|
4218
3073
|
});
|
|
4219
3074
|
return retVal;
|
|
4220
3075
|
};
|
|
4221
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
4222
|
-
return {
|
|
4223
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4224
|
-
ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
|
|
4225
|
-
};
|
|
4226
|
-
};
|
|
4227
|
-
const de_ResultConfiguration = (output, context) => {
|
|
4228
|
-
return {
|
|
4229
|
-
AclConfiguration: output.AclConfiguration != null ? de_AclConfiguration(output.AclConfiguration, context) : undefined,
|
|
4230
|
-
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
4231
|
-
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
4232
|
-
: undefined,
|
|
4233
|
-
ExpectedBucketOwner: (0, smithy_client_1.expectString)(output.ExpectedBucketOwner),
|
|
4234
|
-
OutputLocation: (0, smithy_client_1.expectString)(output.OutputLocation),
|
|
4235
|
-
};
|
|
4236
|
-
};
|
|
4237
|
-
const de_ResultReuseByAgeConfiguration = (output, context) => {
|
|
4238
|
-
return {
|
|
4239
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4240
|
-
MaxAgeInMinutes: (0, smithy_client_1.expectInt32)(output.MaxAgeInMinutes),
|
|
4241
|
-
};
|
|
4242
|
-
};
|
|
4243
|
-
const de_ResultReuseConfiguration = (output, context) => {
|
|
4244
|
-
return {
|
|
4245
|
-
ResultReuseByAgeConfiguration: output.ResultReuseByAgeConfiguration != null
|
|
4246
|
-
? de_ResultReuseByAgeConfiguration(output.ResultReuseByAgeConfiguration, context)
|
|
4247
|
-
: undefined,
|
|
4248
|
-
};
|
|
4249
|
-
};
|
|
4250
|
-
const de_ResultReuseInformation = (output, context) => {
|
|
4251
|
-
return {
|
|
4252
|
-
ReusedPreviousResult: (0, smithy_client_1.expectBoolean)(output.ReusedPreviousResult),
|
|
4253
|
-
};
|
|
4254
|
-
};
|
|
4255
|
-
const de_ResultSet = (output, context) => {
|
|
4256
|
-
return {
|
|
4257
|
-
ResultSetMetadata: output.ResultSetMetadata != null ? de_ResultSetMetadata(output.ResultSetMetadata, context) : undefined,
|
|
4258
|
-
Rows: output.Rows != null ? de_RowList(output.Rows, context) : undefined,
|
|
4259
|
-
};
|
|
4260
|
-
};
|
|
4261
|
-
const de_ResultSetMetadata = (output, context) => {
|
|
4262
|
-
return {
|
|
4263
|
-
ColumnInfo: output.ColumnInfo != null ? de_ColumnInfoList(output.ColumnInfo, context) : undefined,
|
|
4264
|
-
};
|
|
4265
|
-
};
|
|
4266
|
-
const de_Row = (output, context) => {
|
|
4267
|
-
return {
|
|
4268
|
-
Data: output.Data != null ? de_datumList(output.Data, context) : undefined,
|
|
4269
|
-
};
|
|
4270
|
-
};
|
|
4271
|
-
const de_RowList = (output, context) => {
|
|
4272
|
-
const retVal = (output || [])
|
|
4273
|
-
.filter((e) => e != null)
|
|
4274
|
-
.map((entry) => {
|
|
4275
|
-
if (entry === null) {
|
|
4276
|
-
return null;
|
|
4277
|
-
}
|
|
4278
|
-
return de_Row(entry, context);
|
|
4279
|
-
});
|
|
4280
|
-
return retVal;
|
|
4281
|
-
};
|
|
4282
|
-
const de_SessionAlreadyExistsException = (output, context) => {
|
|
4283
|
-
return {
|
|
4284
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4285
|
-
};
|
|
4286
|
-
};
|
|
4287
|
-
const de_SessionConfiguration = (output, context) => {
|
|
4288
|
-
return {
|
|
4289
|
-
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
4290
|
-
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
4291
|
-
: undefined,
|
|
4292
|
-
ExecutionRole: (0, smithy_client_1.expectString)(output.ExecutionRole),
|
|
4293
|
-
IdleTimeoutSeconds: (0, smithy_client_1.expectLong)(output.IdleTimeoutSeconds),
|
|
4294
|
-
WorkingDirectory: (0, smithy_client_1.expectString)(output.WorkingDirectory),
|
|
4295
|
-
};
|
|
4296
|
-
};
|
|
4297
3076
|
const de_SessionsList = (output, context) => {
|
|
4298
3077
|
const retVal = (output || [])
|
|
4299
3078
|
.filter((e) => e != null)
|
|
4300
3079
|
.map((entry) => {
|
|
4301
|
-
if (entry === null) {
|
|
4302
|
-
return null;
|
|
4303
|
-
}
|
|
4304
3080
|
return de_SessionSummary(entry, context);
|
|
4305
3081
|
});
|
|
4306
3082
|
return retVal;
|
|
4307
3083
|
};
|
|
4308
|
-
const de_SessionStatistics = (output, context) => {
|
|
4309
|
-
return {
|
|
4310
|
-
DpuExecutionInMillis: (0, smithy_client_1.expectLong)(output.DpuExecutionInMillis),
|
|
4311
|
-
};
|
|
4312
|
-
};
|
|
4313
3084
|
const de_SessionStatus = (output, context) => {
|
|
4314
|
-
return {
|
|
4315
|
-
EndDateTime:
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
LastModifiedDateTime: output.LastModifiedDateTime != null
|
|
4322
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDateTime)))
|
|
4323
|
-
: undefined,
|
|
4324
|
-
StartDateTime: output.StartDateTime != null
|
|
4325
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartDateTime)))
|
|
4326
|
-
: undefined,
|
|
4327
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4328
|
-
StateChangeReason: (0, smithy_client_1.expectString)(output.StateChangeReason),
|
|
4329
|
-
};
|
|
4330
|
-
};
|
|
4331
|
-
const de_SessionSummary = (output, context) => {
|
|
4332
|
-
return {
|
|
4333
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4334
|
-
EngineVersion: output.EngineVersion != null ? de_EngineVersion(output.EngineVersion, context) : undefined,
|
|
4335
|
-
NotebookVersion: (0, smithy_client_1.expectString)(output.NotebookVersion),
|
|
4336
|
-
SessionId: (0, smithy_client_1.expectString)(output.SessionId),
|
|
4337
|
-
Status: output.Status != null ? de_SessionStatus(output.Status, context) : undefined,
|
|
4338
|
-
};
|
|
4339
|
-
};
|
|
4340
|
-
const de_StartCalculationExecutionResponse = (output, context) => {
|
|
4341
|
-
return {
|
|
4342
|
-
CalculationExecutionId: (0, smithy_client_1.expectString)(output.CalculationExecutionId),
|
|
4343
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4344
|
-
};
|
|
4345
|
-
};
|
|
4346
|
-
const de_StartQueryExecutionOutput = (output, context) => {
|
|
4347
|
-
return {
|
|
4348
|
-
QueryExecutionId: (0, smithy_client_1.expectString)(output.QueryExecutionId),
|
|
4349
|
-
};
|
|
4350
|
-
};
|
|
4351
|
-
const de_StartSessionResponse = (output, context) => {
|
|
4352
|
-
return {
|
|
4353
|
-
SessionId: (0, smithy_client_1.expectString)(output.SessionId),
|
|
4354
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4355
|
-
};
|
|
4356
|
-
};
|
|
4357
|
-
const de_StopCalculationExecutionResponse = (output, context) => {
|
|
4358
|
-
return {
|
|
4359
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4360
|
-
};
|
|
4361
|
-
};
|
|
4362
|
-
const de_StopQueryExecutionOutput = (output, context) => {
|
|
4363
|
-
return {};
|
|
4364
|
-
};
|
|
4365
|
-
const de_StringList = (output, context) => {
|
|
4366
|
-
const retVal = (output || [])
|
|
4367
|
-
.filter((e) => e != null)
|
|
4368
|
-
.map((entry) => {
|
|
4369
|
-
if (entry === null) {
|
|
4370
|
-
return null;
|
|
4371
|
-
}
|
|
4372
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3085
|
+
return (0, smithy_client_1.take)(output, {
|
|
3086
|
+
EndDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3087
|
+
IdleSinceDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3088
|
+
LastModifiedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3089
|
+
StartDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3090
|
+
State: smithy_client_1.expectString,
|
|
3091
|
+
StateChangeReason: smithy_client_1.expectString,
|
|
4373
3092
|
});
|
|
4374
|
-
return retVal;
|
|
4375
3093
|
};
|
|
4376
|
-
const
|
|
4377
|
-
|
|
4378
|
-
.
|
|
4379
|
-
.
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
return (0, smithy_client_1.expectInt32)(entry);
|
|
3094
|
+
const de_SessionSummary = (output, context) => {
|
|
3095
|
+
return (0, smithy_client_1.take)(output, {
|
|
3096
|
+
Description: smithy_client_1.expectString,
|
|
3097
|
+
EngineVersion: smithy_client_1._json,
|
|
3098
|
+
NotebookVersion: smithy_client_1.expectString,
|
|
3099
|
+
SessionId: smithy_client_1.expectString,
|
|
3100
|
+
Status: (_) => de_SessionStatus(_, context),
|
|
4384
3101
|
});
|
|
4385
|
-
return retVal;
|
|
4386
3102
|
};
|
|
4387
3103
|
const de_TableMetadata = (output, context) => {
|
|
4388
|
-
return {
|
|
4389
|
-
Columns:
|
|
4390
|
-
CreateTime:
|
|
4391
|
-
LastAccessTime:
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
TableType: (0, smithy_client_1.expectString)(output.TableType),
|
|
4398
|
-
};
|
|
3104
|
+
return (0, smithy_client_1.take)(output, {
|
|
3105
|
+
Columns: smithy_client_1._json,
|
|
3106
|
+
CreateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3107
|
+
LastAccessTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3108
|
+
Name: smithy_client_1.expectString,
|
|
3109
|
+
Parameters: smithy_client_1._json,
|
|
3110
|
+
PartitionKeys: smithy_client_1._json,
|
|
3111
|
+
TableType: smithy_client_1.expectString,
|
|
3112
|
+
});
|
|
4399
3113
|
};
|
|
4400
3114
|
const de_TableMetadataList = (output, context) => {
|
|
4401
3115
|
const retVal = (output || [])
|
|
4402
3116
|
.filter((e) => e != null)
|
|
4403
3117
|
.map((entry) => {
|
|
4404
|
-
if (entry === null) {
|
|
4405
|
-
return null;
|
|
4406
|
-
}
|
|
4407
3118
|
return de_TableMetadata(entry, context);
|
|
4408
3119
|
});
|
|
4409
3120
|
return retVal;
|
|
4410
3121
|
};
|
|
4411
|
-
const de_Tag = (output, context) => {
|
|
4412
|
-
return {
|
|
4413
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
4414
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
4415
|
-
};
|
|
4416
|
-
};
|
|
4417
|
-
const de_TagList = (output, context) => {
|
|
4418
|
-
const retVal = (output || [])
|
|
4419
|
-
.filter((e) => e != null)
|
|
4420
|
-
.map((entry) => {
|
|
4421
|
-
if (entry === null) {
|
|
4422
|
-
return null;
|
|
4423
|
-
}
|
|
4424
|
-
return de_Tag(entry, context);
|
|
4425
|
-
});
|
|
4426
|
-
return retVal;
|
|
4427
|
-
};
|
|
4428
|
-
const de_TagResourceOutput = (output, context) => {
|
|
4429
|
-
return {};
|
|
4430
|
-
};
|
|
4431
|
-
const de_TerminateSessionResponse = (output, context) => {
|
|
4432
|
-
return {
|
|
4433
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4434
|
-
};
|
|
4435
|
-
};
|
|
4436
|
-
const de_TooManyRequestsException = (output, context) => {
|
|
4437
|
-
return {
|
|
4438
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4439
|
-
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
4440
|
-
};
|
|
4441
|
-
};
|
|
4442
|
-
const de_UnprocessedNamedQueryId = (output, context) => {
|
|
4443
|
-
return {
|
|
4444
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4445
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4446
|
-
NamedQueryId: (0, smithy_client_1.expectString)(output.NamedQueryId),
|
|
4447
|
-
};
|
|
4448
|
-
};
|
|
4449
|
-
const de_UnprocessedNamedQueryIdList = (output, context) => {
|
|
4450
|
-
const retVal = (output || [])
|
|
4451
|
-
.filter((e) => e != null)
|
|
4452
|
-
.map((entry) => {
|
|
4453
|
-
if (entry === null) {
|
|
4454
|
-
return null;
|
|
4455
|
-
}
|
|
4456
|
-
return de_UnprocessedNamedQueryId(entry, context);
|
|
4457
|
-
});
|
|
4458
|
-
return retVal;
|
|
4459
|
-
};
|
|
4460
|
-
const de_UnprocessedPreparedStatementName = (output, context) => {
|
|
4461
|
-
return {
|
|
4462
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4463
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4464
|
-
StatementName: (0, smithy_client_1.expectString)(output.StatementName),
|
|
4465
|
-
};
|
|
4466
|
-
};
|
|
4467
|
-
const de_UnprocessedPreparedStatementNameList = (output, context) => {
|
|
4468
|
-
const retVal = (output || [])
|
|
4469
|
-
.filter((e) => e != null)
|
|
4470
|
-
.map((entry) => {
|
|
4471
|
-
if (entry === null) {
|
|
4472
|
-
return null;
|
|
4473
|
-
}
|
|
4474
|
-
return de_UnprocessedPreparedStatementName(entry, context);
|
|
4475
|
-
});
|
|
4476
|
-
return retVal;
|
|
4477
|
-
};
|
|
4478
|
-
const de_UnprocessedQueryExecutionId = (output, context) => {
|
|
4479
|
-
return {
|
|
4480
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4481
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4482
|
-
QueryExecutionId: (0, smithy_client_1.expectString)(output.QueryExecutionId),
|
|
4483
|
-
};
|
|
4484
|
-
};
|
|
4485
|
-
const de_UnprocessedQueryExecutionIdList = (output, context) => {
|
|
4486
|
-
const retVal = (output || [])
|
|
4487
|
-
.filter((e) => e != null)
|
|
4488
|
-
.map((entry) => {
|
|
4489
|
-
if (entry === null) {
|
|
4490
|
-
return null;
|
|
4491
|
-
}
|
|
4492
|
-
return de_UnprocessedQueryExecutionId(entry, context);
|
|
4493
|
-
});
|
|
4494
|
-
return retVal;
|
|
4495
|
-
};
|
|
4496
|
-
const de_UntagResourceOutput = (output, context) => {
|
|
4497
|
-
return {};
|
|
4498
|
-
};
|
|
4499
|
-
const de_UpdateDataCatalogOutput = (output, context) => {
|
|
4500
|
-
return {};
|
|
4501
|
-
};
|
|
4502
|
-
const de_UpdateNamedQueryOutput = (output, context) => {
|
|
4503
|
-
return {};
|
|
4504
|
-
};
|
|
4505
|
-
const de_UpdateNotebookMetadataOutput = (output, context) => {
|
|
4506
|
-
return {};
|
|
4507
|
-
};
|
|
4508
|
-
const de_UpdateNotebookOutput = (output, context) => {
|
|
4509
|
-
return {};
|
|
4510
|
-
};
|
|
4511
|
-
const de_UpdatePreparedStatementOutput = (output, context) => {
|
|
4512
|
-
return {};
|
|
4513
|
-
};
|
|
4514
|
-
const de_UpdateWorkGroupOutput = (output, context) => {
|
|
4515
|
-
return {};
|
|
4516
|
-
};
|
|
4517
3122
|
const de_WorkGroup = (output, context) => {
|
|
4518
|
-
return {
|
|
4519
|
-
Configuration:
|
|
4520
|
-
CreationTime:
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4526
|
-
};
|
|
4527
|
-
};
|
|
4528
|
-
const de_WorkGroupConfiguration = (output, context) => {
|
|
4529
|
-
return {
|
|
4530
|
-
AdditionalConfiguration: (0, smithy_client_1.expectString)(output.AdditionalConfiguration),
|
|
4531
|
-
BytesScannedCutoffPerQuery: (0, smithy_client_1.expectLong)(output.BytesScannedCutoffPerQuery),
|
|
4532
|
-
CustomerContentEncryptionConfiguration: output.CustomerContentEncryptionConfiguration != null
|
|
4533
|
-
? de_CustomerContentEncryptionConfiguration(output.CustomerContentEncryptionConfiguration, context)
|
|
4534
|
-
: undefined,
|
|
4535
|
-
EnableMinimumEncryptionConfiguration: (0, smithy_client_1.expectBoolean)(output.EnableMinimumEncryptionConfiguration),
|
|
4536
|
-
EnforceWorkGroupConfiguration: (0, smithy_client_1.expectBoolean)(output.EnforceWorkGroupConfiguration),
|
|
4537
|
-
EngineVersion: output.EngineVersion != null ? de_EngineVersion(output.EngineVersion, context) : undefined,
|
|
4538
|
-
ExecutionRole: (0, smithy_client_1.expectString)(output.ExecutionRole),
|
|
4539
|
-
PublishCloudWatchMetricsEnabled: (0, smithy_client_1.expectBoolean)(output.PublishCloudWatchMetricsEnabled),
|
|
4540
|
-
RequesterPaysEnabled: (0, smithy_client_1.expectBoolean)(output.RequesterPaysEnabled),
|
|
4541
|
-
ResultConfiguration: output.ResultConfiguration != null ? de_ResultConfiguration(output.ResultConfiguration, context) : undefined,
|
|
4542
|
-
};
|
|
3123
|
+
return (0, smithy_client_1.take)(output, {
|
|
3124
|
+
Configuration: smithy_client_1._json,
|
|
3125
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3126
|
+
Description: smithy_client_1.expectString,
|
|
3127
|
+
Name: smithy_client_1.expectString,
|
|
3128
|
+
State: smithy_client_1.expectString,
|
|
3129
|
+
});
|
|
4543
3130
|
};
|
|
4544
3131
|
const de_WorkGroupsList = (output, context) => {
|
|
4545
3132
|
const retVal = (output || [])
|
|
4546
3133
|
.filter((e) => e != null)
|
|
4547
3134
|
.map((entry) => {
|
|
4548
|
-
if (entry === null) {
|
|
4549
|
-
return null;
|
|
4550
|
-
}
|
|
4551
3135
|
return de_WorkGroupSummary(entry, context);
|
|
4552
3136
|
});
|
|
4553
3137
|
return retVal;
|
|
4554
3138
|
};
|
|
4555
3139
|
const de_WorkGroupSummary = (output, context) => {
|
|
4556
|
-
return {
|
|
4557
|
-
CreationTime:
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4564
|
-
};
|
|
3140
|
+
return (0, smithy_client_1.take)(output, {
|
|
3141
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3142
|
+
Description: smithy_client_1.expectString,
|
|
3143
|
+
EngineVersion: smithy_client_1._json,
|
|
3144
|
+
Name: smithy_client_1.expectString,
|
|
3145
|
+
State: smithy_client_1.expectString,
|
|
3146
|
+
});
|
|
4565
3147
|
};
|
|
4566
3148
|
const deserializeMetadata = (output) => ({
|
|
4567
3149
|
httpStatusCode: output.statusCode,
|
|
@@ -4576,6 +3158,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
4576
3158
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4577
3159
|
};
|
|
4578
3160
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3161
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(AthenaServiceException_1.AthenaServiceException);
|
|
4579
3162
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
4580
3163
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4581
3164
|
const contents = {
|