Skip to content

Commit ae29e55

Browse files
author
awstools
committed
feat(client-lakeformation): This release adds three new API support "CreateLakeFormationOptIn", "DeleteLakeFormationOptIn" and "ListLakeFormationOptIns", and also updates the corresponding documentation.
1 parent e2b776f commit ae29e55

18 files changed

+1679
-6
lines changed

clients/client-lakeformation/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,14 @@ CreateDataCellsFilter
260260

261261
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/classes/createdatacellsfiltercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/createdatacellsfiltercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/createdatacellsfiltercommandoutput.html)
262262

263+
</details>
264+
<details>
265+
<summary>
266+
CreateLakeFormationOptIn
267+
</summary>
268+
269+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/classes/createlakeformationoptincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/createlakeformationoptincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/createlakeformationoptincommandoutput.html)
270+
263271
</details>
264272
<details>
265273
<summary>
@@ -276,6 +284,14 @@ DeleteDataCellsFilter
276284

277285
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/classes/deletedatacellsfiltercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/deletedatacellsfiltercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/deletedatacellsfiltercommandoutput.html)
278286

287+
</details>
288+
<details>
289+
<summary>
290+
DeleteLakeFormationOptIn
291+
</summary>
292+
293+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/classes/deletelakeformationoptincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/deletelakeformationoptincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/deletelakeformationoptincommandoutput.html)
294+
279295
</details>
280296
<details>
281297
<summary>
@@ -436,6 +452,14 @@ ListDataCellsFilter
436452

437453
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/classes/listdatacellsfiltercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/listdatacellsfiltercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/listdatacellsfiltercommandoutput.html)
438454

455+
</details>
456+
<details>
457+
<summary>
458+
ListLakeFormationOptIns
459+
</summary>
460+
461+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/classes/listlakeformationoptinscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/listlakeformationoptinscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lakeformation/interfaces/listlakeformationoptinscommandoutput.html)
462+
439463
</details>
440464
<details>
441465
<summary>

clients/client-lakeformation/src/LakeFormation.ts

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,22 @@ import {
3737
CreateDataCellsFilterCommandInput,
3838
CreateDataCellsFilterCommandOutput,
3939
} from "./commands/CreateDataCellsFilterCommand";
40+
import {
41+
CreateLakeFormationOptInCommand,
42+
CreateLakeFormationOptInCommandInput,
43+
CreateLakeFormationOptInCommandOutput,
44+
} from "./commands/CreateLakeFormationOptInCommand";
4045
import { CreateLFTagCommand, CreateLFTagCommandInput, CreateLFTagCommandOutput } from "./commands/CreateLFTagCommand";
4146
import {
4247
DeleteDataCellsFilterCommand,
4348
DeleteDataCellsFilterCommandInput,
4449
DeleteDataCellsFilterCommandOutput,
4550
} from "./commands/DeleteDataCellsFilterCommand";
51+
import {
52+
DeleteLakeFormationOptInCommand,
53+
DeleteLakeFormationOptInCommandInput,
54+
DeleteLakeFormationOptInCommandOutput,
55+
} from "./commands/DeleteLakeFormationOptInCommand";
4656
import { DeleteLFTagCommand, DeleteLFTagCommandInput, DeleteLFTagCommandOutput } from "./commands/DeleteLFTagCommand";
4757
import {
4858
DeleteObjectsOnCancelCommand,
@@ -135,6 +145,11 @@ import {
135145
ListDataCellsFilterCommandInput,
136146
ListDataCellsFilterCommandOutput,
137147
} from "./commands/ListDataCellsFilterCommand";
148+
import {
149+
ListLakeFormationOptInsCommand,
150+
ListLakeFormationOptInsCommandInput,
151+
ListLakeFormationOptInsCommandOutput,
152+
} from "./commands/ListLakeFormationOptInsCommand";
138153
import { ListLFTagsCommand, ListLFTagsCommandInput, ListLFTagsCommandOutput } from "./commands/ListLFTagsCommand";
139154
import {
140155
ListPermissionsCommand,
@@ -227,8 +242,10 @@ const commands = {
227242
CancelTransactionCommand,
228243
CommitTransactionCommand,
229244
CreateDataCellsFilterCommand,
245+
CreateLakeFormationOptInCommand,
230246
CreateLFTagCommand,
231247
DeleteDataCellsFilterCommand,
248+
DeleteLakeFormationOptInCommand,
232249
DeleteLFTagCommand,
233250
DeleteObjectsOnCancelCommand,
234251
DeregisterResourceCommand,
@@ -249,6 +266,7 @@ const commands = {
249266
GetWorkUnitsCommand,
250267
GrantPermissionsCommand,
251268
ListDataCellsFilterCommand,
269+
ListLakeFormationOptInsCommand,
252270
ListLFTagsCommand,
253271
ListPermissionsCommand,
254272
ListResourcesCommand,
@@ -389,6 +407,23 @@ export interface LakeFormation {
389407
cb: (err: any, data?: CreateDataCellsFilterCommandOutput) => void
390408
): void;
391409

410+
/**
411+
* @see {@link CreateLakeFormationOptInCommand}
412+
*/
413+
createLakeFormationOptIn(
414+
args: CreateLakeFormationOptInCommandInput,
415+
options?: __HttpHandlerOptions
416+
): Promise<CreateLakeFormationOptInCommandOutput>;
417+
createLakeFormationOptIn(
418+
args: CreateLakeFormationOptInCommandInput,
419+
cb: (err: any, data?: CreateLakeFormationOptInCommandOutput) => void
420+
): void;
421+
createLakeFormationOptIn(
422+
args: CreateLakeFormationOptInCommandInput,
423+
options: __HttpHandlerOptions,
424+
cb: (err: any, data?: CreateLakeFormationOptInCommandOutput) => void
425+
): void;
426+
392427
/**
393428
* @see {@link CreateLFTagCommand}
394429
*/
@@ -417,6 +452,23 @@ export interface LakeFormation {
417452
cb: (err: any, data?: DeleteDataCellsFilterCommandOutput) => void
418453
): void;
419454

455+
/**
456+
* @see {@link DeleteLakeFormationOptInCommand}
457+
*/
458+
deleteLakeFormationOptIn(
459+
args: DeleteLakeFormationOptInCommandInput,
460+
options?: __HttpHandlerOptions
461+
): Promise<DeleteLakeFormationOptInCommandOutput>;
462+
deleteLakeFormationOptIn(
463+
args: DeleteLakeFormationOptInCommandInput,
464+
cb: (err: any, data?: DeleteLakeFormationOptInCommandOutput) => void
465+
): void;
466+
deleteLakeFormationOptIn(
467+
args: DeleteLakeFormationOptInCommandInput,
468+
options: __HttpHandlerOptions,
469+
cb: (err: any, data?: DeleteLakeFormationOptInCommandOutput) => void
470+
): void;
471+
420472
/**
421473
* @see {@link DeleteLFTagCommand}
422474
*/
@@ -730,6 +782,23 @@ export interface LakeFormation {
730782
cb: (err: any, data?: ListDataCellsFilterCommandOutput) => void
731783
): void;
732784

785+
/**
786+
* @see {@link ListLakeFormationOptInsCommand}
787+
*/
788+
listLakeFormationOptIns(
789+
args: ListLakeFormationOptInsCommandInput,
790+
options?: __HttpHandlerOptions
791+
): Promise<ListLakeFormationOptInsCommandOutput>;
792+
listLakeFormationOptIns(
793+
args: ListLakeFormationOptInsCommandInput,
794+
cb: (err: any, data?: ListLakeFormationOptInsCommandOutput) => void
795+
): void;
796+
listLakeFormationOptIns(
797+
args: ListLakeFormationOptInsCommandInput,
798+
options: __HttpHandlerOptions,
799+
cb: (err: any, data?: ListLakeFormationOptInsCommandOutput) => void
800+
): void;
801+
733802
/**
734803
* @see {@link ListLFTagsCommand}
735804
*/

clients/client-lakeformation/src/LakeFormationClient.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,19 @@ import {
7373
CreateDataCellsFilterCommandInput,
7474
CreateDataCellsFilterCommandOutput,
7575
} from "./commands/CreateDataCellsFilterCommand";
76+
import {
77+
CreateLakeFormationOptInCommandInput,
78+
CreateLakeFormationOptInCommandOutput,
79+
} from "./commands/CreateLakeFormationOptInCommand";
7680
import { CreateLFTagCommandInput, CreateLFTagCommandOutput } from "./commands/CreateLFTagCommand";
7781
import {
7882
DeleteDataCellsFilterCommandInput,
7983
DeleteDataCellsFilterCommandOutput,
8084
} from "./commands/DeleteDataCellsFilterCommand";
85+
import {
86+
DeleteLakeFormationOptInCommandInput,
87+
DeleteLakeFormationOptInCommandOutput,
88+
} from "./commands/DeleteLakeFormationOptInCommand";
8189
import { DeleteLFTagCommandInput, DeleteLFTagCommandOutput } from "./commands/DeleteLFTagCommand";
8290
import {
8391
DeleteObjectsOnCancelCommandInput,
@@ -119,6 +127,10 @@ import {
119127
ListDataCellsFilterCommandInput,
120128
ListDataCellsFilterCommandOutput,
121129
} from "./commands/ListDataCellsFilterCommand";
130+
import {
131+
ListLakeFormationOptInsCommandInput,
132+
ListLakeFormationOptInsCommandOutput,
133+
} from "./commands/ListLakeFormationOptInsCommand";
122134
import { ListLFTagsCommandInput, ListLFTagsCommandOutput } from "./commands/ListLFTagsCommand";
123135
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
124136
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
@@ -181,8 +193,10 @@ export type ServiceInputTypes =
181193
| CommitTransactionCommandInput
182194
| CreateDataCellsFilterCommandInput
183195
| CreateLFTagCommandInput
196+
| CreateLakeFormationOptInCommandInput
184197
| DeleteDataCellsFilterCommandInput
185198
| DeleteLFTagCommandInput
199+
| DeleteLakeFormationOptInCommandInput
186200
| DeleteObjectsOnCancelCommandInput
187201
| DeregisterResourceCommandInput
188202
| DescribeResourceCommandInput
@@ -203,6 +217,7 @@ export type ServiceInputTypes =
203217
| GrantPermissionsCommandInput
204218
| ListDataCellsFilterCommandInput
205219
| ListLFTagsCommandInput
220+
| ListLakeFormationOptInsCommandInput
206221
| ListPermissionsCommandInput
207222
| ListResourcesCommandInput
208223
| ListTableStorageOptimizersCommandInput
@@ -233,8 +248,10 @@ export type ServiceOutputTypes =
233248
| CommitTransactionCommandOutput
234249
| CreateDataCellsFilterCommandOutput
235250
| CreateLFTagCommandOutput
251+
| CreateLakeFormationOptInCommandOutput
236252
| DeleteDataCellsFilterCommandOutput
237253
| DeleteLFTagCommandOutput
254+
| DeleteLakeFormationOptInCommandOutput
238255
| DeleteObjectsOnCancelCommandOutput
239256
| DeregisterResourceCommandOutput
240257
| DescribeResourceCommandOutput
@@ -255,6 +272,7 @@ export type ServiceOutputTypes =
255272
| GrantPermissionsCommandOutput
256273
| ListDataCellsFilterCommandOutput
257274
| ListLFTagsCommandOutput
275+
| ListLakeFormationOptInsCommandOutput
258276
| ListPermissionsCommandOutput
259277
| ListResourcesCommandOutput
260278
| ListTableStorageOptimizersCommandOutput

0 commit comments

Comments
 (0)