@aws-sdk/client-lakeformation 3.306.0 → 3.310.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/commands/AddLFTagsToResourceCommand.js +2 -2
- package/dist-cjs/commands/AssumeDecoratedRoleWithSAMLCommand.js +2 -2
- package/dist-cjs/commands/BatchGrantPermissionsCommand.js +2 -2
- package/dist-cjs/commands/BatchRevokePermissionsCommand.js +2 -2
- package/dist-cjs/commands/CancelTransactionCommand.js +2 -2
- package/dist-cjs/commands/CommitTransactionCommand.js +2 -2
- package/dist-cjs/commands/CreateDataCellsFilterCommand.js +2 -2
- package/dist-cjs/commands/CreateLFTagCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataCellsFilterCommand.js +2 -2
- package/dist-cjs/commands/DeleteLFTagCommand.js +2 -2
- package/dist-cjs/commands/DeleteObjectsOnCancelCommand.js +2 -2
- package/dist-cjs/commands/DeregisterResourceCommand.js +2 -2
- package/dist-cjs/commands/DescribeResourceCommand.js +2 -2
- package/dist-cjs/commands/DescribeTransactionCommand.js +2 -2
- package/dist-cjs/commands/ExtendTransactionCommand.js +2 -2
- package/dist-cjs/commands/GetDataCellsFilterCommand.js +2 -2
- package/dist-cjs/commands/GetDataLakeSettingsCommand.js +2 -2
- package/dist-cjs/commands/GetEffectivePermissionsForPathCommand.js +2 -2
- package/dist-cjs/commands/GetLFTagCommand.js +2 -2
- package/dist-cjs/commands/GetQueryStateCommand.js +2 -2
- package/dist-cjs/commands/GetQueryStatisticsCommand.js +2 -2
- package/dist-cjs/commands/GetResourceLFTagsCommand.js +2 -2
- package/dist-cjs/commands/GetTableObjectsCommand.js +2 -2
- package/dist-cjs/commands/GetTemporaryGluePartitionCredentialsCommand.js +2 -2
- package/dist-cjs/commands/GetTemporaryGlueTableCredentialsCommand.js +2 -2
- package/dist-cjs/commands/GetWorkUnitResultsCommand.js +2 -2
- package/dist-cjs/commands/GetWorkUnitsCommand.js +2 -2
- package/dist-cjs/commands/GrantPermissionsCommand.js +2 -2
- package/dist-cjs/commands/ListDataCellsFilterCommand.js +2 -2
- package/dist-cjs/commands/ListLFTagsCommand.js +2 -2
- package/dist-cjs/commands/ListPermissionsCommand.js +2 -2
- package/dist-cjs/commands/ListResourcesCommand.js +2 -2
- package/dist-cjs/commands/ListTableStorageOptimizersCommand.js +2 -2
- package/dist-cjs/commands/ListTransactionsCommand.js +2 -2
- package/dist-cjs/commands/PutDataLakeSettingsCommand.js +2 -2
- package/dist-cjs/commands/RegisterResourceCommand.js +2 -2
- package/dist-cjs/commands/RemoveLFTagsFromResourceCommand.js +2 -2
- package/dist-cjs/commands/RevokePermissionsCommand.js +2 -2
- package/dist-cjs/commands/SearchDatabasesByLFTagsCommand.js +2 -2
- package/dist-cjs/commands/SearchTablesByLFTagsCommand.js +2 -2
- package/dist-cjs/commands/StartQueryPlanningCommand.js +2 -2
- package/dist-cjs/commands/StartTransactionCommand.js +2 -2
- package/dist-cjs/commands/UpdateDataCellsFilterCommand.js +2 -2
- package/dist-cjs/commands/UpdateLFTagCommand.js +2 -2
- package/dist-cjs/commands/UpdateResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateTableObjectsCommand.js +2 -2
- package/dist-cjs/commands/UpdateTableStorageOptimizerCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +825 -891
- package/dist-es/commands/AddLFTagsToResourceCommand.js +3 -3
- package/dist-es/commands/AssumeDecoratedRoleWithSAMLCommand.js +3 -3
- package/dist-es/commands/BatchGrantPermissionsCommand.js +3 -3
- package/dist-es/commands/BatchRevokePermissionsCommand.js +3 -3
- package/dist-es/commands/CancelTransactionCommand.js +3 -3
- package/dist-es/commands/CommitTransactionCommand.js +3 -3
- package/dist-es/commands/CreateDataCellsFilterCommand.js +3 -3
- package/dist-es/commands/CreateLFTagCommand.js +3 -3
- package/dist-es/commands/DeleteDataCellsFilterCommand.js +3 -3
- package/dist-es/commands/DeleteLFTagCommand.js +3 -3
- package/dist-es/commands/DeleteObjectsOnCancelCommand.js +3 -3
- package/dist-es/commands/DeregisterResourceCommand.js +3 -3
- package/dist-es/commands/DescribeResourceCommand.js +3 -3
- package/dist-es/commands/DescribeTransactionCommand.js +3 -3
- package/dist-es/commands/ExtendTransactionCommand.js +3 -3
- package/dist-es/commands/GetDataCellsFilterCommand.js +3 -3
- package/dist-es/commands/GetDataLakeSettingsCommand.js +3 -3
- package/dist-es/commands/GetEffectivePermissionsForPathCommand.js +3 -3
- package/dist-es/commands/GetLFTagCommand.js +3 -3
- package/dist-es/commands/GetQueryStateCommand.js +3 -3
- package/dist-es/commands/GetQueryStatisticsCommand.js +3 -3
- package/dist-es/commands/GetResourceLFTagsCommand.js +3 -3
- package/dist-es/commands/GetTableObjectsCommand.js +3 -3
- package/dist-es/commands/GetTemporaryGluePartitionCredentialsCommand.js +3 -3
- package/dist-es/commands/GetTemporaryGlueTableCredentialsCommand.js +3 -3
- package/dist-es/commands/GetWorkUnitResultsCommand.js +3 -3
- package/dist-es/commands/GetWorkUnitsCommand.js +3 -3
- package/dist-es/commands/GrantPermissionsCommand.js +3 -3
- package/dist-es/commands/ListDataCellsFilterCommand.js +3 -3
- package/dist-es/commands/ListLFTagsCommand.js +3 -3
- package/dist-es/commands/ListPermissionsCommand.js +3 -3
- package/dist-es/commands/ListResourcesCommand.js +3 -3
- package/dist-es/commands/ListTableStorageOptimizersCommand.js +3 -3
- package/dist-es/commands/ListTransactionsCommand.js +3 -3
- package/dist-es/commands/PutDataLakeSettingsCommand.js +3 -3
- package/dist-es/commands/RegisterResourceCommand.js +3 -3
- package/dist-es/commands/RemoveLFTagsFromResourceCommand.js +3 -3
- package/dist-es/commands/RevokePermissionsCommand.js +3 -3
- package/dist-es/commands/SearchDatabasesByLFTagsCommand.js +3 -3
- package/dist-es/commands/SearchTablesByLFTagsCommand.js +3 -3
- package/dist-es/commands/StartQueryPlanningCommand.js +3 -3
- package/dist-es/commands/StartTransactionCommand.js +3 -3
- package/dist-es/commands/UpdateDataCellsFilterCommand.js +3 -3
- package/dist-es/commands/UpdateLFTagCommand.js +3 -3
- package/dist-es/commands/UpdateResourceCommand.js +3 -3
- package/dist-es/commands/UpdateTableObjectsCommand.js +3 -3
- package/dist-es/commands/UpdateTableStorageOptimizerCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +729 -795
- package/dist-types/protocols/Aws_restJson1.d.ts +376 -94
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +94 -94
- package/package.json +37 -37
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } f
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map as __map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, throwDefaultError, } 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
|
-
export const
|
|
5
|
+
export const se_AddLFTagsToResourceCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
@@ -11,8 +11,8 @@ export const serializeAws_restJson1AddLFTagsToResourceCommand = async (input, co
|
|
|
11
11
|
let body;
|
|
12
12
|
body = JSON.stringify({
|
|
13
13
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
14
|
-
...(input.LFTags != null && { LFTags:
|
|
15
|
-
...(input.Resource != null && { Resource:
|
|
14
|
+
...(input.LFTags != null && { LFTags: se_LFTagsList(input.LFTags, context) }),
|
|
15
|
+
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
16
16
|
});
|
|
17
17
|
return new __HttpRequest({
|
|
18
18
|
protocol,
|
|
@@ -24,7 +24,7 @@ export const serializeAws_restJson1AddLFTagsToResourceCommand = async (input, co
|
|
|
24
24
|
body,
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
|
-
export const
|
|
27
|
+
export const se_AssumeDecoratedRoleWithSAMLCommand = async (input, context) => {
|
|
28
28
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
29
29
|
const headers = {
|
|
30
30
|
"content-type": "application/json",
|
|
@@ -47,7 +47,7 @@ export const serializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand = async (i
|
|
|
47
47
|
body,
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_BatchGrantPermissionsCommand = async (input, context) => {
|
|
51
51
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
52
52
|
const headers = {
|
|
53
53
|
"content-type": "application/json",
|
|
@@ -56,9 +56,7 @@ export const serializeAws_restJson1BatchGrantPermissionsCommand = async (input,
|
|
|
56
56
|
let body;
|
|
57
57
|
body = JSON.stringify({
|
|
58
58
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
59
|
-
...(input.Entries != null && {
|
|
60
|
-
Entries: serializeAws_restJson1BatchPermissionsRequestEntryList(input.Entries, context),
|
|
61
|
-
}),
|
|
59
|
+
...(input.Entries != null && { Entries: se_BatchPermissionsRequestEntryList(input.Entries, context) }),
|
|
62
60
|
});
|
|
63
61
|
return new __HttpRequest({
|
|
64
62
|
protocol,
|
|
@@ -70,7 +68,7 @@ export const serializeAws_restJson1BatchGrantPermissionsCommand = async (input,
|
|
|
70
68
|
body,
|
|
71
69
|
});
|
|
72
70
|
};
|
|
73
|
-
export const
|
|
71
|
+
export const se_BatchRevokePermissionsCommand = async (input, context) => {
|
|
74
72
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
75
73
|
const headers = {
|
|
76
74
|
"content-type": "application/json",
|
|
@@ -79,9 +77,7 @@ export const serializeAws_restJson1BatchRevokePermissionsCommand = async (input,
|
|
|
79
77
|
let body;
|
|
80
78
|
body = JSON.stringify({
|
|
81
79
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
82
|
-
...(input.Entries != null && {
|
|
83
|
-
Entries: serializeAws_restJson1BatchPermissionsRequestEntryList(input.Entries, context),
|
|
84
|
-
}),
|
|
80
|
+
...(input.Entries != null && { Entries: se_BatchPermissionsRequestEntryList(input.Entries, context) }),
|
|
85
81
|
});
|
|
86
82
|
return new __HttpRequest({
|
|
87
83
|
protocol,
|
|
@@ -93,7 +89,7 @@ export const serializeAws_restJson1BatchRevokePermissionsCommand = async (input,
|
|
|
93
89
|
body,
|
|
94
90
|
});
|
|
95
91
|
};
|
|
96
|
-
export const
|
|
92
|
+
export const se_CancelTransactionCommand = async (input, context) => {
|
|
97
93
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
98
94
|
const headers = {
|
|
99
95
|
"content-type": "application/json",
|
|
@@ -113,7 +109,7 @@ export const serializeAws_restJson1CancelTransactionCommand = async (input, cont
|
|
|
113
109
|
body,
|
|
114
110
|
});
|
|
115
111
|
};
|
|
116
|
-
export const
|
|
112
|
+
export const se_CommitTransactionCommand = async (input, context) => {
|
|
117
113
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
118
114
|
const headers = {
|
|
119
115
|
"content-type": "application/json",
|
|
@@ -133,7 +129,7 @@ export const serializeAws_restJson1CommitTransactionCommand = async (input, cont
|
|
|
133
129
|
body,
|
|
134
130
|
});
|
|
135
131
|
};
|
|
136
|
-
export const
|
|
132
|
+
export const se_CreateDataCellsFilterCommand = async (input, context) => {
|
|
137
133
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
138
134
|
const headers = {
|
|
139
135
|
"content-type": "application/json",
|
|
@@ -141,7 +137,7 @@ export const serializeAws_restJson1CreateDataCellsFilterCommand = async (input,
|
|
|
141
137
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateDataCellsFilter";
|
|
142
138
|
let body;
|
|
143
139
|
body = JSON.stringify({
|
|
144
|
-
...(input.TableData != null && { TableData:
|
|
140
|
+
...(input.TableData != null && { TableData: se_DataCellsFilter(input.TableData, context) }),
|
|
145
141
|
});
|
|
146
142
|
return new __HttpRequest({
|
|
147
143
|
protocol,
|
|
@@ -153,7 +149,7 @@ export const serializeAws_restJson1CreateDataCellsFilterCommand = async (input,
|
|
|
153
149
|
body,
|
|
154
150
|
});
|
|
155
151
|
};
|
|
156
|
-
export const
|
|
152
|
+
export const se_CreateLFTagCommand = async (input, context) => {
|
|
157
153
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
158
154
|
const headers = {
|
|
159
155
|
"content-type": "application/json",
|
|
@@ -163,7 +159,7 @@ export const serializeAws_restJson1CreateLFTagCommand = async (input, context) =
|
|
|
163
159
|
body = JSON.stringify({
|
|
164
160
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
165
161
|
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
166
|
-
...(input.TagValues != null && { TagValues:
|
|
162
|
+
...(input.TagValues != null && { TagValues: se_TagValueList(input.TagValues, context) }),
|
|
167
163
|
});
|
|
168
164
|
return new __HttpRequest({
|
|
169
165
|
protocol,
|
|
@@ -175,7 +171,7 @@ export const serializeAws_restJson1CreateLFTagCommand = async (input, context) =
|
|
|
175
171
|
body,
|
|
176
172
|
});
|
|
177
173
|
};
|
|
178
|
-
export const
|
|
174
|
+
export const se_DeleteDataCellsFilterCommand = async (input, context) => {
|
|
179
175
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
180
176
|
const headers = {
|
|
181
177
|
"content-type": "application/json",
|
|
@@ -198,7 +194,7 @@ export const serializeAws_restJson1DeleteDataCellsFilterCommand = async (input,
|
|
|
198
194
|
body,
|
|
199
195
|
});
|
|
200
196
|
};
|
|
201
|
-
export const
|
|
197
|
+
export const se_DeleteLFTagCommand = async (input, context) => {
|
|
202
198
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
203
199
|
const headers = {
|
|
204
200
|
"content-type": "application/json",
|
|
@@ -219,7 +215,7 @@ export const serializeAws_restJson1DeleteLFTagCommand = async (input, context) =
|
|
|
219
215
|
body,
|
|
220
216
|
});
|
|
221
217
|
};
|
|
222
|
-
export const
|
|
218
|
+
export const se_DeleteObjectsOnCancelCommand = async (input, context) => {
|
|
223
219
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
224
220
|
const headers = {
|
|
225
221
|
"content-type": "application/json",
|
|
@@ -229,7 +225,7 @@ export const serializeAws_restJson1DeleteObjectsOnCancelCommand = async (input,
|
|
|
229
225
|
body = JSON.stringify({
|
|
230
226
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
231
227
|
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
232
|
-
...(input.Objects != null && { Objects:
|
|
228
|
+
...(input.Objects != null && { Objects: se_VirtualObjectList(input.Objects, context) }),
|
|
233
229
|
...(input.TableName != null && { TableName: input.TableName }),
|
|
234
230
|
...(input.TransactionId != null && { TransactionId: input.TransactionId }),
|
|
235
231
|
});
|
|
@@ -243,7 +239,7 @@ export const serializeAws_restJson1DeleteObjectsOnCancelCommand = async (input,
|
|
|
243
239
|
body,
|
|
244
240
|
});
|
|
245
241
|
};
|
|
246
|
-
export const
|
|
242
|
+
export const se_DeregisterResourceCommand = async (input, context) => {
|
|
247
243
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
248
244
|
const headers = {
|
|
249
245
|
"content-type": "application/json",
|
|
@@ -263,7 +259,7 @@ export const serializeAws_restJson1DeregisterResourceCommand = async (input, con
|
|
|
263
259
|
body,
|
|
264
260
|
});
|
|
265
261
|
};
|
|
266
|
-
export const
|
|
262
|
+
export const se_DescribeResourceCommand = async (input, context) => {
|
|
267
263
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
268
264
|
const headers = {
|
|
269
265
|
"content-type": "application/json",
|
|
@@ -283,7 +279,7 @@ export const serializeAws_restJson1DescribeResourceCommand = async (input, conte
|
|
|
283
279
|
body,
|
|
284
280
|
});
|
|
285
281
|
};
|
|
286
|
-
export const
|
|
282
|
+
export const se_DescribeTransactionCommand = async (input, context) => {
|
|
287
283
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
288
284
|
const headers = {
|
|
289
285
|
"content-type": "application/json",
|
|
@@ -303,7 +299,7 @@ export const serializeAws_restJson1DescribeTransactionCommand = async (input, co
|
|
|
303
299
|
body,
|
|
304
300
|
});
|
|
305
301
|
};
|
|
306
|
-
export const
|
|
302
|
+
export const se_ExtendTransactionCommand = async (input, context) => {
|
|
307
303
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
308
304
|
const headers = {
|
|
309
305
|
"content-type": "application/json",
|
|
@@ -323,7 +319,7 @@ export const serializeAws_restJson1ExtendTransactionCommand = async (input, cont
|
|
|
323
319
|
body,
|
|
324
320
|
});
|
|
325
321
|
};
|
|
326
|
-
export const
|
|
322
|
+
export const se_GetDataCellsFilterCommand = async (input, context) => {
|
|
327
323
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
328
324
|
const headers = {
|
|
329
325
|
"content-type": "application/json",
|
|
@@ -346,7 +342,7 @@ export const serializeAws_restJson1GetDataCellsFilterCommand = async (input, con
|
|
|
346
342
|
body,
|
|
347
343
|
});
|
|
348
344
|
};
|
|
349
|
-
export const
|
|
345
|
+
export const se_GetDataLakeSettingsCommand = async (input, context) => {
|
|
350
346
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
351
347
|
const headers = {
|
|
352
348
|
"content-type": "application/json",
|
|
@@ -366,7 +362,7 @@ export const serializeAws_restJson1GetDataLakeSettingsCommand = async (input, co
|
|
|
366
362
|
body,
|
|
367
363
|
});
|
|
368
364
|
};
|
|
369
|
-
export const
|
|
365
|
+
export const se_GetEffectivePermissionsForPathCommand = async (input, context) => {
|
|
370
366
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
371
367
|
const headers = {
|
|
372
368
|
"content-type": "application/json",
|
|
@@ -389,7 +385,7 @@ export const serializeAws_restJson1GetEffectivePermissionsForPathCommand = async
|
|
|
389
385
|
body,
|
|
390
386
|
});
|
|
391
387
|
};
|
|
392
|
-
export const
|
|
388
|
+
export const se_GetLFTagCommand = async (input, context) => {
|
|
393
389
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
394
390
|
const headers = {
|
|
395
391
|
"content-type": "application/json",
|
|
@@ -410,7 +406,7 @@ export const serializeAws_restJson1GetLFTagCommand = async (input, context) => {
|
|
|
410
406
|
body,
|
|
411
407
|
});
|
|
412
408
|
};
|
|
413
|
-
export const
|
|
409
|
+
export const se_GetQueryStateCommand = async (input, context) => {
|
|
414
410
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
415
411
|
const headers = {
|
|
416
412
|
"content-type": "application/json",
|
|
@@ -437,7 +433,7 @@ export const serializeAws_restJson1GetQueryStateCommand = async (input, context)
|
|
|
437
433
|
body,
|
|
438
434
|
});
|
|
439
435
|
};
|
|
440
|
-
export const
|
|
436
|
+
export const se_GetQueryStatisticsCommand = async (input, context) => {
|
|
441
437
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
442
438
|
const headers = {
|
|
443
439
|
"content-type": "application/json",
|
|
@@ -464,7 +460,7 @@ export const serializeAws_restJson1GetQueryStatisticsCommand = async (input, con
|
|
|
464
460
|
body,
|
|
465
461
|
});
|
|
466
462
|
};
|
|
467
|
-
export const
|
|
463
|
+
export const se_GetResourceLFTagsCommand = async (input, context) => {
|
|
468
464
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
469
465
|
const headers = {
|
|
470
466
|
"content-type": "application/json",
|
|
@@ -473,7 +469,7 @@ export const serializeAws_restJson1GetResourceLFTagsCommand = async (input, cont
|
|
|
473
469
|
let body;
|
|
474
470
|
body = JSON.stringify({
|
|
475
471
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
476
|
-
...(input.Resource != null && { Resource:
|
|
472
|
+
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
477
473
|
...(input.ShowAssignedLFTags != null && { ShowAssignedLFTags: input.ShowAssignedLFTags }),
|
|
478
474
|
});
|
|
479
475
|
return new __HttpRequest({
|
|
@@ -486,7 +482,7 @@ export const serializeAws_restJson1GetResourceLFTagsCommand = async (input, cont
|
|
|
486
482
|
body,
|
|
487
483
|
});
|
|
488
484
|
};
|
|
489
|
-
export const
|
|
485
|
+
export const se_GetTableObjectsCommand = async (input, context) => {
|
|
490
486
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
491
487
|
const headers = {
|
|
492
488
|
"content-type": "application/json",
|
|
@@ -513,7 +509,7 @@ export const serializeAws_restJson1GetTableObjectsCommand = async (input, contex
|
|
|
513
509
|
body,
|
|
514
510
|
});
|
|
515
511
|
};
|
|
516
|
-
export const
|
|
512
|
+
export const se_GetTemporaryGluePartitionCredentialsCommand = async (input, context) => {
|
|
517
513
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
518
514
|
const headers = {
|
|
519
515
|
"content-type": "application/json",
|
|
@@ -521,14 +517,12 @@ export const serializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand =
|
|
|
521
517
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetTemporaryGluePartitionCredentials";
|
|
522
518
|
let body;
|
|
523
519
|
body = JSON.stringify({
|
|
524
|
-
...(input.AuditContext != null && {
|
|
525
|
-
AuditContext: serializeAws_restJson1AuditContext(input.AuditContext, context),
|
|
526
|
-
}),
|
|
520
|
+
...(input.AuditContext != null && { AuditContext: se_AuditContext(input.AuditContext, context) }),
|
|
527
521
|
...(input.DurationSeconds != null && { DurationSeconds: input.DurationSeconds }),
|
|
528
|
-
...(input.Partition != null && { Partition:
|
|
529
|
-
...(input.Permissions != null && { Permissions:
|
|
522
|
+
...(input.Partition != null && { Partition: se_PartitionValueList(input.Partition, context) }),
|
|
523
|
+
...(input.Permissions != null && { Permissions: se_PermissionList(input.Permissions, context) }),
|
|
530
524
|
...(input.SupportedPermissionTypes != null && {
|
|
531
|
-
SupportedPermissionTypes:
|
|
525
|
+
SupportedPermissionTypes: se_PermissionTypeList(input.SupportedPermissionTypes, context),
|
|
532
526
|
}),
|
|
533
527
|
...(input.TableArn != null && { TableArn: input.TableArn }),
|
|
534
528
|
});
|
|
@@ -542,7 +536,7 @@ export const serializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand =
|
|
|
542
536
|
body,
|
|
543
537
|
});
|
|
544
538
|
};
|
|
545
|
-
export const
|
|
539
|
+
export const se_GetTemporaryGlueTableCredentialsCommand = async (input, context) => {
|
|
546
540
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
547
541
|
const headers = {
|
|
548
542
|
"content-type": "application/json",
|
|
@@ -550,13 +544,11 @@ export const serializeAws_restJson1GetTemporaryGlueTableCredentialsCommand = asy
|
|
|
550
544
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetTemporaryGlueTableCredentials";
|
|
551
545
|
let body;
|
|
552
546
|
body = JSON.stringify({
|
|
553
|
-
...(input.AuditContext != null && {
|
|
554
|
-
AuditContext: serializeAws_restJson1AuditContext(input.AuditContext, context),
|
|
555
|
-
}),
|
|
547
|
+
...(input.AuditContext != null && { AuditContext: se_AuditContext(input.AuditContext, context) }),
|
|
556
548
|
...(input.DurationSeconds != null && { DurationSeconds: input.DurationSeconds }),
|
|
557
|
-
...(input.Permissions != null && { Permissions:
|
|
549
|
+
...(input.Permissions != null && { Permissions: se_PermissionList(input.Permissions, context) }),
|
|
558
550
|
...(input.SupportedPermissionTypes != null && {
|
|
559
|
-
SupportedPermissionTypes:
|
|
551
|
+
SupportedPermissionTypes: se_PermissionTypeList(input.SupportedPermissionTypes, context),
|
|
560
552
|
}),
|
|
561
553
|
...(input.TableArn != null && { TableArn: input.TableArn }),
|
|
562
554
|
});
|
|
@@ -570,7 +562,7 @@ export const serializeAws_restJson1GetTemporaryGlueTableCredentialsCommand = asy
|
|
|
570
562
|
body,
|
|
571
563
|
});
|
|
572
564
|
};
|
|
573
|
-
export const
|
|
565
|
+
export const se_GetWorkUnitResultsCommand = async (input, context) => {
|
|
574
566
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
575
567
|
const headers = {
|
|
576
568
|
"content-type": "application/json",
|
|
@@ -599,7 +591,7 @@ export const serializeAws_restJson1GetWorkUnitResultsCommand = async (input, con
|
|
|
599
591
|
body,
|
|
600
592
|
});
|
|
601
593
|
};
|
|
602
|
-
export const
|
|
594
|
+
export const se_GetWorkUnitsCommand = async (input, context) => {
|
|
603
595
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
604
596
|
const headers = {
|
|
605
597
|
"content-type": "application/json",
|
|
@@ -628,7 +620,7 @@ export const serializeAws_restJson1GetWorkUnitsCommand = async (input, context)
|
|
|
628
620
|
body,
|
|
629
621
|
});
|
|
630
622
|
};
|
|
631
|
-
export const
|
|
623
|
+
export const se_GrantPermissionsCommand = async (input, context) => {
|
|
632
624
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
633
625
|
const headers = {
|
|
634
626
|
"content-type": "application/json",
|
|
@@ -637,12 +629,12 @@ export const serializeAws_restJson1GrantPermissionsCommand = async (input, conte
|
|
|
637
629
|
let body;
|
|
638
630
|
body = JSON.stringify({
|
|
639
631
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
640
|
-
...(input.Permissions != null && { Permissions:
|
|
632
|
+
...(input.Permissions != null && { Permissions: se_PermissionList(input.Permissions, context) }),
|
|
641
633
|
...(input.PermissionsWithGrantOption != null && {
|
|
642
|
-
PermissionsWithGrantOption:
|
|
634
|
+
PermissionsWithGrantOption: se_PermissionList(input.PermissionsWithGrantOption, context),
|
|
643
635
|
}),
|
|
644
|
-
...(input.Principal != null && { Principal:
|
|
645
|
-
...(input.Resource != null && { Resource:
|
|
636
|
+
...(input.Principal != null && { Principal: se_DataLakePrincipal(input.Principal, context) }),
|
|
637
|
+
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
646
638
|
});
|
|
647
639
|
return new __HttpRequest({
|
|
648
640
|
protocol,
|
|
@@ -654,7 +646,7 @@ export const serializeAws_restJson1GrantPermissionsCommand = async (input, conte
|
|
|
654
646
|
body,
|
|
655
647
|
});
|
|
656
648
|
};
|
|
657
|
-
export const
|
|
649
|
+
export const se_ListDataCellsFilterCommand = async (input, context) => {
|
|
658
650
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
659
651
|
const headers = {
|
|
660
652
|
"content-type": "application/json",
|
|
@@ -664,7 +656,7 @@ export const serializeAws_restJson1ListDataCellsFilterCommand = async (input, co
|
|
|
664
656
|
body = JSON.stringify({
|
|
665
657
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
666
658
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
667
|
-
...(input.Table != null && { Table:
|
|
659
|
+
...(input.Table != null && { Table: se_TableResource(input.Table, context) }),
|
|
668
660
|
});
|
|
669
661
|
return new __HttpRequest({
|
|
670
662
|
protocol,
|
|
@@ -676,7 +668,7 @@ export const serializeAws_restJson1ListDataCellsFilterCommand = async (input, co
|
|
|
676
668
|
body,
|
|
677
669
|
});
|
|
678
670
|
};
|
|
679
|
-
export const
|
|
671
|
+
export const se_ListLFTagsCommand = async (input, context) => {
|
|
680
672
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
681
673
|
const headers = {
|
|
682
674
|
"content-type": "application/json",
|
|
@@ -699,7 +691,7 @@ export const serializeAws_restJson1ListLFTagsCommand = async (input, context) =>
|
|
|
699
691
|
body,
|
|
700
692
|
});
|
|
701
693
|
};
|
|
702
|
-
export const
|
|
694
|
+
export const se_ListPermissionsCommand = async (input, context) => {
|
|
703
695
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
704
696
|
const headers = {
|
|
705
697
|
"content-type": "application/json",
|
|
@@ -711,8 +703,8 @@ export const serializeAws_restJson1ListPermissionsCommand = async (input, contex
|
|
|
711
703
|
...(input.IncludeRelated != null && { IncludeRelated: input.IncludeRelated }),
|
|
712
704
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
713
705
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
714
|
-
...(input.Principal != null && { Principal:
|
|
715
|
-
...(input.Resource != null && { Resource:
|
|
706
|
+
...(input.Principal != null && { Principal: se_DataLakePrincipal(input.Principal, context) }),
|
|
707
|
+
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
716
708
|
...(input.ResourceType != null && { ResourceType: input.ResourceType }),
|
|
717
709
|
});
|
|
718
710
|
return new __HttpRequest({
|
|
@@ -725,7 +717,7 @@ export const serializeAws_restJson1ListPermissionsCommand = async (input, contex
|
|
|
725
717
|
body,
|
|
726
718
|
});
|
|
727
719
|
};
|
|
728
|
-
export const
|
|
720
|
+
export const se_ListResourcesCommand = async (input, context) => {
|
|
729
721
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
730
722
|
const headers = {
|
|
731
723
|
"content-type": "application/json",
|
|
@@ -734,7 +726,7 @@ export const serializeAws_restJson1ListResourcesCommand = async (input, context)
|
|
|
734
726
|
let body;
|
|
735
727
|
body = JSON.stringify({
|
|
736
728
|
...(input.FilterConditionList != null && {
|
|
737
|
-
FilterConditionList:
|
|
729
|
+
FilterConditionList: se_FilterConditionList(input.FilterConditionList, context),
|
|
738
730
|
}),
|
|
739
731
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
740
732
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
@@ -749,7 +741,7 @@ export const serializeAws_restJson1ListResourcesCommand = async (input, context)
|
|
|
749
741
|
body,
|
|
750
742
|
});
|
|
751
743
|
};
|
|
752
|
-
export const
|
|
744
|
+
export const se_ListTableStorageOptimizersCommand = async (input, context) => {
|
|
753
745
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
754
746
|
const headers = {
|
|
755
747
|
"content-type": "application/json",
|
|
@@ -774,7 +766,7 @@ export const serializeAws_restJson1ListTableStorageOptimizersCommand = async (in
|
|
|
774
766
|
body,
|
|
775
767
|
});
|
|
776
768
|
};
|
|
777
|
-
export const
|
|
769
|
+
export const se_ListTransactionsCommand = async (input, context) => {
|
|
778
770
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
779
771
|
const headers = {
|
|
780
772
|
"content-type": "application/json",
|
|
@@ -797,7 +789,7 @@ export const serializeAws_restJson1ListTransactionsCommand = async (input, conte
|
|
|
797
789
|
body,
|
|
798
790
|
});
|
|
799
791
|
};
|
|
800
|
-
export const
|
|
792
|
+
export const se_PutDataLakeSettingsCommand = async (input, context) => {
|
|
801
793
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
802
794
|
const headers = {
|
|
803
795
|
"content-type": "application/json",
|
|
@@ -806,9 +798,7 @@ export const serializeAws_restJson1PutDataLakeSettingsCommand = async (input, co
|
|
|
806
798
|
let body;
|
|
807
799
|
body = JSON.stringify({
|
|
808
800
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
809
|
-
...(input.DataLakeSettings != null && {
|
|
810
|
-
DataLakeSettings: serializeAws_restJson1DataLakeSettings(input.DataLakeSettings, context),
|
|
811
|
-
}),
|
|
801
|
+
...(input.DataLakeSettings != null && { DataLakeSettings: se_DataLakeSettings(input.DataLakeSettings, context) }),
|
|
812
802
|
});
|
|
813
803
|
return new __HttpRequest({
|
|
814
804
|
protocol,
|
|
@@ -820,7 +810,7 @@ export const serializeAws_restJson1PutDataLakeSettingsCommand = async (input, co
|
|
|
820
810
|
body,
|
|
821
811
|
});
|
|
822
812
|
};
|
|
823
|
-
export const
|
|
813
|
+
export const se_RegisterResourceCommand = async (input, context) => {
|
|
824
814
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
825
815
|
const headers = {
|
|
826
816
|
"content-type": "application/json",
|
|
@@ -843,7 +833,7 @@ export const serializeAws_restJson1RegisterResourceCommand = async (input, conte
|
|
|
843
833
|
body,
|
|
844
834
|
});
|
|
845
835
|
};
|
|
846
|
-
export const
|
|
836
|
+
export const se_RemoveLFTagsFromResourceCommand = async (input, context) => {
|
|
847
837
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
848
838
|
const headers = {
|
|
849
839
|
"content-type": "application/json",
|
|
@@ -852,8 +842,8 @@ export const serializeAws_restJson1RemoveLFTagsFromResourceCommand = async (inpu
|
|
|
852
842
|
let body;
|
|
853
843
|
body = JSON.stringify({
|
|
854
844
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
855
|
-
...(input.LFTags != null && { LFTags:
|
|
856
|
-
...(input.Resource != null && { Resource:
|
|
845
|
+
...(input.LFTags != null && { LFTags: se_LFTagsList(input.LFTags, context) }),
|
|
846
|
+
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
857
847
|
});
|
|
858
848
|
return new __HttpRequest({
|
|
859
849
|
protocol,
|
|
@@ -865,7 +855,7 @@ export const serializeAws_restJson1RemoveLFTagsFromResourceCommand = async (inpu
|
|
|
865
855
|
body,
|
|
866
856
|
});
|
|
867
857
|
};
|
|
868
|
-
export const
|
|
858
|
+
export const se_RevokePermissionsCommand = async (input, context) => {
|
|
869
859
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
870
860
|
const headers = {
|
|
871
861
|
"content-type": "application/json",
|
|
@@ -874,12 +864,12 @@ export const serializeAws_restJson1RevokePermissionsCommand = async (input, cont
|
|
|
874
864
|
let body;
|
|
875
865
|
body = JSON.stringify({
|
|
876
866
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
877
|
-
...(input.Permissions != null && { Permissions:
|
|
867
|
+
...(input.Permissions != null && { Permissions: se_PermissionList(input.Permissions, context) }),
|
|
878
868
|
...(input.PermissionsWithGrantOption != null && {
|
|
879
|
-
PermissionsWithGrantOption:
|
|
869
|
+
PermissionsWithGrantOption: se_PermissionList(input.PermissionsWithGrantOption, context),
|
|
880
870
|
}),
|
|
881
|
-
...(input.Principal != null && { Principal:
|
|
882
|
-
...(input.Resource != null && { Resource:
|
|
871
|
+
...(input.Principal != null && { Principal: se_DataLakePrincipal(input.Principal, context) }),
|
|
872
|
+
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
883
873
|
});
|
|
884
874
|
return new __HttpRequest({
|
|
885
875
|
protocol,
|
|
@@ -891,7 +881,7 @@ export const serializeAws_restJson1RevokePermissionsCommand = async (input, cont
|
|
|
891
881
|
body,
|
|
892
882
|
});
|
|
893
883
|
};
|
|
894
|
-
export const
|
|
884
|
+
export const se_SearchDatabasesByLFTagsCommand = async (input, context) => {
|
|
895
885
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
896
886
|
const headers = {
|
|
897
887
|
"content-type": "application/json",
|
|
@@ -900,7 +890,7 @@ export const serializeAws_restJson1SearchDatabasesByLFTagsCommand = async (input
|
|
|
900
890
|
let body;
|
|
901
891
|
body = JSON.stringify({
|
|
902
892
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
903
|
-
...(input.Expression != null && { Expression:
|
|
893
|
+
...(input.Expression != null && { Expression: se_Expression(input.Expression, context) }),
|
|
904
894
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
905
895
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
906
896
|
});
|
|
@@ -914,7 +904,7 @@ export const serializeAws_restJson1SearchDatabasesByLFTagsCommand = async (input
|
|
|
914
904
|
body,
|
|
915
905
|
});
|
|
916
906
|
};
|
|
917
|
-
export const
|
|
907
|
+
export const se_SearchTablesByLFTagsCommand = async (input, context) => {
|
|
918
908
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
919
909
|
const headers = {
|
|
920
910
|
"content-type": "application/json",
|
|
@@ -923,7 +913,7 @@ export const serializeAws_restJson1SearchTablesByLFTagsCommand = async (input, c
|
|
|
923
913
|
let body;
|
|
924
914
|
body = JSON.stringify({
|
|
925
915
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
926
|
-
...(input.Expression != null && { Expression:
|
|
916
|
+
...(input.Expression != null && { Expression: se_Expression(input.Expression, context) }),
|
|
927
917
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
928
918
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
929
919
|
});
|
|
@@ -937,7 +927,7 @@ export const serializeAws_restJson1SearchTablesByLFTagsCommand = async (input, c
|
|
|
937
927
|
body,
|
|
938
928
|
});
|
|
939
929
|
};
|
|
940
|
-
export const
|
|
930
|
+
export const se_StartQueryPlanningCommand = async (input, context) => {
|
|
941
931
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
942
932
|
const headers = {
|
|
943
933
|
"content-type": "application/json",
|
|
@@ -946,7 +936,7 @@ export const serializeAws_restJson1StartQueryPlanningCommand = async (input, con
|
|
|
946
936
|
let body;
|
|
947
937
|
body = JSON.stringify({
|
|
948
938
|
...(input.QueryPlanningContext != null && {
|
|
949
|
-
QueryPlanningContext:
|
|
939
|
+
QueryPlanningContext: se_QueryPlanningContext(input.QueryPlanningContext, context),
|
|
950
940
|
}),
|
|
951
941
|
...(input.QueryString != null && { QueryString: input.QueryString }),
|
|
952
942
|
});
|
|
@@ -967,7 +957,7 @@ export const serializeAws_restJson1StartQueryPlanningCommand = async (input, con
|
|
|
967
957
|
body,
|
|
968
958
|
});
|
|
969
959
|
};
|
|
970
|
-
export const
|
|
960
|
+
export const se_StartTransactionCommand = async (input, context) => {
|
|
971
961
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
972
962
|
const headers = {
|
|
973
963
|
"content-type": "application/json",
|
|
@@ -987,7 +977,7 @@ export const serializeAws_restJson1StartTransactionCommand = async (input, conte
|
|
|
987
977
|
body,
|
|
988
978
|
});
|
|
989
979
|
};
|
|
990
|
-
export const
|
|
980
|
+
export const se_UpdateDataCellsFilterCommand = async (input, context) => {
|
|
991
981
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
992
982
|
const headers = {
|
|
993
983
|
"content-type": "application/json",
|
|
@@ -995,7 +985,7 @@ export const serializeAws_restJson1UpdateDataCellsFilterCommand = async (input,
|
|
|
995
985
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateDataCellsFilter";
|
|
996
986
|
let body;
|
|
997
987
|
body = JSON.stringify({
|
|
998
|
-
...(input.TableData != null && { TableData:
|
|
988
|
+
...(input.TableData != null && { TableData: se_DataCellsFilter(input.TableData, context) }),
|
|
999
989
|
});
|
|
1000
990
|
return new __HttpRequest({
|
|
1001
991
|
protocol,
|
|
@@ -1007,7 +997,7 @@ export const serializeAws_restJson1UpdateDataCellsFilterCommand = async (input,
|
|
|
1007
997
|
body,
|
|
1008
998
|
});
|
|
1009
999
|
};
|
|
1010
|
-
export const
|
|
1000
|
+
export const se_UpdateLFTagCommand = async (input, context) => {
|
|
1011
1001
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1012
1002
|
const headers = {
|
|
1013
1003
|
"content-type": "application/json",
|
|
@@ -1017,12 +1007,8 @@ export const serializeAws_restJson1UpdateLFTagCommand = async (input, context) =
|
|
|
1017
1007
|
body = JSON.stringify({
|
|
1018
1008
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
1019
1009
|
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
1020
|
-
...(input.TagValuesToAdd != null && {
|
|
1021
|
-
|
|
1022
|
-
}),
|
|
1023
|
-
...(input.TagValuesToDelete != null && {
|
|
1024
|
-
TagValuesToDelete: serializeAws_restJson1TagValueList(input.TagValuesToDelete, context),
|
|
1025
|
-
}),
|
|
1010
|
+
...(input.TagValuesToAdd != null && { TagValuesToAdd: se_TagValueList(input.TagValuesToAdd, context) }),
|
|
1011
|
+
...(input.TagValuesToDelete != null && { TagValuesToDelete: se_TagValueList(input.TagValuesToDelete, context) }),
|
|
1026
1012
|
});
|
|
1027
1013
|
return new __HttpRequest({
|
|
1028
1014
|
protocol,
|
|
@@ -1034,7 +1020,7 @@ export const serializeAws_restJson1UpdateLFTagCommand = async (input, context) =
|
|
|
1034
1020
|
body,
|
|
1035
1021
|
});
|
|
1036
1022
|
};
|
|
1037
|
-
export const
|
|
1023
|
+
export const se_UpdateResourceCommand = async (input, context) => {
|
|
1038
1024
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1039
1025
|
const headers = {
|
|
1040
1026
|
"content-type": "application/json",
|
|
@@ -1056,7 +1042,7 @@ export const serializeAws_restJson1UpdateResourceCommand = async (input, context
|
|
|
1056
1042
|
body,
|
|
1057
1043
|
});
|
|
1058
1044
|
};
|
|
1059
|
-
export const
|
|
1045
|
+
export const se_UpdateTableObjectsCommand = async (input, context) => {
|
|
1060
1046
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1061
1047
|
const headers = {
|
|
1062
1048
|
"content-type": "application/json",
|
|
@@ -1068,9 +1054,7 @@ export const serializeAws_restJson1UpdateTableObjectsCommand = async (input, con
|
|
|
1068
1054
|
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
1069
1055
|
...(input.TableName != null && { TableName: input.TableName }),
|
|
1070
1056
|
...(input.TransactionId != null && { TransactionId: input.TransactionId }),
|
|
1071
|
-
...(input.WriteOperations != null && {
|
|
1072
|
-
WriteOperations: serializeAws_restJson1WriteOperationList(input.WriteOperations, context),
|
|
1073
|
-
}),
|
|
1057
|
+
...(input.WriteOperations != null && { WriteOperations: se_WriteOperationList(input.WriteOperations, context) }),
|
|
1074
1058
|
});
|
|
1075
1059
|
return new __HttpRequest({
|
|
1076
1060
|
protocol,
|
|
@@ -1082,7 +1066,7 @@ export const serializeAws_restJson1UpdateTableObjectsCommand = async (input, con
|
|
|
1082
1066
|
body,
|
|
1083
1067
|
});
|
|
1084
1068
|
};
|
|
1085
|
-
export const
|
|
1069
|
+
export const se_UpdateTableStorageOptimizerCommand = async (input, context) => {
|
|
1086
1070
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1087
1071
|
const headers = {
|
|
1088
1072
|
"content-type": "application/json",
|
|
@@ -1093,7 +1077,7 @@ export const serializeAws_restJson1UpdateTableStorageOptimizerCommand = async (i
|
|
|
1093
1077
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
1094
1078
|
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
1095
1079
|
...(input.StorageOptimizerConfig != null && {
|
|
1096
|
-
StorageOptimizerConfig:
|
|
1080
|
+
StorageOptimizerConfig: se_StorageOptimizerConfigMap(input.StorageOptimizerConfig, context),
|
|
1097
1081
|
}),
|
|
1098
1082
|
...(input.TableName != null && { TableName: input.TableName }),
|
|
1099
1083
|
});
|
|
@@ -1107,20 +1091,20 @@ export const serializeAws_restJson1UpdateTableStorageOptimizerCommand = async (i
|
|
|
1107
1091
|
body,
|
|
1108
1092
|
});
|
|
1109
1093
|
};
|
|
1110
|
-
export const
|
|
1094
|
+
export const de_AddLFTagsToResourceCommand = async (output, context) => {
|
|
1111
1095
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1112
|
-
return
|
|
1096
|
+
return de_AddLFTagsToResourceCommandError(output, context);
|
|
1113
1097
|
}
|
|
1114
1098
|
const contents = map({
|
|
1115
1099
|
$metadata: deserializeMetadata(output),
|
|
1116
1100
|
});
|
|
1117
1101
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1118
1102
|
if (data.Failures != null) {
|
|
1119
|
-
contents.Failures =
|
|
1103
|
+
contents.Failures = de_LFTagErrors(data.Failures, context);
|
|
1120
1104
|
}
|
|
1121
1105
|
return contents;
|
|
1122
1106
|
};
|
|
1123
|
-
const
|
|
1107
|
+
const de_AddLFTagsToResourceCommandError = async (output, context) => {
|
|
1124
1108
|
const parsedOutput = {
|
|
1125
1109
|
...output,
|
|
1126
1110
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1129,22 +1113,22 @@ const deserializeAws_restJson1AddLFTagsToResourceCommandError = async (output, c
|
|
|
1129
1113
|
switch (errorCode) {
|
|
1130
1114
|
case "AccessDeniedException":
|
|
1131
1115
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
1132
|
-
throw await
|
|
1116
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1133
1117
|
case "ConcurrentModificationException":
|
|
1134
1118
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
1135
|
-
throw await
|
|
1119
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1136
1120
|
case "EntityNotFoundException":
|
|
1137
1121
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1138
|
-
throw await
|
|
1122
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1139
1123
|
case "InternalServiceException":
|
|
1140
1124
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1141
|
-
throw await
|
|
1125
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1142
1126
|
case "InvalidInputException":
|
|
1143
1127
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1144
|
-
throw await
|
|
1128
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1145
1129
|
case "OperationTimeoutException":
|
|
1146
1130
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1147
|
-
throw await
|
|
1131
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1148
1132
|
default:
|
|
1149
1133
|
const parsedBody = parsedOutput.body;
|
|
1150
1134
|
throwDefaultError({
|
|
@@ -1155,9 +1139,9 @@ const deserializeAws_restJson1AddLFTagsToResourceCommandError = async (output, c
|
|
|
1155
1139
|
});
|
|
1156
1140
|
}
|
|
1157
1141
|
};
|
|
1158
|
-
export const
|
|
1142
|
+
export const de_AssumeDecoratedRoleWithSAMLCommand = async (output, context) => {
|
|
1159
1143
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1160
|
-
return
|
|
1144
|
+
return de_AssumeDecoratedRoleWithSAMLCommandError(output, context);
|
|
1161
1145
|
}
|
|
1162
1146
|
const contents = map({
|
|
1163
1147
|
$metadata: deserializeMetadata(output),
|
|
@@ -1177,7 +1161,7 @@ export const deserializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand = async
|
|
|
1177
1161
|
}
|
|
1178
1162
|
return contents;
|
|
1179
1163
|
};
|
|
1180
|
-
const
|
|
1164
|
+
const de_AssumeDecoratedRoleWithSAMLCommandError = async (output, context) => {
|
|
1181
1165
|
const parsedOutput = {
|
|
1182
1166
|
...output,
|
|
1183
1167
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1186,19 +1170,19 @@ const deserializeAws_restJson1AssumeDecoratedRoleWithSAMLCommandError = async (o
|
|
|
1186
1170
|
switch (errorCode) {
|
|
1187
1171
|
case "AccessDeniedException":
|
|
1188
1172
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
1189
|
-
throw await
|
|
1173
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1190
1174
|
case "EntityNotFoundException":
|
|
1191
1175
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1192
|
-
throw await
|
|
1176
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1193
1177
|
case "InternalServiceException":
|
|
1194
1178
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1195
|
-
throw await
|
|
1179
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1196
1180
|
case "InvalidInputException":
|
|
1197
1181
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1198
|
-
throw await
|
|
1182
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1199
1183
|
case "OperationTimeoutException":
|
|
1200
1184
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1201
|
-
throw await
|
|
1185
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1202
1186
|
default:
|
|
1203
1187
|
const parsedBody = parsedOutput.body;
|
|
1204
1188
|
throwDefaultError({
|
|
@@ -1209,20 +1193,20 @@ const deserializeAws_restJson1AssumeDecoratedRoleWithSAMLCommandError = async (o
|
|
|
1209
1193
|
});
|
|
1210
1194
|
}
|
|
1211
1195
|
};
|
|
1212
|
-
export const
|
|
1196
|
+
export const de_BatchGrantPermissionsCommand = async (output, context) => {
|
|
1213
1197
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1214
|
-
return
|
|
1198
|
+
return de_BatchGrantPermissionsCommandError(output, context);
|
|
1215
1199
|
}
|
|
1216
1200
|
const contents = map({
|
|
1217
1201
|
$metadata: deserializeMetadata(output),
|
|
1218
1202
|
});
|
|
1219
1203
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1220
1204
|
if (data.Failures != null) {
|
|
1221
|
-
contents.Failures =
|
|
1205
|
+
contents.Failures = de_BatchPermissionsFailureList(data.Failures, context);
|
|
1222
1206
|
}
|
|
1223
1207
|
return contents;
|
|
1224
1208
|
};
|
|
1225
|
-
const
|
|
1209
|
+
const de_BatchGrantPermissionsCommandError = async (output, context) => {
|
|
1226
1210
|
const parsedOutput = {
|
|
1227
1211
|
...output,
|
|
1228
1212
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1231,10 +1215,10 @@ const deserializeAws_restJson1BatchGrantPermissionsCommandError = async (output,
|
|
|
1231
1215
|
switch (errorCode) {
|
|
1232
1216
|
case "InvalidInputException":
|
|
1233
1217
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1234
|
-
throw await
|
|
1218
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1235
1219
|
case "OperationTimeoutException":
|
|
1236
1220
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1237
|
-
throw await
|
|
1221
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1238
1222
|
default:
|
|
1239
1223
|
const parsedBody = parsedOutput.body;
|
|
1240
1224
|
throwDefaultError({
|
|
@@ -1245,20 +1229,20 @@ const deserializeAws_restJson1BatchGrantPermissionsCommandError = async (output,
|
|
|
1245
1229
|
});
|
|
1246
1230
|
}
|
|
1247
1231
|
};
|
|
1248
|
-
export const
|
|
1232
|
+
export const de_BatchRevokePermissionsCommand = async (output, context) => {
|
|
1249
1233
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1250
|
-
return
|
|
1234
|
+
return de_BatchRevokePermissionsCommandError(output, context);
|
|
1251
1235
|
}
|
|
1252
1236
|
const contents = map({
|
|
1253
1237
|
$metadata: deserializeMetadata(output),
|
|
1254
1238
|
});
|
|
1255
1239
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1256
1240
|
if (data.Failures != null) {
|
|
1257
|
-
contents.Failures =
|
|
1241
|
+
contents.Failures = de_BatchPermissionsFailureList(data.Failures, context);
|
|
1258
1242
|
}
|
|
1259
1243
|
return contents;
|
|
1260
1244
|
};
|
|
1261
|
-
const
|
|
1245
|
+
const de_BatchRevokePermissionsCommandError = async (output, context) => {
|
|
1262
1246
|
const parsedOutput = {
|
|
1263
1247
|
...output,
|
|
1264
1248
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1267,10 +1251,10 @@ const deserializeAws_restJson1BatchRevokePermissionsCommandError = async (output
|
|
|
1267
1251
|
switch (errorCode) {
|
|
1268
1252
|
case "InvalidInputException":
|
|
1269
1253
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1270
|
-
throw await
|
|
1254
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1271
1255
|
case "OperationTimeoutException":
|
|
1272
1256
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1273
|
-
throw await
|
|
1257
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1274
1258
|
default:
|
|
1275
1259
|
const parsedBody = parsedOutput.body;
|
|
1276
1260
|
throwDefaultError({
|
|
@@ -1281,9 +1265,9 @@ const deserializeAws_restJson1BatchRevokePermissionsCommandError = async (output
|
|
|
1281
1265
|
});
|
|
1282
1266
|
}
|
|
1283
1267
|
};
|
|
1284
|
-
export const
|
|
1268
|
+
export const de_CancelTransactionCommand = async (output, context) => {
|
|
1285
1269
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1286
|
-
return
|
|
1270
|
+
return de_CancelTransactionCommandError(output, context);
|
|
1287
1271
|
}
|
|
1288
1272
|
const contents = map({
|
|
1289
1273
|
$metadata: deserializeMetadata(output),
|
|
@@ -1291,7 +1275,7 @@ export const deserializeAws_restJson1CancelTransactionCommand = async (output, c
|
|
|
1291
1275
|
await collectBody(output.body, context);
|
|
1292
1276
|
return contents;
|
|
1293
1277
|
};
|
|
1294
|
-
const
|
|
1278
|
+
const de_CancelTransactionCommandError = async (output, context) => {
|
|
1295
1279
|
const parsedOutput = {
|
|
1296
1280
|
...output,
|
|
1297
1281
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1300,25 +1284,25 @@ const deserializeAws_restJson1CancelTransactionCommandError = async (output, con
|
|
|
1300
1284
|
switch (errorCode) {
|
|
1301
1285
|
case "ConcurrentModificationException":
|
|
1302
1286
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
1303
|
-
throw await
|
|
1287
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1304
1288
|
case "EntityNotFoundException":
|
|
1305
1289
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1306
|
-
throw await
|
|
1290
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1307
1291
|
case "InternalServiceException":
|
|
1308
1292
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1309
|
-
throw await
|
|
1293
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1310
1294
|
case "InvalidInputException":
|
|
1311
1295
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1312
|
-
throw await
|
|
1296
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1313
1297
|
case "OperationTimeoutException":
|
|
1314
1298
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1315
|
-
throw await
|
|
1299
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1316
1300
|
case "TransactionCommitInProgressException":
|
|
1317
1301
|
case "com.amazonaws.lakeformation#TransactionCommitInProgressException":
|
|
1318
|
-
throw await
|
|
1302
|
+
throw await de_TransactionCommitInProgressExceptionRes(parsedOutput, context);
|
|
1319
1303
|
case "TransactionCommittedException":
|
|
1320
1304
|
case "com.amazonaws.lakeformation#TransactionCommittedException":
|
|
1321
|
-
throw await
|
|
1305
|
+
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
1322
1306
|
default:
|
|
1323
1307
|
const parsedBody = parsedOutput.body;
|
|
1324
1308
|
throwDefaultError({
|
|
@@ -1329,9 +1313,9 @@ const deserializeAws_restJson1CancelTransactionCommandError = async (output, con
|
|
|
1329
1313
|
});
|
|
1330
1314
|
}
|
|
1331
1315
|
};
|
|
1332
|
-
export const
|
|
1316
|
+
export const de_CommitTransactionCommand = async (output, context) => {
|
|
1333
1317
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1334
|
-
return
|
|
1318
|
+
return de_CommitTransactionCommandError(output, context);
|
|
1335
1319
|
}
|
|
1336
1320
|
const contents = map({
|
|
1337
1321
|
$metadata: deserializeMetadata(output),
|
|
@@ -1342,7 +1326,7 @@ export const deserializeAws_restJson1CommitTransactionCommand = async (output, c
|
|
|
1342
1326
|
}
|
|
1343
1327
|
return contents;
|
|
1344
1328
|
};
|
|
1345
|
-
const
|
|
1329
|
+
const de_CommitTransactionCommandError = async (output, context) => {
|
|
1346
1330
|
const parsedOutput = {
|
|
1347
1331
|
...output,
|
|
1348
1332
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1351,22 +1335,22 @@ const deserializeAws_restJson1CommitTransactionCommandError = async (output, con
|
|
|
1351
1335
|
switch (errorCode) {
|
|
1352
1336
|
case "ConcurrentModificationException":
|
|
1353
1337
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
1354
|
-
throw await
|
|
1338
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1355
1339
|
case "EntityNotFoundException":
|
|
1356
1340
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1357
|
-
throw await
|
|
1341
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1358
1342
|
case "InternalServiceException":
|
|
1359
1343
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1360
|
-
throw await
|
|
1344
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1361
1345
|
case "InvalidInputException":
|
|
1362
1346
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1363
|
-
throw await
|
|
1347
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1364
1348
|
case "OperationTimeoutException":
|
|
1365
1349
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1366
|
-
throw await
|
|
1350
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1367
1351
|
case "TransactionCanceledException":
|
|
1368
1352
|
case "com.amazonaws.lakeformation#TransactionCanceledException":
|
|
1369
|
-
throw await
|
|
1353
|
+
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
1370
1354
|
default:
|
|
1371
1355
|
const parsedBody = parsedOutput.body;
|
|
1372
1356
|
throwDefaultError({
|
|
@@ -1377,9 +1361,9 @@ const deserializeAws_restJson1CommitTransactionCommandError = async (output, con
|
|
|
1377
1361
|
});
|
|
1378
1362
|
}
|
|
1379
1363
|
};
|
|
1380
|
-
export const
|
|
1364
|
+
export const de_CreateDataCellsFilterCommand = async (output, context) => {
|
|
1381
1365
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1382
|
-
return
|
|
1366
|
+
return de_CreateDataCellsFilterCommandError(output, context);
|
|
1383
1367
|
}
|
|
1384
1368
|
const contents = map({
|
|
1385
1369
|
$metadata: deserializeMetadata(output),
|
|
@@ -1387,7 +1371,7 @@ export const deserializeAws_restJson1CreateDataCellsFilterCommand = async (outpu
|
|
|
1387
1371
|
await collectBody(output.body, context);
|
|
1388
1372
|
return contents;
|
|
1389
1373
|
};
|
|
1390
|
-
const
|
|
1374
|
+
const de_CreateDataCellsFilterCommandError = async (output, context) => {
|
|
1391
1375
|
const parsedOutput = {
|
|
1392
1376
|
...output,
|
|
1393
1377
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1396,25 +1380,25 @@ const deserializeAws_restJson1CreateDataCellsFilterCommandError = async (output,
|
|
|
1396
1380
|
switch (errorCode) {
|
|
1397
1381
|
case "AccessDeniedException":
|
|
1398
1382
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
1399
|
-
throw await
|
|
1383
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1400
1384
|
case "AlreadyExistsException":
|
|
1401
1385
|
case "com.amazonaws.lakeformation#AlreadyExistsException":
|
|
1402
|
-
throw await
|
|
1386
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
1403
1387
|
case "EntityNotFoundException":
|
|
1404
1388
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1405
|
-
throw await
|
|
1389
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1406
1390
|
case "InternalServiceException":
|
|
1407
1391
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1408
|
-
throw await
|
|
1392
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1409
1393
|
case "InvalidInputException":
|
|
1410
1394
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1411
|
-
throw await
|
|
1395
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1412
1396
|
case "OperationTimeoutException":
|
|
1413
1397
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1414
|
-
throw await
|
|
1398
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1415
1399
|
case "ResourceNumberLimitExceededException":
|
|
1416
1400
|
case "com.amazonaws.lakeformation#ResourceNumberLimitExceededException":
|
|
1417
|
-
throw await
|
|
1401
|
+
throw await de_ResourceNumberLimitExceededExceptionRes(parsedOutput, context);
|
|
1418
1402
|
default:
|
|
1419
1403
|
const parsedBody = parsedOutput.body;
|
|
1420
1404
|
throwDefaultError({
|
|
@@ -1425,9 +1409,9 @@ const deserializeAws_restJson1CreateDataCellsFilterCommandError = async (output,
|
|
|
1425
1409
|
});
|
|
1426
1410
|
}
|
|
1427
1411
|
};
|
|
1428
|
-
export const
|
|
1412
|
+
export const de_CreateLFTagCommand = async (output, context) => {
|
|
1429
1413
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1430
|
-
return
|
|
1414
|
+
return de_CreateLFTagCommandError(output, context);
|
|
1431
1415
|
}
|
|
1432
1416
|
const contents = map({
|
|
1433
1417
|
$metadata: deserializeMetadata(output),
|
|
@@ -1435,7 +1419,7 @@ export const deserializeAws_restJson1CreateLFTagCommand = async (output, context
|
|
|
1435
1419
|
await collectBody(output.body, context);
|
|
1436
1420
|
return contents;
|
|
1437
1421
|
};
|
|
1438
|
-
const
|
|
1422
|
+
const de_CreateLFTagCommandError = async (output, context) => {
|
|
1439
1423
|
const parsedOutput = {
|
|
1440
1424
|
...output,
|
|
1441
1425
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1444,22 +1428,22 @@ const deserializeAws_restJson1CreateLFTagCommandError = async (output, context)
|
|
|
1444
1428
|
switch (errorCode) {
|
|
1445
1429
|
case "AccessDeniedException":
|
|
1446
1430
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
1447
|
-
throw await
|
|
1431
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1448
1432
|
case "EntityNotFoundException":
|
|
1449
1433
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1450
|
-
throw await
|
|
1434
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1451
1435
|
case "InternalServiceException":
|
|
1452
1436
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1453
|
-
throw await
|
|
1437
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1454
1438
|
case "InvalidInputException":
|
|
1455
1439
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1456
|
-
throw await
|
|
1440
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1457
1441
|
case "OperationTimeoutException":
|
|
1458
1442
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1459
|
-
throw await
|
|
1443
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1460
1444
|
case "ResourceNumberLimitExceededException":
|
|
1461
1445
|
case "com.amazonaws.lakeformation#ResourceNumberLimitExceededException":
|
|
1462
|
-
throw await
|
|
1446
|
+
throw await de_ResourceNumberLimitExceededExceptionRes(parsedOutput, context);
|
|
1463
1447
|
default:
|
|
1464
1448
|
const parsedBody = parsedOutput.body;
|
|
1465
1449
|
throwDefaultError({
|
|
@@ -1470,9 +1454,9 @@ const deserializeAws_restJson1CreateLFTagCommandError = async (output, context)
|
|
|
1470
1454
|
});
|
|
1471
1455
|
}
|
|
1472
1456
|
};
|
|
1473
|
-
export const
|
|
1457
|
+
export const de_DeleteDataCellsFilterCommand = async (output, context) => {
|
|
1474
1458
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1475
|
-
return
|
|
1459
|
+
return de_DeleteDataCellsFilterCommandError(output, context);
|
|
1476
1460
|
}
|
|
1477
1461
|
const contents = map({
|
|
1478
1462
|
$metadata: deserializeMetadata(output),
|
|
@@ -1480,7 +1464,7 @@ export const deserializeAws_restJson1DeleteDataCellsFilterCommand = async (outpu
|
|
|
1480
1464
|
await collectBody(output.body, context);
|
|
1481
1465
|
return contents;
|
|
1482
1466
|
};
|
|
1483
|
-
const
|
|
1467
|
+
const de_DeleteDataCellsFilterCommandError = async (output, context) => {
|
|
1484
1468
|
const parsedOutput = {
|
|
1485
1469
|
...output,
|
|
1486
1470
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1489,19 +1473,19 @@ const deserializeAws_restJson1DeleteDataCellsFilterCommandError = async (output,
|
|
|
1489
1473
|
switch (errorCode) {
|
|
1490
1474
|
case "AccessDeniedException":
|
|
1491
1475
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
1492
|
-
throw await
|
|
1476
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1493
1477
|
case "EntityNotFoundException":
|
|
1494
1478
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1495
|
-
throw await
|
|
1479
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1496
1480
|
case "InternalServiceException":
|
|
1497
1481
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1498
|
-
throw await
|
|
1482
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1499
1483
|
case "InvalidInputException":
|
|
1500
1484
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1501
|
-
throw await
|
|
1485
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1502
1486
|
case "OperationTimeoutException":
|
|
1503
1487
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1504
|
-
throw await
|
|
1488
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1505
1489
|
default:
|
|
1506
1490
|
const parsedBody = parsedOutput.body;
|
|
1507
1491
|
throwDefaultError({
|
|
@@ -1512,9 +1496,9 @@ const deserializeAws_restJson1DeleteDataCellsFilterCommandError = async (output,
|
|
|
1512
1496
|
});
|
|
1513
1497
|
}
|
|
1514
1498
|
};
|
|
1515
|
-
export const
|
|
1499
|
+
export const de_DeleteLFTagCommand = async (output, context) => {
|
|
1516
1500
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1517
|
-
return
|
|
1501
|
+
return de_DeleteLFTagCommandError(output, context);
|
|
1518
1502
|
}
|
|
1519
1503
|
const contents = map({
|
|
1520
1504
|
$metadata: deserializeMetadata(output),
|
|
@@ -1522,7 +1506,7 @@ export const deserializeAws_restJson1DeleteLFTagCommand = async (output, context
|
|
|
1522
1506
|
await collectBody(output.body, context);
|
|
1523
1507
|
return contents;
|
|
1524
1508
|
};
|
|
1525
|
-
const
|
|
1509
|
+
const de_DeleteLFTagCommandError = async (output, context) => {
|
|
1526
1510
|
const parsedOutput = {
|
|
1527
1511
|
...output,
|
|
1528
1512
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1531,19 +1515,19 @@ const deserializeAws_restJson1DeleteLFTagCommandError = async (output, context)
|
|
|
1531
1515
|
switch (errorCode) {
|
|
1532
1516
|
case "AccessDeniedException":
|
|
1533
1517
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
1534
|
-
throw await
|
|
1518
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1535
1519
|
case "EntityNotFoundException":
|
|
1536
1520
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1537
|
-
throw await
|
|
1521
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1538
1522
|
case "InternalServiceException":
|
|
1539
1523
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1540
|
-
throw await
|
|
1524
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1541
1525
|
case "InvalidInputException":
|
|
1542
1526
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1543
|
-
throw await
|
|
1527
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1544
1528
|
case "OperationTimeoutException":
|
|
1545
1529
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1546
|
-
throw await
|
|
1530
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1547
1531
|
default:
|
|
1548
1532
|
const parsedBody = parsedOutput.body;
|
|
1549
1533
|
throwDefaultError({
|
|
@@ -1554,9 +1538,9 @@ const deserializeAws_restJson1DeleteLFTagCommandError = async (output, context)
|
|
|
1554
1538
|
});
|
|
1555
1539
|
}
|
|
1556
1540
|
};
|
|
1557
|
-
export const
|
|
1541
|
+
export const de_DeleteObjectsOnCancelCommand = async (output, context) => {
|
|
1558
1542
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1559
|
-
return
|
|
1543
|
+
return de_DeleteObjectsOnCancelCommandError(output, context);
|
|
1560
1544
|
}
|
|
1561
1545
|
const contents = map({
|
|
1562
1546
|
$metadata: deserializeMetadata(output),
|
|
@@ -1564,7 +1548,7 @@ export const deserializeAws_restJson1DeleteObjectsOnCancelCommand = async (outpu
|
|
|
1564
1548
|
await collectBody(output.body, context);
|
|
1565
1549
|
return contents;
|
|
1566
1550
|
};
|
|
1567
|
-
const
|
|
1551
|
+
const de_DeleteObjectsOnCancelCommandError = async (output, context) => {
|
|
1568
1552
|
const parsedOutput = {
|
|
1569
1553
|
...output,
|
|
1570
1554
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1573,28 +1557,28 @@ const deserializeAws_restJson1DeleteObjectsOnCancelCommandError = async (output,
|
|
|
1573
1557
|
switch (errorCode) {
|
|
1574
1558
|
case "ConcurrentModificationException":
|
|
1575
1559
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
1576
|
-
throw await
|
|
1560
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1577
1561
|
case "EntityNotFoundException":
|
|
1578
1562
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1579
|
-
throw await
|
|
1563
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1580
1564
|
case "InternalServiceException":
|
|
1581
1565
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1582
|
-
throw await
|
|
1566
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1583
1567
|
case "InvalidInputException":
|
|
1584
1568
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1585
|
-
throw await
|
|
1569
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1586
1570
|
case "OperationTimeoutException":
|
|
1587
1571
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1588
|
-
throw await
|
|
1572
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1589
1573
|
case "ResourceNotReadyException":
|
|
1590
1574
|
case "com.amazonaws.lakeformation#ResourceNotReadyException":
|
|
1591
|
-
throw await
|
|
1575
|
+
throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
|
|
1592
1576
|
case "TransactionCanceledException":
|
|
1593
1577
|
case "com.amazonaws.lakeformation#TransactionCanceledException":
|
|
1594
|
-
throw await
|
|
1578
|
+
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
1595
1579
|
case "TransactionCommittedException":
|
|
1596
1580
|
case "com.amazonaws.lakeformation#TransactionCommittedException":
|
|
1597
|
-
throw await
|
|
1581
|
+
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
1598
1582
|
default:
|
|
1599
1583
|
const parsedBody = parsedOutput.body;
|
|
1600
1584
|
throwDefaultError({
|
|
@@ -1605,9 +1589,9 @@ const deserializeAws_restJson1DeleteObjectsOnCancelCommandError = async (output,
|
|
|
1605
1589
|
});
|
|
1606
1590
|
}
|
|
1607
1591
|
};
|
|
1608
|
-
export const
|
|
1592
|
+
export const de_DeregisterResourceCommand = async (output, context) => {
|
|
1609
1593
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1610
|
-
return
|
|
1594
|
+
return de_DeregisterResourceCommandError(output, context);
|
|
1611
1595
|
}
|
|
1612
1596
|
const contents = map({
|
|
1613
1597
|
$metadata: deserializeMetadata(output),
|
|
@@ -1615,7 +1599,7 @@ export const deserializeAws_restJson1DeregisterResourceCommand = async (output,
|
|
|
1615
1599
|
await collectBody(output.body, context);
|
|
1616
1600
|
return contents;
|
|
1617
1601
|
};
|
|
1618
|
-
const
|
|
1602
|
+
const de_DeregisterResourceCommandError = async (output, context) => {
|
|
1619
1603
|
const parsedOutput = {
|
|
1620
1604
|
...output,
|
|
1621
1605
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1624,16 +1608,16 @@ const deserializeAws_restJson1DeregisterResourceCommandError = async (output, co
|
|
|
1624
1608
|
switch (errorCode) {
|
|
1625
1609
|
case "EntityNotFoundException":
|
|
1626
1610
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1627
|
-
throw await
|
|
1611
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1628
1612
|
case "InternalServiceException":
|
|
1629
1613
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1630
|
-
throw await
|
|
1614
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1631
1615
|
case "InvalidInputException":
|
|
1632
1616
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1633
|
-
throw await
|
|
1617
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1634
1618
|
case "OperationTimeoutException":
|
|
1635
1619
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1636
|
-
throw await
|
|
1620
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1637
1621
|
default:
|
|
1638
1622
|
const parsedBody = parsedOutput.body;
|
|
1639
1623
|
throwDefaultError({
|
|
@@ -1644,20 +1628,20 @@ const deserializeAws_restJson1DeregisterResourceCommandError = async (output, co
|
|
|
1644
1628
|
});
|
|
1645
1629
|
}
|
|
1646
1630
|
};
|
|
1647
|
-
export const
|
|
1631
|
+
export const de_DescribeResourceCommand = async (output, context) => {
|
|
1648
1632
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1649
|
-
return
|
|
1633
|
+
return de_DescribeResourceCommandError(output, context);
|
|
1650
1634
|
}
|
|
1651
1635
|
const contents = map({
|
|
1652
1636
|
$metadata: deserializeMetadata(output),
|
|
1653
1637
|
});
|
|
1654
1638
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1655
1639
|
if (data.ResourceInfo != null) {
|
|
1656
|
-
contents.ResourceInfo =
|
|
1640
|
+
contents.ResourceInfo = de_ResourceInfo(data.ResourceInfo, context);
|
|
1657
1641
|
}
|
|
1658
1642
|
return contents;
|
|
1659
1643
|
};
|
|
1660
|
-
const
|
|
1644
|
+
const de_DescribeResourceCommandError = async (output, context) => {
|
|
1661
1645
|
const parsedOutput = {
|
|
1662
1646
|
...output,
|
|
1663
1647
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1666,16 +1650,16 @@ const deserializeAws_restJson1DescribeResourceCommandError = async (output, cont
|
|
|
1666
1650
|
switch (errorCode) {
|
|
1667
1651
|
case "EntityNotFoundException":
|
|
1668
1652
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1669
|
-
throw await
|
|
1653
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1670
1654
|
case "InternalServiceException":
|
|
1671
1655
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1672
|
-
throw await
|
|
1656
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1673
1657
|
case "InvalidInputException":
|
|
1674
1658
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1675
|
-
throw await
|
|
1659
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1676
1660
|
case "OperationTimeoutException":
|
|
1677
1661
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1678
|
-
throw await
|
|
1662
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1679
1663
|
default:
|
|
1680
1664
|
const parsedBody = parsedOutput.body;
|
|
1681
1665
|
throwDefaultError({
|
|
@@ -1686,20 +1670,20 @@ const deserializeAws_restJson1DescribeResourceCommandError = async (output, cont
|
|
|
1686
1670
|
});
|
|
1687
1671
|
}
|
|
1688
1672
|
};
|
|
1689
|
-
export const
|
|
1673
|
+
export const de_DescribeTransactionCommand = async (output, context) => {
|
|
1690
1674
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1691
|
-
return
|
|
1675
|
+
return de_DescribeTransactionCommandError(output, context);
|
|
1692
1676
|
}
|
|
1693
1677
|
const contents = map({
|
|
1694
1678
|
$metadata: deserializeMetadata(output),
|
|
1695
1679
|
});
|
|
1696
1680
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1697
1681
|
if (data.TransactionDescription != null) {
|
|
1698
|
-
contents.TransactionDescription =
|
|
1682
|
+
contents.TransactionDescription = de_TransactionDescription(data.TransactionDescription, context);
|
|
1699
1683
|
}
|
|
1700
1684
|
return contents;
|
|
1701
1685
|
};
|
|
1702
|
-
const
|
|
1686
|
+
const de_DescribeTransactionCommandError = async (output, context) => {
|
|
1703
1687
|
const parsedOutput = {
|
|
1704
1688
|
...output,
|
|
1705
1689
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1708,16 +1692,16 @@ const deserializeAws_restJson1DescribeTransactionCommandError = async (output, c
|
|
|
1708
1692
|
switch (errorCode) {
|
|
1709
1693
|
case "EntityNotFoundException":
|
|
1710
1694
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1711
|
-
throw await
|
|
1695
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1712
1696
|
case "InternalServiceException":
|
|
1713
1697
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1714
|
-
throw await
|
|
1698
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1715
1699
|
case "InvalidInputException":
|
|
1716
1700
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1717
|
-
throw await
|
|
1701
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1718
1702
|
case "OperationTimeoutException":
|
|
1719
1703
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1720
|
-
throw await
|
|
1704
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1721
1705
|
default:
|
|
1722
1706
|
const parsedBody = parsedOutput.body;
|
|
1723
1707
|
throwDefaultError({
|
|
@@ -1728,9 +1712,9 @@ const deserializeAws_restJson1DescribeTransactionCommandError = async (output, c
|
|
|
1728
1712
|
});
|
|
1729
1713
|
}
|
|
1730
1714
|
};
|
|
1731
|
-
export const
|
|
1715
|
+
export const de_ExtendTransactionCommand = async (output, context) => {
|
|
1732
1716
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1733
|
-
return
|
|
1717
|
+
return de_ExtendTransactionCommandError(output, context);
|
|
1734
1718
|
}
|
|
1735
1719
|
const contents = map({
|
|
1736
1720
|
$metadata: deserializeMetadata(output),
|
|
@@ -1738,7 +1722,7 @@ export const deserializeAws_restJson1ExtendTransactionCommand = async (output, c
|
|
|
1738
1722
|
await collectBody(output.body, context);
|
|
1739
1723
|
return contents;
|
|
1740
1724
|
};
|
|
1741
|
-
const
|
|
1725
|
+
const de_ExtendTransactionCommandError = async (output, context) => {
|
|
1742
1726
|
const parsedOutput = {
|
|
1743
1727
|
...output,
|
|
1744
1728
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1747,25 +1731,25 @@ const deserializeAws_restJson1ExtendTransactionCommandError = async (output, con
|
|
|
1747
1731
|
switch (errorCode) {
|
|
1748
1732
|
case "EntityNotFoundException":
|
|
1749
1733
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1750
|
-
throw await
|
|
1734
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1751
1735
|
case "InternalServiceException":
|
|
1752
1736
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1753
|
-
throw await
|
|
1737
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1754
1738
|
case "InvalidInputException":
|
|
1755
1739
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1756
|
-
throw await
|
|
1740
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1757
1741
|
case "OperationTimeoutException":
|
|
1758
1742
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1759
|
-
throw await
|
|
1743
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1760
1744
|
case "TransactionCanceledException":
|
|
1761
1745
|
case "com.amazonaws.lakeformation#TransactionCanceledException":
|
|
1762
|
-
throw await
|
|
1746
|
+
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
1763
1747
|
case "TransactionCommitInProgressException":
|
|
1764
1748
|
case "com.amazonaws.lakeformation#TransactionCommitInProgressException":
|
|
1765
|
-
throw await
|
|
1749
|
+
throw await de_TransactionCommitInProgressExceptionRes(parsedOutput, context);
|
|
1766
1750
|
case "TransactionCommittedException":
|
|
1767
1751
|
case "com.amazonaws.lakeformation#TransactionCommittedException":
|
|
1768
|
-
throw await
|
|
1752
|
+
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
1769
1753
|
default:
|
|
1770
1754
|
const parsedBody = parsedOutput.body;
|
|
1771
1755
|
throwDefaultError({
|
|
@@ -1776,20 +1760,20 @@ const deserializeAws_restJson1ExtendTransactionCommandError = async (output, con
|
|
|
1776
1760
|
});
|
|
1777
1761
|
}
|
|
1778
1762
|
};
|
|
1779
|
-
export const
|
|
1763
|
+
export const de_GetDataCellsFilterCommand = async (output, context) => {
|
|
1780
1764
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1781
|
-
return
|
|
1765
|
+
return de_GetDataCellsFilterCommandError(output, context);
|
|
1782
1766
|
}
|
|
1783
1767
|
const contents = map({
|
|
1784
1768
|
$metadata: deserializeMetadata(output),
|
|
1785
1769
|
});
|
|
1786
1770
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1787
1771
|
if (data.DataCellsFilter != null) {
|
|
1788
|
-
contents.DataCellsFilter =
|
|
1772
|
+
contents.DataCellsFilter = de_DataCellsFilter(data.DataCellsFilter, context);
|
|
1789
1773
|
}
|
|
1790
1774
|
return contents;
|
|
1791
1775
|
};
|
|
1792
|
-
const
|
|
1776
|
+
const de_GetDataCellsFilterCommandError = async (output, context) => {
|
|
1793
1777
|
const parsedOutput = {
|
|
1794
1778
|
...output,
|
|
1795
1779
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1798,19 +1782,19 @@ const deserializeAws_restJson1GetDataCellsFilterCommandError = async (output, co
|
|
|
1798
1782
|
switch (errorCode) {
|
|
1799
1783
|
case "AccessDeniedException":
|
|
1800
1784
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
1801
|
-
throw await
|
|
1785
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1802
1786
|
case "EntityNotFoundException":
|
|
1803
1787
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1804
|
-
throw await
|
|
1788
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1805
1789
|
case "InternalServiceException":
|
|
1806
1790
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1807
|
-
throw await
|
|
1791
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1808
1792
|
case "InvalidInputException":
|
|
1809
1793
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1810
|
-
throw await
|
|
1794
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1811
1795
|
case "OperationTimeoutException":
|
|
1812
1796
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1813
|
-
throw await
|
|
1797
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1814
1798
|
default:
|
|
1815
1799
|
const parsedBody = parsedOutput.body;
|
|
1816
1800
|
throwDefaultError({
|
|
@@ -1821,20 +1805,20 @@ const deserializeAws_restJson1GetDataCellsFilterCommandError = async (output, co
|
|
|
1821
1805
|
});
|
|
1822
1806
|
}
|
|
1823
1807
|
};
|
|
1824
|
-
export const
|
|
1808
|
+
export const de_GetDataLakeSettingsCommand = async (output, context) => {
|
|
1825
1809
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1826
|
-
return
|
|
1810
|
+
return de_GetDataLakeSettingsCommandError(output, context);
|
|
1827
1811
|
}
|
|
1828
1812
|
const contents = map({
|
|
1829
1813
|
$metadata: deserializeMetadata(output),
|
|
1830
1814
|
});
|
|
1831
1815
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1832
1816
|
if (data.DataLakeSettings != null) {
|
|
1833
|
-
contents.DataLakeSettings =
|
|
1817
|
+
contents.DataLakeSettings = de_DataLakeSettings(data.DataLakeSettings, context);
|
|
1834
1818
|
}
|
|
1835
1819
|
return contents;
|
|
1836
1820
|
};
|
|
1837
|
-
const
|
|
1821
|
+
const de_GetDataLakeSettingsCommandError = async (output, context) => {
|
|
1838
1822
|
const parsedOutput = {
|
|
1839
1823
|
...output,
|
|
1840
1824
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1843,13 +1827,13 @@ const deserializeAws_restJson1GetDataLakeSettingsCommandError = async (output, c
|
|
|
1843
1827
|
switch (errorCode) {
|
|
1844
1828
|
case "EntityNotFoundException":
|
|
1845
1829
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1846
|
-
throw await
|
|
1830
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1847
1831
|
case "InternalServiceException":
|
|
1848
1832
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1849
|
-
throw await
|
|
1833
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1850
1834
|
case "InvalidInputException":
|
|
1851
1835
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1852
|
-
throw await
|
|
1836
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1853
1837
|
default:
|
|
1854
1838
|
const parsedBody = parsedOutput.body;
|
|
1855
1839
|
throwDefaultError({
|
|
@@ -1860,9 +1844,9 @@ const deserializeAws_restJson1GetDataLakeSettingsCommandError = async (output, c
|
|
|
1860
1844
|
});
|
|
1861
1845
|
}
|
|
1862
1846
|
};
|
|
1863
|
-
export const
|
|
1847
|
+
export const de_GetEffectivePermissionsForPathCommand = async (output, context) => {
|
|
1864
1848
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1865
|
-
return
|
|
1849
|
+
return de_GetEffectivePermissionsForPathCommandError(output, context);
|
|
1866
1850
|
}
|
|
1867
1851
|
const contents = map({
|
|
1868
1852
|
$metadata: deserializeMetadata(output),
|
|
@@ -1872,11 +1856,11 @@ export const deserializeAws_restJson1GetEffectivePermissionsForPathCommand = asy
|
|
|
1872
1856
|
contents.NextToken = __expectString(data.NextToken);
|
|
1873
1857
|
}
|
|
1874
1858
|
if (data.Permissions != null) {
|
|
1875
|
-
contents.Permissions =
|
|
1859
|
+
contents.Permissions = de_PrincipalResourcePermissionsList(data.Permissions, context);
|
|
1876
1860
|
}
|
|
1877
1861
|
return contents;
|
|
1878
1862
|
};
|
|
1879
|
-
const
|
|
1863
|
+
const de_GetEffectivePermissionsForPathCommandError = async (output, context) => {
|
|
1880
1864
|
const parsedOutput = {
|
|
1881
1865
|
...output,
|
|
1882
1866
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1885,16 +1869,16 @@ const deserializeAws_restJson1GetEffectivePermissionsForPathCommandError = async
|
|
|
1885
1869
|
switch (errorCode) {
|
|
1886
1870
|
case "EntityNotFoundException":
|
|
1887
1871
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1888
|
-
throw await
|
|
1872
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1889
1873
|
case "InternalServiceException":
|
|
1890
1874
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1891
|
-
throw await
|
|
1875
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1892
1876
|
case "InvalidInputException":
|
|
1893
1877
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1894
|
-
throw await
|
|
1878
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1895
1879
|
case "OperationTimeoutException":
|
|
1896
1880
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1897
|
-
throw await
|
|
1881
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1898
1882
|
default:
|
|
1899
1883
|
const parsedBody = parsedOutput.body;
|
|
1900
1884
|
throwDefaultError({
|
|
@@ -1905,9 +1889,9 @@ const deserializeAws_restJson1GetEffectivePermissionsForPathCommandError = async
|
|
|
1905
1889
|
});
|
|
1906
1890
|
}
|
|
1907
1891
|
};
|
|
1908
|
-
export const
|
|
1892
|
+
export const de_GetLFTagCommand = async (output, context) => {
|
|
1909
1893
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1910
|
-
return
|
|
1894
|
+
return de_GetLFTagCommandError(output, context);
|
|
1911
1895
|
}
|
|
1912
1896
|
const contents = map({
|
|
1913
1897
|
$metadata: deserializeMetadata(output),
|
|
@@ -1920,11 +1904,11 @@ export const deserializeAws_restJson1GetLFTagCommand = async (output, context) =
|
|
|
1920
1904
|
contents.TagKey = __expectString(data.TagKey);
|
|
1921
1905
|
}
|
|
1922
1906
|
if (data.TagValues != null) {
|
|
1923
|
-
contents.TagValues =
|
|
1907
|
+
contents.TagValues = de_TagValueList(data.TagValues, context);
|
|
1924
1908
|
}
|
|
1925
1909
|
return contents;
|
|
1926
1910
|
};
|
|
1927
|
-
const
|
|
1911
|
+
const de_GetLFTagCommandError = async (output, context) => {
|
|
1928
1912
|
const parsedOutput = {
|
|
1929
1913
|
...output,
|
|
1930
1914
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1933,19 +1917,19 @@ const deserializeAws_restJson1GetLFTagCommandError = async (output, context) =>
|
|
|
1933
1917
|
switch (errorCode) {
|
|
1934
1918
|
case "AccessDeniedException":
|
|
1935
1919
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
1936
|
-
throw await
|
|
1920
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1937
1921
|
case "EntityNotFoundException":
|
|
1938
1922
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
1939
|
-
throw await
|
|
1923
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
1940
1924
|
case "InternalServiceException":
|
|
1941
1925
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1942
|
-
throw await
|
|
1926
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1943
1927
|
case "InvalidInputException":
|
|
1944
1928
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1945
|
-
throw await
|
|
1929
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1946
1930
|
case "OperationTimeoutException":
|
|
1947
1931
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
1948
|
-
throw await
|
|
1932
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
1949
1933
|
default:
|
|
1950
1934
|
const parsedBody = parsedOutput.body;
|
|
1951
1935
|
throwDefaultError({
|
|
@@ -1956,9 +1940,9 @@ const deserializeAws_restJson1GetLFTagCommandError = async (output, context) =>
|
|
|
1956
1940
|
});
|
|
1957
1941
|
}
|
|
1958
1942
|
};
|
|
1959
|
-
export const
|
|
1943
|
+
export const de_GetQueryStateCommand = async (output, context) => {
|
|
1960
1944
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1961
|
-
return
|
|
1945
|
+
return de_GetQueryStateCommandError(output, context);
|
|
1962
1946
|
}
|
|
1963
1947
|
const contents = map({
|
|
1964
1948
|
$metadata: deserializeMetadata(output),
|
|
@@ -1972,7 +1956,7 @@ export const deserializeAws_restJson1GetQueryStateCommand = async (output, conte
|
|
|
1972
1956
|
}
|
|
1973
1957
|
return contents;
|
|
1974
1958
|
};
|
|
1975
|
-
const
|
|
1959
|
+
const de_GetQueryStateCommandError = async (output, context) => {
|
|
1976
1960
|
const parsedOutput = {
|
|
1977
1961
|
...output,
|
|
1978
1962
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1981,13 +1965,13 @@ const deserializeAws_restJson1GetQueryStateCommandError = async (output, context
|
|
|
1981
1965
|
switch (errorCode) {
|
|
1982
1966
|
case "AccessDeniedException":
|
|
1983
1967
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
1984
|
-
throw await
|
|
1968
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1985
1969
|
case "InternalServiceException":
|
|
1986
1970
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
1987
|
-
throw await
|
|
1971
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1988
1972
|
case "InvalidInputException":
|
|
1989
1973
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
1990
|
-
throw await
|
|
1974
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1991
1975
|
default:
|
|
1992
1976
|
const parsedBody = parsedOutput.body;
|
|
1993
1977
|
throwDefaultError({
|
|
@@ -1998,26 +1982,26 @@ const deserializeAws_restJson1GetQueryStateCommandError = async (output, context
|
|
|
1998
1982
|
});
|
|
1999
1983
|
}
|
|
2000
1984
|
};
|
|
2001
|
-
export const
|
|
1985
|
+
export const de_GetQueryStatisticsCommand = async (output, context) => {
|
|
2002
1986
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2003
|
-
return
|
|
1987
|
+
return de_GetQueryStatisticsCommandError(output, context);
|
|
2004
1988
|
}
|
|
2005
1989
|
const contents = map({
|
|
2006
1990
|
$metadata: deserializeMetadata(output),
|
|
2007
1991
|
});
|
|
2008
1992
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2009
1993
|
if (data.ExecutionStatistics != null) {
|
|
2010
|
-
contents.ExecutionStatistics =
|
|
1994
|
+
contents.ExecutionStatistics = de_ExecutionStatistics(data.ExecutionStatistics, context);
|
|
2011
1995
|
}
|
|
2012
1996
|
if (data.PlanningStatistics != null) {
|
|
2013
|
-
contents.PlanningStatistics =
|
|
1997
|
+
contents.PlanningStatistics = de_PlanningStatistics(data.PlanningStatistics, context);
|
|
2014
1998
|
}
|
|
2015
1999
|
if (data.QuerySubmissionTime != null) {
|
|
2016
2000
|
contents.QuerySubmissionTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.QuerySubmissionTime));
|
|
2017
2001
|
}
|
|
2018
2002
|
return contents;
|
|
2019
2003
|
};
|
|
2020
|
-
const
|
|
2004
|
+
const de_GetQueryStatisticsCommandError = async (output, context) => {
|
|
2021
2005
|
const parsedOutput = {
|
|
2022
2006
|
...output,
|
|
2023
2007
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2026,22 +2010,22 @@ const deserializeAws_restJson1GetQueryStatisticsCommandError = async (output, co
|
|
|
2026
2010
|
switch (errorCode) {
|
|
2027
2011
|
case "AccessDeniedException":
|
|
2028
2012
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2029
|
-
throw await
|
|
2013
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2030
2014
|
case "ExpiredException":
|
|
2031
2015
|
case "com.amazonaws.lakeformation#ExpiredException":
|
|
2032
|
-
throw await
|
|
2016
|
+
throw await de_ExpiredExceptionRes(parsedOutput, context);
|
|
2033
2017
|
case "InternalServiceException":
|
|
2034
2018
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2035
|
-
throw await
|
|
2019
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2036
2020
|
case "InvalidInputException":
|
|
2037
2021
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2038
|
-
throw await
|
|
2022
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2039
2023
|
case "StatisticsNotReadyYetException":
|
|
2040
2024
|
case "com.amazonaws.lakeformation#StatisticsNotReadyYetException":
|
|
2041
|
-
throw await
|
|
2025
|
+
throw await de_StatisticsNotReadyYetExceptionRes(parsedOutput, context);
|
|
2042
2026
|
case "ThrottledException":
|
|
2043
2027
|
case "com.amazonaws.lakeformation#ThrottledException":
|
|
2044
|
-
throw await
|
|
2028
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
2045
2029
|
default:
|
|
2046
2030
|
const parsedBody = parsedOutput.body;
|
|
2047
2031
|
throwDefaultError({
|
|
@@ -2052,26 +2036,26 @@ const deserializeAws_restJson1GetQueryStatisticsCommandError = async (output, co
|
|
|
2052
2036
|
});
|
|
2053
2037
|
}
|
|
2054
2038
|
};
|
|
2055
|
-
export const
|
|
2039
|
+
export const de_GetResourceLFTagsCommand = async (output, context) => {
|
|
2056
2040
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2057
|
-
return
|
|
2041
|
+
return de_GetResourceLFTagsCommandError(output, context);
|
|
2058
2042
|
}
|
|
2059
2043
|
const contents = map({
|
|
2060
2044
|
$metadata: deserializeMetadata(output),
|
|
2061
2045
|
});
|
|
2062
2046
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2063
2047
|
if (data.LFTagOnDatabase != null) {
|
|
2064
|
-
contents.LFTagOnDatabase =
|
|
2048
|
+
contents.LFTagOnDatabase = de_LFTagsList(data.LFTagOnDatabase, context);
|
|
2065
2049
|
}
|
|
2066
2050
|
if (data.LFTagsOnColumns != null) {
|
|
2067
|
-
contents.LFTagsOnColumns =
|
|
2051
|
+
contents.LFTagsOnColumns = de_ColumnLFTagsList(data.LFTagsOnColumns, context);
|
|
2068
2052
|
}
|
|
2069
2053
|
if (data.LFTagsOnTable != null) {
|
|
2070
|
-
contents.LFTagsOnTable =
|
|
2054
|
+
contents.LFTagsOnTable = de_LFTagsList(data.LFTagsOnTable, context);
|
|
2071
2055
|
}
|
|
2072
2056
|
return contents;
|
|
2073
2057
|
};
|
|
2074
|
-
const
|
|
2058
|
+
const de_GetResourceLFTagsCommandError = async (output, context) => {
|
|
2075
2059
|
const parsedOutput = {
|
|
2076
2060
|
...output,
|
|
2077
2061
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2080,22 +2064,22 @@ const deserializeAws_restJson1GetResourceLFTagsCommandError = async (output, con
|
|
|
2080
2064
|
switch (errorCode) {
|
|
2081
2065
|
case "AccessDeniedException":
|
|
2082
2066
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2083
|
-
throw await
|
|
2067
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2084
2068
|
case "EntityNotFoundException":
|
|
2085
2069
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2086
|
-
throw await
|
|
2070
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2087
2071
|
case "GlueEncryptionException":
|
|
2088
2072
|
case "com.amazonaws.lakeformation#GlueEncryptionException":
|
|
2089
|
-
throw await
|
|
2073
|
+
throw await de_GlueEncryptionExceptionRes(parsedOutput, context);
|
|
2090
2074
|
case "InternalServiceException":
|
|
2091
2075
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2092
|
-
throw await
|
|
2076
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2093
2077
|
case "InvalidInputException":
|
|
2094
2078
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2095
|
-
throw await
|
|
2079
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2096
2080
|
case "OperationTimeoutException":
|
|
2097
2081
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2098
|
-
throw await
|
|
2082
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2099
2083
|
default:
|
|
2100
2084
|
const parsedBody = parsedOutput.body;
|
|
2101
2085
|
throwDefaultError({
|
|
@@ -2106,9 +2090,9 @@ const deserializeAws_restJson1GetResourceLFTagsCommandError = async (output, con
|
|
|
2106
2090
|
});
|
|
2107
2091
|
}
|
|
2108
2092
|
};
|
|
2109
|
-
export const
|
|
2093
|
+
export const de_GetTableObjectsCommand = async (output, context) => {
|
|
2110
2094
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2111
|
-
return
|
|
2095
|
+
return de_GetTableObjectsCommandError(output, context);
|
|
2112
2096
|
}
|
|
2113
2097
|
const contents = map({
|
|
2114
2098
|
$metadata: deserializeMetadata(output),
|
|
@@ -2118,11 +2102,11 @@ export const deserializeAws_restJson1GetTableObjectsCommand = async (output, con
|
|
|
2118
2102
|
contents.NextToken = __expectString(data.NextToken);
|
|
2119
2103
|
}
|
|
2120
2104
|
if (data.Objects != null) {
|
|
2121
|
-
contents.Objects =
|
|
2105
|
+
contents.Objects = de_PartitionedTableObjectsList(data.Objects, context);
|
|
2122
2106
|
}
|
|
2123
2107
|
return contents;
|
|
2124
2108
|
};
|
|
2125
|
-
const
|
|
2109
|
+
const de_GetTableObjectsCommandError = async (output, context) => {
|
|
2126
2110
|
const parsedOutput = {
|
|
2127
2111
|
...output,
|
|
2128
2112
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2131,25 +2115,25 @@ const deserializeAws_restJson1GetTableObjectsCommandError = async (output, conte
|
|
|
2131
2115
|
switch (errorCode) {
|
|
2132
2116
|
case "EntityNotFoundException":
|
|
2133
2117
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2134
|
-
throw await
|
|
2118
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2135
2119
|
case "InternalServiceException":
|
|
2136
2120
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2137
|
-
throw await
|
|
2121
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2138
2122
|
case "InvalidInputException":
|
|
2139
2123
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2140
|
-
throw await
|
|
2124
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2141
2125
|
case "OperationTimeoutException":
|
|
2142
2126
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2143
|
-
throw await
|
|
2127
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2144
2128
|
case "ResourceNotReadyException":
|
|
2145
2129
|
case "com.amazonaws.lakeformation#ResourceNotReadyException":
|
|
2146
|
-
throw await
|
|
2130
|
+
throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
|
|
2147
2131
|
case "TransactionCanceledException":
|
|
2148
2132
|
case "com.amazonaws.lakeformation#TransactionCanceledException":
|
|
2149
|
-
throw await
|
|
2133
|
+
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
2150
2134
|
case "TransactionCommittedException":
|
|
2151
2135
|
case "com.amazonaws.lakeformation#TransactionCommittedException":
|
|
2152
|
-
throw await
|
|
2136
|
+
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
2153
2137
|
default:
|
|
2154
2138
|
const parsedBody = parsedOutput.body;
|
|
2155
2139
|
throwDefaultError({
|
|
@@ -2160,9 +2144,9 @@ const deserializeAws_restJson1GetTableObjectsCommandError = async (output, conte
|
|
|
2160
2144
|
});
|
|
2161
2145
|
}
|
|
2162
2146
|
};
|
|
2163
|
-
export const
|
|
2147
|
+
export const de_GetTemporaryGluePartitionCredentialsCommand = async (output, context) => {
|
|
2164
2148
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2165
|
-
return
|
|
2149
|
+
return de_GetTemporaryGluePartitionCredentialsCommandError(output, context);
|
|
2166
2150
|
}
|
|
2167
2151
|
const contents = map({
|
|
2168
2152
|
$metadata: deserializeMetadata(output),
|
|
@@ -2182,7 +2166,7 @@ export const deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand
|
|
|
2182
2166
|
}
|
|
2183
2167
|
return contents;
|
|
2184
2168
|
};
|
|
2185
|
-
const
|
|
2169
|
+
const de_GetTemporaryGluePartitionCredentialsCommandError = async (output, context) => {
|
|
2186
2170
|
const parsedOutput = {
|
|
2187
2171
|
...output,
|
|
2188
2172
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2191,22 +2175,22 @@ const deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommandError =
|
|
|
2191
2175
|
switch (errorCode) {
|
|
2192
2176
|
case "AccessDeniedException":
|
|
2193
2177
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2194
|
-
throw await
|
|
2178
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2195
2179
|
case "EntityNotFoundException":
|
|
2196
2180
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2197
|
-
throw await
|
|
2181
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2198
2182
|
case "InternalServiceException":
|
|
2199
2183
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2200
|
-
throw await
|
|
2184
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2201
2185
|
case "InvalidInputException":
|
|
2202
2186
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2203
|
-
throw await
|
|
2187
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2204
2188
|
case "OperationTimeoutException":
|
|
2205
2189
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2206
|
-
throw await
|
|
2190
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2207
2191
|
case "PermissionTypeMismatchException":
|
|
2208
2192
|
case "com.amazonaws.lakeformation#PermissionTypeMismatchException":
|
|
2209
|
-
throw await
|
|
2193
|
+
throw await de_PermissionTypeMismatchExceptionRes(parsedOutput, context);
|
|
2210
2194
|
default:
|
|
2211
2195
|
const parsedBody = parsedOutput.body;
|
|
2212
2196
|
throwDefaultError({
|
|
@@ -2217,9 +2201,9 @@ const deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommandError =
|
|
|
2217
2201
|
});
|
|
2218
2202
|
}
|
|
2219
2203
|
};
|
|
2220
|
-
export const
|
|
2204
|
+
export const de_GetTemporaryGlueTableCredentialsCommand = async (output, context) => {
|
|
2221
2205
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2222
|
-
return
|
|
2206
|
+
return de_GetTemporaryGlueTableCredentialsCommandError(output, context);
|
|
2223
2207
|
}
|
|
2224
2208
|
const contents = map({
|
|
2225
2209
|
$metadata: deserializeMetadata(output),
|
|
@@ -2239,7 +2223,7 @@ export const deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommand = a
|
|
|
2239
2223
|
}
|
|
2240
2224
|
return contents;
|
|
2241
2225
|
};
|
|
2242
|
-
const
|
|
2226
|
+
const de_GetTemporaryGlueTableCredentialsCommandError = async (output, context) => {
|
|
2243
2227
|
const parsedOutput = {
|
|
2244
2228
|
...output,
|
|
2245
2229
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2248,22 +2232,22 @@ const deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommandError = asy
|
|
|
2248
2232
|
switch (errorCode) {
|
|
2249
2233
|
case "AccessDeniedException":
|
|
2250
2234
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2251
|
-
throw await
|
|
2235
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2252
2236
|
case "EntityNotFoundException":
|
|
2253
2237
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2254
|
-
throw await
|
|
2238
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2255
2239
|
case "InternalServiceException":
|
|
2256
2240
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2257
|
-
throw await
|
|
2241
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2258
2242
|
case "InvalidInputException":
|
|
2259
2243
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2260
|
-
throw await
|
|
2244
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2261
2245
|
case "OperationTimeoutException":
|
|
2262
2246
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2263
|
-
throw await
|
|
2247
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2264
2248
|
case "PermissionTypeMismatchException":
|
|
2265
2249
|
case "com.amazonaws.lakeformation#PermissionTypeMismatchException":
|
|
2266
|
-
throw await
|
|
2250
|
+
throw await de_PermissionTypeMismatchExceptionRes(parsedOutput, context);
|
|
2267
2251
|
default:
|
|
2268
2252
|
const parsedBody = parsedOutput.body;
|
|
2269
2253
|
throwDefaultError({
|
|
@@ -2274,9 +2258,9 @@ const deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommandError = asy
|
|
|
2274
2258
|
});
|
|
2275
2259
|
}
|
|
2276
2260
|
};
|
|
2277
|
-
export const
|
|
2261
|
+
export const de_GetWorkUnitResultsCommand = async (output, context) => {
|
|
2278
2262
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2279
|
-
return
|
|
2263
|
+
return de_GetWorkUnitResultsCommandError(output, context);
|
|
2280
2264
|
}
|
|
2281
2265
|
const contents = map({
|
|
2282
2266
|
$metadata: deserializeMetadata(output),
|
|
@@ -2286,7 +2270,7 @@ export const deserializeAws_restJson1GetWorkUnitResultsCommand = async (output,
|
|
|
2286
2270
|
contents.ResultStream = data;
|
|
2287
2271
|
return contents;
|
|
2288
2272
|
};
|
|
2289
|
-
const
|
|
2273
|
+
const de_GetWorkUnitResultsCommandError = async (output, context) => {
|
|
2290
2274
|
const parsedOutput = {
|
|
2291
2275
|
...output,
|
|
2292
2276
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2295,19 +2279,19 @@ const deserializeAws_restJson1GetWorkUnitResultsCommandError = async (output, co
|
|
|
2295
2279
|
switch (errorCode) {
|
|
2296
2280
|
case "AccessDeniedException":
|
|
2297
2281
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2298
|
-
throw await
|
|
2282
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2299
2283
|
case "ExpiredException":
|
|
2300
2284
|
case "com.amazonaws.lakeformation#ExpiredException":
|
|
2301
|
-
throw await
|
|
2285
|
+
throw await de_ExpiredExceptionRes(parsedOutput, context);
|
|
2302
2286
|
case "InternalServiceException":
|
|
2303
2287
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2304
|
-
throw await
|
|
2288
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2305
2289
|
case "InvalidInputException":
|
|
2306
2290
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2307
|
-
throw await
|
|
2291
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2308
2292
|
case "ThrottledException":
|
|
2309
2293
|
case "com.amazonaws.lakeformation#ThrottledException":
|
|
2310
|
-
throw await
|
|
2294
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
2311
2295
|
default:
|
|
2312
2296
|
const parsedBody = parsedOutput.body;
|
|
2313
2297
|
throwDefaultError({
|
|
@@ -2318,9 +2302,9 @@ const deserializeAws_restJson1GetWorkUnitResultsCommandError = async (output, co
|
|
|
2318
2302
|
});
|
|
2319
2303
|
}
|
|
2320
2304
|
};
|
|
2321
|
-
export const
|
|
2305
|
+
export const de_GetWorkUnitsCommand = async (output, context) => {
|
|
2322
2306
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2323
|
-
return
|
|
2307
|
+
return de_GetWorkUnitsCommandError(output, context);
|
|
2324
2308
|
}
|
|
2325
2309
|
const contents = map({
|
|
2326
2310
|
$metadata: deserializeMetadata(output),
|
|
@@ -2333,11 +2317,11 @@ export const deserializeAws_restJson1GetWorkUnitsCommand = async (output, contex
|
|
|
2333
2317
|
contents.QueryId = __expectString(data.QueryId);
|
|
2334
2318
|
}
|
|
2335
2319
|
if (data.WorkUnitRanges != null) {
|
|
2336
|
-
contents.WorkUnitRanges =
|
|
2320
|
+
contents.WorkUnitRanges = de_WorkUnitRangeList(data.WorkUnitRanges, context);
|
|
2337
2321
|
}
|
|
2338
2322
|
return contents;
|
|
2339
2323
|
};
|
|
2340
|
-
const
|
|
2324
|
+
const de_GetWorkUnitsCommandError = async (output, context) => {
|
|
2341
2325
|
const parsedOutput = {
|
|
2342
2326
|
...output,
|
|
2343
2327
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2346,19 +2330,19 @@ const deserializeAws_restJson1GetWorkUnitsCommandError = async (output, context)
|
|
|
2346
2330
|
switch (errorCode) {
|
|
2347
2331
|
case "AccessDeniedException":
|
|
2348
2332
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2349
|
-
throw await
|
|
2333
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2350
2334
|
case "ExpiredException":
|
|
2351
2335
|
case "com.amazonaws.lakeformation#ExpiredException":
|
|
2352
|
-
throw await
|
|
2336
|
+
throw await de_ExpiredExceptionRes(parsedOutput, context);
|
|
2353
2337
|
case "InternalServiceException":
|
|
2354
2338
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2355
|
-
throw await
|
|
2339
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2356
2340
|
case "InvalidInputException":
|
|
2357
2341
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2358
|
-
throw await
|
|
2342
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2359
2343
|
case "WorkUnitsNotReadyYetException":
|
|
2360
2344
|
case "com.amazonaws.lakeformation#WorkUnitsNotReadyYetException":
|
|
2361
|
-
throw await
|
|
2345
|
+
throw await de_WorkUnitsNotReadyYetExceptionRes(parsedOutput, context);
|
|
2362
2346
|
default:
|
|
2363
2347
|
const parsedBody = parsedOutput.body;
|
|
2364
2348
|
throwDefaultError({
|
|
@@ -2369,9 +2353,9 @@ const deserializeAws_restJson1GetWorkUnitsCommandError = async (output, context)
|
|
|
2369
2353
|
});
|
|
2370
2354
|
}
|
|
2371
2355
|
};
|
|
2372
|
-
export const
|
|
2356
|
+
export const de_GrantPermissionsCommand = async (output, context) => {
|
|
2373
2357
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2374
|
-
return
|
|
2358
|
+
return de_GrantPermissionsCommandError(output, context);
|
|
2375
2359
|
}
|
|
2376
2360
|
const contents = map({
|
|
2377
2361
|
$metadata: deserializeMetadata(output),
|
|
@@ -2379,7 +2363,7 @@ export const deserializeAws_restJson1GrantPermissionsCommand = async (output, co
|
|
|
2379
2363
|
await collectBody(output.body, context);
|
|
2380
2364
|
return contents;
|
|
2381
2365
|
};
|
|
2382
|
-
const
|
|
2366
|
+
const de_GrantPermissionsCommandError = async (output, context) => {
|
|
2383
2367
|
const parsedOutput = {
|
|
2384
2368
|
...output,
|
|
2385
2369
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2388,13 +2372,13 @@ const deserializeAws_restJson1GrantPermissionsCommandError = async (output, cont
|
|
|
2388
2372
|
switch (errorCode) {
|
|
2389
2373
|
case "ConcurrentModificationException":
|
|
2390
2374
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
2391
|
-
throw await
|
|
2375
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2392
2376
|
case "EntityNotFoundException":
|
|
2393
2377
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2394
|
-
throw await
|
|
2378
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2395
2379
|
case "InvalidInputException":
|
|
2396
2380
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2397
|
-
throw await
|
|
2381
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2398
2382
|
default:
|
|
2399
2383
|
const parsedBody = parsedOutput.body;
|
|
2400
2384
|
throwDefaultError({
|
|
@@ -2405,23 +2389,23 @@ const deserializeAws_restJson1GrantPermissionsCommandError = async (output, cont
|
|
|
2405
2389
|
});
|
|
2406
2390
|
}
|
|
2407
2391
|
};
|
|
2408
|
-
export const
|
|
2392
|
+
export const de_ListDataCellsFilterCommand = async (output, context) => {
|
|
2409
2393
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2410
|
-
return
|
|
2394
|
+
return de_ListDataCellsFilterCommandError(output, context);
|
|
2411
2395
|
}
|
|
2412
2396
|
const contents = map({
|
|
2413
2397
|
$metadata: deserializeMetadata(output),
|
|
2414
2398
|
});
|
|
2415
2399
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2416
2400
|
if (data.DataCellsFilters != null) {
|
|
2417
|
-
contents.DataCellsFilters =
|
|
2401
|
+
contents.DataCellsFilters = de_DataCellsFilterList(data.DataCellsFilters, context);
|
|
2418
2402
|
}
|
|
2419
2403
|
if (data.NextToken != null) {
|
|
2420
2404
|
contents.NextToken = __expectString(data.NextToken);
|
|
2421
2405
|
}
|
|
2422
2406
|
return contents;
|
|
2423
2407
|
};
|
|
2424
|
-
const
|
|
2408
|
+
const de_ListDataCellsFilterCommandError = async (output, context) => {
|
|
2425
2409
|
const parsedOutput = {
|
|
2426
2410
|
...output,
|
|
2427
2411
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2430,16 +2414,16 @@ const deserializeAws_restJson1ListDataCellsFilterCommandError = async (output, c
|
|
|
2430
2414
|
switch (errorCode) {
|
|
2431
2415
|
case "AccessDeniedException":
|
|
2432
2416
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2433
|
-
throw await
|
|
2417
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2434
2418
|
case "InternalServiceException":
|
|
2435
2419
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2436
|
-
throw await
|
|
2420
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2437
2421
|
case "InvalidInputException":
|
|
2438
2422
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2439
|
-
throw await
|
|
2423
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2440
2424
|
case "OperationTimeoutException":
|
|
2441
2425
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2442
|
-
throw await
|
|
2426
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2443
2427
|
default:
|
|
2444
2428
|
const parsedBody = parsedOutput.body;
|
|
2445
2429
|
throwDefaultError({
|
|
@@ -2450,23 +2434,23 @@ const deserializeAws_restJson1ListDataCellsFilterCommandError = async (output, c
|
|
|
2450
2434
|
});
|
|
2451
2435
|
}
|
|
2452
2436
|
};
|
|
2453
|
-
export const
|
|
2437
|
+
export const de_ListLFTagsCommand = async (output, context) => {
|
|
2454
2438
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2455
|
-
return
|
|
2439
|
+
return de_ListLFTagsCommandError(output, context);
|
|
2456
2440
|
}
|
|
2457
2441
|
const contents = map({
|
|
2458
2442
|
$metadata: deserializeMetadata(output),
|
|
2459
2443
|
});
|
|
2460
2444
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2461
2445
|
if (data.LFTags != null) {
|
|
2462
|
-
contents.LFTags =
|
|
2446
|
+
contents.LFTags = de_LFTagsList(data.LFTags, context);
|
|
2463
2447
|
}
|
|
2464
2448
|
if (data.NextToken != null) {
|
|
2465
2449
|
contents.NextToken = __expectString(data.NextToken);
|
|
2466
2450
|
}
|
|
2467
2451
|
return contents;
|
|
2468
2452
|
};
|
|
2469
|
-
const
|
|
2453
|
+
const de_ListLFTagsCommandError = async (output, context) => {
|
|
2470
2454
|
const parsedOutput = {
|
|
2471
2455
|
...output,
|
|
2472
2456
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2475,19 +2459,19 @@ const deserializeAws_restJson1ListLFTagsCommandError = async (output, context) =
|
|
|
2475
2459
|
switch (errorCode) {
|
|
2476
2460
|
case "AccessDeniedException":
|
|
2477
2461
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2478
|
-
throw await
|
|
2462
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2479
2463
|
case "EntityNotFoundException":
|
|
2480
2464
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2481
|
-
throw await
|
|
2465
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2482
2466
|
case "InternalServiceException":
|
|
2483
2467
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2484
|
-
throw await
|
|
2468
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2485
2469
|
case "InvalidInputException":
|
|
2486
2470
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2487
|
-
throw await
|
|
2471
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2488
2472
|
case "OperationTimeoutException":
|
|
2489
2473
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2490
|
-
throw await
|
|
2474
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2491
2475
|
default:
|
|
2492
2476
|
const parsedBody = parsedOutput.body;
|
|
2493
2477
|
throwDefaultError({
|
|
@@ -2498,9 +2482,9 @@ const deserializeAws_restJson1ListLFTagsCommandError = async (output, context) =
|
|
|
2498
2482
|
});
|
|
2499
2483
|
}
|
|
2500
2484
|
};
|
|
2501
|
-
export const
|
|
2485
|
+
export const de_ListPermissionsCommand = async (output, context) => {
|
|
2502
2486
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2503
|
-
return
|
|
2487
|
+
return de_ListPermissionsCommandError(output, context);
|
|
2504
2488
|
}
|
|
2505
2489
|
const contents = map({
|
|
2506
2490
|
$metadata: deserializeMetadata(output),
|
|
@@ -2510,11 +2494,11 @@ export const deserializeAws_restJson1ListPermissionsCommand = async (output, con
|
|
|
2510
2494
|
contents.NextToken = __expectString(data.NextToken);
|
|
2511
2495
|
}
|
|
2512
2496
|
if (data.PrincipalResourcePermissions != null) {
|
|
2513
|
-
contents.PrincipalResourcePermissions =
|
|
2497
|
+
contents.PrincipalResourcePermissions = de_PrincipalResourcePermissionsList(data.PrincipalResourcePermissions, context);
|
|
2514
2498
|
}
|
|
2515
2499
|
return contents;
|
|
2516
2500
|
};
|
|
2517
|
-
const
|
|
2501
|
+
const de_ListPermissionsCommandError = async (output, context) => {
|
|
2518
2502
|
const parsedOutput = {
|
|
2519
2503
|
...output,
|
|
2520
2504
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2523,13 +2507,13 @@ const deserializeAws_restJson1ListPermissionsCommandError = async (output, conte
|
|
|
2523
2507
|
switch (errorCode) {
|
|
2524
2508
|
case "InternalServiceException":
|
|
2525
2509
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2526
|
-
throw await
|
|
2510
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2527
2511
|
case "InvalidInputException":
|
|
2528
2512
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2529
|
-
throw await
|
|
2513
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2530
2514
|
case "OperationTimeoutException":
|
|
2531
2515
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2532
|
-
throw await
|
|
2516
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2533
2517
|
default:
|
|
2534
2518
|
const parsedBody = parsedOutput.body;
|
|
2535
2519
|
throwDefaultError({
|
|
@@ -2540,9 +2524,9 @@ const deserializeAws_restJson1ListPermissionsCommandError = async (output, conte
|
|
|
2540
2524
|
});
|
|
2541
2525
|
}
|
|
2542
2526
|
};
|
|
2543
|
-
export const
|
|
2527
|
+
export const de_ListResourcesCommand = async (output, context) => {
|
|
2544
2528
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2545
|
-
return
|
|
2529
|
+
return de_ListResourcesCommandError(output, context);
|
|
2546
2530
|
}
|
|
2547
2531
|
const contents = map({
|
|
2548
2532
|
$metadata: deserializeMetadata(output),
|
|
@@ -2552,11 +2536,11 @@ export const deserializeAws_restJson1ListResourcesCommand = async (output, conte
|
|
|
2552
2536
|
contents.NextToken = __expectString(data.NextToken);
|
|
2553
2537
|
}
|
|
2554
2538
|
if (data.ResourceInfoList != null) {
|
|
2555
|
-
contents.ResourceInfoList =
|
|
2539
|
+
contents.ResourceInfoList = de_ResourceInfoList(data.ResourceInfoList, context);
|
|
2556
2540
|
}
|
|
2557
2541
|
return contents;
|
|
2558
2542
|
};
|
|
2559
|
-
const
|
|
2543
|
+
const de_ListResourcesCommandError = async (output, context) => {
|
|
2560
2544
|
const parsedOutput = {
|
|
2561
2545
|
...output,
|
|
2562
2546
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2565,13 +2549,13 @@ const deserializeAws_restJson1ListResourcesCommandError = async (output, context
|
|
|
2565
2549
|
switch (errorCode) {
|
|
2566
2550
|
case "InternalServiceException":
|
|
2567
2551
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2568
|
-
throw await
|
|
2552
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2569
2553
|
case "InvalidInputException":
|
|
2570
2554
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2571
|
-
throw await
|
|
2555
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2572
2556
|
case "OperationTimeoutException":
|
|
2573
2557
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2574
|
-
throw await
|
|
2558
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2575
2559
|
default:
|
|
2576
2560
|
const parsedBody = parsedOutput.body;
|
|
2577
2561
|
throwDefaultError({
|
|
@@ -2582,9 +2566,9 @@ const deserializeAws_restJson1ListResourcesCommandError = async (output, context
|
|
|
2582
2566
|
});
|
|
2583
2567
|
}
|
|
2584
2568
|
};
|
|
2585
|
-
export const
|
|
2569
|
+
export const de_ListTableStorageOptimizersCommand = async (output, context) => {
|
|
2586
2570
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2587
|
-
return
|
|
2571
|
+
return de_ListTableStorageOptimizersCommandError(output, context);
|
|
2588
2572
|
}
|
|
2589
2573
|
const contents = map({
|
|
2590
2574
|
$metadata: deserializeMetadata(output),
|
|
@@ -2594,11 +2578,11 @@ export const deserializeAws_restJson1ListTableStorageOptimizersCommand = async (
|
|
|
2594
2578
|
contents.NextToken = __expectString(data.NextToken);
|
|
2595
2579
|
}
|
|
2596
2580
|
if (data.StorageOptimizerList != null) {
|
|
2597
|
-
contents.StorageOptimizerList =
|
|
2581
|
+
contents.StorageOptimizerList = de_StorageOptimizerList(data.StorageOptimizerList, context);
|
|
2598
2582
|
}
|
|
2599
2583
|
return contents;
|
|
2600
2584
|
};
|
|
2601
|
-
const
|
|
2585
|
+
const de_ListTableStorageOptimizersCommandError = async (output, context) => {
|
|
2602
2586
|
const parsedOutput = {
|
|
2603
2587
|
...output,
|
|
2604
2588
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2607,16 +2591,16 @@ const deserializeAws_restJson1ListTableStorageOptimizersCommandError = async (ou
|
|
|
2607
2591
|
switch (errorCode) {
|
|
2608
2592
|
case "AccessDeniedException":
|
|
2609
2593
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2610
|
-
throw await
|
|
2594
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2611
2595
|
case "EntityNotFoundException":
|
|
2612
2596
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2613
|
-
throw await
|
|
2597
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2614
2598
|
case "InternalServiceException":
|
|
2615
2599
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2616
|
-
throw await
|
|
2600
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2617
2601
|
case "InvalidInputException":
|
|
2618
2602
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2619
|
-
throw await
|
|
2603
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2620
2604
|
default:
|
|
2621
2605
|
const parsedBody = parsedOutput.body;
|
|
2622
2606
|
throwDefaultError({
|
|
@@ -2627,9 +2611,9 @@ const deserializeAws_restJson1ListTableStorageOptimizersCommandError = async (ou
|
|
|
2627
2611
|
});
|
|
2628
2612
|
}
|
|
2629
2613
|
};
|
|
2630
|
-
export const
|
|
2614
|
+
export const de_ListTransactionsCommand = async (output, context) => {
|
|
2631
2615
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2632
|
-
return
|
|
2616
|
+
return de_ListTransactionsCommandError(output, context);
|
|
2633
2617
|
}
|
|
2634
2618
|
const contents = map({
|
|
2635
2619
|
$metadata: deserializeMetadata(output),
|
|
@@ -2639,11 +2623,11 @@ export const deserializeAws_restJson1ListTransactionsCommand = async (output, co
|
|
|
2639
2623
|
contents.NextToken = __expectString(data.NextToken);
|
|
2640
2624
|
}
|
|
2641
2625
|
if (data.Transactions != null) {
|
|
2642
|
-
contents.Transactions =
|
|
2626
|
+
contents.Transactions = de_TransactionDescriptionList(data.Transactions, context);
|
|
2643
2627
|
}
|
|
2644
2628
|
return contents;
|
|
2645
2629
|
};
|
|
2646
|
-
const
|
|
2630
|
+
const de_ListTransactionsCommandError = async (output, context) => {
|
|
2647
2631
|
const parsedOutput = {
|
|
2648
2632
|
...output,
|
|
2649
2633
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2652,13 +2636,13 @@ const deserializeAws_restJson1ListTransactionsCommandError = async (output, cont
|
|
|
2652
2636
|
switch (errorCode) {
|
|
2653
2637
|
case "InternalServiceException":
|
|
2654
2638
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2655
|
-
throw await
|
|
2639
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2656
2640
|
case "InvalidInputException":
|
|
2657
2641
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2658
|
-
throw await
|
|
2642
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2659
2643
|
case "OperationTimeoutException":
|
|
2660
2644
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2661
|
-
throw await
|
|
2645
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2662
2646
|
default:
|
|
2663
2647
|
const parsedBody = parsedOutput.body;
|
|
2664
2648
|
throwDefaultError({
|
|
@@ -2669,9 +2653,9 @@ const deserializeAws_restJson1ListTransactionsCommandError = async (output, cont
|
|
|
2669
2653
|
});
|
|
2670
2654
|
}
|
|
2671
2655
|
};
|
|
2672
|
-
export const
|
|
2656
|
+
export const de_PutDataLakeSettingsCommand = async (output, context) => {
|
|
2673
2657
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2674
|
-
return
|
|
2658
|
+
return de_PutDataLakeSettingsCommandError(output, context);
|
|
2675
2659
|
}
|
|
2676
2660
|
const contents = map({
|
|
2677
2661
|
$metadata: deserializeMetadata(output),
|
|
@@ -2679,7 +2663,7 @@ export const deserializeAws_restJson1PutDataLakeSettingsCommand = async (output,
|
|
|
2679
2663
|
await collectBody(output.body, context);
|
|
2680
2664
|
return contents;
|
|
2681
2665
|
};
|
|
2682
|
-
const
|
|
2666
|
+
const de_PutDataLakeSettingsCommandError = async (output, context) => {
|
|
2683
2667
|
const parsedOutput = {
|
|
2684
2668
|
...output,
|
|
2685
2669
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2688,10 +2672,10 @@ const deserializeAws_restJson1PutDataLakeSettingsCommandError = async (output, c
|
|
|
2688
2672
|
switch (errorCode) {
|
|
2689
2673
|
case "InternalServiceException":
|
|
2690
2674
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2691
|
-
throw await
|
|
2675
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2692
2676
|
case "InvalidInputException":
|
|
2693
2677
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2694
|
-
throw await
|
|
2678
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2695
2679
|
default:
|
|
2696
2680
|
const parsedBody = parsedOutput.body;
|
|
2697
2681
|
throwDefaultError({
|
|
@@ -2702,9 +2686,9 @@ const deserializeAws_restJson1PutDataLakeSettingsCommandError = async (output, c
|
|
|
2702
2686
|
});
|
|
2703
2687
|
}
|
|
2704
2688
|
};
|
|
2705
|
-
export const
|
|
2689
|
+
export const de_RegisterResourceCommand = async (output, context) => {
|
|
2706
2690
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2707
|
-
return
|
|
2691
|
+
return de_RegisterResourceCommandError(output, context);
|
|
2708
2692
|
}
|
|
2709
2693
|
const contents = map({
|
|
2710
2694
|
$metadata: deserializeMetadata(output),
|
|
@@ -2712,7 +2696,7 @@ export const deserializeAws_restJson1RegisterResourceCommand = async (output, co
|
|
|
2712
2696
|
await collectBody(output.body, context);
|
|
2713
2697
|
return contents;
|
|
2714
2698
|
};
|
|
2715
|
-
const
|
|
2699
|
+
const de_RegisterResourceCommandError = async (output, context) => {
|
|
2716
2700
|
const parsedOutput = {
|
|
2717
2701
|
...output,
|
|
2718
2702
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2721,25 +2705,25 @@ const deserializeAws_restJson1RegisterResourceCommandError = async (output, cont
|
|
|
2721
2705
|
switch (errorCode) {
|
|
2722
2706
|
case "AccessDeniedException":
|
|
2723
2707
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2724
|
-
throw await
|
|
2708
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2725
2709
|
case "AlreadyExistsException":
|
|
2726
2710
|
case "com.amazonaws.lakeformation#AlreadyExistsException":
|
|
2727
|
-
throw await
|
|
2711
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
2728
2712
|
case "EntityNotFoundException":
|
|
2729
2713
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2730
|
-
throw await
|
|
2714
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2731
2715
|
case "InternalServiceException":
|
|
2732
2716
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2733
|
-
throw await
|
|
2717
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2734
2718
|
case "InvalidInputException":
|
|
2735
2719
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2736
|
-
throw await
|
|
2720
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2737
2721
|
case "OperationTimeoutException":
|
|
2738
2722
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2739
|
-
throw await
|
|
2723
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2740
2724
|
case "ResourceNumberLimitExceededException":
|
|
2741
2725
|
case "com.amazonaws.lakeformation#ResourceNumberLimitExceededException":
|
|
2742
|
-
throw await
|
|
2726
|
+
throw await de_ResourceNumberLimitExceededExceptionRes(parsedOutput, context);
|
|
2743
2727
|
default:
|
|
2744
2728
|
const parsedBody = parsedOutput.body;
|
|
2745
2729
|
throwDefaultError({
|
|
@@ -2750,20 +2734,20 @@ const deserializeAws_restJson1RegisterResourceCommandError = async (output, cont
|
|
|
2750
2734
|
});
|
|
2751
2735
|
}
|
|
2752
2736
|
};
|
|
2753
|
-
export const
|
|
2737
|
+
export const de_RemoveLFTagsFromResourceCommand = async (output, context) => {
|
|
2754
2738
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2755
|
-
return
|
|
2739
|
+
return de_RemoveLFTagsFromResourceCommandError(output, context);
|
|
2756
2740
|
}
|
|
2757
2741
|
const contents = map({
|
|
2758
2742
|
$metadata: deserializeMetadata(output),
|
|
2759
2743
|
});
|
|
2760
2744
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2761
2745
|
if (data.Failures != null) {
|
|
2762
|
-
contents.Failures =
|
|
2746
|
+
contents.Failures = de_LFTagErrors(data.Failures, context);
|
|
2763
2747
|
}
|
|
2764
2748
|
return contents;
|
|
2765
2749
|
};
|
|
2766
|
-
const
|
|
2750
|
+
const de_RemoveLFTagsFromResourceCommandError = async (output, context) => {
|
|
2767
2751
|
const parsedOutput = {
|
|
2768
2752
|
...output,
|
|
2769
2753
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2772,25 +2756,25 @@ const deserializeAws_restJson1RemoveLFTagsFromResourceCommandError = async (outp
|
|
|
2772
2756
|
switch (errorCode) {
|
|
2773
2757
|
case "AccessDeniedException":
|
|
2774
2758
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2775
|
-
throw await
|
|
2759
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2776
2760
|
case "ConcurrentModificationException":
|
|
2777
2761
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
2778
|
-
throw await
|
|
2762
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2779
2763
|
case "EntityNotFoundException":
|
|
2780
2764
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2781
|
-
throw await
|
|
2765
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2782
2766
|
case "GlueEncryptionException":
|
|
2783
2767
|
case "com.amazonaws.lakeformation#GlueEncryptionException":
|
|
2784
|
-
throw await
|
|
2768
|
+
throw await de_GlueEncryptionExceptionRes(parsedOutput, context);
|
|
2785
2769
|
case "InternalServiceException":
|
|
2786
2770
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2787
|
-
throw await
|
|
2771
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2788
2772
|
case "InvalidInputException":
|
|
2789
2773
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2790
|
-
throw await
|
|
2774
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2791
2775
|
case "OperationTimeoutException":
|
|
2792
2776
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2793
|
-
throw await
|
|
2777
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2794
2778
|
default:
|
|
2795
2779
|
const parsedBody = parsedOutput.body;
|
|
2796
2780
|
throwDefaultError({
|
|
@@ -2801,9 +2785,9 @@ const deserializeAws_restJson1RemoveLFTagsFromResourceCommandError = async (outp
|
|
|
2801
2785
|
});
|
|
2802
2786
|
}
|
|
2803
2787
|
};
|
|
2804
|
-
export const
|
|
2788
|
+
export const de_RevokePermissionsCommand = async (output, context) => {
|
|
2805
2789
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2806
|
-
return
|
|
2790
|
+
return de_RevokePermissionsCommandError(output, context);
|
|
2807
2791
|
}
|
|
2808
2792
|
const contents = map({
|
|
2809
2793
|
$metadata: deserializeMetadata(output),
|
|
@@ -2811,7 +2795,7 @@ export const deserializeAws_restJson1RevokePermissionsCommand = async (output, c
|
|
|
2811
2795
|
await collectBody(output.body, context);
|
|
2812
2796
|
return contents;
|
|
2813
2797
|
};
|
|
2814
|
-
const
|
|
2798
|
+
const de_RevokePermissionsCommandError = async (output, context) => {
|
|
2815
2799
|
const parsedOutput = {
|
|
2816
2800
|
...output,
|
|
2817
2801
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2820,13 +2804,13 @@ const deserializeAws_restJson1RevokePermissionsCommandError = async (output, con
|
|
|
2820
2804
|
switch (errorCode) {
|
|
2821
2805
|
case "ConcurrentModificationException":
|
|
2822
2806
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
2823
|
-
throw await
|
|
2807
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2824
2808
|
case "EntityNotFoundException":
|
|
2825
2809
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2826
|
-
throw await
|
|
2810
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2827
2811
|
case "InvalidInputException":
|
|
2828
2812
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2829
|
-
throw await
|
|
2813
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2830
2814
|
default:
|
|
2831
2815
|
const parsedBody = parsedOutput.body;
|
|
2832
2816
|
throwDefaultError({
|
|
@@ -2837,23 +2821,23 @@ const deserializeAws_restJson1RevokePermissionsCommandError = async (output, con
|
|
|
2837
2821
|
});
|
|
2838
2822
|
}
|
|
2839
2823
|
};
|
|
2840
|
-
export const
|
|
2824
|
+
export const de_SearchDatabasesByLFTagsCommand = async (output, context) => {
|
|
2841
2825
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2842
|
-
return
|
|
2826
|
+
return de_SearchDatabasesByLFTagsCommandError(output, context);
|
|
2843
2827
|
}
|
|
2844
2828
|
const contents = map({
|
|
2845
2829
|
$metadata: deserializeMetadata(output),
|
|
2846
2830
|
});
|
|
2847
2831
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2848
2832
|
if (data.DatabaseList != null) {
|
|
2849
|
-
contents.DatabaseList =
|
|
2833
|
+
contents.DatabaseList = de_DatabaseLFTagsList(data.DatabaseList, context);
|
|
2850
2834
|
}
|
|
2851
2835
|
if (data.NextToken != null) {
|
|
2852
2836
|
contents.NextToken = __expectString(data.NextToken);
|
|
2853
2837
|
}
|
|
2854
2838
|
return contents;
|
|
2855
2839
|
};
|
|
2856
|
-
const
|
|
2840
|
+
const de_SearchDatabasesByLFTagsCommandError = async (output, context) => {
|
|
2857
2841
|
const parsedOutput = {
|
|
2858
2842
|
...output,
|
|
2859
2843
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2862,22 +2846,22 @@ const deserializeAws_restJson1SearchDatabasesByLFTagsCommandError = async (outpu
|
|
|
2862
2846
|
switch (errorCode) {
|
|
2863
2847
|
case "AccessDeniedException":
|
|
2864
2848
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2865
|
-
throw await
|
|
2849
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2866
2850
|
case "EntityNotFoundException":
|
|
2867
2851
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2868
|
-
throw await
|
|
2852
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2869
2853
|
case "GlueEncryptionException":
|
|
2870
2854
|
case "com.amazonaws.lakeformation#GlueEncryptionException":
|
|
2871
|
-
throw await
|
|
2855
|
+
throw await de_GlueEncryptionExceptionRes(parsedOutput, context);
|
|
2872
2856
|
case "InternalServiceException":
|
|
2873
2857
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2874
|
-
throw await
|
|
2858
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2875
2859
|
case "InvalidInputException":
|
|
2876
2860
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2877
|
-
throw await
|
|
2861
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2878
2862
|
case "OperationTimeoutException":
|
|
2879
2863
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2880
|
-
throw await
|
|
2864
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2881
2865
|
default:
|
|
2882
2866
|
const parsedBody = parsedOutput.body;
|
|
2883
2867
|
throwDefaultError({
|
|
@@ -2888,9 +2872,9 @@ const deserializeAws_restJson1SearchDatabasesByLFTagsCommandError = async (outpu
|
|
|
2888
2872
|
});
|
|
2889
2873
|
}
|
|
2890
2874
|
};
|
|
2891
|
-
export const
|
|
2875
|
+
export const de_SearchTablesByLFTagsCommand = async (output, context) => {
|
|
2892
2876
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2893
|
-
return
|
|
2877
|
+
return de_SearchTablesByLFTagsCommandError(output, context);
|
|
2894
2878
|
}
|
|
2895
2879
|
const contents = map({
|
|
2896
2880
|
$metadata: deserializeMetadata(output),
|
|
@@ -2900,11 +2884,11 @@ export const deserializeAws_restJson1SearchTablesByLFTagsCommand = async (output
|
|
|
2900
2884
|
contents.NextToken = __expectString(data.NextToken);
|
|
2901
2885
|
}
|
|
2902
2886
|
if (data.TableList != null) {
|
|
2903
|
-
contents.TableList =
|
|
2887
|
+
contents.TableList = de_TableLFTagsList(data.TableList, context);
|
|
2904
2888
|
}
|
|
2905
2889
|
return contents;
|
|
2906
2890
|
};
|
|
2907
|
-
const
|
|
2891
|
+
const de_SearchTablesByLFTagsCommandError = async (output, context) => {
|
|
2908
2892
|
const parsedOutput = {
|
|
2909
2893
|
...output,
|
|
2910
2894
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2913,22 +2897,22 @@ const deserializeAws_restJson1SearchTablesByLFTagsCommandError = async (output,
|
|
|
2913
2897
|
switch (errorCode) {
|
|
2914
2898
|
case "AccessDeniedException":
|
|
2915
2899
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2916
|
-
throw await
|
|
2900
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2917
2901
|
case "EntityNotFoundException":
|
|
2918
2902
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
2919
|
-
throw await
|
|
2903
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
2920
2904
|
case "GlueEncryptionException":
|
|
2921
2905
|
case "com.amazonaws.lakeformation#GlueEncryptionException":
|
|
2922
|
-
throw await
|
|
2906
|
+
throw await de_GlueEncryptionExceptionRes(parsedOutput, context);
|
|
2923
2907
|
case "InternalServiceException":
|
|
2924
2908
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2925
|
-
throw await
|
|
2909
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2926
2910
|
case "InvalidInputException":
|
|
2927
2911
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2928
|
-
throw await
|
|
2912
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2929
2913
|
case "OperationTimeoutException":
|
|
2930
2914
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
2931
|
-
throw await
|
|
2915
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
2932
2916
|
default:
|
|
2933
2917
|
const parsedBody = parsedOutput.body;
|
|
2934
2918
|
throwDefaultError({
|
|
@@ -2939,9 +2923,9 @@ const deserializeAws_restJson1SearchTablesByLFTagsCommandError = async (output,
|
|
|
2939
2923
|
});
|
|
2940
2924
|
}
|
|
2941
2925
|
};
|
|
2942
|
-
export const
|
|
2926
|
+
export const de_StartQueryPlanningCommand = async (output, context) => {
|
|
2943
2927
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2944
|
-
return
|
|
2928
|
+
return de_StartQueryPlanningCommandError(output, context);
|
|
2945
2929
|
}
|
|
2946
2930
|
const contents = map({
|
|
2947
2931
|
$metadata: deserializeMetadata(output),
|
|
@@ -2952,7 +2936,7 @@ export const deserializeAws_restJson1StartQueryPlanningCommand = async (output,
|
|
|
2952
2936
|
}
|
|
2953
2937
|
return contents;
|
|
2954
2938
|
};
|
|
2955
|
-
const
|
|
2939
|
+
const de_StartQueryPlanningCommandError = async (output, context) => {
|
|
2956
2940
|
const parsedOutput = {
|
|
2957
2941
|
...output,
|
|
2958
2942
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2961,16 +2945,16 @@ const deserializeAws_restJson1StartQueryPlanningCommandError = async (output, co
|
|
|
2961
2945
|
switch (errorCode) {
|
|
2962
2946
|
case "AccessDeniedException":
|
|
2963
2947
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
2964
|
-
throw await
|
|
2948
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2965
2949
|
case "InternalServiceException":
|
|
2966
2950
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
2967
|
-
throw await
|
|
2951
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2968
2952
|
case "InvalidInputException":
|
|
2969
2953
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
2970
|
-
throw await
|
|
2954
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2971
2955
|
case "ThrottledException":
|
|
2972
2956
|
case "com.amazonaws.lakeformation#ThrottledException":
|
|
2973
|
-
throw await
|
|
2957
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
2974
2958
|
default:
|
|
2975
2959
|
const parsedBody = parsedOutput.body;
|
|
2976
2960
|
throwDefaultError({
|
|
@@ -2981,9 +2965,9 @@ const deserializeAws_restJson1StartQueryPlanningCommandError = async (output, co
|
|
|
2981
2965
|
});
|
|
2982
2966
|
}
|
|
2983
2967
|
};
|
|
2984
|
-
export const
|
|
2968
|
+
export const de_StartTransactionCommand = async (output, context) => {
|
|
2985
2969
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2986
|
-
return
|
|
2970
|
+
return de_StartTransactionCommandError(output, context);
|
|
2987
2971
|
}
|
|
2988
2972
|
const contents = map({
|
|
2989
2973
|
$metadata: deserializeMetadata(output),
|
|
@@ -2994,7 +2978,7 @@ export const deserializeAws_restJson1StartTransactionCommand = async (output, co
|
|
|
2994
2978
|
}
|
|
2995
2979
|
return contents;
|
|
2996
2980
|
};
|
|
2997
|
-
const
|
|
2981
|
+
const de_StartTransactionCommandError = async (output, context) => {
|
|
2998
2982
|
const parsedOutput = {
|
|
2999
2983
|
...output,
|
|
3000
2984
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3003,10 +2987,10 @@ const deserializeAws_restJson1StartTransactionCommandError = async (output, cont
|
|
|
3003
2987
|
switch (errorCode) {
|
|
3004
2988
|
case "InternalServiceException":
|
|
3005
2989
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
3006
|
-
throw await
|
|
2990
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
3007
2991
|
case "OperationTimeoutException":
|
|
3008
2992
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
3009
|
-
throw await
|
|
2993
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
3010
2994
|
default:
|
|
3011
2995
|
const parsedBody = parsedOutput.body;
|
|
3012
2996
|
throwDefaultError({
|
|
@@ -3017,9 +3001,9 @@ const deserializeAws_restJson1StartTransactionCommandError = async (output, cont
|
|
|
3017
3001
|
});
|
|
3018
3002
|
}
|
|
3019
3003
|
};
|
|
3020
|
-
export const
|
|
3004
|
+
export const de_UpdateDataCellsFilterCommand = async (output, context) => {
|
|
3021
3005
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3022
|
-
return
|
|
3006
|
+
return de_UpdateDataCellsFilterCommandError(output, context);
|
|
3023
3007
|
}
|
|
3024
3008
|
const contents = map({
|
|
3025
3009
|
$metadata: deserializeMetadata(output),
|
|
@@ -3027,7 +3011,7 @@ export const deserializeAws_restJson1UpdateDataCellsFilterCommand = async (outpu
|
|
|
3027
3011
|
await collectBody(output.body, context);
|
|
3028
3012
|
return contents;
|
|
3029
3013
|
};
|
|
3030
|
-
const
|
|
3014
|
+
const de_UpdateDataCellsFilterCommandError = async (output, context) => {
|
|
3031
3015
|
const parsedOutput = {
|
|
3032
3016
|
...output,
|
|
3033
3017
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3036,22 +3020,22 @@ const deserializeAws_restJson1UpdateDataCellsFilterCommandError = async (output,
|
|
|
3036
3020
|
switch (errorCode) {
|
|
3037
3021
|
case "AccessDeniedException":
|
|
3038
3022
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
3039
|
-
throw await
|
|
3023
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3040
3024
|
case "ConcurrentModificationException":
|
|
3041
3025
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
3042
|
-
throw await
|
|
3026
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3043
3027
|
case "EntityNotFoundException":
|
|
3044
3028
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
3045
|
-
throw await
|
|
3029
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
3046
3030
|
case "InternalServiceException":
|
|
3047
3031
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
3048
|
-
throw await
|
|
3032
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
3049
3033
|
case "InvalidInputException":
|
|
3050
3034
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
3051
|
-
throw await
|
|
3035
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3052
3036
|
case "OperationTimeoutException":
|
|
3053
3037
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
3054
|
-
throw await
|
|
3038
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
3055
3039
|
default:
|
|
3056
3040
|
const parsedBody = parsedOutput.body;
|
|
3057
3041
|
throwDefaultError({
|
|
@@ -3062,9 +3046,9 @@ const deserializeAws_restJson1UpdateDataCellsFilterCommandError = async (output,
|
|
|
3062
3046
|
});
|
|
3063
3047
|
}
|
|
3064
3048
|
};
|
|
3065
|
-
export const
|
|
3049
|
+
export const de_UpdateLFTagCommand = async (output, context) => {
|
|
3066
3050
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3067
|
-
return
|
|
3051
|
+
return de_UpdateLFTagCommandError(output, context);
|
|
3068
3052
|
}
|
|
3069
3053
|
const contents = map({
|
|
3070
3054
|
$metadata: deserializeMetadata(output),
|
|
@@ -3072,7 +3056,7 @@ export const deserializeAws_restJson1UpdateLFTagCommand = async (output, context
|
|
|
3072
3056
|
await collectBody(output.body, context);
|
|
3073
3057
|
return contents;
|
|
3074
3058
|
};
|
|
3075
|
-
const
|
|
3059
|
+
const de_UpdateLFTagCommandError = async (output, context) => {
|
|
3076
3060
|
const parsedOutput = {
|
|
3077
3061
|
...output,
|
|
3078
3062
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3081,22 +3065,22 @@ const deserializeAws_restJson1UpdateLFTagCommandError = async (output, context)
|
|
|
3081
3065
|
switch (errorCode) {
|
|
3082
3066
|
case "AccessDeniedException":
|
|
3083
3067
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
3084
|
-
throw await
|
|
3068
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3085
3069
|
case "ConcurrentModificationException":
|
|
3086
3070
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
3087
|
-
throw await
|
|
3071
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3088
3072
|
case "EntityNotFoundException":
|
|
3089
3073
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
3090
|
-
throw await
|
|
3074
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
3091
3075
|
case "InternalServiceException":
|
|
3092
3076
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
3093
|
-
throw await
|
|
3077
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
3094
3078
|
case "InvalidInputException":
|
|
3095
3079
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
3096
|
-
throw await
|
|
3080
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3097
3081
|
case "OperationTimeoutException":
|
|
3098
3082
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
3099
|
-
throw await
|
|
3083
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
3100
3084
|
default:
|
|
3101
3085
|
const parsedBody = parsedOutput.body;
|
|
3102
3086
|
throwDefaultError({
|
|
@@ -3107,9 +3091,9 @@ const deserializeAws_restJson1UpdateLFTagCommandError = async (output, context)
|
|
|
3107
3091
|
});
|
|
3108
3092
|
}
|
|
3109
3093
|
};
|
|
3110
|
-
export const
|
|
3094
|
+
export const de_UpdateResourceCommand = async (output, context) => {
|
|
3111
3095
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3112
|
-
return
|
|
3096
|
+
return de_UpdateResourceCommandError(output, context);
|
|
3113
3097
|
}
|
|
3114
3098
|
const contents = map({
|
|
3115
3099
|
$metadata: deserializeMetadata(output),
|
|
@@ -3117,7 +3101,7 @@ export const deserializeAws_restJson1UpdateResourceCommand = async (output, cont
|
|
|
3117
3101
|
await collectBody(output.body, context);
|
|
3118
3102
|
return contents;
|
|
3119
3103
|
};
|
|
3120
|
-
const
|
|
3104
|
+
const de_UpdateResourceCommandError = async (output, context) => {
|
|
3121
3105
|
const parsedOutput = {
|
|
3122
3106
|
...output,
|
|
3123
3107
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3126,16 +3110,16 @@ const deserializeAws_restJson1UpdateResourceCommandError = async (output, contex
|
|
|
3126
3110
|
switch (errorCode) {
|
|
3127
3111
|
case "EntityNotFoundException":
|
|
3128
3112
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
3129
|
-
throw await
|
|
3113
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
3130
3114
|
case "InternalServiceException":
|
|
3131
3115
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
3132
|
-
throw await
|
|
3116
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
3133
3117
|
case "InvalidInputException":
|
|
3134
3118
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
3135
|
-
throw await
|
|
3119
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3136
3120
|
case "OperationTimeoutException":
|
|
3137
3121
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
3138
|
-
throw await
|
|
3122
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
3139
3123
|
default:
|
|
3140
3124
|
const parsedBody = parsedOutput.body;
|
|
3141
3125
|
throwDefaultError({
|
|
@@ -3146,9 +3130,9 @@ const deserializeAws_restJson1UpdateResourceCommandError = async (output, contex
|
|
|
3146
3130
|
});
|
|
3147
3131
|
}
|
|
3148
3132
|
};
|
|
3149
|
-
export const
|
|
3133
|
+
export const de_UpdateTableObjectsCommand = async (output, context) => {
|
|
3150
3134
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3151
|
-
return
|
|
3135
|
+
return de_UpdateTableObjectsCommandError(output, context);
|
|
3152
3136
|
}
|
|
3153
3137
|
const contents = map({
|
|
3154
3138
|
$metadata: deserializeMetadata(output),
|
|
@@ -3156,7 +3140,7 @@ export const deserializeAws_restJson1UpdateTableObjectsCommand = async (output,
|
|
|
3156
3140
|
await collectBody(output.body, context);
|
|
3157
3141
|
return contents;
|
|
3158
3142
|
};
|
|
3159
|
-
const
|
|
3143
|
+
const de_UpdateTableObjectsCommandError = async (output, context) => {
|
|
3160
3144
|
const parsedOutput = {
|
|
3161
3145
|
...output,
|
|
3162
3146
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3165,31 +3149,31 @@ const deserializeAws_restJson1UpdateTableObjectsCommandError = async (output, co
|
|
|
3165
3149
|
switch (errorCode) {
|
|
3166
3150
|
case "ConcurrentModificationException":
|
|
3167
3151
|
case "com.amazonaws.lakeformation#ConcurrentModificationException":
|
|
3168
|
-
throw await
|
|
3152
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3169
3153
|
case "EntityNotFoundException":
|
|
3170
3154
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
3171
|
-
throw await
|
|
3155
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
3172
3156
|
case "InternalServiceException":
|
|
3173
3157
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
3174
|
-
throw await
|
|
3158
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
3175
3159
|
case "InvalidInputException":
|
|
3176
3160
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
3177
|
-
throw await
|
|
3161
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3178
3162
|
case "OperationTimeoutException":
|
|
3179
3163
|
case "com.amazonaws.lakeformation#OperationTimeoutException":
|
|
3180
|
-
throw await
|
|
3164
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
3181
3165
|
case "ResourceNotReadyException":
|
|
3182
3166
|
case "com.amazonaws.lakeformation#ResourceNotReadyException":
|
|
3183
|
-
throw await
|
|
3167
|
+
throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
|
|
3184
3168
|
case "TransactionCanceledException":
|
|
3185
3169
|
case "com.amazonaws.lakeformation#TransactionCanceledException":
|
|
3186
|
-
throw await
|
|
3170
|
+
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
3187
3171
|
case "TransactionCommitInProgressException":
|
|
3188
3172
|
case "com.amazonaws.lakeformation#TransactionCommitInProgressException":
|
|
3189
|
-
throw await
|
|
3173
|
+
throw await de_TransactionCommitInProgressExceptionRes(parsedOutput, context);
|
|
3190
3174
|
case "TransactionCommittedException":
|
|
3191
3175
|
case "com.amazonaws.lakeformation#TransactionCommittedException":
|
|
3192
|
-
throw await
|
|
3176
|
+
throw await de_TransactionCommittedExceptionRes(parsedOutput, context);
|
|
3193
3177
|
default:
|
|
3194
3178
|
const parsedBody = parsedOutput.body;
|
|
3195
3179
|
throwDefaultError({
|
|
@@ -3200,9 +3184,9 @@ const deserializeAws_restJson1UpdateTableObjectsCommandError = async (output, co
|
|
|
3200
3184
|
});
|
|
3201
3185
|
}
|
|
3202
3186
|
};
|
|
3203
|
-
export const
|
|
3187
|
+
export const de_UpdateTableStorageOptimizerCommand = async (output, context) => {
|
|
3204
3188
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3205
|
-
return
|
|
3189
|
+
return de_UpdateTableStorageOptimizerCommandError(output, context);
|
|
3206
3190
|
}
|
|
3207
3191
|
const contents = map({
|
|
3208
3192
|
$metadata: deserializeMetadata(output),
|
|
@@ -3213,7 +3197,7 @@ export const deserializeAws_restJson1UpdateTableStorageOptimizerCommand = async
|
|
|
3213
3197
|
}
|
|
3214
3198
|
return contents;
|
|
3215
3199
|
};
|
|
3216
|
-
const
|
|
3200
|
+
const de_UpdateTableStorageOptimizerCommandError = async (output, context) => {
|
|
3217
3201
|
const parsedOutput = {
|
|
3218
3202
|
...output,
|
|
3219
3203
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3222,16 +3206,16 @@ const deserializeAws_restJson1UpdateTableStorageOptimizerCommandError = async (o
|
|
|
3222
3206
|
switch (errorCode) {
|
|
3223
3207
|
case "AccessDeniedException":
|
|
3224
3208
|
case "com.amazonaws.lakeformation#AccessDeniedException":
|
|
3225
|
-
throw await
|
|
3209
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3226
3210
|
case "EntityNotFoundException":
|
|
3227
3211
|
case "com.amazonaws.lakeformation#EntityNotFoundException":
|
|
3228
|
-
throw await
|
|
3212
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
3229
3213
|
case "InternalServiceException":
|
|
3230
3214
|
case "com.amazonaws.lakeformation#InternalServiceException":
|
|
3231
|
-
throw await
|
|
3215
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
3232
3216
|
case "InvalidInputException":
|
|
3233
3217
|
case "com.amazonaws.lakeformation#InvalidInputException":
|
|
3234
|
-
throw await
|
|
3218
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3235
3219
|
default:
|
|
3236
3220
|
const parsedBody = parsedOutput.body;
|
|
3237
3221
|
throwDefaultError({
|
|
@@ -3243,7 +3227,7 @@ const deserializeAws_restJson1UpdateTableStorageOptimizerCommandError = async (o
|
|
|
3243
3227
|
}
|
|
3244
3228
|
};
|
|
3245
3229
|
const map = __map;
|
|
3246
|
-
const
|
|
3230
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3247
3231
|
const contents = map({});
|
|
3248
3232
|
const data = parsedOutput.body;
|
|
3249
3233
|
if (data.Message != null) {
|
|
@@ -3255,7 +3239,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
3255
3239
|
});
|
|
3256
3240
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3257
3241
|
};
|
|
3258
|
-
const
|
|
3242
|
+
const de_AlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3259
3243
|
const contents = map({});
|
|
3260
3244
|
const data = parsedOutput.body;
|
|
3261
3245
|
if (data.Message != null) {
|
|
@@ -3267,7 +3251,7 @@ const deserializeAws_restJson1AlreadyExistsExceptionResponse = async (parsedOutp
|
|
|
3267
3251
|
});
|
|
3268
3252
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3269
3253
|
};
|
|
3270
|
-
const
|
|
3254
|
+
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
3271
3255
|
const contents = map({});
|
|
3272
3256
|
const data = parsedOutput.body;
|
|
3273
3257
|
if (data.Message != null) {
|
|
@@ -3279,7 +3263,7 @@ const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (p
|
|
|
3279
3263
|
});
|
|
3280
3264
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3281
3265
|
};
|
|
3282
|
-
const
|
|
3266
|
+
const de_EntityNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3283
3267
|
const contents = map({});
|
|
3284
3268
|
const data = parsedOutput.body;
|
|
3285
3269
|
if (data.Message != null) {
|
|
@@ -3291,7 +3275,7 @@ const deserializeAws_restJson1EntityNotFoundExceptionResponse = async (parsedOut
|
|
|
3291
3275
|
});
|
|
3292
3276
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3293
3277
|
};
|
|
3294
|
-
const
|
|
3278
|
+
const de_ExpiredExceptionRes = async (parsedOutput, context) => {
|
|
3295
3279
|
const contents = map({});
|
|
3296
3280
|
const data = parsedOutput.body;
|
|
3297
3281
|
if (data.Message != null) {
|
|
@@ -3303,7 +3287,7 @@ const deserializeAws_restJson1ExpiredExceptionResponse = async (parsedOutput, co
|
|
|
3303
3287
|
});
|
|
3304
3288
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3305
3289
|
};
|
|
3306
|
-
const
|
|
3290
|
+
const de_GlueEncryptionExceptionRes = async (parsedOutput, context) => {
|
|
3307
3291
|
const contents = map({});
|
|
3308
3292
|
const data = parsedOutput.body;
|
|
3309
3293
|
if (data.Message != null) {
|
|
@@ -3315,7 +3299,7 @@ const deserializeAws_restJson1GlueEncryptionExceptionResponse = async (parsedOut
|
|
|
3315
3299
|
});
|
|
3316
3300
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3317
3301
|
};
|
|
3318
|
-
const
|
|
3302
|
+
const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
3319
3303
|
const contents = map({});
|
|
3320
3304
|
const data = parsedOutput.body;
|
|
3321
3305
|
if (data.Message != null) {
|
|
@@ -3327,7 +3311,7 @@ const deserializeAws_restJson1InternalServiceExceptionResponse = async (parsedOu
|
|
|
3327
3311
|
});
|
|
3328
3312
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3329
3313
|
};
|
|
3330
|
-
const
|
|
3314
|
+
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
3331
3315
|
const contents = map({});
|
|
3332
3316
|
const data = parsedOutput.body;
|
|
3333
3317
|
if (data.Message != null) {
|
|
@@ -3339,7 +3323,7 @@ const deserializeAws_restJson1InvalidInputExceptionResponse = async (parsedOutpu
|
|
|
3339
3323
|
});
|
|
3340
3324
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3341
3325
|
};
|
|
3342
|
-
const
|
|
3326
|
+
const de_OperationTimeoutExceptionRes = async (parsedOutput, context) => {
|
|
3343
3327
|
const contents = map({});
|
|
3344
3328
|
const data = parsedOutput.body;
|
|
3345
3329
|
if (data.Message != null) {
|
|
@@ -3351,7 +3335,7 @@ const deserializeAws_restJson1OperationTimeoutExceptionResponse = async (parsedO
|
|
|
3351
3335
|
});
|
|
3352
3336
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3353
3337
|
};
|
|
3354
|
-
const
|
|
3338
|
+
const de_PermissionTypeMismatchExceptionRes = async (parsedOutput, context) => {
|
|
3355
3339
|
const contents = map({});
|
|
3356
3340
|
const data = parsedOutput.body;
|
|
3357
3341
|
if (data.Message != null) {
|
|
@@ -3363,7 +3347,7 @@ const deserializeAws_restJson1PermissionTypeMismatchExceptionResponse = async (p
|
|
|
3363
3347
|
});
|
|
3364
3348
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3365
3349
|
};
|
|
3366
|
-
const
|
|
3350
|
+
const de_ResourceNotReadyExceptionRes = async (parsedOutput, context) => {
|
|
3367
3351
|
const contents = map({});
|
|
3368
3352
|
const data = parsedOutput.body;
|
|
3369
3353
|
if (data.Message != null) {
|
|
@@ -3375,7 +3359,7 @@ const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedO
|
|
|
3375
3359
|
});
|
|
3376
3360
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3377
3361
|
};
|
|
3378
|
-
const
|
|
3362
|
+
const de_ResourceNumberLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3379
3363
|
const contents = map({});
|
|
3380
3364
|
const data = parsedOutput.body;
|
|
3381
3365
|
if (data.Message != null) {
|
|
@@ -3387,7 +3371,7 @@ const deserializeAws_restJson1ResourceNumberLimitExceededExceptionResponse = asy
|
|
|
3387
3371
|
});
|
|
3388
3372
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3389
3373
|
};
|
|
3390
|
-
const
|
|
3374
|
+
const de_StatisticsNotReadyYetExceptionRes = async (parsedOutput, context) => {
|
|
3391
3375
|
const contents = map({});
|
|
3392
3376
|
const data = parsedOutput.body;
|
|
3393
3377
|
if (data.Message != null) {
|
|
@@ -3399,7 +3383,7 @@ const deserializeAws_restJson1StatisticsNotReadyYetExceptionResponse = async (pa
|
|
|
3399
3383
|
});
|
|
3400
3384
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3401
3385
|
};
|
|
3402
|
-
const
|
|
3386
|
+
const de_ThrottledExceptionRes = async (parsedOutput, context) => {
|
|
3403
3387
|
const contents = map({});
|
|
3404
3388
|
const data = parsedOutput.body;
|
|
3405
3389
|
if (data.Message != null) {
|
|
@@ -3411,7 +3395,7 @@ const deserializeAws_restJson1ThrottledExceptionResponse = async (parsedOutput,
|
|
|
3411
3395
|
});
|
|
3412
3396
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3413
3397
|
};
|
|
3414
|
-
const
|
|
3398
|
+
const de_TransactionCanceledExceptionRes = async (parsedOutput, context) => {
|
|
3415
3399
|
const contents = map({});
|
|
3416
3400
|
const data = parsedOutput.body;
|
|
3417
3401
|
if (data.Message != null) {
|
|
@@ -3423,7 +3407,7 @@ const deserializeAws_restJson1TransactionCanceledExceptionResponse = async (pars
|
|
|
3423
3407
|
});
|
|
3424
3408
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3425
3409
|
};
|
|
3426
|
-
const
|
|
3410
|
+
const de_TransactionCommitInProgressExceptionRes = async (parsedOutput, context) => {
|
|
3427
3411
|
const contents = map({});
|
|
3428
3412
|
const data = parsedOutput.body;
|
|
3429
3413
|
if (data.Message != null) {
|
|
@@ -3435,7 +3419,7 @@ const deserializeAws_restJson1TransactionCommitInProgressExceptionResponse = asy
|
|
|
3435
3419
|
});
|
|
3436
3420
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3437
3421
|
};
|
|
3438
|
-
const
|
|
3422
|
+
const de_TransactionCommittedExceptionRes = async (parsedOutput, context) => {
|
|
3439
3423
|
const contents = map({});
|
|
3440
3424
|
const data = parsedOutput.body;
|
|
3441
3425
|
if (data.Message != null) {
|
|
@@ -3447,7 +3431,7 @@ const deserializeAws_restJson1TransactionCommittedExceptionResponse = async (par
|
|
|
3447
3431
|
});
|
|
3448
3432
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3449
3433
|
};
|
|
3450
|
-
const
|
|
3434
|
+
const de_WorkUnitsNotReadyYetExceptionRes = async (parsedOutput, context) => {
|
|
3451
3435
|
const contents = map({});
|
|
3452
3436
|
const data = parsedOutput.body;
|
|
3453
3437
|
if (data.Message != null) {
|
|
@@ -3459,87 +3443,83 @@ const deserializeAws_restJson1WorkUnitsNotReadyYetExceptionResponse = async (par
|
|
|
3459
3443
|
});
|
|
3460
3444
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3461
3445
|
};
|
|
3462
|
-
const
|
|
3446
|
+
const se_AddObjectInput = (input, context) => {
|
|
3463
3447
|
return {
|
|
3464
3448
|
...(input.ETag != null && { ETag: input.ETag }),
|
|
3465
|
-
...(input.PartitionValues != null && {
|
|
3466
|
-
PartitionValues: serializeAws_restJson1PartitionValuesList(input.PartitionValues, context),
|
|
3467
|
-
}),
|
|
3449
|
+
...(input.PartitionValues != null && { PartitionValues: se_PartitionValuesList(input.PartitionValues, context) }),
|
|
3468
3450
|
...(input.Size != null && { Size: input.Size }),
|
|
3469
3451
|
...(input.Uri != null && { Uri: input.Uri }),
|
|
3470
3452
|
};
|
|
3471
3453
|
};
|
|
3472
|
-
const
|
|
3454
|
+
const se_AllRowsWildcard = (input, context) => {
|
|
3473
3455
|
return {};
|
|
3474
3456
|
};
|
|
3475
|
-
const
|
|
3457
|
+
const se_AuditContext = (input, context) => {
|
|
3476
3458
|
return {
|
|
3477
3459
|
...(input.AdditionalAuditContext != null && { AdditionalAuditContext: input.AdditionalAuditContext }),
|
|
3478
3460
|
};
|
|
3479
3461
|
};
|
|
3480
|
-
const
|
|
3462
|
+
const se_AuthorizedSessionTagValueList = (input, context) => {
|
|
3481
3463
|
return input
|
|
3482
3464
|
.filter((e) => e != null)
|
|
3483
3465
|
.map((entry) => {
|
|
3484
3466
|
return entry;
|
|
3485
3467
|
});
|
|
3486
3468
|
};
|
|
3487
|
-
const
|
|
3469
|
+
const se_BatchPermissionsRequestEntry = (input, context) => {
|
|
3488
3470
|
return {
|
|
3489
3471
|
...(input.Id != null && { Id: input.Id }),
|
|
3490
|
-
...(input.Permissions != null && { Permissions:
|
|
3472
|
+
...(input.Permissions != null && { Permissions: se_PermissionList(input.Permissions, context) }),
|
|
3491
3473
|
...(input.PermissionsWithGrantOption != null && {
|
|
3492
|
-
PermissionsWithGrantOption:
|
|
3474
|
+
PermissionsWithGrantOption: se_PermissionList(input.PermissionsWithGrantOption, context),
|
|
3493
3475
|
}),
|
|
3494
|
-
...(input.Principal != null && { Principal:
|
|
3495
|
-
...(input.Resource != null && { Resource:
|
|
3476
|
+
...(input.Principal != null && { Principal: se_DataLakePrincipal(input.Principal, context) }),
|
|
3477
|
+
...(input.Resource != null && { Resource: se_Resource(input.Resource, context) }),
|
|
3496
3478
|
};
|
|
3497
3479
|
};
|
|
3498
|
-
const
|
|
3480
|
+
const se_BatchPermissionsRequestEntryList = (input, context) => {
|
|
3499
3481
|
return input
|
|
3500
3482
|
.filter((e) => e != null)
|
|
3501
3483
|
.map((entry) => {
|
|
3502
|
-
return
|
|
3484
|
+
return se_BatchPermissionsRequestEntry(entry, context);
|
|
3503
3485
|
});
|
|
3504
3486
|
};
|
|
3505
|
-
const
|
|
3487
|
+
const se_CatalogResource = (input, context) => {
|
|
3506
3488
|
return {};
|
|
3507
3489
|
};
|
|
3508
|
-
const
|
|
3490
|
+
const se_ColumnNames = (input, context) => {
|
|
3509
3491
|
return input
|
|
3510
3492
|
.filter((e) => e != null)
|
|
3511
3493
|
.map((entry) => {
|
|
3512
3494
|
return entry;
|
|
3513
3495
|
});
|
|
3514
3496
|
};
|
|
3515
|
-
const
|
|
3497
|
+
const se_ColumnWildcard = (input, context) => {
|
|
3516
3498
|
return {
|
|
3517
3499
|
...(input.ExcludedColumnNames != null && {
|
|
3518
|
-
ExcludedColumnNames:
|
|
3500
|
+
ExcludedColumnNames: se_ColumnNames(input.ExcludedColumnNames, context),
|
|
3519
3501
|
}),
|
|
3520
3502
|
};
|
|
3521
3503
|
};
|
|
3522
|
-
const
|
|
3504
|
+
const se_DatabaseResource = (input, context) => {
|
|
3523
3505
|
return {
|
|
3524
3506
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3525
3507
|
...(input.Name != null && { Name: input.Name }),
|
|
3526
3508
|
};
|
|
3527
3509
|
};
|
|
3528
|
-
const
|
|
3510
|
+
const se_DataCellsFilter = (input, context) => {
|
|
3529
3511
|
return {
|
|
3530
|
-
...(input.ColumnNames != null && { ColumnNames:
|
|
3531
|
-
...(input.ColumnWildcard != null && {
|
|
3532
|
-
ColumnWildcard: serializeAws_restJson1ColumnWildcard(input.ColumnWildcard, context),
|
|
3533
|
-
}),
|
|
3512
|
+
...(input.ColumnNames != null && { ColumnNames: se_ColumnNames(input.ColumnNames, context) }),
|
|
3513
|
+
...(input.ColumnWildcard != null && { ColumnWildcard: se_ColumnWildcard(input.ColumnWildcard, context) }),
|
|
3534
3514
|
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3535
3515
|
...(input.Name != null && { Name: input.Name }),
|
|
3536
|
-
...(input.RowFilter != null && { RowFilter:
|
|
3516
|
+
...(input.RowFilter != null && { RowFilter: se_RowFilter(input.RowFilter, context) }),
|
|
3537
3517
|
...(input.TableCatalogId != null && { TableCatalogId: input.TableCatalogId }),
|
|
3538
3518
|
...(input.TableName != null && { TableName: input.TableName }),
|
|
3539
3519
|
...(input.VersionId != null && { VersionId: input.VersionId }),
|
|
3540
3520
|
};
|
|
3541
3521
|
};
|
|
3542
|
-
const
|
|
3522
|
+
const se_DataCellsFilterResource = (input, context) => {
|
|
3543
3523
|
return {
|
|
3544
3524
|
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3545
3525
|
...(input.Name != null && { Name: input.Name }),
|
|
@@ -3547,117 +3527,111 @@ const serializeAws_restJson1DataCellsFilterResource = (input, context) => {
|
|
|
3547
3527
|
...(input.TableName != null && { TableName: input.TableName }),
|
|
3548
3528
|
};
|
|
3549
3529
|
};
|
|
3550
|
-
const
|
|
3530
|
+
const se_DataLakePrincipal = (input, context) => {
|
|
3551
3531
|
return {
|
|
3552
3532
|
...(input.DataLakePrincipalIdentifier != null && {
|
|
3553
3533
|
DataLakePrincipalIdentifier: input.DataLakePrincipalIdentifier,
|
|
3554
3534
|
}),
|
|
3555
3535
|
};
|
|
3556
3536
|
};
|
|
3557
|
-
const
|
|
3537
|
+
const se_DataLakePrincipalList = (input, context) => {
|
|
3558
3538
|
return input
|
|
3559
3539
|
.filter((e) => e != null)
|
|
3560
3540
|
.map((entry) => {
|
|
3561
|
-
return
|
|
3541
|
+
return se_DataLakePrincipal(entry, context);
|
|
3562
3542
|
});
|
|
3563
3543
|
};
|
|
3564
|
-
const
|
|
3544
|
+
const se_DataLakeSettings = (input, context) => {
|
|
3565
3545
|
return {
|
|
3566
3546
|
...(input.AllowExternalDataFiltering != null && { AllowExternalDataFiltering: input.AllowExternalDataFiltering }),
|
|
3567
3547
|
...(input.AuthorizedSessionTagValueList != null && {
|
|
3568
|
-
AuthorizedSessionTagValueList:
|
|
3548
|
+
AuthorizedSessionTagValueList: se_AuthorizedSessionTagValueList(input.AuthorizedSessionTagValueList, context),
|
|
3569
3549
|
}),
|
|
3570
3550
|
...(input.CreateDatabaseDefaultPermissions != null && {
|
|
3571
|
-
CreateDatabaseDefaultPermissions:
|
|
3551
|
+
CreateDatabaseDefaultPermissions: se_PrincipalPermissionsList(input.CreateDatabaseDefaultPermissions, context),
|
|
3572
3552
|
}),
|
|
3573
3553
|
...(input.CreateTableDefaultPermissions != null && {
|
|
3574
|
-
CreateTableDefaultPermissions:
|
|
3575
|
-
}),
|
|
3576
|
-
...(input.DataLakeAdmins != null && {
|
|
3577
|
-
DataLakeAdmins: serializeAws_restJson1DataLakePrincipalList(input.DataLakeAdmins, context),
|
|
3554
|
+
CreateTableDefaultPermissions: se_PrincipalPermissionsList(input.CreateTableDefaultPermissions, context),
|
|
3578
3555
|
}),
|
|
3556
|
+
...(input.DataLakeAdmins != null && { DataLakeAdmins: se_DataLakePrincipalList(input.DataLakeAdmins, context) }),
|
|
3579
3557
|
...(input.ExternalDataFilteringAllowList != null && {
|
|
3580
|
-
ExternalDataFilteringAllowList:
|
|
3558
|
+
ExternalDataFilteringAllowList: se_DataLakePrincipalList(input.ExternalDataFilteringAllowList, context),
|
|
3581
3559
|
}),
|
|
3582
|
-
...(input.Parameters != null && { Parameters:
|
|
3560
|
+
...(input.Parameters != null && { Parameters: se_ParametersMap(input.Parameters, context) }),
|
|
3583
3561
|
...(input.TrustedResourceOwners != null && {
|
|
3584
|
-
TrustedResourceOwners:
|
|
3562
|
+
TrustedResourceOwners: se_TrustedResourceOwners(input.TrustedResourceOwners, context),
|
|
3585
3563
|
}),
|
|
3586
3564
|
};
|
|
3587
3565
|
};
|
|
3588
|
-
const
|
|
3566
|
+
const se_DataLocationResource = (input, context) => {
|
|
3589
3567
|
return {
|
|
3590
3568
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3591
3569
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3592
3570
|
};
|
|
3593
3571
|
};
|
|
3594
|
-
const
|
|
3572
|
+
const se_DeleteObjectInput = (input, context) => {
|
|
3595
3573
|
return {
|
|
3596
3574
|
...(input.ETag != null && { ETag: input.ETag }),
|
|
3597
|
-
...(input.PartitionValues != null && {
|
|
3598
|
-
PartitionValues: serializeAws_restJson1PartitionValuesList(input.PartitionValues, context),
|
|
3599
|
-
}),
|
|
3575
|
+
...(input.PartitionValues != null && { PartitionValues: se_PartitionValuesList(input.PartitionValues, context) }),
|
|
3600
3576
|
...(input.Uri != null && { Uri: input.Uri }),
|
|
3601
3577
|
};
|
|
3602
3578
|
};
|
|
3603
|
-
const
|
|
3579
|
+
const se_Expression = (input, context) => {
|
|
3604
3580
|
return input
|
|
3605
3581
|
.filter((e) => e != null)
|
|
3606
3582
|
.map((entry) => {
|
|
3607
|
-
return
|
|
3583
|
+
return se_LFTag(entry, context);
|
|
3608
3584
|
});
|
|
3609
3585
|
};
|
|
3610
|
-
const
|
|
3586
|
+
const se_FilterCondition = (input, context) => {
|
|
3611
3587
|
return {
|
|
3612
3588
|
...(input.ComparisonOperator != null && { ComparisonOperator: input.ComparisonOperator }),
|
|
3613
3589
|
...(input.Field != null && { Field: input.Field }),
|
|
3614
|
-
...(input.StringValueList != null && {
|
|
3615
|
-
StringValueList: serializeAws_restJson1StringValueList(input.StringValueList, context),
|
|
3616
|
-
}),
|
|
3590
|
+
...(input.StringValueList != null && { StringValueList: se_StringValueList(input.StringValueList, context) }),
|
|
3617
3591
|
};
|
|
3618
3592
|
};
|
|
3619
|
-
const
|
|
3593
|
+
const se_FilterConditionList = (input, context) => {
|
|
3620
3594
|
return input
|
|
3621
3595
|
.filter((e) => e != null)
|
|
3622
3596
|
.map((entry) => {
|
|
3623
|
-
return
|
|
3597
|
+
return se_FilterCondition(entry, context);
|
|
3624
3598
|
});
|
|
3625
3599
|
};
|
|
3626
|
-
const
|
|
3600
|
+
const se_LFTag = (input, context) => {
|
|
3627
3601
|
return {
|
|
3628
3602
|
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
3629
|
-
...(input.TagValues != null && { TagValues:
|
|
3603
|
+
...(input.TagValues != null && { TagValues: se_TagValueList(input.TagValues, context) }),
|
|
3630
3604
|
};
|
|
3631
3605
|
};
|
|
3632
|
-
const
|
|
3606
|
+
const se_LFTagKeyResource = (input, context) => {
|
|
3633
3607
|
return {
|
|
3634
3608
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3635
3609
|
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
3636
|
-
...(input.TagValues != null && { TagValues:
|
|
3610
|
+
...(input.TagValues != null && { TagValues: se_TagValueList(input.TagValues, context) }),
|
|
3637
3611
|
};
|
|
3638
3612
|
};
|
|
3639
|
-
const
|
|
3613
|
+
const se_LFTagPair = (input, context) => {
|
|
3640
3614
|
return {
|
|
3641
3615
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3642
3616
|
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
3643
|
-
...(input.TagValues != null && { TagValues:
|
|
3617
|
+
...(input.TagValues != null && { TagValues: se_TagValueList(input.TagValues, context) }),
|
|
3644
3618
|
};
|
|
3645
3619
|
};
|
|
3646
|
-
const
|
|
3620
|
+
const se_LFTagPolicyResource = (input, context) => {
|
|
3647
3621
|
return {
|
|
3648
3622
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3649
|
-
...(input.Expression != null && { Expression:
|
|
3623
|
+
...(input.Expression != null && { Expression: se_Expression(input.Expression, context) }),
|
|
3650
3624
|
...(input.ResourceType != null && { ResourceType: input.ResourceType }),
|
|
3651
3625
|
};
|
|
3652
3626
|
};
|
|
3653
|
-
const
|
|
3627
|
+
const se_LFTagsList = (input, context) => {
|
|
3654
3628
|
return input
|
|
3655
3629
|
.filter((e) => e != null)
|
|
3656
3630
|
.map((entry) => {
|
|
3657
|
-
return
|
|
3631
|
+
return se_LFTagPair(entry, context);
|
|
3658
3632
|
});
|
|
3659
3633
|
};
|
|
3660
|
-
const
|
|
3634
|
+
const se_ParametersMap = (input, context) => {
|
|
3661
3635
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3662
3636
|
if (value === null) {
|
|
3663
3637
|
return acc;
|
|
@@ -3666,46 +3640,46 @@ const serializeAws_restJson1ParametersMap = (input, context) => {
|
|
|
3666
3640
|
return acc;
|
|
3667
3641
|
}, {});
|
|
3668
3642
|
};
|
|
3669
|
-
const
|
|
3643
|
+
const se_PartitionValueList = (input, context) => {
|
|
3670
3644
|
return {
|
|
3671
|
-
...(input.Values != null && { Values:
|
|
3645
|
+
...(input.Values != null && { Values: se_ValueStringList(input.Values, context) }),
|
|
3672
3646
|
};
|
|
3673
3647
|
};
|
|
3674
|
-
const
|
|
3648
|
+
const se_PartitionValuesList = (input, context) => {
|
|
3675
3649
|
return input
|
|
3676
3650
|
.filter((e) => e != null)
|
|
3677
3651
|
.map((entry) => {
|
|
3678
3652
|
return entry;
|
|
3679
3653
|
});
|
|
3680
3654
|
};
|
|
3681
|
-
const
|
|
3655
|
+
const se_PermissionList = (input, context) => {
|
|
3682
3656
|
return input
|
|
3683
3657
|
.filter((e) => e != null)
|
|
3684
3658
|
.map((entry) => {
|
|
3685
3659
|
return entry;
|
|
3686
3660
|
});
|
|
3687
3661
|
};
|
|
3688
|
-
const
|
|
3662
|
+
const se_PermissionTypeList = (input, context) => {
|
|
3689
3663
|
return input
|
|
3690
3664
|
.filter((e) => e != null)
|
|
3691
3665
|
.map((entry) => {
|
|
3692
3666
|
return entry;
|
|
3693
3667
|
});
|
|
3694
3668
|
};
|
|
3695
|
-
const
|
|
3669
|
+
const se_PrincipalPermissions = (input, context) => {
|
|
3696
3670
|
return {
|
|
3697
|
-
...(input.Permissions != null && { Permissions:
|
|
3698
|
-
...(input.Principal != null && { Principal:
|
|
3671
|
+
...(input.Permissions != null && { Permissions: se_PermissionList(input.Permissions, context) }),
|
|
3672
|
+
...(input.Principal != null && { Principal: se_DataLakePrincipal(input.Principal, context) }),
|
|
3699
3673
|
};
|
|
3700
3674
|
};
|
|
3701
|
-
const
|
|
3675
|
+
const se_PrincipalPermissionsList = (input, context) => {
|
|
3702
3676
|
return input
|
|
3703
3677
|
.filter((e) => e != null)
|
|
3704
3678
|
.map((entry) => {
|
|
3705
|
-
return
|
|
3679
|
+
return se_PrincipalPermissions(entry, context);
|
|
3706
3680
|
});
|
|
3707
3681
|
};
|
|
3708
|
-
const
|
|
3682
|
+
const se_QueryParameterMap = (input, context) => {
|
|
3709
3683
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3710
3684
|
if (value === null) {
|
|
3711
3685
|
return acc;
|
|
@@ -3714,46 +3688,38 @@ const serializeAws_restJson1QueryParameterMap = (input, context) => {
|
|
|
3714
3688
|
return acc;
|
|
3715
3689
|
}, {});
|
|
3716
3690
|
};
|
|
3717
|
-
const
|
|
3691
|
+
const se_QueryPlanningContext = (input, context) => {
|
|
3718
3692
|
return {
|
|
3719
3693
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3720
3694
|
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3721
3695
|
...(input.QueryAsOfTime != null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000) }),
|
|
3722
|
-
...(input.QueryParameters != null && {
|
|
3723
|
-
QueryParameters: serializeAws_restJson1QueryParameterMap(input.QueryParameters, context),
|
|
3724
|
-
}),
|
|
3696
|
+
...(input.QueryParameters != null && { QueryParameters: se_QueryParameterMap(input.QueryParameters, context) }),
|
|
3725
3697
|
...(input.TransactionId != null && { TransactionId: input.TransactionId }),
|
|
3726
3698
|
};
|
|
3727
3699
|
};
|
|
3728
|
-
const
|
|
3700
|
+
const se_Resource = (input, context) => {
|
|
3729
3701
|
return {
|
|
3730
|
-
...(input.Catalog != null && { Catalog:
|
|
3702
|
+
...(input.Catalog != null && { Catalog: se_CatalogResource(input.Catalog, context) }),
|
|
3731
3703
|
...(input.DataCellsFilter != null && {
|
|
3732
|
-
DataCellsFilter:
|
|
3733
|
-
}),
|
|
3734
|
-
...(input.DataLocation != null && {
|
|
3735
|
-
DataLocation: serializeAws_restJson1DataLocationResource(input.DataLocation, context),
|
|
3704
|
+
DataCellsFilter: se_DataCellsFilterResource(input.DataCellsFilter, context),
|
|
3736
3705
|
}),
|
|
3737
|
-
...(input.
|
|
3738
|
-
...(input.
|
|
3739
|
-
...(input.
|
|
3740
|
-
|
|
3741
|
-
}),
|
|
3742
|
-
...(input.Table != null && { Table: serializeAws_restJson1TableResource(input.Table, context) }),
|
|
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) }),
|
|
3743
3711
|
...(input.TableWithColumns != null && {
|
|
3744
|
-
TableWithColumns:
|
|
3712
|
+
TableWithColumns: se_TableWithColumnsResource(input.TableWithColumns, context),
|
|
3745
3713
|
}),
|
|
3746
3714
|
};
|
|
3747
3715
|
};
|
|
3748
|
-
const
|
|
3716
|
+
const se_RowFilter = (input, context) => {
|
|
3749
3717
|
return {
|
|
3750
|
-
...(input.AllRowsWildcard != null && {
|
|
3751
|
-
AllRowsWildcard: serializeAws_restJson1AllRowsWildcard(input.AllRowsWildcard, context),
|
|
3752
|
-
}),
|
|
3718
|
+
...(input.AllRowsWildcard != null && { AllRowsWildcard: se_AllRowsWildcard(input.AllRowsWildcard, context) }),
|
|
3753
3719
|
...(input.FilterExpression != null && { FilterExpression: input.FilterExpression }),
|
|
3754
3720
|
};
|
|
3755
3721
|
};
|
|
3756
|
-
const
|
|
3722
|
+
const se_StorageOptimizerConfig = (input, context) => {
|
|
3757
3723
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3758
3724
|
if (value === null) {
|
|
3759
3725
|
return acc;
|
|
@@ -3762,99 +3728,93 @@ const serializeAws_restJson1StorageOptimizerConfig = (input, context) => {
|
|
|
3762
3728
|
return acc;
|
|
3763
3729
|
}, {});
|
|
3764
3730
|
};
|
|
3765
|
-
const
|
|
3731
|
+
const se_StorageOptimizerConfigMap = (input, context) => {
|
|
3766
3732
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3767
3733
|
if (value === null) {
|
|
3768
3734
|
return acc;
|
|
3769
3735
|
}
|
|
3770
|
-
acc[key] =
|
|
3736
|
+
acc[key] = se_StorageOptimizerConfig(value, context);
|
|
3771
3737
|
return acc;
|
|
3772
3738
|
}, {});
|
|
3773
3739
|
};
|
|
3774
|
-
const
|
|
3740
|
+
const se_StringValueList = (input, context) => {
|
|
3775
3741
|
return input
|
|
3776
3742
|
.filter((e) => e != null)
|
|
3777
3743
|
.map((entry) => {
|
|
3778
3744
|
return entry;
|
|
3779
3745
|
});
|
|
3780
3746
|
};
|
|
3781
|
-
const
|
|
3747
|
+
const se_TableResource = (input, context) => {
|
|
3782
3748
|
return {
|
|
3783
3749
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3784
3750
|
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3785
3751
|
...(input.Name != null && { Name: input.Name }),
|
|
3786
|
-
...(input.TableWildcard != null && {
|
|
3787
|
-
TableWildcard: serializeAws_restJson1TableWildcard(input.TableWildcard, context),
|
|
3788
|
-
}),
|
|
3752
|
+
...(input.TableWildcard != null && { TableWildcard: se_TableWildcard(input.TableWildcard, context) }),
|
|
3789
3753
|
};
|
|
3790
3754
|
};
|
|
3791
|
-
const
|
|
3755
|
+
const se_TableWildcard = (input, context) => {
|
|
3792
3756
|
return {};
|
|
3793
3757
|
};
|
|
3794
|
-
const
|
|
3758
|
+
const se_TableWithColumnsResource = (input, context) => {
|
|
3795
3759
|
return {
|
|
3796
3760
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3797
|
-
...(input.ColumnNames != null && { ColumnNames:
|
|
3798
|
-
...(input.ColumnWildcard != null && {
|
|
3799
|
-
ColumnWildcard: serializeAws_restJson1ColumnWildcard(input.ColumnWildcard, context),
|
|
3800
|
-
}),
|
|
3761
|
+
...(input.ColumnNames != null && { ColumnNames: se_ColumnNames(input.ColumnNames, context) }),
|
|
3762
|
+
...(input.ColumnWildcard != null && { ColumnWildcard: se_ColumnWildcard(input.ColumnWildcard, context) }),
|
|
3801
3763
|
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3802
3764
|
...(input.Name != null && { Name: input.Name }),
|
|
3803
3765
|
};
|
|
3804
3766
|
};
|
|
3805
|
-
const
|
|
3767
|
+
const se_TagValueList = (input, context) => {
|
|
3806
3768
|
return input
|
|
3807
3769
|
.filter((e) => e != null)
|
|
3808
3770
|
.map((entry) => {
|
|
3809
3771
|
return entry;
|
|
3810
3772
|
});
|
|
3811
3773
|
};
|
|
3812
|
-
const
|
|
3774
|
+
const se_TrustedResourceOwners = (input, context) => {
|
|
3813
3775
|
return input
|
|
3814
3776
|
.filter((e) => e != null)
|
|
3815
3777
|
.map((entry) => {
|
|
3816
3778
|
return entry;
|
|
3817
3779
|
});
|
|
3818
3780
|
};
|
|
3819
|
-
const
|
|
3781
|
+
const se_ValueStringList = (input, context) => {
|
|
3820
3782
|
return input
|
|
3821
3783
|
.filter((e) => e != null)
|
|
3822
3784
|
.map((entry) => {
|
|
3823
3785
|
return entry;
|
|
3824
3786
|
});
|
|
3825
3787
|
};
|
|
3826
|
-
const
|
|
3788
|
+
const se_VirtualObject = (input, context) => {
|
|
3827
3789
|
return {
|
|
3828
3790
|
...(input.ETag != null && { ETag: input.ETag }),
|
|
3829
3791
|
...(input.Uri != null && { Uri: input.Uri }),
|
|
3830
3792
|
};
|
|
3831
3793
|
};
|
|
3832
|
-
const
|
|
3794
|
+
const se_VirtualObjectList = (input, context) => {
|
|
3833
3795
|
return input
|
|
3834
3796
|
.filter((e) => e != null)
|
|
3835
3797
|
.map((entry) => {
|
|
3836
|
-
return
|
|
3798
|
+
return se_VirtualObject(entry, context);
|
|
3837
3799
|
});
|
|
3838
3800
|
};
|
|
3839
|
-
const
|
|
3801
|
+
const se_WriteOperation = (input, context) => {
|
|
3840
3802
|
return {
|
|
3841
|
-
...(input.AddObject != null && { AddObject:
|
|
3842
|
-
...(input.DeleteObject != null && {
|
|
3843
|
-
DeleteObject: serializeAws_restJson1DeleteObjectInput(input.DeleteObject, context),
|
|
3844
|
-
}),
|
|
3803
|
+
...(input.AddObject != null && { AddObject: se_AddObjectInput(input.AddObject, context) }),
|
|
3804
|
+
...(input.DeleteObject != null && { DeleteObject: se_DeleteObjectInput(input.DeleteObject, context) }),
|
|
3845
3805
|
};
|
|
3846
3806
|
};
|
|
3847
|
-
const
|
|
3807
|
+
const se_WriteOperationList = (input, context) => {
|
|
3848
3808
|
return input
|
|
3849
3809
|
.filter((e) => e != null)
|
|
3850
3810
|
.map((entry) => {
|
|
3851
|
-
return
|
|
3811
|
+
return se_WriteOperation(entry, context);
|
|
3852
3812
|
});
|
|
3853
3813
|
};
|
|
3854
|
-
const
|
|
3814
|
+
const de_AllRowsWildcard = (output, context) => {
|
|
3855
3815
|
return {};
|
|
3856
3816
|
};
|
|
3857
|
-
const
|
|
3817
|
+
const de_AuthorizedSessionTagValueList = (output, context) => {
|
|
3858
3818
|
const retVal = (output || [])
|
|
3859
3819
|
.filter((e) => e != null)
|
|
3860
3820
|
.map((entry) => {
|
|
@@ -3865,57 +3825,55 @@ const deserializeAws_restJson1AuthorizedSessionTagValueList = (output, context)
|
|
|
3865
3825
|
});
|
|
3866
3826
|
return retVal;
|
|
3867
3827
|
};
|
|
3868
|
-
const
|
|
3828
|
+
const de_BatchPermissionsFailureEntry = (output, context) => {
|
|
3869
3829
|
return {
|
|
3870
|
-
Error: output.Error != null ?
|
|
3871
|
-
RequestEntry: output.RequestEntry != null
|
|
3872
|
-
? deserializeAws_restJson1BatchPermissionsRequestEntry(output.RequestEntry, context)
|
|
3873
|
-
: undefined,
|
|
3830
|
+
Error: output.Error != null ? de_ErrorDetail(output.Error, context) : undefined,
|
|
3831
|
+
RequestEntry: output.RequestEntry != null ? de_BatchPermissionsRequestEntry(output.RequestEntry, context) : undefined,
|
|
3874
3832
|
};
|
|
3875
3833
|
};
|
|
3876
|
-
const
|
|
3834
|
+
const de_BatchPermissionsFailureList = (output, context) => {
|
|
3877
3835
|
const retVal = (output || [])
|
|
3878
3836
|
.filter((e) => e != null)
|
|
3879
3837
|
.map((entry) => {
|
|
3880
3838
|
if (entry === null) {
|
|
3881
3839
|
return null;
|
|
3882
3840
|
}
|
|
3883
|
-
return
|
|
3841
|
+
return de_BatchPermissionsFailureEntry(entry, context);
|
|
3884
3842
|
});
|
|
3885
3843
|
return retVal;
|
|
3886
3844
|
};
|
|
3887
|
-
const
|
|
3845
|
+
const de_BatchPermissionsRequestEntry = (output, context) => {
|
|
3888
3846
|
return {
|
|
3889
3847
|
Id: __expectString(output.Id),
|
|
3890
|
-
Permissions: output.Permissions != null ?
|
|
3848
|
+
Permissions: output.Permissions != null ? de_PermissionList(output.Permissions, context) : undefined,
|
|
3891
3849
|
PermissionsWithGrantOption: output.PermissionsWithGrantOption != null
|
|
3892
|
-
?
|
|
3850
|
+
? de_PermissionList(output.PermissionsWithGrantOption, context)
|
|
3893
3851
|
: undefined,
|
|
3894
|
-
Principal: output.Principal != null ?
|
|
3895
|
-
Resource: output.Resource != null ?
|
|
3852
|
+
Principal: output.Principal != null ? de_DataLakePrincipal(output.Principal, context) : undefined,
|
|
3853
|
+
Resource: output.Resource != null ? de_Resource(output.Resource, context) : undefined,
|
|
3896
3854
|
};
|
|
3897
3855
|
};
|
|
3898
|
-
const
|
|
3856
|
+
const de_CatalogResource = (output, context) => {
|
|
3899
3857
|
return {};
|
|
3900
3858
|
};
|
|
3901
|
-
const
|
|
3859
|
+
const de_ColumnLFTag = (output, context) => {
|
|
3902
3860
|
return {
|
|
3903
|
-
LFTags: output.LFTags != null ?
|
|
3861
|
+
LFTags: output.LFTags != null ? de_LFTagsList(output.LFTags, context) : undefined,
|
|
3904
3862
|
Name: __expectString(output.Name),
|
|
3905
3863
|
};
|
|
3906
3864
|
};
|
|
3907
|
-
const
|
|
3865
|
+
const de_ColumnLFTagsList = (output, context) => {
|
|
3908
3866
|
const retVal = (output || [])
|
|
3909
3867
|
.filter((e) => e != null)
|
|
3910
3868
|
.map((entry) => {
|
|
3911
3869
|
if (entry === null) {
|
|
3912
3870
|
return null;
|
|
3913
3871
|
}
|
|
3914
|
-
return
|
|
3872
|
+
return de_ColumnLFTag(entry, context);
|
|
3915
3873
|
});
|
|
3916
3874
|
return retVal;
|
|
3917
3875
|
};
|
|
3918
|
-
const
|
|
3876
|
+
const de_ColumnNames = (output, context) => {
|
|
3919
3877
|
const retVal = (output || [])
|
|
3920
3878
|
.filter((e) => e != null)
|
|
3921
3879
|
.map((entry) => {
|
|
@@ -3926,56 +3884,52 @@ const deserializeAws_restJson1ColumnNames = (output, context) => {
|
|
|
3926
3884
|
});
|
|
3927
3885
|
return retVal;
|
|
3928
3886
|
};
|
|
3929
|
-
const
|
|
3887
|
+
const de_ColumnWildcard = (output, context) => {
|
|
3930
3888
|
return {
|
|
3931
|
-
ExcludedColumnNames: output.ExcludedColumnNames != null
|
|
3932
|
-
? deserializeAws_restJson1ColumnNames(output.ExcludedColumnNames, context)
|
|
3933
|
-
: undefined,
|
|
3889
|
+
ExcludedColumnNames: output.ExcludedColumnNames != null ? de_ColumnNames(output.ExcludedColumnNames, context) : undefined,
|
|
3934
3890
|
};
|
|
3935
3891
|
};
|
|
3936
|
-
const
|
|
3892
|
+
const de_DatabaseLFTagsList = (output, context) => {
|
|
3937
3893
|
const retVal = (output || [])
|
|
3938
3894
|
.filter((e) => e != null)
|
|
3939
3895
|
.map((entry) => {
|
|
3940
3896
|
if (entry === null) {
|
|
3941
3897
|
return null;
|
|
3942
3898
|
}
|
|
3943
|
-
return
|
|
3899
|
+
return de_TaggedDatabase(entry, context);
|
|
3944
3900
|
});
|
|
3945
3901
|
return retVal;
|
|
3946
3902
|
};
|
|
3947
|
-
const
|
|
3903
|
+
const de_DatabaseResource = (output, context) => {
|
|
3948
3904
|
return {
|
|
3949
3905
|
CatalogId: __expectString(output.CatalogId),
|
|
3950
3906
|
Name: __expectString(output.Name),
|
|
3951
3907
|
};
|
|
3952
3908
|
};
|
|
3953
|
-
const
|
|
3909
|
+
const de_DataCellsFilter = (output, context) => {
|
|
3954
3910
|
return {
|
|
3955
|
-
ColumnNames: output.ColumnNames != null ?
|
|
3956
|
-
ColumnWildcard: output.ColumnWildcard != null
|
|
3957
|
-
? deserializeAws_restJson1ColumnWildcard(output.ColumnWildcard, context)
|
|
3958
|
-
: undefined,
|
|
3911
|
+
ColumnNames: output.ColumnNames != null ? de_ColumnNames(output.ColumnNames, context) : undefined,
|
|
3912
|
+
ColumnWildcard: output.ColumnWildcard != null ? de_ColumnWildcard(output.ColumnWildcard, context) : undefined,
|
|
3959
3913
|
DatabaseName: __expectString(output.DatabaseName),
|
|
3960
3914
|
Name: __expectString(output.Name),
|
|
3961
|
-
RowFilter: output.RowFilter != null ?
|
|
3915
|
+
RowFilter: output.RowFilter != null ? de_RowFilter(output.RowFilter, context) : undefined,
|
|
3962
3916
|
TableCatalogId: __expectString(output.TableCatalogId),
|
|
3963
3917
|
TableName: __expectString(output.TableName),
|
|
3964
3918
|
VersionId: __expectString(output.VersionId),
|
|
3965
3919
|
};
|
|
3966
3920
|
};
|
|
3967
|
-
const
|
|
3921
|
+
const de_DataCellsFilterList = (output, context) => {
|
|
3968
3922
|
const retVal = (output || [])
|
|
3969
3923
|
.filter((e) => e != null)
|
|
3970
3924
|
.map((entry) => {
|
|
3971
3925
|
if (entry === null) {
|
|
3972
3926
|
return null;
|
|
3973
3927
|
}
|
|
3974
|
-
return
|
|
3928
|
+
return de_DataCellsFilter(entry, context);
|
|
3975
3929
|
});
|
|
3976
3930
|
return retVal;
|
|
3977
3931
|
};
|
|
3978
|
-
const
|
|
3932
|
+
const de_DataCellsFilterResource = (output, context) => {
|
|
3979
3933
|
return {
|
|
3980
3934
|
DatabaseName: __expectString(output.DatabaseName),
|
|
3981
3935
|
Name: __expectString(output.Name),
|
|
@@ -3983,139 +3937,135 @@ const deserializeAws_restJson1DataCellsFilterResource = (output, context) => {
|
|
|
3983
3937
|
TableName: __expectString(output.TableName),
|
|
3984
3938
|
};
|
|
3985
3939
|
};
|
|
3986
|
-
const
|
|
3940
|
+
const de_DataLakePrincipal = (output, context) => {
|
|
3987
3941
|
return {
|
|
3988
3942
|
DataLakePrincipalIdentifier: __expectString(output.DataLakePrincipalIdentifier),
|
|
3989
3943
|
};
|
|
3990
3944
|
};
|
|
3991
|
-
const
|
|
3945
|
+
const de_DataLakePrincipalList = (output, context) => {
|
|
3992
3946
|
const retVal = (output || [])
|
|
3993
3947
|
.filter((e) => e != null)
|
|
3994
3948
|
.map((entry) => {
|
|
3995
3949
|
if (entry === null) {
|
|
3996
3950
|
return null;
|
|
3997
3951
|
}
|
|
3998
|
-
return
|
|
3952
|
+
return de_DataLakePrincipal(entry, context);
|
|
3999
3953
|
});
|
|
4000
3954
|
return retVal;
|
|
4001
3955
|
};
|
|
4002
|
-
const
|
|
3956
|
+
const de_DataLakeSettings = (output, context) => {
|
|
4003
3957
|
return {
|
|
4004
3958
|
AllowExternalDataFiltering: __expectBoolean(output.AllowExternalDataFiltering),
|
|
4005
3959
|
AuthorizedSessionTagValueList: output.AuthorizedSessionTagValueList != null
|
|
4006
|
-
?
|
|
3960
|
+
? de_AuthorizedSessionTagValueList(output.AuthorizedSessionTagValueList, context)
|
|
4007
3961
|
: undefined,
|
|
4008
3962
|
CreateDatabaseDefaultPermissions: output.CreateDatabaseDefaultPermissions != null
|
|
4009
|
-
?
|
|
3963
|
+
? de_PrincipalPermissionsList(output.CreateDatabaseDefaultPermissions, context)
|
|
4010
3964
|
: undefined,
|
|
4011
3965
|
CreateTableDefaultPermissions: output.CreateTableDefaultPermissions != null
|
|
4012
|
-
?
|
|
4013
|
-
: undefined,
|
|
4014
|
-
DataLakeAdmins: output.DataLakeAdmins != null
|
|
4015
|
-
? deserializeAws_restJson1DataLakePrincipalList(output.DataLakeAdmins, context)
|
|
3966
|
+
? de_PrincipalPermissionsList(output.CreateTableDefaultPermissions, context)
|
|
4016
3967
|
: undefined,
|
|
3968
|
+
DataLakeAdmins: output.DataLakeAdmins != null ? de_DataLakePrincipalList(output.DataLakeAdmins, context) : undefined,
|
|
4017
3969
|
ExternalDataFilteringAllowList: output.ExternalDataFilteringAllowList != null
|
|
4018
|
-
?
|
|
3970
|
+
? de_DataLakePrincipalList(output.ExternalDataFilteringAllowList, context)
|
|
4019
3971
|
: undefined,
|
|
4020
|
-
Parameters: output.Parameters != null ?
|
|
3972
|
+
Parameters: output.Parameters != null ? de_ParametersMap(output.Parameters, context) : undefined,
|
|
4021
3973
|
TrustedResourceOwners: output.TrustedResourceOwners != null
|
|
4022
|
-
?
|
|
3974
|
+
? de_TrustedResourceOwners(output.TrustedResourceOwners, context)
|
|
4023
3975
|
: undefined,
|
|
4024
3976
|
};
|
|
4025
3977
|
};
|
|
4026
|
-
const
|
|
3978
|
+
const de_DataLocationResource = (output, context) => {
|
|
4027
3979
|
return {
|
|
4028
3980
|
CatalogId: __expectString(output.CatalogId),
|
|
4029
3981
|
ResourceArn: __expectString(output.ResourceArn),
|
|
4030
3982
|
};
|
|
4031
3983
|
};
|
|
4032
|
-
const
|
|
3984
|
+
const de_DetailsMap = (output, context) => {
|
|
4033
3985
|
return {
|
|
4034
|
-
ResourceShare: output.ResourceShare != null
|
|
4035
|
-
? deserializeAws_restJson1ResourceShareList(output.ResourceShare, context)
|
|
4036
|
-
: undefined,
|
|
3986
|
+
ResourceShare: output.ResourceShare != null ? de_ResourceShareList(output.ResourceShare, context) : undefined,
|
|
4037
3987
|
};
|
|
4038
3988
|
};
|
|
4039
|
-
const
|
|
3989
|
+
const de_ErrorDetail = (output, context) => {
|
|
4040
3990
|
return {
|
|
4041
3991
|
ErrorCode: __expectString(output.ErrorCode),
|
|
4042
3992
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4043
3993
|
};
|
|
4044
3994
|
};
|
|
4045
|
-
const
|
|
3995
|
+
const de_ExecutionStatistics = (output, context) => {
|
|
4046
3996
|
return {
|
|
4047
3997
|
AverageExecutionTimeMillis: __expectLong(output.AverageExecutionTimeMillis),
|
|
4048
3998
|
DataScannedBytes: __expectLong(output.DataScannedBytes),
|
|
4049
3999
|
WorkUnitsExecutedCount: __expectLong(output.WorkUnitsExecutedCount),
|
|
4050
4000
|
};
|
|
4051
4001
|
};
|
|
4052
|
-
const
|
|
4002
|
+
const de_Expression = (output, context) => {
|
|
4053
4003
|
const retVal = (output || [])
|
|
4054
4004
|
.filter((e) => e != null)
|
|
4055
4005
|
.map((entry) => {
|
|
4056
4006
|
if (entry === null) {
|
|
4057
4007
|
return null;
|
|
4058
4008
|
}
|
|
4059
|
-
return
|
|
4009
|
+
return de_LFTag(entry, context);
|
|
4060
4010
|
});
|
|
4061
4011
|
return retVal;
|
|
4062
4012
|
};
|
|
4063
|
-
const
|
|
4013
|
+
const de_LFTag = (output, context) => {
|
|
4064
4014
|
return {
|
|
4065
4015
|
TagKey: __expectString(output.TagKey),
|
|
4066
|
-
TagValues: output.TagValues != null ?
|
|
4016
|
+
TagValues: output.TagValues != null ? de_TagValueList(output.TagValues, context) : undefined,
|
|
4067
4017
|
};
|
|
4068
4018
|
};
|
|
4069
|
-
const
|
|
4019
|
+
const de_LFTagError = (output, context) => {
|
|
4070
4020
|
return {
|
|
4071
|
-
Error: output.Error != null ?
|
|
4072
|
-
LFTag: output.LFTag != null ?
|
|
4021
|
+
Error: output.Error != null ? de_ErrorDetail(output.Error, context) : undefined,
|
|
4022
|
+
LFTag: output.LFTag != null ? de_LFTagPair(output.LFTag, context) : undefined,
|
|
4073
4023
|
};
|
|
4074
4024
|
};
|
|
4075
|
-
const
|
|
4025
|
+
const de_LFTagErrors = (output, context) => {
|
|
4076
4026
|
const retVal = (output || [])
|
|
4077
4027
|
.filter((e) => e != null)
|
|
4078
4028
|
.map((entry) => {
|
|
4079
4029
|
if (entry === null) {
|
|
4080
4030
|
return null;
|
|
4081
4031
|
}
|
|
4082
|
-
return
|
|
4032
|
+
return de_LFTagError(entry, context);
|
|
4083
4033
|
});
|
|
4084
4034
|
return retVal;
|
|
4085
4035
|
};
|
|
4086
|
-
const
|
|
4036
|
+
const de_LFTagKeyResource = (output, context) => {
|
|
4087
4037
|
return {
|
|
4088
4038
|
CatalogId: __expectString(output.CatalogId),
|
|
4089
4039
|
TagKey: __expectString(output.TagKey),
|
|
4090
|
-
TagValues: output.TagValues != null ?
|
|
4040
|
+
TagValues: output.TagValues != null ? de_TagValueList(output.TagValues, context) : undefined,
|
|
4091
4041
|
};
|
|
4092
4042
|
};
|
|
4093
|
-
const
|
|
4043
|
+
const de_LFTagPair = (output, context) => {
|
|
4094
4044
|
return {
|
|
4095
4045
|
CatalogId: __expectString(output.CatalogId),
|
|
4096
4046
|
TagKey: __expectString(output.TagKey),
|
|
4097
|
-
TagValues: output.TagValues != null ?
|
|
4047
|
+
TagValues: output.TagValues != null ? de_TagValueList(output.TagValues, context) : undefined,
|
|
4098
4048
|
};
|
|
4099
4049
|
};
|
|
4100
|
-
const
|
|
4050
|
+
const de_LFTagPolicyResource = (output, context) => {
|
|
4101
4051
|
return {
|
|
4102
4052
|
CatalogId: __expectString(output.CatalogId),
|
|
4103
|
-
Expression: output.Expression != null ?
|
|
4053
|
+
Expression: output.Expression != null ? de_Expression(output.Expression, context) : undefined,
|
|
4104
4054
|
ResourceType: __expectString(output.ResourceType),
|
|
4105
4055
|
};
|
|
4106
4056
|
};
|
|
4107
|
-
const
|
|
4057
|
+
const de_LFTagsList = (output, context) => {
|
|
4108
4058
|
const retVal = (output || [])
|
|
4109
4059
|
.filter((e) => e != null)
|
|
4110
4060
|
.map((entry) => {
|
|
4111
4061
|
if (entry === null) {
|
|
4112
4062
|
return null;
|
|
4113
4063
|
}
|
|
4114
|
-
return
|
|
4064
|
+
return de_LFTagPair(entry, context);
|
|
4115
4065
|
});
|
|
4116
4066
|
return retVal;
|
|
4117
4067
|
};
|
|
4118
|
-
const
|
|
4068
|
+
const de_ParametersMap = (output, context) => {
|
|
4119
4069
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4120
4070
|
if (value === null) {
|
|
4121
4071
|
return acc;
|
|
@@ -4124,26 +4074,24 @@ const deserializeAws_restJson1ParametersMap = (output, context) => {
|
|
|
4124
4074
|
return acc;
|
|
4125
4075
|
}, {});
|
|
4126
4076
|
};
|
|
4127
|
-
const
|
|
4077
|
+
const de_PartitionedTableObjectsList = (output, context) => {
|
|
4128
4078
|
const retVal = (output || [])
|
|
4129
4079
|
.filter((e) => e != null)
|
|
4130
4080
|
.map((entry) => {
|
|
4131
4081
|
if (entry === null) {
|
|
4132
4082
|
return null;
|
|
4133
4083
|
}
|
|
4134
|
-
return
|
|
4084
|
+
return de_PartitionObjects(entry, context);
|
|
4135
4085
|
});
|
|
4136
4086
|
return retVal;
|
|
4137
4087
|
};
|
|
4138
|
-
const
|
|
4088
|
+
const de_PartitionObjects = (output, context) => {
|
|
4139
4089
|
return {
|
|
4140
|
-
Objects: output.Objects != null ?
|
|
4141
|
-
PartitionValues: output.PartitionValues != null
|
|
4142
|
-
? deserializeAws_restJson1PartitionValuesList(output.PartitionValues, context)
|
|
4143
|
-
: undefined,
|
|
4090
|
+
Objects: output.Objects != null ? de_TableObjectList(output.Objects, context) : undefined,
|
|
4091
|
+
PartitionValues: output.PartitionValues != null ? de_PartitionValuesList(output.PartitionValues, context) : undefined,
|
|
4144
4092
|
};
|
|
4145
4093
|
};
|
|
4146
|
-
const
|
|
4094
|
+
const de_PartitionValuesList = (output, context) => {
|
|
4147
4095
|
const retVal = (output || [])
|
|
4148
4096
|
.filter((e) => e != null)
|
|
4149
4097
|
.map((entry) => {
|
|
@@ -4154,7 +4102,7 @@ const deserializeAws_restJson1PartitionValuesList = (output, context) => {
|
|
|
4154
4102
|
});
|
|
4155
4103
|
return retVal;
|
|
4156
4104
|
};
|
|
4157
|
-
const
|
|
4105
|
+
const de_PermissionList = (output, context) => {
|
|
4158
4106
|
const retVal = (output || [])
|
|
4159
4107
|
.filter((e) => e != null)
|
|
4160
4108
|
.map((entry) => {
|
|
@@ -4165,7 +4113,7 @@ const deserializeAws_restJson1PermissionList = (output, context) => {
|
|
|
4165
4113
|
});
|
|
4166
4114
|
return retVal;
|
|
4167
4115
|
};
|
|
4168
|
-
const
|
|
4116
|
+
const de_PlanningStatistics = (output, context) => {
|
|
4169
4117
|
return {
|
|
4170
4118
|
EstimatedDataToScanBytes: __expectLong(output.EstimatedDataToScanBytes),
|
|
4171
4119
|
PlanningTimeMillis: __expectLong(output.PlanningTimeMillis),
|
|
@@ -4173,66 +4121,58 @@ const deserializeAws_restJson1PlanningStatistics = (output, context) => {
|
|
|
4173
4121
|
WorkUnitsGeneratedCount: __expectLong(output.WorkUnitsGeneratedCount),
|
|
4174
4122
|
};
|
|
4175
4123
|
};
|
|
4176
|
-
const
|
|
4124
|
+
const de_PrincipalPermissions = (output, context) => {
|
|
4177
4125
|
return {
|
|
4178
|
-
Permissions: output.Permissions != null ?
|
|
4179
|
-
Principal: output.Principal != null ?
|
|
4126
|
+
Permissions: output.Permissions != null ? de_PermissionList(output.Permissions, context) : undefined,
|
|
4127
|
+
Principal: output.Principal != null ? de_DataLakePrincipal(output.Principal, context) : undefined,
|
|
4180
4128
|
};
|
|
4181
4129
|
};
|
|
4182
|
-
const
|
|
4130
|
+
const de_PrincipalPermissionsList = (output, context) => {
|
|
4183
4131
|
const retVal = (output || [])
|
|
4184
4132
|
.filter((e) => e != null)
|
|
4185
4133
|
.map((entry) => {
|
|
4186
4134
|
if (entry === null) {
|
|
4187
4135
|
return null;
|
|
4188
4136
|
}
|
|
4189
|
-
return
|
|
4137
|
+
return de_PrincipalPermissions(entry, context);
|
|
4190
4138
|
});
|
|
4191
4139
|
return retVal;
|
|
4192
4140
|
};
|
|
4193
|
-
const
|
|
4141
|
+
const de_PrincipalResourcePermissions = (output, context) => {
|
|
4194
4142
|
return {
|
|
4195
|
-
AdditionalDetails: output.AdditionalDetails != null
|
|
4196
|
-
|
|
4197
|
-
: undefined,
|
|
4198
|
-
Permissions: output.Permissions != null ? deserializeAws_restJson1PermissionList(output.Permissions, context) : undefined,
|
|
4143
|
+
AdditionalDetails: output.AdditionalDetails != null ? de_DetailsMap(output.AdditionalDetails, context) : undefined,
|
|
4144
|
+
Permissions: output.Permissions != null ? de_PermissionList(output.Permissions, context) : undefined,
|
|
4199
4145
|
PermissionsWithGrantOption: output.PermissionsWithGrantOption != null
|
|
4200
|
-
?
|
|
4146
|
+
? de_PermissionList(output.PermissionsWithGrantOption, context)
|
|
4201
4147
|
: undefined,
|
|
4202
|
-
Principal: output.Principal != null ?
|
|
4203
|
-
Resource: output.Resource != null ?
|
|
4148
|
+
Principal: output.Principal != null ? de_DataLakePrincipal(output.Principal, context) : undefined,
|
|
4149
|
+
Resource: output.Resource != null ? de_Resource(output.Resource, context) : undefined,
|
|
4204
4150
|
};
|
|
4205
4151
|
};
|
|
4206
|
-
const
|
|
4152
|
+
const de_PrincipalResourcePermissionsList = (output, context) => {
|
|
4207
4153
|
const retVal = (output || [])
|
|
4208
4154
|
.filter((e) => e != null)
|
|
4209
4155
|
.map((entry) => {
|
|
4210
4156
|
if (entry === null) {
|
|
4211
4157
|
return null;
|
|
4212
4158
|
}
|
|
4213
|
-
return
|
|
4159
|
+
return de_PrincipalResourcePermissions(entry, context);
|
|
4214
4160
|
});
|
|
4215
4161
|
return retVal;
|
|
4216
4162
|
};
|
|
4217
|
-
const
|
|
4163
|
+
const de_Resource = (output, context) => {
|
|
4218
4164
|
return {
|
|
4219
|
-
Catalog: output.Catalog != null ?
|
|
4220
|
-
DataCellsFilter: output.DataCellsFilter != null
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
LFTag: output.LFTag != null ? deserializeAws_restJson1LFTagKeyResource(output.LFTag, context) : undefined,
|
|
4228
|
-
LFTagPolicy: output.LFTagPolicy != null ? deserializeAws_restJson1LFTagPolicyResource(output.LFTagPolicy, context) : undefined,
|
|
4229
|
-
Table: output.Table != null ? deserializeAws_restJson1TableResource(output.Table, context) : undefined,
|
|
4230
|
-
TableWithColumns: output.TableWithColumns != null
|
|
4231
|
-
? deserializeAws_restJson1TableWithColumnsResource(output.TableWithColumns, context)
|
|
4232
|
-
: undefined,
|
|
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,
|
|
4233
4173
|
};
|
|
4234
4174
|
};
|
|
4235
|
-
const
|
|
4175
|
+
const de_ResourceInfo = (output, context) => {
|
|
4236
4176
|
return {
|
|
4237
4177
|
LastModified: output.LastModified != null
|
|
4238
4178
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModified)))
|
|
@@ -4242,18 +4182,18 @@ const deserializeAws_restJson1ResourceInfo = (output, context) => {
|
|
|
4242
4182
|
WithFederation: __expectBoolean(output.WithFederation),
|
|
4243
4183
|
};
|
|
4244
4184
|
};
|
|
4245
|
-
const
|
|
4185
|
+
const de_ResourceInfoList = (output, context) => {
|
|
4246
4186
|
const retVal = (output || [])
|
|
4247
4187
|
.filter((e) => e != null)
|
|
4248
4188
|
.map((entry) => {
|
|
4249
4189
|
if (entry === null) {
|
|
4250
4190
|
return null;
|
|
4251
4191
|
}
|
|
4252
|
-
return
|
|
4192
|
+
return de_ResourceInfo(entry, context);
|
|
4253
4193
|
});
|
|
4254
4194
|
return retVal;
|
|
4255
4195
|
};
|
|
4256
|
-
const
|
|
4196
|
+
const de_ResourceShareList = (output, context) => {
|
|
4257
4197
|
const retVal = (output || [])
|
|
4258
4198
|
.filter((e) => e != null)
|
|
4259
4199
|
.map((entry) => {
|
|
@@ -4264,24 +4204,22 @@ const deserializeAws_restJson1ResourceShareList = (output, context) => {
|
|
|
4264
4204
|
});
|
|
4265
4205
|
return retVal;
|
|
4266
4206
|
};
|
|
4267
|
-
const
|
|
4207
|
+
const de_RowFilter = (output, context) => {
|
|
4268
4208
|
return {
|
|
4269
|
-
AllRowsWildcard: output.AllRowsWildcard != null
|
|
4270
|
-
? deserializeAws_restJson1AllRowsWildcard(output.AllRowsWildcard, context)
|
|
4271
|
-
: undefined,
|
|
4209
|
+
AllRowsWildcard: output.AllRowsWildcard != null ? de_AllRowsWildcard(output.AllRowsWildcard, context) : undefined,
|
|
4272
4210
|
FilterExpression: __expectString(output.FilterExpression),
|
|
4273
4211
|
};
|
|
4274
4212
|
};
|
|
4275
|
-
const
|
|
4213
|
+
const de_StorageOptimizer = (output, context) => {
|
|
4276
4214
|
return {
|
|
4277
|
-
Config: output.Config != null ?
|
|
4215
|
+
Config: output.Config != null ? de_StorageOptimizerConfig(output.Config, context) : undefined,
|
|
4278
4216
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4279
4217
|
LastRunDetails: __expectString(output.LastRunDetails),
|
|
4280
4218
|
StorageOptimizerType: __expectString(output.StorageOptimizerType),
|
|
4281
4219
|
Warnings: __expectString(output.Warnings),
|
|
4282
4220
|
};
|
|
4283
4221
|
};
|
|
4284
|
-
const
|
|
4222
|
+
const de_StorageOptimizerConfig = (output, context) => {
|
|
4285
4223
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4286
4224
|
if (value === null) {
|
|
4287
4225
|
return acc;
|
|
@@ -4290,85 +4228,81 @@ const deserializeAws_restJson1StorageOptimizerConfig = (output, context) => {
|
|
|
4290
4228
|
return acc;
|
|
4291
4229
|
}, {});
|
|
4292
4230
|
};
|
|
4293
|
-
const
|
|
4231
|
+
const de_StorageOptimizerList = (output, context) => {
|
|
4294
4232
|
const retVal = (output || [])
|
|
4295
4233
|
.filter((e) => e != null)
|
|
4296
4234
|
.map((entry) => {
|
|
4297
4235
|
if (entry === null) {
|
|
4298
4236
|
return null;
|
|
4299
4237
|
}
|
|
4300
|
-
return
|
|
4238
|
+
return de_StorageOptimizer(entry, context);
|
|
4301
4239
|
});
|
|
4302
4240
|
return retVal;
|
|
4303
4241
|
};
|
|
4304
|
-
const
|
|
4242
|
+
const de_TableLFTagsList = (output, context) => {
|
|
4305
4243
|
const retVal = (output || [])
|
|
4306
4244
|
.filter((e) => e != null)
|
|
4307
4245
|
.map((entry) => {
|
|
4308
4246
|
if (entry === null) {
|
|
4309
4247
|
return null;
|
|
4310
4248
|
}
|
|
4311
|
-
return
|
|
4249
|
+
return de_TaggedTable(entry, context);
|
|
4312
4250
|
});
|
|
4313
4251
|
return retVal;
|
|
4314
4252
|
};
|
|
4315
|
-
const
|
|
4253
|
+
const de_TableObject = (output, context) => {
|
|
4316
4254
|
return {
|
|
4317
4255
|
ETag: __expectString(output.ETag),
|
|
4318
4256
|
Size: __expectLong(output.Size),
|
|
4319
4257
|
Uri: __expectString(output.Uri),
|
|
4320
4258
|
};
|
|
4321
4259
|
};
|
|
4322
|
-
const
|
|
4260
|
+
const de_TableObjectList = (output, context) => {
|
|
4323
4261
|
const retVal = (output || [])
|
|
4324
4262
|
.filter((e) => e != null)
|
|
4325
4263
|
.map((entry) => {
|
|
4326
4264
|
if (entry === null) {
|
|
4327
4265
|
return null;
|
|
4328
4266
|
}
|
|
4329
|
-
return
|
|
4267
|
+
return de_TableObject(entry, context);
|
|
4330
4268
|
});
|
|
4331
4269
|
return retVal;
|
|
4332
4270
|
};
|
|
4333
|
-
const
|
|
4271
|
+
const de_TableResource = (output, context) => {
|
|
4334
4272
|
return {
|
|
4335
4273
|
CatalogId: __expectString(output.CatalogId),
|
|
4336
4274
|
DatabaseName: __expectString(output.DatabaseName),
|
|
4337
4275
|
Name: __expectString(output.Name),
|
|
4338
|
-
TableWildcard: output.TableWildcard != null ?
|
|
4276
|
+
TableWildcard: output.TableWildcard != null ? de_TableWildcard(output.TableWildcard, context) : undefined,
|
|
4339
4277
|
};
|
|
4340
4278
|
};
|
|
4341
|
-
const
|
|
4279
|
+
const de_TableWildcard = (output, context) => {
|
|
4342
4280
|
return {};
|
|
4343
4281
|
};
|
|
4344
|
-
const
|
|
4282
|
+
const de_TableWithColumnsResource = (output, context) => {
|
|
4345
4283
|
return {
|
|
4346
4284
|
CatalogId: __expectString(output.CatalogId),
|
|
4347
|
-
ColumnNames: output.ColumnNames != null ?
|
|
4348
|
-
ColumnWildcard: output.ColumnWildcard != null
|
|
4349
|
-
? deserializeAws_restJson1ColumnWildcard(output.ColumnWildcard, context)
|
|
4350
|
-
: undefined,
|
|
4285
|
+
ColumnNames: output.ColumnNames != null ? de_ColumnNames(output.ColumnNames, context) : undefined,
|
|
4286
|
+
ColumnWildcard: output.ColumnWildcard != null ? de_ColumnWildcard(output.ColumnWildcard, context) : undefined,
|
|
4351
4287
|
DatabaseName: __expectString(output.DatabaseName),
|
|
4352
4288
|
Name: __expectString(output.Name),
|
|
4353
4289
|
};
|
|
4354
4290
|
};
|
|
4355
|
-
const
|
|
4291
|
+
const de_TaggedDatabase = (output, context) => {
|
|
4356
4292
|
return {
|
|
4357
|
-
Database: output.Database != null ?
|
|
4358
|
-
LFTags: output.LFTags != null ?
|
|
4293
|
+
Database: output.Database != null ? de_DatabaseResource(output.Database, context) : undefined,
|
|
4294
|
+
LFTags: output.LFTags != null ? de_LFTagsList(output.LFTags, context) : undefined,
|
|
4359
4295
|
};
|
|
4360
4296
|
};
|
|
4361
|
-
const
|
|
4297
|
+
const de_TaggedTable = (output, context) => {
|
|
4362
4298
|
return {
|
|
4363
|
-
LFTagOnDatabase: output.LFTagOnDatabase != null ?
|
|
4364
|
-
LFTagsOnColumns: output.LFTagsOnColumns != null
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
LFTagsOnTable: output.LFTagsOnTable != null ? deserializeAws_restJson1LFTagsList(output.LFTagsOnTable, context) : undefined,
|
|
4368
|
-
Table: output.Table != null ? deserializeAws_restJson1TableResource(output.Table, context) : undefined,
|
|
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,
|
|
4369
4303
|
};
|
|
4370
4304
|
};
|
|
4371
|
-
const
|
|
4305
|
+
const de_TagValueList = (output, context) => {
|
|
4372
4306
|
const retVal = (output || [])
|
|
4373
4307
|
.filter((e) => e != null)
|
|
4374
4308
|
.map((entry) => {
|
|
@@ -4379,7 +4313,7 @@ const deserializeAws_restJson1TagValueList = (output, context) => {
|
|
|
4379
4313
|
});
|
|
4380
4314
|
return retVal;
|
|
4381
4315
|
};
|
|
4382
|
-
const
|
|
4316
|
+
const de_TransactionDescription = (output, context) => {
|
|
4383
4317
|
return {
|
|
4384
4318
|
TransactionEndTime: output.TransactionEndTime != null
|
|
4385
4319
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TransactionEndTime)))
|
|
@@ -4391,18 +4325,18 @@ const deserializeAws_restJson1TransactionDescription = (output, context) => {
|
|
|
4391
4325
|
TransactionStatus: __expectString(output.TransactionStatus),
|
|
4392
4326
|
};
|
|
4393
4327
|
};
|
|
4394
|
-
const
|
|
4328
|
+
const de_TransactionDescriptionList = (output, context) => {
|
|
4395
4329
|
const retVal = (output || [])
|
|
4396
4330
|
.filter((e) => e != null)
|
|
4397
4331
|
.map((entry) => {
|
|
4398
4332
|
if (entry === null) {
|
|
4399
4333
|
return null;
|
|
4400
4334
|
}
|
|
4401
|
-
return
|
|
4335
|
+
return de_TransactionDescription(entry, context);
|
|
4402
4336
|
});
|
|
4403
4337
|
return retVal;
|
|
4404
4338
|
};
|
|
4405
|
-
const
|
|
4339
|
+
const de_TrustedResourceOwners = (output, context) => {
|
|
4406
4340
|
const retVal = (output || [])
|
|
4407
4341
|
.filter((e) => e != null)
|
|
4408
4342
|
.map((entry) => {
|
|
@@ -4413,21 +4347,21 @@ const deserializeAws_restJson1TrustedResourceOwners = (output, context) => {
|
|
|
4413
4347
|
});
|
|
4414
4348
|
return retVal;
|
|
4415
4349
|
};
|
|
4416
|
-
const
|
|
4350
|
+
const de_WorkUnitRange = (output, context) => {
|
|
4417
4351
|
return {
|
|
4418
4352
|
WorkUnitIdMax: __expectLong(output.WorkUnitIdMax),
|
|
4419
4353
|
WorkUnitIdMin: __expectLong(output.WorkUnitIdMin),
|
|
4420
4354
|
WorkUnitToken: __expectString(output.WorkUnitToken),
|
|
4421
4355
|
};
|
|
4422
4356
|
};
|
|
4423
|
-
const
|
|
4357
|
+
const de_WorkUnitRangeList = (output, context) => {
|
|
4424
4358
|
const retVal = (output || [])
|
|
4425
4359
|
.filter((e) => e != null)
|
|
4426
4360
|
.map((entry) => {
|
|
4427
4361
|
if (entry === null) {
|
|
4428
4362
|
return null;
|
|
4429
4363
|
}
|
|
4430
|
-
return
|
|
4364
|
+
return de_WorkUnitRange(entry, context);
|
|
4431
4365
|
});
|
|
4432
4366
|
return retVal;
|
|
4433
4367
|
};
|