@aws-sdk/client-lakeformation 3.180.0 → 3.183.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/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +51 -45
- package/dist-es/LakeFormation.js +182 -189
- package/dist-es/LakeFormationClient.js +22 -28
- package/dist-es/commands/AddLFTagsToResourceCommand.js +21 -28
- package/dist-es/commands/AssumeDecoratedRoleWithSAMLCommand.js +21 -28
- package/dist-es/commands/BatchGrantPermissionsCommand.js +21 -28
- package/dist-es/commands/BatchRevokePermissionsCommand.js +21 -28
- package/dist-es/commands/CancelTransactionCommand.js +21 -28
- package/dist-es/commands/CommitTransactionCommand.js +21 -28
- package/dist-es/commands/CreateDataCellsFilterCommand.js +21 -28
- package/dist-es/commands/CreateLFTagCommand.js +21 -28
- package/dist-es/commands/DeleteDataCellsFilterCommand.js +21 -28
- package/dist-es/commands/DeleteLFTagCommand.js +21 -28
- package/dist-es/commands/DeleteObjectsOnCancelCommand.js +21 -28
- package/dist-es/commands/DeregisterResourceCommand.js +21 -28
- package/dist-es/commands/DescribeResourceCommand.js +21 -28
- package/dist-es/commands/DescribeTransactionCommand.js +21 -28
- package/dist-es/commands/ExtendTransactionCommand.js +21 -28
- package/dist-es/commands/GetDataLakeSettingsCommand.js +21 -28
- package/dist-es/commands/GetEffectivePermissionsForPathCommand.js +21 -28
- package/dist-es/commands/GetLFTagCommand.js +21 -28
- package/dist-es/commands/GetQueryStateCommand.js +21 -28
- package/dist-es/commands/GetQueryStatisticsCommand.js +21 -28
- package/dist-es/commands/GetResourceLFTagsCommand.js +21 -28
- package/dist-es/commands/GetTableObjectsCommand.js +21 -28
- package/dist-es/commands/GetTemporaryGluePartitionCredentialsCommand.js +21 -28
- package/dist-es/commands/GetTemporaryGlueTableCredentialsCommand.js +21 -28
- package/dist-es/commands/GetWorkUnitResultsCommand.js +21 -28
- package/dist-es/commands/GetWorkUnitsCommand.js +21 -28
- package/dist-es/commands/GrantPermissionsCommand.js +21 -28
- package/dist-es/commands/ListDataCellsFilterCommand.js +21 -28
- package/dist-es/commands/ListLFTagsCommand.js +21 -28
- package/dist-es/commands/ListPermissionsCommand.js +21 -28
- package/dist-es/commands/ListResourcesCommand.js +21 -28
- package/dist-es/commands/ListTableStorageOptimizersCommand.js +21 -28
- package/dist-es/commands/ListTransactionsCommand.js +21 -28
- package/dist-es/commands/PutDataLakeSettingsCommand.js +21 -28
- package/dist-es/commands/RegisterResourceCommand.js +21 -28
- package/dist-es/commands/RemoveLFTagsFromResourceCommand.js +21 -28
- package/dist-es/commands/RevokePermissionsCommand.js +21 -28
- package/dist-es/commands/SearchDatabasesByLFTagsCommand.js +21 -28
- package/dist-es/commands/SearchTablesByLFTagsCommand.js +21 -28
- package/dist-es/commands/StartQueryPlanningCommand.js +21 -28
- package/dist-es/commands/StartTransactionCommand.js +21 -28
- package/dist-es/commands/UpdateLFTagCommand.js +21 -28
- package/dist-es/commands/UpdateResourceCommand.js +21 -28
- package/dist-es/commands/UpdateTableObjectsCommand.js +21 -28
- package/dist-es/commands/UpdateTableStorageOptimizerCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/LakeFormationServiceException.js +5 -10
- package/dist-es/models/models_0.js +621 -352
- package/dist-es/pagination/GetEffectivePermissionsForPathPaginator.js +25 -68
- package/dist-es/pagination/GetTableObjectsPaginator.js +25 -68
- package/dist-es/pagination/GetWorkUnitsPaginator.js +25 -68
- package/dist-es/pagination/ListDataCellsFilterPaginator.js +25 -68
- package/dist-es/pagination/ListLFTagsPaginator.js +25 -68
- package/dist-es/pagination/ListPermissionsPaginator.js +25 -68
- package/dist-es/pagination/ListResourcesPaginator.js +25 -68
- package/dist-es/pagination/ListTableStorageOptimizersPaginator.js +25 -68
- package/dist-es/pagination/ListTransactionsPaginator.js +25 -68
- package/dist-es/pagination/SearchDatabasesByLFTagsPaginator.js +25 -68
- package/dist-es/pagination/SearchTablesByLFTagsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +3651 -4813
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-lakeformation
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
20
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @aws-sdk/client-lakeformation
|
|
@@ -1128,7 +1128,7 @@ exports.deserializeAws_restJson1AddLFTagsToResourceCommand = deserializeAws_rest
|
|
|
1128
1128
|
const deserializeAws_restJson1AddLFTagsToResourceCommandError = async (output, context) => {
|
|
1129
1129
|
const parsedOutput = {
|
|
1130
1130
|
...output,
|
|
1131
|
-
body: await
|
|
1131
|
+
body: await parseErrorBody(output.body, context),
|
|
1132
1132
|
};
|
|
1133
1133
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1134
1134
|
switch (errorCode) {
|
|
@@ -1186,7 +1186,7 @@ exports.deserializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand = deserialize
|
|
|
1186
1186
|
const deserializeAws_restJson1AssumeDecoratedRoleWithSAMLCommandError = async (output, context) => {
|
|
1187
1187
|
const parsedOutput = {
|
|
1188
1188
|
...output,
|
|
1189
|
-
body: await
|
|
1189
|
+
body: await parseErrorBody(output.body, context),
|
|
1190
1190
|
};
|
|
1191
1191
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1192
1192
|
switch (errorCode) {
|
|
@@ -1232,7 +1232,7 @@ exports.deserializeAws_restJson1BatchGrantPermissionsCommand = deserializeAws_re
|
|
|
1232
1232
|
const deserializeAws_restJson1BatchGrantPermissionsCommandError = async (output, context) => {
|
|
1233
1233
|
const parsedOutput = {
|
|
1234
1234
|
...output,
|
|
1235
|
-
body: await
|
|
1235
|
+
body: await parseErrorBody(output.body, context),
|
|
1236
1236
|
};
|
|
1237
1237
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1238
1238
|
switch (errorCode) {
|
|
@@ -1269,7 +1269,7 @@ exports.deserializeAws_restJson1BatchRevokePermissionsCommand = deserializeAws_r
|
|
|
1269
1269
|
const deserializeAws_restJson1BatchRevokePermissionsCommandError = async (output, context) => {
|
|
1270
1270
|
const parsedOutput = {
|
|
1271
1271
|
...output,
|
|
1272
|
-
body: await
|
|
1272
|
+
body: await parseErrorBody(output.body, context),
|
|
1273
1273
|
};
|
|
1274
1274
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1275
1275
|
switch (errorCode) {
|
|
@@ -1303,7 +1303,7 @@ exports.deserializeAws_restJson1CancelTransactionCommand = deserializeAws_restJs
|
|
|
1303
1303
|
const deserializeAws_restJson1CancelTransactionCommandError = async (output, context) => {
|
|
1304
1304
|
const parsedOutput = {
|
|
1305
1305
|
...output,
|
|
1306
|
-
body: await
|
|
1306
|
+
body: await parseErrorBody(output.body, context),
|
|
1307
1307
|
};
|
|
1308
1308
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1309
1309
|
switch (errorCode) {
|
|
@@ -1355,7 +1355,7 @@ exports.deserializeAws_restJson1CommitTransactionCommand = deserializeAws_restJs
|
|
|
1355
1355
|
const deserializeAws_restJson1CommitTransactionCommandError = async (output, context) => {
|
|
1356
1356
|
const parsedOutput = {
|
|
1357
1357
|
...output,
|
|
1358
|
-
body: await
|
|
1358
|
+
body: await parseErrorBody(output.body, context),
|
|
1359
1359
|
};
|
|
1360
1360
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1361
1361
|
switch (errorCode) {
|
|
@@ -1401,7 +1401,7 @@ exports.deserializeAws_restJson1CreateDataCellsFilterCommand = deserializeAws_re
|
|
|
1401
1401
|
const deserializeAws_restJson1CreateDataCellsFilterCommandError = async (output, context) => {
|
|
1402
1402
|
const parsedOutput = {
|
|
1403
1403
|
...output,
|
|
1404
|
-
body: await
|
|
1404
|
+
body: await parseErrorBody(output.body, context),
|
|
1405
1405
|
};
|
|
1406
1406
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1407
1407
|
switch (errorCode) {
|
|
@@ -1450,7 +1450,7 @@ exports.deserializeAws_restJson1CreateLFTagCommand = deserializeAws_restJson1Cre
|
|
|
1450
1450
|
const deserializeAws_restJson1CreateLFTagCommandError = async (output, context) => {
|
|
1451
1451
|
const parsedOutput = {
|
|
1452
1452
|
...output,
|
|
1453
|
-
body: await
|
|
1453
|
+
body: await parseErrorBody(output.body, context),
|
|
1454
1454
|
};
|
|
1455
1455
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1456
1456
|
switch (errorCode) {
|
|
@@ -1496,7 +1496,7 @@ exports.deserializeAws_restJson1DeleteDataCellsFilterCommand = deserializeAws_re
|
|
|
1496
1496
|
const deserializeAws_restJson1DeleteDataCellsFilterCommandError = async (output, context) => {
|
|
1497
1497
|
const parsedOutput = {
|
|
1498
1498
|
...output,
|
|
1499
|
-
body: await
|
|
1499
|
+
body: await parseErrorBody(output.body, context),
|
|
1500
1500
|
};
|
|
1501
1501
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1502
1502
|
switch (errorCode) {
|
|
@@ -1539,7 +1539,7 @@ exports.deserializeAws_restJson1DeleteLFTagCommand = deserializeAws_restJson1Del
|
|
|
1539
1539
|
const deserializeAws_restJson1DeleteLFTagCommandError = async (output, context) => {
|
|
1540
1540
|
const parsedOutput = {
|
|
1541
1541
|
...output,
|
|
1542
|
-
body: await
|
|
1542
|
+
body: await parseErrorBody(output.body, context),
|
|
1543
1543
|
};
|
|
1544
1544
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1545
1545
|
switch (errorCode) {
|
|
@@ -1582,7 +1582,7 @@ exports.deserializeAws_restJson1DeleteObjectsOnCancelCommand = deserializeAws_re
|
|
|
1582
1582
|
const deserializeAws_restJson1DeleteObjectsOnCancelCommandError = async (output, context) => {
|
|
1583
1583
|
const parsedOutput = {
|
|
1584
1584
|
...output,
|
|
1585
|
-
body: await
|
|
1585
|
+
body: await parseErrorBody(output.body, context),
|
|
1586
1586
|
};
|
|
1587
1587
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1588
1588
|
switch (errorCode) {
|
|
@@ -1634,7 +1634,7 @@ exports.deserializeAws_restJson1DeregisterResourceCommand = deserializeAws_restJ
|
|
|
1634
1634
|
const deserializeAws_restJson1DeregisterResourceCommandError = async (output, context) => {
|
|
1635
1635
|
const parsedOutput = {
|
|
1636
1636
|
...output,
|
|
1637
|
-
body: await
|
|
1637
|
+
body: await parseErrorBody(output.body, context),
|
|
1638
1638
|
};
|
|
1639
1639
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1640
1640
|
switch (errorCode) {
|
|
@@ -1677,7 +1677,7 @@ exports.deserializeAws_restJson1DescribeResourceCommand = deserializeAws_restJso
|
|
|
1677
1677
|
const deserializeAws_restJson1DescribeResourceCommandError = async (output, context) => {
|
|
1678
1678
|
const parsedOutput = {
|
|
1679
1679
|
...output,
|
|
1680
|
-
body: await
|
|
1680
|
+
body: await parseErrorBody(output.body, context),
|
|
1681
1681
|
};
|
|
1682
1682
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1683
1683
|
switch (errorCode) {
|
|
@@ -1720,7 +1720,7 @@ exports.deserializeAws_restJson1DescribeTransactionCommand = deserializeAws_rest
|
|
|
1720
1720
|
const deserializeAws_restJson1DescribeTransactionCommandError = async (output, context) => {
|
|
1721
1721
|
const parsedOutput = {
|
|
1722
1722
|
...output,
|
|
1723
|
-
body: await
|
|
1723
|
+
body: await parseErrorBody(output.body, context),
|
|
1724
1724
|
};
|
|
1725
1725
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1726
1726
|
switch (errorCode) {
|
|
@@ -1760,7 +1760,7 @@ exports.deserializeAws_restJson1ExtendTransactionCommand = deserializeAws_restJs
|
|
|
1760
1760
|
const deserializeAws_restJson1ExtendTransactionCommandError = async (output, context) => {
|
|
1761
1761
|
const parsedOutput = {
|
|
1762
1762
|
...output,
|
|
1763
|
-
body: await
|
|
1763
|
+
body: await parseErrorBody(output.body, context),
|
|
1764
1764
|
};
|
|
1765
1765
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1766
1766
|
switch (errorCode) {
|
|
@@ -1812,7 +1812,7 @@ exports.deserializeAws_restJson1GetDataLakeSettingsCommand = deserializeAws_rest
|
|
|
1812
1812
|
const deserializeAws_restJson1GetDataLakeSettingsCommandError = async (output, context) => {
|
|
1813
1813
|
const parsedOutput = {
|
|
1814
1814
|
...output,
|
|
1815
|
-
body: await
|
|
1815
|
+
body: await parseErrorBody(output.body, context),
|
|
1816
1816
|
};
|
|
1817
1817
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1818
1818
|
switch (errorCode) {
|
|
@@ -1855,7 +1855,7 @@ exports.deserializeAws_restJson1GetEffectivePermissionsForPathCommand = deserial
|
|
|
1855
1855
|
const deserializeAws_restJson1GetEffectivePermissionsForPathCommandError = async (output, context) => {
|
|
1856
1856
|
const parsedOutput = {
|
|
1857
1857
|
...output,
|
|
1858
|
-
body: await
|
|
1858
|
+
body: await parseErrorBody(output.body, context),
|
|
1859
1859
|
};
|
|
1860
1860
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1861
1861
|
switch (errorCode) {
|
|
@@ -1904,7 +1904,7 @@ exports.deserializeAws_restJson1GetLFTagCommand = deserializeAws_restJson1GetLFT
|
|
|
1904
1904
|
const deserializeAws_restJson1GetLFTagCommandError = async (output, context) => {
|
|
1905
1905
|
const parsedOutput = {
|
|
1906
1906
|
...output,
|
|
1907
|
-
body: await
|
|
1907
|
+
body: await parseErrorBody(output.body, context),
|
|
1908
1908
|
};
|
|
1909
1909
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1910
1910
|
switch (errorCode) {
|
|
@@ -1953,7 +1953,7 @@ exports.deserializeAws_restJson1GetQueryStateCommand = deserializeAws_restJson1G
|
|
|
1953
1953
|
const deserializeAws_restJson1GetQueryStateCommandError = async (output, context) => {
|
|
1954
1954
|
const parsedOutput = {
|
|
1955
1955
|
...output,
|
|
1956
|
-
body: await
|
|
1956
|
+
body: await parseErrorBody(output.body, context),
|
|
1957
1957
|
};
|
|
1958
1958
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1959
1959
|
switch (errorCode) {
|
|
@@ -1999,7 +1999,7 @@ exports.deserializeAws_restJson1GetQueryStatisticsCommand = deserializeAws_restJ
|
|
|
1999
1999
|
const deserializeAws_restJson1GetQueryStatisticsCommandError = async (output, context) => {
|
|
2000
2000
|
const parsedOutput = {
|
|
2001
2001
|
...output,
|
|
2002
|
-
body: await
|
|
2002
|
+
body: await parseErrorBody(output.body, context),
|
|
2003
2003
|
};
|
|
2004
2004
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2005
2005
|
switch (errorCode) {
|
|
@@ -2054,7 +2054,7 @@ exports.deserializeAws_restJson1GetResourceLFTagsCommand = deserializeAws_restJs
|
|
|
2054
2054
|
const deserializeAws_restJson1GetResourceLFTagsCommandError = async (output, context) => {
|
|
2055
2055
|
const parsedOutput = {
|
|
2056
2056
|
...output,
|
|
2057
|
-
body: await
|
|
2057
|
+
body: await parseErrorBody(output.body, context),
|
|
2058
2058
|
};
|
|
2059
2059
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2060
2060
|
switch (errorCode) {
|
|
@@ -2106,7 +2106,7 @@ exports.deserializeAws_restJson1GetTableObjectsCommand = deserializeAws_restJson
|
|
|
2106
2106
|
const deserializeAws_restJson1GetTableObjectsCommandError = async (output, context) => {
|
|
2107
2107
|
const parsedOutput = {
|
|
2108
2108
|
...output,
|
|
2109
|
-
body: await
|
|
2109
|
+
body: await parseErrorBody(output.body, context),
|
|
2110
2110
|
};
|
|
2111
2111
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2112
2112
|
switch (errorCode) {
|
|
@@ -2167,7 +2167,7 @@ exports.deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand = de
|
|
|
2167
2167
|
const deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommandError = async (output, context) => {
|
|
2168
2168
|
const parsedOutput = {
|
|
2169
2169
|
...output,
|
|
2170
|
-
body: await
|
|
2170
|
+
body: await parseErrorBody(output.body, context),
|
|
2171
2171
|
};
|
|
2172
2172
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2173
2173
|
switch (errorCode) {
|
|
@@ -2225,7 +2225,7 @@ exports.deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommand = deseri
|
|
|
2225
2225
|
const deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommandError = async (output, context) => {
|
|
2226
2226
|
const parsedOutput = {
|
|
2227
2227
|
...output,
|
|
2228
|
-
body: await
|
|
2228
|
+
body: await parseErrorBody(output.body, context),
|
|
2229
2229
|
};
|
|
2230
2230
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2231
2231
|
switch (errorCode) {
|
|
@@ -2272,7 +2272,7 @@ exports.deserializeAws_restJson1GetWorkUnitResultsCommand = deserializeAws_restJ
|
|
|
2272
2272
|
const deserializeAws_restJson1GetWorkUnitResultsCommandError = async (output, context) => {
|
|
2273
2273
|
const parsedOutput = {
|
|
2274
2274
|
...output,
|
|
2275
|
-
body: await
|
|
2275
|
+
body: await parseErrorBody(output.body, context),
|
|
2276
2276
|
};
|
|
2277
2277
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2278
2278
|
switch (errorCode) {
|
|
@@ -2324,7 +2324,7 @@ exports.deserializeAws_restJson1GetWorkUnitsCommand = deserializeAws_restJson1Ge
|
|
|
2324
2324
|
const deserializeAws_restJson1GetWorkUnitsCommandError = async (output, context) => {
|
|
2325
2325
|
const parsedOutput = {
|
|
2326
2326
|
...output,
|
|
2327
|
-
body: await
|
|
2327
|
+
body: await parseErrorBody(output.body, context),
|
|
2328
2328
|
};
|
|
2329
2329
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2330
2330
|
switch (errorCode) {
|
|
@@ -2367,7 +2367,7 @@ exports.deserializeAws_restJson1GrantPermissionsCommand = deserializeAws_restJso
|
|
|
2367
2367
|
const deserializeAws_restJson1GrantPermissionsCommandError = async (output, context) => {
|
|
2368
2368
|
const parsedOutput = {
|
|
2369
2369
|
...output,
|
|
2370
|
-
body: await
|
|
2370
|
+
body: await parseErrorBody(output.body, context),
|
|
2371
2371
|
};
|
|
2372
2372
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2373
2373
|
switch (errorCode) {
|
|
@@ -2410,7 +2410,7 @@ exports.deserializeAws_restJson1ListDataCellsFilterCommand = deserializeAws_rest
|
|
|
2410
2410
|
const deserializeAws_restJson1ListDataCellsFilterCommandError = async (output, context) => {
|
|
2411
2411
|
const parsedOutput = {
|
|
2412
2412
|
...output,
|
|
2413
|
-
body: await
|
|
2413
|
+
body: await parseErrorBody(output.body, context),
|
|
2414
2414
|
};
|
|
2415
2415
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2416
2416
|
switch (errorCode) {
|
|
@@ -2456,7 +2456,7 @@ exports.deserializeAws_restJson1ListLFTagsCommand = deserializeAws_restJson1List
|
|
|
2456
2456
|
const deserializeAws_restJson1ListLFTagsCommandError = async (output, context) => {
|
|
2457
2457
|
const parsedOutput = {
|
|
2458
2458
|
...output,
|
|
2459
|
-
body: await
|
|
2459
|
+
body: await parseErrorBody(output.body, context),
|
|
2460
2460
|
};
|
|
2461
2461
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2462
2462
|
switch (errorCode) {
|
|
@@ -2505,7 +2505,7 @@ exports.deserializeAws_restJson1ListPermissionsCommand = deserializeAws_restJson
|
|
|
2505
2505
|
const deserializeAws_restJson1ListPermissionsCommandError = async (output, context) => {
|
|
2506
2506
|
const parsedOutput = {
|
|
2507
2507
|
...output,
|
|
2508
|
-
body: await
|
|
2508
|
+
body: await parseErrorBody(output.body, context),
|
|
2509
2509
|
};
|
|
2510
2510
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2511
2511
|
switch (errorCode) {
|
|
@@ -2548,7 +2548,7 @@ exports.deserializeAws_restJson1ListResourcesCommand = deserializeAws_restJson1L
|
|
|
2548
2548
|
const deserializeAws_restJson1ListResourcesCommandError = async (output, context) => {
|
|
2549
2549
|
const parsedOutput = {
|
|
2550
2550
|
...output,
|
|
2551
|
-
body: await
|
|
2551
|
+
body: await parseErrorBody(output.body, context),
|
|
2552
2552
|
};
|
|
2553
2553
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2554
2554
|
switch (errorCode) {
|
|
@@ -2591,7 +2591,7 @@ exports.deserializeAws_restJson1ListTableStorageOptimizersCommand = deserializeA
|
|
|
2591
2591
|
const deserializeAws_restJson1ListTableStorageOptimizersCommandError = async (output, context) => {
|
|
2592
2592
|
const parsedOutput = {
|
|
2593
2593
|
...output,
|
|
2594
|
-
body: await
|
|
2594
|
+
body: await parseErrorBody(output.body, context),
|
|
2595
2595
|
};
|
|
2596
2596
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2597
2597
|
switch (errorCode) {
|
|
@@ -2637,7 +2637,7 @@ exports.deserializeAws_restJson1ListTransactionsCommand = deserializeAws_restJso
|
|
|
2637
2637
|
const deserializeAws_restJson1ListTransactionsCommandError = async (output, context) => {
|
|
2638
2638
|
const parsedOutput = {
|
|
2639
2639
|
...output,
|
|
2640
|
-
body: await
|
|
2640
|
+
body: await parseErrorBody(output.body, context),
|
|
2641
2641
|
};
|
|
2642
2642
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2643
2643
|
switch (errorCode) {
|
|
@@ -2674,7 +2674,7 @@ exports.deserializeAws_restJson1PutDataLakeSettingsCommand = deserializeAws_rest
|
|
|
2674
2674
|
const deserializeAws_restJson1PutDataLakeSettingsCommandError = async (output, context) => {
|
|
2675
2675
|
const parsedOutput = {
|
|
2676
2676
|
...output,
|
|
2677
|
-
body: await
|
|
2677
|
+
body: await parseErrorBody(output.body, context),
|
|
2678
2678
|
};
|
|
2679
2679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2680
2680
|
switch (errorCode) {
|
|
@@ -2708,7 +2708,7 @@ exports.deserializeAws_restJson1RegisterResourceCommand = deserializeAws_restJso
|
|
|
2708
2708
|
const deserializeAws_restJson1RegisterResourceCommandError = async (output, context) => {
|
|
2709
2709
|
const parsedOutput = {
|
|
2710
2710
|
...output,
|
|
2711
|
-
body: await
|
|
2711
|
+
body: await parseErrorBody(output.body, context),
|
|
2712
2712
|
};
|
|
2713
2713
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2714
2714
|
switch (errorCode) {
|
|
@@ -2760,7 +2760,7 @@ exports.deserializeAws_restJson1RemoveLFTagsFromResourceCommand = deserializeAws
|
|
|
2760
2760
|
const deserializeAws_restJson1RemoveLFTagsFromResourceCommandError = async (output, context) => {
|
|
2761
2761
|
const parsedOutput = {
|
|
2762
2762
|
...output,
|
|
2763
|
-
body: await
|
|
2763
|
+
body: await parseErrorBody(output.body, context),
|
|
2764
2764
|
};
|
|
2765
2765
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2766
2766
|
switch (errorCode) {
|
|
@@ -2809,7 +2809,7 @@ exports.deserializeAws_restJson1RevokePermissionsCommand = deserializeAws_restJs
|
|
|
2809
2809
|
const deserializeAws_restJson1RevokePermissionsCommandError = async (output, context) => {
|
|
2810
2810
|
const parsedOutput = {
|
|
2811
2811
|
...output,
|
|
2812
|
-
body: await
|
|
2812
|
+
body: await parseErrorBody(output.body, context),
|
|
2813
2813
|
};
|
|
2814
2814
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2815
2815
|
switch (errorCode) {
|
|
@@ -2852,7 +2852,7 @@ exports.deserializeAws_restJson1SearchDatabasesByLFTagsCommand = deserializeAws_
|
|
|
2852
2852
|
const deserializeAws_restJson1SearchDatabasesByLFTagsCommandError = async (output, context) => {
|
|
2853
2853
|
const parsedOutput = {
|
|
2854
2854
|
...output,
|
|
2855
|
-
body: await
|
|
2855
|
+
body: await parseErrorBody(output.body, context),
|
|
2856
2856
|
};
|
|
2857
2857
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2858
2858
|
switch (errorCode) {
|
|
@@ -2904,7 +2904,7 @@ exports.deserializeAws_restJson1SearchTablesByLFTagsCommand = deserializeAws_res
|
|
|
2904
2904
|
const deserializeAws_restJson1SearchTablesByLFTagsCommandError = async (output, context) => {
|
|
2905
2905
|
const parsedOutput = {
|
|
2906
2906
|
...output,
|
|
2907
|
-
body: await
|
|
2907
|
+
body: await parseErrorBody(output.body, context),
|
|
2908
2908
|
};
|
|
2909
2909
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2910
2910
|
switch (errorCode) {
|
|
@@ -2953,7 +2953,7 @@ exports.deserializeAws_restJson1StartQueryPlanningCommand = deserializeAws_restJ
|
|
|
2953
2953
|
const deserializeAws_restJson1StartQueryPlanningCommandError = async (output, context) => {
|
|
2954
2954
|
const parsedOutput = {
|
|
2955
2955
|
...output,
|
|
2956
|
-
body: await
|
|
2956
|
+
body: await parseErrorBody(output.body, context),
|
|
2957
2957
|
};
|
|
2958
2958
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2959
2959
|
switch (errorCode) {
|
|
@@ -2996,7 +2996,7 @@ exports.deserializeAws_restJson1StartTransactionCommand = deserializeAws_restJso
|
|
|
2996
2996
|
const deserializeAws_restJson1StartTransactionCommandError = async (output, context) => {
|
|
2997
2997
|
const parsedOutput = {
|
|
2998
2998
|
...output,
|
|
2999
|
-
body: await
|
|
2999
|
+
body: await parseErrorBody(output.body, context),
|
|
3000
3000
|
};
|
|
3001
3001
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3002
3002
|
switch (errorCode) {
|
|
@@ -3030,7 +3030,7 @@ exports.deserializeAws_restJson1UpdateLFTagCommand = deserializeAws_restJson1Upd
|
|
|
3030
3030
|
const deserializeAws_restJson1UpdateLFTagCommandError = async (output, context) => {
|
|
3031
3031
|
const parsedOutput = {
|
|
3032
3032
|
...output,
|
|
3033
|
-
body: await
|
|
3033
|
+
body: await parseErrorBody(output.body, context),
|
|
3034
3034
|
};
|
|
3035
3035
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3036
3036
|
switch (errorCode) {
|
|
@@ -3076,7 +3076,7 @@ exports.deserializeAws_restJson1UpdateResourceCommand = deserializeAws_restJson1
|
|
|
3076
3076
|
const deserializeAws_restJson1UpdateResourceCommandError = async (output, context) => {
|
|
3077
3077
|
const parsedOutput = {
|
|
3078
3078
|
...output,
|
|
3079
|
-
body: await
|
|
3079
|
+
body: await parseErrorBody(output.body, context),
|
|
3080
3080
|
};
|
|
3081
3081
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3082
3082
|
switch (errorCode) {
|
|
@@ -3116,7 +3116,7 @@ exports.deserializeAws_restJson1UpdateTableObjectsCommand = deserializeAws_restJ
|
|
|
3116
3116
|
const deserializeAws_restJson1UpdateTableObjectsCommandError = async (output, context) => {
|
|
3117
3117
|
const parsedOutput = {
|
|
3118
3118
|
...output,
|
|
3119
|
-
body: await
|
|
3119
|
+
body: await parseErrorBody(output.body, context),
|
|
3120
3120
|
};
|
|
3121
3121
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3122
3122
|
switch (errorCode) {
|
|
@@ -3174,7 +3174,7 @@ exports.deserializeAws_restJson1UpdateTableStorageOptimizerCommand = deserialize
|
|
|
3174
3174
|
const deserializeAws_restJson1UpdateTableStorageOptimizerCommandError = async (output, context) => {
|
|
3175
3175
|
const parsedOutput = {
|
|
3176
3176
|
...output,
|
|
3177
|
-
body: await
|
|
3177
|
+
body: await parseErrorBody(output.body, context),
|
|
3178
3178
|
};
|
|
3179
3179
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3180
3180
|
switch (errorCode) {
|
|
@@ -4401,6 +4401,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
4401
4401
|
}
|
|
4402
4402
|
return {};
|
|
4403
4403
|
});
|
|
4404
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
4405
|
+
var _a;
|
|
4406
|
+
const value = await parseBody(errorBody, context);
|
|
4407
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
4408
|
+
return value;
|
|
4409
|
+
};
|
|
4404
4410
|
const loadRestJsonErrorCode = (output, data) => {
|
|
4405
4411
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
4406
4412
|
const sanitizeErrorCode = (rawValue) => {
|