Skip to content

Commit

Permalink
feat(client-lakeformation): This release adds three new API support "…
Browse files Browse the repository at this point in the history
…CreateLakeFormationOptIn", "DeleteLakeFormationOptIn" and "ListLakeFormationOptIns", and also updates the corresponding documentation.
  • Loading branch information
awstools committed Sep 26, 2023
1 parent e2b776f commit ae29e55
Show file tree
Hide file tree
Showing 18 changed files with 1,679 additions and 6 deletions.
24 changes: 24 additions & 0 deletions clients/client-lakeformation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,14 @@ CreateDataCellsFilter

[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)

</details>
<details>
<summary>
CreateLakeFormationOptIn
</summary>

[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)

</details>
<details>
<summary>
Expand All @@ -276,6 +284,14 @@ DeleteDataCellsFilter

[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)

</details>
<details>
<summary>
DeleteLakeFormationOptIn
</summary>

[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)

</details>
<details>
<summary>
Expand Down Expand Up @@ -436,6 +452,14 @@ ListDataCellsFilter

[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)

</details>
<details>
<summary>
ListLakeFormationOptIns
</summary>

[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)

</details>
<details>
<summary>
Expand Down
69 changes: 69 additions & 0 deletions clients/client-lakeformation/src/LakeFormation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,22 @@ import {
CreateDataCellsFilterCommandInput,
CreateDataCellsFilterCommandOutput,
} from "./commands/CreateDataCellsFilterCommand";
import {
CreateLakeFormationOptInCommand,
CreateLakeFormationOptInCommandInput,
CreateLakeFormationOptInCommandOutput,
} from "./commands/CreateLakeFormationOptInCommand";
import { CreateLFTagCommand, CreateLFTagCommandInput, CreateLFTagCommandOutput } from "./commands/CreateLFTagCommand";
import {
DeleteDataCellsFilterCommand,
DeleteDataCellsFilterCommandInput,
DeleteDataCellsFilterCommandOutput,
} from "./commands/DeleteDataCellsFilterCommand";
import {
DeleteLakeFormationOptInCommand,
DeleteLakeFormationOptInCommandInput,
DeleteLakeFormationOptInCommandOutput,
} from "./commands/DeleteLakeFormationOptInCommand";
import { DeleteLFTagCommand, DeleteLFTagCommandInput, DeleteLFTagCommandOutput } from "./commands/DeleteLFTagCommand";
import {
DeleteObjectsOnCancelCommand,
Expand Down Expand Up @@ -135,6 +145,11 @@ import {
ListDataCellsFilterCommandInput,
ListDataCellsFilterCommandOutput,
} from "./commands/ListDataCellsFilterCommand";
import {
ListLakeFormationOptInsCommand,
ListLakeFormationOptInsCommandInput,
ListLakeFormationOptInsCommandOutput,
} from "./commands/ListLakeFormationOptInsCommand";
import { ListLFTagsCommand, ListLFTagsCommandInput, ListLFTagsCommandOutput } from "./commands/ListLFTagsCommand";
import {
ListPermissionsCommand,
Expand Down Expand Up @@ -227,8 +242,10 @@ const commands = {
CancelTransactionCommand,
CommitTransactionCommand,
CreateDataCellsFilterCommand,
CreateLakeFormationOptInCommand,
CreateLFTagCommand,
DeleteDataCellsFilterCommand,
DeleteLakeFormationOptInCommand,
DeleteLFTagCommand,
DeleteObjectsOnCancelCommand,
DeregisterResourceCommand,
Expand All @@ -249,6 +266,7 @@ const commands = {
GetWorkUnitsCommand,
GrantPermissionsCommand,
ListDataCellsFilterCommand,
ListLakeFormationOptInsCommand,
ListLFTagsCommand,
ListPermissionsCommand,
ListResourcesCommand,
Expand Down Expand Up @@ -389,6 +407,23 @@ export interface LakeFormation {
cb: (err: any, data?: CreateDataCellsFilterCommandOutput) => void
): void;

/**
* @see {@link CreateLakeFormationOptInCommand}
*/
createLakeFormationOptIn(
args: CreateLakeFormationOptInCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateLakeFormationOptInCommandOutput>;
createLakeFormationOptIn(
args: CreateLakeFormationOptInCommandInput,
cb: (err: any, data?: CreateLakeFormationOptInCommandOutput) => void
): void;
createLakeFormationOptIn(
args: CreateLakeFormationOptInCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateLakeFormationOptInCommandOutput) => void
): void;

/**
* @see {@link CreateLFTagCommand}
*/
Expand Down Expand Up @@ -417,6 +452,23 @@ export interface LakeFormation {
cb: (err: any, data?: DeleteDataCellsFilterCommandOutput) => void
): void;

/**
* @see {@link DeleteLakeFormationOptInCommand}
*/
deleteLakeFormationOptIn(
args: DeleteLakeFormationOptInCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteLakeFormationOptInCommandOutput>;
deleteLakeFormationOptIn(
args: DeleteLakeFormationOptInCommandInput,
cb: (err: any, data?: DeleteLakeFormationOptInCommandOutput) => void
): void;
deleteLakeFormationOptIn(
args: DeleteLakeFormationOptInCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteLakeFormationOptInCommandOutput) => void
): void;

/**
* @see {@link DeleteLFTagCommand}
*/
Expand Down Expand Up @@ -730,6 +782,23 @@ export interface LakeFormation {
cb: (err: any, data?: ListDataCellsFilterCommandOutput) => void
): void;

/**
* @see {@link ListLakeFormationOptInsCommand}
*/
listLakeFormationOptIns(
args: ListLakeFormationOptInsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListLakeFormationOptInsCommandOutput>;
listLakeFormationOptIns(
args: ListLakeFormationOptInsCommandInput,
cb: (err: any, data?: ListLakeFormationOptInsCommandOutput) => void
): void;
listLakeFormationOptIns(
args: ListLakeFormationOptInsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListLakeFormationOptInsCommandOutput) => void
): void;

/**
* @see {@link ListLFTagsCommand}
*/
Expand Down
18 changes: 18 additions & 0 deletions clients/client-lakeformation/src/LakeFormationClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,19 @@ import {
CreateDataCellsFilterCommandInput,
CreateDataCellsFilterCommandOutput,
} from "./commands/CreateDataCellsFilterCommand";
import {
CreateLakeFormationOptInCommandInput,
CreateLakeFormationOptInCommandOutput,
} from "./commands/CreateLakeFormationOptInCommand";
import { CreateLFTagCommandInput, CreateLFTagCommandOutput } from "./commands/CreateLFTagCommand";
import {
DeleteDataCellsFilterCommandInput,
DeleteDataCellsFilterCommandOutput,
} from "./commands/DeleteDataCellsFilterCommand";
import {
DeleteLakeFormationOptInCommandInput,
DeleteLakeFormationOptInCommandOutput,
} from "./commands/DeleteLakeFormationOptInCommand";
import { DeleteLFTagCommandInput, DeleteLFTagCommandOutput } from "./commands/DeleteLFTagCommand";
import {
DeleteObjectsOnCancelCommandInput,
Expand Down Expand Up @@ -119,6 +127,10 @@ import {
ListDataCellsFilterCommandInput,
ListDataCellsFilterCommandOutput,
} from "./commands/ListDataCellsFilterCommand";
import {
ListLakeFormationOptInsCommandInput,
ListLakeFormationOptInsCommandOutput,
} from "./commands/ListLakeFormationOptInsCommand";
import { ListLFTagsCommandInput, ListLFTagsCommandOutput } from "./commands/ListLFTagsCommand";
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
Expand Down Expand Up @@ -181,8 +193,10 @@ export type ServiceInputTypes =
| CommitTransactionCommandInput
| CreateDataCellsFilterCommandInput
| CreateLFTagCommandInput
| CreateLakeFormationOptInCommandInput
| DeleteDataCellsFilterCommandInput
| DeleteLFTagCommandInput
| DeleteLakeFormationOptInCommandInput
| DeleteObjectsOnCancelCommandInput
| DeregisterResourceCommandInput
| DescribeResourceCommandInput
Expand All @@ -203,6 +217,7 @@ export type ServiceInputTypes =
| GrantPermissionsCommandInput
| ListDataCellsFilterCommandInput
| ListLFTagsCommandInput
| ListLakeFormationOptInsCommandInput
| ListPermissionsCommandInput
| ListResourcesCommandInput
| ListTableStorageOptimizersCommandInput
Expand Down Expand Up @@ -233,8 +248,10 @@ export type ServiceOutputTypes =
| CommitTransactionCommandOutput
| CreateDataCellsFilterCommandOutput
| CreateLFTagCommandOutput
| CreateLakeFormationOptInCommandOutput
| DeleteDataCellsFilterCommandOutput
| DeleteLFTagCommandOutput
| DeleteLakeFormationOptInCommandOutput
| DeleteObjectsOnCancelCommandOutput
| DeregisterResourceCommandOutput
| DescribeResourceCommandOutput
Expand All @@ -255,6 +272,7 @@ export type ServiceOutputTypes =
| GrantPermissionsCommandOutput
| ListDataCellsFilterCommandOutput
| ListLFTagsCommandOutput
| ListLakeFormationOptInsCommandOutput
| ListPermissionsCommandOutput
| ListResourcesCommandOutput
| ListTableStorageOptimizersCommandOutput
Expand Down
Loading

0 comments on commit ae29e55

Please sign in to comment.