@aws-sdk/client-lakeformation 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/LakeFormationClient.js +13 -13
- package/dist-cjs/commands/AddLFTagsToResourceCommand.js +3 -3
- package/dist-cjs/commands/BatchGrantPermissionsCommand.js +3 -3
- package/dist-cjs/commands/BatchRevokePermissionsCommand.js +3 -3
- package/dist-cjs/commands/CancelTransactionCommand.js +3 -3
- package/dist-cjs/commands/CommitTransactionCommand.js +3 -3
- package/dist-cjs/commands/CreateDataCellsFilterCommand.js +3 -3
- package/dist-cjs/commands/CreateLFTagCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataCellsFilterCommand.js +3 -3
- package/dist-cjs/commands/DeleteLFTagCommand.js +3 -3
- package/dist-cjs/commands/DeleteObjectsOnCancelCommand.js +3 -3
- package/dist-cjs/commands/DeregisterResourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransactionCommand.js +3 -3
- package/dist-cjs/commands/ExtendTransactionCommand.js +3 -3
- package/dist-cjs/commands/GetDataLakeSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetEffectivePermissionsForPathCommand.js +3 -3
- package/dist-cjs/commands/GetLFTagCommand.js +3 -3
- package/dist-cjs/commands/GetQueryStateCommand.js +3 -3
- package/dist-cjs/commands/GetQueryStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetResourceLFTagsCommand.js +3 -3
- package/dist-cjs/commands/GetTableObjectsCommand.js +3 -3
- package/dist-cjs/commands/GetTemporaryGluePartitionCredentialsCommand.js +3 -3
- package/dist-cjs/commands/GetTemporaryGlueTableCredentialsCommand.js +3 -3
- package/dist-cjs/commands/GetWorkUnitResultsCommand.js +3 -3
- package/dist-cjs/commands/GetWorkUnitsCommand.js +3 -3
- package/dist-cjs/commands/GrantPermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListDataCellsFilterCommand.js +3 -3
- package/dist-cjs/commands/ListLFTagsCommand.js +3 -3
- package/dist-cjs/commands/ListPermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListTableStorageOptimizersCommand.js +3 -3
- package/dist-cjs/commands/ListTransactionsCommand.js +3 -3
- package/dist-cjs/commands/PutDataLakeSettingsCommand.js +3 -3
- package/dist-cjs/commands/RegisterResourceCommand.js +3 -3
- package/dist-cjs/commands/RemoveLFTagsFromResourceCommand.js +3 -3
- package/dist-cjs/commands/RevokePermissionsCommand.js +3 -3
- package/dist-cjs/commands/SearchDatabasesByLFTagsCommand.js +3 -3
- package/dist-cjs/commands/SearchTablesByLFTagsCommand.js +3 -3
- package/dist-cjs/commands/StartQueryPlanningCommand.js +3 -3
- package/dist-cjs/commands/StartTransactionCommand.js +3 -3
- package/dist-cjs/commands/UpdateLFTagCommand.js +3 -3
- package/dist-cjs/commands/UpdateResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableObjectsCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableStorageOptimizerCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +206 -206
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/LakeFormation.js +44 -44
- package/dist-es/pagination/GetEffectivePermissionsForPathPaginator.js +4 -4
- package/dist-es/pagination/GetTableObjectsPaginator.js +4 -4
- package/dist-es/pagination/GetWorkUnitsPaginator.js +4 -4
- package/dist-es/pagination/ListDataCellsFilterPaginator.js +4 -4
- package/dist-es/pagination/ListLFTagsPaginator.js +4 -4
- package/dist-es/pagination/ListPermissionsPaginator.js +4 -4
- package/dist-es/pagination/ListResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListTableStorageOptimizersPaginator.js +4 -4
- package/dist-es/pagination/ListTransactionsPaginator.js +4 -4
- package/dist-es/pagination/SearchDatabasesByLFTagsPaginator.js +4 -4
- package/dist-es/pagination/SearchTablesByLFTagsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +44 -44
- package/dist-types/LakeFormationClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/LakeFormationClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -406,7 +406,7 @@ const serializeAws_restJson1GetQueryStateCommand = async (input, context) => {
|
|
|
406
406
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
407
407
|
if (context.disableHostPrefix !== true) {
|
|
408
408
|
resolvedHostname = "query-" + resolvedHostname;
|
|
409
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
409
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
410
410
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
411
411
|
}
|
|
412
412
|
}
|
|
@@ -434,7 +434,7 @@ const serializeAws_restJson1GetQueryStatisticsCommand = async (input, context) =
|
|
|
434
434
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
435
435
|
if (context.disableHostPrefix !== true) {
|
|
436
436
|
resolvedHostname = "query-" + resolvedHostname;
|
|
437
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
437
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
438
438
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
439
439
|
}
|
|
440
440
|
}
|
|
@@ -583,7 +583,7 @@ const serializeAws_restJson1GetWorkUnitResultsCommand = async (input, context) =
|
|
|
583
583
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
584
584
|
if (context.disableHostPrefix !== true) {
|
|
585
585
|
resolvedHostname = "data-" + resolvedHostname;
|
|
586
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
586
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
587
587
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
588
588
|
}
|
|
589
589
|
}
|
|
@@ -613,7 +613,7 @@ const serializeAws_restJson1GetWorkUnitsCommand = async (input, context) => {
|
|
|
613
613
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
614
614
|
if (context.disableHostPrefix !== true) {
|
|
615
615
|
resolvedHostname = "query-" + resolvedHostname;
|
|
616
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
616
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
617
617
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
618
618
|
}
|
|
619
619
|
}
|
|
@@ -987,7 +987,7 @@ const serializeAws_restJson1StartQueryPlanningCommand = async (input, context) =
|
|
|
987
987
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
988
988
|
if (context.disableHostPrefix !== true) {
|
|
989
989
|
resolvedHostname = "query-" + resolvedHostname;
|
|
990
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
990
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
991
991
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
992
992
|
}
|
|
993
993
|
}
|
|
@@ -1139,7 +1139,7 @@ const deserializeAws_restJson1AddLFTagsToResourceCommand = async (output, contex
|
|
|
1139
1139
|
$metadata: deserializeMetadata(output),
|
|
1140
1140
|
Failures: undefined,
|
|
1141
1141
|
};
|
|
1142
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1142
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1143
1143
|
if (data.Failures !== undefined && data.Failures !== null) {
|
|
1144
1144
|
contents.Failures = deserializeAws_restJson1LFTagErrors(data.Failures, context);
|
|
1145
1145
|
}
|
|
@@ -1180,7 +1180,7 @@ const deserializeAws_restJson1AddLFTagsToResourceCommandError = async (output, c
|
|
|
1180
1180
|
$fault: "client",
|
|
1181
1181
|
$metadata: deserializeMetadata(output),
|
|
1182
1182
|
});
|
|
1183
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1183
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1184
1184
|
}
|
|
1185
1185
|
};
|
|
1186
1186
|
const deserializeAws_restJson1BatchGrantPermissionsCommand = async (output, context) => {
|
|
@@ -1191,7 +1191,7 @@ const deserializeAws_restJson1BatchGrantPermissionsCommand = async (output, cont
|
|
|
1191
1191
|
$metadata: deserializeMetadata(output),
|
|
1192
1192
|
Failures: undefined,
|
|
1193
1193
|
};
|
|
1194
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1194
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1195
1195
|
if (data.Failures !== undefined && data.Failures !== null) {
|
|
1196
1196
|
contents.Failures = deserializeAws_restJson1BatchPermissionsFailureList(data.Failures, context);
|
|
1197
1197
|
}
|
|
@@ -1220,7 +1220,7 @@ const deserializeAws_restJson1BatchGrantPermissionsCommandError = async (output,
|
|
|
1220
1220
|
$fault: "client",
|
|
1221
1221
|
$metadata: deserializeMetadata(output),
|
|
1222
1222
|
});
|
|
1223
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1223
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1224
1224
|
}
|
|
1225
1225
|
};
|
|
1226
1226
|
const deserializeAws_restJson1BatchRevokePermissionsCommand = async (output, context) => {
|
|
@@ -1231,7 +1231,7 @@ const deserializeAws_restJson1BatchRevokePermissionsCommand = async (output, con
|
|
|
1231
1231
|
$metadata: deserializeMetadata(output),
|
|
1232
1232
|
Failures: undefined,
|
|
1233
1233
|
};
|
|
1234
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1234
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1235
1235
|
if (data.Failures !== undefined && data.Failures !== null) {
|
|
1236
1236
|
contents.Failures = deserializeAws_restJson1BatchPermissionsFailureList(data.Failures, context);
|
|
1237
1237
|
}
|
|
@@ -1260,7 +1260,7 @@ const deserializeAws_restJson1BatchRevokePermissionsCommandError = async (output
|
|
|
1260
1260
|
$fault: "client",
|
|
1261
1261
|
$metadata: deserializeMetadata(output),
|
|
1262
1262
|
});
|
|
1263
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1263
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1264
1264
|
}
|
|
1265
1265
|
};
|
|
1266
1266
|
const deserializeAws_restJson1CancelTransactionCommand = async (output, context) => {
|
|
@@ -1311,7 +1311,7 @@ const deserializeAws_restJson1CancelTransactionCommandError = async (output, con
|
|
|
1311
1311
|
$fault: "client",
|
|
1312
1312
|
$metadata: deserializeMetadata(output),
|
|
1313
1313
|
});
|
|
1314
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1314
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1315
1315
|
}
|
|
1316
1316
|
};
|
|
1317
1317
|
const deserializeAws_restJson1CommitTransactionCommand = async (output, context) => {
|
|
@@ -1322,9 +1322,9 @@ const deserializeAws_restJson1CommitTransactionCommand = async (output, context)
|
|
|
1322
1322
|
$metadata: deserializeMetadata(output),
|
|
1323
1323
|
TransactionStatus: undefined,
|
|
1324
1324
|
};
|
|
1325
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1325
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1326
1326
|
if (data.TransactionStatus !== undefined && data.TransactionStatus !== null) {
|
|
1327
|
-
contents.TransactionStatus = smithy_client_1.expectString(data.TransactionStatus);
|
|
1327
|
+
contents.TransactionStatus = (0, smithy_client_1.expectString)(data.TransactionStatus);
|
|
1328
1328
|
}
|
|
1329
1329
|
return Promise.resolve(contents);
|
|
1330
1330
|
};
|
|
@@ -1363,7 +1363,7 @@ const deserializeAws_restJson1CommitTransactionCommandError = async (output, con
|
|
|
1363
1363
|
$fault: "client",
|
|
1364
1364
|
$metadata: deserializeMetadata(output),
|
|
1365
1365
|
});
|
|
1366
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1366
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1367
1367
|
}
|
|
1368
1368
|
};
|
|
1369
1369
|
const deserializeAws_restJson1CreateDataCellsFilterCommand = async (output, context) => {
|
|
@@ -1414,7 +1414,7 @@ const deserializeAws_restJson1CreateDataCellsFilterCommandError = async (output,
|
|
|
1414
1414
|
$fault: "client",
|
|
1415
1415
|
$metadata: deserializeMetadata(output),
|
|
1416
1416
|
});
|
|
1417
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1417
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1418
1418
|
}
|
|
1419
1419
|
};
|
|
1420
1420
|
const deserializeAws_restJson1CreateLFTagCommand = async (output, context) => {
|
|
@@ -1462,7 +1462,7 @@ const deserializeAws_restJson1CreateLFTagCommandError = async (output, context)
|
|
|
1462
1462
|
$fault: "client",
|
|
1463
1463
|
$metadata: deserializeMetadata(output),
|
|
1464
1464
|
});
|
|
1465
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1465
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1466
1466
|
}
|
|
1467
1467
|
};
|
|
1468
1468
|
const deserializeAws_restJson1DeleteDataCellsFilterCommand = async (output, context) => {
|
|
@@ -1507,7 +1507,7 @@ const deserializeAws_restJson1DeleteDataCellsFilterCommandError = async (output,
|
|
|
1507
1507
|
$fault: "client",
|
|
1508
1508
|
$metadata: deserializeMetadata(output),
|
|
1509
1509
|
});
|
|
1510
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1510
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1511
1511
|
}
|
|
1512
1512
|
};
|
|
1513
1513
|
const deserializeAws_restJson1DeleteLFTagCommand = async (output, context) => {
|
|
@@ -1552,7 +1552,7 @@ const deserializeAws_restJson1DeleteLFTagCommandError = async (output, context)
|
|
|
1552
1552
|
$fault: "client",
|
|
1553
1553
|
$metadata: deserializeMetadata(output),
|
|
1554
1554
|
});
|
|
1555
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1555
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1556
1556
|
}
|
|
1557
1557
|
};
|
|
1558
1558
|
const deserializeAws_restJson1DeleteObjectsOnCancelCommand = async (output, context) => {
|
|
@@ -1606,7 +1606,7 @@ const deserializeAws_restJson1DeleteObjectsOnCancelCommandError = async (output,
|
|
|
1606
1606
|
$fault: "client",
|
|
1607
1607
|
$metadata: deserializeMetadata(output),
|
|
1608
1608
|
});
|
|
1609
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1609
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1610
1610
|
}
|
|
1611
1611
|
};
|
|
1612
1612
|
const deserializeAws_restJson1DeregisterResourceCommand = async (output, context) => {
|
|
@@ -1648,7 +1648,7 @@ const deserializeAws_restJson1DeregisterResourceCommandError = async (output, co
|
|
|
1648
1648
|
$fault: "client",
|
|
1649
1649
|
$metadata: deserializeMetadata(output),
|
|
1650
1650
|
});
|
|
1651
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1651
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1652
1652
|
}
|
|
1653
1653
|
};
|
|
1654
1654
|
const deserializeAws_restJson1DescribeResourceCommand = async (output, context) => {
|
|
@@ -1659,7 +1659,7 @@ const deserializeAws_restJson1DescribeResourceCommand = async (output, context)
|
|
|
1659
1659
|
$metadata: deserializeMetadata(output),
|
|
1660
1660
|
ResourceInfo: undefined,
|
|
1661
1661
|
};
|
|
1662
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1662
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1663
1663
|
if (data.ResourceInfo !== undefined && data.ResourceInfo !== null) {
|
|
1664
1664
|
contents.ResourceInfo = deserializeAws_restJson1ResourceInfo(data.ResourceInfo, context);
|
|
1665
1665
|
}
|
|
@@ -1694,7 +1694,7 @@ const deserializeAws_restJson1DescribeResourceCommandError = async (output, cont
|
|
|
1694
1694
|
$fault: "client",
|
|
1695
1695
|
$metadata: deserializeMetadata(output),
|
|
1696
1696
|
});
|
|
1697
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1697
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1698
1698
|
}
|
|
1699
1699
|
};
|
|
1700
1700
|
const deserializeAws_restJson1DescribeTransactionCommand = async (output, context) => {
|
|
@@ -1705,7 +1705,7 @@ const deserializeAws_restJson1DescribeTransactionCommand = async (output, contex
|
|
|
1705
1705
|
$metadata: deserializeMetadata(output),
|
|
1706
1706
|
TransactionDescription: undefined,
|
|
1707
1707
|
};
|
|
1708
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1708
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1709
1709
|
if (data.TransactionDescription !== undefined && data.TransactionDescription !== null) {
|
|
1710
1710
|
contents.TransactionDescription = deserializeAws_restJson1TransactionDescription(data.TransactionDescription, context);
|
|
1711
1711
|
}
|
|
@@ -1740,7 +1740,7 @@ const deserializeAws_restJson1DescribeTransactionCommandError = async (output, c
|
|
|
1740
1740
|
$fault: "client",
|
|
1741
1741
|
$metadata: deserializeMetadata(output),
|
|
1742
1742
|
});
|
|
1743
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1743
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1744
1744
|
}
|
|
1745
1745
|
};
|
|
1746
1746
|
const deserializeAws_restJson1ExtendTransactionCommand = async (output, context) => {
|
|
@@ -1791,7 +1791,7 @@ const deserializeAws_restJson1ExtendTransactionCommandError = async (output, con
|
|
|
1791
1791
|
$fault: "client",
|
|
1792
1792
|
$metadata: deserializeMetadata(output),
|
|
1793
1793
|
});
|
|
1794
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1794
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1795
1795
|
}
|
|
1796
1796
|
};
|
|
1797
1797
|
const deserializeAws_restJson1GetDataLakeSettingsCommand = async (output, context) => {
|
|
@@ -1802,7 +1802,7 @@ const deserializeAws_restJson1GetDataLakeSettingsCommand = async (output, contex
|
|
|
1802
1802
|
$metadata: deserializeMetadata(output),
|
|
1803
1803
|
DataLakeSettings: undefined,
|
|
1804
1804
|
};
|
|
1805
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1805
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1806
1806
|
if (data.DataLakeSettings !== undefined && data.DataLakeSettings !== null) {
|
|
1807
1807
|
contents.DataLakeSettings = deserializeAws_restJson1DataLakeSettings(data.DataLakeSettings, context);
|
|
1808
1808
|
}
|
|
@@ -1834,7 +1834,7 @@ const deserializeAws_restJson1GetDataLakeSettingsCommandError = async (output, c
|
|
|
1834
1834
|
$fault: "client",
|
|
1835
1835
|
$metadata: deserializeMetadata(output),
|
|
1836
1836
|
});
|
|
1837
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1837
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1838
1838
|
}
|
|
1839
1839
|
};
|
|
1840
1840
|
const deserializeAws_restJson1GetEffectivePermissionsForPathCommand = async (output, context) => {
|
|
@@ -1846,9 +1846,9 @@ const deserializeAws_restJson1GetEffectivePermissionsForPathCommand = async (out
|
|
|
1846
1846
|
NextToken: undefined,
|
|
1847
1847
|
Permissions: undefined,
|
|
1848
1848
|
};
|
|
1849
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1849
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1850
1850
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1851
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1851
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1852
1852
|
}
|
|
1853
1853
|
if (data.Permissions !== undefined && data.Permissions !== null) {
|
|
1854
1854
|
contents.Permissions = deserializeAws_restJson1PrincipalResourcePermissionsList(data.Permissions, context);
|
|
@@ -1884,7 +1884,7 @@ const deserializeAws_restJson1GetEffectivePermissionsForPathCommandError = async
|
|
|
1884
1884
|
$fault: "client",
|
|
1885
1885
|
$metadata: deserializeMetadata(output),
|
|
1886
1886
|
});
|
|
1887
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1887
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1888
1888
|
}
|
|
1889
1889
|
};
|
|
1890
1890
|
const deserializeAws_restJson1GetLFTagCommand = async (output, context) => {
|
|
@@ -1897,12 +1897,12 @@ const deserializeAws_restJson1GetLFTagCommand = async (output, context) => {
|
|
|
1897
1897
|
TagKey: undefined,
|
|
1898
1898
|
TagValues: undefined,
|
|
1899
1899
|
};
|
|
1900
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1900
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1901
1901
|
if (data.CatalogId !== undefined && data.CatalogId !== null) {
|
|
1902
|
-
contents.CatalogId = smithy_client_1.expectString(data.CatalogId);
|
|
1902
|
+
contents.CatalogId = (0, smithy_client_1.expectString)(data.CatalogId);
|
|
1903
1903
|
}
|
|
1904
1904
|
if (data.TagKey !== undefined && data.TagKey !== null) {
|
|
1905
|
-
contents.TagKey = smithy_client_1.expectString(data.TagKey);
|
|
1905
|
+
contents.TagKey = (0, smithy_client_1.expectString)(data.TagKey);
|
|
1906
1906
|
}
|
|
1907
1907
|
if (data.TagValues !== undefined && data.TagValues !== null) {
|
|
1908
1908
|
contents.TagValues = deserializeAws_restJson1TagValueList(data.TagValues, context);
|
|
@@ -1941,7 +1941,7 @@ const deserializeAws_restJson1GetLFTagCommandError = async (output, context) =>
|
|
|
1941
1941
|
$fault: "client",
|
|
1942
1942
|
$metadata: deserializeMetadata(output),
|
|
1943
1943
|
});
|
|
1944
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1944
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1945
1945
|
}
|
|
1946
1946
|
};
|
|
1947
1947
|
const deserializeAws_restJson1GetQueryStateCommand = async (output, context) => {
|
|
@@ -1953,12 +1953,12 @@ const deserializeAws_restJson1GetQueryStateCommand = async (output, context) =>
|
|
|
1953
1953
|
Error: undefined,
|
|
1954
1954
|
State: undefined,
|
|
1955
1955
|
};
|
|
1956
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1956
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1957
1957
|
if (data.Error !== undefined && data.Error !== null) {
|
|
1958
|
-
contents.Error = smithy_client_1.expectString(data.Error);
|
|
1958
|
+
contents.Error = (0, smithy_client_1.expectString)(data.Error);
|
|
1959
1959
|
}
|
|
1960
1960
|
if (data.State !== undefined && data.State !== null) {
|
|
1961
|
-
contents.State = smithy_client_1.expectString(data.State);
|
|
1961
|
+
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
1962
1962
|
}
|
|
1963
1963
|
return Promise.resolve(contents);
|
|
1964
1964
|
};
|
|
@@ -1988,7 +1988,7 @@ const deserializeAws_restJson1GetQueryStateCommandError = async (output, context
|
|
|
1988
1988
|
$fault: "client",
|
|
1989
1989
|
$metadata: deserializeMetadata(output),
|
|
1990
1990
|
});
|
|
1991
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1991
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1992
1992
|
}
|
|
1993
1993
|
};
|
|
1994
1994
|
const deserializeAws_restJson1GetQueryStatisticsCommand = async (output, context) => {
|
|
@@ -2001,7 +2001,7 @@ const deserializeAws_restJson1GetQueryStatisticsCommand = async (output, context
|
|
|
2001
2001
|
PlanningStatistics: undefined,
|
|
2002
2002
|
QuerySubmissionTime: undefined,
|
|
2003
2003
|
};
|
|
2004
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2004
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2005
2005
|
if (data.ExecutionStatistics !== undefined && data.ExecutionStatistics !== null) {
|
|
2006
2006
|
contents.ExecutionStatistics = deserializeAws_restJson1ExecutionStatistics(data.ExecutionStatistics, context);
|
|
2007
2007
|
}
|
|
@@ -2009,7 +2009,7 @@ const deserializeAws_restJson1GetQueryStatisticsCommand = async (output, context
|
|
|
2009
2009
|
contents.PlanningStatistics = deserializeAws_restJson1PlanningStatistics(data.PlanningStatistics, context);
|
|
2010
2010
|
}
|
|
2011
2011
|
if (data.QuerySubmissionTime !== undefined && data.QuerySubmissionTime !== null) {
|
|
2012
|
-
contents.QuerySubmissionTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.QuerySubmissionTime));
|
|
2012
|
+
contents.QuerySubmissionTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.QuerySubmissionTime));
|
|
2013
2013
|
}
|
|
2014
2014
|
return Promise.resolve(contents);
|
|
2015
2015
|
};
|
|
@@ -2048,7 +2048,7 @@ const deserializeAws_restJson1GetQueryStatisticsCommandError = async (output, co
|
|
|
2048
2048
|
$fault: "client",
|
|
2049
2049
|
$metadata: deserializeMetadata(output),
|
|
2050
2050
|
});
|
|
2051
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2051
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2052
2052
|
}
|
|
2053
2053
|
};
|
|
2054
2054
|
const deserializeAws_restJson1GetResourceLFTagsCommand = async (output, context) => {
|
|
@@ -2061,7 +2061,7 @@ const deserializeAws_restJson1GetResourceLFTagsCommand = async (output, context)
|
|
|
2061
2061
|
LFTagsOnColumns: undefined,
|
|
2062
2062
|
LFTagsOnTable: undefined,
|
|
2063
2063
|
};
|
|
2064
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2064
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2065
2065
|
if (data.LFTagOnDatabase !== undefined && data.LFTagOnDatabase !== null) {
|
|
2066
2066
|
contents.LFTagOnDatabase = deserializeAws_restJson1LFTagsList(data.LFTagOnDatabase, context);
|
|
2067
2067
|
}
|
|
@@ -2108,7 +2108,7 @@ const deserializeAws_restJson1GetResourceLFTagsCommandError = async (output, con
|
|
|
2108
2108
|
$fault: "client",
|
|
2109
2109
|
$metadata: deserializeMetadata(output),
|
|
2110
2110
|
});
|
|
2111
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2111
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2112
2112
|
}
|
|
2113
2113
|
};
|
|
2114
2114
|
const deserializeAws_restJson1GetTableObjectsCommand = async (output, context) => {
|
|
@@ -2120,9 +2120,9 @@ const deserializeAws_restJson1GetTableObjectsCommand = async (output, context) =
|
|
|
2120
2120
|
NextToken: undefined,
|
|
2121
2121
|
Objects: undefined,
|
|
2122
2122
|
};
|
|
2123
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2123
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2124
2124
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2125
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2125
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2126
2126
|
}
|
|
2127
2127
|
if (data.Objects !== undefined && data.Objects !== null) {
|
|
2128
2128
|
contents.Objects = deserializeAws_restJson1PartitionedTableObjectsList(data.Objects, context);
|
|
@@ -2167,7 +2167,7 @@ const deserializeAws_restJson1GetTableObjectsCommandError = async (output, conte
|
|
|
2167
2167
|
$fault: "client",
|
|
2168
2168
|
$metadata: deserializeMetadata(output),
|
|
2169
2169
|
});
|
|
2170
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2170
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2171
2171
|
}
|
|
2172
2172
|
};
|
|
2173
2173
|
const deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand = async (output, context) => {
|
|
@@ -2181,18 +2181,18 @@ const deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand = asyn
|
|
|
2181
2181
|
SecretAccessKey: undefined,
|
|
2182
2182
|
SessionToken: undefined,
|
|
2183
2183
|
};
|
|
2184
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2184
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2185
2185
|
if (data.AccessKeyId !== undefined && data.AccessKeyId !== null) {
|
|
2186
|
-
contents.AccessKeyId = smithy_client_1.expectString(data.AccessKeyId);
|
|
2186
|
+
contents.AccessKeyId = (0, smithy_client_1.expectString)(data.AccessKeyId);
|
|
2187
2187
|
}
|
|
2188
2188
|
if (data.Expiration !== undefined && data.Expiration !== null) {
|
|
2189
|
-
contents.Expiration = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.Expiration)));
|
|
2189
|
+
contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.Expiration)));
|
|
2190
2190
|
}
|
|
2191
2191
|
if (data.SecretAccessKey !== undefined && data.SecretAccessKey !== null) {
|
|
2192
|
-
contents.SecretAccessKey = smithy_client_1.expectString(data.SecretAccessKey);
|
|
2192
|
+
contents.SecretAccessKey = (0, smithy_client_1.expectString)(data.SecretAccessKey);
|
|
2193
2193
|
}
|
|
2194
2194
|
if (data.SessionToken !== undefined && data.SessionToken !== null) {
|
|
2195
|
-
contents.SessionToken = smithy_client_1.expectString(data.SessionToken);
|
|
2195
|
+
contents.SessionToken = (0, smithy_client_1.expectString)(data.SessionToken);
|
|
2196
2196
|
}
|
|
2197
2197
|
return Promise.resolve(contents);
|
|
2198
2198
|
};
|
|
@@ -2231,7 +2231,7 @@ const deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommandError =
|
|
|
2231
2231
|
$fault: "client",
|
|
2232
2232
|
$metadata: deserializeMetadata(output),
|
|
2233
2233
|
});
|
|
2234
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2234
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2235
2235
|
}
|
|
2236
2236
|
};
|
|
2237
2237
|
const deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommand = async (output, context) => {
|
|
@@ -2245,18 +2245,18 @@ const deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommand = async (o
|
|
|
2245
2245
|
SecretAccessKey: undefined,
|
|
2246
2246
|
SessionToken: undefined,
|
|
2247
2247
|
};
|
|
2248
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2248
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2249
2249
|
if (data.AccessKeyId !== undefined && data.AccessKeyId !== null) {
|
|
2250
|
-
contents.AccessKeyId = smithy_client_1.expectString(data.AccessKeyId);
|
|
2250
|
+
contents.AccessKeyId = (0, smithy_client_1.expectString)(data.AccessKeyId);
|
|
2251
2251
|
}
|
|
2252
2252
|
if (data.Expiration !== undefined && data.Expiration !== null) {
|
|
2253
|
-
contents.Expiration = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.Expiration)));
|
|
2253
|
+
contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.Expiration)));
|
|
2254
2254
|
}
|
|
2255
2255
|
if (data.SecretAccessKey !== undefined && data.SecretAccessKey !== null) {
|
|
2256
|
-
contents.SecretAccessKey = smithy_client_1.expectString(data.SecretAccessKey);
|
|
2256
|
+
contents.SecretAccessKey = (0, smithy_client_1.expectString)(data.SecretAccessKey);
|
|
2257
2257
|
}
|
|
2258
2258
|
if (data.SessionToken !== undefined && data.SessionToken !== null) {
|
|
2259
|
-
contents.SessionToken = smithy_client_1.expectString(data.SessionToken);
|
|
2259
|
+
contents.SessionToken = (0, smithy_client_1.expectString)(data.SessionToken);
|
|
2260
2260
|
}
|
|
2261
2261
|
return Promise.resolve(contents);
|
|
2262
2262
|
};
|
|
@@ -2295,7 +2295,7 @@ const deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommandError = asy
|
|
|
2295
2295
|
$fault: "client",
|
|
2296
2296
|
$metadata: deserializeMetadata(output),
|
|
2297
2297
|
});
|
|
2298
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2298
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2299
2299
|
}
|
|
2300
2300
|
};
|
|
2301
2301
|
const deserializeAws_restJson1GetWorkUnitResultsCommand = async (output, context) => {
|
|
@@ -2342,7 +2342,7 @@ const deserializeAws_restJson1GetWorkUnitResultsCommandError = async (output, co
|
|
|
2342
2342
|
$fault: "client",
|
|
2343
2343
|
$metadata: deserializeMetadata(output),
|
|
2344
2344
|
});
|
|
2345
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2345
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2346
2346
|
}
|
|
2347
2347
|
};
|
|
2348
2348
|
const deserializeAws_restJson1GetWorkUnitsCommand = async (output, context) => {
|
|
@@ -2355,12 +2355,12 @@ const deserializeAws_restJson1GetWorkUnitsCommand = async (output, context) => {
|
|
|
2355
2355
|
QueryId: undefined,
|
|
2356
2356
|
WorkUnitRanges: undefined,
|
|
2357
2357
|
};
|
|
2358
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2358
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2359
2359
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2360
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2360
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2361
2361
|
}
|
|
2362
2362
|
if (data.QueryId !== undefined && data.QueryId !== null) {
|
|
2363
|
-
contents.QueryId = smithy_client_1.expectString(data.QueryId);
|
|
2363
|
+
contents.QueryId = (0, smithy_client_1.expectString)(data.QueryId);
|
|
2364
2364
|
}
|
|
2365
2365
|
if (data.WorkUnitRanges !== undefined && data.WorkUnitRanges !== null) {
|
|
2366
2366
|
contents.WorkUnitRanges = deserializeAws_restJson1WorkUnitRangeList(data.WorkUnitRanges, context);
|
|
@@ -2399,7 +2399,7 @@ const deserializeAws_restJson1GetWorkUnitsCommandError = async (output, context)
|
|
|
2399
2399
|
$fault: "client",
|
|
2400
2400
|
$metadata: deserializeMetadata(output),
|
|
2401
2401
|
});
|
|
2402
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2402
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2403
2403
|
}
|
|
2404
2404
|
};
|
|
2405
2405
|
const deserializeAws_restJson1GrantPermissionsCommand = async (output, context) => {
|
|
@@ -2438,7 +2438,7 @@ const deserializeAws_restJson1GrantPermissionsCommandError = async (output, cont
|
|
|
2438
2438
|
$fault: "client",
|
|
2439
2439
|
$metadata: deserializeMetadata(output),
|
|
2440
2440
|
});
|
|
2441
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2441
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2442
2442
|
}
|
|
2443
2443
|
};
|
|
2444
2444
|
const deserializeAws_restJson1ListDataCellsFilterCommand = async (output, context) => {
|
|
@@ -2450,12 +2450,12 @@ const deserializeAws_restJson1ListDataCellsFilterCommand = async (output, contex
|
|
|
2450
2450
|
DataCellsFilters: undefined,
|
|
2451
2451
|
NextToken: undefined,
|
|
2452
2452
|
};
|
|
2453
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2453
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2454
2454
|
if (data.DataCellsFilters !== undefined && data.DataCellsFilters !== null) {
|
|
2455
2455
|
contents.DataCellsFilters = deserializeAws_restJson1DataCellsFilterList(data.DataCellsFilters, context);
|
|
2456
2456
|
}
|
|
2457
2457
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2458
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2458
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2459
2459
|
}
|
|
2460
2460
|
return Promise.resolve(contents);
|
|
2461
2461
|
};
|
|
@@ -2488,7 +2488,7 @@ const deserializeAws_restJson1ListDataCellsFilterCommandError = async (output, c
|
|
|
2488
2488
|
$fault: "client",
|
|
2489
2489
|
$metadata: deserializeMetadata(output),
|
|
2490
2490
|
});
|
|
2491
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2491
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2492
2492
|
}
|
|
2493
2493
|
};
|
|
2494
2494
|
const deserializeAws_restJson1ListLFTagsCommand = async (output, context) => {
|
|
@@ -2500,12 +2500,12 @@ const deserializeAws_restJson1ListLFTagsCommand = async (output, context) => {
|
|
|
2500
2500
|
LFTags: undefined,
|
|
2501
2501
|
NextToken: undefined,
|
|
2502
2502
|
};
|
|
2503
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2503
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2504
2504
|
if (data.LFTags !== undefined && data.LFTags !== null) {
|
|
2505
2505
|
contents.LFTags = deserializeAws_restJson1LFTagsList(data.LFTags, context);
|
|
2506
2506
|
}
|
|
2507
2507
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2508
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2508
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2509
2509
|
}
|
|
2510
2510
|
return Promise.resolve(contents);
|
|
2511
2511
|
};
|
|
@@ -2541,7 +2541,7 @@ const deserializeAws_restJson1ListLFTagsCommandError = async (output, context) =
|
|
|
2541
2541
|
$fault: "client",
|
|
2542
2542
|
$metadata: deserializeMetadata(output),
|
|
2543
2543
|
});
|
|
2544
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2544
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2545
2545
|
}
|
|
2546
2546
|
};
|
|
2547
2547
|
const deserializeAws_restJson1ListPermissionsCommand = async (output, context) => {
|
|
@@ -2553,9 +2553,9 @@ const deserializeAws_restJson1ListPermissionsCommand = async (output, context) =
|
|
|
2553
2553
|
NextToken: undefined,
|
|
2554
2554
|
PrincipalResourcePermissions: undefined,
|
|
2555
2555
|
};
|
|
2556
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2556
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2557
2557
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2558
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2558
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2559
2559
|
}
|
|
2560
2560
|
if (data.PrincipalResourcePermissions !== undefined && data.PrincipalResourcePermissions !== null) {
|
|
2561
2561
|
contents.PrincipalResourcePermissions = deserializeAws_restJson1PrincipalResourcePermissionsList(data.PrincipalResourcePermissions, context);
|
|
@@ -2588,7 +2588,7 @@ const deserializeAws_restJson1ListPermissionsCommandError = async (output, conte
|
|
|
2588
2588
|
$fault: "client",
|
|
2589
2589
|
$metadata: deserializeMetadata(output),
|
|
2590
2590
|
});
|
|
2591
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2591
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2592
2592
|
}
|
|
2593
2593
|
};
|
|
2594
2594
|
const deserializeAws_restJson1ListResourcesCommand = async (output, context) => {
|
|
@@ -2600,9 +2600,9 @@ const deserializeAws_restJson1ListResourcesCommand = async (output, context) =>
|
|
|
2600
2600
|
NextToken: undefined,
|
|
2601
2601
|
ResourceInfoList: undefined,
|
|
2602
2602
|
};
|
|
2603
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2603
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2604
2604
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2605
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2605
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2606
2606
|
}
|
|
2607
2607
|
if (data.ResourceInfoList !== undefined && data.ResourceInfoList !== null) {
|
|
2608
2608
|
contents.ResourceInfoList = deserializeAws_restJson1ResourceInfoList(data.ResourceInfoList, context);
|
|
@@ -2635,7 +2635,7 @@ const deserializeAws_restJson1ListResourcesCommandError = async (output, context
|
|
|
2635
2635
|
$fault: "client",
|
|
2636
2636
|
$metadata: deserializeMetadata(output),
|
|
2637
2637
|
});
|
|
2638
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2638
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2639
2639
|
}
|
|
2640
2640
|
};
|
|
2641
2641
|
const deserializeAws_restJson1ListTableStorageOptimizersCommand = async (output, context) => {
|
|
@@ -2647,9 +2647,9 @@ const deserializeAws_restJson1ListTableStorageOptimizersCommand = async (output,
|
|
|
2647
2647
|
NextToken: undefined,
|
|
2648
2648
|
StorageOptimizerList: undefined,
|
|
2649
2649
|
};
|
|
2650
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2650
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2651
2651
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2652
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2652
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2653
2653
|
}
|
|
2654
2654
|
if (data.StorageOptimizerList !== undefined && data.StorageOptimizerList !== null) {
|
|
2655
2655
|
contents.StorageOptimizerList = deserializeAws_restJson1StorageOptimizerList(data.StorageOptimizerList, context);
|
|
@@ -2685,7 +2685,7 @@ const deserializeAws_restJson1ListTableStorageOptimizersCommandError = async (ou
|
|
|
2685
2685
|
$fault: "client",
|
|
2686
2686
|
$metadata: deserializeMetadata(output),
|
|
2687
2687
|
});
|
|
2688
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2688
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2689
2689
|
}
|
|
2690
2690
|
};
|
|
2691
2691
|
const deserializeAws_restJson1ListTransactionsCommand = async (output, context) => {
|
|
@@ -2697,9 +2697,9 @@ const deserializeAws_restJson1ListTransactionsCommand = async (output, context)
|
|
|
2697
2697
|
NextToken: undefined,
|
|
2698
2698
|
Transactions: undefined,
|
|
2699
2699
|
};
|
|
2700
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2700
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2701
2701
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2702
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2702
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2703
2703
|
}
|
|
2704
2704
|
if (data.Transactions !== undefined && data.Transactions !== null) {
|
|
2705
2705
|
contents.Transactions = deserializeAws_restJson1TransactionDescriptionList(data.Transactions, context);
|
|
@@ -2732,7 +2732,7 @@ const deserializeAws_restJson1ListTransactionsCommandError = async (output, cont
|
|
|
2732
2732
|
$fault: "client",
|
|
2733
2733
|
$metadata: deserializeMetadata(output),
|
|
2734
2734
|
});
|
|
2735
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2735
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2736
2736
|
}
|
|
2737
2737
|
};
|
|
2738
2738
|
const deserializeAws_restJson1PutDataLakeSettingsCommand = async (output, context) => {
|
|
@@ -2768,7 +2768,7 @@ const deserializeAws_restJson1PutDataLakeSettingsCommandError = async (output, c
|
|
|
2768
2768
|
$fault: "client",
|
|
2769
2769
|
$metadata: deserializeMetadata(output),
|
|
2770
2770
|
});
|
|
2771
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2771
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2772
2772
|
}
|
|
2773
2773
|
};
|
|
2774
2774
|
const deserializeAws_restJson1RegisterResourceCommand = async (output, context) => {
|
|
@@ -2819,7 +2819,7 @@ const deserializeAws_restJson1RegisterResourceCommandError = async (output, cont
|
|
|
2819
2819
|
$fault: "client",
|
|
2820
2820
|
$metadata: deserializeMetadata(output),
|
|
2821
2821
|
});
|
|
2822
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2822
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2823
2823
|
}
|
|
2824
2824
|
};
|
|
2825
2825
|
const deserializeAws_restJson1RemoveLFTagsFromResourceCommand = async (output, context) => {
|
|
@@ -2830,7 +2830,7 @@ const deserializeAws_restJson1RemoveLFTagsFromResourceCommand = async (output, c
|
|
|
2830
2830
|
$metadata: deserializeMetadata(output),
|
|
2831
2831
|
Failures: undefined,
|
|
2832
2832
|
};
|
|
2833
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2833
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2834
2834
|
if (data.Failures !== undefined && data.Failures !== null) {
|
|
2835
2835
|
contents.Failures = deserializeAws_restJson1LFTagErrors(data.Failures, context);
|
|
2836
2836
|
}
|
|
@@ -2874,7 +2874,7 @@ const deserializeAws_restJson1RemoveLFTagsFromResourceCommandError = async (outp
|
|
|
2874
2874
|
$fault: "client",
|
|
2875
2875
|
$metadata: deserializeMetadata(output),
|
|
2876
2876
|
});
|
|
2877
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2877
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2878
2878
|
}
|
|
2879
2879
|
};
|
|
2880
2880
|
const deserializeAws_restJson1RevokePermissionsCommand = async (output, context) => {
|
|
@@ -2913,7 +2913,7 @@ const deserializeAws_restJson1RevokePermissionsCommandError = async (output, con
|
|
|
2913
2913
|
$fault: "client",
|
|
2914
2914
|
$metadata: deserializeMetadata(output),
|
|
2915
2915
|
});
|
|
2916
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2916
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2917
2917
|
}
|
|
2918
2918
|
};
|
|
2919
2919
|
const deserializeAws_restJson1SearchDatabasesByLFTagsCommand = async (output, context) => {
|
|
@@ -2925,12 +2925,12 @@ const deserializeAws_restJson1SearchDatabasesByLFTagsCommand = async (output, co
|
|
|
2925
2925
|
DatabaseList: undefined,
|
|
2926
2926
|
NextToken: undefined,
|
|
2927
2927
|
};
|
|
2928
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2928
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2929
2929
|
if (data.DatabaseList !== undefined && data.DatabaseList !== null) {
|
|
2930
2930
|
contents.DatabaseList = deserializeAws_restJson1DatabaseLFTagsList(data.DatabaseList, context);
|
|
2931
2931
|
}
|
|
2932
2932
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2933
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2933
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2934
2934
|
}
|
|
2935
2935
|
return Promise.resolve(contents);
|
|
2936
2936
|
};
|
|
@@ -2969,7 +2969,7 @@ const deserializeAws_restJson1SearchDatabasesByLFTagsCommandError = async (outpu
|
|
|
2969
2969
|
$fault: "client",
|
|
2970
2970
|
$metadata: deserializeMetadata(output),
|
|
2971
2971
|
});
|
|
2972
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2972
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2973
2973
|
}
|
|
2974
2974
|
};
|
|
2975
2975
|
const deserializeAws_restJson1SearchTablesByLFTagsCommand = async (output, context) => {
|
|
@@ -2981,9 +2981,9 @@ const deserializeAws_restJson1SearchTablesByLFTagsCommand = async (output, conte
|
|
|
2981
2981
|
NextToken: undefined,
|
|
2982
2982
|
TableList: undefined,
|
|
2983
2983
|
};
|
|
2984
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2984
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2985
2985
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2986
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2986
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2987
2987
|
}
|
|
2988
2988
|
if (data.TableList !== undefined && data.TableList !== null) {
|
|
2989
2989
|
contents.TableList = deserializeAws_restJson1TableLFTagsList(data.TableList, context);
|
|
@@ -3025,7 +3025,7 @@ const deserializeAws_restJson1SearchTablesByLFTagsCommandError = async (output,
|
|
|
3025
3025
|
$fault: "client",
|
|
3026
3026
|
$metadata: deserializeMetadata(output),
|
|
3027
3027
|
});
|
|
3028
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3028
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3029
3029
|
}
|
|
3030
3030
|
};
|
|
3031
3031
|
const deserializeAws_restJson1StartQueryPlanningCommand = async (output, context) => {
|
|
@@ -3036,9 +3036,9 @@ const deserializeAws_restJson1StartQueryPlanningCommand = async (output, context
|
|
|
3036
3036
|
$metadata: deserializeMetadata(output),
|
|
3037
3037
|
QueryId: undefined,
|
|
3038
3038
|
};
|
|
3039
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3039
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3040
3040
|
if (data.QueryId !== undefined && data.QueryId !== null) {
|
|
3041
|
-
contents.QueryId = smithy_client_1.expectString(data.QueryId);
|
|
3041
|
+
contents.QueryId = (0, smithy_client_1.expectString)(data.QueryId);
|
|
3042
3042
|
}
|
|
3043
3043
|
return Promise.resolve(contents);
|
|
3044
3044
|
};
|
|
@@ -3071,7 +3071,7 @@ const deserializeAws_restJson1StartQueryPlanningCommandError = async (output, co
|
|
|
3071
3071
|
$fault: "client",
|
|
3072
3072
|
$metadata: deserializeMetadata(output),
|
|
3073
3073
|
});
|
|
3074
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3074
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3075
3075
|
}
|
|
3076
3076
|
};
|
|
3077
3077
|
const deserializeAws_restJson1StartTransactionCommand = async (output, context) => {
|
|
@@ -3082,9 +3082,9 @@ const deserializeAws_restJson1StartTransactionCommand = async (output, context)
|
|
|
3082
3082
|
$metadata: deserializeMetadata(output),
|
|
3083
3083
|
TransactionId: undefined,
|
|
3084
3084
|
};
|
|
3085
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3085
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3086
3086
|
if (data.TransactionId !== undefined && data.TransactionId !== null) {
|
|
3087
|
-
contents.TransactionId = smithy_client_1.expectString(data.TransactionId);
|
|
3087
|
+
contents.TransactionId = (0, smithy_client_1.expectString)(data.TransactionId);
|
|
3088
3088
|
}
|
|
3089
3089
|
return Promise.resolve(contents);
|
|
3090
3090
|
};
|
|
@@ -3111,7 +3111,7 @@ const deserializeAws_restJson1StartTransactionCommandError = async (output, cont
|
|
|
3111
3111
|
$fault: "client",
|
|
3112
3112
|
$metadata: deserializeMetadata(output),
|
|
3113
3113
|
});
|
|
3114
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3114
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3115
3115
|
}
|
|
3116
3116
|
};
|
|
3117
3117
|
const deserializeAws_restJson1UpdateLFTagCommand = async (output, context) => {
|
|
@@ -3159,7 +3159,7 @@ const deserializeAws_restJson1UpdateLFTagCommandError = async (output, context)
|
|
|
3159
3159
|
$fault: "client",
|
|
3160
3160
|
$metadata: deserializeMetadata(output),
|
|
3161
3161
|
});
|
|
3162
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3162
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3163
3163
|
}
|
|
3164
3164
|
};
|
|
3165
3165
|
const deserializeAws_restJson1UpdateResourceCommand = async (output, context) => {
|
|
@@ -3201,7 +3201,7 @@ const deserializeAws_restJson1UpdateResourceCommandError = async (output, contex
|
|
|
3201
3201
|
$fault: "client",
|
|
3202
3202
|
$metadata: deserializeMetadata(output),
|
|
3203
3203
|
});
|
|
3204
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3204
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3205
3205
|
}
|
|
3206
3206
|
};
|
|
3207
3207
|
const deserializeAws_restJson1UpdateTableObjectsCommand = async (output, context) => {
|
|
@@ -3258,7 +3258,7 @@ const deserializeAws_restJson1UpdateTableObjectsCommandError = async (output, co
|
|
|
3258
3258
|
$fault: "client",
|
|
3259
3259
|
$metadata: deserializeMetadata(output),
|
|
3260
3260
|
});
|
|
3261
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3261
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3262
3262
|
}
|
|
3263
3263
|
};
|
|
3264
3264
|
const deserializeAws_restJson1UpdateTableStorageOptimizerCommand = async (output, context) => {
|
|
@@ -3269,9 +3269,9 @@ const deserializeAws_restJson1UpdateTableStorageOptimizerCommand = async (output
|
|
|
3269
3269
|
$metadata: deserializeMetadata(output),
|
|
3270
3270
|
Result: undefined,
|
|
3271
3271
|
};
|
|
3272
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3272
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3273
3273
|
if (data.Result !== undefined && data.Result !== null) {
|
|
3274
|
-
contents.Result = smithy_client_1.expectString(data.Result);
|
|
3274
|
+
contents.Result = (0, smithy_client_1.expectString)(data.Result);
|
|
3275
3275
|
}
|
|
3276
3276
|
return Promise.resolve(contents);
|
|
3277
3277
|
};
|
|
@@ -3304,224 +3304,224 @@ const deserializeAws_restJson1UpdateTableStorageOptimizerCommandError = async (o
|
|
|
3304
3304
|
$fault: "client",
|
|
3305
3305
|
$metadata: deserializeMetadata(output),
|
|
3306
3306
|
});
|
|
3307
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3307
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3308
3308
|
}
|
|
3309
3309
|
};
|
|
3310
3310
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
3311
3311
|
const contents = {};
|
|
3312
3312
|
const data = parsedOutput.body;
|
|
3313
3313
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3314
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3314
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3315
3315
|
}
|
|
3316
3316
|
const exception = new models_0_1.AccessDeniedException({
|
|
3317
3317
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3318
3318
|
...contents,
|
|
3319
3319
|
});
|
|
3320
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3320
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3321
3321
|
};
|
|
3322
3322
|
const deserializeAws_restJson1AlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
3323
3323
|
const contents = {};
|
|
3324
3324
|
const data = parsedOutput.body;
|
|
3325
3325
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3326
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3326
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3327
3327
|
}
|
|
3328
3328
|
const exception = new models_0_1.AlreadyExistsException({
|
|
3329
3329
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3330
3330
|
...contents,
|
|
3331
3331
|
});
|
|
3332
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3332
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3333
3333
|
};
|
|
3334
3334
|
const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
|
|
3335
3335
|
const contents = {};
|
|
3336
3336
|
const data = parsedOutput.body;
|
|
3337
3337
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3338
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3338
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3339
3339
|
}
|
|
3340
3340
|
const exception = new models_0_1.ConcurrentModificationException({
|
|
3341
3341
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3342
3342
|
...contents,
|
|
3343
3343
|
});
|
|
3344
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3344
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3345
3345
|
};
|
|
3346
3346
|
const deserializeAws_restJson1EntityNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3347
3347
|
const contents = {};
|
|
3348
3348
|
const data = parsedOutput.body;
|
|
3349
3349
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3350
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3350
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3351
3351
|
}
|
|
3352
3352
|
const exception = new models_0_1.EntityNotFoundException({
|
|
3353
3353
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3354
3354
|
...contents,
|
|
3355
3355
|
});
|
|
3356
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3356
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3357
3357
|
};
|
|
3358
3358
|
const deserializeAws_restJson1ExpiredExceptionResponse = async (parsedOutput, context) => {
|
|
3359
3359
|
const contents = {};
|
|
3360
3360
|
const data = parsedOutput.body;
|
|
3361
3361
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3362
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3362
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3363
3363
|
}
|
|
3364
3364
|
const exception = new models_0_1.ExpiredException({
|
|
3365
3365
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3366
3366
|
...contents,
|
|
3367
3367
|
});
|
|
3368
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3368
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3369
3369
|
};
|
|
3370
3370
|
const deserializeAws_restJson1GlueEncryptionExceptionResponse = async (parsedOutput, context) => {
|
|
3371
3371
|
const contents = {};
|
|
3372
3372
|
const data = parsedOutput.body;
|
|
3373
3373
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3374
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3374
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3375
3375
|
}
|
|
3376
3376
|
const exception = new models_0_1.GlueEncryptionException({
|
|
3377
3377
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3378
3378
|
...contents,
|
|
3379
3379
|
});
|
|
3380
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3380
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3381
3381
|
};
|
|
3382
3382
|
const deserializeAws_restJson1InternalServiceExceptionResponse = async (parsedOutput, context) => {
|
|
3383
3383
|
const contents = {};
|
|
3384
3384
|
const data = parsedOutput.body;
|
|
3385
3385
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3386
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3386
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3387
3387
|
}
|
|
3388
3388
|
const exception = new models_0_1.InternalServiceException({
|
|
3389
3389
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3390
3390
|
...contents,
|
|
3391
3391
|
});
|
|
3392
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3392
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3393
3393
|
};
|
|
3394
3394
|
const deserializeAws_restJson1InvalidInputExceptionResponse = async (parsedOutput, context) => {
|
|
3395
3395
|
const contents = {};
|
|
3396
3396
|
const data = parsedOutput.body;
|
|
3397
3397
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3398
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3398
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3399
3399
|
}
|
|
3400
3400
|
const exception = new models_0_1.InvalidInputException({
|
|
3401
3401
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3402
3402
|
...contents,
|
|
3403
3403
|
});
|
|
3404
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3404
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3405
3405
|
};
|
|
3406
3406
|
const deserializeAws_restJson1OperationTimeoutExceptionResponse = async (parsedOutput, context) => {
|
|
3407
3407
|
const contents = {};
|
|
3408
3408
|
const data = parsedOutput.body;
|
|
3409
3409
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3410
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3410
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3411
3411
|
}
|
|
3412
3412
|
const exception = new models_0_1.OperationTimeoutException({
|
|
3413
3413
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3414
3414
|
...contents,
|
|
3415
3415
|
});
|
|
3416
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3416
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3417
3417
|
};
|
|
3418
3418
|
const deserializeAws_restJson1PermissionTypeMismatchExceptionResponse = async (parsedOutput, context) => {
|
|
3419
3419
|
const contents = {};
|
|
3420
3420
|
const data = parsedOutput.body;
|
|
3421
3421
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3422
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3422
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3423
3423
|
}
|
|
3424
3424
|
const exception = new models_0_1.PermissionTypeMismatchException({
|
|
3425
3425
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3426
3426
|
...contents,
|
|
3427
3427
|
});
|
|
3428
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3428
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3429
3429
|
};
|
|
3430
3430
|
const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedOutput, context) => {
|
|
3431
3431
|
const contents = {};
|
|
3432
3432
|
const data = parsedOutput.body;
|
|
3433
3433
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3434
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3434
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3435
3435
|
}
|
|
3436
3436
|
const exception = new models_0_1.ResourceNotReadyException({
|
|
3437
3437
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3438
3438
|
...contents,
|
|
3439
3439
|
});
|
|
3440
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3440
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3441
3441
|
};
|
|
3442
3442
|
const deserializeAws_restJson1ResourceNumberLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3443
3443
|
const contents = {};
|
|
3444
3444
|
const data = parsedOutput.body;
|
|
3445
3445
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3446
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3446
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3447
3447
|
}
|
|
3448
3448
|
const exception = new models_0_1.ResourceNumberLimitExceededException({
|
|
3449
3449
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3450
3450
|
...contents,
|
|
3451
3451
|
});
|
|
3452
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3452
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3453
3453
|
};
|
|
3454
3454
|
const deserializeAws_restJson1StatisticsNotReadyYetExceptionResponse = async (parsedOutput, context) => {
|
|
3455
3455
|
const contents = {};
|
|
3456
3456
|
const data = parsedOutput.body;
|
|
3457
3457
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3458
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3458
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3459
3459
|
}
|
|
3460
3460
|
const exception = new models_0_1.StatisticsNotReadyYetException({
|
|
3461
3461
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3462
3462
|
...contents,
|
|
3463
3463
|
});
|
|
3464
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3464
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3465
3465
|
};
|
|
3466
3466
|
const deserializeAws_restJson1ThrottledExceptionResponse = async (parsedOutput, context) => {
|
|
3467
3467
|
const contents = {};
|
|
3468
3468
|
const data = parsedOutput.body;
|
|
3469
3469
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3470
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3470
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3471
3471
|
}
|
|
3472
3472
|
const exception = new models_0_1.ThrottledException({
|
|
3473
3473
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3474
3474
|
...contents,
|
|
3475
3475
|
});
|
|
3476
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3476
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3477
3477
|
};
|
|
3478
3478
|
const deserializeAws_restJson1TransactionCanceledExceptionResponse = async (parsedOutput, context) => {
|
|
3479
3479
|
const contents = {};
|
|
3480
3480
|
const data = parsedOutput.body;
|
|
3481
3481
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3482
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3482
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3483
3483
|
}
|
|
3484
3484
|
const exception = new models_0_1.TransactionCanceledException({
|
|
3485
3485
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3486
3486
|
...contents,
|
|
3487
3487
|
});
|
|
3488
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3488
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3489
3489
|
};
|
|
3490
3490
|
const deserializeAws_restJson1TransactionCommitInProgressExceptionResponse = async (parsedOutput, context) => {
|
|
3491
3491
|
const contents = {};
|
|
3492
3492
|
const data = parsedOutput.body;
|
|
3493
3493
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3494
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3494
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3495
3495
|
}
|
|
3496
3496
|
const exception = new models_0_1.TransactionCommitInProgressException({
|
|
3497
3497
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3498
3498
|
...contents,
|
|
3499
3499
|
});
|
|
3500
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3500
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3501
3501
|
};
|
|
3502
3502
|
const deserializeAws_restJson1TransactionCommittedExceptionResponse = async (parsedOutput, context) => {
|
|
3503
3503
|
const contents = {};
|
|
3504
3504
|
const data = parsedOutput.body;
|
|
3505
3505
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3506
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3506
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3507
3507
|
}
|
|
3508
3508
|
const exception = new models_0_1.TransactionCommittedException({
|
|
3509
3509
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3510
3510
|
...contents,
|
|
3511
3511
|
});
|
|
3512
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3512
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3513
3513
|
};
|
|
3514
3514
|
const deserializeAws_restJson1WorkUnitsNotReadyYetExceptionResponse = async (parsedOutput, context) => {
|
|
3515
3515
|
const contents = {};
|
|
3516
3516
|
const data = parsedOutput.body;
|
|
3517
3517
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3518
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3518
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3519
3519
|
}
|
|
3520
3520
|
const exception = new models_0_1.WorkUnitsNotReadyYetException({
|
|
3521
3521
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3522
3522
|
...contents,
|
|
3523
3523
|
});
|
|
3524
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3524
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3525
3525
|
};
|
|
3526
3526
|
const serializeAws_restJson1AddObjectInput = (input, context) => {
|
|
3527
3527
|
return {
|
|
@@ -4016,7 +4016,7 @@ const deserializeAws_restJson1AuthorizedSessionTagValueList = (output, context)
|
|
|
4016
4016
|
if (entry === null) {
|
|
4017
4017
|
return null;
|
|
4018
4018
|
}
|
|
4019
|
-
return smithy_client_1.expectString(entry);
|
|
4019
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4020
4020
|
});
|
|
4021
4021
|
return retVal;
|
|
4022
4022
|
};
|
|
@@ -4043,7 +4043,7 @@ const deserializeAws_restJson1BatchPermissionsFailureList = (output, context) =>
|
|
|
4043
4043
|
};
|
|
4044
4044
|
const deserializeAws_restJson1BatchPermissionsRequestEntry = (output, context) => {
|
|
4045
4045
|
return {
|
|
4046
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
4046
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4047
4047
|
Permissions: output.Permissions !== undefined && output.Permissions !== null
|
|
4048
4048
|
? deserializeAws_restJson1PermissionList(output.Permissions, context)
|
|
4049
4049
|
: undefined,
|
|
@@ -4066,7 +4066,7 @@ const deserializeAws_restJson1ColumnLFTag = (output, context) => {
|
|
|
4066
4066
|
LFTags: output.LFTags !== undefined && output.LFTags !== null
|
|
4067
4067
|
? deserializeAws_restJson1LFTagsList(output.LFTags, context)
|
|
4068
4068
|
: undefined,
|
|
4069
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4069
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4070
4070
|
};
|
|
4071
4071
|
};
|
|
4072
4072
|
const deserializeAws_restJson1ColumnLFTagsList = (output, context) => {
|
|
@@ -4087,7 +4087,7 @@ const deserializeAws_restJson1ColumnNames = (output, context) => {
|
|
|
4087
4087
|
if (entry === null) {
|
|
4088
4088
|
return null;
|
|
4089
4089
|
}
|
|
4090
|
-
return smithy_client_1.expectString(entry);
|
|
4090
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4091
4091
|
});
|
|
4092
4092
|
return retVal;
|
|
4093
4093
|
};
|
|
@@ -4111,8 +4111,8 @@ const deserializeAws_restJson1DatabaseLFTagsList = (output, context) => {
|
|
|
4111
4111
|
};
|
|
4112
4112
|
const deserializeAws_restJson1DatabaseResource = (output, context) => {
|
|
4113
4113
|
return {
|
|
4114
|
-
CatalogId: smithy_client_1.expectString(output.CatalogId),
|
|
4115
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4114
|
+
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
4115
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4116
4116
|
};
|
|
4117
4117
|
};
|
|
4118
4118
|
const deserializeAws_restJson1DataCellsFilter = (output, context) => {
|
|
@@ -4123,13 +4123,13 @@ const deserializeAws_restJson1DataCellsFilter = (output, context) => {
|
|
|
4123
4123
|
ColumnWildcard: output.ColumnWildcard !== undefined && output.ColumnWildcard !== null
|
|
4124
4124
|
? deserializeAws_restJson1ColumnWildcard(output.ColumnWildcard, context)
|
|
4125
4125
|
: undefined,
|
|
4126
|
-
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
4127
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4126
|
+
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
4127
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4128
4128
|
RowFilter: output.RowFilter !== undefined && output.RowFilter !== null
|
|
4129
4129
|
? deserializeAws_restJson1RowFilter(output.RowFilter, context)
|
|
4130
4130
|
: undefined,
|
|
4131
|
-
TableCatalogId: smithy_client_1.expectString(output.TableCatalogId),
|
|
4132
|
-
TableName: smithy_client_1.expectString(output.TableName),
|
|
4131
|
+
TableCatalogId: (0, smithy_client_1.expectString)(output.TableCatalogId),
|
|
4132
|
+
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
4133
4133
|
};
|
|
4134
4134
|
};
|
|
4135
4135
|
const deserializeAws_restJson1DataCellsFilterList = (output, context) => {
|
|
@@ -4145,15 +4145,15 @@ const deserializeAws_restJson1DataCellsFilterList = (output, context) => {
|
|
|
4145
4145
|
};
|
|
4146
4146
|
const deserializeAws_restJson1DataCellsFilterResource = (output, context) => {
|
|
4147
4147
|
return {
|
|
4148
|
-
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
4149
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4150
|
-
TableCatalogId: smithy_client_1.expectString(output.TableCatalogId),
|
|
4151
|
-
TableName: smithy_client_1.expectString(output.TableName),
|
|
4148
|
+
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
4149
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4150
|
+
TableCatalogId: (0, smithy_client_1.expectString)(output.TableCatalogId),
|
|
4151
|
+
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
4152
4152
|
};
|
|
4153
4153
|
};
|
|
4154
4154
|
const deserializeAws_restJson1DataLakePrincipal = (output, context) => {
|
|
4155
4155
|
return {
|
|
4156
|
-
DataLakePrincipalIdentifier: smithy_client_1.expectString(output.DataLakePrincipalIdentifier),
|
|
4156
|
+
DataLakePrincipalIdentifier: (0, smithy_client_1.expectString)(output.DataLakePrincipalIdentifier),
|
|
4157
4157
|
};
|
|
4158
4158
|
};
|
|
4159
4159
|
const deserializeAws_restJson1DataLakePrincipalList = (output, context) => {
|
|
@@ -4169,7 +4169,7 @@ const deserializeAws_restJson1DataLakePrincipalList = (output, context) => {
|
|
|
4169
4169
|
};
|
|
4170
4170
|
const deserializeAws_restJson1DataLakeSettings = (output, context) => {
|
|
4171
4171
|
return {
|
|
4172
|
-
AllowExternalDataFiltering: smithy_client_1.expectBoolean(output.AllowExternalDataFiltering),
|
|
4172
|
+
AllowExternalDataFiltering: (0, smithy_client_1.expectBoolean)(output.AllowExternalDataFiltering),
|
|
4173
4173
|
AuthorizedSessionTagValueList: output.AuthorizedSessionTagValueList !== undefined && output.AuthorizedSessionTagValueList !== null
|
|
4174
4174
|
? deserializeAws_restJson1AuthorizedSessionTagValueList(output.AuthorizedSessionTagValueList, context)
|
|
4175
4175
|
: undefined,
|
|
@@ -4192,8 +4192,8 @@ const deserializeAws_restJson1DataLakeSettings = (output, context) => {
|
|
|
4192
4192
|
};
|
|
4193
4193
|
const deserializeAws_restJson1DataLocationResource = (output, context) => {
|
|
4194
4194
|
return {
|
|
4195
|
-
CatalogId: smithy_client_1.expectString(output.CatalogId),
|
|
4196
|
-
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
4195
|
+
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
4196
|
+
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
4197
4197
|
};
|
|
4198
4198
|
};
|
|
4199
4199
|
const deserializeAws_restJson1DetailsMap = (output, context) => {
|
|
@@ -4205,15 +4205,15 @@ const deserializeAws_restJson1DetailsMap = (output, context) => {
|
|
|
4205
4205
|
};
|
|
4206
4206
|
const deserializeAws_restJson1ErrorDetail = (output, context) => {
|
|
4207
4207
|
return {
|
|
4208
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
4209
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
4208
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4209
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4210
4210
|
};
|
|
4211
4211
|
};
|
|
4212
4212
|
const deserializeAws_restJson1ExecutionStatistics = (output, context) => {
|
|
4213
4213
|
return {
|
|
4214
|
-
AverageExecutionTimeMillis: smithy_client_1.expectLong(output.AverageExecutionTimeMillis),
|
|
4215
|
-
DataScannedBytes: smithy_client_1.expectLong(output.DataScannedBytes),
|
|
4216
|
-
WorkUnitsExecutedCount: smithy_client_1.expectLong(output.WorkUnitsExecutedCount),
|
|
4214
|
+
AverageExecutionTimeMillis: (0, smithy_client_1.expectLong)(output.AverageExecutionTimeMillis),
|
|
4215
|
+
DataScannedBytes: (0, smithy_client_1.expectLong)(output.DataScannedBytes),
|
|
4216
|
+
WorkUnitsExecutedCount: (0, smithy_client_1.expectLong)(output.WorkUnitsExecutedCount),
|
|
4217
4217
|
};
|
|
4218
4218
|
};
|
|
4219
4219
|
const deserializeAws_restJson1Expression = (output, context) => {
|
|
@@ -4229,7 +4229,7 @@ const deserializeAws_restJson1Expression = (output, context) => {
|
|
|
4229
4229
|
};
|
|
4230
4230
|
const deserializeAws_restJson1LFTag = (output, context) => {
|
|
4231
4231
|
return {
|
|
4232
|
-
TagKey: smithy_client_1.expectString(output.TagKey),
|
|
4232
|
+
TagKey: (0, smithy_client_1.expectString)(output.TagKey),
|
|
4233
4233
|
TagValues: output.TagValues !== undefined && output.TagValues !== null
|
|
4234
4234
|
? deserializeAws_restJson1TagValueList(output.TagValues, context)
|
|
4235
4235
|
: undefined,
|
|
@@ -4258,8 +4258,8 @@ const deserializeAws_restJson1LFTagErrors = (output, context) => {
|
|
|
4258
4258
|
};
|
|
4259
4259
|
const deserializeAws_restJson1LFTagKeyResource = (output, context) => {
|
|
4260
4260
|
return {
|
|
4261
|
-
CatalogId: smithy_client_1.expectString(output.CatalogId),
|
|
4262
|
-
TagKey: smithy_client_1.expectString(output.TagKey),
|
|
4261
|
+
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
4262
|
+
TagKey: (0, smithy_client_1.expectString)(output.TagKey),
|
|
4263
4263
|
TagValues: output.TagValues !== undefined && output.TagValues !== null
|
|
4264
4264
|
? deserializeAws_restJson1TagValueList(output.TagValues, context)
|
|
4265
4265
|
: undefined,
|
|
@@ -4267,8 +4267,8 @@ const deserializeAws_restJson1LFTagKeyResource = (output, context) => {
|
|
|
4267
4267
|
};
|
|
4268
4268
|
const deserializeAws_restJson1LFTagPair = (output, context) => {
|
|
4269
4269
|
return {
|
|
4270
|
-
CatalogId: smithy_client_1.expectString(output.CatalogId),
|
|
4271
|
-
TagKey: smithy_client_1.expectString(output.TagKey),
|
|
4270
|
+
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
4271
|
+
TagKey: (0, smithy_client_1.expectString)(output.TagKey),
|
|
4272
4272
|
TagValues: output.TagValues !== undefined && output.TagValues !== null
|
|
4273
4273
|
? deserializeAws_restJson1TagValueList(output.TagValues, context)
|
|
4274
4274
|
: undefined,
|
|
@@ -4276,11 +4276,11 @@ const deserializeAws_restJson1LFTagPair = (output, context) => {
|
|
|
4276
4276
|
};
|
|
4277
4277
|
const deserializeAws_restJson1LFTagPolicyResource = (output, context) => {
|
|
4278
4278
|
return {
|
|
4279
|
-
CatalogId: smithy_client_1.expectString(output.CatalogId),
|
|
4279
|
+
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
4280
4280
|
Expression: output.Expression !== undefined && output.Expression !== null
|
|
4281
4281
|
? deserializeAws_restJson1Expression(output.Expression, context)
|
|
4282
4282
|
: undefined,
|
|
4283
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
4283
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
4284
4284
|
};
|
|
4285
4285
|
};
|
|
4286
4286
|
const deserializeAws_restJson1LFTagsList = (output, context) => {
|
|
@@ -4322,7 +4322,7 @@ const deserializeAws_restJson1PartitionValuesList = (output, context) => {
|
|
|
4322
4322
|
if (entry === null) {
|
|
4323
4323
|
return null;
|
|
4324
4324
|
}
|
|
4325
|
-
return smithy_client_1.expectString(entry);
|
|
4325
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4326
4326
|
});
|
|
4327
4327
|
return retVal;
|
|
4328
4328
|
};
|
|
@@ -4333,16 +4333,16 @@ const deserializeAws_restJson1PermissionList = (output, context) => {
|
|
|
4333
4333
|
if (entry === null) {
|
|
4334
4334
|
return null;
|
|
4335
4335
|
}
|
|
4336
|
-
return smithy_client_1.expectString(entry);
|
|
4336
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4337
4337
|
});
|
|
4338
4338
|
return retVal;
|
|
4339
4339
|
};
|
|
4340
4340
|
const deserializeAws_restJson1PlanningStatistics = (output, context) => {
|
|
4341
4341
|
return {
|
|
4342
|
-
EstimatedDataToScanBytes: smithy_client_1.expectLong(output.EstimatedDataToScanBytes),
|
|
4343
|
-
PlanningTimeMillis: smithy_client_1.expectLong(output.PlanningTimeMillis),
|
|
4344
|
-
QueueTimeMillis: smithy_client_1.expectLong(output.QueueTimeMillis),
|
|
4345
|
-
WorkUnitsGeneratedCount: smithy_client_1.expectLong(output.WorkUnitsGeneratedCount),
|
|
4342
|
+
EstimatedDataToScanBytes: (0, smithy_client_1.expectLong)(output.EstimatedDataToScanBytes),
|
|
4343
|
+
PlanningTimeMillis: (0, smithy_client_1.expectLong)(output.PlanningTimeMillis),
|
|
4344
|
+
QueueTimeMillis: (0, smithy_client_1.expectLong)(output.QueueTimeMillis),
|
|
4345
|
+
WorkUnitsGeneratedCount: (0, smithy_client_1.expectLong)(output.WorkUnitsGeneratedCount),
|
|
4346
4346
|
};
|
|
4347
4347
|
};
|
|
4348
4348
|
const deserializeAws_restJson1PrincipalPermissions = (output, context) => {
|
|
@@ -4427,10 +4427,10 @@ const deserializeAws_restJson1Resource = (output, context) => {
|
|
|
4427
4427
|
const deserializeAws_restJson1ResourceInfo = (output, context) => {
|
|
4428
4428
|
return {
|
|
4429
4429
|
LastModified: output.LastModified !== undefined && output.LastModified !== null
|
|
4430
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModified)))
|
|
4430
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModified)))
|
|
4431
4431
|
: undefined,
|
|
4432
|
-
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
4433
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
4432
|
+
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
4433
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
4434
4434
|
};
|
|
4435
4435
|
};
|
|
4436
4436
|
const deserializeAws_restJson1ResourceInfoList = (output, context) => {
|
|
@@ -4451,7 +4451,7 @@ const deserializeAws_restJson1ResourceShareList = (output, context) => {
|
|
|
4451
4451
|
if (entry === null) {
|
|
4452
4452
|
return null;
|
|
4453
4453
|
}
|
|
4454
|
-
return smithy_client_1.expectString(entry);
|
|
4454
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4455
4455
|
});
|
|
4456
4456
|
return retVal;
|
|
4457
4457
|
};
|
|
@@ -4460,7 +4460,7 @@ const deserializeAws_restJson1RowFilter = (output, context) => {
|
|
|
4460
4460
|
AllRowsWildcard: output.AllRowsWildcard !== undefined && output.AllRowsWildcard !== null
|
|
4461
4461
|
? deserializeAws_restJson1AllRowsWildcard(output.AllRowsWildcard, context)
|
|
4462
4462
|
: undefined,
|
|
4463
|
-
FilterExpression: smithy_client_1.expectString(output.FilterExpression),
|
|
4463
|
+
FilterExpression: (0, smithy_client_1.expectString)(output.FilterExpression),
|
|
4464
4464
|
};
|
|
4465
4465
|
};
|
|
4466
4466
|
const deserializeAws_restJson1StorageOptimizer = (output, context) => {
|
|
@@ -4468,10 +4468,10 @@ const deserializeAws_restJson1StorageOptimizer = (output, context) => {
|
|
|
4468
4468
|
Config: output.Config !== undefined && output.Config !== null
|
|
4469
4469
|
? deserializeAws_restJson1StorageOptimizerConfig(output.Config, context)
|
|
4470
4470
|
: undefined,
|
|
4471
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
4472
|
-
LastRunDetails: smithy_client_1.expectString(output.LastRunDetails),
|
|
4473
|
-
StorageOptimizerType: smithy_client_1.expectString(output.StorageOptimizerType),
|
|
4474
|
-
Warnings: smithy_client_1.expectString(output.Warnings),
|
|
4471
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4472
|
+
LastRunDetails: (0, smithy_client_1.expectString)(output.LastRunDetails),
|
|
4473
|
+
StorageOptimizerType: (0, smithy_client_1.expectString)(output.StorageOptimizerType),
|
|
4474
|
+
Warnings: (0, smithy_client_1.expectString)(output.Warnings),
|
|
4475
4475
|
};
|
|
4476
4476
|
};
|
|
4477
4477
|
const deserializeAws_restJson1StorageOptimizerConfig = (output, context) => {
|
|
@@ -4481,7 +4481,7 @@ const deserializeAws_restJson1StorageOptimizerConfig = (output, context) => {
|
|
|
4481
4481
|
}
|
|
4482
4482
|
return {
|
|
4483
4483
|
...acc,
|
|
4484
|
-
[key]: smithy_client_1.expectString(value),
|
|
4484
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
4485
4485
|
};
|
|
4486
4486
|
}, {});
|
|
4487
4487
|
};
|
|
@@ -4509,9 +4509,9 @@ const deserializeAws_restJson1TableLFTagsList = (output, context) => {
|
|
|
4509
4509
|
};
|
|
4510
4510
|
const deserializeAws_restJson1TableObject = (output, context) => {
|
|
4511
4511
|
return {
|
|
4512
|
-
ETag: smithy_client_1.expectString(output.ETag),
|
|
4513
|
-
Size: smithy_client_1.expectLong(output.Size),
|
|
4514
|
-
Uri: smithy_client_1.expectString(output.Uri),
|
|
4512
|
+
ETag: (0, smithy_client_1.expectString)(output.ETag),
|
|
4513
|
+
Size: (0, smithy_client_1.expectLong)(output.Size),
|
|
4514
|
+
Uri: (0, smithy_client_1.expectString)(output.Uri),
|
|
4515
4515
|
};
|
|
4516
4516
|
};
|
|
4517
4517
|
const deserializeAws_restJson1TableObjectList = (output, context) => {
|
|
@@ -4527,9 +4527,9 @@ const deserializeAws_restJson1TableObjectList = (output, context) => {
|
|
|
4527
4527
|
};
|
|
4528
4528
|
const deserializeAws_restJson1TableResource = (output, context) => {
|
|
4529
4529
|
return {
|
|
4530
|
-
CatalogId: smithy_client_1.expectString(output.CatalogId),
|
|
4531
|
-
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
4532
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4530
|
+
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
4531
|
+
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
4532
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4533
4533
|
TableWildcard: output.TableWildcard !== undefined && output.TableWildcard !== null
|
|
4534
4534
|
? deserializeAws_restJson1TableWildcard(output.TableWildcard, context)
|
|
4535
4535
|
: undefined,
|
|
@@ -4540,15 +4540,15 @@ const deserializeAws_restJson1TableWildcard = (output, context) => {
|
|
|
4540
4540
|
};
|
|
4541
4541
|
const deserializeAws_restJson1TableWithColumnsResource = (output, context) => {
|
|
4542
4542
|
return {
|
|
4543
|
-
CatalogId: smithy_client_1.expectString(output.CatalogId),
|
|
4543
|
+
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
4544
4544
|
ColumnNames: output.ColumnNames !== undefined && output.ColumnNames !== null
|
|
4545
4545
|
? deserializeAws_restJson1ColumnNames(output.ColumnNames, context)
|
|
4546
4546
|
: undefined,
|
|
4547
4547
|
ColumnWildcard: output.ColumnWildcard !== undefined && output.ColumnWildcard !== null
|
|
4548
4548
|
? deserializeAws_restJson1ColumnWildcard(output.ColumnWildcard, context)
|
|
4549
4549
|
: undefined,
|
|
4550
|
-
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
4551
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4550
|
+
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
4551
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4552
4552
|
};
|
|
4553
4553
|
};
|
|
4554
4554
|
const deserializeAws_restJson1TaggedDatabase = (output, context) => {
|
|
@@ -4584,20 +4584,20 @@ const deserializeAws_restJson1TagValueList = (output, context) => {
|
|
|
4584
4584
|
if (entry === null) {
|
|
4585
4585
|
return null;
|
|
4586
4586
|
}
|
|
4587
|
-
return smithy_client_1.expectString(entry);
|
|
4587
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4588
4588
|
});
|
|
4589
4589
|
return retVal;
|
|
4590
4590
|
};
|
|
4591
4591
|
const deserializeAws_restJson1TransactionDescription = (output, context) => {
|
|
4592
4592
|
return {
|
|
4593
4593
|
TransactionEndTime: output.TransactionEndTime !== undefined && output.TransactionEndTime !== null
|
|
4594
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TransactionEndTime)))
|
|
4594
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TransactionEndTime)))
|
|
4595
4595
|
: undefined,
|
|
4596
|
-
TransactionId: smithy_client_1.expectString(output.TransactionId),
|
|
4596
|
+
TransactionId: (0, smithy_client_1.expectString)(output.TransactionId),
|
|
4597
4597
|
TransactionStartTime: output.TransactionStartTime !== undefined && output.TransactionStartTime !== null
|
|
4598
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TransactionStartTime)))
|
|
4598
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TransactionStartTime)))
|
|
4599
4599
|
: undefined,
|
|
4600
|
-
TransactionStatus: smithy_client_1.expectString(output.TransactionStatus),
|
|
4600
|
+
TransactionStatus: (0, smithy_client_1.expectString)(output.TransactionStatus),
|
|
4601
4601
|
};
|
|
4602
4602
|
};
|
|
4603
4603
|
const deserializeAws_restJson1TransactionDescriptionList = (output, context) => {
|
|
@@ -4618,15 +4618,15 @@ const deserializeAws_restJson1TrustedResourceOwners = (output, context) => {
|
|
|
4618
4618
|
if (entry === null) {
|
|
4619
4619
|
return null;
|
|
4620
4620
|
}
|
|
4621
|
-
return smithy_client_1.expectString(entry);
|
|
4621
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4622
4622
|
});
|
|
4623
4623
|
return retVal;
|
|
4624
4624
|
};
|
|
4625
4625
|
const deserializeAws_restJson1WorkUnitRange = (output, context) => {
|
|
4626
4626
|
return {
|
|
4627
|
-
WorkUnitIdMax: smithy_client_1.expectLong(output.WorkUnitIdMax),
|
|
4628
|
-
WorkUnitIdMin: smithy_client_1.expectLong(output.WorkUnitIdMin),
|
|
4629
|
-
WorkUnitToken: smithy_client_1.expectString(output.WorkUnitToken),
|
|
4627
|
+
WorkUnitIdMax: (0, smithy_client_1.expectLong)(output.WorkUnitIdMax),
|
|
4628
|
+
WorkUnitIdMin: (0, smithy_client_1.expectLong)(output.WorkUnitIdMin),
|
|
4629
|
+
WorkUnitToken: (0, smithy_client_1.expectString)(output.WorkUnitToken),
|
|
4630
4630
|
};
|
|
4631
4631
|
};
|
|
4632
4632
|
const deserializeAws_restJson1WorkUnitRangeList = (output, context) => {
|