Skip to content

Commit

Permalink
feat(client-lakeformation): API changes for new named tag expressions…
Browse files Browse the repository at this point in the history
… feature.
  • Loading branch information
awstools committed Nov 6, 2024
1 parent 14cff2e commit 85aa63f
Show file tree
Hide file tree
Showing 31 changed files with 1,914 additions and 52 deletions.
40 changes: 40 additions & 0 deletions clients/client-lakeformation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,14 @@ CreateLFTag

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/CreateLFTagCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/CreateLFTagCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/CreateLFTagCommandOutput/)

</details>
<details>
<summary>
CreateLFTagExpression
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/CreateLFTagExpressionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/CreateLFTagExpressionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/CreateLFTagExpressionCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -316,6 +324,14 @@ DeleteLFTag

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/DeleteLFTagCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/DeleteLFTagCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/DeleteLFTagCommandOutput/)

</details>
<details>
<summary>
DeleteLFTagExpression
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/DeleteLFTagExpressionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/DeleteLFTagExpressionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/DeleteLFTagExpressionCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -404,6 +420,14 @@ GetLFTag

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/GetLFTagCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/GetLFTagCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/GetLFTagCommandOutput/)

</details>
<details>
<summary>
GetLFTagExpression
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/GetLFTagExpressionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/GetLFTagExpressionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/GetLFTagExpressionCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -492,6 +516,14 @@ ListLakeFormationOptIns

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/ListLakeFormationOptInsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/ListLakeFormationOptInsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/ListLakeFormationOptInsCommandOutput/)

</details>
<details>
<summary>
ListLFTagExpressions
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/ListLFTagExpressionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/ListLFTagExpressionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/ListLFTagExpressionsCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -620,6 +652,14 @@ UpdateLFTag

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/UpdateLFTagCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/UpdateLFTagCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/UpdateLFTagCommandOutput/)

</details>
<details>
<summary>
UpdateLFTagExpression
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lakeformation/command/UpdateLFTagExpressionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/UpdateLFTagExpressionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lakeformation/Interface/UpdateLFTagExpressionCommandOutput/)

</details>
<details>
<summary>
Expand Down
116 changes: 116 additions & 0 deletions clients/client-lakeformation/src/LakeFormation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ import {
CreateLakeFormationOptInCommandOutput,
} from "./commands/CreateLakeFormationOptInCommand";
import { CreateLFTagCommand, CreateLFTagCommandInput, CreateLFTagCommandOutput } from "./commands/CreateLFTagCommand";
import {
CreateLFTagExpressionCommand,
CreateLFTagExpressionCommandInput,
CreateLFTagExpressionCommandOutput,
} from "./commands/CreateLFTagExpressionCommand";
import {
DeleteDataCellsFilterCommand,
DeleteDataCellsFilterCommandInput,
Expand All @@ -64,6 +69,11 @@ import {
DeleteLakeFormationOptInCommandOutput,
} from "./commands/DeleteLakeFormationOptInCommand";
import { DeleteLFTagCommand, DeleteLFTagCommandInput, DeleteLFTagCommandOutput } from "./commands/DeleteLFTagCommand";
import {
DeleteLFTagExpressionCommand,
DeleteLFTagExpressionCommandInput,
DeleteLFTagExpressionCommandOutput,
} from "./commands/DeleteLFTagExpressionCommand";
import {
DeleteObjectsOnCancelCommand,
DeleteObjectsOnCancelCommandInput,
Expand Down Expand Up @@ -115,6 +125,11 @@ import {
GetEffectivePermissionsForPathCommandOutput,
} from "./commands/GetEffectivePermissionsForPathCommand";
import { GetLFTagCommand, GetLFTagCommandInput, GetLFTagCommandOutput } from "./commands/GetLFTagCommand";
import {
GetLFTagExpressionCommand,
GetLFTagExpressionCommandInput,
GetLFTagExpressionCommandOutput,
} from "./commands/GetLFTagExpressionCommand";
import {
GetQueryStateCommand,
GetQueryStateCommandInput,
Expand Down Expand Up @@ -170,6 +185,11 @@ import {
ListLakeFormationOptInsCommandInput,
ListLakeFormationOptInsCommandOutput,
} from "./commands/ListLakeFormationOptInsCommand";
import {
ListLFTagExpressionsCommand,
ListLFTagExpressionsCommandInput,
ListLFTagExpressionsCommandOutput,
} from "./commands/ListLFTagExpressionsCommand";
import { ListLFTagsCommand, ListLFTagsCommandInput, ListLFTagsCommandOutput } from "./commands/ListLFTagsCommand";
import {
ListPermissionsCommand,
Expand Down Expand Up @@ -242,6 +262,11 @@ import {
UpdateLakeFormationIdentityCenterConfigurationCommandOutput,
} from "./commands/UpdateLakeFormationIdentityCenterConfigurationCommand";
import { UpdateLFTagCommand, UpdateLFTagCommandInput, UpdateLFTagCommandOutput } from "./commands/UpdateLFTagCommand";
import {
UpdateLFTagExpressionCommand,
UpdateLFTagExpressionCommandInput,
UpdateLFTagExpressionCommandOutput,
} from "./commands/UpdateLFTagExpressionCommand";
import {
UpdateResourceCommand,
UpdateResourceCommandInput,
Expand Down Expand Up @@ -270,10 +295,12 @@ const commands = {
CreateLakeFormationIdentityCenterConfigurationCommand,
CreateLakeFormationOptInCommand,
CreateLFTagCommand,
CreateLFTagExpressionCommand,
DeleteDataCellsFilterCommand,
DeleteLakeFormationIdentityCenterConfigurationCommand,
DeleteLakeFormationOptInCommand,
DeleteLFTagCommand,
DeleteLFTagExpressionCommand,
DeleteObjectsOnCancelCommand,
DeregisterResourceCommand,
DescribeLakeFormationIdentityCenterConfigurationCommand,
Expand All @@ -285,6 +312,7 @@ const commands = {
GetDataLakeSettingsCommand,
GetEffectivePermissionsForPathCommand,
GetLFTagCommand,
GetLFTagExpressionCommand,
GetQueryStateCommand,
GetQueryStatisticsCommand,
GetResourceLFTagsCommand,
Expand All @@ -296,6 +324,7 @@ const commands = {
GrantPermissionsCommand,
ListDataCellsFilterCommand,
ListLakeFormationOptInsCommand,
ListLFTagExpressionsCommand,
ListLFTagsCommand,
ListPermissionsCommand,
ListResourcesCommand,
Expand All @@ -312,6 +341,7 @@ const commands = {
UpdateDataCellsFilterCommand,
UpdateLakeFormationIdentityCenterConfigurationCommand,
UpdateLFTagCommand,
UpdateLFTagExpressionCommand,
UpdateResourceCommand,
UpdateTableObjectsCommand,
UpdateTableStorageOptimizerCommand,
Expand Down Expand Up @@ -483,6 +513,23 @@ export interface LakeFormation {
cb: (err: any, data?: CreateLFTagCommandOutput) => void
): void;

/**
* @see {@link CreateLFTagExpressionCommand}
*/
createLFTagExpression(
args: CreateLFTagExpressionCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateLFTagExpressionCommandOutput>;
createLFTagExpression(
args: CreateLFTagExpressionCommandInput,
cb: (err: any, data?: CreateLFTagExpressionCommandOutput) => void
): void;
createLFTagExpression(
args: CreateLFTagExpressionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateLFTagExpressionCommandOutput) => void
): void;

/**
* @see {@link DeleteDataCellsFilterCommand}
*/
Expand Down Expand Up @@ -547,6 +594,23 @@ export interface LakeFormation {
cb: (err: any, data?: DeleteLFTagCommandOutput) => void
): void;

/**
* @see {@link DeleteLFTagExpressionCommand}
*/
deleteLFTagExpression(
args: DeleteLFTagExpressionCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteLFTagExpressionCommandOutput>;
deleteLFTagExpression(
args: DeleteLFTagExpressionCommandInput,
cb: (err: any, data?: DeleteLFTagExpressionCommandOutput) => void
): void;
deleteLFTagExpression(
args: DeleteLFTagExpressionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteLFTagExpressionCommandOutput) => void
): void;

/**
* @see {@link DeleteObjectsOnCancelCommand}
*/
Expand Down Expand Up @@ -732,6 +796,23 @@ export interface LakeFormation {
cb: (err: any, data?: GetLFTagCommandOutput) => void
): void;

/**
* @see {@link GetLFTagExpressionCommand}
*/
getLFTagExpression(
args: GetLFTagExpressionCommandInput,
options?: __HttpHandlerOptions
): Promise<GetLFTagExpressionCommandOutput>;
getLFTagExpression(
args: GetLFTagExpressionCommandInput,
cb: (err: any, data?: GetLFTagExpressionCommandOutput) => void
): void;
getLFTagExpression(
args: GetLFTagExpressionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetLFTagExpressionCommandOutput) => void
): void;

/**
* @see {@link GetQueryStateCommand}
*/
Expand Down Expand Up @@ -906,6 +987,24 @@ export interface LakeFormation {
cb: (err: any, data?: ListLakeFormationOptInsCommandOutput) => void
): void;

/**
* @see {@link ListLFTagExpressionsCommand}
*/
listLFTagExpressions(): Promise<ListLFTagExpressionsCommandOutput>;
listLFTagExpressions(
args: ListLFTagExpressionsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListLFTagExpressionsCommandOutput>;
listLFTagExpressions(
args: ListLFTagExpressionsCommandInput,
cb: (err: any, data?: ListLFTagExpressionsCommandOutput) => void
): void;
listLFTagExpressions(
args: ListLFTagExpressionsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListLFTagExpressionsCommandOutput) => void
): void;

/**
* @see {@link ListLFTagsCommand}
*/
Expand Down Expand Up @@ -1163,6 +1262,23 @@ export interface LakeFormation {
cb: (err: any, data?: UpdateLFTagCommandOutput) => void
): void;

/**
* @see {@link UpdateLFTagExpressionCommand}
*/
updateLFTagExpression(
args: UpdateLFTagExpressionCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateLFTagExpressionCommandOutput>;
updateLFTagExpression(
args: UpdateLFTagExpressionCommandInput,
cb: (err: any, data?: UpdateLFTagExpressionCommandOutput) => void
): void;
updateLFTagExpression(
args: UpdateLFTagExpressionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateLFTagExpressionCommandOutput) => void
): void;

/**
* @see {@link UpdateResourceCommand}
*/
Expand Down
Loading

0 comments on commit 85aa63f

Please sign in to comment.