Skip to content

Commit

Permalink
feat(client-datazone): This release adds 1/ support of register S3 lo…
Browse files Browse the repository at this point in the history
…cations of assets in AWS Lake Formation hybrid access mode for DefaultDataLake blueprint. 2/ support of CRUD operations for Asset Filters.
  • Loading branch information
awstools committed Jul 22, 2024
1 parent b6495b0 commit caa7750
Show file tree
Hide file tree
Showing 26 changed files with 11,124 additions and 6,535 deletions.
40 changes: 40 additions & 0 deletions clients/client-datazone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,14 @@ CreateAsset

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/CreateAssetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/CreateAssetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/CreateAssetCommandOutput/)

</details>
<details>
<summary>
CreateAssetFilter
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/CreateAssetFilterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/CreateAssetFilterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/CreateAssetFilterCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -406,6 +414,14 @@ DeleteAsset

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/DeleteAssetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/DeleteAssetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/DeleteAssetCommandOutput/)

</details>
<details>
<summary>
DeleteAssetFilter
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/DeleteAssetFilterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/DeleteAssetFilterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/DeleteAssetFilterCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -558,6 +574,14 @@ GetAsset

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/GetAssetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetAssetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetAssetCommandOutput/)

</details>
<details>
<summary>
GetAssetFilter
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/GetAssetFilterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetAssetFilterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetAssetFilterCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -750,6 +774,14 @@ GetUserProfile

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/GetUserProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetUserProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetUserProfileCommandOutput/)

</details>
<details>
<summary>
ListAssetFilters
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/ListAssetFiltersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListAssetFiltersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListAssetFiltersCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1038,6 +1070,14 @@ UntagResource

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/UntagResourceCommandOutput/)

</details>
<details>
<summary>
UpdateAssetFilter
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/UpdateAssetFilterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/UpdateAssetFilterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/UpdateAssetFilterCommandOutput/)

</details>
<details>
<summary>
Expand Down
112 changes: 112 additions & 0 deletions clients/client-datazone/src/DataZone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ import {
CancelSubscriptionCommandOutput,
} from "./commands/CancelSubscriptionCommand";
import { CreateAssetCommand, CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
import {
CreateAssetFilterCommand,
CreateAssetFilterCommandInput,
CreateAssetFilterCommandOutput,
} from "./commands/CreateAssetFilterCommand";
import {
CreateAssetRevisionCommand,
CreateAssetRevisionCommandInput,
Expand Down Expand Up @@ -119,6 +124,11 @@ import {
CreateUserProfileCommandOutput,
} from "./commands/CreateUserProfileCommand";
import { DeleteAssetCommand, DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
import {
DeleteAssetFilterCommand,
DeleteAssetFilterCommandInput,
DeleteAssetFilterCommandOutput,
} from "./commands/DeleteAssetFilterCommand";
import {
DeleteAssetTypeCommand,
DeleteAssetTypeCommandInput,
Expand Down Expand Up @@ -210,6 +220,11 @@ import {
DisassociateEnvironmentRoleCommandOutput,
} from "./commands/DisassociateEnvironmentRoleCommand";
import { GetAssetCommand, GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
import {
GetAssetFilterCommand,
GetAssetFilterCommandInput,
GetAssetFilterCommandOutput,
} from "./commands/GetAssetFilterCommand";
import {
GetAssetTypeCommand,
GetAssetTypeCommandInput,
Expand Down Expand Up @@ -310,6 +325,11 @@ import {
GetUserProfileCommandInput,
GetUserProfileCommandOutput,
} from "./commands/GetUserProfileCommand";
import {
ListAssetFiltersCommand,
ListAssetFiltersCommandInput,
ListAssetFiltersCommandOutput,
} from "./commands/ListAssetFiltersCommand";
import {
ListAssetRevisionsCommand,
ListAssetRevisionsCommandInput,
Expand Down Expand Up @@ -474,6 +494,11 @@ import {
UntagResourceCommandInput,
UntagResourceCommandOutput,
} from "./commands/UntagResourceCommand";
import {
UpdateAssetFilterCommand,
UpdateAssetFilterCommandInput,
UpdateAssetFilterCommandOutput,
} from "./commands/UpdateAssetFilterCommand";
import {
UpdateDataSourceCommand,
UpdateDataSourceCommandInput,
Expand Down Expand Up @@ -548,6 +573,7 @@ const commands = {
CancelMetadataGenerationRunCommand,
CancelSubscriptionCommand,
CreateAssetCommand,
CreateAssetFilterCommand,
CreateAssetRevisionCommand,
CreateAssetTypeCommand,
CreateDataSourceCommand,
Expand All @@ -567,6 +593,7 @@ const commands = {
CreateSubscriptionTargetCommand,
CreateUserProfileCommand,
DeleteAssetCommand,
DeleteAssetFilterCommand,
DeleteAssetTypeCommand,
DeleteDataSourceCommand,
DeleteDomainCommand,
Expand All @@ -586,6 +613,7 @@ const commands = {
DeleteTimeSeriesDataPointsCommand,
DisassociateEnvironmentRoleCommand,
GetAssetCommand,
GetAssetFilterCommand,
GetAssetTypeCommand,
GetDataSourceCommand,
GetDataSourceRunCommand,
Expand All @@ -610,6 +638,7 @@ const commands = {
GetSubscriptionTargetCommand,
GetTimeSeriesDataPointCommand,
GetUserProfileCommand,
ListAssetFiltersCommand,
ListAssetRevisionsCommand,
ListDataSourceRunActivitiesCommand,
ListDataSourceRunsCommand,
Expand Down Expand Up @@ -646,6 +675,7 @@ const commands = {
StartMetadataGenerationRunCommand,
TagResourceCommand,
UntagResourceCommand,
UpdateAssetFilterCommand,
UpdateDataSourceCommand,
UpdateDomainCommand,
UpdateEnvironmentCommand,
Expand Down Expand Up @@ -758,6 +788,23 @@ export interface DataZone {
cb: (err: any, data?: CreateAssetCommandOutput) => void
): void;

/**
* @see {@link CreateAssetFilterCommand}
*/
createAssetFilter(
args: CreateAssetFilterCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateAssetFilterCommandOutput>;
createAssetFilter(
args: CreateAssetFilterCommandInput,
cb: (err: any, data?: CreateAssetFilterCommandOutput) => void
): void;
createAssetFilter(
args: CreateAssetFilterCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateAssetFilterCommandOutput) => void
): void;

/**
* @see {@link CreateAssetRevisionCommand}
*/
Expand Down Expand Up @@ -1054,6 +1101,23 @@ export interface DataZone {
cb: (err: any, data?: DeleteAssetCommandOutput) => void
): void;

/**
* @see {@link DeleteAssetFilterCommand}
*/
deleteAssetFilter(
args: DeleteAssetFilterCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteAssetFilterCommandOutput>;
deleteAssetFilter(
args: DeleteAssetFilterCommandInput,
cb: (err: any, data?: DeleteAssetFilterCommandOutput) => void
): void;
deleteAssetFilter(
args: DeleteAssetFilterCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteAssetFilterCommandOutput) => void
): void;

/**
* @see {@link DeleteAssetTypeCommand}
*/
Expand Down Expand Up @@ -1344,6 +1408,20 @@ export interface DataZone {
cb: (err: any, data?: GetAssetCommandOutput) => void
): void;

/**
* @see {@link GetAssetFilterCommand}
*/
getAssetFilter(
args: GetAssetFilterCommandInput,
options?: __HttpHandlerOptions
): Promise<GetAssetFilterCommandOutput>;
getAssetFilter(args: GetAssetFilterCommandInput, cb: (err: any, data?: GetAssetFilterCommandOutput) => void): void;
getAssetFilter(
args: GetAssetFilterCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetAssetFilterCommandOutput) => void
): void;

/**
* @see {@link GetAssetTypeCommand}
*/
Expand Down Expand Up @@ -1692,6 +1770,23 @@ export interface DataZone {
cb: (err: any, data?: GetUserProfileCommandOutput) => void
): void;

/**
* @see {@link ListAssetFiltersCommand}
*/
listAssetFilters(
args: ListAssetFiltersCommandInput,
options?: __HttpHandlerOptions
): Promise<ListAssetFiltersCommandOutput>;
listAssetFilters(
args: ListAssetFiltersCommandInput,
cb: (err: any, data?: ListAssetFiltersCommandOutput) => void
): void;
listAssetFilters(
args: ListAssetFiltersCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListAssetFiltersCommandOutput) => void
): void;

/**
* @see {@link ListAssetRevisionsCommand}
*/
Expand Down Expand Up @@ -2263,6 +2358,23 @@ export interface DataZone {
cb: (err: any, data?: UntagResourceCommandOutput) => void
): void;

/**
* @see {@link UpdateAssetFilterCommand}
*/
updateAssetFilter(
args: UpdateAssetFilterCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateAssetFilterCommandOutput>;
updateAssetFilter(
args: UpdateAssetFilterCommandInput,
cb: (err: any, data?: UpdateAssetFilterCommandOutput) => void
): void;
updateAssetFilter(
args: UpdateAssetFilterCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateAssetFilterCommandOutput) => void
): void;

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

0 comments on commit caa7750

Please sign in to comment.