@aws-sdk/client-lakeformation 3.312.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +599 -1549
- package/dist-es/protocols/Aws_restJson1.js +535 -1485
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { LakeFormationServiceException as __BaseException } from "../models/LakeFormationServiceException";
|
|
4
4
|
import { AccessDeniedException, AlreadyExistsException, ConcurrentModificationException, EntityNotFoundException, ExpiredException, GlueEncryptionException, InternalServiceException, InvalidInputException, OperationTimeoutException, PermissionTypeMismatchException, ResourceNotReadyException, ResourceNumberLimitExceededException, StatisticsNotReadyYetException, ThrottledException, TransactionCanceledException, TransactionCommitInProgressException, TransactionCommittedException, WorkUnitsNotReadyYetException, } from "../models/models_0";
|
|
5
5
|
export const se_AddLFTagsToResourceCommand = async (input, context) => {
|
|
@@ -9,11 +9,11 @@ export const se_AddLFTagsToResourceCommand = async (input, context) => {
|
|
|
9
9
|
};
|
|
10
10
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/AddLFTagsToResource";
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify({
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
});
|
|
12
|
+
body = JSON.stringify(take(input, {
|
|
13
|
+
CatalogId: [],
|
|
14
|
+
LFTags: (_) => _json(_),
|
|
15
|
+
Resource: (_) => _json(_),
|
|
16
|
+
}));
|
|
17
17
|
return new __HttpRequest({
|
|
18
18
|
protocol,
|
|
19
19
|
hostname,
|
|
@@ -31,12 +31,12 @@ export const se_AssumeDecoratedRoleWithSAMLCommand = async (input, context) => {
|
|
|
31
31
|
};
|
|
32
32
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/AssumeDecoratedRoleWithSAML";
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify({
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
});
|
|
34
|
+
body = JSON.stringify(take(input, {
|
|
35
|
+
DurationSeconds: [],
|
|
36
|
+
PrincipalArn: [],
|
|
37
|
+
RoleArn: [],
|
|
38
|
+
SAMLAssertion: [],
|
|
39
|
+
}));
|
|
40
40
|
return new __HttpRequest({
|
|
41
41
|
protocol,
|
|
42
42
|
hostname,
|
|
@@ -54,10 +54,10 @@ export const se_BatchGrantPermissionsCommand = async (input, context) => {
|
|
|
54
54
|
};
|
|
55
55
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGrantPermissions";
|
|
56
56
|
let body;
|
|
57
|
-
body = JSON.stringify({
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
});
|
|
57
|
+
body = JSON.stringify(take(input, {
|
|
58
|
+
CatalogId: [],
|
|
59
|
+
Entries: (_) => _json(_),
|
|
60
|
+
}));
|
|
61
61
|
return new __HttpRequest({
|
|
62
62
|
protocol,
|
|
63
63
|
hostname,
|
|
@@ -75,10 +75,10 @@ export const se_BatchRevokePermissionsCommand = async (input, context) => {
|
|
|
75
75
|
};
|
|
76
76
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/BatchRevokePermissions";
|
|
77
77
|
let body;
|
|
78
|
-
body = JSON.stringify({
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
});
|
|
78
|
+
body = JSON.stringify(take(input, {
|
|
79
|
+
CatalogId: [],
|
|
80
|
+
Entries: (_) => _json(_),
|
|
81
|
+
}));
|
|
82
82
|
return new __HttpRequest({
|
|
83
83
|
protocol,
|
|
84
84
|
hostname,
|
|
@@ -96,9 +96,9 @@ export const se_CancelTransactionCommand = async (input, context) => {
|
|
|
96
96
|
};
|
|
97
97
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CancelTransaction";
|
|
98
98
|
let body;
|
|
99
|
-
body = JSON.stringify({
|
|
100
|
-
|
|
101
|
-
});
|
|
99
|
+
body = JSON.stringify(take(input, {
|
|
100
|
+
TransactionId: [],
|
|
101
|
+
}));
|
|
102
102
|
return new __HttpRequest({
|
|
103
103
|
protocol,
|
|
104
104
|
hostname,
|
|
@@ -116,9 +116,9 @@ export const se_CommitTransactionCommand = async (input, context) => {
|
|
|
116
116
|
};
|
|
117
117
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CommitTransaction";
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify({
|
|
120
|
-
|
|
121
|
-
});
|
|
119
|
+
body = JSON.stringify(take(input, {
|
|
120
|
+
TransactionId: [],
|
|
121
|
+
}));
|
|
122
122
|
return new __HttpRequest({
|
|
123
123
|
protocol,
|
|
124
124
|
hostname,
|
|
@@ -136,9 +136,9 @@ export const se_CreateDataCellsFilterCommand = async (input, context) => {
|
|
|
136
136
|
};
|
|
137
137
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateDataCellsFilter";
|
|
138
138
|
let body;
|
|
139
|
-
body = JSON.stringify({
|
|
140
|
-
|
|
141
|
-
});
|
|
139
|
+
body = JSON.stringify(take(input, {
|
|
140
|
+
TableData: (_) => _json(_),
|
|
141
|
+
}));
|
|
142
142
|
return new __HttpRequest({
|
|
143
143
|
protocol,
|
|
144
144
|
hostname,
|
|
@@ -156,11 +156,11 @@ export const se_CreateLFTagCommand = async (input, context) => {
|
|
|
156
156
|
};
|
|
157
157
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateLFTag";
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify({
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
});
|
|
159
|
+
body = JSON.stringify(take(input, {
|
|
160
|
+
CatalogId: [],
|
|
161
|
+
TagKey: [],
|
|
162
|
+
TagValues: (_) => _json(_),
|
|
163
|
+
}));
|
|
164
164
|
return new __HttpRequest({
|
|
165
165
|
protocol,
|
|
166
166
|
hostname,
|
|
@@ -178,12 +178,12 @@ export const se_DeleteDataCellsFilterCommand = async (input, context) => {
|
|
|
178
178
|
};
|
|
179
179
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteDataCellsFilter";
|
|
180
180
|
let body;
|
|
181
|
-
body = JSON.stringify({
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
});
|
|
181
|
+
body = JSON.stringify(take(input, {
|
|
182
|
+
DatabaseName: [],
|
|
183
|
+
Name: [],
|
|
184
|
+
TableCatalogId: [],
|
|
185
|
+
TableName: [],
|
|
186
|
+
}));
|
|
187
187
|
return new __HttpRequest({
|
|
188
188
|
protocol,
|
|
189
189
|
hostname,
|
|
@@ -201,10 +201,10 @@ export const se_DeleteLFTagCommand = async (input, context) => {
|
|
|
201
201
|
};
|
|
202
202
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteLFTag";
|
|
203
203
|
let body;
|
|
204
|
-
body = JSON.stringify({
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
});
|
|
204
|
+
body = JSON.stringify(take(input, {
|
|
205
|
+
CatalogId: [],
|
|
206
|
+
TagKey: [],
|
|
207
|
+
}));
|
|
208
208
|
return new __HttpRequest({
|
|
209
209
|
protocol,
|
|
210
210
|
hostname,
|
|
@@ -222,13 +222,13 @@ export const se_DeleteObjectsOnCancelCommand = async (input, context) => {
|
|
|
222
222
|
};
|
|
223
223
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteObjectsOnCancel";
|
|
224
224
|
let body;
|
|
225
|
-
body = JSON.stringify({
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
});
|
|
225
|
+
body = JSON.stringify(take(input, {
|
|
226
|
+
CatalogId: [],
|
|
227
|
+
DatabaseName: [],
|
|
228
|
+
Objects: (_) => _json(_),
|
|
229
|
+
TableName: [],
|
|
230
|
+
TransactionId: [],
|
|
231
|
+
}));
|
|
232
232
|
return new __HttpRequest({
|
|
233
233
|
protocol,
|
|
234
234
|
hostname,
|
|
@@ -246,9 +246,9 @@ export const se_DeregisterResourceCommand = async (input, context) => {
|
|
|
246
246
|
};
|
|
247
247
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeregisterResource";
|
|
248
248
|
let body;
|
|
249
|
-
body = JSON.stringify({
|
|
250
|
-
|
|
251
|
-
});
|
|
249
|
+
body = JSON.stringify(take(input, {
|
|
250
|
+
ResourceArn: [],
|
|
251
|
+
}));
|
|
252
252
|
return new __HttpRequest({
|
|
253
253
|
protocol,
|
|
254
254
|
hostname,
|
|
@@ -266,9 +266,9 @@ export const se_DescribeResourceCommand = async (input, context) => {
|
|
|
266
266
|
};
|
|
267
267
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeResource";
|
|
268
268
|
let body;
|
|
269
|
-
body = JSON.stringify({
|
|
270
|
-
|
|
271
|
-
});
|
|
269
|
+
body = JSON.stringify(take(input, {
|
|
270
|
+
ResourceArn: [],
|
|
271
|
+
}));
|
|
272
272
|
return new __HttpRequest({
|
|
273
273
|
protocol,
|
|
274
274
|
hostname,
|
|
@@ -286,9 +286,9 @@ export const se_DescribeTransactionCommand = async (input, context) => {
|
|
|
286
286
|
};
|
|
287
287
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeTransaction";
|
|
288
288
|
let body;
|
|
289
|
-
body = JSON.stringify({
|
|
290
|
-
|
|
291
|
-
});
|
|
289
|
+
body = JSON.stringify(take(input, {
|
|
290
|
+
TransactionId: [],
|
|
291
|
+
}));
|
|
292
292
|
return new __HttpRequest({
|
|
293
293
|
protocol,
|
|
294
294
|
hostname,
|
|
@@ -306,9 +306,9 @@ export const se_ExtendTransactionCommand = async (input, context) => {
|
|
|
306
306
|
};
|
|
307
307
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ExtendTransaction";
|
|
308
308
|
let body;
|
|
309
|
-
body = JSON.stringify({
|
|
310
|
-
|
|
311
|
-
});
|
|
309
|
+
body = JSON.stringify(take(input, {
|
|
310
|
+
TransactionId: [],
|
|
311
|
+
}));
|
|
312
312
|
return new __HttpRequest({
|
|
313
313
|
protocol,
|
|
314
314
|
hostname,
|
|
@@ -326,12 +326,12 @@ export const se_GetDataCellsFilterCommand = async (input, context) => {
|
|
|
326
326
|
};
|
|
327
327
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetDataCellsFilter";
|
|
328
328
|
let body;
|
|
329
|
-
body = JSON.stringify({
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
});
|
|
329
|
+
body = JSON.stringify(take(input, {
|
|
330
|
+
DatabaseName: [],
|
|
331
|
+
Name: [],
|
|
332
|
+
TableCatalogId: [],
|
|
333
|
+
TableName: [],
|
|
334
|
+
}));
|
|
335
335
|
return new __HttpRequest({
|
|
336
336
|
protocol,
|
|
337
337
|
hostname,
|
|
@@ -349,9 +349,9 @@ export const se_GetDataLakeSettingsCommand = async (input, context) => {
|
|
|
349
349
|
};
|
|
350
350
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetDataLakeSettings";
|
|
351
351
|
let body;
|
|
352
|
-
body = JSON.stringify({
|
|
353
|
-
|
|
354
|
-
});
|
|
352
|
+
body = JSON.stringify(take(input, {
|
|
353
|
+
CatalogId: [],
|
|
354
|
+
}));
|
|
355
355
|
return new __HttpRequest({
|
|
356
356
|
protocol,
|
|
357
357
|
hostname,
|
|
@@ -369,12 +369,12 @@ export const se_GetEffectivePermissionsForPathCommand = async (input, context) =
|
|
|
369
369
|
};
|
|
370
370
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetEffectivePermissionsForPath";
|
|
371
371
|
let body;
|
|
372
|
-
body = JSON.stringify({
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
});
|
|
372
|
+
body = JSON.stringify(take(input, {
|
|
373
|
+
CatalogId: [],
|
|
374
|
+
MaxResults: [],
|
|
375
|
+
NextToken: [],
|
|
376
|
+
ResourceArn: [],
|
|
377
|
+
}));
|
|
378
378
|
return new __HttpRequest({
|
|
379
379
|
protocol,
|
|
380
380
|
hostname,
|
|
@@ -392,10 +392,10 @@ export const se_GetLFTagCommand = async (input, context) => {
|
|
|
392
392
|
};
|
|
393
393
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetLFTag";
|
|
394
394
|
let body;
|
|
395
|
-
body = JSON.stringify({
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
});
|
|
395
|
+
body = JSON.stringify(take(input, {
|
|
396
|
+
CatalogId: [],
|
|
397
|
+
TagKey: [],
|
|
398
|
+
}));
|
|
399
399
|
return new __HttpRequest({
|
|
400
400
|
protocol,
|
|
401
401
|
hostname,
|
|
@@ -413,9 +413,9 @@ export const se_GetQueryStateCommand = async (input, context) => {
|
|
|
413
413
|
};
|
|
414
414
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetQueryState";
|
|
415
415
|
let body;
|
|
416
|
-
body = JSON.stringify({
|
|
417
|
-
|
|
418
|
-
});
|
|
416
|
+
body = JSON.stringify(take(input, {
|
|
417
|
+
QueryId: [],
|
|
418
|
+
}));
|
|
419
419
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
420
420
|
if (context.disableHostPrefix !== true) {
|
|
421
421
|
resolvedHostname = "query-" + resolvedHostname;
|
|
@@ -440,9 +440,9 @@ export const se_GetQueryStatisticsCommand = async (input, context) => {
|
|
|
440
440
|
};
|
|
441
441
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetQueryStatistics";
|
|
442
442
|
let body;
|
|
443
|
-
body = JSON.stringify({
|
|
444
|
-
|
|
445
|
-
});
|
|
443
|
+
body = JSON.stringify(take(input, {
|
|
444
|
+
QueryId: [],
|
|
445
|
+
}));
|
|
446
446
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
447
447
|
if (context.disableHostPrefix !== true) {
|
|
448
448
|
resolvedHostname = "query-" + resolvedHostname;
|
|
@@ -467,11 +467,11 @@ export const se_GetResourceLFTagsCommand = async (input, context) => {
|
|
|
467
467
|
};
|
|
468
468
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetResourceLFTags";
|
|
469
469
|
let body;
|
|
470
|
-
body = JSON.stringify({
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
});
|
|
470
|
+
body = JSON.stringify(take(input, {
|
|
471
|
+
CatalogId: [],
|
|
472
|
+
Resource: (_) => _json(_),
|
|
473
|
+
ShowAssignedLFTags: [],
|
|
474
|
+
}));
|
|
475
475
|
return new __HttpRequest({
|
|
476
476
|
protocol,
|
|
477
477
|
hostname,
|
|
@@ -489,16 +489,16 @@ export const se_GetTableObjectsCommand = async (input, context) => {
|
|
|
489
489
|
};
|
|
490
490
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetTableObjects";
|
|
491
491
|
let body;
|
|
492
|
-
body = JSON.stringify({
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
});
|
|
492
|
+
body = JSON.stringify(take(input, {
|
|
493
|
+
CatalogId: [],
|
|
494
|
+
DatabaseName: [],
|
|
495
|
+
MaxResults: [],
|
|
496
|
+
NextToken: [],
|
|
497
|
+
PartitionPredicate: [],
|
|
498
|
+
QueryAsOfTime: (_) => Math.round(_.getTime() / 1000),
|
|
499
|
+
TableName: [],
|
|
500
|
+
TransactionId: [],
|
|
501
|
+
}));
|
|
502
502
|
return new __HttpRequest({
|
|
503
503
|
protocol,
|
|
504
504
|
hostname,
|
|
@@ -516,16 +516,14 @@ export const se_GetTemporaryGluePartitionCredentialsCommand = async (input, cont
|
|
|
516
516
|
};
|
|
517
517
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetTemporaryGluePartitionCredentials";
|
|
518
518
|
let body;
|
|
519
|
-
body = JSON.stringify({
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
...(input.TableArn != null && { TableArn: input.TableArn }),
|
|
528
|
-
});
|
|
519
|
+
body = JSON.stringify(take(input, {
|
|
520
|
+
AuditContext: (_) => _json(_),
|
|
521
|
+
DurationSeconds: [],
|
|
522
|
+
Partition: (_) => _json(_),
|
|
523
|
+
Permissions: (_) => _json(_),
|
|
524
|
+
SupportedPermissionTypes: (_) => _json(_),
|
|
525
|
+
TableArn: [],
|
|
526
|
+
}));
|
|
529
527
|
return new __HttpRequest({
|
|
530
528
|
protocol,
|
|
531
529
|
hostname,
|
|
@@ -543,15 +541,13 @@ export const se_GetTemporaryGlueTableCredentialsCommand = async (input, context)
|
|
|
543
541
|
};
|
|
544
542
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetTemporaryGlueTableCredentials";
|
|
545
543
|
let body;
|
|
546
|
-
body = JSON.stringify({
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
...(input.TableArn != null && { TableArn: input.TableArn }),
|
|
554
|
-
});
|
|
544
|
+
body = JSON.stringify(take(input, {
|
|
545
|
+
AuditContext: (_) => _json(_),
|
|
546
|
+
DurationSeconds: [],
|
|
547
|
+
Permissions: (_) => _json(_),
|
|
548
|
+
SupportedPermissionTypes: (_) => _json(_),
|
|
549
|
+
TableArn: [],
|
|
550
|
+
}));
|
|
555
551
|
return new __HttpRequest({
|
|
556
552
|
protocol,
|
|
557
553
|
hostname,
|
|
@@ -569,11 +565,11 @@ export const se_GetWorkUnitResultsCommand = async (input, context) => {
|
|
|
569
565
|
};
|
|
570
566
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetWorkUnitResults";
|
|
571
567
|
let body;
|
|
572
|
-
body = JSON.stringify({
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
});
|
|
568
|
+
body = JSON.stringify(take(input, {
|
|
569
|
+
QueryId: [],
|
|
570
|
+
WorkUnitId: [],
|
|
571
|
+
WorkUnitToken: [],
|
|
572
|
+
}));
|
|
577
573
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
578
574
|
if (context.disableHostPrefix !== true) {
|
|
579
575
|
resolvedHostname = "data-" + resolvedHostname;
|
|
@@ -598,11 +594,11 @@ export const se_GetWorkUnitsCommand = async (input, context) => {
|
|
|
598
594
|
};
|
|
599
595
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetWorkUnits";
|
|
600
596
|
let body;
|
|
601
|
-
body = JSON.stringify({
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
});
|
|
597
|
+
body = JSON.stringify(take(input, {
|
|
598
|
+
NextToken: [],
|
|
599
|
+
PageSize: [],
|
|
600
|
+
QueryId: [],
|
|
601
|
+
}));
|
|
606
602
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
607
603
|
if (context.disableHostPrefix !== true) {
|
|
608
604
|
resolvedHostname = "query-" + resolvedHostname;
|
|
@@ -627,15 +623,13 @@ export const se_GrantPermissionsCommand = async (input, context) => {
|
|
|
627
623
|
};
|
|
628
624
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GrantPermissions";
|
|
629
625
|
let body;
|
|
630
|
-
body = JSON.stringify({
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
638
|
-
});
|
|
626
|
+
body = JSON.stringify(take(input, {
|
|
627
|
+
CatalogId: [],
|
|
628
|
+
Permissions: (_) => _json(_),
|
|
629
|
+
PermissionsWithGrantOption: (_) => _json(_),
|
|
630
|
+
Principal: (_) => _json(_),
|
|
631
|
+
Resource: (_) => _json(_),
|
|
632
|
+
}));
|
|
639
633
|
return new __HttpRequest({
|
|
640
634
|
protocol,
|
|
641
635
|
hostname,
|
|
@@ -653,11 +647,11 @@ export const se_ListDataCellsFilterCommand = async (input, context) => {
|
|
|
653
647
|
};
|
|
654
648
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListDataCellsFilter";
|
|
655
649
|
let body;
|
|
656
|
-
body = JSON.stringify({
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
});
|
|
650
|
+
body = JSON.stringify(take(input, {
|
|
651
|
+
MaxResults: [],
|
|
652
|
+
NextToken: [],
|
|
653
|
+
Table: (_) => _json(_),
|
|
654
|
+
}));
|
|
661
655
|
return new __HttpRequest({
|
|
662
656
|
protocol,
|
|
663
657
|
hostname,
|
|
@@ -675,12 +669,12 @@ export const se_ListLFTagsCommand = async (input, context) => {
|
|
|
675
669
|
};
|
|
676
670
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListLFTags";
|
|
677
671
|
let body;
|
|
678
|
-
body = JSON.stringify({
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
});
|
|
672
|
+
body = JSON.stringify(take(input, {
|
|
673
|
+
CatalogId: [],
|
|
674
|
+
MaxResults: [],
|
|
675
|
+
NextToken: [],
|
|
676
|
+
ResourceShareType: [],
|
|
677
|
+
}));
|
|
684
678
|
return new __HttpRequest({
|
|
685
679
|
protocol,
|
|
686
680
|
hostname,
|
|
@@ -698,15 +692,15 @@ export const se_ListPermissionsCommand = async (input, context) => {
|
|
|
698
692
|
};
|
|
699
693
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListPermissions";
|
|
700
694
|
let body;
|
|
701
|
-
body = JSON.stringify({
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
});
|
|
695
|
+
body = JSON.stringify(take(input, {
|
|
696
|
+
CatalogId: [],
|
|
697
|
+
IncludeRelated: [],
|
|
698
|
+
MaxResults: [],
|
|
699
|
+
NextToken: [],
|
|
700
|
+
Principal: (_) => _json(_),
|
|
701
|
+
Resource: (_) => _json(_),
|
|
702
|
+
ResourceType: [],
|
|
703
|
+
}));
|
|
710
704
|
return new __HttpRequest({
|
|
711
705
|
protocol,
|
|
712
706
|
hostname,
|
|
@@ -724,13 +718,11 @@ export const se_ListResourcesCommand = async (input, context) => {
|
|
|
724
718
|
};
|
|
725
719
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListResources";
|
|
726
720
|
let body;
|
|
727
|
-
body = JSON.stringify({
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
733
|
-
});
|
|
721
|
+
body = JSON.stringify(take(input, {
|
|
722
|
+
FilterConditionList: (_) => _json(_),
|
|
723
|
+
MaxResults: [],
|
|
724
|
+
NextToken: [],
|
|
725
|
+
}));
|
|
734
726
|
return new __HttpRequest({
|
|
735
727
|
protocol,
|
|
736
728
|
hostname,
|
|
@@ -748,14 +740,14 @@ export const se_ListTableStorageOptimizersCommand = async (input, context) => {
|
|
|
748
740
|
};
|
|
749
741
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListTableStorageOptimizers";
|
|
750
742
|
let body;
|
|
751
|
-
body = JSON.stringify({
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
});
|
|
743
|
+
body = JSON.stringify(take(input, {
|
|
744
|
+
CatalogId: [],
|
|
745
|
+
DatabaseName: [],
|
|
746
|
+
MaxResults: [],
|
|
747
|
+
NextToken: [],
|
|
748
|
+
StorageOptimizerType: [],
|
|
749
|
+
TableName: [],
|
|
750
|
+
}));
|
|
759
751
|
return new __HttpRequest({
|
|
760
752
|
protocol,
|
|
761
753
|
hostname,
|
|
@@ -773,12 +765,12 @@ export const se_ListTransactionsCommand = async (input, context) => {
|
|
|
773
765
|
};
|
|
774
766
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListTransactions";
|
|
775
767
|
let body;
|
|
776
|
-
body = JSON.stringify({
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
});
|
|
768
|
+
body = JSON.stringify(take(input, {
|
|
769
|
+
CatalogId: [],
|
|
770
|
+
MaxResults: [],
|
|
771
|
+
NextToken: [],
|
|
772
|
+
StatusFilter: [],
|
|
773
|
+
}));
|
|
782
774
|
return new __HttpRequest({
|
|
783
775
|
protocol,
|
|
784
776
|
hostname,
|
|
@@ -796,10 +788,10 @@ export const se_PutDataLakeSettingsCommand = async (input, context) => {
|
|
|
796
788
|
};
|
|
797
789
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/PutDataLakeSettings";
|
|
798
790
|
let body;
|
|
799
|
-
body = JSON.stringify({
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
});
|
|
791
|
+
body = JSON.stringify(take(input, {
|
|
792
|
+
CatalogId: [],
|
|
793
|
+
DataLakeSettings: (_) => _json(_),
|
|
794
|
+
}));
|
|
803
795
|
return new __HttpRequest({
|
|
804
796
|
protocol,
|
|
805
797
|
hostname,
|
|
@@ -817,12 +809,12 @@ export const se_RegisterResourceCommand = async (input, context) => {
|
|
|
817
809
|
};
|
|
818
810
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/RegisterResource";
|
|
819
811
|
let body;
|
|
820
|
-
body = JSON.stringify({
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
});
|
|
812
|
+
body = JSON.stringify(take(input, {
|
|
813
|
+
ResourceArn: [],
|
|
814
|
+
RoleArn: [],
|
|
815
|
+
UseServiceLinkedRole: [],
|
|
816
|
+
WithFederation: [],
|
|
817
|
+
}));
|
|
826
818
|
return new __HttpRequest({
|
|
827
819
|
protocol,
|
|
828
820
|
hostname,
|
|
@@ -840,11 +832,11 @@ export const se_RemoveLFTagsFromResourceCommand = async (input, context) => {
|
|
|
840
832
|
};
|
|
841
833
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/RemoveLFTagsFromResource";
|
|
842
834
|
let body;
|
|
843
|
-
body = JSON.stringify({
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
});
|
|
835
|
+
body = JSON.stringify(take(input, {
|
|
836
|
+
CatalogId: [],
|
|
837
|
+
LFTags: (_) => _json(_),
|
|
838
|
+
Resource: (_) => _json(_),
|
|
839
|
+
}));
|
|
848
840
|
return new __HttpRequest({
|
|
849
841
|
protocol,
|
|
850
842
|
hostname,
|
|
@@ -862,15 +854,13 @@ export const se_RevokePermissionsCommand = async (input, context) => {
|
|
|
862
854
|
};
|
|
863
855
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/RevokePermissions";
|
|
864
856
|
let body;
|
|
865
|
-
body = JSON.stringify({
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
873
|
-
});
|
|
857
|
+
body = JSON.stringify(take(input, {
|
|
858
|
+
CatalogId: [],
|
|
859
|
+
Permissions: (_) => _json(_),
|
|
860
|
+
PermissionsWithGrantOption: (_) => _json(_),
|
|
861
|
+
Principal: (_) => _json(_),
|
|
862
|
+
Resource: (_) => _json(_),
|
|
863
|
+
}));
|
|
874
864
|
return new __HttpRequest({
|
|
875
865
|
protocol,
|
|
876
866
|
hostname,
|
|
@@ -888,12 +878,12 @@ export const se_SearchDatabasesByLFTagsCommand = async (input, context) => {
|
|
|
888
878
|
};
|
|
889
879
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/SearchDatabasesByLFTags";
|
|
890
880
|
let body;
|
|
891
|
-
body = JSON.stringify({
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
});
|
|
881
|
+
body = JSON.stringify(take(input, {
|
|
882
|
+
CatalogId: [],
|
|
883
|
+
Expression: (_) => _json(_),
|
|
884
|
+
MaxResults: [],
|
|
885
|
+
NextToken: [],
|
|
886
|
+
}));
|
|
897
887
|
return new __HttpRequest({
|
|
898
888
|
protocol,
|
|
899
889
|
hostname,
|
|
@@ -911,12 +901,12 @@ export const se_SearchTablesByLFTagsCommand = async (input, context) => {
|
|
|
911
901
|
};
|
|
912
902
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/SearchTablesByLFTags";
|
|
913
903
|
let body;
|
|
914
|
-
body = JSON.stringify({
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
});
|
|
904
|
+
body = JSON.stringify(take(input, {
|
|
905
|
+
CatalogId: [],
|
|
906
|
+
Expression: (_) => _json(_),
|
|
907
|
+
MaxResults: [],
|
|
908
|
+
NextToken: [],
|
|
909
|
+
}));
|
|
920
910
|
return new __HttpRequest({
|
|
921
911
|
protocol,
|
|
922
912
|
hostname,
|
|
@@ -934,12 +924,10 @@ export const se_StartQueryPlanningCommand = async (input, context) => {
|
|
|
934
924
|
};
|
|
935
925
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartQueryPlanning";
|
|
936
926
|
let body;
|
|
937
|
-
body = JSON.stringify({
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
...(input.QueryString != null && { QueryString: input.QueryString }),
|
|
942
|
-
});
|
|
927
|
+
body = JSON.stringify(take(input, {
|
|
928
|
+
QueryPlanningContext: (_) => se_QueryPlanningContext(_, context),
|
|
929
|
+
QueryString: [],
|
|
930
|
+
}));
|
|
943
931
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
944
932
|
if (context.disableHostPrefix !== true) {
|
|
945
933
|
resolvedHostname = "query-" + resolvedHostname;
|
|
@@ -964,9 +952,9 @@ export const se_StartTransactionCommand = async (input, context) => {
|
|
|
964
952
|
};
|
|
965
953
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartTransaction";
|
|
966
954
|
let body;
|
|
967
|
-
body = JSON.stringify({
|
|
968
|
-
|
|
969
|
-
});
|
|
955
|
+
body = JSON.stringify(take(input, {
|
|
956
|
+
TransactionType: [],
|
|
957
|
+
}));
|
|
970
958
|
return new __HttpRequest({
|
|
971
959
|
protocol,
|
|
972
960
|
hostname,
|
|
@@ -984,9 +972,9 @@ export const se_UpdateDataCellsFilterCommand = async (input, context) => {
|
|
|
984
972
|
};
|
|
985
973
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateDataCellsFilter";
|
|
986
974
|
let body;
|
|
987
|
-
body = JSON.stringify({
|
|
988
|
-
|
|
989
|
-
});
|
|
975
|
+
body = JSON.stringify(take(input, {
|
|
976
|
+
TableData: (_) => _json(_),
|
|
977
|
+
}));
|
|
990
978
|
return new __HttpRequest({
|
|
991
979
|
protocol,
|
|
992
980
|
hostname,
|
|
@@ -1004,12 +992,12 @@ export const se_UpdateLFTagCommand = async (input, context) => {
|
|
|
1004
992
|
};
|
|
1005
993
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateLFTag";
|
|
1006
994
|
let body;
|
|
1007
|
-
body = JSON.stringify({
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
});
|
|
995
|
+
body = JSON.stringify(take(input, {
|
|
996
|
+
CatalogId: [],
|
|
997
|
+
TagKey: [],
|
|
998
|
+
TagValuesToAdd: (_) => _json(_),
|
|
999
|
+
TagValuesToDelete: (_) => _json(_),
|
|
1000
|
+
}));
|
|
1013
1001
|
return new __HttpRequest({
|
|
1014
1002
|
protocol,
|
|
1015
1003
|
hostname,
|
|
@@ -1027,11 +1015,11 @@ export const se_UpdateResourceCommand = async (input, context) => {
|
|
|
1027
1015
|
};
|
|
1028
1016
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateResource";
|
|
1029
1017
|
let body;
|
|
1030
|
-
body = JSON.stringify({
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
});
|
|
1018
|
+
body = JSON.stringify(take(input, {
|
|
1019
|
+
ResourceArn: [],
|
|
1020
|
+
RoleArn: [],
|
|
1021
|
+
WithFederation: [],
|
|
1022
|
+
}));
|
|
1035
1023
|
return new __HttpRequest({
|
|
1036
1024
|
protocol,
|
|
1037
1025
|
hostname,
|
|
@@ -1049,13 +1037,13 @@ export const se_UpdateTableObjectsCommand = async (input, context) => {
|
|
|
1049
1037
|
};
|
|
1050
1038
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateTableObjects";
|
|
1051
1039
|
let body;
|
|
1052
|
-
body = JSON.stringify({
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
});
|
|
1040
|
+
body = JSON.stringify(take(input, {
|
|
1041
|
+
CatalogId: [],
|
|
1042
|
+
DatabaseName: [],
|
|
1043
|
+
TableName: [],
|
|
1044
|
+
TransactionId: [],
|
|
1045
|
+
WriteOperations: (_) => _json(_),
|
|
1046
|
+
}));
|
|
1059
1047
|
return new __HttpRequest({
|
|
1060
1048
|
protocol,
|
|
1061
1049
|
hostname,
|
|
@@ -1073,14 +1061,12 @@ export const se_UpdateTableStorageOptimizerCommand = async (input, context) => {
|
|
|
1073
1061
|
};
|
|
1074
1062
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateTableStorageOptimizer";
|
|
1075
1063
|
let body;
|
|
1076
|
-
body = JSON.stringify({
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
1083
|
-
});
|
|
1064
|
+
body = JSON.stringify(take(input, {
|
|
1065
|
+
CatalogId: [],
|
|
1066
|
+
DatabaseName: [],
|
|
1067
|
+
StorageOptimizerConfig: (_) => _json(_),
|
|
1068
|
+
TableName: [],
|
|
1069
|
+
}));
|
|
1084
1070
|
return new __HttpRequest({
|
|
1085
1071
|
protocol,
|
|
1086
1072
|
hostname,
|
|
@@ -1099,9 +1085,10 @@ export const de_AddLFTagsToResourceCommand = async (output, context) => {
|
|
|
1099
1085
|
$metadata: deserializeMetadata(output),
|
|
1100
1086
|
});
|
|
1101
1087
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
}
|
|
1088
|
+
const doc = take(data, {
|
|
1089
|
+
Failures: _json,
|
|
1090
|
+
});
|
|
1091
|
+
Object.assign(contents, doc);
|
|
1105
1092
|
return contents;
|
|
1106
1093
|
};
|
|
1107
1094
|
const de_AddLFTagsToResourceCommandError = async (output, context) => {
|
|
@@ -1131,10 +1118,9 @@ const de_AddLFTagsToResourceCommandError = async (output, context) => {
|
|
|
1131
1118
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1132
1119
|
default:
|
|
1133
1120
|
const parsedBody = parsedOutput.body;
|
|
1134
|
-
throwDefaultError({
|
|
1121
|
+
return throwDefaultError({
|
|
1135
1122
|
output,
|
|
1136
1123
|
parsedBody,
|
|
1137
|
-
exceptionCtor: __BaseException,
|
|
1138
1124
|
errorCode,
|
|
1139
1125
|
});
|
|
1140
1126
|
}
|
|
@@ -1147,18 +1133,13 @@ export const de_AssumeDecoratedRoleWithSAMLCommand = async (output, context) =>
|
|
|
1147
1133
|
$metadata: deserializeMetadata(output),
|
|
1148
1134
|
});
|
|
1149
1135
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
contents.SecretAccessKey = __expectString(data.SecretAccessKey);
|
|
1158
|
-
}
|
|
1159
|
-
if (data.SessionToken != null) {
|
|
1160
|
-
contents.SessionToken = __expectString(data.SessionToken);
|
|
1161
|
-
}
|
|
1136
|
+
const doc = take(data, {
|
|
1137
|
+
AccessKeyId: __expectString,
|
|
1138
|
+
Expiration: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1139
|
+
SecretAccessKey: __expectString,
|
|
1140
|
+
SessionToken: __expectString,
|
|
1141
|
+
});
|
|
1142
|
+
Object.assign(contents, doc);
|
|
1162
1143
|
return contents;
|
|
1163
1144
|
};
|
|
1164
1145
|
const de_AssumeDecoratedRoleWithSAMLCommandError = async (output, context) => {
|
|
@@ -1185,10 +1166,9 @@ const de_AssumeDecoratedRoleWithSAMLCommandError = async (output, context) => {
|
|
|
1185
1166
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1186
1167
|
default:
|
|
1187
1168
|
const parsedBody = parsedOutput.body;
|
|
1188
|
-
throwDefaultError({
|
|
1169
|
+
return throwDefaultError({
|
|
1189
1170
|
output,
|
|
1190
1171
|
parsedBody,
|
|
1191
|
-
exceptionCtor: __BaseException,
|
|
1192
1172
|
errorCode,
|
|
1193
1173
|
});
|
|
1194
1174
|
}
|
|
@@ -1201,9 +1181,10 @@ export const de_BatchGrantPermissionsCommand = async (output, context) => {
|
|
|
1201
1181
|
$metadata: deserializeMetadata(output),
|
|
1202
1182
|
});
|
|
1203
1183
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
}
|
|
1184
|
+
const doc = take(data, {
|
|
1185
|
+
Failures: _json,
|
|
1186
|
+
});
|
|
1187
|
+
Object.assign(contents, doc);
|
|
1207
1188
|
return contents;
|
|
1208
1189
|
};
|
|
1209
1190
|
const de_BatchGrantPermissionsCommandError = async (output, context) => {
|
|
@@ -1221,10 +1202,9 @@ const de_BatchGrantPermissionsCommandError = async (output, context) => {
|
|
|
1221
1202
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1222
1203
|
default:
|
|
1223
1204
|
const parsedBody = parsedOutput.body;
|
|
1224
|
-
throwDefaultError({
|
|
1205
|
+
return throwDefaultError({
|
|
1225
1206
|
output,
|
|
1226
1207
|
parsedBody,
|
|
1227
|
-
exceptionCtor: __BaseException,
|
|
1228
1208
|
errorCode,
|
|
1229
1209
|
});
|
|
1230
1210
|
}
|
|
@@ -1237,9 +1217,10 @@ export const de_BatchRevokePermissionsCommand = async (output, context) => {
|
|
|
1237
1217
|
$metadata: deserializeMetadata(output),
|
|
1238
1218
|
});
|
|
1239
1219
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
}
|
|
1220
|
+
const doc = take(data, {
|
|
1221
|
+
Failures: _json,
|
|
1222
|
+
});
|
|
1223
|
+
Object.assign(contents, doc);
|
|
1243
1224
|
return contents;
|
|
1244
1225
|
};
|
|
1245
1226
|
const de_BatchRevokePermissionsCommandError = async (output, context) => {
|
|
@@ -1257,10 +1238,9 @@ const de_BatchRevokePermissionsCommandError = async (output, context) => {
|
|
|
1257
1238
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1258
1239
|
default:
|
|
1259
1240
|
const parsedBody = parsedOutput.body;
|
|
1260
|
-
throwDefaultError({
|
|
1241
|
+
return throwDefaultError({
|
|
1261
1242
|
output,
|
|
1262
1243
|
parsedBody,
|
|
1263
|
-
exceptionCtor: __BaseException,
|
|
1264
1244
|
errorCode,
|
|
1265
1245
|
});
|
|
1266
1246
|
}
|
|
@@ -1305,10 +1285,9 @@ const de_CancelTransactionCommandError = async (output, context) => {
|
|
|
1305
1285
|
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
1306
1286
|
default:
|
|
1307
1287
|
const parsedBody = parsedOutput.body;
|
|
1308
|
-
throwDefaultError({
|
|
1288
|
+
return throwDefaultError({
|
|
1309
1289
|
output,
|
|
1310
1290
|
parsedBody,
|
|
1311
|
-
exceptionCtor: __BaseException,
|
|
1312
1291
|
errorCode,
|
|
1313
1292
|
});
|
|
1314
1293
|
}
|
|
@@ -1321,9 +1300,10 @@ export const de_CommitTransactionCommand = async (output, context) => {
|
|
|
1321
1300
|
$metadata: deserializeMetadata(output),
|
|
1322
1301
|
});
|
|
1323
1302
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
}
|
|
1303
|
+
const doc = take(data, {
|
|
1304
|
+
TransactionStatus: __expectString,
|
|
1305
|
+
});
|
|
1306
|
+
Object.assign(contents, doc);
|
|
1327
1307
|
return contents;
|
|
1328
1308
|
};
|
|
1329
1309
|
const de_CommitTransactionCommandError = async (output, context) => {
|
|
@@ -1353,10 +1333,9 @@ const de_CommitTransactionCommandError = async (output, context) => {
|
|
|
1353
1333
|
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
1354
1334
|
default:
|
|
1355
1335
|
const parsedBody = parsedOutput.body;
|
|
1356
|
-
throwDefaultError({
|
|
1336
|
+
return throwDefaultError({
|
|
1357
1337
|
output,
|
|
1358
1338
|
parsedBody,
|
|
1359
|
-
exceptionCtor: __BaseException,
|
|
1360
1339
|
errorCode,
|
|
1361
1340
|
});
|
|
1362
1341
|
}
|
|
@@ -1401,10 +1380,9 @@ const de_CreateDataCellsFilterCommandError = async (output, context) => {
|
|
|
1401
1380
|
throw await de_ResourceNumberLimitExceededExceptionRes(parsedOutput, context);
|
|
1402
1381
|
default:
|
|
1403
1382
|
const parsedBody = parsedOutput.body;
|
|
1404
|
-
throwDefaultError({
|
|
1383
|
+
return throwDefaultError({
|
|
1405
1384
|
output,
|
|
1406
1385
|
parsedBody,
|
|
1407
|
-
exceptionCtor: __BaseException,
|
|
1408
1386
|
errorCode,
|
|
1409
1387
|
});
|
|
1410
1388
|
}
|
|
@@ -1446,10 +1424,9 @@ const de_CreateLFTagCommandError = async (output, context) => {
|
|
|
1446
1424
|
throw await de_ResourceNumberLimitExceededExceptionRes(parsedOutput, context);
|
|
1447
1425
|
default:
|
|
1448
1426
|
const parsedBody = parsedOutput.body;
|
|
1449
|
-
throwDefaultError({
|
|
1427
|
+
return throwDefaultError({
|
|
1450
1428
|
output,
|
|
1451
1429
|
parsedBody,
|
|
1452
|
-
exceptionCtor: __BaseException,
|
|
1453
1430
|
errorCode,
|
|
1454
1431
|
});
|
|
1455
1432
|
}
|
|
@@ -1488,10 +1465,9 @@ const de_DeleteDataCellsFilterCommandError = async (output, context) => {
|
|
|
1488
1465
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1489
1466
|
default:
|
|
1490
1467
|
const parsedBody = parsedOutput.body;
|
|
1491
|
-
throwDefaultError({
|
|
1468
|
+
return throwDefaultError({
|
|
1492
1469
|
output,
|
|
1493
1470
|
parsedBody,
|
|
1494
|
-
exceptionCtor: __BaseException,
|
|
1495
1471
|
errorCode,
|
|
1496
1472
|
});
|
|
1497
1473
|
}
|
|
@@ -1530,10 +1506,9 @@ const de_DeleteLFTagCommandError = async (output, context) => {
|
|
|
1530
1506
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1531
1507
|
default:
|
|
1532
1508
|
const parsedBody = parsedOutput.body;
|
|
1533
|
-
throwDefaultError({
|
|
1509
|
+
return throwDefaultError({
|
|
1534
1510
|
output,
|
|
1535
1511
|
parsedBody,
|
|
1536
|
-
exceptionCtor: __BaseException,
|
|
1537
1512
|
errorCode,
|
|
1538
1513
|
});
|
|
1539
1514
|
}
|
|
@@ -1581,10 +1556,9 @@ const de_DeleteObjectsOnCancelCommandError = async (output, context) => {
|
|
|
1581
1556
|
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
1582
1557
|
default:
|
|
1583
1558
|
const parsedBody = parsedOutput.body;
|
|
1584
|
-
throwDefaultError({
|
|
1559
|
+
return throwDefaultError({
|
|
1585
1560
|
output,
|
|
1586
1561
|
parsedBody,
|
|
1587
|
-
exceptionCtor: __BaseException,
|
|
1588
1562
|
errorCode,
|
|
1589
1563
|
});
|
|
1590
1564
|
}
|
|
@@ -1620,10 +1594,9 @@ const de_DeregisterResourceCommandError = async (output, context) => {
|
|
|
1620
1594
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1621
1595
|
default:
|
|
1622
1596
|
const parsedBody = parsedOutput.body;
|
|
1623
|
-
throwDefaultError({
|
|
1597
|
+
return throwDefaultError({
|
|
1624
1598
|
output,
|
|
1625
1599
|
parsedBody,
|
|
1626
|
-
exceptionCtor: __BaseException,
|
|
1627
1600
|
errorCode,
|
|
1628
1601
|
});
|
|
1629
1602
|
}
|
|
@@ -1636,9 +1609,10 @@ export const de_DescribeResourceCommand = async (output, context) => {
|
|
|
1636
1609
|
$metadata: deserializeMetadata(output),
|
|
1637
1610
|
});
|
|
1638
1611
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
}
|
|
1612
|
+
const doc = take(data, {
|
|
1613
|
+
ResourceInfo: (_) => de_ResourceInfo(_, context),
|
|
1614
|
+
});
|
|
1615
|
+
Object.assign(contents, doc);
|
|
1642
1616
|
return contents;
|
|
1643
1617
|
};
|
|
1644
1618
|
const de_DescribeResourceCommandError = async (output, context) => {
|
|
@@ -1662,10 +1636,9 @@ const de_DescribeResourceCommandError = async (output, context) => {
|
|
|
1662
1636
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1663
1637
|
default:
|
|
1664
1638
|
const parsedBody = parsedOutput.body;
|
|
1665
|
-
throwDefaultError({
|
|
1639
|
+
return throwDefaultError({
|
|
1666
1640
|
output,
|
|
1667
1641
|
parsedBody,
|
|
1668
|
-
exceptionCtor: __BaseException,
|
|
1669
1642
|
errorCode,
|
|
1670
1643
|
});
|
|
1671
1644
|
}
|
|
@@ -1678,9 +1651,10 @@ export const de_DescribeTransactionCommand = async (output, context) => {
|
|
|
1678
1651
|
$metadata: deserializeMetadata(output),
|
|
1679
1652
|
});
|
|
1680
1653
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
}
|
|
1654
|
+
const doc = take(data, {
|
|
1655
|
+
TransactionDescription: (_) => de_TransactionDescription(_, context),
|
|
1656
|
+
});
|
|
1657
|
+
Object.assign(contents, doc);
|
|
1684
1658
|
return contents;
|
|
1685
1659
|
};
|
|
1686
1660
|
const de_DescribeTransactionCommandError = async (output, context) => {
|
|
@@ -1704,10 +1678,9 @@ const de_DescribeTransactionCommandError = async (output, context) => {
|
|
|
1704
1678
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1705
1679
|
default:
|
|
1706
1680
|
const parsedBody = parsedOutput.body;
|
|
1707
|
-
throwDefaultError({
|
|
1681
|
+
return throwDefaultError({
|
|
1708
1682
|
output,
|
|
1709
1683
|
parsedBody,
|
|
1710
|
-
exceptionCtor: __BaseException,
|
|
1711
1684
|
errorCode,
|
|
1712
1685
|
});
|
|
1713
1686
|
}
|
|
@@ -1752,10 +1725,9 @@ const de_ExtendTransactionCommandError = async (output, context) => {
|
|
|
1752
1725
|
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
1753
1726
|
default:
|
|
1754
1727
|
const parsedBody = parsedOutput.body;
|
|
1755
|
-
throwDefaultError({
|
|
1728
|
+
return throwDefaultError({
|
|
1756
1729
|
output,
|
|
1757
1730
|
parsedBody,
|
|
1758
|
-
exceptionCtor: __BaseException,
|
|
1759
1731
|
errorCode,
|
|
1760
1732
|
});
|
|
1761
1733
|
}
|
|
@@ -1768,9 +1740,10 @@ export const de_GetDataCellsFilterCommand = async (output, context) => {
|
|
|
1768
1740
|
$metadata: deserializeMetadata(output),
|
|
1769
1741
|
});
|
|
1770
1742
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
}
|
|
1743
|
+
const doc = take(data, {
|
|
1744
|
+
DataCellsFilter: _json,
|
|
1745
|
+
});
|
|
1746
|
+
Object.assign(contents, doc);
|
|
1774
1747
|
return contents;
|
|
1775
1748
|
};
|
|
1776
1749
|
const de_GetDataCellsFilterCommandError = async (output, context) => {
|
|
@@ -1797,10 +1770,9 @@ const de_GetDataCellsFilterCommandError = async (output, context) => {
|
|
|
1797
1770
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1798
1771
|
default:
|
|
1799
1772
|
const parsedBody = parsedOutput.body;
|
|
1800
|
-
throwDefaultError({
|
|
1773
|
+
return throwDefaultError({
|
|
1801
1774
|
output,
|
|
1802
1775
|
parsedBody,
|
|
1803
|
-
exceptionCtor: __BaseException,
|
|
1804
1776
|
errorCode,
|
|
1805
1777
|
});
|
|
1806
1778
|
}
|
|
@@ -1813,9 +1785,10 @@ export const de_GetDataLakeSettingsCommand = async (output, context) => {
|
|
|
1813
1785
|
$metadata: deserializeMetadata(output),
|
|
1814
1786
|
});
|
|
1815
1787
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
}
|
|
1788
|
+
const doc = take(data, {
|
|
1789
|
+
DataLakeSettings: _json,
|
|
1790
|
+
});
|
|
1791
|
+
Object.assign(contents, doc);
|
|
1819
1792
|
return contents;
|
|
1820
1793
|
};
|
|
1821
1794
|
const de_GetDataLakeSettingsCommandError = async (output, context) => {
|
|
@@ -1836,10 +1809,9 @@ const de_GetDataLakeSettingsCommandError = async (output, context) => {
|
|
|
1836
1809
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1837
1810
|
default:
|
|
1838
1811
|
const parsedBody = parsedOutput.body;
|
|
1839
|
-
throwDefaultError({
|
|
1812
|
+
return throwDefaultError({
|
|
1840
1813
|
output,
|
|
1841
1814
|
parsedBody,
|
|
1842
|
-
exceptionCtor: __BaseException,
|
|
1843
1815
|
errorCode,
|
|
1844
1816
|
});
|
|
1845
1817
|
}
|
|
@@ -1852,12 +1824,11 @@ export const de_GetEffectivePermissionsForPathCommand = async (output, context)
|
|
|
1852
1824
|
$metadata: deserializeMetadata(output),
|
|
1853
1825
|
});
|
|
1854
1826
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
}
|
|
1827
|
+
const doc = take(data, {
|
|
1828
|
+
NextToken: __expectString,
|
|
1829
|
+
Permissions: _json,
|
|
1830
|
+
});
|
|
1831
|
+
Object.assign(contents, doc);
|
|
1861
1832
|
return contents;
|
|
1862
1833
|
};
|
|
1863
1834
|
const de_GetEffectivePermissionsForPathCommandError = async (output, context) => {
|
|
@@ -1881,10 +1852,9 @@ const de_GetEffectivePermissionsForPathCommandError = async (output, context) =>
|
|
|
1881
1852
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1882
1853
|
default:
|
|
1883
1854
|
const parsedBody = parsedOutput.body;
|
|
1884
|
-
throwDefaultError({
|
|
1855
|
+
return throwDefaultError({
|
|
1885
1856
|
output,
|
|
1886
1857
|
parsedBody,
|
|
1887
|
-
exceptionCtor: __BaseException,
|
|
1888
1858
|
errorCode,
|
|
1889
1859
|
});
|
|
1890
1860
|
}
|
|
@@ -1897,15 +1867,12 @@ export const de_GetLFTagCommand = async (output, context) => {
|
|
|
1897
1867
|
$metadata: deserializeMetadata(output),
|
|
1898
1868
|
});
|
|
1899
1869
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
if (data.TagValues != null) {
|
|
1907
|
-
contents.TagValues = de_TagValueList(data.TagValues, context);
|
|
1908
|
-
}
|
|
1870
|
+
const doc = take(data, {
|
|
1871
|
+
CatalogId: __expectString,
|
|
1872
|
+
TagKey: __expectString,
|
|
1873
|
+
TagValues: _json,
|
|
1874
|
+
});
|
|
1875
|
+
Object.assign(contents, doc);
|
|
1909
1876
|
return contents;
|
|
1910
1877
|
};
|
|
1911
1878
|
const de_GetLFTagCommandError = async (output, context) => {
|
|
@@ -1932,10 +1899,9 @@ const de_GetLFTagCommandError = async (output, context) => {
|
|
|
1932
1899
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1933
1900
|
default:
|
|
1934
1901
|
const parsedBody = parsedOutput.body;
|
|
1935
|
-
throwDefaultError({
|
|
1902
|
+
return throwDefaultError({
|
|
1936
1903
|
output,
|
|
1937
1904
|
parsedBody,
|
|
1938
|
-
exceptionCtor: __BaseException,
|
|
1939
1905
|
errorCode,
|
|
1940
1906
|
});
|
|
1941
1907
|
}
|
|
@@ -1948,12 +1914,11 @@ export const de_GetQueryStateCommand = async (output, context) => {
|
|
|
1948
1914
|
$metadata: deserializeMetadata(output),
|
|
1949
1915
|
});
|
|
1950
1916
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
}
|
|
1917
|
+
const doc = take(data, {
|
|
1918
|
+
Error: __expectString,
|
|
1919
|
+
State: __expectString,
|
|
1920
|
+
});
|
|
1921
|
+
Object.assign(contents, doc);
|
|
1957
1922
|
return contents;
|
|
1958
1923
|
};
|
|
1959
1924
|
const de_GetQueryStateCommandError = async (output, context) => {
|
|
@@ -1974,10 +1939,9 @@ const de_GetQueryStateCommandError = async (output, context) => {
|
|
|
1974
1939
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1975
1940
|
default:
|
|
1976
1941
|
const parsedBody = parsedOutput.body;
|
|
1977
|
-
throwDefaultError({
|
|
1942
|
+
return throwDefaultError({
|
|
1978
1943
|
output,
|
|
1979
1944
|
parsedBody,
|
|
1980
|
-
exceptionCtor: __BaseException,
|
|
1981
1945
|
errorCode,
|
|
1982
1946
|
});
|
|
1983
1947
|
}
|
|
@@ -1990,15 +1954,12 @@ export const de_GetQueryStatisticsCommand = async (output, context) => {
|
|
|
1990
1954
|
$metadata: deserializeMetadata(output),
|
|
1991
1955
|
});
|
|
1992
1956
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
if (data.QuerySubmissionTime != null) {
|
|
2000
|
-
contents.QuerySubmissionTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.QuerySubmissionTime));
|
|
2001
|
-
}
|
|
1957
|
+
const doc = take(data, {
|
|
1958
|
+
ExecutionStatistics: _json,
|
|
1959
|
+
PlanningStatistics: _json,
|
|
1960
|
+
QuerySubmissionTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1961
|
+
});
|
|
1962
|
+
Object.assign(contents, doc);
|
|
2002
1963
|
return contents;
|
|
2003
1964
|
};
|
|
2004
1965
|
const de_GetQueryStatisticsCommandError = async (output, context) => {
|
|
@@ -2028,10 +1989,9 @@ const de_GetQueryStatisticsCommandError = async (output, context) => {
|
|
|
2028
1989
|
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
2029
1990
|
default:
|
|
2030
1991
|
const parsedBody = parsedOutput.body;
|
|
2031
|
-
throwDefaultError({
|
|
1992
|
+
return throwDefaultError({
|
|
2032
1993
|
output,
|
|
2033
1994
|
parsedBody,
|
|
2034
|
-
exceptionCtor: __BaseException,
|
|
2035
1995
|
errorCode,
|
|
2036
1996
|
});
|
|
2037
1997
|
}
|
|
@@ -2044,15 +2004,12 @@ export const de_GetResourceLFTagsCommand = async (output, context) => {
|
|
|
2044
2004
|
$metadata: deserializeMetadata(output),
|
|
2045
2005
|
});
|
|
2046
2006
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
if (data.LFTagsOnTable != null) {
|
|
2054
|
-
contents.LFTagsOnTable = de_LFTagsList(data.LFTagsOnTable, context);
|
|
2055
|
-
}
|
|
2007
|
+
const doc = take(data, {
|
|
2008
|
+
LFTagOnDatabase: _json,
|
|
2009
|
+
LFTagsOnColumns: _json,
|
|
2010
|
+
LFTagsOnTable: _json,
|
|
2011
|
+
});
|
|
2012
|
+
Object.assign(contents, doc);
|
|
2056
2013
|
return contents;
|
|
2057
2014
|
};
|
|
2058
2015
|
const de_GetResourceLFTagsCommandError = async (output, context) => {
|
|
@@ -2082,10 +2039,9 @@ const de_GetResourceLFTagsCommandError = async (output, context) => {
|
|
|
2082
2039
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2083
2040
|
default:
|
|
2084
2041
|
const parsedBody = parsedOutput.body;
|
|
2085
|
-
throwDefaultError({
|
|
2042
|
+
return throwDefaultError({
|
|
2086
2043
|
output,
|
|
2087
2044
|
parsedBody,
|
|
2088
|
-
exceptionCtor: __BaseException,
|
|
2089
2045
|
errorCode,
|
|
2090
2046
|
});
|
|
2091
2047
|
}
|
|
@@ -2098,12 +2054,11 @@ export const de_GetTableObjectsCommand = async (output, context) => {
|
|
|
2098
2054
|
$metadata: deserializeMetadata(output),
|
|
2099
2055
|
});
|
|
2100
2056
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
}
|
|
2057
|
+
const doc = take(data, {
|
|
2058
|
+
NextToken: __expectString,
|
|
2059
|
+
Objects: _json,
|
|
2060
|
+
});
|
|
2061
|
+
Object.assign(contents, doc);
|
|
2107
2062
|
return contents;
|
|
2108
2063
|
};
|
|
2109
2064
|
const de_GetTableObjectsCommandError = async (output, context) => {
|
|
@@ -2136,10 +2091,9 @@ const de_GetTableObjectsCommandError = async (output, context) => {
|
|
|
2136
2091
|
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
2137
2092
|
default:
|
|
2138
2093
|
const parsedBody = parsedOutput.body;
|
|
2139
|
-
throwDefaultError({
|
|
2094
|
+
return throwDefaultError({
|
|
2140
2095
|
output,
|
|
2141
2096
|
parsedBody,
|
|
2142
|
-
exceptionCtor: __BaseException,
|
|
2143
2097
|
errorCode,
|
|
2144
2098
|
});
|
|
2145
2099
|
}
|
|
@@ -2152,18 +2106,13 @@ export const de_GetTemporaryGluePartitionCredentialsCommand = async (output, con
|
|
|
2152
2106
|
$metadata: deserializeMetadata(output),
|
|
2153
2107
|
});
|
|
2154
2108
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
}
|
|
2161
|
-
|
|
2162
|
-
contents.SecretAccessKey = __expectString(data.SecretAccessKey);
|
|
2163
|
-
}
|
|
2164
|
-
if (data.SessionToken != null) {
|
|
2165
|
-
contents.SessionToken = __expectString(data.SessionToken);
|
|
2166
|
-
}
|
|
2109
|
+
const doc = take(data, {
|
|
2110
|
+
AccessKeyId: __expectString,
|
|
2111
|
+
Expiration: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2112
|
+
SecretAccessKey: __expectString,
|
|
2113
|
+
SessionToken: __expectString,
|
|
2114
|
+
});
|
|
2115
|
+
Object.assign(contents, doc);
|
|
2167
2116
|
return contents;
|
|
2168
2117
|
};
|
|
2169
2118
|
const de_GetTemporaryGluePartitionCredentialsCommandError = async (output, context) => {
|
|
@@ -2193,10 +2142,9 @@ const de_GetTemporaryGluePartitionCredentialsCommandError = async (output, conte
|
|
|
2193
2142
|
throw await de_PermissionTypeMismatchExceptionRes(parsedOutput, context);
|
|
2194
2143
|
default:
|
|
2195
2144
|
const parsedBody = parsedOutput.body;
|
|
2196
|
-
throwDefaultError({
|
|
2145
|
+
return throwDefaultError({
|
|
2197
2146
|
output,
|
|
2198
2147
|
parsedBody,
|
|
2199
|
-
exceptionCtor: __BaseException,
|
|
2200
2148
|
errorCode,
|
|
2201
2149
|
});
|
|
2202
2150
|
}
|
|
@@ -2209,18 +2157,13 @@ export const de_GetTemporaryGlueTableCredentialsCommand = async (output, context
|
|
|
2209
2157
|
$metadata: deserializeMetadata(output),
|
|
2210
2158
|
});
|
|
2211
2159
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
}
|
|
2218
|
-
|
|
2219
|
-
contents.SecretAccessKey = __expectString(data.SecretAccessKey);
|
|
2220
|
-
}
|
|
2221
|
-
if (data.SessionToken != null) {
|
|
2222
|
-
contents.SessionToken = __expectString(data.SessionToken);
|
|
2223
|
-
}
|
|
2160
|
+
const doc = take(data, {
|
|
2161
|
+
AccessKeyId: __expectString,
|
|
2162
|
+
Expiration: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2163
|
+
SecretAccessKey: __expectString,
|
|
2164
|
+
SessionToken: __expectString,
|
|
2165
|
+
});
|
|
2166
|
+
Object.assign(contents, doc);
|
|
2224
2167
|
return contents;
|
|
2225
2168
|
};
|
|
2226
2169
|
const de_GetTemporaryGlueTableCredentialsCommandError = async (output, context) => {
|
|
@@ -2250,10 +2193,9 @@ const de_GetTemporaryGlueTableCredentialsCommandError = async (output, context)
|
|
|
2250
2193
|
throw await de_PermissionTypeMismatchExceptionRes(parsedOutput, context);
|
|
2251
2194
|
default:
|
|
2252
2195
|
const parsedBody = parsedOutput.body;
|
|
2253
|
-
throwDefaultError({
|
|
2196
|
+
return throwDefaultError({
|
|
2254
2197
|
output,
|
|
2255
2198
|
parsedBody,
|
|
2256
|
-
exceptionCtor: __BaseException,
|
|
2257
2199
|
errorCode,
|
|
2258
2200
|
});
|
|
2259
2201
|
}
|
|
@@ -2294,10 +2236,9 @@ const de_GetWorkUnitResultsCommandError = async (output, context) => {
|
|
|
2294
2236
|
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
2295
2237
|
default:
|
|
2296
2238
|
const parsedBody = parsedOutput.body;
|
|
2297
|
-
throwDefaultError({
|
|
2239
|
+
return throwDefaultError({
|
|
2298
2240
|
output,
|
|
2299
2241
|
parsedBody,
|
|
2300
|
-
exceptionCtor: __BaseException,
|
|
2301
2242
|
errorCode,
|
|
2302
2243
|
});
|
|
2303
2244
|
}
|
|
@@ -2310,15 +2251,12 @@ export const de_GetWorkUnitsCommand = async (output, context) => {
|
|
|
2310
2251
|
$metadata: deserializeMetadata(output),
|
|
2311
2252
|
});
|
|
2312
2253
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
if (data.WorkUnitRanges != null) {
|
|
2320
|
-
contents.WorkUnitRanges = de_WorkUnitRangeList(data.WorkUnitRanges, context);
|
|
2321
|
-
}
|
|
2254
|
+
const doc = take(data, {
|
|
2255
|
+
NextToken: __expectString,
|
|
2256
|
+
QueryId: __expectString,
|
|
2257
|
+
WorkUnitRanges: _json,
|
|
2258
|
+
});
|
|
2259
|
+
Object.assign(contents, doc);
|
|
2322
2260
|
return contents;
|
|
2323
2261
|
};
|
|
2324
2262
|
const de_GetWorkUnitsCommandError = async (output, context) => {
|
|
@@ -2345,10 +2283,9 @@ const de_GetWorkUnitsCommandError = async (output, context) => {
|
|
|
2345
2283
|
throw await de_WorkUnitsNotReadyYetExceptionRes(parsedOutput, context);
|
|
2346
2284
|
default:
|
|
2347
2285
|
const parsedBody = parsedOutput.body;
|
|
2348
|
-
throwDefaultError({
|
|
2286
|
+
return throwDefaultError({
|
|
2349
2287
|
output,
|
|
2350
2288
|
parsedBody,
|
|
2351
|
-
exceptionCtor: __BaseException,
|
|
2352
2289
|
errorCode,
|
|
2353
2290
|
});
|
|
2354
2291
|
}
|
|
@@ -2381,10 +2318,9 @@ const de_GrantPermissionsCommandError = async (output, context) => {
|
|
|
2381
2318
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2382
2319
|
default:
|
|
2383
2320
|
const parsedBody = parsedOutput.body;
|
|
2384
|
-
throwDefaultError({
|
|
2321
|
+
return throwDefaultError({
|
|
2385
2322
|
output,
|
|
2386
2323
|
parsedBody,
|
|
2387
|
-
exceptionCtor: __BaseException,
|
|
2388
2324
|
errorCode,
|
|
2389
2325
|
});
|
|
2390
2326
|
}
|
|
@@ -2397,12 +2333,11 @@ export const de_ListDataCellsFilterCommand = async (output, context) => {
|
|
|
2397
2333
|
$metadata: deserializeMetadata(output),
|
|
2398
2334
|
});
|
|
2399
2335
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
}
|
|
2336
|
+
const doc = take(data, {
|
|
2337
|
+
DataCellsFilters: _json,
|
|
2338
|
+
NextToken: __expectString,
|
|
2339
|
+
});
|
|
2340
|
+
Object.assign(contents, doc);
|
|
2406
2341
|
return contents;
|
|
2407
2342
|
};
|
|
2408
2343
|
const de_ListDataCellsFilterCommandError = async (output, context) => {
|
|
@@ -2426,10 +2361,9 @@ const de_ListDataCellsFilterCommandError = async (output, context) => {
|
|
|
2426
2361
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2427
2362
|
default:
|
|
2428
2363
|
const parsedBody = parsedOutput.body;
|
|
2429
|
-
throwDefaultError({
|
|
2364
|
+
return throwDefaultError({
|
|
2430
2365
|
output,
|
|
2431
2366
|
parsedBody,
|
|
2432
|
-
exceptionCtor: __BaseException,
|
|
2433
2367
|
errorCode,
|
|
2434
2368
|
});
|
|
2435
2369
|
}
|
|
@@ -2442,12 +2376,11 @@ export const de_ListLFTagsCommand = async (output, context) => {
|
|
|
2442
2376
|
$metadata: deserializeMetadata(output),
|
|
2443
2377
|
});
|
|
2444
2378
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
}
|
|
2379
|
+
const doc = take(data, {
|
|
2380
|
+
LFTags: _json,
|
|
2381
|
+
NextToken: __expectString,
|
|
2382
|
+
});
|
|
2383
|
+
Object.assign(contents, doc);
|
|
2451
2384
|
return contents;
|
|
2452
2385
|
};
|
|
2453
2386
|
const de_ListLFTagsCommandError = async (output, context) => {
|
|
@@ -2474,10 +2407,9 @@ const de_ListLFTagsCommandError = async (output, context) => {
|
|
|
2474
2407
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2475
2408
|
default:
|
|
2476
2409
|
const parsedBody = parsedOutput.body;
|
|
2477
|
-
throwDefaultError({
|
|
2410
|
+
return throwDefaultError({
|
|
2478
2411
|
output,
|
|
2479
2412
|
parsedBody,
|
|
2480
|
-
exceptionCtor: __BaseException,
|
|
2481
2413
|
errorCode,
|
|
2482
2414
|
});
|
|
2483
2415
|
}
|
|
@@ -2490,12 +2422,11 @@ export const de_ListPermissionsCommand = async (output, context) => {
|
|
|
2490
2422
|
$metadata: deserializeMetadata(output),
|
|
2491
2423
|
});
|
|
2492
2424
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
}
|
|
2425
|
+
const doc = take(data, {
|
|
2426
|
+
NextToken: __expectString,
|
|
2427
|
+
PrincipalResourcePermissions: _json,
|
|
2428
|
+
});
|
|
2429
|
+
Object.assign(contents, doc);
|
|
2499
2430
|
return contents;
|
|
2500
2431
|
};
|
|
2501
2432
|
const de_ListPermissionsCommandError = async (output, context) => {
|
|
@@ -2516,10 +2447,9 @@ const de_ListPermissionsCommandError = async (output, context) => {
|
|
|
2516
2447
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2517
2448
|
default:
|
|
2518
2449
|
const parsedBody = parsedOutput.body;
|
|
2519
|
-
throwDefaultError({
|
|
2450
|
+
return throwDefaultError({
|
|
2520
2451
|
output,
|
|
2521
2452
|
parsedBody,
|
|
2522
|
-
exceptionCtor: __BaseException,
|
|
2523
2453
|
errorCode,
|
|
2524
2454
|
});
|
|
2525
2455
|
}
|
|
@@ -2532,12 +2462,11 @@ export const de_ListResourcesCommand = async (output, context) => {
|
|
|
2532
2462
|
$metadata: deserializeMetadata(output),
|
|
2533
2463
|
});
|
|
2534
2464
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
}
|
|
2465
|
+
const doc = take(data, {
|
|
2466
|
+
NextToken: __expectString,
|
|
2467
|
+
ResourceInfoList: (_) => de_ResourceInfoList(_, context),
|
|
2468
|
+
});
|
|
2469
|
+
Object.assign(contents, doc);
|
|
2541
2470
|
return contents;
|
|
2542
2471
|
};
|
|
2543
2472
|
const de_ListResourcesCommandError = async (output, context) => {
|
|
@@ -2558,10 +2487,9 @@ const de_ListResourcesCommandError = async (output, context) => {
|
|
|
2558
2487
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2559
2488
|
default:
|
|
2560
2489
|
const parsedBody = parsedOutput.body;
|
|
2561
|
-
throwDefaultError({
|
|
2490
|
+
return throwDefaultError({
|
|
2562
2491
|
output,
|
|
2563
2492
|
parsedBody,
|
|
2564
|
-
exceptionCtor: __BaseException,
|
|
2565
2493
|
errorCode,
|
|
2566
2494
|
});
|
|
2567
2495
|
}
|
|
@@ -2574,12 +2502,11 @@ export const de_ListTableStorageOptimizersCommand = async (output, context) => {
|
|
|
2574
2502
|
$metadata: deserializeMetadata(output),
|
|
2575
2503
|
});
|
|
2576
2504
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
}
|
|
2505
|
+
const doc = take(data, {
|
|
2506
|
+
NextToken: __expectString,
|
|
2507
|
+
StorageOptimizerList: _json,
|
|
2508
|
+
});
|
|
2509
|
+
Object.assign(contents, doc);
|
|
2583
2510
|
return contents;
|
|
2584
2511
|
};
|
|
2585
2512
|
const de_ListTableStorageOptimizersCommandError = async (output, context) => {
|
|
@@ -2603,10 +2530,9 @@ const de_ListTableStorageOptimizersCommandError = async (output, context) => {
|
|
|
2603
2530
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2604
2531
|
default:
|
|
2605
2532
|
const parsedBody = parsedOutput.body;
|
|
2606
|
-
throwDefaultError({
|
|
2533
|
+
return throwDefaultError({
|
|
2607
2534
|
output,
|
|
2608
2535
|
parsedBody,
|
|
2609
|
-
exceptionCtor: __BaseException,
|
|
2610
2536
|
errorCode,
|
|
2611
2537
|
});
|
|
2612
2538
|
}
|
|
@@ -2619,12 +2545,11 @@ export const de_ListTransactionsCommand = async (output, context) => {
|
|
|
2619
2545
|
$metadata: deserializeMetadata(output),
|
|
2620
2546
|
});
|
|
2621
2547
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
}
|
|
2548
|
+
const doc = take(data, {
|
|
2549
|
+
NextToken: __expectString,
|
|
2550
|
+
Transactions: (_) => de_TransactionDescriptionList(_, context),
|
|
2551
|
+
});
|
|
2552
|
+
Object.assign(contents, doc);
|
|
2628
2553
|
return contents;
|
|
2629
2554
|
};
|
|
2630
2555
|
const de_ListTransactionsCommandError = async (output, context) => {
|
|
@@ -2645,10 +2570,9 @@ const de_ListTransactionsCommandError = async (output, context) => {
|
|
|
2645
2570
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2646
2571
|
default:
|
|
2647
2572
|
const parsedBody = parsedOutput.body;
|
|
2648
|
-
throwDefaultError({
|
|
2573
|
+
return throwDefaultError({
|
|
2649
2574
|
output,
|
|
2650
2575
|
parsedBody,
|
|
2651
|
-
exceptionCtor: __BaseException,
|
|
2652
2576
|
errorCode,
|
|
2653
2577
|
});
|
|
2654
2578
|
}
|
|
@@ -2678,10 +2602,9 @@ const de_PutDataLakeSettingsCommandError = async (output, context) => {
|
|
|
2678
2602
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2679
2603
|
default:
|
|
2680
2604
|
const parsedBody = parsedOutput.body;
|
|
2681
|
-
throwDefaultError({
|
|
2605
|
+
return throwDefaultError({
|
|
2682
2606
|
output,
|
|
2683
2607
|
parsedBody,
|
|
2684
|
-
exceptionCtor: __BaseException,
|
|
2685
2608
|
errorCode,
|
|
2686
2609
|
});
|
|
2687
2610
|
}
|
|
@@ -2726,10 +2649,9 @@ const de_RegisterResourceCommandError = async (output, context) => {
|
|
|
2726
2649
|
throw await de_ResourceNumberLimitExceededExceptionRes(parsedOutput, context);
|
|
2727
2650
|
default:
|
|
2728
2651
|
const parsedBody = parsedOutput.body;
|
|
2729
|
-
throwDefaultError({
|
|
2652
|
+
return throwDefaultError({
|
|
2730
2653
|
output,
|
|
2731
2654
|
parsedBody,
|
|
2732
|
-
exceptionCtor: __BaseException,
|
|
2733
2655
|
errorCode,
|
|
2734
2656
|
});
|
|
2735
2657
|
}
|
|
@@ -2742,9 +2664,10 @@ export const de_RemoveLFTagsFromResourceCommand = async (output, context) => {
|
|
|
2742
2664
|
$metadata: deserializeMetadata(output),
|
|
2743
2665
|
});
|
|
2744
2666
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
}
|
|
2667
|
+
const doc = take(data, {
|
|
2668
|
+
Failures: _json,
|
|
2669
|
+
});
|
|
2670
|
+
Object.assign(contents, doc);
|
|
2748
2671
|
return contents;
|
|
2749
2672
|
};
|
|
2750
2673
|
const de_RemoveLFTagsFromResourceCommandError = async (output, context) => {
|
|
@@ -2777,10 +2700,9 @@ const de_RemoveLFTagsFromResourceCommandError = async (output, context) => {
|
|
|
2777
2700
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2778
2701
|
default:
|
|
2779
2702
|
const parsedBody = parsedOutput.body;
|
|
2780
|
-
throwDefaultError({
|
|
2703
|
+
return throwDefaultError({
|
|
2781
2704
|
output,
|
|
2782
2705
|
parsedBody,
|
|
2783
|
-
exceptionCtor: __BaseException,
|
|
2784
2706
|
errorCode,
|
|
2785
2707
|
});
|
|
2786
2708
|
}
|
|
@@ -2813,10 +2735,9 @@ const de_RevokePermissionsCommandError = async (output, context) => {
|
|
|
2813
2735
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2814
2736
|
default:
|
|
2815
2737
|
const parsedBody = parsedOutput.body;
|
|
2816
|
-
throwDefaultError({
|
|
2738
|
+
return throwDefaultError({
|
|
2817
2739
|
output,
|
|
2818
2740
|
parsedBody,
|
|
2819
|
-
exceptionCtor: __BaseException,
|
|
2820
2741
|
errorCode,
|
|
2821
2742
|
});
|
|
2822
2743
|
}
|
|
@@ -2829,12 +2750,11 @@ export const de_SearchDatabasesByLFTagsCommand = async (output, context) => {
|
|
|
2829
2750
|
$metadata: deserializeMetadata(output),
|
|
2830
2751
|
});
|
|
2831
2752
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
}
|
|
2753
|
+
const doc = take(data, {
|
|
2754
|
+
DatabaseList: _json,
|
|
2755
|
+
NextToken: __expectString,
|
|
2756
|
+
});
|
|
2757
|
+
Object.assign(contents, doc);
|
|
2838
2758
|
return contents;
|
|
2839
2759
|
};
|
|
2840
2760
|
const de_SearchDatabasesByLFTagsCommandError = async (output, context) => {
|
|
@@ -2864,10 +2784,9 @@ const de_SearchDatabasesByLFTagsCommandError = async (output, context) => {
|
|
|
2864
2784
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2865
2785
|
default:
|
|
2866
2786
|
const parsedBody = parsedOutput.body;
|
|
2867
|
-
throwDefaultError({
|
|
2787
|
+
return throwDefaultError({
|
|
2868
2788
|
output,
|
|
2869
2789
|
parsedBody,
|
|
2870
|
-
exceptionCtor: __BaseException,
|
|
2871
2790
|
errorCode,
|
|
2872
2791
|
});
|
|
2873
2792
|
}
|
|
@@ -2880,12 +2799,11 @@ export const de_SearchTablesByLFTagsCommand = async (output, context) => {
|
|
|
2880
2799
|
$metadata: deserializeMetadata(output),
|
|
2881
2800
|
});
|
|
2882
2801
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
}
|
|
2802
|
+
const doc = take(data, {
|
|
2803
|
+
NextToken: __expectString,
|
|
2804
|
+
TableList: _json,
|
|
2805
|
+
});
|
|
2806
|
+
Object.assign(contents, doc);
|
|
2889
2807
|
return contents;
|
|
2890
2808
|
};
|
|
2891
2809
|
const de_SearchTablesByLFTagsCommandError = async (output, context) => {
|
|
@@ -2915,10 +2833,9 @@ const de_SearchTablesByLFTagsCommandError = async (output, context) => {
|
|
|
2915
2833
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2916
2834
|
default:
|
|
2917
2835
|
const parsedBody = parsedOutput.body;
|
|
2918
|
-
throwDefaultError({
|
|
2836
|
+
return throwDefaultError({
|
|
2919
2837
|
output,
|
|
2920
2838
|
parsedBody,
|
|
2921
|
-
exceptionCtor: __BaseException,
|
|
2922
2839
|
errorCode,
|
|
2923
2840
|
});
|
|
2924
2841
|
}
|
|
@@ -2931,9 +2848,10 @@ export const de_StartQueryPlanningCommand = async (output, context) => {
|
|
|
2931
2848
|
$metadata: deserializeMetadata(output),
|
|
2932
2849
|
});
|
|
2933
2850
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
}
|
|
2851
|
+
const doc = take(data, {
|
|
2852
|
+
QueryId: __expectString,
|
|
2853
|
+
});
|
|
2854
|
+
Object.assign(contents, doc);
|
|
2937
2855
|
return contents;
|
|
2938
2856
|
};
|
|
2939
2857
|
const de_StartQueryPlanningCommandError = async (output, context) => {
|
|
@@ -2957,10 +2875,9 @@ const de_StartQueryPlanningCommandError = async (output, context) => {
|
|
|
2957
2875
|
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
2958
2876
|
default:
|
|
2959
2877
|
const parsedBody = parsedOutput.body;
|
|
2960
|
-
throwDefaultError({
|
|
2878
|
+
return throwDefaultError({
|
|
2961
2879
|
output,
|
|
2962
2880
|
parsedBody,
|
|
2963
|
-
exceptionCtor: __BaseException,
|
|
2964
2881
|
errorCode,
|
|
2965
2882
|
});
|
|
2966
2883
|
}
|
|
@@ -2973,9 +2890,10 @@ export const de_StartTransactionCommand = async (output, context) => {
|
|
|
2973
2890
|
$metadata: deserializeMetadata(output),
|
|
2974
2891
|
});
|
|
2975
2892
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
}
|
|
2893
|
+
const doc = take(data, {
|
|
2894
|
+
TransactionId: __expectString,
|
|
2895
|
+
});
|
|
2896
|
+
Object.assign(contents, doc);
|
|
2979
2897
|
return contents;
|
|
2980
2898
|
};
|
|
2981
2899
|
const de_StartTransactionCommandError = async (output, context) => {
|
|
@@ -2993,10 +2911,9 @@ const de_StartTransactionCommandError = async (output, context) => {
|
|
|
2993
2911
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2994
2912
|
default:
|
|
2995
2913
|
const parsedBody = parsedOutput.body;
|
|
2996
|
-
throwDefaultError({
|
|
2914
|
+
return throwDefaultError({
|
|
2997
2915
|
output,
|
|
2998
2916
|
parsedBody,
|
|
2999
|
-
exceptionCtor: __BaseException,
|
|
3000
2917
|
errorCode,
|
|
3001
2918
|
});
|
|
3002
2919
|
}
|
|
@@ -3038,10 +2955,9 @@ const de_UpdateDataCellsFilterCommandError = async (output, context) => {
|
|
|
3038
2955
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
3039
2956
|
default:
|
|
3040
2957
|
const parsedBody = parsedOutput.body;
|
|
3041
|
-
throwDefaultError({
|
|
2958
|
+
return throwDefaultError({
|
|
3042
2959
|
output,
|
|
3043
2960
|
parsedBody,
|
|
3044
|
-
exceptionCtor: __BaseException,
|
|
3045
2961
|
errorCode,
|
|
3046
2962
|
});
|
|
3047
2963
|
}
|
|
@@ -3083,10 +2999,9 @@ const de_UpdateLFTagCommandError = async (output, context) => {
|
|
|
3083
2999
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
3084
3000
|
default:
|
|
3085
3001
|
const parsedBody = parsedOutput.body;
|
|
3086
|
-
throwDefaultError({
|
|
3002
|
+
return throwDefaultError({
|
|
3087
3003
|
output,
|
|
3088
3004
|
parsedBody,
|
|
3089
|
-
exceptionCtor: __BaseException,
|
|
3090
3005
|
errorCode,
|
|
3091
3006
|
});
|
|
3092
3007
|
}
|
|
@@ -3122,10 +3037,9 @@ const de_UpdateResourceCommandError = async (output, context) => {
|
|
|
3122
3037
|
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
3123
3038
|
default:
|
|
3124
3039
|
const parsedBody = parsedOutput.body;
|
|
3125
|
-
throwDefaultError({
|
|
3040
|
+
return throwDefaultError({
|
|
3126
3041
|
output,
|
|
3127
3042
|
parsedBody,
|
|
3128
|
-
exceptionCtor: __BaseException,
|
|
3129
3043
|
errorCode,
|
|
3130
3044
|
});
|
|
3131
3045
|
}
|
|
@@ -3176,10 +3090,9 @@ const de_UpdateTableObjectsCommandError = async (output, context) => {
|
|
|
3176
3090
|
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
3177
3091
|
default:
|
|
3178
3092
|
const parsedBody = parsedOutput.body;
|
|
3179
|
-
throwDefaultError({
|
|
3093
|
+
return throwDefaultError({
|
|
3180
3094
|
output,
|
|
3181
3095
|
parsedBody,
|
|
3182
|
-
exceptionCtor: __BaseException,
|
|
3183
3096
|
errorCode,
|
|
3184
3097
|
});
|
|
3185
3098
|
}
|
|
@@ -3192,9 +3105,10 @@ export const de_UpdateTableStorageOptimizerCommand = async (output, context) =>
|
|
|
3192
3105
|
$metadata: deserializeMetadata(output),
|
|
3193
3106
|
});
|
|
3194
3107
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
}
|
|
3108
|
+
const doc = take(data, {
|
|
3109
|
+
Result: __expectString,
|
|
3110
|
+
});
|
|
3111
|
+
Object.assign(contents, doc);
|
|
3198
3112
|
return contents;
|
|
3199
3113
|
};
|
|
3200
3114
|
const de_UpdateTableStorageOptimizerCommandError = async (output, context) => {
|
|
@@ -3218,21 +3132,21 @@ const de_UpdateTableStorageOptimizerCommandError = async (output, context) => {
|
|
|
3218
3132
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3219
3133
|
default:
|
|
3220
3134
|
const parsedBody = parsedOutput.body;
|
|
3221
|
-
throwDefaultError({
|
|
3135
|
+
return throwDefaultError({
|
|
3222
3136
|
output,
|
|
3223
3137
|
parsedBody,
|
|
3224
|
-
exceptionCtor: __BaseException,
|
|
3225
3138
|
errorCode,
|
|
3226
3139
|
});
|
|
3227
3140
|
}
|
|
3228
3141
|
};
|
|
3229
|
-
const
|
|
3142
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
3230
3143
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3231
3144
|
const contents = map({});
|
|
3232
3145
|
const data = parsedOutput.body;
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
}
|
|
3146
|
+
const doc = take(data, {
|
|
3147
|
+
Message: __expectString,
|
|
3148
|
+
});
|
|
3149
|
+
Object.assign(contents, doc);
|
|
3236
3150
|
const exception = new AccessDeniedException({
|
|
3237
3151
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3238
3152
|
...contents,
|
|
@@ -3242,9 +3156,10 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
3242
3156
|
const de_AlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3243
3157
|
const contents = map({});
|
|
3244
3158
|
const data = parsedOutput.body;
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
}
|
|
3159
|
+
const doc = take(data, {
|
|
3160
|
+
Message: __expectString,
|
|
3161
|
+
});
|
|
3162
|
+
Object.assign(contents, doc);
|
|
3248
3163
|
const exception = new AlreadyExistsException({
|
|
3249
3164
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3250
3165
|
...contents,
|
|
@@ -3254,9 +3169,10 @@ const de_AlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
3254
3169
|
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
3255
3170
|
const contents = map({});
|
|
3256
3171
|
const data = parsedOutput.body;
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
}
|
|
3172
|
+
const doc = take(data, {
|
|
3173
|
+
Message: __expectString,
|
|
3174
|
+
});
|
|
3175
|
+
Object.assign(contents, doc);
|
|
3260
3176
|
const exception = new ConcurrentModificationException({
|
|
3261
3177
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3262
3178
|
...contents,
|
|
@@ -3266,9 +3182,10 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
|
3266
3182
|
const de_EntityNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3267
3183
|
const contents = map({});
|
|
3268
3184
|
const data = parsedOutput.body;
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
}
|
|
3185
|
+
const doc = take(data, {
|
|
3186
|
+
Message: __expectString,
|
|
3187
|
+
});
|
|
3188
|
+
Object.assign(contents, doc);
|
|
3272
3189
|
const exception = new EntityNotFoundException({
|
|
3273
3190
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3274
3191
|
...contents,
|
|
@@ -3278,9 +3195,10 @@ const de_EntityNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3278
3195
|
const de_ExpiredExceptionRes = async (parsedOutput, context) => {
|
|
3279
3196
|
const contents = map({});
|
|
3280
3197
|
const data = parsedOutput.body;
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
}
|
|
3198
|
+
const doc = take(data, {
|
|
3199
|
+
Message: __expectString,
|
|
3200
|
+
});
|
|
3201
|
+
Object.assign(contents, doc);
|
|
3284
3202
|
const exception = new ExpiredException({
|
|
3285
3203
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3286
3204
|
...contents,
|
|
@@ -3290,9 +3208,10 @@ const de_ExpiredExceptionRes = async (parsedOutput, context) => {
|
|
|
3290
3208
|
const de_GlueEncryptionExceptionRes = async (parsedOutput, context) => {
|
|
3291
3209
|
const contents = map({});
|
|
3292
3210
|
const data = parsedOutput.body;
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
}
|
|
3211
|
+
const doc = take(data, {
|
|
3212
|
+
Message: __expectString,
|
|
3213
|
+
});
|
|
3214
|
+
Object.assign(contents, doc);
|
|
3296
3215
|
const exception = new GlueEncryptionException({
|
|
3297
3216
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3298
3217
|
...contents,
|
|
@@ -3302,9 +3221,10 @@ const de_GlueEncryptionExceptionRes = async (parsedOutput, context) => {
|
|
|
3302
3221
|
const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
3303
3222
|
const contents = map({});
|
|
3304
3223
|
const data = parsedOutput.body;
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
}
|
|
3224
|
+
const doc = take(data, {
|
|
3225
|
+
Message: __expectString,
|
|
3226
|
+
});
|
|
3227
|
+
Object.assign(contents, doc);
|
|
3308
3228
|
const exception = new InternalServiceException({
|
|
3309
3229
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3310
3230
|
...contents,
|
|
@@ -3314,9 +3234,10 @@ const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
|
3314
3234
|
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
3315
3235
|
const contents = map({});
|
|
3316
3236
|
const data = parsedOutput.body;
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
}
|
|
3237
|
+
const doc = take(data, {
|
|
3238
|
+
Message: __expectString,
|
|
3239
|
+
});
|
|
3240
|
+
Object.assign(contents, doc);
|
|
3320
3241
|
const exception = new InvalidInputException({
|
|
3321
3242
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3322
3243
|
...contents,
|
|
@@ -3326,9 +3247,10 @@ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
|
3326
3247
|
const de_OperationTimeoutExceptionRes = async (parsedOutput, context) => {
|
|
3327
3248
|
const contents = map({});
|
|
3328
3249
|
const data = parsedOutput.body;
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
}
|
|
3250
|
+
const doc = take(data, {
|
|
3251
|
+
Message: __expectString,
|
|
3252
|
+
});
|
|
3253
|
+
Object.assign(contents, doc);
|
|
3332
3254
|
const exception = new OperationTimeoutException({
|
|
3333
3255
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3334
3256
|
...contents,
|
|
@@ -3338,9 +3260,10 @@ const de_OperationTimeoutExceptionRes = async (parsedOutput, context) => {
|
|
|
3338
3260
|
const de_PermissionTypeMismatchExceptionRes = async (parsedOutput, context) => {
|
|
3339
3261
|
const contents = map({});
|
|
3340
3262
|
const data = parsedOutput.body;
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
}
|
|
3263
|
+
const doc = take(data, {
|
|
3264
|
+
Message: __expectString,
|
|
3265
|
+
});
|
|
3266
|
+
Object.assign(contents, doc);
|
|
3344
3267
|
const exception = new PermissionTypeMismatchException({
|
|
3345
3268
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3346
3269
|
...contents,
|
|
@@ -3350,9 +3273,10 @@ const de_PermissionTypeMismatchExceptionRes = async (parsedOutput, context) => {
|
|
|
3350
3273
|
const de_ResourceNotReadyExceptionRes = async (parsedOutput, context) => {
|
|
3351
3274
|
const contents = map({});
|
|
3352
3275
|
const data = parsedOutput.body;
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
}
|
|
3276
|
+
const doc = take(data, {
|
|
3277
|
+
Message: __expectString,
|
|
3278
|
+
});
|
|
3279
|
+
Object.assign(contents, doc);
|
|
3356
3280
|
const exception = new ResourceNotReadyException({
|
|
3357
3281
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3358
3282
|
...contents,
|
|
@@ -3362,9 +3286,10 @@ const de_ResourceNotReadyExceptionRes = async (parsedOutput, context) => {
|
|
|
3362
3286
|
const de_ResourceNumberLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3363
3287
|
const contents = map({});
|
|
3364
3288
|
const data = parsedOutput.body;
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
}
|
|
3289
|
+
const doc = take(data, {
|
|
3290
|
+
Message: __expectString,
|
|
3291
|
+
});
|
|
3292
|
+
Object.assign(contents, doc);
|
|
3368
3293
|
const exception = new ResourceNumberLimitExceededException({
|
|
3369
3294
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3370
3295
|
...contents,
|
|
@@ -3374,9 +3299,10 @@ const de_ResourceNumberLimitExceededExceptionRes = async (parsedOutput, context)
|
|
|
3374
3299
|
const de_StatisticsNotReadyYetExceptionRes = async (parsedOutput, context) => {
|
|
3375
3300
|
const contents = map({});
|
|
3376
3301
|
const data = parsedOutput.body;
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
}
|
|
3302
|
+
const doc = take(data, {
|
|
3303
|
+
Message: __expectString,
|
|
3304
|
+
});
|
|
3305
|
+
Object.assign(contents, doc);
|
|
3380
3306
|
const exception = new StatisticsNotReadyYetException({
|
|
3381
3307
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3382
3308
|
...contents,
|
|
@@ -3386,9 +3312,10 @@ const de_StatisticsNotReadyYetExceptionRes = async (parsedOutput, context) => {
|
|
|
3386
3312
|
const de_ThrottledExceptionRes = async (parsedOutput, context) => {
|
|
3387
3313
|
const contents = map({});
|
|
3388
3314
|
const data = parsedOutput.body;
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
}
|
|
3315
|
+
const doc = take(data, {
|
|
3316
|
+
Message: __expectString,
|
|
3317
|
+
});
|
|
3318
|
+
Object.assign(contents, doc);
|
|
3392
3319
|
const exception = new ThrottledException({
|
|
3393
3320
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3394
3321
|
...contents,
|
|
@@ -3398,9 +3325,10 @@ const de_ThrottledExceptionRes = async (parsedOutput, context) => {
|
|
|
3398
3325
|
const de_TransactionCanceledExceptionRes = async (parsedOutput, context) => {
|
|
3399
3326
|
const contents = map({});
|
|
3400
3327
|
const data = parsedOutput.body;
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
}
|
|
3328
|
+
const doc = take(data, {
|
|
3329
|
+
Message: __expectString,
|
|
3330
|
+
});
|
|
3331
|
+
Object.assign(contents, doc);
|
|
3404
3332
|
const exception = new TransactionCanceledException({
|
|
3405
3333
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3406
3334
|
...contents,
|
|
@@ -3410,9 +3338,10 @@ const de_TransactionCanceledExceptionRes = async (parsedOutput, context) => {
|
|
|
3410
3338
|
const de_TransactionCommitInProgressExceptionRes = async (parsedOutput, context) => {
|
|
3411
3339
|
const contents = map({});
|
|
3412
3340
|
const data = parsedOutput.body;
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
}
|
|
3341
|
+
const doc = take(data, {
|
|
3342
|
+
Message: __expectString,
|
|
3343
|
+
});
|
|
3344
|
+
Object.assign(contents, doc);
|
|
3416
3345
|
const exception = new TransactionCommitInProgressException({
|
|
3417
3346
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3418
3347
|
...contents,
|
|
@@ -3422,9 +3351,10 @@ const de_TransactionCommitInProgressExceptionRes = async (parsedOutput, context)
|
|
|
3422
3351
|
const de_TransactionCommittedExceptionRes = async (parsedOutput, context) => {
|
|
3423
3352
|
const contents = map({});
|
|
3424
3353
|
const data = parsedOutput.body;
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
}
|
|
3354
|
+
const doc = take(data, {
|
|
3355
|
+
Message: __expectString,
|
|
3356
|
+
});
|
|
3357
|
+
Object.assign(contents, doc);
|
|
3428
3358
|
const exception = new TransactionCommittedException({
|
|
3429
3359
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3430
3360
|
...contents,
|
|
@@ -3434,937 +3364,57 @@ const de_TransactionCommittedExceptionRes = async (parsedOutput, context) => {
|
|
|
3434
3364
|
const de_WorkUnitsNotReadyYetExceptionRes = async (parsedOutput, context) => {
|
|
3435
3365
|
const contents = map({});
|
|
3436
3366
|
const data = parsedOutput.body;
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
}
|
|
3367
|
+
const doc = take(data, {
|
|
3368
|
+
Message: __expectString,
|
|
3369
|
+
});
|
|
3370
|
+
Object.assign(contents, doc);
|
|
3440
3371
|
const exception = new WorkUnitsNotReadyYetException({
|
|
3441
3372
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3442
3373
|
...contents,
|
|
3443
3374
|
});
|
|
3444
3375
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3445
3376
|
};
|
|
3446
|
-
const
|
|
3447
|
-
return {
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
};
|
|
3454
|
-
const se_AllRowsWildcard = (input, context) => {
|
|
3455
|
-
return {};
|
|
3456
|
-
};
|
|
3457
|
-
const se_AuditContext = (input, context) => {
|
|
3458
|
-
return {
|
|
3459
|
-
...(input.AdditionalAuditContext != null && { AdditionalAuditContext: input.AdditionalAuditContext }),
|
|
3460
|
-
};
|
|
3461
|
-
};
|
|
3462
|
-
const se_AuthorizedSessionTagValueList = (input, context) => {
|
|
3463
|
-
return input
|
|
3464
|
-
.filter((e) => e != null)
|
|
3465
|
-
.map((entry) => {
|
|
3466
|
-
return entry;
|
|
3467
|
-
});
|
|
3468
|
-
};
|
|
3469
|
-
const se_BatchPermissionsRequestEntry = (input, context) => {
|
|
3470
|
-
return {
|
|
3471
|
-
...(input.Id != null && { Id: input.Id }),
|
|
3472
|
-
...(input.Permissions != null && { Permissions: se_PermissionList(input.Permissions, context) }),
|
|
3473
|
-
...(input.PermissionsWithGrantOption != null && {
|
|
3474
|
-
PermissionsWithGrantOption: se_PermissionList(input.PermissionsWithGrantOption, context),
|
|
3475
|
-
}),
|
|
3476
|
-
...(input.Principal != null && { Principal: se_DataLakePrincipal(input.Principal, context) }),
|
|
3477
|
-
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
3478
|
-
};
|
|
3479
|
-
};
|
|
3480
|
-
const se_BatchPermissionsRequestEntryList = (input, context) => {
|
|
3481
|
-
return input
|
|
3482
|
-
.filter((e) => e != null)
|
|
3483
|
-
.map((entry) => {
|
|
3484
|
-
return se_BatchPermissionsRequestEntry(entry, context);
|
|
3485
|
-
});
|
|
3486
|
-
};
|
|
3487
|
-
const se_CatalogResource = (input, context) => {
|
|
3488
|
-
return {};
|
|
3489
|
-
};
|
|
3490
|
-
const se_ColumnNames = (input, context) => {
|
|
3491
|
-
return input
|
|
3492
|
-
.filter((e) => e != null)
|
|
3493
|
-
.map((entry) => {
|
|
3494
|
-
return entry;
|
|
3495
|
-
});
|
|
3496
|
-
};
|
|
3497
|
-
const se_ColumnWildcard = (input, context) => {
|
|
3498
|
-
return {
|
|
3499
|
-
...(input.ExcludedColumnNames != null && {
|
|
3500
|
-
ExcludedColumnNames: se_ColumnNames(input.ExcludedColumnNames, context),
|
|
3501
|
-
}),
|
|
3502
|
-
};
|
|
3503
|
-
};
|
|
3504
|
-
const se_DatabaseResource = (input, context) => {
|
|
3505
|
-
return {
|
|
3506
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3507
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3508
|
-
};
|
|
3509
|
-
};
|
|
3510
|
-
const se_DataCellsFilter = (input, context) => {
|
|
3511
|
-
return {
|
|
3512
|
-
...(input.ColumnNames != null && { ColumnNames: se_ColumnNames(input.ColumnNames, context) }),
|
|
3513
|
-
...(input.ColumnWildcard != null && { ColumnWildcard: se_ColumnWildcard(input.ColumnWildcard, context) }),
|
|
3514
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3515
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3516
|
-
...(input.RowFilter != null && { RowFilter: se_RowFilter(input.RowFilter, context) }),
|
|
3517
|
-
...(input.TableCatalogId != null && { TableCatalogId: input.TableCatalogId }),
|
|
3518
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
3519
|
-
...(input.VersionId != null && { VersionId: input.VersionId }),
|
|
3520
|
-
};
|
|
3521
|
-
};
|
|
3522
|
-
const se_DataCellsFilterResource = (input, context) => {
|
|
3523
|
-
return {
|
|
3524
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3525
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3526
|
-
...(input.TableCatalogId != null && { TableCatalogId: input.TableCatalogId }),
|
|
3527
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
3528
|
-
};
|
|
3529
|
-
};
|
|
3530
|
-
const se_DataLakePrincipal = (input, context) => {
|
|
3531
|
-
return {
|
|
3532
|
-
...(input.DataLakePrincipalIdentifier != null && {
|
|
3533
|
-
DataLakePrincipalIdentifier: input.DataLakePrincipalIdentifier,
|
|
3534
|
-
}),
|
|
3535
|
-
};
|
|
3536
|
-
};
|
|
3537
|
-
const se_DataLakePrincipalList = (input, context) => {
|
|
3538
|
-
return input
|
|
3539
|
-
.filter((e) => e != null)
|
|
3540
|
-
.map((entry) => {
|
|
3541
|
-
return se_DataLakePrincipal(entry, context);
|
|
3542
|
-
});
|
|
3543
|
-
};
|
|
3544
|
-
const se_DataLakeSettings = (input, context) => {
|
|
3545
|
-
return {
|
|
3546
|
-
...(input.AllowExternalDataFiltering != null && { AllowExternalDataFiltering: input.AllowExternalDataFiltering }),
|
|
3547
|
-
...(input.AuthorizedSessionTagValueList != null && {
|
|
3548
|
-
AuthorizedSessionTagValueList: se_AuthorizedSessionTagValueList(input.AuthorizedSessionTagValueList, context),
|
|
3549
|
-
}),
|
|
3550
|
-
...(input.CreateDatabaseDefaultPermissions != null && {
|
|
3551
|
-
CreateDatabaseDefaultPermissions: se_PrincipalPermissionsList(input.CreateDatabaseDefaultPermissions, context),
|
|
3552
|
-
}),
|
|
3553
|
-
...(input.CreateTableDefaultPermissions != null && {
|
|
3554
|
-
CreateTableDefaultPermissions: se_PrincipalPermissionsList(input.CreateTableDefaultPermissions, context),
|
|
3555
|
-
}),
|
|
3556
|
-
...(input.DataLakeAdmins != null && { DataLakeAdmins: se_DataLakePrincipalList(input.DataLakeAdmins, context) }),
|
|
3557
|
-
...(input.ExternalDataFilteringAllowList != null && {
|
|
3558
|
-
ExternalDataFilteringAllowList: se_DataLakePrincipalList(input.ExternalDataFilteringAllowList, context),
|
|
3559
|
-
}),
|
|
3560
|
-
...(input.Parameters != null && { Parameters: se_ParametersMap(input.Parameters, context) }),
|
|
3561
|
-
...(input.TrustedResourceOwners != null && {
|
|
3562
|
-
TrustedResourceOwners: se_TrustedResourceOwners(input.TrustedResourceOwners, context),
|
|
3563
|
-
}),
|
|
3564
|
-
};
|
|
3565
|
-
};
|
|
3566
|
-
const se_DataLocationResource = (input, context) => {
|
|
3567
|
-
return {
|
|
3568
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3569
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3570
|
-
};
|
|
3571
|
-
};
|
|
3572
|
-
const se_DeleteObjectInput = (input, context) => {
|
|
3573
|
-
return {
|
|
3574
|
-
...(input.ETag != null && { ETag: input.ETag }),
|
|
3575
|
-
...(input.PartitionValues != null && { PartitionValues: se_PartitionValuesList(input.PartitionValues, context) }),
|
|
3576
|
-
...(input.Uri != null && { Uri: input.Uri }),
|
|
3577
|
-
};
|
|
3578
|
-
};
|
|
3579
|
-
const se_Expression = (input, context) => {
|
|
3580
|
-
return input
|
|
3581
|
-
.filter((e) => e != null)
|
|
3582
|
-
.map((entry) => {
|
|
3583
|
-
return se_LFTag(entry, context);
|
|
3584
|
-
});
|
|
3585
|
-
};
|
|
3586
|
-
const se_FilterCondition = (input, context) => {
|
|
3587
|
-
return {
|
|
3588
|
-
...(input.ComparisonOperator != null && { ComparisonOperator: input.ComparisonOperator }),
|
|
3589
|
-
...(input.Field != null && { Field: input.Field }),
|
|
3590
|
-
...(input.StringValueList != null && { StringValueList: se_StringValueList(input.StringValueList, context) }),
|
|
3591
|
-
};
|
|
3592
|
-
};
|
|
3593
|
-
const se_FilterConditionList = (input, context) => {
|
|
3594
|
-
return input
|
|
3595
|
-
.filter((e) => e != null)
|
|
3596
|
-
.map((entry) => {
|
|
3597
|
-
return se_FilterCondition(entry, context);
|
|
3598
|
-
});
|
|
3599
|
-
};
|
|
3600
|
-
const se_LFTag = (input, context) => {
|
|
3601
|
-
return {
|
|
3602
|
-
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
3603
|
-
...(input.TagValues != null && { TagValues: se_TagValueList(input.TagValues, context) }),
|
|
3604
|
-
};
|
|
3605
|
-
};
|
|
3606
|
-
const se_LFTagKeyResource = (input, context) => {
|
|
3607
|
-
return {
|
|
3608
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3609
|
-
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
3610
|
-
...(input.TagValues != null && { TagValues: se_TagValueList(input.TagValues, context) }),
|
|
3611
|
-
};
|
|
3612
|
-
};
|
|
3613
|
-
const se_LFTagPair = (input, context) => {
|
|
3614
|
-
return {
|
|
3615
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3616
|
-
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
3617
|
-
...(input.TagValues != null && { TagValues: se_TagValueList(input.TagValues, context) }),
|
|
3618
|
-
};
|
|
3619
|
-
};
|
|
3620
|
-
const se_LFTagPolicyResource = (input, context) => {
|
|
3621
|
-
return {
|
|
3622
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3623
|
-
...(input.Expression != null && { Expression: se_Expression(input.Expression, context) }),
|
|
3624
|
-
...(input.ResourceType != null && { ResourceType: input.ResourceType }),
|
|
3625
|
-
};
|
|
3626
|
-
};
|
|
3627
|
-
const se_LFTagsList = (input, context) => {
|
|
3628
|
-
return input
|
|
3629
|
-
.filter((e) => e != null)
|
|
3630
|
-
.map((entry) => {
|
|
3631
|
-
return se_LFTagPair(entry, context);
|
|
3377
|
+
const se_QueryPlanningContext = (input, context) => {
|
|
3378
|
+
return take(input, {
|
|
3379
|
+
CatalogId: [],
|
|
3380
|
+
DatabaseName: [],
|
|
3381
|
+
QueryAsOfTime: (_) => Math.round(_.getTime() / 1000),
|
|
3382
|
+
QueryParameters: _json,
|
|
3383
|
+
TransactionId: [],
|
|
3632
3384
|
});
|
|
3633
3385
|
};
|
|
3634
|
-
const
|
|
3635
|
-
return
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
return acc;
|
|
3641
|
-
}, {});
|
|
3642
|
-
};
|
|
3643
|
-
const se_PartitionValueList = (input, context) => {
|
|
3644
|
-
return {
|
|
3645
|
-
...(input.Values != null && { Values: se_ValueStringList(input.Values, context) }),
|
|
3646
|
-
};
|
|
3647
|
-
};
|
|
3648
|
-
const se_PartitionValuesList = (input, context) => {
|
|
3649
|
-
return input
|
|
3650
|
-
.filter((e) => e != null)
|
|
3651
|
-
.map((entry) => {
|
|
3652
|
-
return entry;
|
|
3386
|
+
const de_ResourceInfo = (output, context) => {
|
|
3387
|
+
return take(output, {
|
|
3388
|
+
LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3389
|
+
ResourceArn: __expectString,
|
|
3390
|
+
RoleArn: __expectString,
|
|
3391
|
+
WithFederation: __expectBoolean,
|
|
3653
3392
|
});
|
|
3654
3393
|
};
|
|
3655
|
-
const
|
|
3656
|
-
|
|
3394
|
+
const de_ResourceInfoList = (output, context) => {
|
|
3395
|
+
const retVal = (output || [])
|
|
3657
3396
|
.filter((e) => e != null)
|
|
3658
3397
|
.map((entry) => {
|
|
3659
|
-
return entry;
|
|
3398
|
+
return de_ResourceInfo(entry, context);
|
|
3660
3399
|
});
|
|
3400
|
+
return retVal;
|
|
3661
3401
|
};
|
|
3662
|
-
const
|
|
3663
|
-
return
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3402
|
+
const de_TransactionDescription = (output, context) => {
|
|
3403
|
+
return take(output, {
|
|
3404
|
+
TransactionEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3405
|
+
TransactionId: __expectString,
|
|
3406
|
+
TransactionStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3407
|
+
TransactionStatus: __expectString,
|
|
3667
3408
|
});
|
|
3668
3409
|
};
|
|
3669
|
-
const
|
|
3670
|
-
|
|
3671
|
-
...(input.Permissions != null && { Permissions: se_PermissionList(input.Permissions, context) }),
|
|
3672
|
-
...(input.Principal != null && { Principal: se_DataLakePrincipal(input.Principal, context) }),
|
|
3673
|
-
};
|
|
3674
|
-
};
|
|
3675
|
-
const se_PrincipalPermissionsList = (input, context) => {
|
|
3676
|
-
return input
|
|
3410
|
+
const de_TransactionDescriptionList = (output, context) => {
|
|
3411
|
+
const retVal = (output || [])
|
|
3677
3412
|
.filter((e) => e != null)
|
|
3678
3413
|
.map((entry) => {
|
|
3679
|
-
return se_PrincipalPermissions(entry, context);
|
|
3680
|
-
});
|
|
3681
|
-
};
|
|
3682
|
-
const se_QueryParameterMap = (input, context) => {
|
|
3683
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3684
|
-
if (value === null) {
|
|
3685
|
-
return acc;
|
|
3686
|
-
}
|
|
3687
|
-
acc[key] = value;
|
|
3688
|
-
return acc;
|
|
3689
|
-
}, {});
|
|
3690
|
-
};
|
|
3691
|
-
const se_QueryPlanningContext = (input, context) => {
|
|
3692
|
-
return {
|
|
3693
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3694
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3695
|
-
...(input.QueryAsOfTime != null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000) }),
|
|
3696
|
-
...(input.QueryParameters != null && { QueryParameters: se_QueryParameterMap(input.QueryParameters, context) }),
|
|
3697
|
-
...(input.TransactionId != null && { TransactionId: input.TransactionId }),
|
|
3698
|
-
};
|
|
3699
|
-
};
|
|
3700
|
-
const se_Resource = (input, context) => {
|
|
3701
|
-
return {
|
|
3702
|
-
...(input.Catalog != null && { Catalog: se_CatalogResource(input.Catalog, context) }),
|
|
3703
|
-
...(input.DataCellsFilter != null && {
|
|
3704
|
-
DataCellsFilter: se_DataCellsFilterResource(input.DataCellsFilter, context),
|
|
3705
|
-
}),
|
|
3706
|
-
...(input.DataLocation != null && { DataLocation: se_DataLocationResource(input.DataLocation, context) }),
|
|
3707
|
-
...(input.Database != null && { Database: se_DatabaseResource(input.Database, context) }),
|
|
3708
|
-
...(input.LFTag != null && { LFTag: se_LFTagKeyResource(input.LFTag, context) }),
|
|
3709
|
-
...(input.LFTagPolicy != null && { LFTagPolicy: se_LFTagPolicyResource(input.LFTagPolicy, context) }),
|
|
3710
|
-
...(input.Table != null && { Table: se_TableResource(input.Table, context) }),
|
|
3711
|
-
...(input.TableWithColumns != null && {
|
|
3712
|
-
TableWithColumns: se_TableWithColumnsResource(input.TableWithColumns, context),
|
|
3713
|
-
}),
|
|
3714
|
-
};
|
|
3715
|
-
};
|
|
3716
|
-
const se_RowFilter = (input, context) => {
|
|
3717
|
-
return {
|
|
3718
|
-
...(input.AllRowsWildcard != null && { AllRowsWildcard: se_AllRowsWildcard(input.AllRowsWildcard, context) }),
|
|
3719
|
-
...(input.FilterExpression != null && { FilterExpression: input.FilterExpression }),
|
|
3720
|
-
};
|
|
3721
|
-
};
|
|
3722
|
-
const se_StorageOptimizerConfig = (input, context) => {
|
|
3723
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3724
|
-
if (value === null) {
|
|
3725
|
-
return acc;
|
|
3726
|
-
}
|
|
3727
|
-
acc[key] = value;
|
|
3728
|
-
return acc;
|
|
3729
|
-
}, {});
|
|
3730
|
-
};
|
|
3731
|
-
const se_StorageOptimizerConfigMap = (input, context) => {
|
|
3732
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3733
|
-
if (value === null) {
|
|
3734
|
-
return acc;
|
|
3735
|
-
}
|
|
3736
|
-
acc[key] = se_StorageOptimizerConfig(value, context);
|
|
3737
|
-
return acc;
|
|
3738
|
-
}, {});
|
|
3739
|
-
};
|
|
3740
|
-
const se_StringValueList = (input, context) => {
|
|
3741
|
-
return input
|
|
3742
|
-
.filter((e) => e != null)
|
|
3743
|
-
.map((entry) => {
|
|
3744
|
-
return entry;
|
|
3745
|
-
});
|
|
3746
|
-
};
|
|
3747
|
-
const se_TableResource = (input, context) => {
|
|
3748
|
-
return {
|
|
3749
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3750
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3751
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3752
|
-
...(input.TableWildcard != null && { TableWildcard: se_TableWildcard(input.TableWildcard, context) }),
|
|
3753
|
-
};
|
|
3754
|
-
};
|
|
3755
|
-
const se_TableWildcard = (input, context) => {
|
|
3756
|
-
return {};
|
|
3757
|
-
};
|
|
3758
|
-
const se_TableWithColumnsResource = (input, context) => {
|
|
3759
|
-
return {
|
|
3760
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3761
|
-
...(input.ColumnNames != null && { ColumnNames: se_ColumnNames(input.ColumnNames, context) }),
|
|
3762
|
-
...(input.ColumnWildcard != null && { ColumnWildcard: se_ColumnWildcard(input.ColumnWildcard, context) }),
|
|
3763
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3764
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3765
|
-
};
|
|
3766
|
-
};
|
|
3767
|
-
const se_TagValueList = (input, context) => {
|
|
3768
|
-
return input
|
|
3769
|
-
.filter((e) => e != null)
|
|
3770
|
-
.map((entry) => {
|
|
3771
|
-
return entry;
|
|
3772
|
-
});
|
|
3773
|
-
};
|
|
3774
|
-
const se_TrustedResourceOwners = (input, context) => {
|
|
3775
|
-
return input
|
|
3776
|
-
.filter((e) => e != null)
|
|
3777
|
-
.map((entry) => {
|
|
3778
|
-
return entry;
|
|
3779
|
-
});
|
|
3780
|
-
};
|
|
3781
|
-
const se_ValueStringList = (input, context) => {
|
|
3782
|
-
return input
|
|
3783
|
-
.filter((e) => e != null)
|
|
3784
|
-
.map((entry) => {
|
|
3785
|
-
return entry;
|
|
3786
|
-
});
|
|
3787
|
-
};
|
|
3788
|
-
const se_VirtualObject = (input, context) => {
|
|
3789
|
-
return {
|
|
3790
|
-
...(input.ETag != null && { ETag: input.ETag }),
|
|
3791
|
-
...(input.Uri != null && { Uri: input.Uri }),
|
|
3792
|
-
};
|
|
3793
|
-
};
|
|
3794
|
-
const se_VirtualObjectList = (input, context) => {
|
|
3795
|
-
return input
|
|
3796
|
-
.filter((e) => e != null)
|
|
3797
|
-
.map((entry) => {
|
|
3798
|
-
return se_VirtualObject(entry, context);
|
|
3799
|
-
});
|
|
3800
|
-
};
|
|
3801
|
-
const se_WriteOperation = (input, context) => {
|
|
3802
|
-
return {
|
|
3803
|
-
...(input.AddObject != null && { AddObject: se_AddObjectInput(input.AddObject, context) }),
|
|
3804
|
-
...(input.DeleteObject != null && { DeleteObject: se_DeleteObjectInput(input.DeleteObject, context) }),
|
|
3805
|
-
};
|
|
3806
|
-
};
|
|
3807
|
-
const se_WriteOperationList = (input, context) => {
|
|
3808
|
-
return input
|
|
3809
|
-
.filter((e) => e != null)
|
|
3810
|
-
.map((entry) => {
|
|
3811
|
-
return se_WriteOperation(entry, context);
|
|
3812
|
-
});
|
|
3813
|
-
};
|
|
3814
|
-
const de_AllRowsWildcard = (output, context) => {
|
|
3815
|
-
return {};
|
|
3816
|
-
};
|
|
3817
|
-
const de_AuthorizedSessionTagValueList = (output, context) => {
|
|
3818
|
-
const retVal = (output || [])
|
|
3819
|
-
.filter((e) => e != null)
|
|
3820
|
-
.map((entry) => {
|
|
3821
|
-
if (entry === null) {
|
|
3822
|
-
return null;
|
|
3823
|
-
}
|
|
3824
|
-
return __expectString(entry);
|
|
3825
|
-
});
|
|
3826
|
-
return retVal;
|
|
3827
|
-
};
|
|
3828
|
-
const de_BatchPermissionsFailureEntry = (output, context) => {
|
|
3829
|
-
return {
|
|
3830
|
-
Error: output.Error != null ? de_ErrorDetail(output.Error, context) : undefined,
|
|
3831
|
-
RequestEntry: output.RequestEntry != null ? de_BatchPermissionsRequestEntry(output.RequestEntry, context) : undefined,
|
|
3832
|
-
};
|
|
3833
|
-
};
|
|
3834
|
-
const de_BatchPermissionsFailureList = (output, context) => {
|
|
3835
|
-
const retVal = (output || [])
|
|
3836
|
-
.filter((e) => e != null)
|
|
3837
|
-
.map((entry) => {
|
|
3838
|
-
if (entry === null) {
|
|
3839
|
-
return null;
|
|
3840
|
-
}
|
|
3841
|
-
return de_BatchPermissionsFailureEntry(entry, context);
|
|
3842
|
-
});
|
|
3843
|
-
return retVal;
|
|
3844
|
-
};
|
|
3845
|
-
const de_BatchPermissionsRequestEntry = (output, context) => {
|
|
3846
|
-
return {
|
|
3847
|
-
Id: __expectString(output.Id),
|
|
3848
|
-
Permissions: output.Permissions != null ? de_PermissionList(output.Permissions, context) : undefined,
|
|
3849
|
-
PermissionsWithGrantOption: output.PermissionsWithGrantOption != null
|
|
3850
|
-
? de_PermissionList(output.PermissionsWithGrantOption, context)
|
|
3851
|
-
: undefined,
|
|
3852
|
-
Principal: output.Principal != null ? de_DataLakePrincipal(output.Principal, context) : undefined,
|
|
3853
|
-
Resource: output.Resource != null ? de_Resource(output.Resource, context) : undefined,
|
|
3854
|
-
};
|
|
3855
|
-
};
|
|
3856
|
-
const de_CatalogResource = (output, context) => {
|
|
3857
|
-
return {};
|
|
3858
|
-
};
|
|
3859
|
-
const de_ColumnLFTag = (output, context) => {
|
|
3860
|
-
return {
|
|
3861
|
-
LFTags: output.LFTags != null ? de_LFTagsList(output.LFTags, context) : undefined,
|
|
3862
|
-
Name: __expectString(output.Name),
|
|
3863
|
-
};
|
|
3864
|
-
};
|
|
3865
|
-
const de_ColumnLFTagsList = (output, context) => {
|
|
3866
|
-
const retVal = (output || [])
|
|
3867
|
-
.filter((e) => e != null)
|
|
3868
|
-
.map((entry) => {
|
|
3869
|
-
if (entry === null) {
|
|
3870
|
-
return null;
|
|
3871
|
-
}
|
|
3872
|
-
return de_ColumnLFTag(entry, context);
|
|
3873
|
-
});
|
|
3874
|
-
return retVal;
|
|
3875
|
-
};
|
|
3876
|
-
const de_ColumnNames = (output, context) => {
|
|
3877
|
-
const retVal = (output || [])
|
|
3878
|
-
.filter((e) => e != null)
|
|
3879
|
-
.map((entry) => {
|
|
3880
|
-
if (entry === null) {
|
|
3881
|
-
return null;
|
|
3882
|
-
}
|
|
3883
|
-
return __expectString(entry);
|
|
3884
|
-
});
|
|
3885
|
-
return retVal;
|
|
3886
|
-
};
|
|
3887
|
-
const de_ColumnWildcard = (output, context) => {
|
|
3888
|
-
return {
|
|
3889
|
-
ExcludedColumnNames: output.ExcludedColumnNames != null ? de_ColumnNames(output.ExcludedColumnNames, context) : undefined,
|
|
3890
|
-
};
|
|
3891
|
-
};
|
|
3892
|
-
const de_DatabaseLFTagsList = (output, context) => {
|
|
3893
|
-
const retVal = (output || [])
|
|
3894
|
-
.filter((e) => e != null)
|
|
3895
|
-
.map((entry) => {
|
|
3896
|
-
if (entry === null) {
|
|
3897
|
-
return null;
|
|
3898
|
-
}
|
|
3899
|
-
return de_TaggedDatabase(entry, context);
|
|
3900
|
-
});
|
|
3901
|
-
return retVal;
|
|
3902
|
-
};
|
|
3903
|
-
const de_DatabaseResource = (output, context) => {
|
|
3904
|
-
return {
|
|
3905
|
-
CatalogId: __expectString(output.CatalogId),
|
|
3906
|
-
Name: __expectString(output.Name),
|
|
3907
|
-
};
|
|
3908
|
-
};
|
|
3909
|
-
const de_DataCellsFilter = (output, context) => {
|
|
3910
|
-
return {
|
|
3911
|
-
ColumnNames: output.ColumnNames != null ? de_ColumnNames(output.ColumnNames, context) : undefined,
|
|
3912
|
-
ColumnWildcard: output.ColumnWildcard != null ? de_ColumnWildcard(output.ColumnWildcard, context) : undefined,
|
|
3913
|
-
DatabaseName: __expectString(output.DatabaseName),
|
|
3914
|
-
Name: __expectString(output.Name),
|
|
3915
|
-
RowFilter: output.RowFilter != null ? de_RowFilter(output.RowFilter, context) : undefined,
|
|
3916
|
-
TableCatalogId: __expectString(output.TableCatalogId),
|
|
3917
|
-
TableName: __expectString(output.TableName),
|
|
3918
|
-
VersionId: __expectString(output.VersionId),
|
|
3919
|
-
};
|
|
3920
|
-
};
|
|
3921
|
-
const de_DataCellsFilterList = (output, context) => {
|
|
3922
|
-
const retVal = (output || [])
|
|
3923
|
-
.filter((e) => e != null)
|
|
3924
|
-
.map((entry) => {
|
|
3925
|
-
if (entry === null) {
|
|
3926
|
-
return null;
|
|
3927
|
-
}
|
|
3928
|
-
return de_DataCellsFilter(entry, context);
|
|
3929
|
-
});
|
|
3930
|
-
return retVal;
|
|
3931
|
-
};
|
|
3932
|
-
const de_DataCellsFilterResource = (output, context) => {
|
|
3933
|
-
return {
|
|
3934
|
-
DatabaseName: __expectString(output.DatabaseName),
|
|
3935
|
-
Name: __expectString(output.Name),
|
|
3936
|
-
TableCatalogId: __expectString(output.TableCatalogId),
|
|
3937
|
-
TableName: __expectString(output.TableName),
|
|
3938
|
-
};
|
|
3939
|
-
};
|
|
3940
|
-
const de_DataLakePrincipal = (output, context) => {
|
|
3941
|
-
return {
|
|
3942
|
-
DataLakePrincipalIdentifier: __expectString(output.DataLakePrincipalIdentifier),
|
|
3943
|
-
};
|
|
3944
|
-
};
|
|
3945
|
-
const de_DataLakePrincipalList = (output, context) => {
|
|
3946
|
-
const retVal = (output || [])
|
|
3947
|
-
.filter((e) => e != null)
|
|
3948
|
-
.map((entry) => {
|
|
3949
|
-
if (entry === null) {
|
|
3950
|
-
return null;
|
|
3951
|
-
}
|
|
3952
|
-
return de_DataLakePrincipal(entry, context);
|
|
3953
|
-
});
|
|
3954
|
-
return retVal;
|
|
3955
|
-
};
|
|
3956
|
-
const de_DataLakeSettings = (output, context) => {
|
|
3957
|
-
return {
|
|
3958
|
-
AllowExternalDataFiltering: __expectBoolean(output.AllowExternalDataFiltering),
|
|
3959
|
-
AuthorizedSessionTagValueList: output.AuthorizedSessionTagValueList != null
|
|
3960
|
-
? de_AuthorizedSessionTagValueList(output.AuthorizedSessionTagValueList, context)
|
|
3961
|
-
: undefined,
|
|
3962
|
-
CreateDatabaseDefaultPermissions: output.CreateDatabaseDefaultPermissions != null
|
|
3963
|
-
? de_PrincipalPermissionsList(output.CreateDatabaseDefaultPermissions, context)
|
|
3964
|
-
: undefined,
|
|
3965
|
-
CreateTableDefaultPermissions: output.CreateTableDefaultPermissions != null
|
|
3966
|
-
? de_PrincipalPermissionsList(output.CreateTableDefaultPermissions, context)
|
|
3967
|
-
: undefined,
|
|
3968
|
-
DataLakeAdmins: output.DataLakeAdmins != null ? de_DataLakePrincipalList(output.DataLakeAdmins, context) : undefined,
|
|
3969
|
-
ExternalDataFilteringAllowList: output.ExternalDataFilteringAllowList != null
|
|
3970
|
-
? de_DataLakePrincipalList(output.ExternalDataFilteringAllowList, context)
|
|
3971
|
-
: undefined,
|
|
3972
|
-
Parameters: output.Parameters != null ? de_ParametersMap(output.Parameters, context) : undefined,
|
|
3973
|
-
TrustedResourceOwners: output.TrustedResourceOwners != null
|
|
3974
|
-
? de_TrustedResourceOwners(output.TrustedResourceOwners, context)
|
|
3975
|
-
: undefined,
|
|
3976
|
-
};
|
|
3977
|
-
};
|
|
3978
|
-
const de_DataLocationResource = (output, context) => {
|
|
3979
|
-
return {
|
|
3980
|
-
CatalogId: __expectString(output.CatalogId),
|
|
3981
|
-
ResourceArn: __expectString(output.ResourceArn),
|
|
3982
|
-
};
|
|
3983
|
-
};
|
|
3984
|
-
const de_DetailsMap = (output, context) => {
|
|
3985
|
-
return {
|
|
3986
|
-
ResourceShare: output.ResourceShare != null ? de_ResourceShareList(output.ResourceShare, context) : undefined,
|
|
3987
|
-
};
|
|
3988
|
-
};
|
|
3989
|
-
const de_ErrorDetail = (output, context) => {
|
|
3990
|
-
return {
|
|
3991
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
3992
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
3993
|
-
};
|
|
3994
|
-
};
|
|
3995
|
-
const de_ExecutionStatistics = (output, context) => {
|
|
3996
|
-
return {
|
|
3997
|
-
AverageExecutionTimeMillis: __expectLong(output.AverageExecutionTimeMillis),
|
|
3998
|
-
DataScannedBytes: __expectLong(output.DataScannedBytes),
|
|
3999
|
-
WorkUnitsExecutedCount: __expectLong(output.WorkUnitsExecutedCount),
|
|
4000
|
-
};
|
|
4001
|
-
};
|
|
4002
|
-
const de_Expression = (output, context) => {
|
|
4003
|
-
const retVal = (output || [])
|
|
4004
|
-
.filter((e) => e != null)
|
|
4005
|
-
.map((entry) => {
|
|
4006
|
-
if (entry === null) {
|
|
4007
|
-
return null;
|
|
4008
|
-
}
|
|
4009
|
-
return de_LFTag(entry, context);
|
|
4010
|
-
});
|
|
4011
|
-
return retVal;
|
|
4012
|
-
};
|
|
4013
|
-
const de_LFTag = (output, context) => {
|
|
4014
|
-
return {
|
|
4015
|
-
TagKey: __expectString(output.TagKey),
|
|
4016
|
-
TagValues: output.TagValues != null ? de_TagValueList(output.TagValues, context) : undefined,
|
|
4017
|
-
};
|
|
4018
|
-
};
|
|
4019
|
-
const de_LFTagError = (output, context) => {
|
|
4020
|
-
return {
|
|
4021
|
-
Error: output.Error != null ? de_ErrorDetail(output.Error, context) : undefined,
|
|
4022
|
-
LFTag: output.LFTag != null ? de_LFTagPair(output.LFTag, context) : undefined,
|
|
4023
|
-
};
|
|
4024
|
-
};
|
|
4025
|
-
const de_LFTagErrors = (output, context) => {
|
|
4026
|
-
const retVal = (output || [])
|
|
4027
|
-
.filter((e) => e != null)
|
|
4028
|
-
.map((entry) => {
|
|
4029
|
-
if (entry === null) {
|
|
4030
|
-
return null;
|
|
4031
|
-
}
|
|
4032
|
-
return de_LFTagError(entry, context);
|
|
4033
|
-
});
|
|
4034
|
-
return retVal;
|
|
4035
|
-
};
|
|
4036
|
-
const de_LFTagKeyResource = (output, context) => {
|
|
4037
|
-
return {
|
|
4038
|
-
CatalogId: __expectString(output.CatalogId),
|
|
4039
|
-
TagKey: __expectString(output.TagKey),
|
|
4040
|
-
TagValues: output.TagValues != null ? de_TagValueList(output.TagValues, context) : undefined,
|
|
4041
|
-
};
|
|
4042
|
-
};
|
|
4043
|
-
const de_LFTagPair = (output, context) => {
|
|
4044
|
-
return {
|
|
4045
|
-
CatalogId: __expectString(output.CatalogId),
|
|
4046
|
-
TagKey: __expectString(output.TagKey),
|
|
4047
|
-
TagValues: output.TagValues != null ? de_TagValueList(output.TagValues, context) : undefined,
|
|
4048
|
-
};
|
|
4049
|
-
};
|
|
4050
|
-
const de_LFTagPolicyResource = (output, context) => {
|
|
4051
|
-
return {
|
|
4052
|
-
CatalogId: __expectString(output.CatalogId),
|
|
4053
|
-
Expression: output.Expression != null ? de_Expression(output.Expression, context) : undefined,
|
|
4054
|
-
ResourceType: __expectString(output.ResourceType),
|
|
4055
|
-
};
|
|
4056
|
-
};
|
|
4057
|
-
const de_LFTagsList = (output, context) => {
|
|
4058
|
-
const retVal = (output || [])
|
|
4059
|
-
.filter((e) => e != null)
|
|
4060
|
-
.map((entry) => {
|
|
4061
|
-
if (entry === null) {
|
|
4062
|
-
return null;
|
|
4063
|
-
}
|
|
4064
|
-
return de_LFTagPair(entry, context);
|
|
4065
|
-
});
|
|
4066
|
-
return retVal;
|
|
4067
|
-
};
|
|
4068
|
-
const de_ParametersMap = (output, context) => {
|
|
4069
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4070
|
-
if (value === null) {
|
|
4071
|
-
return acc;
|
|
4072
|
-
}
|
|
4073
|
-
acc[key] = __expectString(value);
|
|
4074
|
-
return acc;
|
|
4075
|
-
}, {});
|
|
4076
|
-
};
|
|
4077
|
-
const de_PartitionedTableObjectsList = (output, context) => {
|
|
4078
|
-
const retVal = (output || [])
|
|
4079
|
-
.filter((e) => e != null)
|
|
4080
|
-
.map((entry) => {
|
|
4081
|
-
if (entry === null) {
|
|
4082
|
-
return null;
|
|
4083
|
-
}
|
|
4084
|
-
return de_PartitionObjects(entry, context);
|
|
4085
|
-
});
|
|
4086
|
-
return retVal;
|
|
4087
|
-
};
|
|
4088
|
-
const de_PartitionObjects = (output, context) => {
|
|
4089
|
-
return {
|
|
4090
|
-
Objects: output.Objects != null ? de_TableObjectList(output.Objects, context) : undefined,
|
|
4091
|
-
PartitionValues: output.PartitionValues != null ? de_PartitionValuesList(output.PartitionValues, context) : undefined,
|
|
4092
|
-
};
|
|
4093
|
-
};
|
|
4094
|
-
const de_PartitionValuesList = (output, context) => {
|
|
4095
|
-
const retVal = (output || [])
|
|
4096
|
-
.filter((e) => e != null)
|
|
4097
|
-
.map((entry) => {
|
|
4098
|
-
if (entry === null) {
|
|
4099
|
-
return null;
|
|
4100
|
-
}
|
|
4101
|
-
return __expectString(entry);
|
|
4102
|
-
});
|
|
4103
|
-
return retVal;
|
|
4104
|
-
};
|
|
4105
|
-
const de_PermissionList = (output, context) => {
|
|
4106
|
-
const retVal = (output || [])
|
|
4107
|
-
.filter((e) => e != null)
|
|
4108
|
-
.map((entry) => {
|
|
4109
|
-
if (entry === null) {
|
|
4110
|
-
return null;
|
|
4111
|
-
}
|
|
4112
|
-
return __expectString(entry);
|
|
4113
|
-
});
|
|
4114
|
-
return retVal;
|
|
4115
|
-
};
|
|
4116
|
-
const de_PlanningStatistics = (output, context) => {
|
|
4117
|
-
return {
|
|
4118
|
-
EstimatedDataToScanBytes: __expectLong(output.EstimatedDataToScanBytes),
|
|
4119
|
-
PlanningTimeMillis: __expectLong(output.PlanningTimeMillis),
|
|
4120
|
-
QueueTimeMillis: __expectLong(output.QueueTimeMillis),
|
|
4121
|
-
WorkUnitsGeneratedCount: __expectLong(output.WorkUnitsGeneratedCount),
|
|
4122
|
-
};
|
|
4123
|
-
};
|
|
4124
|
-
const de_PrincipalPermissions = (output, context) => {
|
|
4125
|
-
return {
|
|
4126
|
-
Permissions: output.Permissions != null ? de_PermissionList(output.Permissions, context) : undefined,
|
|
4127
|
-
Principal: output.Principal != null ? de_DataLakePrincipal(output.Principal, context) : undefined,
|
|
4128
|
-
};
|
|
4129
|
-
};
|
|
4130
|
-
const de_PrincipalPermissionsList = (output, context) => {
|
|
4131
|
-
const retVal = (output || [])
|
|
4132
|
-
.filter((e) => e != null)
|
|
4133
|
-
.map((entry) => {
|
|
4134
|
-
if (entry === null) {
|
|
4135
|
-
return null;
|
|
4136
|
-
}
|
|
4137
|
-
return de_PrincipalPermissions(entry, context);
|
|
4138
|
-
});
|
|
4139
|
-
return retVal;
|
|
4140
|
-
};
|
|
4141
|
-
const de_PrincipalResourcePermissions = (output, context) => {
|
|
4142
|
-
return {
|
|
4143
|
-
AdditionalDetails: output.AdditionalDetails != null ? de_DetailsMap(output.AdditionalDetails, context) : undefined,
|
|
4144
|
-
Permissions: output.Permissions != null ? de_PermissionList(output.Permissions, context) : undefined,
|
|
4145
|
-
PermissionsWithGrantOption: output.PermissionsWithGrantOption != null
|
|
4146
|
-
? de_PermissionList(output.PermissionsWithGrantOption, context)
|
|
4147
|
-
: undefined,
|
|
4148
|
-
Principal: output.Principal != null ? de_DataLakePrincipal(output.Principal, context) : undefined,
|
|
4149
|
-
Resource: output.Resource != null ? de_Resource(output.Resource, context) : undefined,
|
|
4150
|
-
};
|
|
4151
|
-
};
|
|
4152
|
-
const de_PrincipalResourcePermissionsList = (output, context) => {
|
|
4153
|
-
const retVal = (output || [])
|
|
4154
|
-
.filter((e) => e != null)
|
|
4155
|
-
.map((entry) => {
|
|
4156
|
-
if (entry === null) {
|
|
4157
|
-
return null;
|
|
4158
|
-
}
|
|
4159
|
-
return de_PrincipalResourcePermissions(entry, context);
|
|
4160
|
-
});
|
|
4161
|
-
return retVal;
|
|
4162
|
-
};
|
|
4163
|
-
const de_Resource = (output, context) => {
|
|
4164
|
-
return {
|
|
4165
|
-
Catalog: output.Catalog != null ? de_CatalogResource(output.Catalog, context) : undefined,
|
|
4166
|
-
DataCellsFilter: output.DataCellsFilter != null ? de_DataCellsFilterResource(output.DataCellsFilter, context) : undefined,
|
|
4167
|
-
DataLocation: output.DataLocation != null ? de_DataLocationResource(output.DataLocation, context) : undefined,
|
|
4168
|
-
Database: output.Database != null ? de_DatabaseResource(output.Database, context) : undefined,
|
|
4169
|
-
LFTag: output.LFTag != null ? de_LFTagKeyResource(output.LFTag, context) : undefined,
|
|
4170
|
-
LFTagPolicy: output.LFTagPolicy != null ? de_LFTagPolicyResource(output.LFTagPolicy, context) : undefined,
|
|
4171
|
-
Table: output.Table != null ? de_TableResource(output.Table, context) : undefined,
|
|
4172
|
-
TableWithColumns: output.TableWithColumns != null ? de_TableWithColumnsResource(output.TableWithColumns, context) : undefined,
|
|
4173
|
-
};
|
|
4174
|
-
};
|
|
4175
|
-
const de_ResourceInfo = (output, context) => {
|
|
4176
|
-
return {
|
|
4177
|
-
LastModified: output.LastModified != null
|
|
4178
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModified)))
|
|
4179
|
-
: undefined,
|
|
4180
|
-
ResourceArn: __expectString(output.ResourceArn),
|
|
4181
|
-
RoleArn: __expectString(output.RoleArn),
|
|
4182
|
-
WithFederation: __expectBoolean(output.WithFederation),
|
|
4183
|
-
};
|
|
4184
|
-
};
|
|
4185
|
-
const de_ResourceInfoList = (output, context) => {
|
|
4186
|
-
const retVal = (output || [])
|
|
4187
|
-
.filter((e) => e != null)
|
|
4188
|
-
.map((entry) => {
|
|
4189
|
-
if (entry === null) {
|
|
4190
|
-
return null;
|
|
4191
|
-
}
|
|
4192
|
-
return de_ResourceInfo(entry, context);
|
|
4193
|
-
});
|
|
4194
|
-
return retVal;
|
|
4195
|
-
};
|
|
4196
|
-
const de_ResourceShareList = (output, context) => {
|
|
4197
|
-
const retVal = (output || [])
|
|
4198
|
-
.filter((e) => e != null)
|
|
4199
|
-
.map((entry) => {
|
|
4200
|
-
if (entry === null) {
|
|
4201
|
-
return null;
|
|
4202
|
-
}
|
|
4203
|
-
return __expectString(entry);
|
|
4204
|
-
});
|
|
4205
|
-
return retVal;
|
|
4206
|
-
};
|
|
4207
|
-
const de_RowFilter = (output, context) => {
|
|
4208
|
-
return {
|
|
4209
|
-
AllRowsWildcard: output.AllRowsWildcard != null ? de_AllRowsWildcard(output.AllRowsWildcard, context) : undefined,
|
|
4210
|
-
FilterExpression: __expectString(output.FilterExpression),
|
|
4211
|
-
};
|
|
4212
|
-
};
|
|
4213
|
-
const de_StorageOptimizer = (output, context) => {
|
|
4214
|
-
return {
|
|
4215
|
-
Config: output.Config != null ? de_StorageOptimizerConfig(output.Config, context) : undefined,
|
|
4216
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4217
|
-
LastRunDetails: __expectString(output.LastRunDetails),
|
|
4218
|
-
StorageOptimizerType: __expectString(output.StorageOptimizerType),
|
|
4219
|
-
Warnings: __expectString(output.Warnings),
|
|
4220
|
-
};
|
|
4221
|
-
};
|
|
4222
|
-
const de_StorageOptimizerConfig = (output, context) => {
|
|
4223
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4224
|
-
if (value === null) {
|
|
4225
|
-
return acc;
|
|
4226
|
-
}
|
|
4227
|
-
acc[key] = __expectString(value);
|
|
4228
|
-
return acc;
|
|
4229
|
-
}, {});
|
|
4230
|
-
};
|
|
4231
|
-
const de_StorageOptimizerList = (output, context) => {
|
|
4232
|
-
const retVal = (output || [])
|
|
4233
|
-
.filter((e) => e != null)
|
|
4234
|
-
.map((entry) => {
|
|
4235
|
-
if (entry === null) {
|
|
4236
|
-
return null;
|
|
4237
|
-
}
|
|
4238
|
-
return de_StorageOptimizer(entry, context);
|
|
4239
|
-
});
|
|
4240
|
-
return retVal;
|
|
4241
|
-
};
|
|
4242
|
-
const de_TableLFTagsList = (output, context) => {
|
|
4243
|
-
const retVal = (output || [])
|
|
4244
|
-
.filter((e) => e != null)
|
|
4245
|
-
.map((entry) => {
|
|
4246
|
-
if (entry === null) {
|
|
4247
|
-
return null;
|
|
4248
|
-
}
|
|
4249
|
-
return de_TaggedTable(entry, context);
|
|
4250
|
-
});
|
|
4251
|
-
return retVal;
|
|
4252
|
-
};
|
|
4253
|
-
const de_TableObject = (output, context) => {
|
|
4254
|
-
return {
|
|
4255
|
-
ETag: __expectString(output.ETag),
|
|
4256
|
-
Size: __expectLong(output.Size),
|
|
4257
|
-
Uri: __expectString(output.Uri),
|
|
4258
|
-
};
|
|
4259
|
-
};
|
|
4260
|
-
const de_TableObjectList = (output, context) => {
|
|
4261
|
-
const retVal = (output || [])
|
|
4262
|
-
.filter((e) => e != null)
|
|
4263
|
-
.map((entry) => {
|
|
4264
|
-
if (entry === null) {
|
|
4265
|
-
return null;
|
|
4266
|
-
}
|
|
4267
|
-
return de_TableObject(entry, context);
|
|
4268
|
-
});
|
|
4269
|
-
return retVal;
|
|
4270
|
-
};
|
|
4271
|
-
const de_TableResource = (output, context) => {
|
|
4272
|
-
return {
|
|
4273
|
-
CatalogId: __expectString(output.CatalogId),
|
|
4274
|
-
DatabaseName: __expectString(output.DatabaseName),
|
|
4275
|
-
Name: __expectString(output.Name),
|
|
4276
|
-
TableWildcard: output.TableWildcard != null ? de_TableWildcard(output.TableWildcard, context) : undefined,
|
|
4277
|
-
};
|
|
4278
|
-
};
|
|
4279
|
-
const de_TableWildcard = (output, context) => {
|
|
4280
|
-
return {};
|
|
4281
|
-
};
|
|
4282
|
-
const de_TableWithColumnsResource = (output, context) => {
|
|
4283
|
-
return {
|
|
4284
|
-
CatalogId: __expectString(output.CatalogId),
|
|
4285
|
-
ColumnNames: output.ColumnNames != null ? de_ColumnNames(output.ColumnNames, context) : undefined,
|
|
4286
|
-
ColumnWildcard: output.ColumnWildcard != null ? de_ColumnWildcard(output.ColumnWildcard, context) : undefined,
|
|
4287
|
-
DatabaseName: __expectString(output.DatabaseName),
|
|
4288
|
-
Name: __expectString(output.Name),
|
|
4289
|
-
};
|
|
4290
|
-
};
|
|
4291
|
-
const de_TaggedDatabase = (output, context) => {
|
|
4292
|
-
return {
|
|
4293
|
-
Database: output.Database != null ? de_DatabaseResource(output.Database, context) : undefined,
|
|
4294
|
-
LFTags: output.LFTags != null ? de_LFTagsList(output.LFTags, context) : undefined,
|
|
4295
|
-
};
|
|
4296
|
-
};
|
|
4297
|
-
const de_TaggedTable = (output, context) => {
|
|
4298
|
-
return {
|
|
4299
|
-
LFTagOnDatabase: output.LFTagOnDatabase != null ? de_LFTagsList(output.LFTagOnDatabase, context) : undefined,
|
|
4300
|
-
LFTagsOnColumns: output.LFTagsOnColumns != null ? de_ColumnLFTagsList(output.LFTagsOnColumns, context) : undefined,
|
|
4301
|
-
LFTagsOnTable: output.LFTagsOnTable != null ? de_LFTagsList(output.LFTagsOnTable, context) : undefined,
|
|
4302
|
-
Table: output.Table != null ? de_TableResource(output.Table, context) : undefined,
|
|
4303
|
-
};
|
|
4304
|
-
};
|
|
4305
|
-
const de_TagValueList = (output, context) => {
|
|
4306
|
-
const retVal = (output || [])
|
|
4307
|
-
.filter((e) => e != null)
|
|
4308
|
-
.map((entry) => {
|
|
4309
|
-
if (entry === null) {
|
|
4310
|
-
return null;
|
|
4311
|
-
}
|
|
4312
|
-
return __expectString(entry);
|
|
4313
|
-
});
|
|
4314
|
-
return retVal;
|
|
4315
|
-
};
|
|
4316
|
-
const de_TransactionDescription = (output, context) => {
|
|
4317
|
-
return {
|
|
4318
|
-
TransactionEndTime: output.TransactionEndTime != null
|
|
4319
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TransactionEndTime)))
|
|
4320
|
-
: undefined,
|
|
4321
|
-
TransactionId: __expectString(output.TransactionId),
|
|
4322
|
-
TransactionStartTime: output.TransactionStartTime != null
|
|
4323
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TransactionStartTime)))
|
|
4324
|
-
: undefined,
|
|
4325
|
-
TransactionStatus: __expectString(output.TransactionStatus),
|
|
4326
|
-
};
|
|
4327
|
-
};
|
|
4328
|
-
const de_TransactionDescriptionList = (output, context) => {
|
|
4329
|
-
const retVal = (output || [])
|
|
4330
|
-
.filter((e) => e != null)
|
|
4331
|
-
.map((entry) => {
|
|
4332
|
-
if (entry === null) {
|
|
4333
|
-
return null;
|
|
4334
|
-
}
|
|
4335
3414
|
return de_TransactionDescription(entry, context);
|
|
4336
3415
|
});
|
|
4337
3416
|
return retVal;
|
|
4338
3417
|
};
|
|
4339
|
-
const de_TrustedResourceOwners = (output, context) => {
|
|
4340
|
-
const retVal = (output || [])
|
|
4341
|
-
.filter((e) => e != null)
|
|
4342
|
-
.map((entry) => {
|
|
4343
|
-
if (entry === null) {
|
|
4344
|
-
return null;
|
|
4345
|
-
}
|
|
4346
|
-
return __expectString(entry);
|
|
4347
|
-
});
|
|
4348
|
-
return retVal;
|
|
4349
|
-
};
|
|
4350
|
-
const de_WorkUnitRange = (output, context) => {
|
|
4351
|
-
return {
|
|
4352
|
-
WorkUnitIdMax: __expectLong(output.WorkUnitIdMax),
|
|
4353
|
-
WorkUnitIdMin: __expectLong(output.WorkUnitIdMin),
|
|
4354
|
-
WorkUnitToken: __expectString(output.WorkUnitToken),
|
|
4355
|
-
};
|
|
4356
|
-
};
|
|
4357
|
-
const de_WorkUnitRangeList = (output, context) => {
|
|
4358
|
-
const retVal = (output || [])
|
|
4359
|
-
.filter((e) => e != null)
|
|
4360
|
-
.map((entry) => {
|
|
4361
|
-
if (entry === null) {
|
|
4362
|
-
return null;
|
|
4363
|
-
}
|
|
4364
|
-
return de_WorkUnitRange(entry, context);
|
|
4365
|
-
});
|
|
4366
|
-
return retVal;
|
|
4367
|
-
};
|
|
4368
3418
|
const deserializeMetadata = (output) => ({
|
|
4369
3419
|
httpStatusCode: output.statusCode,
|
|
4370
3420
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|