@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 { GetResourceLFTagsRequest, GetResourceLFTagsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetResourceLFTagsCommand,
|
|
5
|
-
serializeAws_json1_1GetResourceLFTagsCommand,
|
|
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 GetResourceLFTagsCommandInput extends GetResourceLFTagsRequest {}
|
|
21
|
-
export interface GetResourceLFTagsCommandOutput extends GetResourceLFTagsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns the tags applied to a resource.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LakeFormationClient, GetResourceLFTagsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
29
|
-
* // const { LakeFormationClient, GetResourceLFTagsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
30
|
-
* const client = new LakeFormationClient(config);
|
|
31
|
-
* const command = new GetResourceLFTagsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetResourceLFTagsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetResourceLFTagsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetResourceLFTagsCommand extends $Command<
|
|
41
|
-
GetResourceLFTagsCommandInput,
|
|
42
|
-
GetResourceLFTagsCommandOutput,
|
|
43
|
-
LakeFormationClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetResourceLFTagsCommandInput) {
|
|
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<GetResourceLFTagsCommandInput, GetResourceLFTagsCommandOutput> {
|
|
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 = "GetResourceLFTagsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetResourceLFTagsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetResourceLFTagsResponse.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: GetResourceLFTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetResourceLFTagsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetResourceLFTagsCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetResourceLFTagsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { GrantPermissionsRequest, GrantPermissionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GrantPermissionsCommand,
|
|
5
|
-
serializeAws_json1_1GrantPermissionsCommand,
|
|
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 GrantPermissionsCommandInput extends GrantPermissionsRequest {}
|
|
21
|
-
export interface GrantPermissionsCommandOutput extends GrantPermissionsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.</p>
|
|
25
|
-
* <p>For information about permissions, see <a href="https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security and Access Control to Metadata and Data</a>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { LakeFormationClient, GrantPermissionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
30
|
-
* // const { LakeFormationClient, GrantPermissionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
31
|
-
* const client = new LakeFormationClient(config);
|
|
32
|
-
* const command = new GrantPermissionsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GrantPermissionsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GrantPermissionsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GrantPermissionsCommand extends $Command<
|
|
42
|
-
GrantPermissionsCommandInput,
|
|
43
|
-
GrantPermissionsCommandOutput,
|
|
44
|
-
LakeFormationClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GrantPermissionsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: LakeFormationClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GrantPermissionsCommandInput, GrantPermissionsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "LakeFormationClient";
|
|
69
|
-
const commandName = "GrantPermissionsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GrantPermissionsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GrantPermissionsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GrantPermissionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1GrantPermissionsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GrantPermissionsCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1GrantPermissionsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { ListLFTagsRequest, ListLFTagsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListLFTagsCommand,
|
|
5
|
-
serializeAws_json1_1ListLFTagsCommand,
|
|
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 ListLFTagsCommandInput extends ListLFTagsRequest {}
|
|
21
|
-
export interface ListLFTagsCommandOutput extends ListLFTagsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists tags that the requester has permission to view. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LakeFormationClient, ListLFTagsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
29
|
-
* // const { LakeFormationClient, ListLFTagsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
30
|
-
* const client = new LakeFormationClient(config);
|
|
31
|
-
* const command = new ListLFTagsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListLFTagsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListLFTagsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListLFTagsCommand extends $Command<
|
|
41
|
-
ListLFTagsCommandInput,
|
|
42
|
-
ListLFTagsCommandOutput,
|
|
43
|
-
LakeFormationClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListLFTagsCommandInput) {
|
|
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<ListLFTagsCommandInput, ListLFTagsCommandOutput> {
|
|
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 = "ListLFTagsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListLFTagsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListLFTagsResponse.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: ListLFTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListLFTagsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListLFTagsCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListLFTagsCommand(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 { ListPermissionsRequest, ListPermissionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListPermissionsCommand,
|
|
5
|
-
serializeAws_json1_1ListPermissionsCommand,
|
|
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 ListPermissionsCommandInput extends ListPermissionsRequest {}
|
|
21
|
-
export interface ListPermissionsCommandOutput extends ListPermissionsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER.</p>
|
|
25
|
-
* <p>This operation returns only those permissions that have been explicitly granted.</p>
|
|
26
|
-
* <p>For information about permissions, see <a href="https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security and Access Control to Metadata and Data</a>.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LakeFormationClient, ListPermissionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
31
|
-
* // const { LakeFormationClient, ListPermissionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
32
|
-
* const client = new LakeFormationClient(config);
|
|
33
|
-
* const command = new ListPermissionsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListPermissionsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListPermissionsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListPermissionsCommand extends $Command<
|
|
43
|
-
ListPermissionsCommandInput,
|
|
44
|
-
ListPermissionsCommandOutput,
|
|
45
|
-
LakeFormationClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListPermissionsCommandInput) {
|
|
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<ListPermissionsCommandInput, ListPermissionsCommandOutput> {
|
|
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 = "ListPermissionsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListPermissionsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListPermissionsResponse.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: ListPermissionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1ListPermissionsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPermissionsCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1ListPermissionsCommand(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 { ListResourcesRequest, ListResourcesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListResourcesCommand,
|
|
5
|
-
serializeAws_json1_1ListResourcesCommand,
|
|
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 ListResourcesCommandInput extends ListResourcesRequest {}
|
|
21
|
-
export interface ListResourcesCommandOutput extends ListResourcesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists the resources registered to be managed by the Data Catalog.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { LakeFormationClient, ListResourcesCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
29
|
-
* // const { LakeFormationClient, ListResourcesCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
30
|
-
* const client = new LakeFormationClient(config);
|
|
31
|
-
* const command = new ListResourcesCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListResourcesCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListResourcesCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListResourcesCommand extends $Command<
|
|
41
|
-
ListResourcesCommandInput,
|
|
42
|
-
ListResourcesCommandOutput,
|
|
43
|
-
LakeFormationClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListResourcesCommandInput) {
|
|
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<ListResourcesCommandInput, ListResourcesCommandOutput> {
|
|
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 = "ListResourcesCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListResourcesRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListResourcesResponse.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: ListResourcesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListResourcesCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListResourcesCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListResourcesCommand(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 { PutDataLakeSettingsRequest, PutDataLakeSettingsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PutDataLakeSettingsCommand,
|
|
5
|
-
serializeAws_json1_1PutDataLakeSettingsCommand,
|
|
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 PutDataLakeSettingsCommandInput extends PutDataLakeSettingsRequest {}
|
|
21
|
-
export interface PutDataLakeSettingsCommandOutput extends PutDataLakeSettingsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html">Granting Lake Formation Permissions</a>.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LakeFormationClient, PutDataLakeSettingsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
31
|
-
* // const { LakeFormationClient, PutDataLakeSettingsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
32
|
-
* const client = new LakeFormationClient(config);
|
|
33
|
-
* const command = new PutDataLakeSettingsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link PutDataLakeSettingsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link PutDataLakeSettingsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class PutDataLakeSettingsCommand extends $Command<
|
|
43
|
-
PutDataLakeSettingsCommandInput,
|
|
44
|
-
PutDataLakeSettingsCommandOutput,
|
|
45
|
-
LakeFormationClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: PutDataLakeSettingsCommandInput) {
|
|
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<PutDataLakeSettingsCommandInput, PutDataLakeSettingsCommandOutput> {
|
|
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 = "PutDataLakeSettingsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: PutDataLakeSettingsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: PutDataLakeSettingsResponse.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: PutDataLakeSettingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1PutDataLakeSettingsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutDataLakeSettingsCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1PutDataLakeSettingsCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
|
|
2
|
-
import { RegisterResourceRequest, RegisterResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1RegisterResourceCommand,
|
|
5
|
-
serializeAws_json1_1RegisterResourceCommand,
|
|
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 RegisterResourceCommandInput extends RegisterResourceRequest {}
|
|
21
|
-
export interface RegisterResourceCommandOutput extends RegisterResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Registers the resource as managed by the Data Catalog.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.</p>
|
|
27
|
-
*
|
|
28
|
-
* <p>The following request registers a new location and gives AWS Lake Formation permission to use the service-linked role to access that location.</p>
|
|
29
|
-
*
|
|
30
|
-
* <p>
|
|
31
|
-
* <code>ResourceArn = arn:aws:s3:::my-bucket
|
|
32
|
-
* UseServiceLinkedRole = true</code>
|
|
33
|
-
* </p>
|
|
34
|
-
*
|
|
35
|
-
* <p>If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the <code>RoleArn</code>:</p>
|
|
36
|
-
*
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>arn:aws:iam::12345:role/my-data-access-role</code>
|
|
39
|
-
* </p>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { LakeFormationClient, RegisterResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
44
|
-
* // const { LakeFormationClient, RegisterResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
45
|
-
* const client = new LakeFormationClient(config);
|
|
46
|
-
* const command = new RegisterResourceCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link RegisterResourceCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link RegisterResourceCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link LakeFormationClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
export class RegisterResourceCommand extends $Command<
|
|
56
|
-
RegisterResourceCommandInput,
|
|
57
|
-
RegisterResourceCommandOutput,
|
|
58
|
-
LakeFormationClientResolvedConfig
|
|
59
|
-
> {
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
|
-
|
|
63
|
-
constructor(readonly input: RegisterResourceCommandInput) {
|
|
64
|
-
// Start section: command_constructor
|
|
65
|
-
super();
|
|
66
|
-
// End section: command_constructor
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
resolveMiddleware(
|
|
73
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
74
|
-
configuration: LakeFormationClientResolvedConfig,
|
|
75
|
-
options?: __HttpHandlerOptions
|
|
76
|
-
): Handler<RegisterResourceCommandInput, RegisterResourceCommandOutput> {
|
|
77
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
78
|
-
|
|
79
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
80
|
-
|
|
81
|
-
const { logger } = configuration;
|
|
82
|
-
const clientName = "LakeFormationClient";
|
|
83
|
-
const commandName = "RegisterResourceCommand";
|
|
84
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
85
|
-
logger,
|
|
86
|
-
clientName,
|
|
87
|
-
commandName,
|
|
88
|
-
inputFilterSensitiveLog: RegisterResourceRequest.filterSensitiveLog,
|
|
89
|
-
outputFilterSensitiveLog: RegisterResourceResponse.filterSensitiveLog,
|
|
90
|
-
};
|
|
91
|
-
const { requestHandler } = configuration;
|
|
92
|
-
return stack.resolve(
|
|
93
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
94
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
95
|
-
handlerExecutionContext
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private serialize(input: RegisterResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
100
|
-
return serializeAws_json1_1RegisterResourceCommand(input, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RegisterResourceCommandOutput> {
|
|
104
|
-
return deserializeAws_json1_1RegisterResourceCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|