Skip to content

Commit

Permalink
feat(client-datazone): This releases Data Product feature. Data Produ…
Browse files Browse the repository at this point in the history
…cts allow grouping data assets into cohesive, self-contained units for ease of publishing for data producers, and ease of finding and accessing for data consumers.
  • Loading branch information
awstools committed Aug 5, 2024
1 parent 36c7cdd commit 91b2561
Show file tree
Hide file tree
Showing 41 changed files with 8,765 additions and 4,692 deletions.
40 changes: 40 additions & 0 deletions clients/client-datazone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,22 @@ CreateAssetType

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

</details>
<details>
<summary>
CreateDataProduct
</summary>

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

</details>
<details>
<summary>
CreateDataProductRevision
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -430,6 +446,14 @@ DeleteAssetType

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

</details>
<details>
<summary>
DeleteDataProduct
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -590,6 +614,14 @@ GetAssetType

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

</details>
<details>
<summary>
GetDataProduct
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -798,6 +830,14 @@ ListAssetRevisions

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

</details>
<details>
<summary>
ListDataProductRevisions
</summary>

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

</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 @@ -43,6 +43,16 @@ import {
CreateAssetTypeCommandInput,
CreateAssetTypeCommandOutput,
} from "./commands/CreateAssetTypeCommand";
import {
CreateDataProductCommand,
CreateDataProductCommandInput,
CreateDataProductCommandOutput,
} from "./commands/CreateDataProductCommand";
import {
CreateDataProductRevisionCommand,
CreateDataProductRevisionCommandInput,
CreateDataProductRevisionCommandOutput,
} from "./commands/CreateDataProductRevisionCommand";
import {
CreateDataSourceCommand,
CreateDataSourceCommandInput,
Expand Down Expand Up @@ -134,6 +144,11 @@ import {
DeleteAssetTypeCommandInput,
DeleteAssetTypeCommandOutput,
} from "./commands/DeleteAssetTypeCommand";
import {
DeleteDataProductCommand,
DeleteDataProductCommandInput,
DeleteDataProductCommandOutput,
} from "./commands/DeleteDataProductCommand";
import {
DeleteDataSourceCommand,
DeleteDataSourceCommandInput,
Expand Down Expand Up @@ -230,6 +245,11 @@ import {
GetAssetTypeCommandInput,
GetAssetTypeCommandOutput,
} from "./commands/GetAssetTypeCommand";
import {
GetDataProductCommand,
GetDataProductCommandInput,
GetDataProductCommandOutput,
} from "./commands/GetDataProductCommand";
import {
GetDataSourceCommand,
GetDataSourceCommandInput,
Expand Down Expand Up @@ -340,6 +360,11 @@ import {
ListAssetRevisionsCommandInput,
ListAssetRevisionsCommandOutput,
} from "./commands/ListAssetRevisionsCommand";
import {
ListDataProductRevisionsCommand,
ListDataProductRevisionsCommandInput,
ListDataProductRevisionsCommandOutput,
} from "./commands/ListDataProductRevisionsCommand";
import {
ListDataSourceRunActivitiesCommand,
ListDataSourceRunActivitiesCommandInput,
Expand Down Expand Up @@ -581,6 +606,8 @@ const commands = {
CreateAssetFilterCommand,
CreateAssetRevisionCommand,
CreateAssetTypeCommand,
CreateDataProductCommand,
CreateDataProductRevisionCommand,
CreateDataSourceCommand,
CreateDomainCommand,
CreateEnvironmentCommand,
Expand All @@ -600,6 +627,7 @@ const commands = {
DeleteAssetCommand,
DeleteAssetFilterCommand,
DeleteAssetTypeCommand,
DeleteDataProductCommand,
DeleteDataSourceCommand,
DeleteDomainCommand,
DeleteEnvironmentCommand,
Expand All @@ -620,6 +648,7 @@ const commands = {
GetAssetCommand,
GetAssetFilterCommand,
GetAssetTypeCommand,
GetDataProductCommand,
GetDataSourceCommand,
GetDataSourceRunCommand,
GetDomainCommand,
Expand All @@ -646,6 +675,7 @@ const commands = {
GetUserProfileCommand,
ListAssetFiltersCommand,
ListAssetRevisionsCommand,
ListDataProductRevisionsCommand,
ListDataSourceRunActivitiesCommand,
ListDataSourceRunsCommand,
ListDataSourcesCommand,
Expand Down Expand Up @@ -842,6 +872,40 @@ export interface DataZone {
cb: (err: any, data?: CreateAssetTypeCommandOutput) => void
): void;

/**
* @see {@link CreateDataProductCommand}
*/
createDataProduct(
args: CreateDataProductCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateDataProductCommandOutput>;
createDataProduct(
args: CreateDataProductCommandInput,
cb: (err: any, data?: CreateDataProductCommandOutput) => void
): void;
createDataProduct(
args: CreateDataProductCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateDataProductCommandOutput) => void
): void;

/**
* @see {@link CreateDataProductRevisionCommand}
*/
createDataProductRevision(
args: CreateDataProductRevisionCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateDataProductRevisionCommandOutput>;
createDataProductRevision(
args: CreateDataProductRevisionCommandInput,
cb: (err: any, data?: CreateDataProductRevisionCommandOutput) => void
): void;
createDataProductRevision(
args: CreateDataProductRevisionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateDataProductRevisionCommandOutput) => void
): void;

/**
* @see {@link CreateDataSourceCommand}
*/
Expand Down Expand Up @@ -1138,6 +1202,23 @@ export interface DataZone {
cb: (err: any, data?: DeleteAssetTypeCommandOutput) => void
): void;

/**
* @see {@link DeleteDataProductCommand}
*/
deleteDataProduct(
args: DeleteDataProductCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteDataProductCommandOutput>;
deleteDataProduct(
args: DeleteDataProductCommandInput,
cb: (err: any, data?: DeleteDataProductCommandOutput) => void
): void;
deleteDataProduct(
args: DeleteDataProductCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteDataProductCommandOutput) => void
): void;

/**
* @see {@link DeleteDataSourceCommand}
*/
Expand Down Expand Up @@ -1439,6 +1520,20 @@ export interface DataZone {
cb: (err: any, data?: GetAssetTypeCommandOutput) => void
): void;

/**
* @see {@link GetDataProductCommand}
*/
getDataProduct(
args: GetDataProductCommandInput,
options?: __HttpHandlerOptions
): Promise<GetDataProductCommandOutput>;
getDataProduct(args: GetDataProductCommandInput, cb: (err: any, data?: GetDataProductCommandOutput) => void): void;
getDataProduct(
args: GetDataProductCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetDataProductCommandOutput) => void
): void;

/**
* @see {@link GetDataSourceCommand}
*/
Expand Down Expand Up @@ -1827,6 +1922,23 @@ export interface DataZone {
cb: (err: any, data?: ListAssetRevisionsCommandOutput) => void
): void;

/**
* @see {@link ListDataProductRevisionsCommand}
*/
listDataProductRevisions(
args: ListDataProductRevisionsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListDataProductRevisionsCommandOutput>;
listDataProductRevisions(
args: ListDataProductRevisionsCommandInput,
cb: (err: any, data?: ListDataProductRevisionsCommandOutput) => void
): void;
listDataProductRevisions(
args: ListDataProductRevisionsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListDataProductRevisionsCommandOutput) => void
): void;

/**
* @see {@link ListDataSourceRunActivitiesCommand}
*/
Expand Down
21 changes: 21 additions & 0 deletions clients/client-datazone/src/DataZoneClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ import {
CreateAssetRevisionCommandOutput,
} from "./commands/CreateAssetRevisionCommand";
import { CreateAssetTypeCommandInput, CreateAssetTypeCommandOutput } from "./commands/CreateAssetTypeCommand";
import { CreateDataProductCommandInput, CreateDataProductCommandOutput } from "./commands/CreateDataProductCommand";
import {
CreateDataProductRevisionCommandInput,
CreateDataProductRevisionCommandOutput,
} from "./commands/CreateDataProductRevisionCommand";
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
import {
Expand Down Expand Up @@ -114,6 +119,7 @@ import { CreateUserProfileCommandInput, CreateUserProfileCommandOutput } from ".
import { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
import { DeleteAssetFilterCommandInput, DeleteAssetFilterCommandOutput } from "./commands/DeleteAssetFilterCommand";
import { DeleteAssetTypeCommandInput, DeleteAssetTypeCommandOutput } from "./commands/DeleteAssetTypeCommand";
import { DeleteDataProductCommandInput, DeleteDataProductCommandOutput } from "./commands/DeleteDataProductCommand";
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
import {
Expand Down Expand Up @@ -161,6 +167,7 @@ import {
import { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
import { GetAssetFilterCommandInput, GetAssetFilterCommandOutput } from "./commands/GetAssetFilterCommand";
import { GetAssetTypeCommandInput, GetAssetTypeCommandOutput } from "./commands/GetAssetTypeCommand";
import { GetDataProductCommandInput, GetDataProductCommandOutput } from "./commands/GetDataProductCommand";
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
import { GetDataSourceRunCommandInput, GetDataSourceRunCommandOutput } from "./commands/GetDataSourceRunCommand";
import { GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
Expand Down Expand Up @@ -220,6 +227,10 @@ import {
import { GetUserProfileCommandInput, GetUserProfileCommandOutput } from "./commands/GetUserProfileCommand";
import { ListAssetFiltersCommandInput, ListAssetFiltersCommandOutput } from "./commands/ListAssetFiltersCommand";
import { ListAssetRevisionsCommandInput, ListAssetRevisionsCommandOutput } from "./commands/ListAssetRevisionsCommand";
import {
ListDataProductRevisionsCommandInput,
ListDataProductRevisionsCommandOutput,
} from "./commands/ListDataProductRevisionsCommand";
import {
ListDataSourceRunActivitiesCommandInput,
ListDataSourceRunActivitiesCommandOutput,
Expand Down Expand Up @@ -362,6 +373,8 @@ export type ServiceInputTypes =
| CreateAssetFilterCommandInput
| CreateAssetRevisionCommandInput
| CreateAssetTypeCommandInput
| CreateDataProductCommandInput
| CreateDataProductRevisionCommandInput
| CreateDataSourceCommandInput
| CreateDomainCommandInput
| CreateEnvironmentActionCommandInput
Expand All @@ -381,6 +394,7 @@ export type ServiceInputTypes =
| DeleteAssetCommandInput
| DeleteAssetFilterCommandInput
| DeleteAssetTypeCommandInput
| DeleteDataProductCommandInput
| DeleteDataSourceCommandInput
| DeleteDomainCommandInput
| DeleteEnvironmentActionCommandInput
Expand All @@ -401,6 +415,7 @@ export type ServiceInputTypes =
| GetAssetCommandInput
| GetAssetFilterCommandInput
| GetAssetTypeCommandInput
| GetDataProductCommandInput
| GetDataSourceCommandInput
| GetDataSourceRunCommandInput
| GetDomainCommandInput
Expand All @@ -427,6 +442,7 @@ export type ServiceInputTypes =
| GetUserProfileCommandInput
| ListAssetFiltersCommandInput
| ListAssetRevisionsCommandInput
| ListDataProductRevisionsCommandInput
| ListDataSourceRunActivitiesCommandInput
| ListDataSourceRunsCommandInput
| ListDataSourcesCommandInput
Expand Down Expand Up @@ -490,6 +506,8 @@ export type ServiceOutputTypes =
| CreateAssetFilterCommandOutput
| CreateAssetRevisionCommandOutput
| CreateAssetTypeCommandOutput
| CreateDataProductCommandOutput
| CreateDataProductRevisionCommandOutput
| CreateDataSourceCommandOutput
| CreateDomainCommandOutput
| CreateEnvironmentActionCommandOutput
Expand All @@ -509,6 +527,7 @@ export type ServiceOutputTypes =
| DeleteAssetCommandOutput
| DeleteAssetFilterCommandOutput
| DeleteAssetTypeCommandOutput
| DeleteDataProductCommandOutput
| DeleteDataSourceCommandOutput
| DeleteDomainCommandOutput
| DeleteEnvironmentActionCommandOutput
Expand All @@ -529,6 +548,7 @@ export type ServiceOutputTypes =
| GetAssetCommandOutput
| GetAssetFilterCommandOutput
| GetAssetTypeCommandOutput
| GetDataProductCommandOutput
| GetDataSourceCommandOutput
| GetDataSourceRunCommandOutput
| GetDomainCommandOutput
Expand All @@ -555,6 +575,7 @@ export type ServiceOutputTypes =
| GetUserProfileCommandOutput
| ListAssetFiltersCommandOutput
| ListAssetRevisionsCommandOutput
| ListDataProductRevisionsCommandOutput
| ListDataSourceRunActivitiesCommandOutput
| ListDataSourceRunsCommandOutput
| ListDataSourcesCommandOutput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,25 @@ export interface AcceptSubscriptionRequestCommandOutput extends AcceptSubscripti
* // },
* // ],
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
* // entityRevision: "STRING_VALUE",
* // glossaryTerms: [
* // {
* // name: "STRING_VALUE",
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // name: "STRING_VALUE",
* // description: "STRING_VALUE",
* // assetListings: [ // AssetInDataProductListingItems
* // { // AssetInDataProductListingItem
* // entityId: "STRING_VALUE",
* // entityRevision: "STRING_VALUE",
* // entityType: "STRING_VALUE",
* // },
* // ],
* // },
* // },
* // ownerProjectId: "STRING_VALUE", // required
* // ownerProjectName: "STRING_VALUE",
Expand Down
Loading

0 comments on commit 91b2561

Please sign in to comment.