@aws-sdk/client-lakeformation 3.1164.0 → 3.1166.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/README.md +14 -0
- package/dist-cjs/index.js +83 -3
- package/dist-es/LakeFormation.js +4 -0
- package/dist-es/commands/GetGlueFunctionSessionContextCommand.js +4 -0
- package/dist-es/commands/GetTemporaryGlueFunctionCredentialsCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +6 -0
- package/dist-es/schemas/schemas_0.js +57 -2
- package/dist-types/LakeFormation.d.ts +14 -0
- package/dist-types/LakeFormationClient.d.ts +4 -2
- package/dist-types/commands/AddLFTagsToResourceCommand.d.ts +10 -0
- package/dist-types/commands/AttachRLSPolicyCommand.d.ts +10 -0
- package/dist-types/commands/BatchGrantPermissionsCommand.d.ts +24 -4
- package/dist-types/commands/BatchRevokePermissionsCommand.d.ts +24 -4
- package/dist-types/commands/CreateLakeFormationOptInCommand.d.ts +10 -0
- package/dist-types/commands/DeleteLakeFormationOptInCommand.d.ts +10 -0
- package/dist-types/commands/DetachRLSPolicyCommand.d.ts +10 -0
- package/dist-types/commands/GetDataLakeSettingsCommand.d.ts +2 -2
- package/dist-types/commands/GetEffectivePermissionsForPathCommand.d.ts +12 -2
- package/dist-types/commands/GetGlueFunctionSessionContextCommand.d.ts +95 -0
- package/dist-types/commands/GetResourceLFTagsCommand.d.ts +10 -0
- package/dist-types/commands/GetTemporaryGlueFunctionCredentialsCommand.d.ts +99 -0
- package/dist-types/commands/GetTemporaryGluePartitionCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/GetTemporaryGlueTableCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/GrantPermissionsCommand.d.ts +12 -2
- package/dist-types/commands/ListLakeFormationOptInsCommand.d.ts +20 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +23 -3
- package/dist-types/commands/ListRLSPolicyAttachmentsCommand.d.ts +20 -0
- package/dist-types/commands/PutDataLakeSettingsCommand.d.ts +2 -2
- package/dist-types/commands/RemoveLFTagsFromResourceCommand.d.ts +10 -0
- package/dist-types/commands/RevokePermissionsCommand.d.ts +12 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +168 -1
- package/dist-types/schemas/schemas_0.d.ts +9 -0
- package/dist-types/ts3.4/LakeFormation.d.ts +34 -0
- package/dist-types/ts3.4/LakeFormationClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetGlueFunctionSessionContextCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTemporaryGlueFunctionCredentialsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
- package/package.json +8 -8
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetTemporaryGlueFunctionCredentialsRequest,
|
|
4
|
+
GetTemporaryGlueFunctionCredentialsResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface GetTemporaryGlueFunctionCredentialsCommandInput extends GetTemporaryGlueFunctionCredentialsRequest {}
|
|
8
|
+
export interface GetTemporaryGlueFunctionCredentialsCommandOutput
|
|
9
|
+
extends GetTemporaryGlueFunctionCredentialsResponse, __MetadataBearer {}
|
|
10
|
+
declare const GetTemporaryGlueFunctionCredentialsCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: GetTemporaryGlueFunctionCredentialsCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
GetTemporaryGlueFunctionCredentialsCommandInput,
|
|
15
|
+
GetTemporaryGlueFunctionCredentialsCommandOutput,
|
|
16
|
+
import("..").LakeFormationClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: GetTemporaryGlueFunctionCredentialsCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
GetTemporaryGlueFunctionCredentialsCommandInput,
|
|
24
|
+
GetTemporaryGlueFunctionCredentialsCommandOutput,
|
|
25
|
+
import("..").LakeFormationClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class GetTemporaryGlueFunctionCredentialsCommand extends GetTemporaryGlueFunctionCredentialsCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: GetTemporaryGlueFunctionCredentialsRequest;
|
|
35
|
+
output: GetTemporaryGlueFunctionCredentialsResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: GetTemporaryGlueFunctionCredentialsCommandInput;
|
|
39
|
+
output: GetTemporaryGlueFunctionCredentialsCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -28,6 +28,7 @@ export * from "./GetDataCellsFilterCommand";
|
|
|
28
28
|
export * from "./GetDataLakePrincipalCommand";
|
|
29
29
|
export * from "./GetDataLakeSettingsCommand";
|
|
30
30
|
export * from "./GetEffectivePermissionsForPathCommand";
|
|
31
|
+
export * from "./GetGlueFunctionSessionContextCommand";
|
|
31
32
|
export * from "./GetLFTagCommand";
|
|
32
33
|
export * from "./GetLFTagExpressionCommand";
|
|
33
34
|
export * from "./GetQueryStateCommand";
|
|
@@ -36,6 +37,7 @@ export * from "./GetRLSPolicyCommand";
|
|
|
36
37
|
export * from "./GetResourceLFTagsCommand";
|
|
37
38
|
export * from "./GetTableObjectsCommand";
|
|
38
39
|
export * from "./GetTemporaryDataLocationCredentialsCommand";
|
|
40
|
+
export * from "./GetTemporaryGlueFunctionCredentialsCommand";
|
|
39
41
|
export * from "./GetTemporaryGluePartitionCredentialsCommand";
|
|
40
42
|
export * from "./GetTemporaryGlueTableCredentialsCommand";
|
|
41
43
|
export * from "./GetWorkUnitResultsCommand";
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export declare const AnyResourceSupportedTypes: {
|
|
2
|
+
readonly TABLE: "TABLE";
|
|
3
|
+
};
|
|
4
|
+
export type AnyResourceSupportedTypes =
|
|
5
|
+
(typeof AnyResourceSupportedTypes)[keyof typeof AnyResourceSupportedTypes];
|
|
1
6
|
export declare const ResourceType: {
|
|
2
7
|
readonly DATABASE: "DATABASE";
|
|
3
8
|
readonly TABLE: "TABLE";
|
|
@@ -21,6 +26,7 @@ export declare const Permission: {
|
|
|
21
26
|
readonly DELETE: "DELETE";
|
|
22
27
|
readonly DESCRIBE: "DESCRIBE";
|
|
23
28
|
readonly DROP: "DROP";
|
|
29
|
+
readonly EXECUTE: "EXECUTE";
|
|
24
30
|
readonly GRANT_WITH_LF_TAG_EXPRESSION: "GRANT_WITH_LF_TAG_EXPRESSION";
|
|
25
31
|
readonly INSERT: "INSERT";
|
|
26
32
|
readonly SELECT: "SELECT";
|
|
@@ -76,6 +82,7 @@ export declare const ResourceShareType: {
|
|
|
76
82
|
};
|
|
77
83
|
export type ResourceShareType = (typeof ResourceShareType)[keyof typeof ResourceShareType];
|
|
78
84
|
export declare const DataLakeResourceType: {
|
|
85
|
+
readonly ANY_RESOURCE: "ANY_RESOURCE";
|
|
79
86
|
readonly CATALOG: "CATALOG";
|
|
80
87
|
readonly DATABASE: "DATABASE";
|
|
81
88
|
readonly DATA_LOCATION: "DATA_LOCATION";
|
|
@@ -85,6 +92,7 @@ export declare const DataLakeResourceType: {
|
|
|
85
92
|
readonly LF_TAG_POLICY_DATABASE: "LF_TAG_POLICY_DATABASE";
|
|
86
93
|
readonly LF_TAG_POLICY_TABLE: "LF_TAG_POLICY_TABLE";
|
|
87
94
|
readonly TABLE: "TABLE";
|
|
95
|
+
readonly USER_DEFINED_FUNCTION: "USER_DEFINED_FUNCTION";
|
|
88
96
|
};
|
|
89
97
|
export type DataLakeResourceType = (typeof DataLakeResourceType)[keyof typeof DataLakeResourceType];
|
|
90
98
|
export declare const ComparisonOperator: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
2
2
|
import {
|
|
3
|
+
AnyResourceSupportedTypes,
|
|
3
4
|
ApplicationStatus,
|
|
4
5
|
ComparisonOperator,
|
|
5
6
|
CredentialsScope,
|
|
@@ -23,6 +24,10 @@ export interface LFTagPair {
|
|
|
23
24
|
TagKey: string | undefined;
|
|
24
25
|
TagValues: string[] | undefined;
|
|
25
26
|
}
|
|
27
|
+
export interface AnyResource {
|
|
28
|
+
CatalogId?: string | undefined;
|
|
29
|
+
ResourceType: AnyResourceSupportedTypes | undefined;
|
|
30
|
+
}
|
|
26
31
|
export interface CatalogResource {
|
|
27
32
|
Id?: string | undefined;
|
|
28
33
|
}
|
|
@@ -80,7 +85,15 @@ export interface TableWithColumnsResource {
|
|
|
80
85
|
ColumnNames?: string[] | undefined;
|
|
81
86
|
ColumnWildcard?: ColumnWildcard | undefined;
|
|
82
87
|
}
|
|
88
|
+
export interface UserDefinedFunctionWildcard {}
|
|
89
|
+
export interface UserDefinedFunctionResource {
|
|
90
|
+
CatalogId?: string | undefined;
|
|
91
|
+
DatabaseName: string | undefined;
|
|
92
|
+
Name?: string | undefined;
|
|
93
|
+
UserDefinedFunctionWildcard?: UserDefinedFunctionWildcard | undefined;
|
|
94
|
+
}
|
|
83
95
|
export interface Resource {
|
|
96
|
+
AnyResource?: AnyResource | undefined;
|
|
84
97
|
Catalog?: CatalogResource | undefined;
|
|
85
98
|
Database?: DatabaseResource | undefined;
|
|
86
99
|
Table?: TableResource | undefined;
|
|
@@ -91,6 +104,7 @@ export interface Resource {
|
|
|
91
104
|
LFTagPolicy?: LFTagPolicyResource | undefined;
|
|
92
105
|
LFTagExpression?: LFTagExpressionResource | undefined;
|
|
93
106
|
RLSPolicy?: RLSPolicyResource | undefined;
|
|
107
|
+
UserDefinedFunction?: UserDefinedFunctionResource | undefined;
|
|
94
108
|
}
|
|
95
109
|
export interface AddLFTagsToResourceRequest {
|
|
96
110
|
CatalogId?: string | undefined;
|
|
@@ -435,6 +449,14 @@ export interface GetEffectivePermissionsForPathResponse {
|
|
|
435
449
|
Permissions?: PrincipalResourcePermissions[] | undefined;
|
|
436
450
|
NextToken?: string | undefined;
|
|
437
451
|
}
|
|
452
|
+
export interface GetGlueFunctionSessionContextRequest {
|
|
453
|
+
UserDefinedFunctionArns: string[] | undefined;
|
|
454
|
+
DurationSeconds?: number | undefined;
|
|
455
|
+
}
|
|
456
|
+
export interface GetGlueFunctionSessionContextResponse {
|
|
457
|
+
SessionContextId?: string | undefined;
|
|
458
|
+
Expiration?: Date | undefined;
|
|
459
|
+
}
|
|
438
460
|
export interface GetLFTagRequest {
|
|
439
461
|
CatalogId?: string | undefined;
|
|
440
462
|
TagKey: string | undefined;
|
|
@@ -546,6 +568,16 @@ export interface GetTemporaryDataLocationCredentialsResponse {
|
|
|
546
568
|
AccessibleDataLocations?: string[] | undefined;
|
|
547
569
|
CredentialsScope?: CredentialsScope | undefined;
|
|
548
570
|
}
|
|
571
|
+
export interface GetTemporaryGlueFunctionCredentialsRequest {
|
|
572
|
+
UserDefinedFunctionArn: string | undefined;
|
|
573
|
+
AuditContext?: AuditContext | undefined;
|
|
574
|
+
}
|
|
575
|
+
export interface GetTemporaryGlueFunctionCredentialsResponse {
|
|
576
|
+
AccessKeyId?: string | undefined;
|
|
577
|
+
SecretAccessKey?: string | undefined;
|
|
578
|
+
SessionToken?: string | undefined;
|
|
579
|
+
Expiration?: Date | undefined;
|
|
580
|
+
}
|
|
549
581
|
export interface PartitionValueList {
|
|
550
582
|
Values: string[] | undefined;
|
|
551
583
|
}
|
|
@@ -30,6 +30,7 @@ export declare var AddLFTagsToResourceRequest$: StaticStructureSchema;
|
|
|
30
30
|
export declare var AddLFTagsToResourceResponse$: StaticStructureSchema;
|
|
31
31
|
export declare var AddObjectInput$: StaticStructureSchema;
|
|
32
32
|
export declare var AllRowsWildcard$: StaticStructureSchema;
|
|
33
|
+
export declare var AnyResource$: StaticStructureSchema;
|
|
33
34
|
export declare var AssumeDecoratedRoleWithSAMLRequest$: StaticStructureSchema;
|
|
34
35
|
export declare var AssumeDecoratedRoleWithSAMLResponse$: StaticStructureSchema;
|
|
35
36
|
export declare var AttachRLSPolicyRequest$: StaticStructureSchema;
|
|
@@ -108,6 +109,8 @@ export declare var GetDataLakeSettingsRequest$: StaticStructureSchema;
|
|
|
108
109
|
export declare var GetDataLakeSettingsResponse$: StaticStructureSchema;
|
|
109
110
|
export declare var GetEffectivePermissionsForPathRequest$: StaticStructureSchema;
|
|
110
111
|
export declare var GetEffectivePermissionsForPathResponse$: StaticStructureSchema;
|
|
112
|
+
export declare var GetGlueFunctionSessionContextRequest$: StaticStructureSchema;
|
|
113
|
+
export declare var GetGlueFunctionSessionContextResponse$: StaticStructureSchema;
|
|
111
114
|
export declare var GetLFTagExpressionRequest$: StaticStructureSchema;
|
|
112
115
|
export declare var GetLFTagExpressionResponse$: StaticStructureSchema;
|
|
113
116
|
export declare var GetLFTagRequest$: StaticStructureSchema;
|
|
@@ -124,6 +127,8 @@ export declare var GetTableObjectsRequest$: StaticStructureSchema;
|
|
|
124
127
|
export declare var GetTableObjectsResponse$: StaticStructureSchema;
|
|
125
128
|
export declare var GetTemporaryDataLocationCredentialsRequest$: StaticStructureSchema;
|
|
126
129
|
export declare var GetTemporaryDataLocationCredentialsResponse$: StaticStructureSchema;
|
|
130
|
+
export declare var GetTemporaryGlueFunctionCredentialsRequest$: StaticStructureSchema;
|
|
131
|
+
export declare var GetTemporaryGlueFunctionCredentialsResponse$: StaticStructureSchema;
|
|
127
132
|
export declare var GetTemporaryGluePartitionCredentialsRequest$: StaticStructureSchema;
|
|
128
133
|
export declare var GetTemporaryGluePartitionCredentialsResponse$: StaticStructureSchema;
|
|
129
134
|
export declare var GetTemporaryGlueTableCredentialsRequest$: StaticStructureSchema;
|
|
@@ -217,6 +222,8 @@ export declare var UpdateTableObjectsRequest$: StaticStructureSchema;
|
|
|
217
222
|
export declare var UpdateTableObjectsResponse$: StaticStructureSchema;
|
|
218
223
|
export declare var UpdateTableStorageOptimizerRequest$: StaticStructureSchema;
|
|
219
224
|
export declare var UpdateTableStorageOptimizerResponse$: StaticStructureSchema;
|
|
225
|
+
export declare var UserDefinedFunctionResource$: StaticStructureSchema;
|
|
226
|
+
export declare var UserDefinedFunctionWildcard$: StaticStructureSchema;
|
|
220
227
|
export declare var VirtualObject$: StaticStructureSchema;
|
|
221
228
|
export declare var WorkUnitRange$: StaticStructureSchema;
|
|
222
229
|
export declare var WriteOperation$: StaticStructureSchema;
|
|
@@ -252,6 +259,7 @@ export declare var GetDataCellsFilter$: StaticOperationSchema;
|
|
|
252
259
|
export declare var GetDataLakePrincipal$: StaticOperationSchema;
|
|
253
260
|
export declare var GetDataLakeSettings$: StaticOperationSchema;
|
|
254
261
|
export declare var GetEffectivePermissionsForPath$: StaticOperationSchema;
|
|
262
|
+
export declare var GetGlueFunctionSessionContext$: StaticOperationSchema;
|
|
255
263
|
export declare var GetLFTag$: StaticOperationSchema;
|
|
256
264
|
export declare var GetLFTagExpression$: StaticOperationSchema;
|
|
257
265
|
export declare var GetQueryState$: StaticOperationSchema;
|
|
@@ -260,6 +268,7 @@ export declare var GetResourceLFTags$: StaticOperationSchema;
|
|
|
260
268
|
export declare var GetRLSPolicy$: StaticOperationSchema;
|
|
261
269
|
export declare var GetTableObjects$: StaticOperationSchema;
|
|
262
270
|
export declare var GetTemporaryDataLocationCredentials$: StaticOperationSchema;
|
|
271
|
+
export declare var GetTemporaryGlueFunctionCredentials$: StaticOperationSchema;
|
|
263
272
|
export declare var GetTemporaryGluePartitionCredentials$: StaticOperationSchema;
|
|
264
273
|
export declare var GetTemporaryGlueTableCredentials$: StaticOperationSchema;
|
|
265
274
|
export declare var GetWorkUnitResults$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lakeformation",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1166.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Lakeformation Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lakeformation",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.975.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.8.
|
|
54
|
-
"@smithy/node-http-handler": "^4.14.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.981.0",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.96",
|
|
51
|
+
"@aws-sdk/types": "^3.975.1",
|
|
52
|
+
"@smithy/core": "^3.40.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.1",
|
|
54
|
+
"@smithy/node-http-handler": "^4.14.2",
|
|
55
|
+
"@smithy/types": "^4.20.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|