@aws-sdk/client-lakeformation 3.418.0 → 3.420.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 +24 -0
- package/dist-cjs/LakeFormation.js +6 -0
- package/dist-cjs/commands/CreateLakeFormationOptInCommand.js +51 -0
- package/dist-cjs/commands/DeleteLakeFormationOptInCommand.js +51 -0
- package/dist-cjs/commands/ListLakeFormationOptInsCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/pagination/ListLakeFormationOptInsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +244 -4
- package/dist-es/LakeFormation.js +6 -0
- package/dist-es/commands/CreateLakeFormationOptInCommand.js +47 -0
- package/dist-es/commands/DeleteLakeFormationOptInCommand.js +47 -0
- package/dist-es/commands/ListLakeFormationOptInsCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/pagination/ListLakeFormationOptInsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +236 -2
- package/dist-types/LakeFormation.d.ts +21 -0
- package/dist-types/LakeFormationClient.d.ts +5 -2
- package/dist-types/commands/CreateLakeFormationOptInCommand.d.ts +146 -0
- package/dist-types/commands/DeleteLakeFormationOptInCommand.d.ts +146 -0
- package/dist-types/commands/DescribeResourceCommand.d.ts +1 -0
- package/dist-types/commands/GetEffectivePermissionsForPathCommand.d.ts +2 -0
- package/dist-types/commands/ListLakeFormationOptInsCommand.d.ts +208 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +2 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +1 -0
- package/dist-types/commands/RegisterResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +143 -0
- package/dist-types/pagination/ListLakeFormationOptInsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/LakeFormation.d.ts +51 -0
- package/dist-types/ts3.4/LakeFormationClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateLakeFormationOptInCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteLakeFormationOptInCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListLakeFormationOptInsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/pagination/ListLakeFormationOptInsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -137,6 +137,8 @@ export interface LFTag {
|
|
|
137
137
|
/**
|
|
138
138
|
* @public
|
|
139
139
|
* <p>A list of possible values an attribute can take.</p>
|
|
140
|
+
* <p>The maximum number of values that can be defined for a LF-Tag is 1000. A single API call
|
|
141
|
+
* supports 50 values. You can use multiple API calls to add more values.</p>
|
|
140
142
|
*/
|
|
141
143
|
TagValues: string[] | undefined;
|
|
142
144
|
}
|
|
@@ -881,6 +883,27 @@ export declare class ResourceNumberLimitExceededException extends __BaseExceptio
|
|
|
881
883
|
*/
|
|
882
884
|
constructor(opts: __ExceptionOptionType<ResourceNumberLimitExceededException, __BaseException>);
|
|
883
885
|
}
|
|
886
|
+
/**
|
|
887
|
+
* @public
|
|
888
|
+
*/
|
|
889
|
+
export interface CreateLakeFormationOptInRequest {
|
|
890
|
+
/**
|
|
891
|
+
* @public
|
|
892
|
+
* <p>The Lake Formation principal. Supported principals are IAM users
|
|
893
|
+
* or IAM roles.</p>
|
|
894
|
+
*/
|
|
895
|
+
Principal: DataLakePrincipal | undefined;
|
|
896
|
+
/**
|
|
897
|
+
* @public
|
|
898
|
+
* <p>A structure for the resource.</p>
|
|
899
|
+
*/
|
|
900
|
+
Resource: Resource | undefined;
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
export interface CreateLakeFormationOptInResponse {
|
|
906
|
+
}
|
|
884
907
|
/**
|
|
885
908
|
* @public
|
|
886
909
|
*/
|
|
@@ -936,6 +959,27 @@ export interface DeleteDataCellsFilterRequest {
|
|
|
936
959
|
*/
|
|
937
960
|
export interface DeleteDataCellsFilterResponse {
|
|
938
961
|
}
|
|
962
|
+
/**
|
|
963
|
+
* @public
|
|
964
|
+
*/
|
|
965
|
+
export interface DeleteLakeFormationOptInRequest {
|
|
966
|
+
/**
|
|
967
|
+
* @public
|
|
968
|
+
* <p>The Lake Formation principal. Supported principals are IAM users
|
|
969
|
+
* or IAM roles.</p>
|
|
970
|
+
*/
|
|
971
|
+
Principal: DataLakePrincipal | undefined;
|
|
972
|
+
/**
|
|
973
|
+
* @public
|
|
974
|
+
* <p>A structure for the resource.</p>
|
|
975
|
+
*/
|
|
976
|
+
Resource: Resource | undefined;
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* @public
|
|
980
|
+
*/
|
|
981
|
+
export interface DeleteLakeFormationOptInResponse {
|
|
982
|
+
}
|
|
939
983
|
/**
|
|
940
984
|
* @public
|
|
941
985
|
*/
|
|
@@ -1075,6 +1119,13 @@ export interface ResourceInfo {
|
|
|
1075
1119
|
* <p>Whether or not the resource is a federated resource.</p>
|
|
1076
1120
|
*/
|
|
1077
1121
|
WithFederation?: boolean;
|
|
1122
|
+
/**
|
|
1123
|
+
* @public
|
|
1124
|
+
* <p>
|
|
1125
|
+
* Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
|
|
1126
|
+
* </p>
|
|
1127
|
+
*/
|
|
1128
|
+
HybridAccessEnabled?: boolean;
|
|
1078
1129
|
}
|
|
1079
1130
|
/**
|
|
1080
1131
|
* @public
|
|
@@ -1351,6 +1402,16 @@ export interface PrincipalResourcePermissions {
|
|
|
1351
1402
|
* <p>This attribute can be used to return any additional details of <code>PrincipalResourcePermissions</code>. Currently returns only as a RAM resource share ARN.</p>
|
|
1352
1403
|
*/
|
|
1353
1404
|
AdditionalDetails?: DetailsMap;
|
|
1405
|
+
/**
|
|
1406
|
+
* @public
|
|
1407
|
+
* <p>The date and time when the resource was last updated.</p>
|
|
1408
|
+
*/
|
|
1409
|
+
LastUpdated?: Date;
|
|
1410
|
+
/**
|
|
1411
|
+
* @public
|
|
1412
|
+
* <p>The user who updated the record.</p>
|
|
1413
|
+
*/
|
|
1414
|
+
LastUpdatedBy?: string;
|
|
1354
1415
|
}
|
|
1355
1416
|
/**
|
|
1356
1417
|
* @public
|
|
@@ -2107,6 +2168,74 @@ export interface ListDataCellsFilterResponse {
|
|
|
2107
2168
|
*/
|
|
2108
2169
|
NextToken?: string;
|
|
2109
2170
|
}
|
|
2171
|
+
/**
|
|
2172
|
+
* @public
|
|
2173
|
+
*/
|
|
2174
|
+
export interface ListLakeFormationOptInsRequest {
|
|
2175
|
+
/**
|
|
2176
|
+
* @public
|
|
2177
|
+
* <p>The Lake Formation principal. Supported principals are IAM users
|
|
2178
|
+
* or IAM roles.</p>
|
|
2179
|
+
*/
|
|
2180
|
+
Principal?: DataLakePrincipal;
|
|
2181
|
+
/**
|
|
2182
|
+
* @public
|
|
2183
|
+
* <p>A structure for the resource.</p>
|
|
2184
|
+
*/
|
|
2185
|
+
Resource?: Resource;
|
|
2186
|
+
/**
|
|
2187
|
+
* @public
|
|
2188
|
+
* <p>The maximum number of results to return.</p>
|
|
2189
|
+
*/
|
|
2190
|
+
MaxResults?: number;
|
|
2191
|
+
/**
|
|
2192
|
+
* @public
|
|
2193
|
+
* <p>A continuation token, if this is not the first call to retrieve this list.</p>
|
|
2194
|
+
*/
|
|
2195
|
+
NextToken?: string;
|
|
2196
|
+
}
|
|
2197
|
+
/**
|
|
2198
|
+
* @public
|
|
2199
|
+
* <p>A single principal-resource pair that has Lake Formation permissins enforced.</p>
|
|
2200
|
+
*/
|
|
2201
|
+
export interface LakeFormationOptInsInfo {
|
|
2202
|
+
/**
|
|
2203
|
+
* @public
|
|
2204
|
+
* <p>A structure for the resource.</p>
|
|
2205
|
+
*/
|
|
2206
|
+
Resource?: Resource;
|
|
2207
|
+
/**
|
|
2208
|
+
* @public
|
|
2209
|
+
* <p>The Lake Formation principal. Supported principals are IAM users
|
|
2210
|
+
* or IAM roles.</p>
|
|
2211
|
+
*/
|
|
2212
|
+
Principal?: DataLakePrincipal;
|
|
2213
|
+
/**
|
|
2214
|
+
* @public
|
|
2215
|
+
* <p>The last modified date and time of the record.</p>
|
|
2216
|
+
*/
|
|
2217
|
+
LastModified?: Date;
|
|
2218
|
+
/**
|
|
2219
|
+
* @public
|
|
2220
|
+
* <p>The user who updated the record.</p>
|
|
2221
|
+
*/
|
|
2222
|
+
LastUpdatedBy?: string;
|
|
2223
|
+
}
|
|
2224
|
+
/**
|
|
2225
|
+
* @public
|
|
2226
|
+
*/
|
|
2227
|
+
export interface ListLakeFormationOptInsResponse {
|
|
2228
|
+
/**
|
|
2229
|
+
* @public
|
|
2230
|
+
* <p>A list of principal-resource pairs that have Lake Formation permissins enforced.</p>
|
|
2231
|
+
*/
|
|
2232
|
+
LakeFormationOptInsInfoList?: LakeFormationOptInsInfo[];
|
|
2233
|
+
/**
|
|
2234
|
+
* @public
|
|
2235
|
+
* <p>A continuation token, if this is not the first call to retrieve this list.</p>
|
|
2236
|
+
*/
|
|
2237
|
+
NextToken?: string;
|
|
2238
|
+
}
|
|
2110
2239
|
/**
|
|
2111
2240
|
* @public
|
|
2112
2241
|
* @enum
|
|
@@ -2519,6 +2648,13 @@ export interface RegisterResourceRequest {
|
|
|
2519
2648
|
* <p>Whether or not the resource is a federated resource.</p>
|
|
2520
2649
|
*/
|
|
2521
2650
|
WithFederation?: boolean;
|
|
2651
|
+
/**
|
|
2652
|
+
* @public
|
|
2653
|
+
* <p>
|
|
2654
|
+
* Specifies whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
|
|
2655
|
+
* </p>
|
|
2656
|
+
*/
|
|
2657
|
+
HybridAccessEnabled?: boolean;
|
|
2522
2658
|
}
|
|
2523
2659
|
/**
|
|
2524
2660
|
* @public
|
|
@@ -2866,6 +3002,13 @@ export interface UpdateResourceRequest {
|
|
|
2866
3002
|
* <p>Whether or not the resource is a federated resource.</p>
|
|
2867
3003
|
*/
|
|
2868
3004
|
WithFederation?: boolean;
|
|
3005
|
+
/**
|
|
3006
|
+
* @public
|
|
3007
|
+
* <p>
|
|
3008
|
+
* Specifies whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
|
|
3009
|
+
* </p>
|
|
3010
|
+
*/
|
|
3011
|
+
HybridAccessEnabled?: boolean;
|
|
2869
3012
|
}
|
|
2870
3013
|
/**
|
|
2871
3014
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListLakeFormationOptInsCommandInput, ListLakeFormationOptInsCommandOutput } from "../commands/ListLakeFormationOptInsCommand";
|
|
3
|
+
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListLakeFormationOptIns(config: LakeFormationPaginationConfiguration, input: ListLakeFormationOptInsCommandInput, ...additionalArguments: any): Paginator<ListLakeFormationOptInsCommandOutput>;
|
|
@@ -4,6 +4,7 @@ export * from "./GetWorkUnitsPaginator";
|
|
|
4
4
|
export * from "./Interfaces";
|
|
5
5
|
export * from "./ListDataCellsFilterPaginator";
|
|
6
6
|
export * from "./ListLFTagsPaginator";
|
|
7
|
+
export * from "./ListLakeFormationOptInsPaginator";
|
|
7
8
|
export * from "./ListPermissionsPaginator";
|
|
8
9
|
export * from "./ListResourcesPaginator";
|
|
9
10
|
export * from "./ListTableStorageOptimizersPaginator";
|
|
@@ -7,8 +7,10 @@ import { BatchRevokePermissionsCommandInput, BatchRevokePermissionsCommandOutput
|
|
|
7
7
|
import { CancelTransactionCommandInput, CancelTransactionCommandOutput } from "../commands/CancelTransactionCommand";
|
|
8
8
|
import { CommitTransactionCommandInput, CommitTransactionCommandOutput } from "../commands/CommitTransactionCommand";
|
|
9
9
|
import { CreateDataCellsFilterCommandInput, CreateDataCellsFilterCommandOutput } from "../commands/CreateDataCellsFilterCommand";
|
|
10
|
+
import { CreateLakeFormationOptInCommandInput, CreateLakeFormationOptInCommandOutput } from "../commands/CreateLakeFormationOptInCommand";
|
|
10
11
|
import { CreateLFTagCommandInput, CreateLFTagCommandOutput } from "../commands/CreateLFTagCommand";
|
|
11
12
|
import { DeleteDataCellsFilterCommandInput, DeleteDataCellsFilterCommandOutput } from "../commands/DeleteDataCellsFilterCommand";
|
|
13
|
+
import { DeleteLakeFormationOptInCommandInput, DeleteLakeFormationOptInCommandOutput } from "../commands/DeleteLakeFormationOptInCommand";
|
|
12
14
|
import { DeleteLFTagCommandInput, DeleteLFTagCommandOutput } from "../commands/DeleteLFTagCommand";
|
|
13
15
|
import { DeleteObjectsOnCancelCommandInput, DeleteObjectsOnCancelCommandOutput } from "../commands/DeleteObjectsOnCancelCommand";
|
|
14
16
|
import { DeregisterResourceCommandInput, DeregisterResourceCommandOutput } from "../commands/DeregisterResourceCommand";
|
|
@@ -29,6 +31,7 @@ import { GetWorkUnitResultsCommandInput, GetWorkUnitResultsCommandOutput } from
|
|
|
29
31
|
import { GetWorkUnitsCommandInput, GetWorkUnitsCommandOutput } from "../commands/GetWorkUnitsCommand";
|
|
30
32
|
import { GrantPermissionsCommandInput, GrantPermissionsCommandOutput } from "../commands/GrantPermissionsCommand";
|
|
31
33
|
import { ListDataCellsFilterCommandInput, ListDataCellsFilterCommandOutput } from "../commands/ListDataCellsFilterCommand";
|
|
34
|
+
import { ListLakeFormationOptInsCommandInput, ListLakeFormationOptInsCommandOutput } from "../commands/ListLakeFormationOptInsCommand";
|
|
32
35
|
import { ListLFTagsCommandInput, ListLFTagsCommandOutput } from "../commands/ListLFTagsCommand";
|
|
33
36
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "../commands/ListPermissionsCommand";
|
|
34
37
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "../commands/ListResourcesCommand";
|
|
@@ -75,6 +78,10 @@ export declare const se_CommitTransactionCommand: (input: CommitTransactionComma
|
|
|
75
78
|
* serializeAws_restJson1CreateDataCellsFilterCommand
|
|
76
79
|
*/
|
|
77
80
|
export declare const se_CreateDataCellsFilterCommand: (input: CreateDataCellsFilterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
81
|
+
/**
|
|
82
|
+
* serializeAws_restJson1CreateLakeFormationOptInCommand
|
|
83
|
+
*/
|
|
84
|
+
export declare const se_CreateLakeFormationOptInCommand: (input: CreateLakeFormationOptInCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
78
85
|
/**
|
|
79
86
|
* serializeAws_restJson1CreateLFTagCommand
|
|
80
87
|
*/
|
|
@@ -83,6 +90,10 @@ export declare const se_CreateLFTagCommand: (input: CreateLFTagCommandInput, con
|
|
|
83
90
|
* serializeAws_restJson1DeleteDataCellsFilterCommand
|
|
84
91
|
*/
|
|
85
92
|
export declare const se_DeleteDataCellsFilterCommand: (input: DeleteDataCellsFilterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
93
|
+
/**
|
|
94
|
+
* serializeAws_restJson1DeleteLakeFormationOptInCommand
|
|
95
|
+
*/
|
|
96
|
+
export declare const se_DeleteLakeFormationOptInCommand: (input: DeleteLakeFormationOptInCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
86
97
|
/**
|
|
87
98
|
* serializeAws_restJson1DeleteLFTagCommand
|
|
88
99
|
*/
|
|
@@ -163,6 +174,10 @@ export declare const se_GrantPermissionsCommand: (input: GrantPermissionsCommand
|
|
|
163
174
|
* serializeAws_restJson1ListDataCellsFilterCommand
|
|
164
175
|
*/
|
|
165
176
|
export declare const se_ListDataCellsFilterCommand: (input: ListDataCellsFilterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
177
|
+
/**
|
|
178
|
+
* serializeAws_restJson1ListLakeFormationOptInsCommand
|
|
179
|
+
*/
|
|
180
|
+
export declare const se_ListLakeFormationOptInsCommand: (input: ListLakeFormationOptInsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
166
181
|
/**
|
|
167
182
|
* serializeAws_restJson1ListLFTagsCommand
|
|
168
183
|
*/
|
|
@@ -263,6 +278,10 @@ export declare const de_CommitTransactionCommand: (output: __HttpResponse, conte
|
|
|
263
278
|
* deserializeAws_restJson1CreateDataCellsFilterCommand
|
|
264
279
|
*/
|
|
265
280
|
export declare const de_CreateDataCellsFilterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDataCellsFilterCommandOutput>;
|
|
281
|
+
/**
|
|
282
|
+
* deserializeAws_restJson1CreateLakeFormationOptInCommand
|
|
283
|
+
*/
|
|
284
|
+
export declare const de_CreateLakeFormationOptInCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLakeFormationOptInCommandOutput>;
|
|
266
285
|
/**
|
|
267
286
|
* deserializeAws_restJson1CreateLFTagCommand
|
|
268
287
|
*/
|
|
@@ -271,6 +290,10 @@ export declare const de_CreateLFTagCommand: (output: __HttpResponse, context: __
|
|
|
271
290
|
* deserializeAws_restJson1DeleteDataCellsFilterCommand
|
|
272
291
|
*/
|
|
273
292
|
export declare const de_DeleteDataCellsFilterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDataCellsFilterCommandOutput>;
|
|
293
|
+
/**
|
|
294
|
+
* deserializeAws_restJson1DeleteLakeFormationOptInCommand
|
|
295
|
+
*/
|
|
296
|
+
export declare const de_DeleteLakeFormationOptInCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteLakeFormationOptInCommandOutput>;
|
|
274
297
|
/**
|
|
275
298
|
* deserializeAws_restJson1DeleteLFTagCommand
|
|
276
299
|
*/
|
|
@@ -351,6 +374,10 @@ export declare const de_GrantPermissionsCommand: (output: __HttpResponse, contex
|
|
|
351
374
|
* deserializeAws_restJson1ListDataCellsFilterCommand
|
|
352
375
|
*/
|
|
353
376
|
export declare const de_ListDataCellsFilterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDataCellsFilterCommandOutput>;
|
|
377
|
+
/**
|
|
378
|
+
* deserializeAws_restJson1ListLakeFormationOptInsCommand
|
|
379
|
+
*/
|
|
380
|
+
export declare const de_ListLakeFormationOptInsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLakeFormationOptInsCommandOutput>;
|
|
354
381
|
/**
|
|
355
382
|
* deserializeAws_restJson1ListLFTagsCommand
|
|
356
383
|
*/
|
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
CreateDataCellsFilterCommandInput,
|
|
28
28
|
CreateDataCellsFilterCommandOutput,
|
|
29
29
|
} from "./commands/CreateDataCellsFilterCommand";
|
|
30
|
+
import {
|
|
31
|
+
CreateLakeFormationOptInCommandInput,
|
|
32
|
+
CreateLakeFormationOptInCommandOutput,
|
|
33
|
+
} from "./commands/CreateLakeFormationOptInCommand";
|
|
30
34
|
import {
|
|
31
35
|
CreateLFTagCommandInput,
|
|
32
36
|
CreateLFTagCommandOutput,
|
|
@@ -35,6 +39,10 @@ import {
|
|
|
35
39
|
DeleteDataCellsFilterCommandInput,
|
|
36
40
|
DeleteDataCellsFilterCommandOutput,
|
|
37
41
|
} from "./commands/DeleteDataCellsFilterCommand";
|
|
42
|
+
import {
|
|
43
|
+
DeleteLakeFormationOptInCommandInput,
|
|
44
|
+
DeleteLakeFormationOptInCommandOutput,
|
|
45
|
+
} from "./commands/DeleteLakeFormationOptInCommand";
|
|
38
46
|
import {
|
|
39
47
|
DeleteLFTagCommandInput,
|
|
40
48
|
DeleteLFTagCommandOutput,
|
|
@@ -115,6 +123,10 @@ import {
|
|
|
115
123
|
ListDataCellsFilterCommandInput,
|
|
116
124
|
ListDataCellsFilterCommandOutput,
|
|
117
125
|
} from "./commands/ListDataCellsFilterCommand";
|
|
126
|
+
import {
|
|
127
|
+
ListLakeFormationOptInsCommandInput,
|
|
128
|
+
ListLakeFormationOptInsCommandOutput,
|
|
129
|
+
} from "./commands/ListLakeFormationOptInsCommand";
|
|
118
130
|
import {
|
|
119
131
|
ListLFTagsCommandInput,
|
|
120
132
|
ListLFTagsCommandOutput,
|
|
@@ -280,6 +292,19 @@ export interface LakeFormation {
|
|
|
280
292
|
options: __HttpHandlerOptions,
|
|
281
293
|
cb: (err: any, data?: CreateDataCellsFilterCommandOutput) => void
|
|
282
294
|
): void;
|
|
295
|
+
createLakeFormationOptIn(
|
|
296
|
+
args: CreateLakeFormationOptInCommandInput,
|
|
297
|
+
options?: __HttpHandlerOptions
|
|
298
|
+
): Promise<CreateLakeFormationOptInCommandOutput>;
|
|
299
|
+
createLakeFormationOptIn(
|
|
300
|
+
args: CreateLakeFormationOptInCommandInput,
|
|
301
|
+
cb: (err: any, data?: CreateLakeFormationOptInCommandOutput) => void
|
|
302
|
+
): void;
|
|
303
|
+
createLakeFormationOptIn(
|
|
304
|
+
args: CreateLakeFormationOptInCommandInput,
|
|
305
|
+
options: __HttpHandlerOptions,
|
|
306
|
+
cb: (err: any, data?: CreateLakeFormationOptInCommandOutput) => void
|
|
307
|
+
): void;
|
|
283
308
|
createLFTag(
|
|
284
309
|
args: CreateLFTagCommandInput,
|
|
285
310
|
options?: __HttpHandlerOptions
|
|
@@ -306,6 +331,19 @@ export interface LakeFormation {
|
|
|
306
331
|
options: __HttpHandlerOptions,
|
|
307
332
|
cb: (err: any, data?: DeleteDataCellsFilterCommandOutput) => void
|
|
308
333
|
): void;
|
|
334
|
+
deleteLakeFormationOptIn(
|
|
335
|
+
args: DeleteLakeFormationOptInCommandInput,
|
|
336
|
+
options?: __HttpHandlerOptions
|
|
337
|
+
): Promise<DeleteLakeFormationOptInCommandOutput>;
|
|
338
|
+
deleteLakeFormationOptIn(
|
|
339
|
+
args: DeleteLakeFormationOptInCommandInput,
|
|
340
|
+
cb: (err: any, data?: DeleteLakeFormationOptInCommandOutput) => void
|
|
341
|
+
): void;
|
|
342
|
+
deleteLakeFormationOptIn(
|
|
343
|
+
args: DeleteLakeFormationOptInCommandInput,
|
|
344
|
+
options: __HttpHandlerOptions,
|
|
345
|
+
cb: (err: any, data?: DeleteLakeFormationOptInCommandOutput) => void
|
|
346
|
+
): void;
|
|
309
347
|
deleteLFTag(
|
|
310
348
|
args: DeleteLFTagCommandInput,
|
|
311
349
|
options?: __HttpHandlerOptions
|
|
@@ -572,6 +610,19 @@ export interface LakeFormation {
|
|
|
572
610
|
options: __HttpHandlerOptions,
|
|
573
611
|
cb: (err: any, data?: ListDataCellsFilterCommandOutput) => void
|
|
574
612
|
): void;
|
|
613
|
+
listLakeFormationOptIns(
|
|
614
|
+
args: ListLakeFormationOptInsCommandInput,
|
|
615
|
+
options?: __HttpHandlerOptions
|
|
616
|
+
): Promise<ListLakeFormationOptInsCommandOutput>;
|
|
617
|
+
listLakeFormationOptIns(
|
|
618
|
+
args: ListLakeFormationOptInsCommandInput,
|
|
619
|
+
cb: (err: any, data?: ListLakeFormationOptInsCommandOutput) => void
|
|
620
|
+
): void;
|
|
621
|
+
listLakeFormationOptIns(
|
|
622
|
+
args: ListLakeFormationOptInsCommandInput,
|
|
623
|
+
options: __HttpHandlerOptions,
|
|
624
|
+
cb: (err: any, data?: ListLakeFormationOptInsCommandOutput) => void
|
|
625
|
+
): void;
|
|
575
626
|
listLFTags(
|
|
576
627
|
args: ListLFTagsCommandInput,
|
|
577
628
|
options?: __HttpHandlerOptions
|
|
@@ -74,6 +74,10 @@ import {
|
|
|
74
74
|
CreateDataCellsFilterCommandInput,
|
|
75
75
|
CreateDataCellsFilterCommandOutput,
|
|
76
76
|
} from "./commands/CreateDataCellsFilterCommand";
|
|
77
|
+
import {
|
|
78
|
+
CreateLakeFormationOptInCommandInput,
|
|
79
|
+
CreateLakeFormationOptInCommandOutput,
|
|
80
|
+
} from "./commands/CreateLakeFormationOptInCommand";
|
|
77
81
|
import {
|
|
78
82
|
CreateLFTagCommandInput,
|
|
79
83
|
CreateLFTagCommandOutput,
|
|
@@ -82,6 +86,10 @@ import {
|
|
|
82
86
|
DeleteDataCellsFilterCommandInput,
|
|
83
87
|
DeleteDataCellsFilterCommandOutput,
|
|
84
88
|
} from "./commands/DeleteDataCellsFilterCommand";
|
|
89
|
+
import {
|
|
90
|
+
DeleteLakeFormationOptInCommandInput,
|
|
91
|
+
DeleteLakeFormationOptInCommandOutput,
|
|
92
|
+
} from "./commands/DeleteLakeFormationOptInCommand";
|
|
85
93
|
import {
|
|
86
94
|
DeleteLFTagCommandInput,
|
|
87
95
|
DeleteLFTagCommandOutput,
|
|
@@ -162,6 +170,10 @@ import {
|
|
|
162
170
|
ListDataCellsFilterCommandInput,
|
|
163
171
|
ListDataCellsFilterCommandOutput,
|
|
164
172
|
} from "./commands/ListDataCellsFilterCommand";
|
|
173
|
+
import {
|
|
174
|
+
ListLakeFormationOptInsCommandInput,
|
|
175
|
+
ListLakeFormationOptInsCommandOutput,
|
|
176
|
+
} from "./commands/ListLakeFormationOptInsCommand";
|
|
165
177
|
import {
|
|
166
178
|
ListLFTagsCommandInput,
|
|
167
179
|
ListLFTagsCommandOutput,
|
|
@@ -250,8 +262,10 @@ export type ServiceInputTypes =
|
|
|
250
262
|
| CommitTransactionCommandInput
|
|
251
263
|
| CreateDataCellsFilterCommandInput
|
|
252
264
|
| CreateLFTagCommandInput
|
|
265
|
+
| CreateLakeFormationOptInCommandInput
|
|
253
266
|
| DeleteDataCellsFilterCommandInput
|
|
254
267
|
| DeleteLFTagCommandInput
|
|
268
|
+
| DeleteLakeFormationOptInCommandInput
|
|
255
269
|
| DeleteObjectsOnCancelCommandInput
|
|
256
270
|
| DeregisterResourceCommandInput
|
|
257
271
|
| DescribeResourceCommandInput
|
|
@@ -272,6 +286,7 @@ export type ServiceInputTypes =
|
|
|
272
286
|
| GrantPermissionsCommandInput
|
|
273
287
|
| ListDataCellsFilterCommandInput
|
|
274
288
|
| ListLFTagsCommandInput
|
|
289
|
+
| ListLakeFormationOptInsCommandInput
|
|
275
290
|
| ListPermissionsCommandInput
|
|
276
291
|
| ListResourcesCommandInput
|
|
277
292
|
| ListTableStorageOptimizersCommandInput
|
|
@@ -298,8 +313,10 @@ export type ServiceOutputTypes =
|
|
|
298
313
|
| CommitTransactionCommandOutput
|
|
299
314
|
| CreateDataCellsFilterCommandOutput
|
|
300
315
|
| CreateLFTagCommandOutput
|
|
316
|
+
| CreateLakeFormationOptInCommandOutput
|
|
301
317
|
| DeleteDataCellsFilterCommandOutput
|
|
302
318
|
| DeleteLFTagCommandOutput
|
|
319
|
+
| DeleteLakeFormationOptInCommandOutput
|
|
303
320
|
| DeleteObjectsOnCancelCommandOutput
|
|
304
321
|
| DeregisterResourceCommandOutput
|
|
305
322
|
| DescribeResourceCommandOutput
|
|
@@ -320,6 +337,7 @@ export type ServiceOutputTypes =
|
|
|
320
337
|
| GrantPermissionsCommandOutput
|
|
321
338
|
| ListDataCellsFilterCommandOutput
|
|
322
339
|
| ListLFTagsCommandOutput
|
|
340
|
+
| ListLakeFormationOptInsCommandOutput
|
|
323
341
|
| ListPermissionsCommandOutput
|
|
324
342
|
| ListResourcesCommandOutput
|
|
325
343
|
| ListTableStorageOptimizersCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
LakeFormationClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../LakeFormationClient";
|
|
14
|
+
import {
|
|
15
|
+
CreateLakeFormationOptInRequest,
|
|
16
|
+
CreateLakeFormationOptInResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface CreateLakeFormationOptInCommandInput
|
|
20
|
+
extends CreateLakeFormationOptInRequest {}
|
|
21
|
+
export interface CreateLakeFormationOptInCommandOutput
|
|
22
|
+
extends CreateLakeFormationOptInResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class CreateLakeFormationOptInCommand extends $Command<
|
|
25
|
+
CreateLakeFormationOptInCommandInput,
|
|
26
|
+
CreateLakeFormationOptInCommandOutput,
|
|
27
|
+
LakeFormationClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: CreateLakeFormationOptInCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: CreateLakeFormationOptInCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: LakeFormationClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
CreateLakeFormationOptInCommandInput,
|
|
38
|
+
CreateLakeFormationOptInCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
LakeFormationClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../LakeFormationClient";
|
|
14
|
+
import {
|
|
15
|
+
DeleteLakeFormationOptInRequest,
|
|
16
|
+
DeleteLakeFormationOptInResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DeleteLakeFormationOptInCommandInput
|
|
20
|
+
extends DeleteLakeFormationOptInRequest {}
|
|
21
|
+
export interface DeleteLakeFormationOptInCommandOutput
|
|
22
|
+
extends DeleteLakeFormationOptInResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DeleteLakeFormationOptInCommand extends $Command<
|
|
25
|
+
DeleteLakeFormationOptInCommandInput,
|
|
26
|
+
DeleteLakeFormationOptInCommandOutput,
|
|
27
|
+
LakeFormationClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DeleteLakeFormationOptInCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DeleteLakeFormationOptInCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: LakeFormationClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
DeleteLakeFormationOptInCommandInput,
|
|
38
|
+
DeleteLakeFormationOptInCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
LakeFormationClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../LakeFormationClient";
|
|
14
|
+
import {
|
|
15
|
+
ListLakeFormationOptInsRequest,
|
|
16
|
+
ListLakeFormationOptInsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListLakeFormationOptInsCommandInput
|
|
20
|
+
extends ListLakeFormationOptInsRequest {}
|
|
21
|
+
export interface ListLakeFormationOptInsCommandOutput
|
|
22
|
+
extends ListLakeFormationOptInsResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListLakeFormationOptInsCommand extends $Command<
|
|
25
|
+
ListLakeFormationOptInsCommandInput,
|
|
26
|
+
ListLakeFormationOptInsCommandOutput,
|
|
27
|
+
LakeFormationClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListLakeFormationOptInsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListLakeFormationOptInsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: LakeFormationClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListLakeFormationOptInsCommandInput,
|
|
38
|
+
ListLakeFormationOptInsCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -6,8 +6,10 @@ export * from "./CancelTransactionCommand";
|
|
|
6
6
|
export * from "./CommitTransactionCommand";
|
|
7
7
|
export * from "./CreateDataCellsFilterCommand";
|
|
8
8
|
export * from "./CreateLFTagCommand";
|
|
9
|
+
export * from "./CreateLakeFormationOptInCommand";
|
|
9
10
|
export * from "./DeleteDataCellsFilterCommand";
|
|
10
11
|
export * from "./DeleteLFTagCommand";
|
|
12
|
+
export * from "./DeleteLakeFormationOptInCommand";
|
|
11
13
|
export * from "./DeleteObjectsOnCancelCommand";
|
|
12
14
|
export * from "./DeregisterResourceCommand";
|
|
13
15
|
export * from "./DescribeResourceCommand";
|
|
@@ -28,6 +30,7 @@ export * from "./GetWorkUnitsCommand";
|
|
|
28
30
|
export * from "./GrantPermissionsCommand";
|
|
29
31
|
export * from "./ListDataCellsFilterCommand";
|
|
30
32
|
export * from "./ListLFTagsCommand";
|
|
33
|
+
export * from "./ListLakeFormationOptInsCommand";
|
|
31
34
|
export * from "./ListPermissionsCommand";
|
|
32
35
|
export * from "./ListResourcesCommand";
|
|
33
36
|
export * from "./ListTableStorageOptimizersCommand";
|
|
@@ -282,6 +282,11 @@ export declare class ResourceNumberLimitExceededException extends __BaseExceptio
|
|
|
282
282
|
>
|
|
283
283
|
);
|
|
284
284
|
}
|
|
285
|
+
export interface CreateLakeFormationOptInRequest {
|
|
286
|
+
Principal: DataLakePrincipal | undefined;
|
|
287
|
+
Resource: Resource | undefined;
|
|
288
|
+
}
|
|
289
|
+
export interface CreateLakeFormationOptInResponse {}
|
|
285
290
|
export interface CreateLFTagRequest {
|
|
286
291
|
CatalogId?: string;
|
|
287
292
|
TagKey: string | undefined;
|
|
@@ -295,6 +300,11 @@ export interface DeleteDataCellsFilterRequest {
|
|
|
295
300
|
Name?: string;
|
|
296
301
|
}
|
|
297
302
|
export interface DeleteDataCellsFilterResponse {}
|
|
303
|
+
export interface DeleteLakeFormationOptInRequest {
|
|
304
|
+
Principal: DataLakePrincipal | undefined;
|
|
305
|
+
Resource: Resource | undefined;
|
|
306
|
+
}
|
|
307
|
+
export interface DeleteLakeFormationOptInResponse {}
|
|
298
308
|
export interface DeleteLFTagRequest {
|
|
299
309
|
CatalogId?: string;
|
|
300
310
|
TagKey: string | undefined;
|
|
@@ -332,6 +342,7 @@ export interface ResourceInfo {
|
|
|
332
342
|
RoleArn?: string;
|
|
333
343
|
LastModified?: Date;
|
|
334
344
|
WithFederation?: boolean;
|
|
345
|
+
HybridAccessEnabled?: boolean;
|
|
335
346
|
}
|
|
336
347
|
export interface DescribeResourceResponse {
|
|
337
348
|
ResourceInfo?: ResourceInfo;
|
|
@@ -398,6 +409,8 @@ export interface PrincipalResourcePermissions {
|
|
|
398
409
|
Permissions?: (Permission | string)[];
|
|
399
410
|
PermissionsWithGrantOption?: (Permission | string)[];
|
|
400
411
|
AdditionalDetails?: DetailsMap;
|
|
412
|
+
LastUpdated?: Date;
|
|
413
|
+
LastUpdatedBy?: string;
|
|
401
414
|
}
|
|
402
415
|
export interface GetEffectivePermissionsForPathResponse {
|
|
403
416
|
Permissions?: PrincipalResourcePermissions[];
|
|
@@ -612,6 +625,22 @@ export interface ListDataCellsFilterResponse {
|
|
|
612
625
|
DataCellsFilters?: DataCellsFilter[];
|
|
613
626
|
NextToken?: string;
|
|
614
627
|
}
|
|
628
|
+
export interface ListLakeFormationOptInsRequest {
|
|
629
|
+
Principal?: DataLakePrincipal;
|
|
630
|
+
Resource?: Resource;
|
|
631
|
+
MaxResults?: number;
|
|
632
|
+
NextToken?: string;
|
|
633
|
+
}
|
|
634
|
+
export interface LakeFormationOptInsInfo {
|
|
635
|
+
Resource?: Resource;
|
|
636
|
+
Principal?: DataLakePrincipal;
|
|
637
|
+
LastModified?: Date;
|
|
638
|
+
LastUpdatedBy?: string;
|
|
639
|
+
}
|
|
640
|
+
export interface ListLakeFormationOptInsResponse {
|
|
641
|
+
LakeFormationOptInsInfoList?: LakeFormationOptInsInfo[];
|
|
642
|
+
NextToken?: string;
|
|
643
|
+
}
|
|
615
644
|
export declare const ResourceShareType: {
|
|
616
645
|
readonly ALL: "ALL";
|
|
617
646
|
readonly FOREIGN: "FOREIGN";
|
|
@@ -743,6 +772,7 @@ export interface RegisterResourceRequest {
|
|
|
743
772
|
UseServiceLinkedRole?: boolean;
|
|
744
773
|
RoleArn?: string;
|
|
745
774
|
WithFederation?: boolean;
|
|
775
|
+
HybridAccessEnabled?: boolean;
|
|
746
776
|
}
|
|
747
777
|
export interface RegisterResourceResponse {}
|
|
748
778
|
export interface RemoveLFTagsFromResourceRequest {
|
|
@@ -832,6 +862,7 @@ export interface UpdateResourceRequest {
|
|
|
832
862
|
RoleArn: string | undefined;
|
|
833
863
|
ResourceArn: string | undefined;
|
|
834
864
|
WithFederation?: boolean;
|
|
865
|
+
HybridAccessEnabled?: boolean;
|
|
835
866
|
}
|
|
836
867
|
export interface UpdateResourceResponse {}
|
|
837
868
|
export interface DeleteObjectInput {
|