@aws-sdk/client-athena 3.312.0 → 3.316.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/Athena.js +64 -840
- package/dist-cjs/protocols/Aws_json1_1.js +444 -1861
- package/dist-es/Athena.js +64 -840
- package/dist-es/protocols/Aws_json1_1.js +445 -1862
- package/dist-types/Athena.d.ts +81 -264
- package/dist-types/ts3.4/Athena.d.ts +2 -1
- package/package.json +6 -6
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AthenaServiceException as __BaseException } from "../models/AthenaServiceException";
|
|
5
5
|
import { InternalServerException, InvalidRequestException, MetadataException, ResourceNotFoundException, SessionAlreadyExistsException, TooManyRequestsException, } from "../models/models_0";
|
|
6
6
|
export const se_BatchGetNamedQueryCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("BatchGetNamedQuery");
|
|
8
8
|
let body;
|
|
9
|
-
body = JSON.stringify(
|
|
9
|
+
body = JSON.stringify(_json(input));
|
|
10
10
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
11
|
};
|
|
12
12
|
export const se_BatchGetPreparedStatementCommand = async (input, context) => {
|
|
13
13
|
const headers = sharedHeaders("BatchGetPreparedStatement");
|
|
14
14
|
let body;
|
|
15
|
-
body = JSON.stringify(
|
|
15
|
+
body = JSON.stringify(_json(input));
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
18
|
export const se_BatchGetQueryExecutionCommand = async (input, context) => {
|
|
19
19
|
const headers = sharedHeaders("BatchGetQueryExecution");
|
|
20
20
|
let body;
|
|
21
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify(_json(input));
|
|
22
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
23
|
};
|
|
24
24
|
export const se_CreateDataCatalogCommand = async (input, context) => {
|
|
25
25
|
const headers = sharedHeaders("CreateDataCatalog");
|
|
26
26
|
let body;
|
|
27
|
-
body = JSON.stringify(
|
|
27
|
+
body = JSON.stringify(_json(input));
|
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
29
|
};
|
|
30
30
|
export const se_CreateNamedQueryCommand = async (input, context) => {
|
|
@@ -36,31 +36,31 @@ export const se_CreateNamedQueryCommand = async (input, context) => {
|
|
|
36
36
|
export const se_CreateNotebookCommand = async (input, context) => {
|
|
37
37
|
const headers = sharedHeaders("CreateNotebook");
|
|
38
38
|
let body;
|
|
39
|
-
body = JSON.stringify(
|
|
39
|
+
body = JSON.stringify(_json(input));
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
42
|
export const se_CreatePreparedStatementCommand = async (input, context) => {
|
|
43
43
|
const headers = sharedHeaders("CreatePreparedStatement");
|
|
44
44
|
let body;
|
|
45
|
-
body = JSON.stringify(
|
|
45
|
+
body = JSON.stringify(_json(input));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
48
|
export const se_CreatePresignedNotebookUrlCommand = async (input, context) => {
|
|
49
49
|
const headers = sharedHeaders("CreatePresignedNotebookUrl");
|
|
50
50
|
let body;
|
|
51
|
-
body = JSON.stringify(
|
|
51
|
+
body = JSON.stringify(_json(input));
|
|
52
52
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
53
|
};
|
|
54
54
|
export const se_CreateWorkGroupCommand = async (input, context) => {
|
|
55
55
|
const headers = sharedHeaders("CreateWorkGroup");
|
|
56
56
|
let body;
|
|
57
|
-
body = JSON.stringify(
|
|
57
|
+
body = JSON.stringify(_json(input));
|
|
58
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
59
|
};
|
|
60
60
|
export const se_DeleteDataCatalogCommand = async (input, context) => {
|
|
61
61
|
const headers = sharedHeaders("DeleteDataCatalog");
|
|
62
62
|
let body;
|
|
63
|
-
body = JSON.stringify(
|
|
63
|
+
body = JSON.stringify(_json(input));
|
|
64
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
65
|
};
|
|
66
66
|
export const se_DeleteNamedQueryCommand = async (input, context) => {
|
|
@@ -72,217 +72,217 @@ export const se_DeleteNamedQueryCommand = async (input, context) => {
|
|
|
72
72
|
export const se_DeleteNotebookCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("DeleteNotebook");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(_json(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
export const se_DeletePreparedStatementCommand = async (input, context) => {
|
|
79
79
|
const headers = sharedHeaders("DeletePreparedStatement");
|
|
80
80
|
let body;
|
|
81
|
-
body = JSON.stringify(
|
|
81
|
+
body = JSON.stringify(_json(input));
|
|
82
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
83
|
};
|
|
84
84
|
export const se_DeleteWorkGroupCommand = async (input, context) => {
|
|
85
85
|
const headers = sharedHeaders("DeleteWorkGroup");
|
|
86
86
|
let body;
|
|
87
|
-
body = JSON.stringify(
|
|
87
|
+
body = JSON.stringify(_json(input));
|
|
88
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
89
|
};
|
|
90
90
|
export const se_ExportNotebookCommand = async (input, context) => {
|
|
91
91
|
const headers = sharedHeaders("ExportNotebook");
|
|
92
92
|
let body;
|
|
93
|
-
body = JSON.stringify(
|
|
93
|
+
body = JSON.stringify(_json(input));
|
|
94
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
95
|
};
|
|
96
96
|
export const se_GetCalculationExecutionCommand = async (input, context) => {
|
|
97
97
|
const headers = sharedHeaders("GetCalculationExecution");
|
|
98
98
|
let body;
|
|
99
|
-
body = JSON.stringify(
|
|
99
|
+
body = JSON.stringify(_json(input));
|
|
100
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
101
|
};
|
|
102
102
|
export const se_GetCalculationExecutionCodeCommand = async (input, context) => {
|
|
103
103
|
const headers = sharedHeaders("GetCalculationExecutionCode");
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify(_json(input));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
108
|
export const se_GetCalculationExecutionStatusCommand = async (input, context) => {
|
|
109
109
|
const headers = sharedHeaders("GetCalculationExecutionStatus");
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify(_json(input));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
114
|
export const se_GetDatabaseCommand = async (input, context) => {
|
|
115
115
|
const headers = sharedHeaders("GetDatabase");
|
|
116
116
|
let body;
|
|
117
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify(_json(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
120
|
export const se_GetDataCatalogCommand = async (input, context) => {
|
|
121
121
|
const headers = sharedHeaders("GetDataCatalog");
|
|
122
122
|
let body;
|
|
123
|
-
body = JSON.stringify(
|
|
123
|
+
body = JSON.stringify(_json(input));
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
126
|
export const se_GetNamedQueryCommand = async (input, context) => {
|
|
127
127
|
const headers = sharedHeaders("GetNamedQuery");
|
|
128
128
|
let body;
|
|
129
|
-
body = JSON.stringify(
|
|
129
|
+
body = JSON.stringify(_json(input));
|
|
130
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
131
|
};
|
|
132
132
|
export const se_GetNotebookMetadataCommand = async (input, context) => {
|
|
133
133
|
const headers = sharedHeaders("GetNotebookMetadata");
|
|
134
134
|
let body;
|
|
135
|
-
body = JSON.stringify(
|
|
135
|
+
body = JSON.stringify(_json(input));
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
138
|
export const se_GetPreparedStatementCommand = async (input, context) => {
|
|
139
139
|
const headers = sharedHeaders("GetPreparedStatement");
|
|
140
140
|
let body;
|
|
141
|
-
body = JSON.stringify(
|
|
141
|
+
body = JSON.stringify(_json(input));
|
|
142
142
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
143
|
};
|
|
144
144
|
export const se_GetQueryExecutionCommand = async (input, context) => {
|
|
145
145
|
const headers = sharedHeaders("GetQueryExecution");
|
|
146
146
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify(_json(input));
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
150
|
export const se_GetQueryResultsCommand = async (input, context) => {
|
|
151
151
|
const headers = sharedHeaders("GetQueryResults");
|
|
152
152
|
let body;
|
|
153
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify(_json(input));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
156
|
export const se_GetQueryRuntimeStatisticsCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("GetQueryRuntimeStatistics");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify(_json(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
export const se_GetSessionCommand = async (input, context) => {
|
|
163
163
|
const headers = sharedHeaders("GetSession");
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(_json(input));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
168
|
export const se_GetSessionStatusCommand = async (input, context) => {
|
|
169
169
|
const headers = sharedHeaders("GetSessionStatus");
|
|
170
170
|
let body;
|
|
171
|
-
body = JSON.stringify(
|
|
171
|
+
body = JSON.stringify(_json(input));
|
|
172
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
173
|
};
|
|
174
174
|
export const se_GetTableMetadataCommand = async (input, context) => {
|
|
175
175
|
const headers = sharedHeaders("GetTableMetadata");
|
|
176
176
|
let body;
|
|
177
|
-
body = JSON.stringify(
|
|
177
|
+
body = JSON.stringify(_json(input));
|
|
178
178
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
179
|
};
|
|
180
180
|
export const se_GetWorkGroupCommand = async (input, context) => {
|
|
181
181
|
const headers = sharedHeaders("GetWorkGroup");
|
|
182
182
|
let body;
|
|
183
|
-
body = JSON.stringify(
|
|
183
|
+
body = JSON.stringify(_json(input));
|
|
184
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
185
|
};
|
|
186
186
|
export const se_ImportNotebookCommand = async (input, context) => {
|
|
187
187
|
const headers = sharedHeaders("ImportNotebook");
|
|
188
188
|
let body;
|
|
189
|
-
body = JSON.stringify(
|
|
189
|
+
body = JSON.stringify(_json(input));
|
|
190
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
191
|
};
|
|
192
192
|
export const se_ListApplicationDPUSizesCommand = async (input, context) => {
|
|
193
193
|
const headers = sharedHeaders("ListApplicationDPUSizes");
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify(_json(input));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
198
|
export const se_ListCalculationExecutionsCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("ListCalculationExecutions");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify(_json(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
export const se_ListDatabasesCommand = async (input, context) => {
|
|
205
205
|
const headers = sharedHeaders("ListDatabases");
|
|
206
206
|
let body;
|
|
207
|
-
body = JSON.stringify(
|
|
207
|
+
body = JSON.stringify(_json(input));
|
|
208
208
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
209
|
};
|
|
210
210
|
export const se_ListDataCatalogsCommand = async (input, context) => {
|
|
211
211
|
const headers = sharedHeaders("ListDataCatalogs");
|
|
212
212
|
let body;
|
|
213
|
-
body = JSON.stringify(
|
|
213
|
+
body = JSON.stringify(_json(input));
|
|
214
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
215
|
};
|
|
216
216
|
export const se_ListEngineVersionsCommand = async (input, context) => {
|
|
217
217
|
const headers = sharedHeaders("ListEngineVersions");
|
|
218
218
|
let body;
|
|
219
|
-
body = JSON.stringify(
|
|
219
|
+
body = JSON.stringify(_json(input));
|
|
220
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
221
|
};
|
|
222
222
|
export const se_ListExecutorsCommand = async (input, context) => {
|
|
223
223
|
const headers = sharedHeaders("ListExecutors");
|
|
224
224
|
let body;
|
|
225
|
-
body = JSON.stringify(
|
|
225
|
+
body = JSON.stringify(_json(input));
|
|
226
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
227
|
};
|
|
228
228
|
export const se_ListNamedQueriesCommand = async (input, context) => {
|
|
229
229
|
const headers = sharedHeaders("ListNamedQueries");
|
|
230
230
|
let body;
|
|
231
|
-
body = JSON.stringify(
|
|
231
|
+
body = JSON.stringify(_json(input));
|
|
232
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
233
|
};
|
|
234
234
|
export const se_ListNotebookMetadataCommand = async (input, context) => {
|
|
235
235
|
const headers = sharedHeaders("ListNotebookMetadata");
|
|
236
236
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify(_json(input));
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
240
240
|
export const se_ListNotebookSessionsCommand = async (input, context) => {
|
|
241
241
|
const headers = sharedHeaders("ListNotebookSessions");
|
|
242
242
|
let body;
|
|
243
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify(_json(input));
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
246
|
export const se_ListPreparedStatementsCommand = async (input, context) => {
|
|
247
247
|
const headers = sharedHeaders("ListPreparedStatements");
|
|
248
248
|
let body;
|
|
249
|
-
body = JSON.stringify(
|
|
249
|
+
body = JSON.stringify(_json(input));
|
|
250
250
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
251
|
};
|
|
252
252
|
export const se_ListQueryExecutionsCommand = async (input, context) => {
|
|
253
253
|
const headers = sharedHeaders("ListQueryExecutions");
|
|
254
254
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
255
|
+
body = JSON.stringify(_json(input));
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
258
|
export const se_ListSessionsCommand = async (input, context) => {
|
|
259
259
|
const headers = sharedHeaders("ListSessions");
|
|
260
260
|
let body;
|
|
261
|
-
body = JSON.stringify(
|
|
261
|
+
body = JSON.stringify(_json(input));
|
|
262
262
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
263
|
};
|
|
264
264
|
export const se_ListTableMetadataCommand = async (input, context) => {
|
|
265
265
|
const headers = sharedHeaders("ListTableMetadata");
|
|
266
266
|
let body;
|
|
267
|
-
body = JSON.stringify(
|
|
267
|
+
body = JSON.stringify(_json(input));
|
|
268
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
269
|
};
|
|
270
270
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
271
271
|
const headers = sharedHeaders("ListTagsForResource");
|
|
272
272
|
let body;
|
|
273
|
-
body = JSON.stringify(
|
|
273
|
+
body = JSON.stringify(_json(input));
|
|
274
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
275
|
};
|
|
276
276
|
export const se_ListWorkGroupsCommand = async (input, context) => {
|
|
277
277
|
const headers = sharedHeaders("ListWorkGroups");
|
|
278
278
|
let body;
|
|
279
|
-
body = JSON.stringify(
|
|
279
|
+
body = JSON.stringify(_json(input));
|
|
280
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
281
|
};
|
|
282
282
|
export const se_StartCalculationExecutionCommand = async (input, context) => {
|
|
283
283
|
const headers = sharedHeaders("StartCalculationExecution");
|
|
284
284
|
let body;
|
|
285
|
-
body = JSON.stringify(
|
|
285
|
+
body = JSON.stringify(_json(input));
|
|
286
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
287
|
};
|
|
288
288
|
export const se_StartQueryExecutionCommand = async (input, context) => {
|
|
@@ -294,13 +294,13 @@ export const se_StartQueryExecutionCommand = async (input, context) => {
|
|
|
294
294
|
export const se_StartSessionCommand = async (input, context) => {
|
|
295
295
|
const headers = sharedHeaders("StartSession");
|
|
296
296
|
let body;
|
|
297
|
-
body = JSON.stringify(
|
|
297
|
+
body = JSON.stringify(_json(input));
|
|
298
298
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
299
|
};
|
|
300
300
|
export const se_StopCalculationExecutionCommand = async (input, context) => {
|
|
301
301
|
const headers = sharedHeaders("StopCalculationExecution");
|
|
302
302
|
let body;
|
|
303
|
-
body = JSON.stringify(
|
|
303
|
+
body = JSON.stringify(_json(input));
|
|
304
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
305
|
};
|
|
306
306
|
export const se_StopQueryExecutionCommand = async (input, context) => {
|
|
@@ -312,55 +312,55 @@ export const se_StopQueryExecutionCommand = async (input, context) => {
|
|
|
312
312
|
export const se_TagResourceCommand = async (input, context) => {
|
|
313
313
|
const headers = sharedHeaders("TagResource");
|
|
314
314
|
let body;
|
|
315
|
-
body = JSON.stringify(
|
|
315
|
+
body = JSON.stringify(_json(input));
|
|
316
316
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
317
|
};
|
|
318
318
|
export const se_TerminateSessionCommand = async (input, context) => {
|
|
319
319
|
const headers = sharedHeaders("TerminateSession");
|
|
320
320
|
let body;
|
|
321
|
-
body = JSON.stringify(
|
|
321
|
+
body = JSON.stringify(_json(input));
|
|
322
322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
323
|
};
|
|
324
324
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
325
325
|
const headers = sharedHeaders("UntagResource");
|
|
326
326
|
let body;
|
|
327
|
-
body = JSON.stringify(
|
|
327
|
+
body = JSON.stringify(_json(input));
|
|
328
328
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
329
|
};
|
|
330
330
|
export const se_UpdateDataCatalogCommand = async (input, context) => {
|
|
331
331
|
const headers = sharedHeaders("UpdateDataCatalog");
|
|
332
332
|
let body;
|
|
333
|
-
body = JSON.stringify(
|
|
333
|
+
body = JSON.stringify(_json(input));
|
|
334
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
335
|
};
|
|
336
336
|
export const se_UpdateNamedQueryCommand = async (input, context) => {
|
|
337
337
|
const headers = sharedHeaders("UpdateNamedQuery");
|
|
338
338
|
let body;
|
|
339
|
-
body = JSON.stringify(
|
|
339
|
+
body = JSON.stringify(_json(input));
|
|
340
340
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
341
|
};
|
|
342
342
|
export const se_UpdateNotebookCommand = async (input, context) => {
|
|
343
343
|
const headers = sharedHeaders("UpdateNotebook");
|
|
344
344
|
let body;
|
|
345
|
-
body = JSON.stringify(
|
|
345
|
+
body = JSON.stringify(_json(input));
|
|
346
346
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
347
|
};
|
|
348
348
|
export const se_UpdateNotebookMetadataCommand = async (input, context) => {
|
|
349
349
|
const headers = sharedHeaders("UpdateNotebookMetadata");
|
|
350
350
|
let body;
|
|
351
|
-
body = JSON.stringify(
|
|
351
|
+
body = JSON.stringify(_json(input));
|
|
352
352
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
353
|
};
|
|
354
354
|
export const se_UpdatePreparedStatementCommand = async (input, context) => {
|
|
355
355
|
const headers = sharedHeaders("UpdatePreparedStatement");
|
|
356
356
|
let body;
|
|
357
|
-
body = JSON.stringify(
|
|
357
|
+
body = JSON.stringify(_json(input));
|
|
358
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
359
|
};
|
|
360
360
|
export const se_UpdateWorkGroupCommand = async (input, context) => {
|
|
361
361
|
const headers = sharedHeaders("UpdateWorkGroup");
|
|
362
362
|
let body;
|
|
363
|
-
body = JSON.stringify(
|
|
363
|
+
body = JSON.stringify(_json(input));
|
|
364
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
365
|
};
|
|
366
366
|
export const de_BatchGetNamedQueryCommand = async (output, context) => {
|
|
@@ -369,12 +369,12 @@ export const de_BatchGetNamedQueryCommand = async (output, context) => {
|
|
|
369
369
|
}
|
|
370
370
|
const data = await parseBody(output.body, context);
|
|
371
371
|
let contents = {};
|
|
372
|
-
contents =
|
|
372
|
+
contents = _json(data);
|
|
373
373
|
const response = {
|
|
374
374
|
$metadata: deserializeMetadata(output),
|
|
375
375
|
...contents,
|
|
376
376
|
};
|
|
377
|
-
return
|
|
377
|
+
return response;
|
|
378
378
|
};
|
|
379
379
|
const de_BatchGetNamedQueryCommandError = async (output, context) => {
|
|
380
380
|
const parsedOutput = {
|
|
@@ -391,10 +391,9 @@ const de_BatchGetNamedQueryCommandError = async (output, context) => {
|
|
|
391
391
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
392
392
|
default:
|
|
393
393
|
const parsedBody = parsedOutput.body;
|
|
394
|
-
throwDefaultError({
|
|
394
|
+
return throwDefaultError({
|
|
395
395
|
output,
|
|
396
396
|
parsedBody,
|
|
397
|
-
exceptionCtor: __BaseException,
|
|
398
397
|
errorCode,
|
|
399
398
|
});
|
|
400
399
|
}
|
|
@@ -410,7 +409,7 @@ export const de_BatchGetPreparedStatementCommand = async (output, context) => {
|
|
|
410
409
|
$metadata: deserializeMetadata(output),
|
|
411
410
|
...contents,
|
|
412
411
|
};
|
|
413
|
-
return
|
|
412
|
+
return response;
|
|
414
413
|
};
|
|
415
414
|
const de_BatchGetPreparedStatementCommandError = async (output, context) => {
|
|
416
415
|
const parsedOutput = {
|
|
@@ -427,10 +426,9 @@ const de_BatchGetPreparedStatementCommandError = async (output, context) => {
|
|
|
427
426
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
428
427
|
default:
|
|
429
428
|
const parsedBody = parsedOutput.body;
|
|
430
|
-
throwDefaultError({
|
|
429
|
+
return throwDefaultError({
|
|
431
430
|
output,
|
|
432
431
|
parsedBody,
|
|
433
|
-
exceptionCtor: __BaseException,
|
|
434
432
|
errorCode,
|
|
435
433
|
});
|
|
436
434
|
}
|
|
@@ -446,7 +444,7 @@ export const de_BatchGetQueryExecutionCommand = async (output, context) => {
|
|
|
446
444
|
$metadata: deserializeMetadata(output),
|
|
447
445
|
...contents,
|
|
448
446
|
};
|
|
449
|
-
return
|
|
447
|
+
return response;
|
|
450
448
|
};
|
|
451
449
|
const de_BatchGetQueryExecutionCommandError = async (output, context) => {
|
|
452
450
|
const parsedOutput = {
|
|
@@ -463,10 +461,9 @@ const de_BatchGetQueryExecutionCommandError = async (output, context) => {
|
|
|
463
461
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
464
462
|
default:
|
|
465
463
|
const parsedBody = parsedOutput.body;
|
|
466
|
-
throwDefaultError({
|
|
464
|
+
return throwDefaultError({
|
|
467
465
|
output,
|
|
468
466
|
parsedBody,
|
|
469
|
-
exceptionCtor: __BaseException,
|
|
470
467
|
errorCode,
|
|
471
468
|
});
|
|
472
469
|
}
|
|
@@ -477,12 +474,12 @@ export const de_CreateDataCatalogCommand = async (output, context) => {
|
|
|
477
474
|
}
|
|
478
475
|
const data = await parseBody(output.body, context);
|
|
479
476
|
let contents = {};
|
|
480
|
-
contents =
|
|
477
|
+
contents = _json(data);
|
|
481
478
|
const response = {
|
|
482
479
|
$metadata: deserializeMetadata(output),
|
|
483
480
|
...contents,
|
|
484
481
|
};
|
|
485
|
-
return
|
|
482
|
+
return response;
|
|
486
483
|
};
|
|
487
484
|
const de_CreateDataCatalogCommandError = async (output, context) => {
|
|
488
485
|
const parsedOutput = {
|
|
@@ -499,10 +496,9 @@ const de_CreateDataCatalogCommandError = async (output, context) => {
|
|
|
499
496
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
500
497
|
default:
|
|
501
498
|
const parsedBody = parsedOutput.body;
|
|
502
|
-
throwDefaultError({
|
|
499
|
+
return throwDefaultError({
|
|
503
500
|
output,
|
|
504
501
|
parsedBody,
|
|
505
|
-
exceptionCtor: __BaseException,
|
|
506
502
|
errorCode,
|
|
507
503
|
});
|
|
508
504
|
}
|
|
@@ -513,12 +509,12 @@ export const de_CreateNamedQueryCommand = async (output, context) => {
|
|
|
513
509
|
}
|
|
514
510
|
const data = await parseBody(output.body, context);
|
|
515
511
|
let contents = {};
|
|
516
|
-
contents =
|
|
512
|
+
contents = _json(data);
|
|
517
513
|
const response = {
|
|
518
514
|
$metadata: deserializeMetadata(output),
|
|
519
515
|
...contents,
|
|
520
516
|
};
|
|
521
|
-
return
|
|
517
|
+
return response;
|
|
522
518
|
};
|
|
523
519
|
const de_CreateNamedQueryCommandError = async (output, context) => {
|
|
524
520
|
const parsedOutput = {
|
|
@@ -535,10 +531,9 @@ const de_CreateNamedQueryCommandError = async (output, context) => {
|
|
|
535
531
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
536
532
|
default:
|
|
537
533
|
const parsedBody = parsedOutput.body;
|
|
538
|
-
throwDefaultError({
|
|
534
|
+
return throwDefaultError({
|
|
539
535
|
output,
|
|
540
536
|
parsedBody,
|
|
541
|
-
exceptionCtor: __BaseException,
|
|
542
537
|
errorCode,
|
|
543
538
|
});
|
|
544
539
|
}
|
|
@@ -549,12 +544,12 @@ export const de_CreateNotebookCommand = async (output, context) => {
|
|
|
549
544
|
}
|
|
550
545
|
const data = await parseBody(output.body, context);
|
|
551
546
|
let contents = {};
|
|
552
|
-
contents =
|
|
547
|
+
contents = _json(data);
|
|
553
548
|
const response = {
|
|
554
549
|
$metadata: deserializeMetadata(output),
|
|
555
550
|
...contents,
|
|
556
551
|
};
|
|
557
|
-
return
|
|
552
|
+
return response;
|
|
558
553
|
};
|
|
559
554
|
const de_CreateNotebookCommandError = async (output, context) => {
|
|
560
555
|
const parsedOutput = {
|
|
@@ -574,10 +569,9 @@ const de_CreateNotebookCommandError = async (output, context) => {
|
|
|
574
569
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
575
570
|
default:
|
|
576
571
|
const parsedBody = parsedOutput.body;
|
|
577
|
-
throwDefaultError({
|
|
572
|
+
return throwDefaultError({
|
|
578
573
|
output,
|
|
579
574
|
parsedBody,
|
|
580
|
-
exceptionCtor: __BaseException,
|
|
581
575
|
errorCode,
|
|
582
576
|
});
|
|
583
577
|
}
|
|
@@ -588,12 +582,12 @@ export const de_CreatePreparedStatementCommand = async (output, context) => {
|
|
|
588
582
|
}
|
|
589
583
|
const data = await parseBody(output.body, context);
|
|
590
584
|
let contents = {};
|
|
591
|
-
contents =
|
|
585
|
+
contents = _json(data);
|
|
592
586
|
const response = {
|
|
593
587
|
$metadata: deserializeMetadata(output),
|
|
594
588
|
...contents,
|
|
595
589
|
};
|
|
596
|
-
return
|
|
590
|
+
return response;
|
|
597
591
|
};
|
|
598
592
|
const de_CreatePreparedStatementCommandError = async (output, context) => {
|
|
599
593
|
const parsedOutput = {
|
|
@@ -610,10 +604,9 @@ const de_CreatePreparedStatementCommandError = async (output, context) => {
|
|
|
610
604
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
611
605
|
default:
|
|
612
606
|
const parsedBody = parsedOutput.body;
|
|
613
|
-
throwDefaultError({
|
|
607
|
+
return throwDefaultError({
|
|
614
608
|
output,
|
|
615
609
|
parsedBody,
|
|
616
|
-
exceptionCtor: __BaseException,
|
|
617
610
|
errorCode,
|
|
618
611
|
});
|
|
619
612
|
}
|
|
@@ -624,12 +617,12 @@ export const de_CreatePresignedNotebookUrlCommand = async (output, context) => {
|
|
|
624
617
|
}
|
|
625
618
|
const data = await parseBody(output.body, context);
|
|
626
619
|
let contents = {};
|
|
627
|
-
contents =
|
|
620
|
+
contents = _json(data);
|
|
628
621
|
const response = {
|
|
629
622
|
$metadata: deserializeMetadata(output),
|
|
630
623
|
...contents,
|
|
631
624
|
};
|
|
632
|
-
return
|
|
625
|
+
return response;
|
|
633
626
|
};
|
|
634
627
|
const de_CreatePresignedNotebookUrlCommandError = async (output, context) => {
|
|
635
628
|
const parsedOutput = {
|
|
@@ -649,10 +642,9 @@ const de_CreatePresignedNotebookUrlCommandError = async (output, context) => {
|
|
|
649
642
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
650
643
|
default:
|
|
651
644
|
const parsedBody = parsedOutput.body;
|
|
652
|
-
throwDefaultError({
|
|
645
|
+
return throwDefaultError({
|
|
653
646
|
output,
|
|
654
647
|
parsedBody,
|
|
655
|
-
exceptionCtor: __BaseException,
|
|
656
648
|
errorCode,
|
|
657
649
|
});
|
|
658
650
|
}
|
|
@@ -663,12 +655,12 @@ export const de_CreateWorkGroupCommand = async (output, context) => {
|
|
|
663
655
|
}
|
|
664
656
|
const data = await parseBody(output.body, context);
|
|
665
657
|
let contents = {};
|
|
666
|
-
contents =
|
|
658
|
+
contents = _json(data);
|
|
667
659
|
const response = {
|
|
668
660
|
$metadata: deserializeMetadata(output),
|
|
669
661
|
...contents,
|
|
670
662
|
};
|
|
671
|
-
return
|
|
663
|
+
return response;
|
|
672
664
|
};
|
|
673
665
|
const de_CreateWorkGroupCommandError = async (output, context) => {
|
|
674
666
|
const parsedOutput = {
|
|
@@ -685,10 +677,9 @@ const de_CreateWorkGroupCommandError = async (output, context) => {
|
|
|
685
677
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
686
678
|
default:
|
|
687
679
|
const parsedBody = parsedOutput.body;
|
|
688
|
-
throwDefaultError({
|
|
680
|
+
return throwDefaultError({
|
|
689
681
|
output,
|
|
690
682
|
parsedBody,
|
|
691
|
-
exceptionCtor: __BaseException,
|
|
692
683
|
errorCode,
|
|
693
684
|
});
|
|
694
685
|
}
|
|
@@ -699,12 +690,12 @@ export const de_DeleteDataCatalogCommand = async (output, context) => {
|
|
|
699
690
|
}
|
|
700
691
|
const data = await parseBody(output.body, context);
|
|
701
692
|
let contents = {};
|
|
702
|
-
contents =
|
|
693
|
+
contents = _json(data);
|
|
703
694
|
const response = {
|
|
704
695
|
$metadata: deserializeMetadata(output),
|
|
705
696
|
...contents,
|
|
706
697
|
};
|
|
707
|
-
return
|
|
698
|
+
return response;
|
|
708
699
|
};
|
|
709
700
|
const de_DeleteDataCatalogCommandError = async (output, context) => {
|
|
710
701
|
const parsedOutput = {
|
|
@@ -721,10 +712,9 @@ const de_DeleteDataCatalogCommandError = async (output, context) => {
|
|
|
721
712
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
722
713
|
default:
|
|
723
714
|
const parsedBody = parsedOutput.body;
|
|
724
|
-
throwDefaultError({
|
|
715
|
+
return throwDefaultError({
|
|
725
716
|
output,
|
|
726
717
|
parsedBody,
|
|
727
|
-
exceptionCtor: __BaseException,
|
|
728
718
|
errorCode,
|
|
729
719
|
});
|
|
730
720
|
}
|
|
@@ -735,12 +725,12 @@ export const de_DeleteNamedQueryCommand = async (output, context) => {
|
|
|
735
725
|
}
|
|
736
726
|
const data = await parseBody(output.body, context);
|
|
737
727
|
let contents = {};
|
|
738
|
-
contents =
|
|
728
|
+
contents = _json(data);
|
|
739
729
|
const response = {
|
|
740
730
|
$metadata: deserializeMetadata(output),
|
|
741
731
|
...contents,
|
|
742
732
|
};
|
|
743
|
-
return
|
|
733
|
+
return response;
|
|
744
734
|
};
|
|
745
735
|
const de_DeleteNamedQueryCommandError = async (output, context) => {
|
|
746
736
|
const parsedOutput = {
|
|
@@ -757,10 +747,9 @@ const de_DeleteNamedQueryCommandError = async (output, context) => {
|
|
|
757
747
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
758
748
|
default:
|
|
759
749
|
const parsedBody = parsedOutput.body;
|
|
760
|
-
throwDefaultError({
|
|
750
|
+
return throwDefaultError({
|
|
761
751
|
output,
|
|
762
752
|
parsedBody,
|
|
763
|
-
exceptionCtor: __BaseException,
|
|
764
753
|
errorCode,
|
|
765
754
|
});
|
|
766
755
|
}
|
|
@@ -771,12 +760,12 @@ export const de_DeleteNotebookCommand = async (output, context) => {
|
|
|
771
760
|
}
|
|
772
761
|
const data = await parseBody(output.body, context);
|
|
773
762
|
let contents = {};
|
|
774
|
-
contents =
|
|
763
|
+
contents = _json(data);
|
|
775
764
|
const response = {
|
|
776
765
|
$metadata: deserializeMetadata(output),
|
|
777
766
|
...contents,
|
|
778
767
|
};
|
|
779
|
-
return
|
|
768
|
+
return response;
|
|
780
769
|
};
|
|
781
770
|
const de_DeleteNotebookCommandError = async (output, context) => {
|
|
782
771
|
const parsedOutput = {
|
|
@@ -796,10 +785,9 @@ const de_DeleteNotebookCommandError = async (output, context) => {
|
|
|
796
785
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
797
786
|
default:
|
|
798
787
|
const parsedBody = parsedOutput.body;
|
|
799
|
-
throwDefaultError({
|
|
788
|
+
return throwDefaultError({
|
|
800
789
|
output,
|
|
801
790
|
parsedBody,
|
|
802
|
-
exceptionCtor: __BaseException,
|
|
803
791
|
errorCode,
|
|
804
792
|
});
|
|
805
793
|
}
|
|
@@ -810,12 +798,12 @@ export const de_DeletePreparedStatementCommand = async (output, context) => {
|
|
|
810
798
|
}
|
|
811
799
|
const data = await parseBody(output.body, context);
|
|
812
800
|
let contents = {};
|
|
813
|
-
contents =
|
|
801
|
+
contents = _json(data);
|
|
814
802
|
const response = {
|
|
815
803
|
$metadata: deserializeMetadata(output),
|
|
816
804
|
...contents,
|
|
817
805
|
};
|
|
818
|
-
return
|
|
806
|
+
return response;
|
|
819
807
|
};
|
|
820
808
|
const de_DeletePreparedStatementCommandError = async (output, context) => {
|
|
821
809
|
const parsedOutput = {
|
|
@@ -835,10 +823,9 @@ const de_DeletePreparedStatementCommandError = async (output, context) => {
|
|
|
835
823
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
836
824
|
default:
|
|
837
825
|
const parsedBody = parsedOutput.body;
|
|
838
|
-
throwDefaultError({
|
|
826
|
+
return throwDefaultError({
|
|
839
827
|
output,
|
|
840
828
|
parsedBody,
|
|
841
|
-
exceptionCtor: __BaseException,
|
|
842
829
|
errorCode,
|
|
843
830
|
});
|
|
844
831
|
}
|
|
@@ -849,12 +836,12 @@ export const de_DeleteWorkGroupCommand = async (output, context) => {
|
|
|
849
836
|
}
|
|
850
837
|
const data = await parseBody(output.body, context);
|
|
851
838
|
let contents = {};
|
|
852
|
-
contents =
|
|
839
|
+
contents = _json(data);
|
|
853
840
|
const response = {
|
|
854
841
|
$metadata: deserializeMetadata(output),
|
|
855
842
|
...contents,
|
|
856
843
|
};
|
|
857
|
-
return
|
|
844
|
+
return response;
|
|
858
845
|
};
|
|
859
846
|
const de_DeleteWorkGroupCommandError = async (output, context) => {
|
|
860
847
|
const parsedOutput = {
|
|
@@ -871,10 +858,9 @@ const de_DeleteWorkGroupCommandError = async (output, context) => {
|
|
|
871
858
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
872
859
|
default:
|
|
873
860
|
const parsedBody = parsedOutput.body;
|
|
874
|
-
throwDefaultError({
|
|
861
|
+
return throwDefaultError({
|
|
875
862
|
output,
|
|
876
863
|
parsedBody,
|
|
877
|
-
exceptionCtor: __BaseException,
|
|
878
864
|
errorCode,
|
|
879
865
|
});
|
|
880
866
|
}
|
|
@@ -890,7 +876,7 @@ export const de_ExportNotebookCommand = async (output, context) => {
|
|
|
890
876
|
$metadata: deserializeMetadata(output),
|
|
891
877
|
...contents,
|
|
892
878
|
};
|
|
893
|
-
return
|
|
879
|
+
return response;
|
|
894
880
|
};
|
|
895
881
|
const de_ExportNotebookCommandError = async (output, context) => {
|
|
896
882
|
const parsedOutput = {
|
|
@@ -910,10 +896,9 @@ const de_ExportNotebookCommandError = async (output, context) => {
|
|
|
910
896
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
911
897
|
default:
|
|
912
898
|
const parsedBody = parsedOutput.body;
|
|
913
|
-
throwDefaultError({
|
|
899
|
+
return throwDefaultError({
|
|
914
900
|
output,
|
|
915
901
|
parsedBody,
|
|
916
|
-
exceptionCtor: __BaseException,
|
|
917
902
|
errorCode,
|
|
918
903
|
});
|
|
919
904
|
}
|
|
@@ -929,7 +914,7 @@ export const de_GetCalculationExecutionCommand = async (output, context) => {
|
|
|
929
914
|
$metadata: deserializeMetadata(output),
|
|
930
915
|
...contents,
|
|
931
916
|
};
|
|
932
|
-
return
|
|
917
|
+
return response;
|
|
933
918
|
};
|
|
934
919
|
const de_GetCalculationExecutionCommandError = async (output, context) => {
|
|
935
920
|
const parsedOutput = {
|
|
@@ -949,10 +934,9 @@ const de_GetCalculationExecutionCommandError = async (output, context) => {
|
|
|
949
934
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
950
935
|
default:
|
|
951
936
|
const parsedBody = parsedOutput.body;
|
|
952
|
-
throwDefaultError({
|
|
937
|
+
return throwDefaultError({
|
|
953
938
|
output,
|
|
954
939
|
parsedBody,
|
|
955
|
-
exceptionCtor: __BaseException,
|
|
956
940
|
errorCode,
|
|
957
941
|
});
|
|
958
942
|
}
|
|
@@ -963,12 +947,12 @@ export const de_GetCalculationExecutionCodeCommand = async (output, context) =>
|
|
|
963
947
|
}
|
|
964
948
|
const data = await parseBody(output.body, context);
|
|
965
949
|
let contents = {};
|
|
966
|
-
contents =
|
|
950
|
+
contents = _json(data);
|
|
967
951
|
const response = {
|
|
968
952
|
$metadata: deserializeMetadata(output),
|
|
969
953
|
...contents,
|
|
970
954
|
};
|
|
971
|
-
return
|
|
955
|
+
return response;
|
|
972
956
|
};
|
|
973
957
|
const de_GetCalculationExecutionCodeCommandError = async (output, context) => {
|
|
974
958
|
const parsedOutput = {
|
|
@@ -988,10 +972,9 @@ const de_GetCalculationExecutionCodeCommandError = async (output, context) => {
|
|
|
988
972
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
989
973
|
default:
|
|
990
974
|
const parsedBody = parsedOutput.body;
|
|
991
|
-
throwDefaultError({
|
|
975
|
+
return throwDefaultError({
|
|
992
976
|
output,
|
|
993
977
|
parsedBody,
|
|
994
|
-
exceptionCtor: __BaseException,
|
|
995
978
|
errorCode,
|
|
996
979
|
});
|
|
997
980
|
}
|
|
@@ -1007,7 +990,7 @@ export const de_GetCalculationExecutionStatusCommand = async (output, context) =
|
|
|
1007
990
|
$metadata: deserializeMetadata(output),
|
|
1008
991
|
...contents,
|
|
1009
992
|
};
|
|
1010
|
-
return
|
|
993
|
+
return response;
|
|
1011
994
|
};
|
|
1012
995
|
const de_GetCalculationExecutionStatusCommandError = async (output, context) => {
|
|
1013
996
|
const parsedOutput = {
|
|
@@ -1027,10 +1010,9 @@ const de_GetCalculationExecutionStatusCommandError = async (output, context) =>
|
|
|
1027
1010
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1028
1011
|
default:
|
|
1029
1012
|
const parsedBody = parsedOutput.body;
|
|
1030
|
-
throwDefaultError({
|
|
1013
|
+
return throwDefaultError({
|
|
1031
1014
|
output,
|
|
1032
1015
|
parsedBody,
|
|
1033
|
-
exceptionCtor: __BaseException,
|
|
1034
1016
|
errorCode,
|
|
1035
1017
|
});
|
|
1036
1018
|
}
|
|
@@ -1041,12 +1023,12 @@ export const de_GetDatabaseCommand = async (output, context) => {
|
|
|
1041
1023
|
}
|
|
1042
1024
|
const data = await parseBody(output.body, context);
|
|
1043
1025
|
let contents = {};
|
|
1044
|
-
contents =
|
|
1026
|
+
contents = _json(data);
|
|
1045
1027
|
const response = {
|
|
1046
1028
|
$metadata: deserializeMetadata(output),
|
|
1047
1029
|
...contents,
|
|
1048
1030
|
};
|
|
1049
|
-
return
|
|
1031
|
+
return response;
|
|
1050
1032
|
};
|
|
1051
1033
|
const de_GetDatabaseCommandError = async (output, context) => {
|
|
1052
1034
|
const parsedOutput = {
|
|
@@ -1066,10 +1048,9 @@ const de_GetDatabaseCommandError = async (output, context) => {
|
|
|
1066
1048
|
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
1067
1049
|
default:
|
|
1068
1050
|
const parsedBody = parsedOutput.body;
|
|
1069
|
-
throwDefaultError({
|
|
1051
|
+
return throwDefaultError({
|
|
1070
1052
|
output,
|
|
1071
1053
|
parsedBody,
|
|
1072
|
-
exceptionCtor: __BaseException,
|
|
1073
1054
|
errorCode,
|
|
1074
1055
|
});
|
|
1075
1056
|
}
|
|
@@ -1080,12 +1061,12 @@ export const de_GetDataCatalogCommand = async (output, context) => {
|
|
|
1080
1061
|
}
|
|
1081
1062
|
const data = await parseBody(output.body, context);
|
|
1082
1063
|
let contents = {};
|
|
1083
|
-
contents =
|
|
1064
|
+
contents = _json(data);
|
|
1084
1065
|
const response = {
|
|
1085
1066
|
$metadata: deserializeMetadata(output),
|
|
1086
1067
|
...contents,
|
|
1087
1068
|
};
|
|
1088
|
-
return
|
|
1069
|
+
return response;
|
|
1089
1070
|
};
|
|
1090
1071
|
const de_GetDataCatalogCommandError = async (output, context) => {
|
|
1091
1072
|
const parsedOutput = {
|
|
@@ -1102,10 +1083,9 @@ const de_GetDataCatalogCommandError = async (output, context) => {
|
|
|
1102
1083
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1103
1084
|
default:
|
|
1104
1085
|
const parsedBody = parsedOutput.body;
|
|
1105
|
-
throwDefaultError({
|
|
1086
|
+
return throwDefaultError({
|
|
1106
1087
|
output,
|
|
1107
1088
|
parsedBody,
|
|
1108
|
-
exceptionCtor: __BaseException,
|
|
1109
1089
|
errorCode,
|
|
1110
1090
|
});
|
|
1111
1091
|
}
|
|
@@ -1116,12 +1096,12 @@ export const de_GetNamedQueryCommand = async (output, context) => {
|
|
|
1116
1096
|
}
|
|
1117
1097
|
const data = await parseBody(output.body, context);
|
|
1118
1098
|
let contents = {};
|
|
1119
|
-
contents =
|
|
1099
|
+
contents = _json(data);
|
|
1120
1100
|
const response = {
|
|
1121
1101
|
$metadata: deserializeMetadata(output),
|
|
1122
1102
|
...contents,
|
|
1123
1103
|
};
|
|
1124
|
-
return
|
|
1104
|
+
return response;
|
|
1125
1105
|
};
|
|
1126
1106
|
const de_GetNamedQueryCommandError = async (output, context) => {
|
|
1127
1107
|
const parsedOutput = {
|
|
@@ -1138,10 +1118,9 @@ const de_GetNamedQueryCommandError = async (output, context) => {
|
|
|
1138
1118
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1139
1119
|
default:
|
|
1140
1120
|
const parsedBody = parsedOutput.body;
|
|
1141
|
-
throwDefaultError({
|
|
1121
|
+
return throwDefaultError({
|
|
1142
1122
|
output,
|
|
1143
1123
|
parsedBody,
|
|
1144
|
-
exceptionCtor: __BaseException,
|
|
1145
1124
|
errorCode,
|
|
1146
1125
|
});
|
|
1147
1126
|
}
|
|
@@ -1157,7 +1136,7 @@ export const de_GetNotebookMetadataCommand = async (output, context) => {
|
|
|
1157
1136
|
$metadata: deserializeMetadata(output),
|
|
1158
1137
|
...contents,
|
|
1159
1138
|
};
|
|
1160
|
-
return
|
|
1139
|
+
return response;
|
|
1161
1140
|
};
|
|
1162
1141
|
const de_GetNotebookMetadataCommandError = async (output, context) => {
|
|
1163
1142
|
const parsedOutput = {
|
|
@@ -1177,10 +1156,9 @@ const de_GetNotebookMetadataCommandError = async (output, context) => {
|
|
|
1177
1156
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1178
1157
|
default:
|
|
1179
1158
|
const parsedBody = parsedOutput.body;
|
|
1180
|
-
throwDefaultError({
|
|
1159
|
+
return throwDefaultError({
|
|
1181
1160
|
output,
|
|
1182
1161
|
parsedBody,
|
|
1183
|
-
exceptionCtor: __BaseException,
|
|
1184
1162
|
errorCode,
|
|
1185
1163
|
});
|
|
1186
1164
|
}
|
|
@@ -1196,7 +1174,7 @@ export const de_GetPreparedStatementCommand = async (output, context) => {
|
|
|
1196
1174
|
$metadata: deserializeMetadata(output),
|
|
1197
1175
|
...contents,
|
|
1198
1176
|
};
|
|
1199
|
-
return
|
|
1177
|
+
return response;
|
|
1200
1178
|
};
|
|
1201
1179
|
const de_GetPreparedStatementCommandError = async (output, context) => {
|
|
1202
1180
|
const parsedOutput = {
|
|
@@ -1216,10 +1194,9 @@ const de_GetPreparedStatementCommandError = async (output, context) => {
|
|
|
1216
1194
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1217
1195
|
default:
|
|
1218
1196
|
const parsedBody = parsedOutput.body;
|
|
1219
|
-
throwDefaultError({
|
|
1197
|
+
return throwDefaultError({
|
|
1220
1198
|
output,
|
|
1221
1199
|
parsedBody,
|
|
1222
|
-
exceptionCtor: __BaseException,
|
|
1223
1200
|
errorCode,
|
|
1224
1201
|
});
|
|
1225
1202
|
}
|
|
@@ -1235,7 +1212,7 @@ export const de_GetQueryExecutionCommand = async (output, context) => {
|
|
|
1235
1212
|
$metadata: deserializeMetadata(output),
|
|
1236
1213
|
...contents,
|
|
1237
1214
|
};
|
|
1238
|
-
return
|
|
1215
|
+
return response;
|
|
1239
1216
|
};
|
|
1240
1217
|
const de_GetQueryExecutionCommandError = async (output, context) => {
|
|
1241
1218
|
const parsedOutput = {
|
|
@@ -1252,10 +1229,9 @@ const de_GetQueryExecutionCommandError = async (output, context) => {
|
|
|
1252
1229
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1253
1230
|
default:
|
|
1254
1231
|
const parsedBody = parsedOutput.body;
|
|
1255
|
-
throwDefaultError({
|
|
1232
|
+
return throwDefaultError({
|
|
1256
1233
|
output,
|
|
1257
1234
|
parsedBody,
|
|
1258
|
-
exceptionCtor: __BaseException,
|
|
1259
1235
|
errorCode,
|
|
1260
1236
|
});
|
|
1261
1237
|
}
|
|
@@ -1266,12 +1242,12 @@ export const de_GetQueryResultsCommand = async (output, context) => {
|
|
|
1266
1242
|
}
|
|
1267
1243
|
const data = await parseBody(output.body, context);
|
|
1268
1244
|
let contents = {};
|
|
1269
|
-
contents =
|
|
1245
|
+
contents = _json(data);
|
|
1270
1246
|
const response = {
|
|
1271
1247
|
$metadata: deserializeMetadata(output),
|
|
1272
1248
|
...contents,
|
|
1273
1249
|
};
|
|
1274
|
-
return
|
|
1250
|
+
return response;
|
|
1275
1251
|
};
|
|
1276
1252
|
const de_GetQueryResultsCommandError = async (output, context) => {
|
|
1277
1253
|
const parsedOutput = {
|
|
@@ -1291,10 +1267,9 @@ const de_GetQueryResultsCommandError = async (output, context) => {
|
|
|
1291
1267
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1292
1268
|
default:
|
|
1293
1269
|
const parsedBody = parsedOutput.body;
|
|
1294
|
-
throwDefaultError({
|
|
1270
|
+
return throwDefaultError({
|
|
1295
1271
|
output,
|
|
1296
1272
|
parsedBody,
|
|
1297
|
-
exceptionCtor: __BaseException,
|
|
1298
1273
|
errorCode,
|
|
1299
1274
|
});
|
|
1300
1275
|
}
|
|
@@ -1310,7 +1285,7 @@ export const de_GetQueryRuntimeStatisticsCommand = async (output, context) => {
|
|
|
1310
1285
|
$metadata: deserializeMetadata(output),
|
|
1311
1286
|
...contents,
|
|
1312
1287
|
};
|
|
1313
|
-
return
|
|
1288
|
+
return response;
|
|
1314
1289
|
};
|
|
1315
1290
|
const de_GetQueryRuntimeStatisticsCommandError = async (output, context) => {
|
|
1316
1291
|
const parsedOutput = {
|
|
@@ -1327,10 +1302,9 @@ const de_GetQueryRuntimeStatisticsCommandError = async (output, context) => {
|
|
|
1327
1302
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1328
1303
|
default:
|
|
1329
1304
|
const parsedBody = parsedOutput.body;
|
|
1330
|
-
throwDefaultError({
|
|
1305
|
+
return throwDefaultError({
|
|
1331
1306
|
output,
|
|
1332
1307
|
parsedBody,
|
|
1333
|
-
exceptionCtor: __BaseException,
|
|
1334
1308
|
errorCode,
|
|
1335
1309
|
});
|
|
1336
1310
|
}
|
|
@@ -1346,7 +1320,7 @@ export const de_GetSessionCommand = async (output, context) => {
|
|
|
1346
1320
|
$metadata: deserializeMetadata(output),
|
|
1347
1321
|
...contents,
|
|
1348
1322
|
};
|
|
1349
|
-
return
|
|
1323
|
+
return response;
|
|
1350
1324
|
};
|
|
1351
1325
|
const de_GetSessionCommandError = async (output, context) => {
|
|
1352
1326
|
const parsedOutput = {
|
|
@@ -1366,10 +1340,9 @@ const de_GetSessionCommandError = async (output, context) => {
|
|
|
1366
1340
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1367
1341
|
default:
|
|
1368
1342
|
const parsedBody = parsedOutput.body;
|
|
1369
|
-
throwDefaultError({
|
|
1343
|
+
return throwDefaultError({
|
|
1370
1344
|
output,
|
|
1371
1345
|
parsedBody,
|
|
1372
|
-
exceptionCtor: __BaseException,
|
|
1373
1346
|
errorCode,
|
|
1374
1347
|
});
|
|
1375
1348
|
}
|
|
@@ -1385,7 +1358,7 @@ export const de_GetSessionStatusCommand = async (output, context) => {
|
|
|
1385
1358
|
$metadata: deserializeMetadata(output),
|
|
1386
1359
|
...contents,
|
|
1387
1360
|
};
|
|
1388
|
-
return
|
|
1361
|
+
return response;
|
|
1389
1362
|
};
|
|
1390
1363
|
const de_GetSessionStatusCommandError = async (output, context) => {
|
|
1391
1364
|
const parsedOutput = {
|
|
@@ -1405,10 +1378,9 @@ const de_GetSessionStatusCommandError = async (output, context) => {
|
|
|
1405
1378
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1406
1379
|
default:
|
|
1407
1380
|
const parsedBody = parsedOutput.body;
|
|
1408
|
-
throwDefaultError({
|
|
1381
|
+
return throwDefaultError({
|
|
1409
1382
|
output,
|
|
1410
1383
|
parsedBody,
|
|
1411
|
-
exceptionCtor: __BaseException,
|
|
1412
1384
|
errorCode,
|
|
1413
1385
|
});
|
|
1414
1386
|
}
|
|
@@ -1424,7 +1396,7 @@ export const de_GetTableMetadataCommand = async (output, context) => {
|
|
|
1424
1396
|
$metadata: deserializeMetadata(output),
|
|
1425
1397
|
...contents,
|
|
1426
1398
|
};
|
|
1427
|
-
return
|
|
1399
|
+
return response;
|
|
1428
1400
|
};
|
|
1429
1401
|
const de_GetTableMetadataCommandError = async (output, context) => {
|
|
1430
1402
|
const parsedOutput = {
|
|
@@ -1444,10 +1416,9 @@ const de_GetTableMetadataCommandError = async (output, context) => {
|
|
|
1444
1416
|
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
1445
1417
|
default:
|
|
1446
1418
|
const parsedBody = parsedOutput.body;
|
|
1447
|
-
throwDefaultError({
|
|
1419
|
+
return throwDefaultError({
|
|
1448
1420
|
output,
|
|
1449
1421
|
parsedBody,
|
|
1450
|
-
exceptionCtor: __BaseException,
|
|
1451
1422
|
errorCode,
|
|
1452
1423
|
});
|
|
1453
1424
|
}
|
|
@@ -1463,7 +1434,7 @@ export const de_GetWorkGroupCommand = async (output, context) => {
|
|
|
1463
1434
|
$metadata: deserializeMetadata(output),
|
|
1464
1435
|
...contents,
|
|
1465
1436
|
};
|
|
1466
|
-
return
|
|
1437
|
+
return response;
|
|
1467
1438
|
};
|
|
1468
1439
|
const de_GetWorkGroupCommandError = async (output, context) => {
|
|
1469
1440
|
const parsedOutput = {
|
|
@@ -1480,10 +1451,9 @@ const de_GetWorkGroupCommandError = async (output, context) => {
|
|
|
1480
1451
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1481
1452
|
default:
|
|
1482
1453
|
const parsedBody = parsedOutput.body;
|
|
1483
|
-
throwDefaultError({
|
|
1454
|
+
return throwDefaultError({
|
|
1484
1455
|
output,
|
|
1485
1456
|
parsedBody,
|
|
1486
|
-
exceptionCtor: __BaseException,
|
|
1487
1457
|
errorCode,
|
|
1488
1458
|
});
|
|
1489
1459
|
}
|
|
@@ -1494,12 +1464,12 @@ export const de_ImportNotebookCommand = async (output, context) => {
|
|
|
1494
1464
|
}
|
|
1495
1465
|
const data = await parseBody(output.body, context);
|
|
1496
1466
|
let contents = {};
|
|
1497
|
-
contents =
|
|
1467
|
+
contents = _json(data);
|
|
1498
1468
|
const response = {
|
|
1499
1469
|
$metadata: deserializeMetadata(output),
|
|
1500
1470
|
...contents,
|
|
1501
1471
|
};
|
|
1502
|
-
return
|
|
1472
|
+
return response;
|
|
1503
1473
|
};
|
|
1504
1474
|
const de_ImportNotebookCommandError = async (output, context) => {
|
|
1505
1475
|
const parsedOutput = {
|
|
@@ -1519,10 +1489,9 @@ const de_ImportNotebookCommandError = async (output, context) => {
|
|
|
1519
1489
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1520
1490
|
default:
|
|
1521
1491
|
const parsedBody = parsedOutput.body;
|
|
1522
|
-
throwDefaultError({
|
|
1492
|
+
return throwDefaultError({
|
|
1523
1493
|
output,
|
|
1524
1494
|
parsedBody,
|
|
1525
|
-
exceptionCtor: __BaseException,
|
|
1526
1495
|
errorCode,
|
|
1527
1496
|
});
|
|
1528
1497
|
}
|
|
@@ -1533,12 +1502,12 @@ export const de_ListApplicationDPUSizesCommand = async (output, context) => {
|
|
|
1533
1502
|
}
|
|
1534
1503
|
const data = await parseBody(output.body, context);
|
|
1535
1504
|
let contents = {};
|
|
1536
|
-
contents =
|
|
1505
|
+
contents = _json(data);
|
|
1537
1506
|
const response = {
|
|
1538
1507
|
$metadata: deserializeMetadata(output),
|
|
1539
1508
|
...contents,
|
|
1540
1509
|
};
|
|
1541
|
-
return
|
|
1510
|
+
return response;
|
|
1542
1511
|
};
|
|
1543
1512
|
const de_ListApplicationDPUSizesCommandError = async (output, context) => {
|
|
1544
1513
|
const parsedOutput = {
|
|
@@ -1558,10 +1527,9 @@ const de_ListApplicationDPUSizesCommandError = async (output, context) => {
|
|
|
1558
1527
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1559
1528
|
default:
|
|
1560
1529
|
const parsedBody = parsedOutput.body;
|
|
1561
|
-
throwDefaultError({
|
|
1530
|
+
return throwDefaultError({
|
|
1562
1531
|
output,
|
|
1563
1532
|
parsedBody,
|
|
1564
|
-
exceptionCtor: __BaseException,
|
|
1565
1533
|
errorCode,
|
|
1566
1534
|
});
|
|
1567
1535
|
}
|
|
@@ -1577,7 +1545,7 @@ export const de_ListCalculationExecutionsCommand = async (output, context) => {
|
|
|
1577
1545
|
$metadata: deserializeMetadata(output),
|
|
1578
1546
|
...contents,
|
|
1579
1547
|
};
|
|
1580
|
-
return
|
|
1548
|
+
return response;
|
|
1581
1549
|
};
|
|
1582
1550
|
const de_ListCalculationExecutionsCommandError = async (output, context) => {
|
|
1583
1551
|
const parsedOutput = {
|
|
@@ -1597,10 +1565,9 @@ const de_ListCalculationExecutionsCommandError = async (output, context) => {
|
|
|
1597
1565
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1598
1566
|
default:
|
|
1599
1567
|
const parsedBody = parsedOutput.body;
|
|
1600
|
-
throwDefaultError({
|
|
1568
|
+
return throwDefaultError({
|
|
1601
1569
|
output,
|
|
1602
1570
|
parsedBody,
|
|
1603
|
-
exceptionCtor: __BaseException,
|
|
1604
1571
|
errorCode,
|
|
1605
1572
|
});
|
|
1606
1573
|
}
|
|
@@ -1611,12 +1578,12 @@ export const de_ListDatabasesCommand = async (output, context) => {
|
|
|
1611
1578
|
}
|
|
1612
1579
|
const data = await parseBody(output.body, context);
|
|
1613
1580
|
let contents = {};
|
|
1614
|
-
contents =
|
|
1581
|
+
contents = _json(data);
|
|
1615
1582
|
const response = {
|
|
1616
1583
|
$metadata: deserializeMetadata(output),
|
|
1617
1584
|
...contents,
|
|
1618
1585
|
};
|
|
1619
|
-
return
|
|
1586
|
+
return response;
|
|
1620
1587
|
};
|
|
1621
1588
|
const de_ListDatabasesCommandError = async (output, context) => {
|
|
1622
1589
|
const parsedOutput = {
|
|
@@ -1636,10 +1603,9 @@ const de_ListDatabasesCommandError = async (output, context) => {
|
|
|
1636
1603
|
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
1637
1604
|
default:
|
|
1638
1605
|
const parsedBody = parsedOutput.body;
|
|
1639
|
-
throwDefaultError({
|
|
1606
|
+
return throwDefaultError({
|
|
1640
1607
|
output,
|
|
1641
1608
|
parsedBody,
|
|
1642
|
-
exceptionCtor: __BaseException,
|
|
1643
1609
|
errorCode,
|
|
1644
1610
|
});
|
|
1645
1611
|
}
|
|
@@ -1650,12 +1616,12 @@ export const de_ListDataCatalogsCommand = async (output, context) => {
|
|
|
1650
1616
|
}
|
|
1651
1617
|
const data = await parseBody(output.body, context);
|
|
1652
1618
|
let contents = {};
|
|
1653
|
-
contents =
|
|
1619
|
+
contents = _json(data);
|
|
1654
1620
|
const response = {
|
|
1655
1621
|
$metadata: deserializeMetadata(output),
|
|
1656
1622
|
...contents,
|
|
1657
1623
|
};
|
|
1658
|
-
return
|
|
1624
|
+
return response;
|
|
1659
1625
|
};
|
|
1660
1626
|
const de_ListDataCatalogsCommandError = async (output, context) => {
|
|
1661
1627
|
const parsedOutput = {
|
|
@@ -1672,10 +1638,9 @@ const de_ListDataCatalogsCommandError = async (output, context) => {
|
|
|
1672
1638
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1673
1639
|
default:
|
|
1674
1640
|
const parsedBody = parsedOutput.body;
|
|
1675
|
-
throwDefaultError({
|
|
1641
|
+
return throwDefaultError({
|
|
1676
1642
|
output,
|
|
1677
1643
|
parsedBody,
|
|
1678
|
-
exceptionCtor: __BaseException,
|
|
1679
1644
|
errorCode,
|
|
1680
1645
|
});
|
|
1681
1646
|
}
|
|
@@ -1686,12 +1651,12 @@ export const de_ListEngineVersionsCommand = async (output, context) => {
|
|
|
1686
1651
|
}
|
|
1687
1652
|
const data = await parseBody(output.body, context);
|
|
1688
1653
|
let contents = {};
|
|
1689
|
-
contents =
|
|
1654
|
+
contents = _json(data);
|
|
1690
1655
|
const response = {
|
|
1691
1656
|
$metadata: deserializeMetadata(output),
|
|
1692
1657
|
...contents,
|
|
1693
1658
|
};
|
|
1694
|
-
return
|
|
1659
|
+
return response;
|
|
1695
1660
|
};
|
|
1696
1661
|
const de_ListEngineVersionsCommandError = async (output, context) => {
|
|
1697
1662
|
const parsedOutput = {
|
|
@@ -1708,10 +1673,9 @@ const de_ListEngineVersionsCommandError = async (output, context) => {
|
|
|
1708
1673
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1709
1674
|
default:
|
|
1710
1675
|
const parsedBody = parsedOutput.body;
|
|
1711
|
-
throwDefaultError({
|
|
1676
|
+
return throwDefaultError({
|
|
1712
1677
|
output,
|
|
1713
1678
|
parsedBody,
|
|
1714
|
-
exceptionCtor: __BaseException,
|
|
1715
1679
|
errorCode,
|
|
1716
1680
|
});
|
|
1717
1681
|
}
|
|
@@ -1722,12 +1686,12 @@ export const de_ListExecutorsCommand = async (output, context) => {
|
|
|
1722
1686
|
}
|
|
1723
1687
|
const data = await parseBody(output.body, context);
|
|
1724
1688
|
let contents = {};
|
|
1725
|
-
contents =
|
|
1689
|
+
contents = _json(data);
|
|
1726
1690
|
const response = {
|
|
1727
1691
|
$metadata: deserializeMetadata(output),
|
|
1728
1692
|
...contents,
|
|
1729
1693
|
};
|
|
1730
|
-
return
|
|
1694
|
+
return response;
|
|
1731
1695
|
};
|
|
1732
1696
|
const de_ListExecutorsCommandError = async (output, context) => {
|
|
1733
1697
|
const parsedOutput = {
|
|
@@ -1747,10 +1711,9 @@ const de_ListExecutorsCommandError = async (output, context) => {
|
|
|
1747
1711
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1748
1712
|
default:
|
|
1749
1713
|
const parsedBody = parsedOutput.body;
|
|
1750
|
-
throwDefaultError({
|
|
1714
|
+
return throwDefaultError({
|
|
1751
1715
|
output,
|
|
1752
1716
|
parsedBody,
|
|
1753
|
-
exceptionCtor: __BaseException,
|
|
1754
1717
|
errorCode,
|
|
1755
1718
|
});
|
|
1756
1719
|
}
|
|
@@ -1761,12 +1724,12 @@ export const de_ListNamedQueriesCommand = async (output, context) => {
|
|
|
1761
1724
|
}
|
|
1762
1725
|
const data = await parseBody(output.body, context);
|
|
1763
1726
|
let contents = {};
|
|
1764
|
-
contents =
|
|
1727
|
+
contents = _json(data);
|
|
1765
1728
|
const response = {
|
|
1766
1729
|
$metadata: deserializeMetadata(output),
|
|
1767
1730
|
...contents,
|
|
1768
1731
|
};
|
|
1769
|
-
return
|
|
1732
|
+
return response;
|
|
1770
1733
|
};
|
|
1771
1734
|
const de_ListNamedQueriesCommandError = async (output, context) => {
|
|
1772
1735
|
const parsedOutput = {
|
|
@@ -1783,10 +1746,9 @@ const de_ListNamedQueriesCommandError = async (output, context) => {
|
|
|
1783
1746
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1784
1747
|
default:
|
|
1785
1748
|
const parsedBody = parsedOutput.body;
|
|
1786
|
-
throwDefaultError({
|
|
1749
|
+
return throwDefaultError({
|
|
1787
1750
|
output,
|
|
1788
1751
|
parsedBody,
|
|
1789
|
-
exceptionCtor: __BaseException,
|
|
1790
1752
|
errorCode,
|
|
1791
1753
|
});
|
|
1792
1754
|
}
|
|
@@ -1802,7 +1764,7 @@ export const de_ListNotebookMetadataCommand = async (output, context) => {
|
|
|
1802
1764
|
$metadata: deserializeMetadata(output),
|
|
1803
1765
|
...contents,
|
|
1804
1766
|
};
|
|
1805
|
-
return
|
|
1767
|
+
return response;
|
|
1806
1768
|
};
|
|
1807
1769
|
const de_ListNotebookMetadataCommandError = async (output, context) => {
|
|
1808
1770
|
const parsedOutput = {
|
|
@@ -1822,10 +1784,9 @@ const de_ListNotebookMetadataCommandError = async (output, context) => {
|
|
|
1822
1784
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1823
1785
|
default:
|
|
1824
1786
|
const parsedBody = parsedOutput.body;
|
|
1825
|
-
throwDefaultError({
|
|
1787
|
+
return throwDefaultError({
|
|
1826
1788
|
output,
|
|
1827
1789
|
parsedBody,
|
|
1828
|
-
exceptionCtor: __BaseException,
|
|
1829
1790
|
errorCode,
|
|
1830
1791
|
});
|
|
1831
1792
|
}
|
|
@@ -1841,7 +1802,7 @@ export const de_ListNotebookSessionsCommand = async (output, context) => {
|
|
|
1841
1802
|
$metadata: deserializeMetadata(output),
|
|
1842
1803
|
...contents,
|
|
1843
1804
|
};
|
|
1844
|
-
return
|
|
1805
|
+
return response;
|
|
1845
1806
|
};
|
|
1846
1807
|
const de_ListNotebookSessionsCommandError = async (output, context) => {
|
|
1847
1808
|
const parsedOutput = {
|
|
@@ -1861,10 +1822,9 @@ const de_ListNotebookSessionsCommandError = async (output, context) => {
|
|
|
1861
1822
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1862
1823
|
default:
|
|
1863
1824
|
const parsedBody = parsedOutput.body;
|
|
1864
|
-
throwDefaultError({
|
|
1825
|
+
return throwDefaultError({
|
|
1865
1826
|
output,
|
|
1866
1827
|
parsedBody,
|
|
1867
|
-
exceptionCtor: __BaseException,
|
|
1868
1828
|
errorCode,
|
|
1869
1829
|
});
|
|
1870
1830
|
}
|
|
@@ -1880,7 +1840,7 @@ export const de_ListPreparedStatementsCommand = async (output, context) => {
|
|
|
1880
1840
|
$metadata: deserializeMetadata(output),
|
|
1881
1841
|
...contents,
|
|
1882
1842
|
};
|
|
1883
|
-
return
|
|
1843
|
+
return response;
|
|
1884
1844
|
};
|
|
1885
1845
|
const de_ListPreparedStatementsCommandError = async (output, context) => {
|
|
1886
1846
|
const parsedOutput = {
|
|
@@ -1897,10 +1857,9 @@ const de_ListPreparedStatementsCommandError = async (output, context) => {
|
|
|
1897
1857
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1898
1858
|
default:
|
|
1899
1859
|
const parsedBody = parsedOutput.body;
|
|
1900
|
-
throwDefaultError({
|
|
1860
|
+
return throwDefaultError({
|
|
1901
1861
|
output,
|
|
1902
1862
|
parsedBody,
|
|
1903
|
-
exceptionCtor: __BaseException,
|
|
1904
1863
|
errorCode,
|
|
1905
1864
|
});
|
|
1906
1865
|
}
|
|
@@ -1911,12 +1870,12 @@ export const de_ListQueryExecutionsCommand = async (output, context) => {
|
|
|
1911
1870
|
}
|
|
1912
1871
|
const data = await parseBody(output.body, context);
|
|
1913
1872
|
let contents = {};
|
|
1914
|
-
contents =
|
|
1873
|
+
contents = _json(data);
|
|
1915
1874
|
const response = {
|
|
1916
1875
|
$metadata: deserializeMetadata(output),
|
|
1917
1876
|
...contents,
|
|
1918
1877
|
};
|
|
1919
|
-
return
|
|
1878
|
+
return response;
|
|
1920
1879
|
};
|
|
1921
1880
|
const de_ListQueryExecutionsCommandError = async (output, context) => {
|
|
1922
1881
|
const parsedOutput = {
|
|
@@ -1933,10 +1892,9 @@ const de_ListQueryExecutionsCommandError = async (output, context) => {
|
|
|
1933
1892
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1934
1893
|
default:
|
|
1935
1894
|
const parsedBody = parsedOutput.body;
|
|
1936
|
-
throwDefaultError({
|
|
1895
|
+
return throwDefaultError({
|
|
1937
1896
|
output,
|
|
1938
1897
|
parsedBody,
|
|
1939
|
-
exceptionCtor: __BaseException,
|
|
1940
1898
|
errorCode,
|
|
1941
1899
|
});
|
|
1942
1900
|
}
|
|
@@ -1952,7 +1910,7 @@ export const de_ListSessionsCommand = async (output, context) => {
|
|
|
1952
1910
|
$metadata: deserializeMetadata(output),
|
|
1953
1911
|
...contents,
|
|
1954
1912
|
};
|
|
1955
|
-
return
|
|
1913
|
+
return response;
|
|
1956
1914
|
};
|
|
1957
1915
|
const de_ListSessionsCommandError = async (output, context) => {
|
|
1958
1916
|
const parsedOutput = {
|
|
@@ -1972,10 +1930,9 @@ const de_ListSessionsCommandError = async (output, context) => {
|
|
|
1972
1930
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1973
1931
|
default:
|
|
1974
1932
|
const parsedBody = parsedOutput.body;
|
|
1975
|
-
throwDefaultError({
|
|
1933
|
+
return throwDefaultError({
|
|
1976
1934
|
output,
|
|
1977
1935
|
parsedBody,
|
|
1978
|
-
exceptionCtor: __BaseException,
|
|
1979
1936
|
errorCode,
|
|
1980
1937
|
});
|
|
1981
1938
|
}
|
|
@@ -1991,7 +1948,7 @@ export const de_ListTableMetadataCommand = async (output, context) => {
|
|
|
1991
1948
|
$metadata: deserializeMetadata(output),
|
|
1992
1949
|
...contents,
|
|
1993
1950
|
};
|
|
1994
|
-
return
|
|
1951
|
+
return response;
|
|
1995
1952
|
};
|
|
1996
1953
|
const de_ListTableMetadataCommandError = async (output, context) => {
|
|
1997
1954
|
const parsedOutput = {
|
|
@@ -2011,10 +1968,9 @@ const de_ListTableMetadataCommandError = async (output, context) => {
|
|
|
2011
1968
|
throw await de_MetadataExceptionRes(parsedOutput, context);
|
|
2012
1969
|
default:
|
|
2013
1970
|
const parsedBody = parsedOutput.body;
|
|
2014
|
-
throwDefaultError({
|
|
1971
|
+
return throwDefaultError({
|
|
2015
1972
|
output,
|
|
2016
1973
|
parsedBody,
|
|
2017
|
-
exceptionCtor: __BaseException,
|
|
2018
1974
|
errorCode,
|
|
2019
1975
|
});
|
|
2020
1976
|
}
|
|
@@ -2025,12 +1981,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2025
1981
|
}
|
|
2026
1982
|
const data = await parseBody(output.body, context);
|
|
2027
1983
|
let contents = {};
|
|
2028
|
-
contents =
|
|
1984
|
+
contents = _json(data);
|
|
2029
1985
|
const response = {
|
|
2030
1986
|
$metadata: deserializeMetadata(output),
|
|
2031
1987
|
...contents,
|
|
2032
1988
|
};
|
|
2033
|
-
return
|
|
1989
|
+
return response;
|
|
2034
1990
|
};
|
|
2035
1991
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2036
1992
|
const parsedOutput = {
|
|
@@ -2050,10 +2006,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2050
2006
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2051
2007
|
default:
|
|
2052
2008
|
const parsedBody = parsedOutput.body;
|
|
2053
|
-
throwDefaultError({
|
|
2009
|
+
return throwDefaultError({
|
|
2054
2010
|
output,
|
|
2055
2011
|
parsedBody,
|
|
2056
|
-
exceptionCtor: __BaseException,
|
|
2057
2012
|
errorCode,
|
|
2058
2013
|
});
|
|
2059
2014
|
}
|
|
@@ -2069,7 +2024,7 @@ export const de_ListWorkGroupsCommand = async (output, context) => {
|
|
|
2069
2024
|
$metadata: deserializeMetadata(output),
|
|
2070
2025
|
...contents,
|
|
2071
2026
|
};
|
|
2072
|
-
return
|
|
2027
|
+
return response;
|
|
2073
2028
|
};
|
|
2074
2029
|
const de_ListWorkGroupsCommandError = async (output, context) => {
|
|
2075
2030
|
const parsedOutput = {
|
|
@@ -2086,10 +2041,9 @@ const de_ListWorkGroupsCommandError = async (output, context) => {
|
|
|
2086
2041
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2087
2042
|
default:
|
|
2088
2043
|
const parsedBody = parsedOutput.body;
|
|
2089
|
-
throwDefaultError({
|
|
2044
|
+
return throwDefaultError({
|
|
2090
2045
|
output,
|
|
2091
2046
|
parsedBody,
|
|
2092
|
-
exceptionCtor: __BaseException,
|
|
2093
2047
|
errorCode,
|
|
2094
2048
|
});
|
|
2095
2049
|
}
|
|
@@ -2100,12 +2054,12 @@ export const de_StartCalculationExecutionCommand = async (output, context) => {
|
|
|
2100
2054
|
}
|
|
2101
2055
|
const data = await parseBody(output.body, context);
|
|
2102
2056
|
let contents = {};
|
|
2103
|
-
contents =
|
|
2057
|
+
contents = _json(data);
|
|
2104
2058
|
const response = {
|
|
2105
2059
|
$metadata: deserializeMetadata(output),
|
|
2106
2060
|
...contents,
|
|
2107
2061
|
};
|
|
2108
|
-
return
|
|
2062
|
+
return response;
|
|
2109
2063
|
};
|
|
2110
2064
|
const de_StartCalculationExecutionCommandError = async (output, context) => {
|
|
2111
2065
|
const parsedOutput = {
|
|
@@ -2125,10 +2079,9 @@ const de_StartCalculationExecutionCommandError = async (output, context) => {
|
|
|
2125
2079
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2126
2080
|
default:
|
|
2127
2081
|
const parsedBody = parsedOutput.body;
|
|
2128
|
-
throwDefaultError({
|
|
2082
|
+
return throwDefaultError({
|
|
2129
2083
|
output,
|
|
2130
2084
|
parsedBody,
|
|
2131
|
-
exceptionCtor: __BaseException,
|
|
2132
2085
|
errorCode,
|
|
2133
2086
|
});
|
|
2134
2087
|
}
|
|
@@ -2139,12 +2092,12 @@ export const de_StartQueryExecutionCommand = async (output, context) => {
|
|
|
2139
2092
|
}
|
|
2140
2093
|
const data = await parseBody(output.body, context);
|
|
2141
2094
|
let contents = {};
|
|
2142
|
-
contents =
|
|
2095
|
+
contents = _json(data);
|
|
2143
2096
|
const response = {
|
|
2144
2097
|
$metadata: deserializeMetadata(output),
|
|
2145
2098
|
...contents,
|
|
2146
2099
|
};
|
|
2147
|
-
return
|
|
2100
|
+
return response;
|
|
2148
2101
|
};
|
|
2149
2102
|
const de_StartQueryExecutionCommandError = async (output, context) => {
|
|
2150
2103
|
const parsedOutput = {
|
|
@@ -2164,10 +2117,9 @@ const de_StartQueryExecutionCommandError = async (output, context) => {
|
|
|
2164
2117
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2165
2118
|
default:
|
|
2166
2119
|
const parsedBody = parsedOutput.body;
|
|
2167
|
-
throwDefaultError({
|
|
2120
|
+
return throwDefaultError({
|
|
2168
2121
|
output,
|
|
2169
2122
|
parsedBody,
|
|
2170
|
-
exceptionCtor: __BaseException,
|
|
2171
2123
|
errorCode,
|
|
2172
2124
|
});
|
|
2173
2125
|
}
|
|
@@ -2178,12 +2130,12 @@ export const de_StartSessionCommand = async (output, context) => {
|
|
|
2178
2130
|
}
|
|
2179
2131
|
const data = await parseBody(output.body, context);
|
|
2180
2132
|
let contents = {};
|
|
2181
|
-
contents =
|
|
2133
|
+
contents = _json(data);
|
|
2182
2134
|
const response = {
|
|
2183
2135
|
$metadata: deserializeMetadata(output),
|
|
2184
2136
|
...contents,
|
|
2185
2137
|
};
|
|
2186
|
-
return
|
|
2138
|
+
return response;
|
|
2187
2139
|
};
|
|
2188
2140
|
const de_StartSessionCommandError = async (output, context) => {
|
|
2189
2141
|
const parsedOutput = {
|
|
@@ -2209,10 +2161,9 @@ const de_StartSessionCommandError = async (output, context) => {
|
|
|
2209
2161
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2210
2162
|
default:
|
|
2211
2163
|
const parsedBody = parsedOutput.body;
|
|
2212
|
-
throwDefaultError({
|
|
2164
|
+
return throwDefaultError({
|
|
2213
2165
|
output,
|
|
2214
2166
|
parsedBody,
|
|
2215
|
-
exceptionCtor: __BaseException,
|
|
2216
2167
|
errorCode,
|
|
2217
2168
|
});
|
|
2218
2169
|
}
|
|
@@ -2223,12 +2174,12 @@ export const de_StopCalculationExecutionCommand = async (output, context) => {
|
|
|
2223
2174
|
}
|
|
2224
2175
|
const data = await parseBody(output.body, context);
|
|
2225
2176
|
let contents = {};
|
|
2226
|
-
contents =
|
|
2177
|
+
contents = _json(data);
|
|
2227
2178
|
const response = {
|
|
2228
2179
|
$metadata: deserializeMetadata(output),
|
|
2229
2180
|
...contents,
|
|
2230
2181
|
};
|
|
2231
|
-
return
|
|
2182
|
+
return response;
|
|
2232
2183
|
};
|
|
2233
2184
|
const de_StopCalculationExecutionCommandError = async (output, context) => {
|
|
2234
2185
|
const parsedOutput = {
|
|
@@ -2248,10 +2199,9 @@ const de_StopCalculationExecutionCommandError = async (output, context) => {
|
|
|
2248
2199
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2249
2200
|
default:
|
|
2250
2201
|
const parsedBody = parsedOutput.body;
|
|
2251
|
-
throwDefaultError({
|
|
2202
|
+
return throwDefaultError({
|
|
2252
2203
|
output,
|
|
2253
2204
|
parsedBody,
|
|
2254
|
-
exceptionCtor: __BaseException,
|
|
2255
2205
|
errorCode,
|
|
2256
2206
|
});
|
|
2257
2207
|
}
|
|
@@ -2262,12 +2212,12 @@ export const de_StopQueryExecutionCommand = async (output, context) => {
|
|
|
2262
2212
|
}
|
|
2263
2213
|
const data = await parseBody(output.body, context);
|
|
2264
2214
|
let contents = {};
|
|
2265
|
-
contents =
|
|
2215
|
+
contents = _json(data);
|
|
2266
2216
|
const response = {
|
|
2267
2217
|
$metadata: deserializeMetadata(output),
|
|
2268
2218
|
...contents,
|
|
2269
2219
|
};
|
|
2270
|
-
return
|
|
2220
|
+
return response;
|
|
2271
2221
|
};
|
|
2272
2222
|
const de_StopQueryExecutionCommandError = async (output, context) => {
|
|
2273
2223
|
const parsedOutput = {
|
|
@@ -2284,10 +2234,9 @@ const de_StopQueryExecutionCommandError = async (output, context) => {
|
|
|
2284
2234
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2285
2235
|
default:
|
|
2286
2236
|
const parsedBody = parsedOutput.body;
|
|
2287
|
-
throwDefaultError({
|
|
2237
|
+
return throwDefaultError({
|
|
2288
2238
|
output,
|
|
2289
2239
|
parsedBody,
|
|
2290
|
-
exceptionCtor: __BaseException,
|
|
2291
2240
|
errorCode,
|
|
2292
2241
|
});
|
|
2293
2242
|
}
|
|
@@ -2298,12 +2247,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
2298
2247
|
}
|
|
2299
2248
|
const data = await parseBody(output.body, context);
|
|
2300
2249
|
let contents = {};
|
|
2301
|
-
contents =
|
|
2250
|
+
contents = _json(data);
|
|
2302
2251
|
const response = {
|
|
2303
2252
|
$metadata: deserializeMetadata(output),
|
|
2304
2253
|
...contents,
|
|
2305
2254
|
};
|
|
2306
|
-
return
|
|
2255
|
+
return response;
|
|
2307
2256
|
};
|
|
2308
2257
|
const de_TagResourceCommandError = async (output, context) => {
|
|
2309
2258
|
const parsedOutput = {
|
|
@@ -2323,10 +2272,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2323
2272
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2324
2273
|
default:
|
|
2325
2274
|
const parsedBody = parsedOutput.body;
|
|
2326
|
-
throwDefaultError({
|
|
2275
|
+
return throwDefaultError({
|
|
2327
2276
|
output,
|
|
2328
2277
|
parsedBody,
|
|
2329
|
-
exceptionCtor: __BaseException,
|
|
2330
2278
|
errorCode,
|
|
2331
2279
|
});
|
|
2332
2280
|
}
|
|
@@ -2337,12 +2285,12 @@ export const de_TerminateSessionCommand = async (output, context) => {
|
|
|
2337
2285
|
}
|
|
2338
2286
|
const data = await parseBody(output.body, context);
|
|
2339
2287
|
let contents = {};
|
|
2340
|
-
contents =
|
|
2288
|
+
contents = _json(data);
|
|
2341
2289
|
const response = {
|
|
2342
2290
|
$metadata: deserializeMetadata(output),
|
|
2343
2291
|
...contents,
|
|
2344
2292
|
};
|
|
2345
|
-
return
|
|
2293
|
+
return response;
|
|
2346
2294
|
};
|
|
2347
2295
|
const de_TerminateSessionCommandError = async (output, context) => {
|
|
2348
2296
|
const parsedOutput = {
|
|
@@ -2362,10 +2310,9 @@ const de_TerminateSessionCommandError = async (output, context) => {
|
|
|
2362
2310
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2363
2311
|
default:
|
|
2364
2312
|
const parsedBody = parsedOutput.body;
|
|
2365
|
-
throwDefaultError({
|
|
2313
|
+
return throwDefaultError({
|
|
2366
2314
|
output,
|
|
2367
2315
|
parsedBody,
|
|
2368
|
-
exceptionCtor: __BaseException,
|
|
2369
2316
|
errorCode,
|
|
2370
2317
|
});
|
|
2371
2318
|
}
|
|
@@ -2376,12 +2323,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
2376
2323
|
}
|
|
2377
2324
|
const data = await parseBody(output.body, context);
|
|
2378
2325
|
let contents = {};
|
|
2379
|
-
contents =
|
|
2326
|
+
contents = _json(data);
|
|
2380
2327
|
const response = {
|
|
2381
2328
|
$metadata: deserializeMetadata(output),
|
|
2382
2329
|
...contents,
|
|
2383
2330
|
};
|
|
2384
|
-
return
|
|
2331
|
+
return response;
|
|
2385
2332
|
};
|
|
2386
2333
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
2387
2334
|
const parsedOutput = {
|
|
@@ -2401,10 +2348,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2401
2348
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2402
2349
|
default:
|
|
2403
2350
|
const parsedBody = parsedOutput.body;
|
|
2404
|
-
throwDefaultError({
|
|
2351
|
+
return throwDefaultError({
|
|
2405
2352
|
output,
|
|
2406
2353
|
parsedBody,
|
|
2407
|
-
exceptionCtor: __BaseException,
|
|
2408
2354
|
errorCode,
|
|
2409
2355
|
});
|
|
2410
2356
|
}
|
|
@@ -2415,12 +2361,12 @@ export const de_UpdateDataCatalogCommand = async (output, context) => {
|
|
|
2415
2361
|
}
|
|
2416
2362
|
const data = await parseBody(output.body, context);
|
|
2417
2363
|
let contents = {};
|
|
2418
|
-
contents =
|
|
2364
|
+
contents = _json(data);
|
|
2419
2365
|
const response = {
|
|
2420
2366
|
$metadata: deserializeMetadata(output),
|
|
2421
2367
|
...contents,
|
|
2422
2368
|
};
|
|
2423
|
-
return
|
|
2369
|
+
return response;
|
|
2424
2370
|
};
|
|
2425
2371
|
const de_UpdateDataCatalogCommandError = async (output, context) => {
|
|
2426
2372
|
const parsedOutput = {
|
|
@@ -2437,10 +2383,9 @@ const de_UpdateDataCatalogCommandError = async (output, context) => {
|
|
|
2437
2383
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2438
2384
|
default:
|
|
2439
2385
|
const parsedBody = parsedOutput.body;
|
|
2440
|
-
throwDefaultError({
|
|
2386
|
+
return throwDefaultError({
|
|
2441
2387
|
output,
|
|
2442
2388
|
parsedBody,
|
|
2443
|
-
exceptionCtor: __BaseException,
|
|
2444
2389
|
errorCode,
|
|
2445
2390
|
});
|
|
2446
2391
|
}
|
|
@@ -2451,12 +2396,12 @@ export const de_UpdateNamedQueryCommand = async (output, context) => {
|
|
|
2451
2396
|
}
|
|
2452
2397
|
const data = await parseBody(output.body, context);
|
|
2453
2398
|
let contents = {};
|
|
2454
|
-
contents =
|
|
2399
|
+
contents = _json(data);
|
|
2455
2400
|
const response = {
|
|
2456
2401
|
$metadata: deserializeMetadata(output),
|
|
2457
2402
|
...contents,
|
|
2458
2403
|
};
|
|
2459
|
-
return
|
|
2404
|
+
return response;
|
|
2460
2405
|
};
|
|
2461
2406
|
const de_UpdateNamedQueryCommandError = async (output, context) => {
|
|
2462
2407
|
const parsedOutput = {
|
|
@@ -2473,10 +2418,9 @@ const de_UpdateNamedQueryCommandError = async (output, context) => {
|
|
|
2473
2418
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2474
2419
|
default:
|
|
2475
2420
|
const parsedBody = parsedOutput.body;
|
|
2476
|
-
throwDefaultError({
|
|
2421
|
+
return throwDefaultError({
|
|
2477
2422
|
output,
|
|
2478
2423
|
parsedBody,
|
|
2479
|
-
exceptionCtor: __BaseException,
|
|
2480
2424
|
errorCode,
|
|
2481
2425
|
});
|
|
2482
2426
|
}
|
|
@@ -2487,12 +2431,12 @@ export const de_UpdateNotebookCommand = async (output, context) => {
|
|
|
2487
2431
|
}
|
|
2488
2432
|
const data = await parseBody(output.body, context);
|
|
2489
2433
|
let contents = {};
|
|
2490
|
-
contents =
|
|
2434
|
+
contents = _json(data);
|
|
2491
2435
|
const response = {
|
|
2492
2436
|
$metadata: deserializeMetadata(output),
|
|
2493
2437
|
...contents,
|
|
2494
2438
|
};
|
|
2495
|
-
return
|
|
2439
|
+
return response;
|
|
2496
2440
|
};
|
|
2497
2441
|
const de_UpdateNotebookCommandError = async (output, context) => {
|
|
2498
2442
|
const parsedOutput = {
|
|
@@ -2512,10 +2456,9 @@ const de_UpdateNotebookCommandError = async (output, context) => {
|
|
|
2512
2456
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2513
2457
|
default:
|
|
2514
2458
|
const parsedBody = parsedOutput.body;
|
|
2515
|
-
throwDefaultError({
|
|
2459
|
+
return throwDefaultError({
|
|
2516
2460
|
output,
|
|
2517
2461
|
parsedBody,
|
|
2518
|
-
exceptionCtor: __BaseException,
|
|
2519
2462
|
errorCode,
|
|
2520
2463
|
});
|
|
2521
2464
|
}
|
|
@@ -2526,12 +2469,12 @@ export const de_UpdateNotebookMetadataCommand = async (output, context) => {
|
|
|
2526
2469
|
}
|
|
2527
2470
|
const data = await parseBody(output.body, context);
|
|
2528
2471
|
let contents = {};
|
|
2529
|
-
contents =
|
|
2472
|
+
contents = _json(data);
|
|
2530
2473
|
const response = {
|
|
2531
2474
|
$metadata: deserializeMetadata(output),
|
|
2532
2475
|
...contents,
|
|
2533
2476
|
};
|
|
2534
|
-
return
|
|
2477
|
+
return response;
|
|
2535
2478
|
};
|
|
2536
2479
|
const de_UpdateNotebookMetadataCommandError = async (output, context) => {
|
|
2537
2480
|
const parsedOutput = {
|
|
@@ -2551,10 +2494,9 @@ const de_UpdateNotebookMetadataCommandError = async (output, context) => {
|
|
|
2551
2494
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2552
2495
|
default:
|
|
2553
2496
|
const parsedBody = parsedOutput.body;
|
|
2554
|
-
throwDefaultError({
|
|
2497
|
+
return throwDefaultError({
|
|
2555
2498
|
output,
|
|
2556
2499
|
parsedBody,
|
|
2557
|
-
exceptionCtor: __BaseException,
|
|
2558
2500
|
errorCode,
|
|
2559
2501
|
});
|
|
2560
2502
|
}
|
|
@@ -2565,12 +2507,12 @@ export const de_UpdatePreparedStatementCommand = async (output, context) => {
|
|
|
2565
2507
|
}
|
|
2566
2508
|
const data = await parseBody(output.body, context);
|
|
2567
2509
|
let contents = {};
|
|
2568
|
-
contents =
|
|
2510
|
+
contents = _json(data);
|
|
2569
2511
|
const response = {
|
|
2570
2512
|
$metadata: deserializeMetadata(output),
|
|
2571
2513
|
...contents,
|
|
2572
2514
|
};
|
|
2573
|
-
return
|
|
2515
|
+
return response;
|
|
2574
2516
|
};
|
|
2575
2517
|
const de_UpdatePreparedStatementCommandError = async (output, context) => {
|
|
2576
2518
|
const parsedOutput = {
|
|
@@ -2590,10 +2532,9 @@ const de_UpdatePreparedStatementCommandError = async (output, context) => {
|
|
|
2590
2532
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2591
2533
|
default:
|
|
2592
2534
|
const parsedBody = parsedOutput.body;
|
|
2593
|
-
throwDefaultError({
|
|
2535
|
+
return throwDefaultError({
|
|
2594
2536
|
output,
|
|
2595
2537
|
parsedBody,
|
|
2596
|
-
exceptionCtor: __BaseException,
|
|
2597
2538
|
errorCode,
|
|
2598
2539
|
});
|
|
2599
2540
|
}
|
|
@@ -2604,12 +2545,12 @@ export const de_UpdateWorkGroupCommand = async (output, context) => {
|
|
|
2604
2545
|
}
|
|
2605
2546
|
const data = await parseBody(output.body, context);
|
|
2606
2547
|
let contents = {};
|
|
2607
|
-
contents =
|
|
2548
|
+
contents = _json(data);
|
|
2608
2549
|
const response = {
|
|
2609
2550
|
$metadata: deserializeMetadata(output),
|
|
2610
2551
|
...contents,
|
|
2611
2552
|
};
|
|
2612
|
-
return
|
|
2553
|
+
return response;
|
|
2613
2554
|
};
|
|
2614
2555
|
const de_UpdateWorkGroupCommandError = async (output, context) => {
|
|
2615
2556
|
const parsedOutput = {
|
|
@@ -2626,17 +2567,16 @@ const de_UpdateWorkGroupCommandError = async (output, context) => {
|
|
|
2626
2567
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2627
2568
|
default:
|
|
2628
2569
|
const parsedBody = parsedOutput.body;
|
|
2629
|
-
throwDefaultError({
|
|
2570
|
+
return throwDefaultError({
|
|
2630
2571
|
output,
|
|
2631
2572
|
parsedBody,
|
|
2632
|
-
exceptionCtor: __BaseException,
|
|
2633
2573
|
errorCode,
|
|
2634
2574
|
});
|
|
2635
2575
|
}
|
|
2636
2576
|
};
|
|
2637
2577
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2638
2578
|
const body = parsedOutput.body;
|
|
2639
|
-
const deserialized =
|
|
2579
|
+
const deserialized = _json(body);
|
|
2640
2580
|
const exception = new InternalServerException({
|
|
2641
2581
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2642
2582
|
...deserialized,
|
|
@@ -2645,7 +2585,7 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
2645
2585
|
};
|
|
2646
2586
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
2647
2587
|
const body = parsedOutput.body;
|
|
2648
|
-
const deserialized =
|
|
2588
|
+
const deserialized = _json(body);
|
|
2649
2589
|
const exception = new InvalidRequestException({
|
|
2650
2590
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2651
2591
|
...deserialized,
|
|
@@ -2654,7 +2594,7 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
2654
2594
|
};
|
|
2655
2595
|
const de_MetadataExceptionRes = async (parsedOutput, context) => {
|
|
2656
2596
|
const body = parsedOutput.body;
|
|
2657
|
-
const deserialized =
|
|
2597
|
+
const deserialized = _json(body);
|
|
2658
2598
|
const exception = new MetadataException({
|
|
2659
2599
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2660
2600
|
...deserialized,
|
|
@@ -2663,7 +2603,7 @@ const de_MetadataExceptionRes = async (parsedOutput, context) => {
|
|
|
2663
2603
|
};
|
|
2664
2604
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2665
2605
|
const body = parsedOutput.body;
|
|
2666
|
-
const deserialized =
|
|
2606
|
+
const deserialized = _json(body);
|
|
2667
2607
|
const exception = new ResourceNotFoundException({
|
|
2668
2608
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2669
2609
|
...deserialized,
|
|
@@ -2672,7 +2612,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2672
2612
|
};
|
|
2673
2613
|
const de_SessionAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2674
2614
|
const body = parsedOutput.body;
|
|
2675
|
-
const deserialized =
|
|
2615
|
+
const deserialized = _json(body);
|
|
2676
2616
|
const exception = new SessionAlreadyExistsException({
|
|
2677
2617
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2678
2618
|
...deserialized,
|
|
@@ -2681,1203 +2621,207 @@ const de_SessionAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
2681
2621
|
};
|
|
2682
2622
|
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
2683
2623
|
const body = parsedOutput.body;
|
|
2684
|
-
const deserialized =
|
|
2624
|
+
const deserialized = _json(body);
|
|
2685
2625
|
const exception = new TooManyRequestsException({
|
|
2686
2626
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2687
2627
|
...deserialized,
|
|
2688
2628
|
});
|
|
2689
2629
|
return __decorateServiceException(exception, body);
|
|
2690
2630
|
};
|
|
2691
|
-
const se_AclConfiguration = (input, context) => {
|
|
2692
|
-
return {
|
|
2693
|
-
...(input.S3AclOption != null && { S3AclOption: input.S3AclOption }),
|
|
2694
|
-
};
|
|
2695
|
-
};
|
|
2696
|
-
const se_BatchGetNamedQueryInput = (input, context) => {
|
|
2697
|
-
return {
|
|
2698
|
-
...(input.NamedQueryIds != null && { NamedQueryIds: se_NamedQueryIdList(input.NamedQueryIds, context) }),
|
|
2699
|
-
};
|
|
2700
|
-
};
|
|
2701
|
-
const se_BatchGetPreparedStatementInput = (input, context) => {
|
|
2702
|
-
return {
|
|
2703
|
-
...(input.PreparedStatementNames != null && {
|
|
2704
|
-
PreparedStatementNames: se_PreparedStatementNameList(input.PreparedStatementNames, context),
|
|
2705
|
-
}),
|
|
2706
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2707
|
-
};
|
|
2708
|
-
};
|
|
2709
|
-
const se_BatchGetQueryExecutionInput = (input, context) => {
|
|
2710
|
-
return {
|
|
2711
|
-
...(input.QueryExecutionIds != null && {
|
|
2712
|
-
QueryExecutionIds: se_QueryExecutionIdList(input.QueryExecutionIds, context),
|
|
2713
|
-
}),
|
|
2714
|
-
};
|
|
2715
|
-
};
|
|
2716
|
-
const se_CalculationConfiguration = (input, context) => {
|
|
2717
|
-
return {
|
|
2718
|
-
...(input.CodeBlock != null && { CodeBlock: input.CodeBlock }),
|
|
2719
|
-
};
|
|
2720
|
-
};
|
|
2721
|
-
const se_CreateDataCatalogInput = (input, context) => {
|
|
2722
|
-
return {
|
|
2723
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2724
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2725
|
-
...(input.Parameters != null && { Parameters: se_ParametersMap(input.Parameters, context) }),
|
|
2726
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2727
|
-
...(input.Type != null && { Type: input.Type }),
|
|
2728
|
-
};
|
|
2729
|
-
};
|
|
2730
2631
|
const se_CreateNamedQueryInput = (input, context) => {
|
|
2731
|
-
return {
|
|
2732
|
-
ClientRequestToken:
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
};
|
|
2739
|
-
};
|
|
2740
|
-
const se_CreateNotebookInput = (input, context) => {
|
|
2741
|
-
return {
|
|
2742
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
2743
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2744
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2745
|
-
};
|
|
2746
|
-
};
|
|
2747
|
-
const se_CreatePreparedStatementInput = (input, context) => {
|
|
2748
|
-
return {
|
|
2749
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2750
|
-
...(input.QueryStatement != null && { QueryStatement: input.QueryStatement }),
|
|
2751
|
-
...(input.StatementName != null && { StatementName: input.StatementName }),
|
|
2752
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2753
|
-
};
|
|
2754
|
-
};
|
|
2755
|
-
const se_CreatePresignedNotebookUrlRequest = (input, context) => {
|
|
2756
|
-
return {
|
|
2757
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
2758
|
-
};
|
|
2759
|
-
};
|
|
2760
|
-
const se_CreateWorkGroupInput = (input, context) => {
|
|
2761
|
-
return {
|
|
2762
|
-
...(input.Configuration != null && { Configuration: se_WorkGroupConfiguration(input.Configuration, context) }),
|
|
2763
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2764
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2765
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2766
|
-
};
|
|
2767
|
-
};
|
|
2768
|
-
const se_CustomerContentEncryptionConfiguration = (input, context) => {
|
|
2769
|
-
return {
|
|
2770
|
-
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
2771
|
-
};
|
|
2772
|
-
};
|
|
2773
|
-
const se_DeleteDataCatalogInput = (input, context) => {
|
|
2774
|
-
return {
|
|
2775
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2776
|
-
};
|
|
2777
|
-
};
|
|
2778
|
-
const se_DeleteNamedQueryInput = (input, context) => {
|
|
2779
|
-
return {
|
|
2780
|
-
NamedQueryId: input.NamedQueryId ?? generateIdempotencyToken(),
|
|
2781
|
-
};
|
|
2782
|
-
};
|
|
2783
|
-
const se_DeleteNotebookInput = (input, context) => {
|
|
2784
|
-
return {
|
|
2785
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
2786
|
-
};
|
|
2787
|
-
};
|
|
2788
|
-
const se_DeletePreparedStatementInput = (input, context) => {
|
|
2789
|
-
return {
|
|
2790
|
-
...(input.StatementName != null && { StatementName: input.StatementName }),
|
|
2791
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2792
|
-
};
|
|
2793
|
-
};
|
|
2794
|
-
const se_DeleteWorkGroupInput = (input, context) => {
|
|
2795
|
-
return {
|
|
2796
|
-
...(input.RecursiveDeleteOption != null && { RecursiveDeleteOption: input.RecursiveDeleteOption }),
|
|
2797
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2798
|
-
};
|
|
2799
|
-
};
|
|
2800
|
-
const se_EncryptionConfiguration = (input, context) => {
|
|
2801
|
-
return {
|
|
2802
|
-
...(input.EncryptionOption != null && { EncryptionOption: input.EncryptionOption }),
|
|
2803
|
-
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
2804
|
-
};
|
|
2805
|
-
};
|
|
2806
|
-
const se_EngineConfiguration = (input, context) => {
|
|
2807
|
-
return {
|
|
2808
|
-
...(input.AdditionalConfigs != null && { AdditionalConfigs: se_ParametersMap(input.AdditionalConfigs, context) }),
|
|
2809
|
-
...(input.CoordinatorDpuSize != null && { CoordinatorDpuSize: input.CoordinatorDpuSize }),
|
|
2810
|
-
...(input.DefaultExecutorDpuSize != null && { DefaultExecutorDpuSize: input.DefaultExecutorDpuSize }),
|
|
2811
|
-
...(input.MaxConcurrentDpus != null && { MaxConcurrentDpus: input.MaxConcurrentDpus }),
|
|
2812
|
-
};
|
|
2813
|
-
};
|
|
2814
|
-
const se_EngineVersion = (input, context) => {
|
|
2815
|
-
return {
|
|
2816
|
-
...(input.EffectiveEngineVersion != null && { EffectiveEngineVersion: input.EffectiveEngineVersion }),
|
|
2817
|
-
...(input.SelectedEngineVersion != null && { SelectedEngineVersion: input.SelectedEngineVersion }),
|
|
2818
|
-
};
|
|
2819
|
-
};
|
|
2820
|
-
const se_ExecutionParameters = (input, context) => {
|
|
2821
|
-
return input
|
|
2822
|
-
.filter((e) => e != null)
|
|
2823
|
-
.map((entry) => {
|
|
2824
|
-
return entry;
|
|
2632
|
+
return take(input, {
|
|
2633
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
2634
|
+
Database: [],
|
|
2635
|
+
Description: [],
|
|
2636
|
+
Name: [],
|
|
2637
|
+
QueryString: [],
|
|
2638
|
+
WorkGroup: [],
|
|
2825
2639
|
});
|
|
2826
2640
|
};
|
|
2827
|
-
const
|
|
2828
|
-
return {
|
|
2829
|
-
|
|
2830
|
-
};
|
|
2831
|
-
};
|
|
2832
|
-
const se_FilterDefinition = (input, context) => {
|
|
2833
|
-
return {
|
|
2834
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2835
|
-
};
|
|
2836
|
-
};
|
|
2837
|
-
const se_GetCalculationExecutionCodeRequest = (input, context) => {
|
|
2838
|
-
return {
|
|
2839
|
-
...(input.CalculationExecutionId != null && { CalculationExecutionId: input.CalculationExecutionId }),
|
|
2840
|
-
};
|
|
2841
|
-
};
|
|
2842
|
-
const se_GetCalculationExecutionRequest = (input, context) => {
|
|
2843
|
-
return {
|
|
2844
|
-
...(input.CalculationExecutionId != null && { CalculationExecutionId: input.CalculationExecutionId }),
|
|
2845
|
-
};
|
|
2846
|
-
};
|
|
2847
|
-
const se_GetCalculationExecutionStatusRequest = (input, context) => {
|
|
2848
|
-
return {
|
|
2849
|
-
...(input.CalculationExecutionId != null && { CalculationExecutionId: input.CalculationExecutionId }),
|
|
2850
|
-
};
|
|
2851
|
-
};
|
|
2852
|
-
const se_GetDatabaseInput = (input, context) => {
|
|
2853
|
-
return {
|
|
2854
|
-
...(input.CatalogName != null && { CatalogName: input.CatalogName }),
|
|
2855
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
2856
|
-
};
|
|
2857
|
-
};
|
|
2858
|
-
const se_GetDataCatalogInput = (input, context) => {
|
|
2859
|
-
return {
|
|
2860
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2861
|
-
};
|
|
2862
|
-
};
|
|
2863
|
-
const se_GetNamedQueryInput = (input, context) => {
|
|
2864
|
-
return {
|
|
2865
|
-
...(input.NamedQueryId != null && { NamedQueryId: input.NamedQueryId }),
|
|
2866
|
-
};
|
|
2867
|
-
};
|
|
2868
|
-
const se_GetNotebookMetadataInput = (input, context) => {
|
|
2869
|
-
return {
|
|
2870
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
2871
|
-
};
|
|
2872
|
-
};
|
|
2873
|
-
const se_GetPreparedStatementInput = (input, context) => {
|
|
2874
|
-
return {
|
|
2875
|
-
...(input.StatementName != null && { StatementName: input.StatementName }),
|
|
2876
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2877
|
-
};
|
|
2878
|
-
};
|
|
2879
|
-
const se_GetQueryExecutionInput = (input, context) => {
|
|
2880
|
-
return {
|
|
2881
|
-
...(input.QueryExecutionId != null && { QueryExecutionId: input.QueryExecutionId }),
|
|
2882
|
-
};
|
|
2883
|
-
};
|
|
2884
|
-
const se_GetQueryResultsInput = (input, context) => {
|
|
2885
|
-
return {
|
|
2886
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2887
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2888
|
-
...(input.QueryExecutionId != null && { QueryExecutionId: input.QueryExecutionId }),
|
|
2889
|
-
};
|
|
2890
|
-
};
|
|
2891
|
-
const se_GetQueryRuntimeStatisticsInput = (input, context) => {
|
|
2892
|
-
return {
|
|
2893
|
-
...(input.QueryExecutionId != null && { QueryExecutionId: input.QueryExecutionId }),
|
|
2894
|
-
};
|
|
2895
|
-
};
|
|
2896
|
-
const se_GetSessionRequest = (input, context) => {
|
|
2897
|
-
return {
|
|
2898
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
2899
|
-
};
|
|
2900
|
-
};
|
|
2901
|
-
const se_GetSessionStatusRequest = (input, context) => {
|
|
2902
|
-
return {
|
|
2903
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
2904
|
-
};
|
|
2905
|
-
};
|
|
2906
|
-
const se_GetTableMetadataInput = (input, context) => {
|
|
2907
|
-
return {
|
|
2908
|
-
...(input.CatalogName != null && { CatalogName: input.CatalogName }),
|
|
2909
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
2910
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
2911
|
-
};
|
|
2912
|
-
};
|
|
2913
|
-
const se_GetWorkGroupInput = (input, context) => {
|
|
2914
|
-
return {
|
|
2915
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2916
|
-
};
|
|
2917
|
-
};
|
|
2918
|
-
const se_ImportNotebookInput = (input, context) => {
|
|
2919
|
-
return {
|
|
2920
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
2921
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2922
|
-
...(input.Payload != null && { Payload: input.Payload }),
|
|
2923
|
-
...(input.Type != null && { Type: input.Type }),
|
|
2924
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2925
|
-
};
|
|
2926
|
-
};
|
|
2927
|
-
const se_ListApplicationDPUSizesInput = (input, context) => {
|
|
2928
|
-
return {
|
|
2929
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2930
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2931
|
-
};
|
|
2932
|
-
};
|
|
2933
|
-
const se_ListCalculationExecutionsRequest = (input, context) => {
|
|
2934
|
-
return {
|
|
2935
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2936
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2937
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
2938
|
-
...(input.StateFilter != null && { StateFilter: input.StateFilter }),
|
|
2939
|
-
};
|
|
2940
|
-
};
|
|
2941
|
-
const se_ListDatabasesInput = (input, context) => {
|
|
2942
|
-
return {
|
|
2943
|
-
...(input.CatalogName != null && { CatalogName: input.CatalogName }),
|
|
2944
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2945
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2946
|
-
};
|
|
2947
|
-
};
|
|
2948
|
-
const se_ListDataCatalogsInput = (input, context) => {
|
|
2949
|
-
return {
|
|
2950
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2951
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2952
|
-
};
|
|
2953
|
-
};
|
|
2954
|
-
const se_ListEngineVersionsInput = (input, context) => {
|
|
2955
|
-
return {
|
|
2956
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2957
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2958
|
-
};
|
|
2959
|
-
};
|
|
2960
|
-
const se_ListExecutorsRequest = (input, context) => {
|
|
2961
|
-
return {
|
|
2962
|
-
...(input.ExecutorStateFilter != null && { ExecutorStateFilter: input.ExecutorStateFilter }),
|
|
2963
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2964
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2965
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
2966
|
-
};
|
|
2967
|
-
};
|
|
2968
|
-
const se_ListNamedQueriesInput = (input, context) => {
|
|
2969
|
-
return {
|
|
2970
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2971
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2972
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2973
|
-
};
|
|
2974
|
-
};
|
|
2975
|
-
const se_ListNotebookMetadataInput = (input, context) => {
|
|
2976
|
-
return {
|
|
2977
|
-
...(input.Filters != null && { Filters: se_FilterDefinition(input.Filters, context) }),
|
|
2978
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2979
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2980
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2981
|
-
};
|
|
2982
|
-
};
|
|
2983
|
-
const se_ListNotebookSessionsRequest = (input, context) => {
|
|
2984
|
-
return {
|
|
2985
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2986
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2987
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
2988
|
-
};
|
|
2989
|
-
};
|
|
2990
|
-
const se_ListPreparedStatementsInput = (input, context) => {
|
|
2991
|
-
return {
|
|
2992
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2993
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2994
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
2995
|
-
};
|
|
2996
|
-
};
|
|
2997
|
-
const se_ListQueryExecutionsInput = (input, context) => {
|
|
2998
|
-
return {
|
|
2999
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3000
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3001
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3002
|
-
};
|
|
3003
|
-
};
|
|
3004
|
-
const se_ListSessionsRequest = (input, context) => {
|
|
3005
|
-
return {
|
|
3006
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3007
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3008
|
-
...(input.StateFilter != null && { StateFilter: input.StateFilter }),
|
|
3009
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3010
|
-
};
|
|
3011
|
-
};
|
|
3012
|
-
const se_ListTableMetadataInput = (input, context) => {
|
|
3013
|
-
return {
|
|
3014
|
-
...(input.CatalogName != null && { CatalogName: input.CatalogName }),
|
|
3015
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3016
|
-
...(input.Expression != null && { Expression: input.Expression }),
|
|
3017
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3018
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3019
|
-
};
|
|
3020
|
-
};
|
|
3021
|
-
const se_ListTagsForResourceInput = (input, context) => {
|
|
3022
|
-
return {
|
|
3023
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3024
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3025
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3026
|
-
};
|
|
3027
|
-
};
|
|
3028
|
-
const se_ListWorkGroupsInput = (input, context) => {
|
|
3029
|
-
return {
|
|
3030
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3031
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3032
|
-
};
|
|
3033
|
-
};
|
|
3034
|
-
const se_NamedQueryIdList = (input, context) => {
|
|
3035
|
-
return input
|
|
3036
|
-
.filter((e) => e != null)
|
|
3037
|
-
.map((entry) => {
|
|
3038
|
-
return entry;
|
|
3039
|
-
});
|
|
3040
|
-
};
|
|
3041
|
-
const se_ParametersMap = (input, context) => {
|
|
3042
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3043
|
-
if (value === null) {
|
|
3044
|
-
return acc;
|
|
3045
|
-
}
|
|
3046
|
-
acc[key] = value;
|
|
3047
|
-
return acc;
|
|
3048
|
-
}, {});
|
|
3049
|
-
};
|
|
3050
|
-
const se_PreparedStatementNameList = (input, context) => {
|
|
3051
|
-
return input
|
|
3052
|
-
.filter((e) => e != null)
|
|
3053
|
-
.map((entry) => {
|
|
3054
|
-
return entry;
|
|
3055
|
-
});
|
|
3056
|
-
};
|
|
3057
|
-
const se_QueryExecutionContext = (input, context) => {
|
|
3058
|
-
return {
|
|
3059
|
-
...(input.Catalog != null && { Catalog: input.Catalog }),
|
|
3060
|
-
...(input.Database != null && { Database: input.Database }),
|
|
3061
|
-
};
|
|
3062
|
-
};
|
|
3063
|
-
const se_QueryExecutionIdList = (input, context) => {
|
|
3064
|
-
return input
|
|
3065
|
-
.filter((e) => e != null)
|
|
3066
|
-
.map((entry) => {
|
|
3067
|
-
return entry;
|
|
2641
|
+
const se_DeleteNamedQueryInput = (input, context) => {
|
|
2642
|
+
return take(input, {
|
|
2643
|
+
NamedQueryId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
3068
2644
|
});
|
|
3069
2645
|
};
|
|
3070
|
-
const se_ResultConfiguration = (input, context) => {
|
|
3071
|
-
return {
|
|
3072
|
-
...(input.AclConfiguration != null && { AclConfiguration: se_AclConfiguration(input.AclConfiguration, context) }),
|
|
3073
|
-
...(input.EncryptionConfiguration != null && {
|
|
3074
|
-
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
3075
|
-
}),
|
|
3076
|
-
...(input.ExpectedBucketOwner != null && { ExpectedBucketOwner: input.ExpectedBucketOwner }),
|
|
3077
|
-
...(input.OutputLocation != null && { OutputLocation: input.OutputLocation }),
|
|
3078
|
-
};
|
|
3079
|
-
};
|
|
3080
|
-
const se_ResultConfigurationUpdates = (input, context) => {
|
|
3081
|
-
return {
|
|
3082
|
-
...(input.AclConfiguration != null && { AclConfiguration: se_AclConfiguration(input.AclConfiguration, context) }),
|
|
3083
|
-
...(input.EncryptionConfiguration != null && {
|
|
3084
|
-
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
3085
|
-
}),
|
|
3086
|
-
...(input.ExpectedBucketOwner != null && { ExpectedBucketOwner: input.ExpectedBucketOwner }),
|
|
3087
|
-
...(input.OutputLocation != null && { OutputLocation: input.OutputLocation }),
|
|
3088
|
-
...(input.RemoveAclConfiguration != null && { RemoveAclConfiguration: input.RemoveAclConfiguration }),
|
|
3089
|
-
...(input.RemoveEncryptionConfiguration != null && {
|
|
3090
|
-
RemoveEncryptionConfiguration: input.RemoveEncryptionConfiguration,
|
|
3091
|
-
}),
|
|
3092
|
-
...(input.RemoveExpectedBucketOwner != null && { RemoveExpectedBucketOwner: input.RemoveExpectedBucketOwner }),
|
|
3093
|
-
...(input.RemoveOutputLocation != null && { RemoveOutputLocation: input.RemoveOutputLocation }),
|
|
3094
|
-
};
|
|
3095
|
-
};
|
|
3096
|
-
const se_ResultReuseByAgeConfiguration = (input, context) => {
|
|
3097
|
-
return {
|
|
3098
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3099
|
-
...(input.MaxAgeInMinutes != null && { MaxAgeInMinutes: input.MaxAgeInMinutes }),
|
|
3100
|
-
};
|
|
3101
|
-
};
|
|
3102
|
-
const se_ResultReuseConfiguration = (input, context) => {
|
|
3103
|
-
return {
|
|
3104
|
-
...(input.ResultReuseByAgeConfiguration != null && {
|
|
3105
|
-
ResultReuseByAgeConfiguration: se_ResultReuseByAgeConfiguration(input.ResultReuseByAgeConfiguration, context),
|
|
3106
|
-
}),
|
|
3107
|
-
};
|
|
3108
|
-
};
|
|
3109
|
-
const se_StartCalculationExecutionRequest = (input, context) => {
|
|
3110
|
-
return {
|
|
3111
|
-
...(input.CalculationConfiguration != null && {
|
|
3112
|
-
CalculationConfiguration: se_CalculationConfiguration(input.CalculationConfiguration, context),
|
|
3113
|
-
}),
|
|
3114
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
3115
|
-
...(input.CodeBlock != null && { CodeBlock: input.CodeBlock }),
|
|
3116
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3117
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3118
|
-
};
|
|
3119
|
-
};
|
|
3120
2646
|
const se_StartQueryExecutionInput = (input, context) => {
|
|
3121
|
-
return {
|
|
3122
|
-
ClientRequestToken:
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
...(input.QueryString != null && { QueryString: input.QueryString }),
|
|
3130
|
-
...(input.ResultConfiguration != null && {
|
|
3131
|
-
ResultConfiguration: se_ResultConfiguration(input.ResultConfiguration, context),
|
|
3132
|
-
}),
|
|
3133
|
-
...(input.ResultReuseConfiguration != null && {
|
|
3134
|
-
ResultReuseConfiguration: se_ResultReuseConfiguration(input.ResultReuseConfiguration, context),
|
|
3135
|
-
}),
|
|
3136
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3137
|
-
};
|
|
3138
|
-
};
|
|
3139
|
-
const se_StartSessionRequest = (input, context) => {
|
|
3140
|
-
return {
|
|
3141
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
3142
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3143
|
-
...(input.EngineConfiguration != null && {
|
|
3144
|
-
EngineConfiguration: se_EngineConfiguration(input.EngineConfiguration, context),
|
|
3145
|
-
}),
|
|
3146
|
-
...(input.NotebookVersion != null && { NotebookVersion: input.NotebookVersion }),
|
|
3147
|
-
...(input.SessionIdleTimeoutInMinutes != null && {
|
|
3148
|
-
SessionIdleTimeoutInMinutes: input.SessionIdleTimeoutInMinutes,
|
|
3149
|
-
}),
|
|
3150
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3151
|
-
};
|
|
3152
|
-
};
|
|
3153
|
-
const se_StopCalculationExecutionRequest = (input, context) => {
|
|
3154
|
-
return {
|
|
3155
|
-
...(input.CalculationExecutionId != null && { CalculationExecutionId: input.CalculationExecutionId }),
|
|
3156
|
-
};
|
|
3157
|
-
};
|
|
3158
|
-
const se_StopQueryExecutionInput = (input, context) => {
|
|
3159
|
-
return {
|
|
3160
|
-
QueryExecutionId: input.QueryExecutionId ?? generateIdempotencyToken(),
|
|
3161
|
-
};
|
|
3162
|
-
};
|
|
3163
|
-
const se_Tag = (input, context) => {
|
|
3164
|
-
return {
|
|
3165
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3166
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3167
|
-
};
|
|
3168
|
-
};
|
|
3169
|
-
const se_TagKeyList = (input, context) => {
|
|
3170
|
-
return input
|
|
3171
|
-
.filter((e) => e != null)
|
|
3172
|
-
.map((entry) => {
|
|
3173
|
-
return entry;
|
|
2647
|
+
return take(input, {
|
|
2648
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
2649
|
+
ExecutionParameters: _json,
|
|
2650
|
+
QueryExecutionContext: _json,
|
|
2651
|
+
QueryString: [],
|
|
2652
|
+
ResultConfiguration: _json,
|
|
2653
|
+
ResultReuseConfiguration: _json,
|
|
2654
|
+
WorkGroup: [],
|
|
3174
2655
|
});
|
|
3175
2656
|
};
|
|
3176
|
-
const
|
|
3177
|
-
return input
|
|
3178
|
-
|
|
3179
|
-
.map((entry) => {
|
|
3180
|
-
return se_Tag(entry, context);
|
|
3181
|
-
});
|
|
3182
|
-
};
|
|
3183
|
-
const se_TagResourceInput = (input, context) => {
|
|
3184
|
-
return {
|
|
3185
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3186
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3187
|
-
};
|
|
3188
|
-
};
|
|
3189
|
-
const se_TerminateSessionRequest = (input, context) => {
|
|
3190
|
-
return {
|
|
3191
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3192
|
-
};
|
|
3193
|
-
};
|
|
3194
|
-
const se_UntagResourceInput = (input, context) => {
|
|
3195
|
-
return {
|
|
3196
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3197
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
3198
|
-
};
|
|
3199
|
-
};
|
|
3200
|
-
const se_UpdateDataCatalogInput = (input, context) => {
|
|
3201
|
-
return {
|
|
3202
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3203
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3204
|
-
...(input.Parameters != null && { Parameters: se_ParametersMap(input.Parameters, context) }),
|
|
3205
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3206
|
-
};
|
|
3207
|
-
};
|
|
3208
|
-
const se_UpdateNamedQueryInput = (input, context) => {
|
|
3209
|
-
return {
|
|
3210
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3211
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3212
|
-
...(input.NamedQueryId != null && { NamedQueryId: input.NamedQueryId }),
|
|
3213
|
-
...(input.QueryString != null && { QueryString: input.QueryString }),
|
|
3214
|
-
};
|
|
3215
|
-
};
|
|
3216
|
-
const se_UpdateNotebookInput = (input, context) => {
|
|
3217
|
-
return {
|
|
3218
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
3219
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
3220
|
-
...(input.Payload != null && { Payload: input.Payload }),
|
|
3221
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3222
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3223
|
-
};
|
|
3224
|
-
};
|
|
3225
|
-
const se_UpdateNotebookMetadataInput = (input, context) => {
|
|
3226
|
-
return {
|
|
3227
|
-
...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),
|
|
3228
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3229
|
-
...(input.NotebookId != null && { NotebookId: input.NotebookId }),
|
|
3230
|
-
};
|
|
3231
|
-
};
|
|
3232
|
-
const se_UpdatePreparedStatementInput = (input, context) => {
|
|
3233
|
-
return {
|
|
3234
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3235
|
-
...(input.QueryStatement != null && { QueryStatement: input.QueryStatement }),
|
|
3236
|
-
...(input.StatementName != null && { StatementName: input.StatementName }),
|
|
3237
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3238
|
-
};
|
|
3239
|
-
};
|
|
3240
|
-
const se_UpdateWorkGroupInput = (input, context) => {
|
|
3241
|
-
return {
|
|
3242
|
-
...(input.ConfigurationUpdates != null && {
|
|
3243
|
-
ConfigurationUpdates: se_WorkGroupConfigurationUpdates(input.ConfigurationUpdates, context),
|
|
3244
|
-
}),
|
|
3245
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3246
|
-
...(input.State != null && { State: input.State }),
|
|
3247
|
-
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
3248
|
-
};
|
|
3249
|
-
};
|
|
3250
|
-
const se_WorkGroupConfiguration = (input, context) => {
|
|
3251
|
-
return {
|
|
3252
|
-
...(input.AdditionalConfiguration != null && { AdditionalConfiguration: input.AdditionalConfiguration }),
|
|
3253
|
-
...(input.BytesScannedCutoffPerQuery != null && { BytesScannedCutoffPerQuery: input.BytesScannedCutoffPerQuery }),
|
|
3254
|
-
...(input.CustomerContentEncryptionConfiguration != null && {
|
|
3255
|
-
CustomerContentEncryptionConfiguration: se_CustomerContentEncryptionConfiguration(input.CustomerContentEncryptionConfiguration, context),
|
|
3256
|
-
}),
|
|
3257
|
-
...(input.EnableMinimumEncryptionConfiguration != null && {
|
|
3258
|
-
EnableMinimumEncryptionConfiguration: input.EnableMinimumEncryptionConfiguration,
|
|
3259
|
-
}),
|
|
3260
|
-
...(input.EnforceWorkGroupConfiguration != null && {
|
|
3261
|
-
EnforceWorkGroupConfiguration: input.EnforceWorkGroupConfiguration,
|
|
3262
|
-
}),
|
|
3263
|
-
...(input.EngineVersion != null && { EngineVersion: se_EngineVersion(input.EngineVersion, context) }),
|
|
3264
|
-
...(input.ExecutionRole != null && { ExecutionRole: input.ExecutionRole }),
|
|
3265
|
-
...(input.PublishCloudWatchMetricsEnabled != null && {
|
|
3266
|
-
PublishCloudWatchMetricsEnabled: input.PublishCloudWatchMetricsEnabled,
|
|
3267
|
-
}),
|
|
3268
|
-
...(input.RequesterPaysEnabled != null && { RequesterPaysEnabled: input.RequesterPaysEnabled }),
|
|
3269
|
-
...(input.ResultConfiguration != null && {
|
|
3270
|
-
ResultConfiguration: se_ResultConfiguration(input.ResultConfiguration, context),
|
|
3271
|
-
}),
|
|
3272
|
-
};
|
|
3273
|
-
};
|
|
3274
|
-
const se_WorkGroupConfigurationUpdates = (input, context) => {
|
|
3275
|
-
return {
|
|
3276
|
-
...(input.AdditionalConfiguration != null && { AdditionalConfiguration: input.AdditionalConfiguration }),
|
|
3277
|
-
...(input.BytesScannedCutoffPerQuery != null && { BytesScannedCutoffPerQuery: input.BytesScannedCutoffPerQuery }),
|
|
3278
|
-
...(input.CustomerContentEncryptionConfiguration != null && {
|
|
3279
|
-
CustomerContentEncryptionConfiguration: se_CustomerContentEncryptionConfiguration(input.CustomerContentEncryptionConfiguration, context),
|
|
3280
|
-
}),
|
|
3281
|
-
...(input.EnableMinimumEncryptionConfiguration != null && {
|
|
3282
|
-
EnableMinimumEncryptionConfiguration: input.EnableMinimumEncryptionConfiguration,
|
|
3283
|
-
}),
|
|
3284
|
-
...(input.EnforceWorkGroupConfiguration != null && {
|
|
3285
|
-
EnforceWorkGroupConfiguration: input.EnforceWorkGroupConfiguration,
|
|
3286
|
-
}),
|
|
3287
|
-
...(input.EngineVersion != null && { EngineVersion: se_EngineVersion(input.EngineVersion, context) }),
|
|
3288
|
-
...(input.ExecutionRole != null && { ExecutionRole: input.ExecutionRole }),
|
|
3289
|
-
...(input.PublishCloudWatchMetricsEnabled != null && {
|
|
3290
|
-
PublishCloudWatchMetricsEnabled: input.PublishCloudWatchMetricsEnabled,
|
|
3291
|
-
}),
|
|
3292
|
-
...(input.RemoveBytesScannedCutoffPerQuery != null && {
|
|
3293
|
-
RemoveBytesScannedCutoffPerQuery: input.RemoveBytesScannedCutoffPerQuery,
|
|
3294
|
-
}),
|
|
3295
|
-
...(input.RemoveCustomerContentEncryptionConfiguration != null && {
|
|
3296
|
-
RemoveCustomerContentEncryptionConfiguration: input.RemoveCustomerContentEncryptionConfiguration,
|
|
3297
|
-
}),
|
|
3298
|
-
...(input.RequesterPaysEnabled != null && { RequesterPaysEnabled: input.RequesterPaysEnabled }),
|
|
3299
|
-
...(input.ResultConfigurationUpdates != null && {
|
|
3300
|
-
ResultConfigurationUpdates: se_ResultConfigurationUpdates(input.ResultConfigurationUpdates, context),
|
|
3301
|
-
}),
|
|
3302
|
-
};
|
|
3303
|
-
};
|
|
3304
|
-
const de_AclConfiguration = (output, context) => {
|
|
3305
|
-
return {
|
|
3306
|
-
S3AclOption: __expectString(output.S3AclOption),
|
|
3307
|
-
};
|
|
3308
|
-
};
|
|
3309
|
-
const de_ApplicationDPUSizes = (output, context) => {
|
|
3310
|
-
return {
|
|
3311
|
-
ApplicationRuntimeId: __expectString(output.ApplicationRuntimeId),
|
|
3312
|
-
SupportedDPUSizes: output.SupportedDPUSizes != null ? de_SupportedDPUSizeList(output.SupportedDPUSizes, context) : undefined,
|
|
3313
|
-
};
|
|
3314
|
-
};
|
|
3315
|
-
const de_ApplicationDPUSizesList = (output, context) => {
|
|
3316
|
-
const retVal = (output || [])
|
|
3317
|
-
.filter((e) => e != null)
|
|
3318
|
-
.map((entry) => {
|
|
3319
|
-
if (entry === null) {
|
|
3320
|
-
return null;
|
|
3321
|
-
}
|
|
3322
|
-
return de_ApplicationDPUSizes(entry, context);
|
|
2657
|
+
const se_StopQueryExecutionInput = (input, context) => {
|
|
2658
|
+
return take(input, {
|
|
2659
|
+
QueryExecutionId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
3323
2660
|
});
|
|
3324
|
-
return retVal;
|
|
3325
|
-
};
|
|
3326
|
-
const de_AthenaError = (output, context) => {
|
|
3327
|
-
return {
|
|
3328
|
-
ErrorCategory: __expectInt32(output.ErrorCategory),
|
|
3329
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
3330
|
-
ErrorType: __expectInt32(output.ErrorType),
|
|
3331
|
-
Retryable: __expectBoolean(output.Retryable),
|
|
3332
|
-
};
|
|
3333
|
-
};
|
|
3334
|
-
const de_BatchGetNamedQueryOutput = (output, context) => {
|
|
3335
|
-
return {
|
|
3336
|
-
NamedQueries: output.NamedQueries != null ? de_NamedQueryList(output.NamedQueries, context) : undefined,
|
|
3337
|
-
UnprocessedNamedQueryIds: output.UnprocessedNamedQueryIds != null
|
|
3338
|
-
? de_UnprocessedNamedQueryIdList(output.UnprocessedNamedQueryIds, context)
|
|
3339
|
-
: undefined,
|
|
3340
|
-
};
|
|
3341
2661
|
};
|
|
3342
2662
|
const de_BatchGetPreparedStatementOutput = (output, context) => {
|
|
3343
|
-
return {
|
|
3344
|
-
PreparedStatements:
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
UnprocessedPreparedStatementNames: output.UnprocessedPreparedStatementNames != null
|
|
3348
|
-
? de_UnprocessedPreparedStatementNameList(output.UnprocessedPreparedStatementNames, context)
|
|
3349
|
-
: undefined,
|
|
3350
|
-
};
|
|
2663
|
+
return take(output, {
|
|
2664
|
+
PreparedStatements: (_) => de_PreparedStatementDetailsList(_, context),
|
|
2665
|
+
UnprocessedPreparedStatementNames: _json,
|
|
2666
|
+
});
|
|
3351
2667
|
};
|
|
3352
2668
|
const de_BatchGetQueryExecutionOutput = (output, context) => {
|
|
3353
|
-
return {
|
|
3354
|
-
QueryExecutions:
|
|
3355
|
-
UnprocessedQueryExecutionIds:
|
|
3356
|
-
|
|
3357
|
-
: undefined,
|
|
3358
|
-
};
|
|
3359
|
-
};
|
|
3360
|
-
const de_CalculationResult = (output, context) => {
|
|
3361
|
-
return {
|
|
3362
|
-
ResultS3Uri: __expectString(output.ResultS3Uri),
|
|
3363
|
-
ResultType: __expectString(output.ResultType),
|
|
3364
|
-
StdErrorS3Uri: __expectString(output.StdErrorS3Uri),
|
|
3365
|
-
StdOutS3Uri: __expectString(output.StdOutS3Uri),
|
|
3366
|
-
};
|
|
2669
|
+
return take(output, {
|
|
2670
|
+
QueryExecutions: (_) => de_QueryExecutionList(_, context),
|
|
2671
|
+
UnprocessedQueryExecutionIds: _json,
|
|
2672
|
+
});
|
|
3367
2673
|
};
|
|
3368
2674
|
const de_CalculationsList = (output, context) => {
|
|
3369
2675
|
const retVal = (output || [])
|
|
3370
2676
|
.filter((e) => e != null)
|
|
3371
2677
|
.map((entry) => {
|
|
3372
|
-
if (entry === null) {
|
|
3373
|
-
return null;
|
|
3374
|
-
}
|
|
3375
2678
|
return de_CalculationSummary(entry, context);
|
|
3376
2679
|
});
|
|
3377
2680
|
return retVal;
|
|
3378
2681
|
};
|
|
3379
|
-
const de_CalculationStatistics = (output, context) => {
|
|
3380
|
-
return {
|
|
3381
|
-
DpuExecutionInMillis: __expectLong(output.DpuExecutionInMillis),
|
|
3382
|
-
Progress: __expectString(output.Progress),
|
|
3383
|
-
};
|
|
3384
|
-
};
|
|
3385
2682
|
const de_CalculationStatus = (output, context) => {
|
|
3386
|
-
return {
|
|
3387
|
-
CompletionDateTime:
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
StateChangeReason: __expectString(output.StateChangeReason),
|
|
3392
|
-
SubmissionDateTime: output.SubmissionDateTime != null
|
|
3393
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SubmissionDateTime)))
|
|
3394
|
-
: undefined,
|
|
3395
|
-
};
|
|
3396
|
-
};
|
|
3397
|
-
const de_CalculationSummary = (output, context) => {
|
|
3398
|
-
return {
|
|
3399
|
-
CalculationExecutionId: __expectString(output.CalculationExecutionId),
|
|
3400
|
-
Description: __expectString(output.Description),
|
|
3401
|
-
Status: output.Status != null ? de_CalculationStatus(output.Status, context) : undefined,
|
|
3402
|
-
};
|
|
3403
|
-
};
|
|
3404
|
-
const de_Column = (output, context) => {
|
|
3405
|
-
return {
|
|
3406
|
-
Comment: __expectString(output.Comment),
|
|
3407
|
-
Name: __expectString(output.Name),
|
|
3408
|
-
Type: __expectString(output.Type),
|
|
3409
|
-
};
|
|
3410
|
-
};
|
|
3411
|
-
const de_ColumnInfo = (output, context) => {
|
|
3412
|
-
return {
|
|
3413
|
-
CaseSensitive: __expectBoolean(output.CaseSensitive),
|
|
3414
|
-
CatalogName: __expectString(output.CatalogName),
|
|
3415
|
-
Label: __expectString(output.Label),
|
|
3416
|
-
Name: __expectString(output.Name),
|
|
3417
|
-
Nullable: __expectString(output.Nullable),
|
|
3418
|
-
Precision: __expectInt32(output.Precision),
|
|
3419
|
-
Scale: __expectInt32(output.Scale),
|
|
3420
|
-
SchemaName: __expectString(output.SchemaName),
|
|
3421
|
-
TableName: __expectString(output.TableName),
|
|
3422
|
-
Type: __expectString(output.Type),
|
|
3423
|
-
};
|
|
3424
|
-
};
|
|
3425
|
-
const de_ColumnInfoList = (output, context) => {
|
|
3426
|
-
const retVal = (output || [])
|
|
3427
|
-
.filter((e) => e != null)
|
|
3428
|
-
.map((entry) => {
|
|
3429
|
-
if (entry === null) {
|
|
3430
|
-
return null;
|
|
3431
|
-
}
|
|
3432
|
-
return de_ColumnInfo(entry, context);
|
|
3433
|
-
});
|
|
3434
|
-
return retVal;
|
|
3435
|
-
};
|
|
3436
|
-
const de_ColumnList = (output, context) => {
|
|
3437
|
-
const retVal = (output || [])
|
|
3438
|
-
.filter((e) => e != null)
|
|
3439
|
-
.map((entry) => {
|
|
3440
|
-
if (entry === null) {
|
|
3441
|
-
return null;
|
|
3442
|
-
}
|
|
3443
|
-
return de_Column(entry, context);
|
|
3444
|
-
});
|
|
3445
|
-
return retVal;
|
|
3446
|
-
};
|
|
3447
|
-
const de_CreateDataCatalogOutput = (output, context) => {
|
|
3448
|
-
return {};
|
|
3449
|
-
};
|
|
3450
|
-
const de_CreateNamedQueryOutput = (output, context) => {
|
|
3451
|
-
return {
|
|
3452
|
-
NamedQueryId: __expectString(output.NamedQueryId),
|
|
3453
|
-
};
|
|
3454
|
-
};
|
|
3455
|
-
const de_CreateNotebookOutput = (output, context) => {
|
|
3456
|
-
return {
|
|
3457
|
-
NotebookId: __expectString(output.NotebookId),
|
|
3458
|
-
};
|
|
3459
|
-
};
|
|
3460
|
-
const de_CreatePreparedStatementOutput = (output, context) => {
|
|
3461
|
-
return {};
|
|
3462
|
-
};
|
|
3463
|
-
const de_CreatePresignedNotebookUrlResponse = (output, context) => {
|
|
3464
|
-
return {
|
|
3465
|
-
AuthToken: __expectString(output.AuthToken),
|
|
3466
|
-
AuthTokenExpirationTime: __expectLong(output.AuthTokenExpirationTime),
|
|
3467
|
-
NotebookUrl: __expectString(output.NotebookUrl),
|
|
3468
|
-
};
|
|
3469
|
-
};
|
|
3470
|
-
const de_CreateWorkGroupOutput = (output, context) => {
|
|
3471
|
-
return {};
|
|
3472
|
-
};
|
|
3473
|
-
const de_CustomerContentEncryptionConfiguration = (output, context) => {
|
|
3474
|
-
return {
|
|
3475
|
-
KmsKey: __expectString(output.KmsKey),
|
|
3476
|
-
};
|
|
3477
|
-
};
|
|
3478
|
-
const de_Database = (output, context) => {
|
|
3479
|
-
return {
|
|
3480
|
-
Description: __expectString(output.Description),
|
|
3481
|
-
Name: __expectString(output.Name),
|
|
3482
|
-
Parameters: output.Parameters != null ? de_ParametersMap(output.Parameters, context) : undefined,
|
|
3483
|
-
};
|
|
3484
|
-
};
|
|
3485
|
-
const de_DatabaseList = (output, context) => {
|
|
3486
|
-
const retVal = (output || [])
|
|
3487
|
-
.filter((e) => e != null)
|
|
3488
|
-
.map((entry) => {
|
|
3489
|
-
if (entry === null) {
|
|
3490
|
-
return null;
|
|
3491
|
-
}
|
|
3492
|
-
return de_Database(entry, context);
|
|
3493
|
-
});
|
|
3494
|
-
return retVal;
|
|
3495
|
-
};
|
|
3496
|
-
const de_DataCatalog = (output, context) => {
|
|
3497
|
-
return {
|
|
3498
|
-
Description: __expectString(output.Description),
|
|
3499
|
-
Name: __expectString(output.Name),
|
|
3500
|
-
Parameters: output.Parameters != null ? de_ParametersMap(output.Parameters, context) : undefined,
|
|
3501
|
-
Type: __expectString(output.Type),
|
|
3502
|
-
};
|
|
3503
|
-
};
|
|
3504
|
-
const de_DataCatalogSummary = (output, context) => {
|
|
3505
|
-
return {
|
|
3506
|
-
CatalogName: __expectString(output.CatalogName),
|
|
3507
|
-
Type: __expectString(output.Type),
|
|
3508
|
-
};
|
|
3509
|
-
};
|
|
3510
|
-
const de_DataCatalogSummaryList = (output, context) => {
|
|
3511
|
-
const retVal = (output || [])
|
|
3512
|
-
.filter((e) => e != null)
|
|
3513
|
-
.map((entry) => {
|
|
3514
|
-
if (entry === null) {
|
|
3515
|
-
return null;
|
|
3516
|
-
}
|
|
3517
|
-
return de_DataCatalogSummary(entry, context);
|
|
3518
|
-
});
|
|
3519
|
-
return retVal;
|
|
3520
|
-
};
|
|
3521
|
-
const de_Datum = (output, context) => {
|
|
3522
|
-
return {
|
|
3523
|
-
VarCharValue: __expectString(output.VarCharValue),
|
|
3524
|
-
};
|
|
3525
|
-
};
|
|
3526
|
-
const de_datumList = (output, context) => {
|
|
3527
|
-
const retVal = (output || [])
|
|
3528
|
-
.filter((e) => e != null)
|
|
3529
|
-
.map((entry) => {
|
|
3530
|
-
if (entry === null) {
|
|
3531
|
-
return null;
|
|
3532
|
-
}
|
|
3533
|
-
return de_Datum(entry, context);
|
|
3534
|
-
});
|
|
3535
|
-
return retVal;
|
|
3536
|
-
};
|
|
3537
|
-
const de_DeleteDataCatalogOutput = (output, context) => {
|
|
3538
|
-
return {};
|
|
3539
|
-
};
|
|
3540
|
-
const de_DeleteNamedQueryOutput = (output, context) => {
|
|
3541
|
-
return {};
|
|
3542
|
-
};
|
|
3543
|
-
const de_DeleteNotebookOutput = (output, context) => {
|
|
3544
|
-
return {};
|
|
3545
|
-
};
|
|
3546
|
-
const de_DeletePreparedStatementOutput = (output, context) => {
|
|
3547
|
-
return {};
|
|
3548
|
-
};
|
|
3549
|
-
const de_DeleteWorkGroupOutput = (output, context) => {
|
|
3550
|
-
return {};
|
|
3551
|
-
};
|
|
3552
|
-
const de_EncryptionConfiguration = (output, context) => {
|
|
3553
|
-
return {
|
|
3554
|
-
EncryptionOption: __expectString(output.EncryptionOption),
|
|
3555
|
-
KmsKey: __expectString(output.KmsKey),
|
|
3556
|
-
};
|
|
3557
|
-
};
|
|
3558
|
-
const de_EngineConfiguration = (output, context) => {
|
|
3559
|
-
return {
|
|
3560
|
-
AdditionalConfigs: output.AdditionalConfigs != null ? de_ParametersMap(output.AdditionalConfigs, context) : undefined,
|
|
3561
|
-
CoordinatorDpuSize: __expectInt32(output.CoordinatorDpuSize),
|
|
3562
|
-
DefaultExecutorDpuSize: __expectInt32(output.DefaultExecutorDpuSize),
|
|
3563
|
-
MaxConcurrentDpus: __expectInt32(output.MaxConcurrentDpus),
|
|
3564
|
-
};
|
|
3565
|
-
};
|
|
3566
|
-
const de_EngineVersion = (output, context) => {
|
|
3567
|
-
return {
|
|
3568
|
-
EffectiveEngineVersion: __expectString(output.EffectiveEngineVersion),
|
|
3569
|
-
SelectedEngineVersion: __expectString(output.SelectedEngineVersion),
|
|
3570
|
-
};
|
|
3571
|
-
};
|
|
3572
|
-
const de_EngineVersionsList = (output, context) => {
|
|
3573
|
-
const retVal = (output || [])
|
|
3574
|
-
.filter((e) => e != null)
|
|
3575
|
-
.map((entry) => {
|
|
3576
|
-
if (entry === null) {
|
|
3577
|
-
return null;
|
|
3578
|
-
}
|
|
3579
|
-
return de_EngineVersion(entry, context);
|
|
2683
|
+
return take(output, {
|
|
2684
|
+
CompletionDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2685
|
+
State: __expectString,
|
|
2686
|
+
StateChangeReason: __expectString,
|
|
2687
|
+
SubmissionDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3580
2688
|
});
|
|
3581
|
-
return retVal;
|
|
3582
2689
|
};
|
|
3583
|
-
const
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
return null;
|
|
3589
|
-
}
|
|
3590
|
-
return __expectString(entry);
|
|
3591
|
-
});
|
|
3592
|
-
return retVal;
|
|
3593
|
-
};
|
|
3594
|
-
const de_ExecutorsSummary = (output, context) => {
|
|
3595
|
-
return {
|
|
3596
|
-
ExecutorId: __expectString(output.ExecutorId),
|
|
3597
|
-
ExecutorSize: __expectLong(output.ExecutorSize),
|
|
3598
|
-
ExecutorState: __expectString(output.ExecutorState),
|
|
3599
|
-
ExecutorType: __expectString(output.ExecutorType),
|
|
3600
|
-
StartDateTime: __expectLong(output.StartDateTime),
|
|
3601
|
-
TerminationDateTime: __expectLong(output.TerminationDateTime),
|
|
3602
|
-
};
|
|
3603
|
-
};
|
|
3604
|
-
const de_ExecutorsSummaryList = (output, context) => {
|
|
3605
|
-
const retVal = (output || [])
|
|
3606
|
-
.filter((e) => e != null)
|
|
3607
|
-
.map((entry) => {
|
|
3608
|
-
if (entry === null) {
|
|
3609
|
-
return null;
|
|
3610
|
-
}
|
|
3611
|
-
return de_ExecutorsSummary(entry, context);
|
|
2690
|
+
const de_CalculationSummary = (output, context) => {
|
|
2691
|
+
return take(output, {
|
|
2692
|
+
CalculationExecutionId: __expectString,
|
|
2693
|
+
Description: __expectString,
|
|
2694
|
+
Status: (_) => de_CalculationStatus(_, context),
|
|
3612
2695
|
});
|
|
3613
|
-
return retVal;
|
|
3614
2696
|
};
|
|
3615
2697
|
const de_ExportNotebookOutput = (output, context) => {
|
|
3616
|
-
return {
|
|
3617
|
-
NotebookMetadata:
|
|
3618
|
-
Payload: __expectString
|
|
3619
|
-
};
|
|
3620
|
-
};
|
|
3621
|
-
const de_GetCalculationExecutionCodeResponse = (output, context) => {
|
|
3622
|
-
return {
|
|
3623
|
-
CodeBlock: __expectString(output.CodeBlock),
|
|
3624
|
-
};
|
|
2698
|
+
return take(output, {
|
|
2699
|
+
NotebookMetadata: (_) => de_NotebookMetadata(_, context),
|
|
2700
|
+
Payload: __expectString,
|
|
2701
|
+
});
|
|
3625
2702
|
};
|
|
3626
2703
|
const de_GetCalculationExecutionResponse = (output, context) => {
|
|
3627
|
-
return {
|
|
3628
|
-
CalculationExecutionId: __expectString
|
|
3629
|
-
Description: __expectString
|
|
3630
|
-
Result:
|
|
3631
|
-
SessionId: __expectString
|
|
3632
|
-
Statistics:
|
|
3633
|
-
Status:
|
|
3634
|
-
WorkingDirectory: __expectString
|
|
3635
|
-
};
|
|
2704
|
+
return take(output, {
|
|
2705
|
+
CalculationExecutionId: __expectString,
|
|
2706
|
+
Description: __expectString,
|
|
2707
|
+
Result: _json,
|
|
2708
|
+
SessionId: __expectString,
|
|
2709
|
+
Statistics: _json,
|
|
2710
|
+
Status: (_) => de_CalculationStatus(_, context),
|
|
2711
|
+
WorkingDirectory: __expectString,
|
|
2712
|
+
});
|
|
3636
2713
|
};
|
|
3637
2714
|
const de_GetCalculationExecutionStatusResponse = (output, context) => {
|
|
3638
|
-
return {
|
|
3639
|
-
Statistics:
|
|
3640
|
-
Status:
|
|
3641
|
-
};
|
|
3642
|
-
};
|
|
3643
|
-
const de_GetDatabaseOutput = (output, context) => {
|
|
3644
|
-
return {
|
|
3645
|
-
Database: output.Database != null ? de_Database(output.Database, context) : undefined,
|
|
3646
|
-
};
|
|
3647
|
-
};
|
|
3648
|
-
const de_GetDataCatalogOutput = (output, context) => {
|
|
3649
|
-
return {
|
|
3650
|
-
DataCatalog: output.DataCatalog != null ? de_DataCatalog(output.DataCatalog, context) : undefined,
|
|
3651
|
-
};
|
|
3652
|
-
};
|
|
3653
|
-
const de_GetNamedQueryOutput = (output, context) => {
|
|
3654
|
-
return {
|
|
3655
|
-
NamedQuery: output.NamedQuery != null ? de_NamedQuery(output.NamedQuery, context) : undefined,
|
|
3656
|
-
};
|
|
2715
|
+
return take(output, {
|
|
2716
|
+
Statistics: _json,
|
|
2717
|
+
Status: (_) => de_CalculationStatus(_, context),
|
|
2718
|
+
});
|
|
3657
2719
|
};
|
|
3658
2720
|
const de_GetNotebookMetadataOutput = (output, context) => {
|
|
3659
|
-
return {
|
|
3660
|
-
NotebookMetadata:
|
|
3661
|
-
};
|
|
2721
|
+
return take(output, {
|
|
2722
|
+
NotebookMetadata: (_) => de_NotebookMetadata(_, context),
|
|
2723
|
+
});
|
|
3662
2724
|
};
|
|
3663
2725
|
const de_GetPreparedStatementOutput = (output, context) => {
|
|
3664
|
-
return {
|
|
3665
|
-
PreparedStatement:
|
|
3666
|
-
};
|
|
2726
|
+
return take(output, {
|
|
2727
|
+
PreparedStatement: (_) => de_PreparedStatement(_, context),
|
|
2728
|
+
});
|
|
3667
2729
|
};
|
|
3668
2730
|
const de_GetQueryExecutionOutput = (output, context) => {
|
|
3669
|
-
return {
|
|
3670
|
-
QueryExecution:
|
|
3671
|
-
};
|
|
3672
|
-
};
|
|
3673
|
-
const de_GetQueryResultsOutput = (output, context) => {
|
|
3674
|
-
return {
|
|
3675
|
-
NextToken: __expectString(output.NextToken),
|
|
3676
|
-
ResultSet: output.ResultSet != null ? de_ResultSet(output.ResultSet, context) : undefined,
|
|
3677
|
-
UpdateCount: __expectLong(output.UpdateCount),
|
|
3678
|
-
};
|
|
2731
|
+
return take(output, {
|
|
2732
|
+
QueryExecution: (_) => de_QueryExecution(_, context),
|
|
2733
|
+
});
|
|
3679
2734
|
};
|
|
3680
2735
|
const de_GetQueryRuntimeStatisticsOutput = (output, context) => {
|
|
3681
|
-
return {
|
|
3682
|
-
QueryRuntimeStatistics:
|
|
3683
|
-
|
|
3684
|
-
: undefined,
|
|
3685
|
-
};
|
|
2736
|
+
return take(output, {
|
|
2737
|
+
QueryRuntimeStatistics: (_) => de_QueryRuntimeStatistics(_, context),
|
|
2738
|
+
});
|
|
3686
2739
|
};
|
|
3687
2740
|
const de_GetSessionResponse = (output, context) => {
|
|
3688
|
-
return {
|
|
3689
|
-
Description: __expectString
|
|
3690
|
-
EngineConfiguration:
|
|
3691
|
-
EngineVersion: __expectString
|
|
3692
|
-
NotebookVersion: __expectString
|
|
3693
|
-
SessionConfiguration:
|
|
3694
|
-
SessionId: __expectString
|
|
3695
|
-
Statistics:
|
|
3696
|
-
Status:
|
|
3697
|
-
WorkGroup: __expectString
|
|
3698
|
-
};
|
|
2741
|
+
return take(output, {
|
|
2742
|
+
Description: __expectString,
|
|
2743
|
+
EngineConfiguration: _json,
|
|
2744
|
+
EngineVersion: __expectString,
|
|
2745
|
+
NotebookVersion: __expectString,
|
|
2746
|
+
SessionConfiguration: _json,
|
|
2747
|
+
SessionId: __expectString,
|
|
2748
|
+
Statistics: _json,
|
|
2749
|
+
Status: (_) => de_SessionStatus(_, context),
|
|
2750
|
+
WorkGroup: __expectString,
|
|
2751
|
+
});
|
|
3699
2752
|
};
|
|
3700
2753
|
const de_GetSessionStatusResponse = (output, context) => {
|
|
3701
|
-
return {
|
|
3702
|
-
SessionId: __expectString
|
|
3703
|
-
Status:
|
|
3704
|
-
};
|
|
3705
|
-
};
|
|
3706
|
-
const de_GetTableMetadataOutput = (output, context) => {
|
|
3707
|
-
return {
|
|
3708
|
-
TableMetadata: output.TableMetadata != null ? de_TableMetadata(output.TableMetadata, context) : undefined,
|
|
3709
|
-
};
|
|
3710
|
-
};
|
|
3711
|
-
const de_GetWorkGroupOutput = (output, context) => {
|
|
3712
|
-
return {
|
|
3713
|
-
WorkGroup: output.WorkGroup != null ? de_WorkGroup(output.WorkGroup, context) : undefined,
|
|
3714
|
-
};
|
|
3715
|
-
};
|
|
3716
|
-
const de_ImportNotebookOutput = (output, context) => {
|
|
3717
|
-
return {
|
|
3718
|
-
NotebookId: __expectString(output.NotebookId),
|
|
3719
|
-
};
|
|
3720
|
-
};
|
|
3721
|
-
const de_InternalServerException = (output, context) => {
|
|
3722
|
-
return {
|
|
3723
|
-
Message: __expectString(output.Message),
|
|
3724
|
-
};
|
|
3725
|
-
};
|
|
3726
|
-
const de_InvalidRequestException = (output, context) => {
|
|
3727
|
-
return {
|
|
3728
|
-
AthenaErrorCode: __expectString(output.AthenaErrorCode),
|
|
3729
|
-
Message: __expectString(output.Message),
|
|
3730
|
-
};
|
|
3731
|
-
};
|
|
3732
|
-
const de_ListApplicationDPUSizesOutput = (output, context) => {
|
|
3733
|
-
return {
|
|
3734
|
-
ApplicationDPUSizes: output.ApplicationDPUSizes != null ? de_ApplicationDPUSizesList(output.ApplicationDPUSizes, context) : undefined,
|
|
3735
|
-
NextToken: __expectString(output.NextToken),
|
|
3736
|
-
};
|
|
3737
|
-
};
|
|
3738
|
-
const de_ListCalculationExecutionsResponse = (output, context) => {
|
|
3739
|
-
return {
|
|
3740
|
-
Calculations: output.Calculations != null ? de_CalculationsList(output.Calculations, context) : undefined,
|
|
3741
|
-
NextToken: __expectString(output.NextToken),
|
|
3742
|
-
};
|
|
3743
|
-
};
|
|
3744
|
-
const de_ListDatabasesOutput = (output, context) => {
|
|
3745
|
-
return {
|
|
3746
|
-
DatabaseList: output.DatabaseList != null ? de_DatabaseList(output.DatabaseList, context) : undefined,
|
|
3747
|
-
NextToken: __expectString(output.NextToken),
|
|
3748
|
-
};
|
|
3749
|
-
};
|
|
3750
|
-
const de_ListDataCatalogsOutput = (output, context) => {
|
|
3751
|
-
return {
|
|
3752
|
-
DataCatalogsSummary: output.DataCatalogsSummary != null ? de_DataCatalogSummaryList(output.DataCatalogsSummary, context) : undefined,
|
|
3753
|
-
NextToken: __expectString(output.NextToken),
|
|
3754
|
-
};
|
|
2754
|
+
return take(output, {
|
|
2755
|
+
SessionId: __expectString,
|
|
2756
|
+
Status: (_) => de_SessionStatus(_, context),
|
|
2757
|
+
});
|
|
3755
2758
|
};
|
|
3756
|
-
const
|
|
3757
|
-
return {
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
};
|
|
2759
|
+
const de_GetTableMetadataOutput = (output, context) => {
|
|
2760
|
+
return take(output, {
|
|
2761
|
+
TableMetadata: (_) => de_TableMetadata(_, context),
|
|
2762
|
+
});
|
|
3761
2763
|
};
|
|
3762
|
-
const
|
|
3763
|
-
return {
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
SessionId: __expectString(output.SessionId),
|
|
3767
|
-
};
|
|
2764
|
+
const de_GetWorkGroupOutput = (output, context) => {
|
|
2765
|
+
return take(output, {
|
|
2766
|
+
WorkGroup: (_) => de_WorkGroup(_, context),
|
|
2767
|
+
});
|
|
3768
2768
|
};
|
|
3769
|
-
const
|
|
3770
|
-
return {
|
|
3771
|
-
|
|
3772
|
-
NextToken: __expectString
|
|
3773
|
-
};
|
|
2769
|
+
const de_ListCalculationExecutionsResponse = (output, context) => {
|
|
2770
|
+
return take(output, {
|
|
2771
|
+
Calculations: (_) => de_CalculationsList(_, context),
|
|
2772
|
+
NextToken: __expectString,
|
|
2773
|
+
});
|
|
3774
2774
|
};
|
|
3775
2775
|
const de_ListNotebookMetadataOutput = (output, context) => {
|
|
3776
|
-
return {
|
|
3777
|
-
NextToken: __expectString
|
|
3778
|
-
NotebookMetadataList:
|
|
3779
|
-
};
|
|
2776
|
+
return take(output, {
|
|
2777
|
+
NextToken: __expectString,
|
|
2778
|
+
NotebookMetadataList: (_) => de_NotebookMetadataArray(_, context),
|
|
2779
|
+
});
|
|
3780
2780
|
};
|
|
3781
2781
|
const de_ListNotebookSessionsResponse = (output, context) => {
|
|
3782
|
-
return {
|
|
3783
|
-
NextToken: __expectString
|
|
3784
|
-
NotebookSessionsList:
|
|
3785
|
-
};
|
|
2782
|
+
return take(output, {
|
|
2783
|
+
NextToken: __expectString,
|
|
2784
|
+
NotebookSessionsList: (_) => de_NotebookSessionsList(_, context),
|
|
2785
|
+
});
|
|
3786
2786
|
};
|
|
3787
2787
|
const de_ListPreparedStatementsOutput = (output, context) => {
|
|
3788
|
-
return {
|
|
3789
|
-
NextToken: __expectString
|
|
3790
|
-
PreparedStatements:
|
|
3791
|
-
};
|
|
3792
|
-
};
|
|
3793
|
-
const de_ListQueryExecutionsOutput = (output, context) => {
|
|
3794
|
-
return {
|
|
3795
|
-
NextToken: __expectString(output.NextToken),
|
|
3796
|
-
QueryExecutionIds: output.QueryExecutionIds != null ? de_QueryExecutionIdList(output.QueryExecutionIds, context) : undefined,
|
|
3797
|
-
};
|
|
2788
|
+
return take(output, {
|
|
2789
|
+
NextToken: __expectString,
|
|
2790
|
+
PreparedStatements: (_) => de_PreparedStatementsList(_, context),
|
|
2791
|
+
});
|
|
3798
2792
|
};
|
|
3799
2793
|
const de_ListSessionsResponse = (output, context) => {
|
|
3800
|
-
return {
|
|
3801
|
-
NextToken: __expectString
|
|
3802
|
-
Sessions:
|
|
3803
|
-
};
|
|
2794
|
+
return take(output, {
|
|
2795
|
+
NextToken: __expectString,
|
|
2796
|
+
Sessions: (_) => de_SessionsList(_, context),
|
|
2797
|
+
});
|
|
3804
2798
|
};
|
|
3805
2799
|
const de_ListTableMetadataOutput = (output, context) => {
|
|
3806
|
-
return {
|
|
3807
|
-
NextToken: __expectString
|
|
3808
|
-
TableMetadataList:
|
|
3809
|
-
};
|
|
3810
|
-
};
|
|
3811
|
-
const de_ListTagsForResourceOutput = (output, context) => {
|
|
3812
|
-
return {
|
|
3813
|
-
NextToken: __expectString(output.NextToken),
|
|
3814
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
3815
|
-
};
|
|
3816
|
-
};
|
|
3817
|
-
const de_ListWorkGroupsOutput = (output, context) => {
|
|
3818
|
-
return {
|
|
3819
|
-
NextToken: __expectString(output.NextToken),
|
|
3820
|
-
WorkGroups: output.WorkGroups != null ? de_WorkGroupsList(output.WorkGroups, context) : undefined,
|
|
3821
|
-
};
|
|
3822
|
-
};
|
|
3823
|
-
const de_MetadataException = (output, context) => {
|
|
3824
|
-
return {
|
|
3825
|
-
Message: __expectString(output.Message),
|
|
3826
|
-
};
|
|
3827
|
-
};
|
|
3828
|
-
const de_NamedQuery = (output, context) => {
|
|
3829
|
-
return {
|
|
3830
|
-
Database: __expectString(output.Database),
|
|
3831
|
-
Description: __expectString(output.Description),
|
|
3832
|
-
Name: __expectString(output.Name),
|
|
3833
|
-
NamedQueryId: __expectString(output.NamedQueryId),
|
|
3834
|
-
QueryString: __expectString(output.QueryString),
|
|
3835
|
-
WorkGroup: __expectString(output.WorkGroup),
|
|
3836
|
-
};
|
|
3837
|
-
};
|
|
3838
|
-
const de_NamedQueryIdList = (output, context) => {
|
|
3839
|
-
const retVal = (output || [])
|
|
3840
|
-
.filter((e) => e != null)
|
|
3841
|
-
.map((entry) => {
|
|
3842
|
-
if (entry === null) {
|
|
3843
|
-
return null;
|
|
3844
|
-
}
|
|
3845
|
-
return __expectString(entry);
|
|
2800
|
+
return take(output, {
|
|
2801
|
+
NextToken: __expectString,
|
|
2802
|
+
TableMetadataList: (_) => de_TableMetadataList(_, context),
|
|
3846
2803
|
});
|
|
3847
|
-
return retVal;
|
|
3848
2804
|
};
|
|
3849
|
-
const
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
if (entry === null) {
|
|
3854
|
-
return null;
|
|
3855
|
-
}
|
|
3856
|
-
return de_NamedQuery(entry, context);
|
|
2805
|
+
const de_ListWorkGroupsOutput = (output, context) => {
|
|
2806
|
+
return take(output, {
|
|
2807
|
+
NextToken: __expectString,
|
|
2808
|
+
WorkGroups: (_) => de_WorkGroupsList(_, context),
|
|
3857
2809
|
});
|
|
3858
|
-
return retVal;
|
|
3859
2810
|
};
|
|
3860
2811
|
const de_NotebookMetadata = (output, context) => {
|
|
3861
|
-
return {
|
|
3862
|
-
CreationTime:
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
NotebookId: __expectString(output.NotebookId),
|
|
3870
|
-
Type: __expectString(output.Type),
|
|
3871
|
-
WorkGroup: __expectString(output.WorkGroup),
|
|
3872
|
-
};
|
|
2812
|
+
return take(output, {
|
|
2813
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2814
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2815
|
+
Name: __expectString,
|
|
2816
|
+
NotebookId: __expectString,
|
|
2817
|
+
Type: __expectString,
|
|
2818
|
+
WorkGroup: __expectString,
|
|
2819
|
+
});
|
|
3873
2820
|
};
|
|
3874
2821
|
const de_NotebookMetadataArray = (output, context) => {
|
|
3875
2822
|
const retVal = (output || [])
|
|
3876
2823
|
.filter((e) => e != null)
|
|
3877
2824
|
.map((entry) => {
|
|
3878
|
-
if (entry === null) {
|
|
3879
|
-
return null;
|
|
3880
|
-
}
|
|
3881
2825
|
return de_NotebookMetadata(entry, context);
|
|
3882
2826
|
});
|
|
3883
2827
|
return retVal;
|
|
@@ -3886,48 +2830,29 @@ const de_NotebookSessionsList = (output, context) => {
|
|
|
3886
2830
|
const retVal = (output || [])
|
|
3887
2831
|
.filter((e) => e != null)
|
|
3888
2832
|
.map((entry) => {
|
|
3889
|
-
if (entry === null) {
|
|
3890
|
-
return null;
|
|
3891
|
-
}
|
|
3892
2833
|
return de_NotebookSessionSummary(entry, context);
|
|
3893
2834
|
});
|
|
3894
2835
|
return retVal;
|
|
3895
2836
|
};
|
|
3896
2837
|
const de_NotebookSessionSummary = (output, context) => {
|
|
3897
|
-
return {
|
|
3898
|
-
CreationTime:
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
SessionId: __expectString(output.SessionId),
|
|
3902
|
-
};
|
|
3903
|
-
};
|
|
3904
|
-
const de_ParametersMap = (output, context) => {
|
|
3905
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3906
|
-
if (value === null) {
|
|
3907
|
-
return acc;
|
|
3908
|
-
}
|
|
3909
|
-
acc[key] = __expectString(value);
|
|
3910
|
-
return acc;
|
|
3911
|
-
}, {});
|
|
2838
|
+
return take(output, {
|
|
2839
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2840
|
+
SessionId: __expectString,
|
|
2841
|
+
});
|
|
3912
2842
|
};
|
|
3913
2843
|
const de_PreparedStatement = (output, context) => {
|
|
3914
|
-
return {
|
|
3915
|
-
Description: __expectString
|
|
3916
|
-
LastModifiedTime:
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
WorkGroupName: __expectString(output.WorkGroupName),
|
|
3922
|
-
};
|
|
2844
|
+
return take(output, {
|
|
2845
|
+
Description: __expectString,
|
|
2846
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2847
|
+
QueryStatement: __expectString,
|
|
2848
|
+
StatementName: __expectString,
|
|
2849
|
+
WorkGroupName: __expectString,
|
|
2850
|
+
});
|
|
3923
2851
|
};
|
|
3924
2852
|
const de_PreparedStatementDetailsList = (output, context) => {
|
|
3925
2853
|
const retVal = (output || [])
|
|
3926
2854
|
.filter((e) => e != null)
|
|
3927
2855
|
.map((entry) => {
|
|
3928
|
-
if (entry === null) {
|
|
3929
|
-
return null;
|
|
3930
|
-
}
|
|
3931
2856
|
return de_PreparedStatement(entry, context);
|
|
3932
2857
|
});
|
|
3933
2858
|
return retVal;
|
|
@@ -3936,148 +2861,81 @@ const de_PreparedStatementsList = (output, context) => {
|
|
|
3936
2861
|
const retVal = (output || [])
|
|
3937
2862
|
.filter((e) => e != null)
|
|
3938
2863
|
.map((entry) => {
|
|
3939
|
-
if (entry === null) {
|
|
3940
|
-
return null;
|
|
3941
|
-
}
|
|
3942
2864
|
return de_PreparedStatementSummary(entry, context);
|
|
3943
2865
|
});
|
|
3944
2866
|
return retVal;
|
|
3945
2867
|
};
|
|
3946
2868
|
const de_PreparedStatementSummary = (output, context) => {
|
|
3947
|
-
return {
|
|
3948
|
-
LastModifiedTime:
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
StatementName: __expectString(output.StatementName),
|
|
3952
|
-
};
|
|
2869
|
+
return take(output, {
|
|
2870
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2871
|
+
StatementName: __expectString,
|
|
2872
|
+
});
|
|
3953
2873
|
};
|
|
3954
2874
|
const de_QueryExecution = (output, context) => {
|
|
3955
|
-
return {
|
|
3956
|
-
EngineVersion:
|
|
3957
|
-
ExecutionParameters:
|
|
3958
|
-
Query: __expectString
|
|
3959
|
-
QueryExecutionContext:
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
Statistics: output.Statistics != null ? de_QueryExecutionStatistics(output.Statistics, context) : undefined,
|
|
3969
|
-
Status: output.Status != null ? de_QueryExecutionStatus(output.Status, context) : undefined,
|
|
3970
|
-
SubstatementType: __expectString(output.SubstatementType),
|
|
3971
|
-
WorkGroup: __expectString(output.WorkGroup),
|
|
3972
|
-
};
|
|
3973
|
-
};
|
|
3974
|
-
const de_QueryExecutionContext = (output, context) => {
|
|
3975
|
-
return {
|
|
3976
|
-
Catalog: __expectString(output.Catalog),
|
|
3977
|
-
Database: __expectString(output.Database),
|
|
3978
|
-
};
|
|
3979
|
-
};
|
|
3980
|
-
const de_QueryExecutionIdList = (output, context) => {
|
|
3981
|
-
const retVal = (output || [])
|
|
3982
|
-
.filter((e) => e != null)
|
|
3983
|
-
.map((entry) => {
|
|
3984
|
-
if (entry === null) {
|
|
3985
|
-
return null;
|
|
3986
|
-
}
|
|
3987
|
-
return __expectString(entry);
|
|
2875
|
+
return take(output, {
|
|
2876
|
+
EngineVersion: _json,
|
|
2877
|
+
ExecutionParameters: _json,
|
|
2878
|
+
Query: __expectString,
|
|
2879
|
+
QueryExecutionContext: _json,
|
|
2880
|
+
QueryExecutionId: __expectString,
|
|
2881
|
+
ResultConfiguration: _json,
|
|
2882
|
+
ResultReuseConfiguration: _json,
|
|
2883
|
+
StatementType: __expectString,
|
|
2884
|
+
Statistics: _json,
|
|
2885
|
+
Status: (_) => de_QueryExecutionStatus(_, context),
|
|
2886
|
+
SubstatementType: __expectString,
|
|
2887
|
+
WorkGroup: __expectString,
|
|
3988
2888
|
});
|
|
3989
|
-
return retVal;
|
|
3990
2889
|
};
|
|
3991
2890
|
const de_QueryExecutionList = (output, context) => {
|
|
3992
2891
|
const retVal = (output || [])
|
|
3993
2892
|
.filter((e) => e != null)
|
|
3994
2893
|
.map((entry) => {
|
|
3995
|
-
if (entry === null) {
|
|
3996
|
-
return null;
|
|
3997
|
-
}
|
|
3998
2894
|
return de_QueryExecution(entry, context);
|
|
3999
2895
|
});
|
|
4000
2896
|
return retVal;
|
|
4001
2897
|
};
|
|
4002
|
-
const de_QueryExecutionStatistics = (output, context) => {
|
|
4003
|
-
return {
|
|
4004
|
-
DataManifestLocation: __expectString(output.DataManifestLocation),
|
|
4005
|
-
DataScannedInBytes: __expectLong(output.DataScannedInBytes),
|
|
4006
|
-
EngineExecutionTimeInMillis: __expectLong(output.EngineExecutionTimeInMillis),
|
|
4007
|
-
QueryPlanningTimeInMillis: __expectLong(output.QueryPlanningTimeInMillis),
|
|
4008
|
-
QueryQueueTimeInMillis: __expectLong(output.QueryQueueTimeInMillis),
|
|
4009
|
-
ResultReuseInformation: output.ResultReuseInformation != null
|
|
4010
|
-
? de_ResultReuseInformation(output.ResultReuseInformation, context)
|
|
4011
|
-
: undefined,
|
|
4012
|
-
ServiceProcessingTimeInMillis: __expectLong(output.ServiceProcessingTimeInMillis),
|
|
4013
|
-
TotalExecutionTimeInMillis: __expectLong(output.TotalExecutionTimeInMillis),
|
|
4014
|
-
};
|
|
4015
|
-
};
|
|
4016
2898
|
const de_QueryExecutionStatus = (output, context) => {
|
|
4017
|
-
return {
|
|
4018
|
-
AthenaError:
|
|
4019
|
-
CompletionDateTime:
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
SubmissionDateTime: output.SubmissionDateTime != null
|
|
4025
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SubmissionDateTime)))
|
|
4026
|
-
: undefined,
|
|
4027
|
-
};
|
|
2899
|
+
return take(output, {
|
|
2900
|
+
AthenaError: _json,
|
|
2901
|
+
CompletionDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2902
|
+
State: __expectString,
|
|
2903
|
+
StateChangeReason: __expectString,
|
|
2904
|
+
SubmissionDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2905
|
+
});
|
|
4028
2906
|
};
|
|
4029
2907
|
const de_QueryRuntimeStatistics = (output, context) => {
|
|
4030
|
-
return {
|
|
4031
|
-
OutputStage:
|
|
4032
|
-
Rows:
|
|
4033
|
-
Timeline:
|
|
4034
|
-
};
|
|
4035
|
-
};
|
|
4036
|
-
const de_QueryRuntimeStatisticsRows = (output, context) => {
|
|
4037
|
-
return {
|
|
4038
|
-
InputBytes: __expectLong(output.InputBytes),
|
|
4039
|
-
InputRows: __expectLong(output.InputRows),
|
|
4040
|
-
OutputBytes: __expectLong(output.OutputBytes),
|
|
4041
|
-
OutputRows: __expectLong(output.OutputRows),
|
|
4042
|
-
};
|
|
4043
|
-
};
|
|
4044
|
-
const de_QueryRuntimeStatisticsTimeline = (output, context) => {
|
|
4045
|
-
return {
|
|
4046
|
-
EngineExecutionTimeInMillis: __expectLong(output.EngineExecutionTimeInMillis),
|
|
4047
|
-
QueryPlanningTimeInMillis: __expectLong(output.QueryPlanningTimeInMillis),
|
|
4048
|
-
QueryQueueTimeInMillis: __expectLong(output.QueryQueueTimeInMillis),
|
|
4049
|
-
ServiceProcessingTimeInMillis: __expectLong(output.ServiceProcessingTimeInMillis),
|
|
4050
|
-
TotalExecutionTimeInMillis: __expectLong(output.TotalExecutionTimeInMillis),
|
|
4051
|
-
};
|
|
2908
|
+
return take(output, {
|
|
2909
|
+
OutputStage: (_) => de_QueryStage(_, context),
|
|
2910
|
+
Rows: _json,
|
|
2911
|
+
Timeline: _json,
|
|
2912
|
+
});
|
|
4052
2913
|
};
|
|
4053
2914
|
const de_QueryStage = (output, context) => {
|
|
4054
|
-
return {
|
|
4055
|
-
ExecutionTime: __expectLong
|
|
4056
|
-
InputBytes: __expectLong
|
|
4057
|
-
InputRows: __expectLong
|
|
4058
|
-
OutputBytes: __expectLong
|
|
4059
|
-
OutputRows: __expectLong
|
|
4060
|
-
QueryStagePlan:
|
|
4061
|
-
StageId: __expectLong
|
|
4062
|
-
State: __expectString
|
|
4063
|
-
SubStages:
|
|
4064
|
-
};
|
|
2915
|
+
return take(output, {
|
|
2916
|
+
ExecutionTime: __expectLong,
|
|
2917
|
+
InputBytes: __expectLong,
|
|
2918
|
+
InputRows: __expectLong,
|
|
2919
|
+
OutputBytes: __expectLong,
|
|
2920
|
+
OutputRows: __expectLong,
|
|
2921
|
+
QueryStagePlan: (_) => de_QueryStagePlanNode(_, context),
|
|
2922
|
+
StageId: __expectLong,
|
|
2923
|
+
State: __expectString,
|
|
2924
|
+
SubStages: (_) => de_QueryStages(_, context),
|
|
2925
|
+
});
|
|
4065
2926
|
};
|
|
4066
2927
|
const de_QueryStagePlanNode = (output, context) => {
|
|
4067
|
-
return {
|
|
4068
|
-
Children:
|
|
4069
|
-
Identifier: __expectString
|
|
4070
|
-
Name: __expectString
|
|
4071
|
-
RemoteSources:
|
|
4072
|
-
};
|
|
2928
|
+
return take(output, {
|
|
2929
|
+
Children: (_) => de_QueryStagePlanNodes(_, context),
|
|
2930
|
+
Identifier: __expectString,
|
|
2931
|
+
Name: __expectString,
|
|
2932
|
+
RemoteSources: _json,
|
|
2933
|
+
});
|
|
4073
2934
|
};
|
|
4074
2935
|
const de_QueryStagePlanNodes = (output, context) => {
|
|
4075
2936
|
const retVal = (output || [])
|
|
4076
2937
|
.filter((e) => e != null)
|
|
4077
2938
|
.map((entry) => {
|
|
4078
|
-
if (entry === null) {
|
|
4079
|
-
return null;
|
|
4080
|
-
}
|
|
4081
2939
|
return de_QueryStagePlanNode(entry, context);
|
|
4082
2940
|
});
|
|
4083
2941
|
return retVal;
|
|
@@ -4086,357 +2944,81 @@ const de_QueryStages = (output, context) => {
|
|
|
4086
2944
|
const retVal = (output || [])
|
|
4087
2945
|
.filter((e) => e != null)
|
|
4088
2946
|
.map((entry) => {
|
|
4089
|
-
if (entry === null) {
|
|
4090
|
-
return null;
|
|
4091
|
-
}
|
|
4092
2947
|
return de_QueryStage(entry, context);
|
|
4093
2948
|
});
|
|
4094
2949
|
return retVal;
|
|
4095
2950
|
};
|
|
4096
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
4097
|
-
return {
|
|
4098
|
-
Message: __expectString(output.Message),
|
|
4099
|
-
ResourceName: __expectString(output.ResourceName),
|
|
4100
|
-
};
|
|
4101
|
-
};
|
|
4102
|
-
const de_ResultConfiguration = (output, context) => {
|
|
4103
|
-
return {
|
|
4104
|
-
AclConfiguration: output.AclConfiguration != null ? de_AclConfiguration(output.AclConfiguration, context) : undefined,
|
|
4105
|
-
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
4106
|
-
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
4107
|
-
: undefined,
|
|
4108
|
-
ExpectedBucketOwner: __expectString(output.ExpectedBucketOwner),
|
|
4109
|
-
OutputLocation: __expectString(output.OutputLocation),
|
|
4110
|
-
};
|
|
4111
|
-
};
|
|
4112
|
-
const de_ResultReuseByAgeConfiguration = (output, context) => {
|
|
4113
|
-
return {
|
|
4114
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
4115
|
-
MaxAgeInMinutes: __expectInt32(output.MaxAgeInMinutes),
|
|
4116
|
-
};
|
|
4117
|
-
};
|
|
4118
|
-
const de_ResultReuseConfiguration = (output, context) => {
|
|
4119
|
-
return {
|
|
4120
|
-
ResultReuseByAgeConfiguration: output.ResultReuseByAgeConfiguration != null
|
|
4121
|
-
? de_ResultReuseByAgeConfiguration(output.ResultReuseByAgeConfiguration, context)
|
|
4122
|
-
: undefined,
|
|
4123
|
-
};
|
|
4124
|
-
};
|
|
4125
|
-
const de_ResultReuseInformation = (output, context) => {
|
|
4126
|
-
return {
|
|
4127
|
-
ReusedPreviousResult: __expectBoolean(output.ReusedPreviousResult),
|
|
4128
|
-
};
|
|
4129
|
-
};
|
|
4130
|
-
const de_ResultSet = (output, context) => {
|
|
4131
|
-
return {
|
|
4132
|
-
ResultSetMetadata: output.ResultSetMetadata != null ? de_ResultSetMetadata(output.ResultSetMetadata, context) : undefined,
|
|
4133
|
-
Rows: output.Rows != null ? de_RowList(output.Rows, context) : undefined,
|
|
4134
|
-
};
|
|
4135
|
-
};
|
|
4136
|
-
const de_ResultSetMetadata = (output, context) => {
|
|
4137
|
-
return {
|
|
4138
|
-
ColumnInfo: output.ColumnInfo != null ? de_ColumnInfoList(output.ColumnInfo, context) : undefined,
|
|
4139
|
-
};
|
|
4140
|
-
};
|
|
4141
|
-
const de_Row = (output, context) => {
|
|
4142
|
-
return {
|
|
4143
|
-
Data: output.Data != null ? de_datumList(output.Data, context) : undefined,
|
|
4144
|
-
};
|
|
4145
|
-
};
|
|
4146
|
-
const de_RowList = (output, context) => {
|
|
4147
|
-
const retVal = (output || [])
|
|
4148
|
-
.filter((e) => e != null)
|
|
4149
|
-
.map((entry) => {
|
|
4150
|
-
if (entry === null) {
|
|
4151
|
-
return null;
|
|
4152
|
-
}
|
|
4153
|
-
return de_Row(entry, context);
|
|
4154
|
-
});
|
|
4155
|
-
return retVal;
|
|
4156
|
-
};
|
|
4157
|
-
const de_SessionAlreadyExistsException = (output, context) => {
|
|
4158
|
-
return {
|
|
4159
|
-
Message: __expectString(output.Message),
|
|
4160
|
-
};
|
|
4161
|
-
};
|
|
4162
|
-
const de_SessionConfiguration = (output, context) => {
|
|
4163
|
-
return {
|
|
4164
|
-
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
4165
|
-
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
4166
|
-
: undefined,
|
|
4167
|
-
ExecutionRole: __expectString(output.ExecutionRole),
|
|
4168
|
-
IdleTimeoutSeconds: __expectLong(output.IdleTimeoutSeconds),
|
|
4169
|
-
WorkingDirectory: __expectString(output.WorkingDirectory),
|
|
4170
|
-
};
|
|
4171
|
-
};
|
|
4172
2951
|
const de_SessionsList = (output, context) => {
|
|
4173
2952
|
const retVal = (output || [])
|
|
4174
2953
|
.filter((e) => e != null)
|
|
4175
2954
|
.map((entry) => {
|
|
4176
|
-
if (entry === null) {
|
|
4177
|
-
return null;
|
|
4178
|
-
}
|
|
4179
2955
|
return de_SessionSummary(entry, context);
|
|
4180
2956
|
});
|
|
4181
2957
|
return retVal;
|
|
4182
2958
|
};
|
|
4183
|
-
const de_SessionStatistics = (output, context) => {
|
|
4184
|
-
return {
|
|
4185
|
-
DpuExecutionInMillis: __expectLong(output.DpuExecutionInMillis),
|
|
4186
|
-
};
|
|
4187
|
-
};
|
|
4188
2959
|
const de_SessionStatus = (output, context) => {
|
|
4189
|
-
return {
|
|
4190
|
-
EndDateTime:
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
LastModifiedDateTime: output.LastModifiedDateTime != null
|
|
4197
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDateTime)))
|
|
4198
|
-
: undefined,
|
|
4199
|
-
StartDateTime: output.StartDateTime != null
|
|
4200
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartDateTime)))
|
|
4201
|
-
: undefined,
|
|
4202
|
-
State: __expectString(output.State),
|
|
4203
|
-
StateChangeReason: __expectString(output.StateChangeReason),
|
|
4204
|
-
};
|
|
4205
|
-
};
|
|
4206
|
-
const de_SessionSummary = (output, context) => {
|
|
4207
|
-
return {
|
|
4208
|
-
Description: __expectString(output.Description),
|
|
4209
|
-
EngineVersion: output.EngineVersion != null ? de_EngineVersion(output.EngineVersion, context) : undefined,
|
|
4210
|
-
NotebookVersion: __expectString(output.NotebookVersion),
|
|
4211
|
-
SessionId: __expectString(output.SessionId),
|
|
4212
|
-
Status: output.Status != null ? de_SessionStatus(output.Status, context) : undefined,
|
|
4213
|
-
};
|
|
4214
|
-
};
|
|
4215
|
-
const de_StartCalculationExecutionResponse = (output, context) => {
|
|
4216
|
-
return {
|
|
4217
|
-
CalculationExecutionId: __expectString(output.CalculationExecutionId),
|
|
4218
|
-
State: __expectString(output.State),
|
|
4219
|
-
};
|
|
4220
|
-
};
|
|
4221
|
-
const de_StartQueryExecutionOutput = (output, context) => {
|
|
4222
|
-
return {
|
|
4223
|
-
QueryExecutionId: __expectString(output.QueryExecutionId),
|
|
4224
|
-
};
|
|
4225
|
-
};
|
|
4226
|
-
const de_StartSessionResponse = (output, context) => {
|
|
4227
|
-
return {
|
|
4228
|
-
SessionId: __expectString(output.SessionId),
|
|
4229
|
-
State: __expectString(output.State),
|
|
4230
|
-
};
|
|
4231
|
-
};
|
|
4232
|
-
const de_StopCalculationExecutionResponse = (output, context) => {
|
|
4233
|
-
return {
|
|
4234
|
-
State: __expectString(output.State),
|
|
4235
|
-
};
|
|
4236
|
-
};
|
|
4237
|
-
const de_StopQueryExecutionOutput = (output, context) => {
|
|
4238
|
-
return {};
|
|
4239
|
-
};
|
|
4240
|
-
const de_StringList = (output, context) => {
|
|
4241
|
-
const retVal = (output || [])
|
|
4242
|
-
.filter((e) => e != null)
|
|
4243
|
-
.map((entry) => {
|
|
4244
|
-
if (entry === null) {
|
|
4245
|
-
return null;
|
|
4246
|
-
}
|
|
4247
|
-
return __expectString(entry);
|
|
2960
|
+
return take(output, {
|
|
2961
|
+
EndDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2962
|
+
IdleSinceDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2963
|
+
LastModifiedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2964
|
+
StartDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2965
|
+
State: __expectString,
|
|
2966
|
+
StateChangeReason: __expectString,
|
|
4248
2967
|
});
|
|
4249
|
-
return retVal;
|
|
4250
2968
|
};
|
|
4251
|
-
const
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
return __expectInt32(entry);
|
|
2969
|
+
const de_SessionSummary = (output, context) => {
|
|
2970
|
+
return take(output, {
|
|
2971
|
+
Description: __expectString,
|
|
2972
|
+
EngineVersion: _json,
|
|
2973
|
+
NotebookVersion: __expectString,
|
|
2974
|
+
SessionId: __expectString,
|
|
2975
|
+
Status: (_) => de_SessionStatus(_, context),
|
|
4259
2976
|
});
|
|
4260
|
-
return retVal;
|
|
4261
2977
|
};
|
|
4262
2978
|
const de_TableMetadata = (output, context) => {
|
|
4263
|
-
return {
|
|
4264
|
-
Columns:
|
|
4265
|
-
CreateTime:
|
|
4266
|
-
LastAccessTime:
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
TableType: __expectString(output.TableType),
|
|
4273
|
-
};
|
|
2979
|
+
return take(output, {
|
|
2980
|
+
Columns: _json,
|
|
2981
|
+
CreateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2982
|
+
LastAccessTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2983
|
+
Name: __expectString,
|
|
2984
|
+
Parameters: _json,
|
|
2985
|
+
PartitionKeys: _json,
|
|
2986
|
+
TableType: __expectString,
|
|
2987
|
+
});
|
|
4274
2988
|
};
|
|
4275
2989
|
const de_TableMetadataList = (output, context) => {
|
|
4276
2990
|
const retVal = (output || [])
|
|
4277
2991
|
.filter((e) => e != null)
|
|
4278
2992
|
.map((entry) => {
|
|
4279
|
-
if (entry === null) {
|
|
4280
|
-
return null;
|
|
4281
|
-
}
|
|
4282
2993
|
return de_TableMetadata(entry, context);
|
|
4283
2994
|
});
|
|
4284
2995
|
return retVal;
|
|
4285
2996
|
};
|
|
4286
|
-
const de_Tag = (output, context) => {
|
|
4287
|
-
return {
|
|
4288
|
-
Key: __expectString(output.Key),
|
|
4289
|
-
Value: __expectString(output.Value),
|
|
4290
|
-
};
|
|
4291
|
-
};
|
|
4292
|
-
const de_TagList = (output, context) => {
|
|
4293
|
-
const retVal = (output || [])
|
|
4294
|
-
.filter((e) => e != null)
|
|
4295
|
-
.map((entry) => {
|
|
4296
|
-
if (entry === null) {
|
|
4297
|
-
return null;
|
|
4298
|
-
}
|
|
4299
|
-
return de_Tag(entry, context);
|
|
4300
|
-
});
|
|
4301
|
-
return retVal;
|
|
4302
|
-
};
|
|
4303
|
-
const de_TagResourceOutput = (output, context) => {
|
|
4304
|
-
return {};
|
|
4305
|
-
};
|
|
4306
|
-
const de_TerminateSessionResponse = (output, context) => {
|
|
4307
|
-
return {
|
|
4308
|
-
State: __expectString(output.State),
|
|
4309
|
-
};
|
|
4310
|
-
};
|
|
4311
|
-
const de_TooManyRequestsException = (output, context) => {
|
|
4312
|
-
return {
|
|
4313
|
-
Message: __expectString(output.Message),
|
|
4314
|
-
Reason: __expectString(output.Reason),
|
|
4315
|
-
};
|
|
4316
|
-
};
|
|
4317
|
-
const de_UnprocessedNamedQueryId = (output, context) => {
|
|
4318
|
-
return {
|
|
4319
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
4320
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4321
|
-
NamedQueryId: __expectString(output.NamedQueryId),
|
|
4322
|
-
};
|
|
4323
|
-
};
|
|
4324
|
-
const de_UnprocessedNamedQueryIdList = (output, context) => {
|
|
4325
|
-
const retVal = (output || [])
|
|
4326
|
-
.filter((e) => e != null)
|
|
4327
|
-
.map((entry) => {
|
|
4328
|
-
if (entry === null) {
|
|
4329
|
-
return null;
|
|
4330
|
-
}
|
|
4331
|
-
return de_UnprocessedNamedQueryId(entry, context);
|
|
4332
|
-
});
|
|
4333
|
-
return retVal;
|
|
4334
|
-
};
|
|
4335
|
-
const de_UnprocessedPreparedStatementName = (output, context) => {
|
|
4336
|
-
return {
|
|
4337
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
4338
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4339
|
-
StatementName: __expectString(output.StatementName),
|
|
4340
|
-
};
|
|
4341
|
-
};
|
|
4342
|
-
const de_UnprocessedPreparedStatementNameList = (output, context) => {
|
|
4343
|
-
const retVal = (output || [])
|
|
4344
|
-
.filter((e) => e != null)
|
|
4345
|
-
.map((entry) => {
|
|
4346
|
-
if (entry === null) {
|
|
4347
|
-
return null;
|
|
4348
|
-
}
|
|
4349
|
-
return de_UnprocessedPreparedStatementName(entry, context);
|
|
4350
|
-
});
|
|
4351
|
-
return retVal;
|
|
4352
|
-
};
|
|
4353
|
-
const de_UnprocessedQueryExecutionId = (output, context) => {
|
|
4354
|
-
return {
|
|
4355
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
4356
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4357
|
-
QueryExecutionId: __expectString(output.QueryExecutionId),
|
|
4358
|
-
};
|
|
4359
|
-
};
|
|
4360
|
-
const de_UnprocessedQueryExecutionIdList = (output, context) => {
|
|
4361
|
-
const retVal = (output || [])
|
|
4362
|
-
.filter((e) => e != null)
|
|
4363
|
-
.map((entry) => {
|
|
4364
|
-
if (entry === null) {
|
|
4365
|
-
return null;
|
|
4366
|
-
}
|
|
4367
|
-
return de_UnprocessedQueryExecutionId(entry, context);
|
|
4368
|
-
});
|
|
4369
|
-
return retVal;
|
|
4370
|
-
};
|
|
4371
|
-
const de_UntagResourceOutput = (output, context) => {
|
|
4372
|
-
return {};
|
|
4373
|
-
};
|
|
4374
|
-
const de_UpdateDataCatalogOutput = (output, context) => {
|
|
4375
|
-
return {};
|
|
4376
|
-
};
|
|
4377
|
-
const de_UpdateNamedQueryOutput = (output, context) => {
|
|
4378
|
-
return {};
|
|
4379
|
-
};
|
|
4380
|
-
const de_UpdateNotebookMetadataOutput = (output, context) => {
|
|
4381
|
-
return {};
|
|
4382
|
-
};
|
|
4383
|
-
const de_UpdateNotebookOutput = (output, context) => {
|
|
4384
|
-
return {};
|
|
4385
|
-
};
|
|
4386
|
-
const de_UpdatePreparedStatementOutput = (output, context) => {
|
|
4387
|
-
return {};
|
|
4388
|
-
};
|
|
4389
|
-
const de_UpdateWorkGroupOutput = (output, context) => {
|
|
4390
|
-
return {};
|
|
4391
|
-
};
|
|
4392
2997
|
const de_WorkGroup = (output, context) => {
|
|
4393
|
-
return {
|
|
4394
|
-
Configuration:
|
|
4395
|
-
CreationTime:
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
State: __expectString(output.State),
|
|
4401
|
-
};
|
|
4402
|
-
};
|
|
4403
|
-
const de_WorkGroupConfiguration = (output, context) => {
|
|
4404
|
-
return {
|
|
4405
|
-
AdditionalConfiguration: __expectString(output.AdditionalConfiguration),
|
|
4406
|
-
BytesScannedCutoffPerQuery: __expectLong(output.BytesScannedCutoffPerQuery),
|
|
4407
|
-
CustomerContentEncryptionConfiguration: output.CustomerContentEncryptionConfiguration != null
|
|
4408
|
-
? de_CustomerContentEncryptionConfiguration(output.CustomerContentEncryptionConfiguration, context)
|
|
4409
|
-
: undefined,
|
|
4410
|
-
EnableMinimumEncryptionConfiguration: __expectBoolean(output.EnableMinimumEncryptionConfiguration),
|
|
4411
|
-
EnforceWorkGroupConfiguration: __expectBoolean(output.EnforceWorkGroupConfiguration),
|
|
4412
|
-
EngineVersion: output.EngineVersion != null ? de_EngineVersion(output.EngineVersion, context) : undefined,
|
|
4413
|
-
ExecutionRole: __expectString(output.ExecutionRole),
|
|
4414
|
-
PublishCloudWatchMetricsEnabled: __expectBoolean(output.PublishCloudWatchMetricsEnabled),
|
|
4415
|
-
RequesterPaysEnabled: __expectBoolean(output.RequesterPaysEnabled),
|
|
4416
|
-
ResultConfiguration: output.ResultConfiguration != null ? de_ResultConfiguration(output.ResultConfiguration, context) : undefined,
|
|
4417
|
-
};
|
|
2998
|
+
return take(output, {
|
|
2999
|
+
Configuration: _json,
|
|
3000
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3001
|
+
Description: __expectString,
|
|
3002
|
+
Name: __expectString,
|
|
3003
|
+
State: __expectString,
|
|
3004
|
+
});
|
|
4418
3005
|
};
|
|
4419
3006
|
const de_WorkGroupsList = (output, context) => {
|
|
4420
3007
|
const retVal = (output || [])
|
|
4421
3008
|
.filter((e) => e != null)
|
|
4422
3009
|
.map((entry) => {
|
|
4423
|
-
if (entry === null) {
|
|
4424
|
-
return null;
|
|
4425
|
-
}
|
|
4426
3010
|
return de_WorkGroupSummary(entry, context);
|
|
4427
3011
|
});
|
|
4428
3012
|
return retVal;
|
|
4429
3013
|
};
|
|
4430
3014
|
const de_WorkGroupSummary = (output, context) => {
|
|
4431
|
-
return {
|
|
4432
|
-
CreationTime:
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
State: __expectString(output.State),
|
|
4439
|
-
};
|
|
3015
|
+
return take(output, {
|
|
3016
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3017
|
+
Description: __expectString,
|
|
3018
|
+
EngineVersion: _json,
|
|
3019
|
+
Name: __expectString,
|
|
3020
|
+
State: __expectString,
|
|
3021
|
+
});
|
|
4440
3022
|
};
|
|
4441
3023
|
const deserializeMetadata = (output) => ({
|
|
4442
3024
|
httpStatusCode: output.statusCode,
|
|
@@ -4451,6 +3033,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
4451
3033
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4452
3034
|
};
|
|
4453
3035
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3036
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
4454
3037
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
4455
3038
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4456
3039
|
const contents = {
|