@aws-sdk/client-lakeformation 3.43.0 → 3.47.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 +51 -0
- package/README.md +2 -2
- package/dist-cjs/LakeFormation.js +315 -0
- 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 +36 -0
- package/dist-cjs/commands/CommitTransactionCommand.js +36 -0
- package/dist-cjs/commands/CreateDataCellsFilterCommand.js +36 -0
- package/dist-cjs/commands/CreateLFTagCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataCellsFilterCommand.js +36 -0
- package/dist-cjs/commands/DeleteLFTagCommand.js +3 -3
- package/dist-cjs/commands/DeleteObjectsOnCancelCommand.js +36 -0
- package/dist-cjs/commands/DeregisterResourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransactionCommand.js +36 -0
- package/dist-cjs/commands/ExtendTransactionCommand.js +36 -0
- 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 +36 -0
- package/dist-cjs/commands/GetQueryStatisticsCommand.js +36 -0
- package/dist-cjs/commands/GetResourceLFTagsCommand.js +3 -3
- package/dist-cjs/commands/GetTableObjectsCommand.js +36 -0
- package/dist-cjs/commands/GetTemporaryGluePartitionCredentialsCommand.js +36 -0
- package/dist-cjs/commands/GetTemporaryGlueTableCredentialsCommand.js +36 -0
- package/dist-cjs/commands/GetWorkUnitResultsCommand.js +36 -0
- package/dist-cjs/commands/GetWorkUnitsCommand.js +36 -0
- package/dist-cjs/commands/GrantPermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListDataCellsFilterCommand.js +36 -0
- 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 +36 -0
- package/dist-cjs/commands/ListTransactionsCommand.js +36 -0
- 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 +36 -0
- package/dist-cjs/commands/StartTransactionCommand.js +36 -0
- package/dist-cjs/commands/UpdateLFTagCommand.js +3 -3
- package/dist-cjs/commands/UpdateResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableObjectsCommand.js +36 -0
- package/dist-cjs/commands/UpdateTableStorageOptimizerCommand.js +36 -0
- package/dist-cjs/commands/index.js +21 -0
- package/dist-cjs/endpoints.js +1 -20
- package/dist-cjs/models/models_0.js +395 -46
- package/dist-cjs/pagination/GetTableObjectsPaginator.js +35 -0
- package/dist-cjs/pagination/GetWorkUnitsPaginator.js +35 -0
- package/dist-cjs/pagination/ListDataCellsFilterPaginator.js +35 -0
- package/dist-cjs/pagination/ListLFTagsPaginator.js +35 -0
- package/dist-cjs/pagination/ListTableStorageOptimizersPaginator.js +35 -0
- package/dist-cjs/pagination/ListTransactionsPaginator.js +35 -0
- package/dist-cjs/pagination/SearchDatabasesByLFTagsPaginator.js +35 -0
- package/dist-cjs/pagination/SearchTablesByLFTagsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +6022 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/LakeFormation.js +315 -0
- package/dist-es/commands/AddLFTagsToResourceCommand.js +3 -3
- package/dist-es/commands/BatchGrantPermissionsCommand.js +3 -3
- package/dist-es/commands/BatchRevokePermissionsCommand.js +3 -3
- package/dist-es/commands/CancelTransactionCommand.js +39 -0
- package/dist-es/commands/CommitTransactionCommand.js +39 -0
- package/dist-es/commands/CreateDataCellsFilterCommand.js +39 -0
- package/dist-es/commands/CreateLFTagCommand.js +3 -3
- package/dist-es/commands/DeleteDataCellsFilterCommand.js +39 -0
- package/dist-es/commands/DeleteLFTagCommand.js +3 -3
- package/dist-es/commands/DeleteObjectsOnCancelCommand.js +39 -0
- package/dist-es/commands/DeregisterResourceCommand.js +3 -3
- package/dist-es/commands/DescribeResourceCommand.js +3 -3
- package/dist-es/commands/DescribeTransactionCommand.js +39 -0
- package/dist-es/commands/ExtendTransactionCommand.js +39 -0
- package/dist-es/commands/GetDataLakeSettingsCommand.js +3 -3
- package/dist-es/commands/GetEffectivePermissionsForPathCommand.js +3 -3
- package/dist-es/commands/GetLFTagCommand.js +3 -3
- package/dist-es/commands/GetQueryStateCommand.js +39 -0
- package/dist-es/commands/GetQueryStatisticsCommand.js +39 -0
- package/dist-es/commands/GetResourceLFTagsCommand.js +3 -3
- package/dist-es/commands/GetTableObjectsCommand.js +39 -0
- package/dist-es/commands/GetTemporaryGluePartitionCredentialsCommand.js +39 -0
- package/dist-es/commands/GetTemporaryGlueTableCredentialsCommand.js +39 -0
- package/dist-es/commands/GetWorkUnitResultsCommand.js +39 -0
- package/dist-es/commands/GetWorkUnitsCommand.js +39 -0
- package/dist-es/commands/GrantPermissionsCommand.js +3 -3
- package/dist-es/commands/ListDataCellsFilterCommand.js +39 -0
- package/dist-es/commands/ListLFTagsCommand.js +3 -3
- package/dist-es/commands/ListPermissionsCommand.js +3 -3
- package/dist-es/commands/ListResourcesCommand.js +3 -3
- package/dist-es/commands/ListTableStorageOptimizersCommand.js +39 -0
- package/dist-es/commands/ListTransactionsCommand.js +39 -0
- package/dist-es/commands/PutDataLakeSettingsCommand.js +3 -3
- package/dist-es/commands/RegisterResourceCommand.js +3 -3
- package/dist-es/commands/RemoveLFTagsFromResourceCommand.js +3 -3
- package/dist-es/commands/RevokePermissionsCommand.js +3 -3
- package/dist-es/commands/SearchDatabasesByLFTagsCommand.js +3 -3
- package/dist-es/commands/SearchTablesByLFTagsCommand.js +3 -3
- package/dist-es/commands/StartQueryPlanningCommand.js +39 -0
- package/dist-es/commands/StartTransactionCommand.js +39 -0
- package/dist-es/commands/UpdateLFTagCommand.js +3 -3
- package/dist-es/commands/UpdateResourceCommand.js +3 -3
- package/dist-es/commands/UpdateTableObjectsCommand.js +39 -0
- package/dist-es/commands/UpdateTableStorageOptimizerCommand.js +39 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoints.js +1 -20
- package/dist-es/models/models_0.js +280 -36
- package/dist-es/pagination/GetTableObjectsPaginator.js +74 -0
- package/dist-es/pagination/GetWorkUnitsPaginator.js +74 -0
- package/dist-es/pagination/ListDataCellsFilterPaginator.js +74 -0
- package/dist-es/pagination/ListLFTagsPaginator.js +74 -0
- package/dist-es/pagination/ListTableStorageOptimizersPaginator.js +74 -0
- package/dist-es/pagination/ListTransactionsPaginator.js +74 -0
- package/dist-es/pagination/SearchDatabasesByLFTagsPaginator.js +74 -0
- package/dist-es/pagination/SearchTablesByLFTagsPaginator.js +74 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +6598 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/LakeFormation.d.ts +174 -15
- package/dist-types/LakeFormationClient.d.ts +30 -5
- package/dist-types/commands/AddLFTagsToResourceCommand.d.ts +1 -1
- package/dist-types/commands/CancelTransactionCommand.d.ts +35 -0
- package/dist-types/commands/CommitTransactionCommand.d.ts +35 -0
- package/dist-types/commands/CreateDataCellsFilterCommand.d.ts +35 -0
- package/dist-types/commands/CreateLFTagCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataCellsFilterCommand.d.ts +35 -0
- package/dist-types/commands/DeleteLFTagCommand.d.ts +1 -1
- package/dist-types/commands/DeleteObjectsOnCancelCommand.d.ts +42 -0
- package/dist-types/commands/DescribeResourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransactionCommand.d.ts +35 -0
- package/dist-types/commands/ExtendTransactionCommand.d.ts +37 -0
- package/dist-types/commands/GetLFTagCommand.d.ts +1 -1
- package/dist-types/commands/GetQueryStateCommand.d.ts +35 -0
- package/dist-types/commands/GetQueryStatisticsCommand.d.ts +35 -0
- package/dist-types/commands/GetResourceLFTagsCommand.d.ts +1 -1
- package/dist-types/commands/GetTableObjectsCommand.d.ts +35 -0
- package/dist-types/commands/GetTemporaryGluePartitionCredentialsCommand.d.ts +35 -0
- package/dist-types/commands/GetTemporaryGlueTableCredentialsCommand.d.ts +35 -0
- package/dist-types/commands/GetWorkUnitResultsCommand.d.ts +35 -0
- package/dist-types/commands/GetWorkUnitsCommand.d.ts +35 -0
- package/dist-types/commands/ListDataCellsFilterCommand.d.ts +35 -0
- package/dist-types/commands/ListLFTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListTableStorageOptimizersCommand.d.ts +35 -0
- package/dist-types/commands/ListTransactionsCommand.d.ts +36 -0
- package/dist-types/commands/RegisterResourceCommand.d.ts +2 -2
- package/dist-types/commands/RemoveLFTagsFromResourceCommand.d.ts +1 -1
- package/dist-types/commands/SearchTablesByLFTagsCommand.d.ts +1 -1
- package/dist-types/commands/StartQueryPlanningCommand.d.ts +37 -0
- package/dist-types/commands/StartTransactionCommand.d.ts +35 -0
- package/dist-types/commands/UpdateLFTagCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTableObjectsCommand.d.ts +35 -0
- package/dist-types/commands/UpdateTableStorageOptimizerCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/models/models_0.d.ts +1484 -170
- package/dist-types/pagination/GetTableObjectsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetWorkUnitsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDataCellsFilterPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLFTagsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTableStorageOptimizersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTransactionsPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchDatabasesByLFTagsPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchTablesByLFTagsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +134 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/LakeFormation.d.ts +105 -0
- package/dist-types/ts3.4/LakeFormationClient.d.ts +26 -3
- package/dist-types/ts3.4/commands/CancelTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CommitTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDataCellsFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDataCellsFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteObjectsOnCancelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExtendTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQueryStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQueryStatisticsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTableObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTemporaryGluePartitionCredentialsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTemporaryGlueTableCredentialsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetWorkUnitResultsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetWorkUnitsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDataCellsFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTableStorageOptimizersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTransactionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartQueryPlanningCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTableObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTableStorageOptimizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +800 -33
- package/dist-types/ts3.4/pagination/GetTableObjectsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetWorkUnitsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDataCellsFilterPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListLFTagsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTableStorageOptimizersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTransactionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchDatabasesByLFTagsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchTablesByLFTagsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +134 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
- package/dist-cjs/protocols/Aws_json1_1.js +0 -3153
- package/dist-es/protocols/Aws_json1_1.js +0 -3221
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -71
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -71
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/LakeFormation.js
CHANGED
|
@@ -2,26 +2,47 @@ import { __extends } from "tslib";
|
|
|
2
2
|
import { AddLFTagsToResourceCommand, } from "./commands/AddLFTagsToResourceCommand";
|
|
3
3
|
import { BatchGrantPermissionsCommand, } from "./commands/BatchGrantPermissionsCommand";
|
|
4
4
|
import { BatchRevokePermissionsCommand, } from "./commands/BatchRevokePermissionsCommand";
|
|
5
|
+
import { CancelTransactionCommand, } from "./commands/CancelTransactionCommand";
|
|
6
|
+
import { CommitTransactionCommand, } from "./commands/CommitTransactionCommand";
|
|
7
|
+
import { CreateDataCellsFilterCommand, } from "./commands/CreateDataCellsFilterCommand";
|
|
5
8
|
import { CreateLFTagCommand } from "./commands/CreateLFTagCommand";
|
|
9
|
+
import { DeleteDataCellsFilterCommand, } from "./commands/DeleteDataCellsFilterCommand";
|
|
6
10
|
import { DeleteLFTagCommand } from "./commands/DeleteLFTagCommand";
|
|
11
|
+
import { DeleteObjectsOnCancelCommand, } from "./commands/DeleteObjectsOnCancelCommand";
|
|
7
12
|
import { DeregisterResourceCommand, } from "./commands/DeregisterResourceCommand";
|
|
8
13
|
import { DescribeResourceCommand, } from "./commands/DescribeResourceCommand";
|
|
14
|
+
import { DescribeTransactionCommand, } from "./commands/DescribeTransactionCommand";
|
|
15
|
+
import { ExtendTransactionCommand, } from "./commands/ExtendTransactionCommand";
|
|
9
16
|
import { GetDataLakeSettingsCommand, } from "./commands/GetDataLakeSettingsCommand";
|
|
10
17
|
import { GetEffectivePermissionsForPathCommand, } from "./commands/GetEffectivePermissionsForPathCommand";
|
|
11
18
|
import { GetLFTagCommand } from "./commands/GetLFTagCommand";
|
|
19
|
+
import { GetQueryStateCommand, } from "./commands/GetQueryStateCommand";
|
|
20
|
+
import { GetQueryStatisticsCommand, } from "./commands/GetQueryStatisticsCommand";
|
|
12
21
|
import { GetResourceLFTagsCommand, } from "./commands/GetResourceLFTagsCommand";
|
|
22
|
+
import { GetTableObjectsCommand, } from "./commands/GetTableObjectsCommand";
|
|
23
|
+
import { GetTemporaryGluePartitionCredentialsCommand, } from "./commands/GetTemporaryGluePartitionCredentialsCommand";
|
|
24
|
+
import { GetTemporaryGlueTableCredentialsCommand, } from "./commands/GetTemporaryGlueTableCredentialsCommand";
|
|
25
|
+
import { GetWorkUnitResultsCommand, } from "./commands/GetWorkUnitResultsCommand";
|
|
26
|
+
import { GetWorkUnitsCommand, } from "./commands/GetWorkUnitsCommand";
|
|
13
27
|
import { GrantPermissionsCommand, } from "./commands/GrantPermissionsCommand";
|
|
28
|
+
import { ListDataCellsFilterCommand, } from "./commands/ListDataCellsFilterCommand";
|
|
14
29
|
import { ListLFTagsCommand } from "./commands/ListLFTagsCommand";
|
|
15
30
|
import { ListPermissionsCommand, } from "./commands/ListPermissionsCommand";
|
|
16
31
|
import { ListResourcesCommand, } from "./commands/ListResourcesCommand";
|
|
32
|
+
import { ListTableStorageOptimizersCommand, } from "./commands/ListTableStorageOptimizersCommand";
|
|
33
|
+
import { ListTransactionsCommand, } from "./commands/ListTransactionsCommand";
|
|
17
34
|
import { PutDataLakeSettingsCommand, } from "./commands/PutDataLakeSettingsCommand";
|
|
18
35
|
import { RegisterResourceCommand, } from "./commands/RegisterResourceCommand";
|
|
19
36
|
import { RemoveLFTagsFromResourceCommand, } from "./commands/RemoveLFTagsFromResourceCommand";
|
|
20
37
|
import { RevokePermissionsCommand, } from "./commands/RevokePermissionsCommand";
|
|
21
38
|
import { SearchDatabasesByLFTagsCommand, } from "./commands/SearchDatabasesByLFTagsCommand";
|
|
22
39
|
import { SearchTablesByLFTagsCommand, } from "./commands/SearchTablesByLFTagsCommand";
|
|
40
|
+
import { StartQueryPlanningCommand, } from "./commands/StartQueryPlanningCommand";
|
|
41
|
+
import { StartTransactionCommand, } from "./commands/StartTransactionCommand";
|
|
23
42
|
import { UpdateLFTagCommand } from "./commands/UpdateLFTagCommand";
|
|
24
43
|
import { UpdateResourceCommand, } from "./commands/UpdateResourceCommand";
|
|
44
|
+
import { UpdateTableObjectsCommand, } from "./commands/UpdateTableObjectsCommand";
|
|
45
|
+
import { UpdateTableStorageOptimizerCommand, } from "./commands/UpdateTableStorageOptimizerCommand";
|
|
25
46
|
import { LakeFormationClient } from "./LakeFormationClient";
|
|
26
47
|
var LakeFormation = (function (_super) {
|
|
27
48
|
__extends(LakeFormation, _super);
|
|
@@ -70,6 +91,48 @@ var LakeFormation = (function (_super) {
|
|
|
70
91
|
return this.send(command, optionsOrCb);
|
|
71
92
|
}
|
|
72
93
|
};
|
|
94
|
+
LakeFormation.prototype.cancelTransaction = function (args, optionsOrCb, cb) {
|
|
95
|
+
var command = new CancelTransactionCommand(args);
|
|
96
|
+
if (typeof optionsOrCb === "function") {
|
|
97
|
+
this.send(command, optionsOrCb);
|
|
98
|
+
}
|
|
99
|
+
else if (typeof cb === "function") {
|
|
100
|
+
if (typeof optionsOrCb !== "object")
|
|
101
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
102
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
return this.send(command, optionsOrCb);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
LakeFormation.prototype.commitTransaction = function (args, optionsOrCb, cb) {
|
|
109
|
+
var command = new CommitTransactionCommand(args);
|
|
110
|
+
if (typeof optionsOrCb === "function") {
|
|
111
|
+
this.send(command, optionsOrCb);
|
|
112
|
+
}
|
|
113
|
+
else if (typeof cb === "function") {
|
|
114
|
+
if (typeof optionsOrCb !== "object")
|
|
115
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
116
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
return this.send(command, optionsOrCb);
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
LakeFormation.prototype.createDataCellsFilter = function (args, optionsOrCb, cb) {
|
|
123
|
+
var command = new CreateDataCellsFilterCommand(args);
|
|
124
|
+
if (typeof optionsOrCb === "function") {
|
|
125
|
+
this.send(command, optionsOrCb);
|
|
126
|
+
}
|
|
127
|
+
else if (typeof cb === "function") {
|
|
128
|
+
if (typeof optionsOrCb !== "object")
|
|
129
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
130
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
return this.send(command, optionsOrCb);
|
|
134
|
+
}
|
|
135
|
+
};
|
|
73
136
|
LakeFormation.prototype.createLFTag = function (args, optionsOrCb, cb) {
|
|
74
137
|
var command = new CreateLFTagCommand(args);
|
|
75
138
|
if (typeof optionsOrCb === "function") {
|
|
@@ -84,6 +147,20 @@ var LakeFormation = (function (_super) {
|
|
|
84
147
|
return this.send(command, optionsOrCb);
|
|
85
148
|
}
|
|
86
149
|
};
|
|
150
|
+
LakeFormation.prototype.deleteDataCellsFilter = function (args, optionsOrCb, cb) {
|
|
151
|
+
var command = new DeleteDataCellsFilterCommand(args);
|
|
152
|
+
if (typeof optionsOrCb === "function") {
|
|
153
|
+
this.send(command, optionsOrCb);
|
|
154
|
+
}
|
|
155
|
+
else if (typeof cb === "function") {
|
|
156
|
+
if (typeof optionsOrCb !== "object")
|
|
157
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
158
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
return this.send(command, optionsOrCb);
|
|
162
|
+
}
|
|
163
|
+
};
|
|
87
164
|
LakeFormation.prototype.deleteLFTag = function (args, optionsOrCb, cb) {
|
|
88
165
|
var command = new DeleteLFTagCommand(args);
|
|
89
166
|
if (typeof optionsOrCb === "function") {
|
|
@@ -98,6 +175,20 @@ var LakeFormation = (function (_super) {
|
|
|
98
175
|
return this.send(command, optionsOrCb);
|
|
99
176
|
}
|
|
100
177
|
};
|
|
178
|
+
LakeFormation.prototype.deleteObjectsOnCancel = function (args, optionsOrCb, cb) {
|
|
179
|
+
var command = new DeleteObjectsOnCancelCommand(args);
|
|
180
|
+
if (typeof optionsOrCb === "function") {
|
|
181
|
+
this.send(command, optionsOrCb);
|
|
182
|
+
}
|
|
183
|
+
else if (typeof cb === "function") {
|
|
184
|
+
if (typeof optionsOrCb !== "object")
|
|
185
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
186
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
return this.send(command, optionsOrCb);
|
|
190
|
+
}
|
|
191
|
+
};
|
|
101
192
|
LakeFormation.prototype.deregisterResource = function (args, optionsOrCb, cb) {
|
|
102
193
|
var command = new DeregisterResourceCommand(args);
|
|
103
194
|
if (typeof optionsOrCb === "function") {
|
|
@@ -126,6 +217,34 @@ var LakeFormation = (function (_super) {
|
|
|
126
217
|
return this.send(command, optionsOrCb);
|
|
127
218
|
}
|
|
128
219
|
};
|
|
220
|
+
LakeFormation.prototype.describeTransaction = function (args, optionsOrCb, cb) {
|
|
221
|
+
var command = new DescribeTransactionCommand(args);
|
|
222
|
+
if (typeof optionsOrCb === "function") {
|
|
223
|
+
this.send(command, optionsOrCb);
|
|
224
|
+
}
|
|
225
|
+
else if (typeof cb === "function") {
|
|
226
|
+
if (typeof optionsOrCb !== "object")
|
|
227
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
228
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
return this.send(command, optionsOrCb);
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
LakeFormation.prototype.extendTransaction = function (args, optionsOrCb, cb) {
|
|
235
|
+
var command = new ExtendTransactionCommand(args);
|
|
236
|
+
if (typeof optionsOrCb === "function") {
|
|
237
|
+
this.send(command, optionsOrCb);
|
|
238
|
+
}
|
|
239
|
+
else if (typeof cb === "function") {
|
|
240
|
+
if (typeof optionsOrCb !== "object")
|
|
241
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
242
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
return this.send(command, optionsOrCb);
|
|
246
|
+
}
|
|
247
|
+
};
|
|
129
248
|
LakeFormation.prototype.getDataLakeSettings = function (args, optionsOrCb, cb) {
|
|
130
249
|
var command = new GetDataLakeSettingsCommand(args);
|
|
131
250
|
if (typeof optionsOrCb === "function") {
|
|
@@ -168,6 +287,34 @@ var LakeFormation = (function (_super) {
|
|
|
168
287
|
return this.send(command, optionsOrCb);
|
|
169
288
|
}
|
|
170
289
|
};
|
|
290
|
+
LakeFormation.prototype.getQueryState = function (args, optionsOrCb, cb) {
|
|
291
|
+
var command = new GetQueryStateCommand(args);
|
|
292
|
+
if (typeof optionsOrCb === "function") {
|
|
293
|
+
this.send(command, optionsOrCb);
|
|
294
|
+
}
|
|
295
|
+
else if (typeof cb === "function") {
|
|
296
|
+
if (typeof optionsOrCb !== "object")
|
|
297
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
298
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
return this.send(command, optionsOrCb);
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
LakeFormation.prototype.getQueryStatistics = function (args, optionsOrCb, cb) {
|
|
305
|
+
var command = new GetQueryStatisticsCommand(args);
|
|
306
|
+
if (typeof optionsOrCb === "function") {
|
|
307
|
+
this.send(command, optionsOrCb);
|
|
308
|
+
}
|
|
309
|
+
else if (typeof cb === "function") {
|
|
310
|
+
if (typeof optionsOrCb !== "object")
|
|
311
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
312
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
313
|
+
}
|
|
314
|
+
else {
|
|
315
|
+
return this.send(command, optionsOrCb);
|
|
316
|
+
}
|
|
317
|
+
};
|
|
171
318
|
LakeFormation.prototype.getResourceLFTags = function (args, optionsOrCb, cb) {
|
|
172
319
|
var command = new GetResourceLFTagsCommand(args);
|
|
173
320
|
if (typeof optionsOrCb === "function") {
|
|
@@ -182,6 +329,76 @@ var LakeFormation = (function (_super) {
|
|
|
182
329
|
return this.send(command, optionsOrCb);
|
|
183
330
|
}
|
|
184
331
|
};
|
|
332
|
+
LakeFormation.prototype.getTableObjects = function (args, optionsOrCb, cb) {
|
|
333
|
+
var command = new GetTableObjectsCommand(args);
|
|
334
|
+
if (typeof optionsOrCb === "function") {
|
|
335
|
+
this.send(command, optionsOrCb);
|
|
336
|
+
}
|
|
337
|
+
else if (typeof cb === "function") {
|
|
338
|
+
if (typeof optionsOrCb !== "object")
|
|
339
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
340
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
341
|
+
}
|
|
342
|
+
else {
|
|
343
|
+
return this.send(command, optionsOrCb);
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
LakeFormation.prototype.getTemporaryGluePartitionCredentials = function (args, optionsOrCb, cb) {
|
|
347
|
+
var command = new GetTemporaryGluePartitionCredentialsCommand(args);
|
|
348
|
+
if (typeof optionsOrCb === "function") {
|
|
349
|
+
this.send(command, optionsOrCb);
|
|
350
|
+
}
|
|
351
|
+
else if (typeof cb === "function") {
|
|
352
|
+
if (typeof optionsOrCb !== "object")
|
|
353
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
354
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
355
|
+
}
|
|
356
|
+
else {
|
|
357
|
+
return this.send(command, optionsOrCb);
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
LakeFormation.prototype.getTemporaryGlueTableCredentials = function (args, optionsOrCb, cb) {
|
|
361
|
+
var command = new GetTemporaryGlueTableCredentialsCommand(args);
|
|
362
|
+
if (typeof optionsOrCb === "function") {
|
|
363
|
+
this.send(command, optionsOrCb);
|
|
364
|
+
}
|
|
365
|
+
else if (typeof cb === "function") {
|
|
366
|
+
if (typeof optionsOrCb !== "object")
|
|
367
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
368
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
369
|
+
}
|
|
370
|
+
else {
|
|
371
|
+
return this.send(command, optionsOrCb);
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
LakeFormation.prototype.getWorkUnitResults = function (args, optionsOrCb, cb) {
|
|
375
|
+
var command = new GetWorkUnitResultsCommand(args);
|
|
376
|
+
if (typeof optionsOrCb === "function") {
|
|
377
|
+
this.send(command, optionsOrCb);
|
|
378
|
+
}
|
|
379
|
+
else if (typeof cb === "function") {
|
|
380
|
+
if (typeof optionsOrCb !== "object")
|
|
381
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
382
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
383
|
+
}
|
|
384
|
+
else {
|
|
385
|
+
return this.send(command, optionsOrCb);
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
LakeFormation.prototype.getWorkUnits = function (args, optionsOrCb, cb) {
|
|
389
|
+
var command = new GetWorkUnitsCommand(args);
|
|
390
|
+
if (typeof optionsOrCb === "function") {
|
|
391
|
+
this.send(command, optionsOrCb);
|
|
392
|
+
}
|
|
393
|
+
else if (typeof cb === "function") {
|
|
394
|
+
if (typeof optionsOrCb !== "object")
|
|
395
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
396
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
397
|
+
}
|
|
398
|
+
else {
|
|
399
|
+
return this.send(command, optionsOrCb);
|
|
400
|
+
}
|
|
401
|
+
};
|
|
185
402
|
LakeFormation.prototype.grantPermissions = function (args, optionsOrCb, cb) {
|
|
186
403
|
var command = new GrantPermissionsCommand(args);
|
|
187
404
|
if (typeof optionsOrCb === "function") {
|
|
@@ -196,6 +413,20 @@ var LakeFormation = (function (_super) {
|
|
|
196
413
|
return this.send(command, optionsOrCb);
|
|
197
414
|
}
|
|
198
415
|
};
|
|
416
|
+
LakeFormation.prototype.listDataCellsFilter = function (args, optionsOrCb, cb) {
|
|
417
|
+
var command = new ListDataCellsFilterCommand(args);
|
|
418
|
+
if (typeof optionsOrCb === "function") {
|
|
419
|
+
this.send(command, optionsOrCb);
|
|
420
|
+
}
|
|
421
|
+
else if (typeof cb === "function") {
|
|
422
|
+
if (typeof optionsOrCb !== "object")
|
|
423
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
424
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
425
|
+
}
|
|
426
|
+
else {
|
|
427
|
+
return this.send(command, optionsOrCb);
|
|
428
|
+
}
|
|
429
|
+
};
|
|
199
430
|
LakeFormation.prototype.listLFTags = function (args, optionsOrCb, cb) {
|
|
200
431
|
var command = new ListLFTagsCommand(args);
|
|
201
432
|
if (typeof optionsOrCb === "function") {
|
|
@@ -238,6 +469,34 @@ var LakeFormation = (function (_super) {
|
|
|
238
469
|
return this.send(command, optionsOrCb);
|
|
239
470
|
}
|
|
240
471
|
};
|
|
472
|
+
LakeFormation.prototype.listTableStorageOptimizers = function (args, optionsOrCb, cb) {
|
|
473
|
+
var command = new ListTableStorageOptimizersCommand(args);
|
|
474
|
+
if (typeof optionsOrCb === "function") {
|
|
475
|
+
this.send(command, optionsOrCb);
|
|
476
|
+
}
|
|
477
|
+
else if (typeof cb === "function") {
|
|
478
|
+
if (typeof optionsOrCb !== "object")
|
|
479
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
480
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
481
|
+
}
|
|
482
|
+
else {
|
|
483
|
+
return this.send(command, optionsOrCb);
|
|
484
|
+
}
|
|
485
|
+
};
|
|
486
|
+
LakeFormation.prototype.listTransactions = function (args, optionsOrCb, cb) {
|
|
487
|
+
var command = new ListTransactionsCommand(args);
|
|
488
|
+
if (typeof optionsOrCb === "function") {
|
|
489
|
+
this.send(command, optionsOrCb);
|
|
490
|
+
}
|
|
491
|
+
else if (typeof cb === "function") {
|
|
492
|
+
if (typeof optionsOrCb !== "object")
|
|
493
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
494
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
495
|
+
}
|
|
496
|
+
else {
|
|
497
|
+
return this.send(command, optionsOrCb);
|
|
498
|
+
}
|
|
499
|
+
};
|
|
241
500
|
LakeFormation.prototype.putDataLakeSettings = function (args, optionsOrCb, cb) {
|
|
242
501
|
var command = new PutDataLakeSettingsCommand(args);
|
|
243
502
|
if (typeof optionsOrCb === "function") {
|
|
@@ -322,6 +581,34 @@ var LakeFormation = (function (_super) {
|
|
|
322
581
|
return this.send(command, optionsOrCb);
|
|
323
582
|
}
|
|
324
583
|
};
|
|
584
|
+
LakeFormation.prototype.startQueryPlanning = function (args, optionsOrCb, cb) {
|
|
585
|
+
var command = new StartQueryPlanningCommand(args);
|
|
586
|
+
if (typeof optionsOrCb === "function") {
|
|
587
|
+
this.send(command, optionsOrCb);
|
|
588
|
+
}
|
|
589
|
+
else if (typeof cb === "function") {
|
|
590
|
+
if (typeof optionsOrCb !== "object")
|
|
591
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
592
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
593
|
+
}
|
|
594
|
+
else {
|
|
595
|
+
return this.send(command, optionsOrCb);
|
|
596
|
+
}
|
|
597
|
+
};
|
|
598
|
+
LakeFormation.prototype.startTransaction = function (args, optionsOrCb, cb) {
|
|
599
|
+
var command = new StartTransactionCommand(args);
|
|
600
|
+
if (typeof optionsOrCb === "function") {
|
|
601
|
+
this.send(command, optionsOrCb);
|
|
602
|
+
}
|
|
603
|
+
else if (typeof cb === "function") {
|
|
604
|
+
if (typeof optionsOrCb !== "object")
|
|
605
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
606
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
607
|
+
}
|
|
608
|
+
else {
|
|
609
|
+
return this.send(command, optionsOrCb);
|
|
610
|
+
}
|
|
611
|
+
};
|
|
325
612
|
LakeFormation.prototype.updateLFTag = function (args, optionsOrCb, cb) {
|
|
326
613
|
var command = new UpdateLFTagCommand(args);
|
|
327
614
|
if (typeof optionsOrCb === "function") {
|
|
@@ -350,6 +637,34 @@ var LakeFormation = (function (_super) {
|
|
|
350
637
|
return this.send(command, optionsOrCb);
|
|
351
638
|
}
|
|
352
639
|
};
|
|
640
|
+
LakeFormation.prototype.updateTableObjects = function (args, optionsOrCb, cb) {
|
|
641
|
+
var command = new UpdateTableObjectsCommand(args);
|
|
642
|
+
if (typeof optionsOrCb === "function") {
|
|
643
|
+
this.send(command, optionsOrCb);
|
|
644
|
+
}
|
|
645
|
+
else if (typeof cb === "function") {
|
|
646
|
+
if (typeof optionsOrCb !== "object")
|
|
647
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
648
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
649
|
+
}
|
|
650
|
+
else {
|
|
651
|
+
return this.send(command, optionsOrCb);
|
|
652
|
+
}
|
|
653
|
+
};
|
|
654
|
+
LakeFormation.prototype.updateTableStorageOptimizer = function (args, optionsOrCb, cb) {
|
|
655
|
+
var command = new UpdateTableStorageOptimizerCommand(args);
|
|
656
|
+
if (typeof optionsOrCb === "function") {
|
|
657
|
+
this.send(command, optionsOrCb);
|
|
658
|
+
}
|
|
659
|
+
else if (typeof cb === "function") {
|
|
660
|
+
if (typeof optionsOrCb !== "object")
|
|
661
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
662
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
663
|
+
}
|
|
664
|
+
else {
|
|
665
|
+
return this.send(command, optionsOrCb);
|
|
666
|
+
}
|
|
667
|
+
};
|
|
353
668
|
return LakeFormation;
|
|
354
669
|
}(LakeFormationClient));
|
|
355
670
|
export { LakeFormation };
|
|
@@ -2,7 +2,7 @@ import { __extends } from "tslib";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { AddLFTagsToResourceRequest, AddLFTagsToResourceResponse } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { deserializeAws_restJson1AddLFTagsToResourceCommand, serializeAws_restJson1AddLFTagsToResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var AddLFTagsToResourceCommand = (function (_super) {
|
|
7
7
|
__extends(AddLFTagsToResourceCommand, _super);
|
|
8
8
|
function AddLFTagsToResourceCommand(input) {
|
|
@@ -29,10 +29,10 @@ var AddLFTagsToResourceCommand = (function (_super) {
|
|
|
29
29
|
}, handlerExecutionContext);
|
|
30
30
|
};
|
|
31
31
|
AddLFTagsToResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
-
return
|
|
32
|
+
return serializeAws_restJson1AddLFTagsToResourceCommand(input, context);
|
|
33
33
|
};
|
|
34
34
|
AddLFTagsToResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
-
return
|
|
35
|
+
return deserializeAws_restJson1AddLFTagsToResourceCommand(output, context);
|
|
36
36
|
};
|
|
37
37
|
return AddLFTagsToResourceCommand;
|
|
38
38
|
}($Command));
|
|
@@ -2,7 +2,7 @@ import { __extends } from "tslib";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { BatchGrantPermissionsRequest, BatchGrantPermissionsResponse } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { deserializeAws_restJson1BatchGrantPermissionsCommand, serializeAws_restJson1BatchGrantPermissionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var BatchGrantPermissionsCommand = (function (_super) {
|
|
7
7
|
__extends(BatchGrantPermissionsCommand, _super);
|
|
8
8
|
function BatchGrantPermissionsCommand(input) {
|
|
@@ -29,10 +29,10 @@ var BatchGrantPermissionsCommand = (function (_super) {
|
|
|
29
29
|
}, handlerExecutionContext);
|
|
30
30
|
};
|
|
31
31
|
BatchGrantPermissionsCommand.prototype.serialize = function (input, context) {
|
|
32
|
-
return
|
|
32
|
+
return serializeAws_restJson1BatchGrantPermissionsCommand(input, context);
|
|
33
33
|
};
|
|
34
34
|
BatchGrantPermissionsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
-
return
|
|
35
|
+
return deserializeAws_restJson1BatchGrantPermissionsCommand(output, context);
|
|
36
36
|
};
|
|
37
37
|
return BatchGrantPermissionsCommand;
|
|
38
38
|
}($Command));
|
|
@@ -2,7 +2,7 @@ import { __extends } from "tslib";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { BatchRevokePermissionsRequest, BatchRevokePermissionsResponse } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { deserializeAws_restJson1BatchRevokePermissionsCommand, serializeAws_restJson1BatchRevokePermissionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var BatchRevokePermissionsCommand = (function (_super) {
|
|
7
7
|
__extends(BatchRevokePermissionsCommand, _super);
|
|
8
8
|
function BatchRevokePermissionsCommand(input) {
|
|
@@ -29,10 +29,10 @@ var BatchRevokePermissionsCommand = (function (_super) {
|
|
|
29
29
|
}, handlerExecutionContext);
|
|
30
30
|
};
|
|
31
31
|
BatchRevokePermissionsCommand.prototype.serialize = function (input, context) {
|
|
32
|
-
return
|
|
32
|
+
return serializeAws_restJson1BatchRevokePermissionsCommand(input, context);
|
|
33
33
|
};
|
|
34
34
|
BatchRevokePermissionsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
-
return
|
|
35
|
+
return deserializeAws_restJson1BatchRevokePermissionsCommand(output, context);
|
|
36
36
|
};
|
|
37
37
|
return BatchRevokePermissionsCommand;
|
|
38
38
|
}($Command));
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CancelTransactionRequest, CancelTransactionResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CancelTransactionCommand, serializeAws_restJson1CancelTransactionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CancelTransactionCommand = (function (_super) {
|
|
7
|
+
__extends(CancelTransactionCommand, _super);
|
|
8
|
+
function CancelTransactionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CancelTransactionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "LakeFormationClient";
|
|
18
|
+
var commandName = "CancelTransactionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CancelTransactionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CancelTransactionResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CancelTransactionCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CancelTransactionCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CancelTransactionCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CancelTransactionCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CancelTransactionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CancelTransactionCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CommitTransactionRequest, CommitTransactionResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CommitTransactionCommand, serializeAws_restJson1CommitTransactionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CommitTransactionCommand = (function (_super) {
|
|
7
|
+
__extends(CommitTransactionCommand, _super);
|
|
8
|
+
function CommitTransactionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CommitTransactionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "LakeFormationClient";
|
|
18
|
+
var commandName = "CommitTransactionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CommitTransactionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CommitTransactionResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CommitTransactionCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CommitTransactionCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CommitTransactionCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CommitTransactionCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CommitTransactionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CommitTransactionCommand };
|