@aws-sdk/client-lakeformation 3.34.0 → 3.37.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 +47 -0
- package/{dist/cjs → dist-cjs}/LakeFormation.js +1 -6
- package/{dist/cjs → dist-cjs}/LakeFormationClient.js +8 -18
- package/{dist/cjs → dist-cjs}/commands/AddLFTagsToResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/BatchGrantPermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/BatchRevokePermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateLFTagCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteLFTagCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeregisterResourceCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetDataLakeSettingsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetEffectivePermissionsForPathCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetLFTagCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetResourceLFTagsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GrantPermissionsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListLFTagsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListPermissionsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/ListResourcesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutDataLakeSettingsCommand.js +2 -29
- package/dist-cjs/commands/RegisterResourceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/RemoveLFTagsFromResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/RevokePermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/SearchDatabasesByLFTagsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/SearchTablesByLFTagsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateLFTagCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -244
- package/{dist/cjs → dist-cjs}/pagination/GetEffectivePermissionsForPathPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListPermissionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListResourcesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/LakeFormation.js +1 -2
- package/{dist/es → dist-es}/LakeFormationClient.js +1 -2
- package/{dist/es → dist-es}/commands/AddLFTagsToResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchGrantPermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchRevokePermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateLFTagCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteLFTagCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeregisterResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetDataLakeSettingsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetEffectivePermissionsForPathCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetLFTagCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourceLFTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GrantPermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListLFTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListResourcesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutDataLakeSettingsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RegisterResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemoveLFTagsFromResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RevokePermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SearchDatabasesByLFTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SearchTablesByLFTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateLFTagCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateResourceCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/GetEffectivePermissionsForPathPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListPermissionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListResourcesPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/LakeFormation.d.ts +2 -2
- package/{dist/types → dist-types}/LakeFormationClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AddLFTagsToResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGrantPermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchRevokePermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLFTagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLFTagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeregisterResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDataLakeSettingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetEffectivePermissionsForPathCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetLFTagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetResourceLFTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GrantPermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListLFTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListResourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutDataLakeSettingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RegisterResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveLFTagsFromResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RevokePermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SearchDatabasesByLFTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SearchTablesByLFTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateLFTagCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetEffectivePermissionsForPathPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/LakeFormation.d.ts +26 -98
- package/{dist/types → dist-types}/ts3.4/LakeFormationClient.d.ts +32 -98
- package/{dist/types → dist-types}/ts3.4/commands/AddLFTagsToResourceCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/BatchGrantPermissionsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/BatchRevokePermissionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateLFTagCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLFTagCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDataLakeSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEffectivePermissionsForPathCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetLFTagCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetResourceLFTagsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GrantPermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListLFTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutDataLakeSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveLFTagsFromResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RevokePermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchDatabasesByLFTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchTablesByLFTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLFTagCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +937 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetEffectivePermissionsForPathPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/LakeFormation.ts +0 -832
- package/LakeFormationClient.ts +0 -332
- package/commands/AddLFTagsToResourceCommand.ts +0 -94
- package/commands/BatchGrantPermissionsCommand.ts +0 -94
- package/commands/BatchRevokePermissionsCommand.ts +0 -94
- package/commands/CreateLFTagCommand.ts +0 -94
- package/commands/DeleteLFTagCommand.ts +0 -94
- package/commands/DeregisterResourceCommand.ts +0 -96
- package/commands/DescribeResourceCommand.ts +0 -94
- package/commands/GetDataLakeSettingsCommand.ts +0 -94
- package/commands/GetEffectivePermissionsForPathCommand.ts +0 -103
- package/commands/GetLFTagCommand.ts +0 -91
- package/commands/GetResourceLFTagsCommand.ts +0 -94
- package/commands/GrantPermissionsCommand.ts +0 -95
- package/commands/ListLFTagsCommand.ts +0 -94
- package/commands/ListPermissionsCommand.ts +0 -96
- package/commands/ListResourcesCommand.ts +0 -94
- package/commands/PutDataLakeSettingsCommand.ts +0 -96
- package/commands/RegisterResourceCommand.ts +0 -109
- package/commands/RemoveLFTagsFromResourceCommand.ts +0 -94
- package/commands/RevokePermissionsCommand.ts +0 -94
- package/commands/SearchDatabasesByLFTagsCommand.ts +0 -94
- package/commands/SearchTablesByLFTagsCommand.ts +0 -94
- package/commands/UpdateLFTagCommand.ts +0 -94
- package/commands/UpdateResourceCommand.ts +0 -94
- package/dist/cjs/LakeFormation.js.map +0 -1
- package/dist/cjs/LakeFormationClient.js.map +0 -1
- package/dist/cjs/commands/AddLFTagsToResourceCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGrantPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/BatchRevokePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLFTagCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLFTagCommand.js.map +0 -1
- package/dist/cjs/commands/DeregisterResourceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeResourceCommand.js.map +0 -1
- package/dist/cjs/commands/GetDataLakeSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/GetEffectivePermissionsForPathCommand.js.map +0 -1
- package/dist/cjs/commands/GetLFTagCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourceLFTagsCommand.js.map +0 -1
- package/dist/cjs/commands/GrantPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLFTagsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/PutDataLakeSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterResourceCommand.js +0 -76
- package/dist/cjs/commands/RegisterResourceCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveLFTagsFromResourceCommand.js.map +0 -1
- package/dist/cjs/commands/RevokePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/SearchDatabasesByLFTagsCommand.js.map +0 -1
- package/dist/cjs/commands/SearchTablesByLFTagsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLFTagCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetEffectivePermissionsForPathPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListPermissionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/LakeFormation.js.map +0 -1
- package/dist/es/LakeFormationClient.js.map +0 -1
- package/dist/es/commands/AddLFTagsToResourceCommand.js.map +0 -1
- package/dist/es/commands/BatchGrantPermissionsCommand.js.map +0 -1
- package/dist/es/commands/BatchRevokePermissionsCommand.js.map +0 -1
- package/dist/es/commands/CreateLFTagCommand.js.map +0 -1
- package/dist/es/commands/DeleteLFTagCommand.js.map +0 -1
- package/dist/es/commands/DeregisterResourceCommand.js.map +0 -1
- package/dist/es/commands/DescribeResourceCommand.js.map +0 -1
- package/dist/es/commands/GetDataLakeSettingsCommand.js.map +0 -1
- package/dist/es/commands/GetEffectivePermissionsForPathCommand.js.map +0 -1
- package/dist/es/commands/GetLFTagCommand.js.map +0 -1
- package/dist/es/commands/GetResourceLFTagsCommand.js.map +0 -1
- package/dist/es/commands/GrantPermissionsCommand.js.map +0 -1
- package/dist/es/commands/ListLFTagsCommand.js.map +0 -1
- package/dist/es/commands/ListPermissionsCommand.js.map +0 -1
- package/dist/es/commands/ListResourcesCommand.js.map +0 -1
- package/dist/es/commands/PutDataLakeSettingsCommand.js.map +0 -1
- package/dist/es/commands/RegisterResourceCommand.js.map +0 -1
- package/dist/es/commands/RemoveLFTagsFromResourceCommand.js.map +0 -1
- package/dist/es/commands/RevokePermissionsCommand.js.map +0 -1
- package/dist/es/commands/SearchDatabasesByLFTagsCommand.js.map +0 -1
- package/dist/es/commands/SearchTablesByLFTagsCommand.js.map +0 -1
- package/dist/es/commands/UpdateLFTagCommand.js.map +0 -1
- package/dist/es/commands/UpdateResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -31
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetEffectivePermissionsForPathPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListPermissionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateLFTagCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteLFTagCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeregisterResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetDataLakeSettingsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetEffectivePermissionsForPathCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetLFTagCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GrantPermissionsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListLFTagsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListPermissionsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListResourcesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutDataLakeSettingsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/RegisterResourceCommand.d.ts +0 -50
- package/dist/types/ts3.4/commands/RemoveLFTagsFromResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/RevokePermissionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/SearchDatabasesByLFTagsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/SearchTablesByLFTagsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateLFTagCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1525
- package/endpoints.ts +0 -82
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1946
- package/pagination/GetEffectivePermissionsForPathPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListPermissionsPaginator.ts +0 -58
- package/pagination/ListResourcesPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -3905
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { CreateLFTagRequest, CreateLFTagResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateLFTagCommand,
|
|
5
|
-
serializeAws_json1_1CreateLFTagCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateLFTagCommandInput extends CreateLFTagRequest {}
|
|
21
|
-
export interface CreateLFTagCommandOutput extends CreateLFTagResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a tag with the specified name and values.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LakeFormationClient, CreateLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
29
|
-
* // const { LakeFormationClient, CreateLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
30
|
-
* const client = new LakeFormationClient(config);
|
|
31
|
-
* const command = new CreateLFTagCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateLFTagCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateLFTagCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateLFTagCommand extends $Command<
|
|
41
|
-
CreateLFTagCommandInput,
|
|
42
|
-
CreateLFTagCommandOutput,
|
|
43
|
-
LakeFormationClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateLFTagCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: LakeFormationClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateLFTagCommandInput, CreateLFTagCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "LakeFormationClient";
|
|
68
|
-
const commandName = "CreateLFTagCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateLFTagRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateLFTagResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateLFTagCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1CreateLFTagCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLFTagCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1CreateLFTagCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { DeleteLFTagRequest, DeleteLFTagResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteLFTagCommand,
|
|
5
|
-
serializeAws_json1_1DeleteLFTagCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteLFTagCommandInput extends DeleteLFTagRequest {}
|
|
21
|
-
export interface DeleteLFTagCommandOutput extends DeleteLFTagResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the specified tag key name. If the attribute key does not exist or the tag does not exist, then the operation will not do anything. If the attribute key exists, then the operation checks if any resources are tagged with this attribute key, if yes, the API throws a 400 Exception with the message "Delete not allowed" as the tag key is still attached with resources. You can consider untagging resources with this tag key.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LakeFormationClient, DeleteLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
29
|
-
* // const { LakeFormationClient, DeleteLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
30
|
-
* const client = new LakeFormationClient(config);
|
|
31
|
-
* const command = new DeleteLFTagCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteLFTagCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteLFTagCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteLFTagCommand extends $Command<
|
|
41
|
-
DeleteLFTagCommandInput,
|
|
42
|
-
DeleteLFTagCommandOutput,
|
|
43
|
-
LakeFormationClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteLFTagCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: LakeFormationClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteLFTagCommandInput, DeleteLFTagCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "LakeFormationClient";
|
|
68
|
-
const commandName = "DeleteLFTagCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteLFTagRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteLFTagResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteLFTagCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1DeleteLFTagCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteLFTagCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1DeleteLFTagCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { DeregisterResourceRequest, DeregisterResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeregisterResourceCommand,
|
|
5
|
-
serializeAws_json1_1DeregisterResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeregisterResourceCommandInput extends DeregisterResourceRequest {}
|
|
21
|
-
export interface DeregisterResourceCommandOutput extends DeregisterResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deregisters the resource as managed by the Data Catalog.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LakeFormationClient, DeregisterResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
31
|
-
* // const { LakeFormationClient, DeregisterResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
32
|
-
* const client = new LakeFormationClient(config);
|
|
33
|
-
* const command = new DeregisterResourceCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeregisterResourceCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeregisterResourceCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeregisterResourceCommand extends $Command<
|
|
43
|
-
DeregisterResourceCommandInput,
|
|
44
|
-
DeregisterResourceCommandOutput,
|
|
45
|
-
LakeFormationClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeregisterResourceCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LakeFormationClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeregisterResourceCommandInput, DeregisterResourceCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LakeFormationClient";
|
|
70
|
-
const commandName = "DeregisterResourceCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeregisterResourceRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DeregisterResourceResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DeregisterResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1DeregisterResourceCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeregisterResourceCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1DeregisterResourceCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { DescribeResourceRequest, DescribeResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeResourceCommand,
|
|
5
|
-
serializeAws_json1_1DescribeResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DescribeResourceCommandInput extends DescribeResourceRequest {}
|
|
21
|
-
export interface DescribeResourceCommandOutput extends DescribeResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the current data access role for the given resource registered in AWS Lake Formation.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LakeFormationClient, DescribeResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
29
|
-
* // const { LakeFormationClient, DescribeResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
30
|
-
* const client = new LakeFormationClient(config);
|
|
31
|
-
* const command = new DescribeResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeResourceCommand extends $Command<
|
|
41
|
-
DescribeResourceCommandInput,
|
|
42
|
-
DescribeResourceCommandOutput,
|
|
43
|
-
LakeFormationClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: LakeFormationClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DescribeResourceCommandInput, DescribeResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "LakeFormationClient";
|
|
68
|
-
const commandName = "DescribeResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DescribeResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1DescribeResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1DescribeResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { GetDataLakeSettingsRequest, GetDataLakeSettingsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetDataLakeSettingsCommand,
|
|
5
|
-
serializeAws_json1_1GetDataLakeSettingsCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetDataLakeSettingsCommandInput extends GetDataLakeSettingsRequest {}
|
|
21
|
-
export interface GetDataLakeSettingsCommandOutput extends GetDataLakeSettingsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the list of the data lake administrators of a Lake Formation-managed data lake. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LakeFormationClient, GetDataLakeSettingsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
29
|
-
* // const { LakeFormationClient, GetDataLakeSettingsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
30
|
-
* const client = new LakeFormationClient(config);
|
|
31
|
-
* const command = new GetDataLakeSettingsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetDataLakeSettingsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetDataLakeSettingsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetDataLakeSettingsCommand extends $Command<
|
|
41
|
-
GetDataLakeSettingsCommandInput,
|
|
42
|
-
GetDataLakeSettingsCommandOutput,
|
|
43
|
-
LakeFormationClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetDataLakeSettingsCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: LakeFormationClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetDataLakeSettingsCommandInput, GetDataLakeSettingsCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "LakeFormationClient";
|
|
68
|
-
const commandName = "GetDataLakeSettingsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetDataLakeSettingsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetDataLakeSettingsResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: GetDataLakeSettingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetDataLakeSettingsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDataLakeSettingsCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetDataLakeSettingsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { GetEffectivePermissionsForPathRequest, GetEffectivePermissionsForPathResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetEffectivePermissionsForPathCommand,
|
|
5
|
-
serializeAws_json1_1GetEffectivePermissionsForPathCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetEffectivePermissionsForPathCommandInput extends GetEffectivePermissionsForPathRequest {}
|
|
21
|
-
export interface GetEffectivePermissionsForPathCommandOutput
|
|
22
|
-
extends GetEffectivePermissionsForPathResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Returns the Lake Formation permissions for a specified table or database resource located
|
|
27
|
-
* at a path in Amazon S3. <code>GetEffectivePermissionsForPath</code> will not return databases and tables if the catalog is encrypted.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { LakeFormationClient, GetEffectivePermissionsForPathCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
32
|
-
* // const { LakeFormationClient, GetEffectivePermissionsForPathCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
33
|
-
* const client = new LakeFormationClient(config);
|
|
34
|
-
* const command = new GetEffectivePermissionsForPathCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetEffectivePermissionsForPathCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetEffectivePermissionsForPathCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetEffectivePermissionsForPathCommand extends $Command<
|
|
44
|
-
GetEffectivePermissionsForPathCommandInput,
|
|
45
|
-
GetEffectivePermissionsForPathCommandOutput,
|
|
46
|
-
LakeFormationClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetEffectivePermissionsForPathCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: LakeFormationClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetEffectivePermissionsForPathCommandInput, GetEffectivePermissionsForPathCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "LakeFormationClient";
|
|
71
|
-
const commandName = "GetEffectivePermissionsForPathCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetEffectivePermissionsForPathRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetEffectivePermissionsForPathResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(
|
|
88
|
-
input: GetEffectivePermissionsForPathCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1GetEffectivePermissionsForPathCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<GetEffectivePermissionsForPathCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1GetEffectivePermissionsForPathCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { GetLFTagRequest, GetLFTagResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetLFTagCommand, serializeAws_json1_1GetLFTagCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
import {
|
|
8
|
-
FinalizeHandlerArguments,
|
|
9
|
-
Handler,
|
|
10
|
-
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
|
-
MetadataBearer as __MetadataBearer,
|
|
14
|
-
SerdeContext as __SerdeContext,
|
|
15
|
-
} from "@aws-sdk/types";
|
|
16
|
-
|
|
17
|
-
export interface GetLFTagCommandInput extends GetLFTagRequest {}
|
|
18
|
-
export interface GetLFTagCommandOutput extends GetLFTagResponse, __MetadataBearer {}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* <p>Returns a tag definition.</p>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { LakeFormationClient, GetLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
26
|
-
* // const { LakeFormationClient, GetLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
27
|
-
* const client = new LakeFormationClient(config);
|
|
28
|
-
* const command = new GetLFTagCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link GetLFTagCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link GetLFTagCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
export class GetLFTagCommand extends $Command<
|
|
38
|
-
GetLFTagCommandInput,
|
|
39
|
-
GetLFTagCommandOutput,
|
|
40
|
-
LakeFormationClientResolvedConfig
|
|
41
|
-
> {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
|
-
|
|
45
|
-
constructor(readonly input: GetLFTagCommandInput) {
|
|
46
|
-
// Start section: command_constructor
|
|
47
|
-
super();
|
|
48
|
-
// End section: command_constructor
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
resolveMiddleware(
|
|
55
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
56
|
-
configuration: LakeFormationClientResolvedConfig,
|
|
57
|
-
options?: __HttpHandlerOptions
|
|
58
|
-
): Handler<GetLFTagCommandInput, GetLFTagCommandOutput> {
|
|
59
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
|
-
|
|
61
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
62
|
-
|
|
63
|
-
const { logger } = configuration;
|
|
64
|
-
const clientName = "LakeFormationClient";
|
|
65
|
-
const commandName = "GetLFTagCommand";
|
|
66
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
67
|
-
logger,
|
|
68
|
-
clientName,
|
|
69
|
-
commandName,
|
|
70
|
-
inputFilterSensitiveLog: GetLFTagRequest.filterSensitiveLog,
|
|
71
|
-
outputFilterSensitiveLog: GetLFTagResponse.filterSensitiveLog,
|
|
72
|
-
};
|
|
73
|
-
const { requestHandler } = configuration;
|
|
74
|
-
return stack.resolve(
|
|
75
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
76
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
77
|
-
handlerExecutionContext
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
private serialize(input: GetLFTagCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
82
|
-
return serializeAws_json1_1GetLFTagCommand(input, context);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetLFTagCommandOutput> {
|
|
86
|
-
return deserializeAws_json1_1GetLFTagCommand(output, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Start section: command_body_extra
|
|
90
|
-
// End section: command_body_extra
|
|
91
|
-
}
|