Skip to content

Commit

Permalink
feat(client-datazone): This release supports the feature of dataQuali…
Browse files Browse the repository at this point in the history
…ty to enrich asset with dataQualityResult in Amazon DataZone.
  • Loading branch information
awstools committed Apr 3, 2024
1 parent b7817fd commit 21c6b46
Show file tree
Hide file tree
Showing 27 changed files with 2,492 additions and 283 deletions.
32 changes: 32 additions & 0 deletions clients/client-datazone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,14 @@ DeleteSubscriptionTarget

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

</details>
<details>
<summary>
DeleteTimeSeriesDataPoints
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -678,6 +686,14 @@ GetSubscriptionTarget

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

</details>
<details>
<summary>
GetTimeSeriesDataPoint
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -830,6 +846,22 @@ ListTagsForResource

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

</details>
<details>
<summary>
ListTimeSeriesDataPoints
</summary>

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

</details>
<details>
<summary>
PostTimeSeriesDataPoints
</summary>

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

</details>
<details>
<summary>
Expand Down
92 changes: 92 additions & 0 deletions clients/client-datazone/src/DataZone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ import {
DeleteSubscriptionTargetCommandInput,
DeleteSubscriptionTargetCommandOutput,
} from "./commands/DeleteSubscriptionTargetCommand";
import {
DeleteTimeSeriesDataPointsCommand,
DeleteTimeSeriesDataPointsCommandInput,
DeleteTimeSeriesDataPointsCommandOutput,
} from "./commands/DeleteTimeSeriesDataPointsCommand";
import { GetAssetCommand, GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
import {
GetAssetTypeCommand,
Expand Down Expand Up @@ -265,6 +270,11 @@ import {
GetSubscriptionTargetCommandInput,
GetSubscriptionTargetCommandOutput,
} from "./commands/GetSubscriptionTargetCommand";
import {
GetTimeSeriesDataPointCommand,
GetTimeSeriesDataPointCommandInput,
GetTimeSeriesDataPointCommandOutput,
} from "./commands/GetTimeSeriesDataPointCommand";
import {
GetUserProfileCommand,
GetUserProfileCommandInput,
Expand Down Expand Up @@ -356,6 +366,16 @@ import {
ListTagsForResourceCommandInput,
ListTagsForResourceCommandOutput,
} from "./commands/ListTagsForResourceCommand";
import {
ListTimeSeriesDataPointsCommand,
ListTimeSeriesDataPointsCommandInput,
ListTimeSeriesDataPointsCommandOutput,
} from "./commands/ListTimeSeriesDataPointsCommand";
import {
PostTimeSeriesDataPointsCommand,
PostTimeSeriesDataPointsCommandInput,
PostTimeSeriesDataPointsCommandOutput,
} from "./commands/PostTimeSeriesDataPointsCommand";
import {
PutEnvironmentBlueprintConfigurationCommand,
PutEnvironmentBlueprintConfigurationCommandInput,
Expand Down Expand Up @@ -510,6 +530,7 @@ const commands = {
DeleteSubscriptionGrantCommand,
DeleteSubscriptionRequestCommand,
DeleteSubscriptionTargetCommand,
DeleteTimeSeriesDataPointsCommand,
GetAssetCommand,
GetAssetTypeCommand,
GetDataSourceCommand,
Expand All @@ -531,6 +552,7 @@ const commands = {
GetSubscriptionGrantCommand,
GetSubscriptionRequestDetailsCommand,
GetSubscriptionTargetCommand,
GetTimeSeriesDataPointCommand,
GetUserProfileCommand,
ListAssetRevisionsCommand,
ListDataSourceRunActivitiesCommand,
Expand All @@ -550,6 +572,8 @@ const commands = {
ListSubscriptionsCommand,
ListSubscriptionTargetsCommand,
ListTagsForResourceCommand,
ListTimeSeriesDataPointsCommand,
PostTimeSeriesDataPointsCommand,
PutEnvironmentBlueprintConfigurationCommand,
RejectPredictionsCommand,
RejectSubscriptionRequestCommand,
Expand Down Expand Up @@ -1164,6 +1188,23 @@ export interface DataZone {
cb: (err: any, data?: DeleteSubscriptionTargetCommandOutput) => void
): void;

/**
* @see {@link DeleteTimeSeriesDataPointsCommand}
*/
deleteTimeSeriesDataPoints(
args: DeleteTimeSeriesDataPointsCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteTimeSeriesDataPointsCommandOutput>;
deleteTimeSeriesDataPoints(
args: DeleteTimeSeriesDataPointsCommandInput,
cb: (err: any, data?: DeleteTimeSeriesDataPointsCommandOutput) => void
): void;
deleteTimeSeriesDataPoints(
args: DeleteTimeSeriesDataPointsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteTimeSeriesDataPointsCommandOutput) => void
): void;

/**
* @see {@link GetAssetCommand}
*/
Expand Down Expand Up @@ -1461,6 +1502,23 @@ export interface DataZone {
cb: (err: any, data?: GetSubscriptionTargetCommandOutput) => void
): void;

/**
* @see {@link GetTimeSeriesDataPointCommand}
*/
getTimeSeriesDataPoint(
args: GetTimeSeriesDataPointCommandInput,
options?: __HttpHandlerOptions
): Promise<GetTimeSeriesDataPointCommandOutput>;
getTimeSeriesDataPoint(
args: GetTimeSeriesDataPointCommandInput,
cb: (err: any, data?: GetTimeSeriesDataPointCommandOutput) => void
): void;
getTimeSeriesDataPoint(
args: GetTimeSeriesDataPointCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetTimeSeriesDataPointCommandOutput) => void
): void;

/**
* @see {@link GetUserProfileCommand}
*/
Expand Down Expand Up @@ -1767,6 +1825,40 @@ export interface DataZone {
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
): void;

/**
* @see {@link ListTimeSeriesDataPointsCommand}
*/
listTimeSeriesDataPoints(
args: ListTimeSeriesDataPointsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListTimeSeriesDataPointsCommandOutput>;
listTimeSeriesDataPoints(
args: ListTimeSeriesDataPointsCommandInput,
cb: (err: any, data?: ListTimeSeriesDataPointsCommandOutput) => void
): void;
listTimeSeriesDataPoints(
args: ListTimeSeriesDataPointsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListTimeSeriesDataPointsCommandOutput) => void
): void;

/**
* @see {@link PostTimeSeriesDataPointsCommand}
*/
postTimeSeriesDataPoints(
args: PostTimeSeriesDataPointsCommandInput,
options?: __HttpHandlerOptions
): Promise<PostTimeSeriesDataPointsCommandOutput>;
postTimeSeriesDataPoints(
args: PostTimeSeriesDataPointsCommandInput,
cb: (err: any, data?: PostTimeSeriesDataPointsCommandOutput) => void
): void;
postTimeSeriesDataPoints(
args: PostTimeSeriesDataPointsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: PostTimeSeriesDataPointsCommandOutput) => void
): void;

/**
* @see {@link PutEnvironmentBlueprintConfigurationCommand}
*/
Expand Down
24 changes: 24 additions & 0 deletions clients/client-datazone/src/DataZoneClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ import {
DeleteSubscriptionTargetCommandInput,
DeleteSubscriptionTargetCommandOutput,
} from "./commands/DeleteSubscriptionTargetCommand";
import {
DeleteTimeSeriesDataPointsCommandInput,
DeleteTimeSeriesDataPointsCommandOutput,
} from "./commands/DeleteTimeSeriesDataPointsCommand";
import { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
import { GetAssetTypeCommandInput, GetAssetTypeCommandOutput } from "./commands/GetAssetTypeCommand";
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
Expand Down Expand Up @@ -181,6 +185,10 @@ import {
GetSubscriptionTargetCommandInput,
GetSubscriptionTargetCommandOutput,
} from "./commands/GetSubscriptionTargetCommand";
import {
GetTimeSeriesDataPointCommandInput,
GetTimeSeriesDataPointCommandOutput,
} from "./commands/GetTimeSeriesDataPointCommand";
import { GetUserProfileCommandInput, GetUserProfileCommandOutput } from "./commands/GetUserProfileCommand";
import { ListAssetRevisionsCommandInput, ListAssetRevisionsCommandOutput } from "./commands/ListAssetRevisionsCommand";
import {
Expand Down Expand Up @@ -230,6 +238,14 @@ import {
ListTagsForResourceCommandInput,
ListTagsForResourceCommandOutput,
} from "./commands/ListTagsForResourceCommand";
import {
ListTimeSeriesDataPointsCommandInput,
ListTimeSeriesDataPointsCommandOutput,
} from "./commands/ListTimeSeriesDataPointsCommand";
import {
PostTimeSeriesDataPointsCommandInput,
PostTimeSeriesDataPointsCommandOutput,
} from "./commands/PostTimeSeriesDataPointsCommand";
import {
PutEnvironmentBlueprintConfigurationCommandInput,
PutEnvironmentBlueprintConfigurationCommandOutput,
Expand Down Expand Up @@ -332,6 +348,7 @@ export type ServiceInputTypes =
| DeleteSubscriptionGrantCommandInput
| DeleteSubscriptionRequestCommandInput
| DeleteSubscriptionTargetCommandInput
| DeleteTimeSeriesDataPointsCommandInput
| GetAssetCommandInput
| GetAssetTypeCommandInput
| GetDataSourceCommandInput
Expand All @@ -353,6 +370,7 @@ export type ServiceInputTypes =
| GetSubscriptionGrantCommandInput
| GetSubscriptionRequestDetailsCommandInput
| GetSubscriptionTargetCommandInput
| GetTimeSeriesDataPointCommandInput
| GetUserProfileCommandInput
| ListAssetRevisionsCommandInput
| ListDataSourceRunActivitiesCommandInput
Expand All @@ -372,6 +390,8 @@ export type ServiceInputTypes =
| ListSubscriptionTargetsCommandInput
| ListSubscriptionsCommandInput
| ListTagsForResourceCommandInput
| ListTimeSeriesDataPointsCommandInput
| PostTimeSeriesDataPointsCommandInput
| PutEnvironmentBlueprintConfigurationCommandInput
| RejectPredictionsCommandInput
| RejectSubscriptionRequestCommandInput
Expand Down Expand Up @@ -440,6 +460,7 @@ export type ServiceOutputTypes =
| DeleteSubscriptionGrantCommandOutput
| DeleteSubscriptionRequestCommandOutput
| DeleteSubscriptionTargetCommandOutput
| DeleteTimeSeriesDataPointsCommandOutput
| GetAssetCommandOutput
| GetAssetTypeCommandOutput
| GetDataSourceCommandOutput
Expand All @@ -461,6 +482,7 @@ export type ServiceOutputTypes =
| GetSubscriptionGrantCommandOutput
| GetSubscriptionRequestDetailsCommandOutput
| GetSubscriptionTargetCommandOutput
| GetTimeSeriesDataPointCommandOutput
| GetUserProfileCommandOutput
| ListAssetRevisionsCommandOutput
| ListDataSourceRunActivitiesCommandOutput
Expand All @@ -480,6 +502,8 @@ export type ServiceOutputTypes =
| ListSubscriptionTargetsCommandOutput
| ListSubscriptionsCommandOutput
| ListTagsForResourceCommandOutput
| ListTimeSeriesDataPointsCommandOutput
| PostTimeSeriesDataPointsCommandOutput
| PutEnvironmentBlueprintConfigurationCommandOutput
| RejectPredictionsCommandOutput
| RejectSubscriptionRequestCommandOutput
Expand Down
10 changes: 10 additions & 0 deletions clients/client-datazone/src/commands/CreateAssetCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ export interface CreateAssetCommandOutput extends CreateAssetOutput, __MetadataB
* // content: "STRING_VALUE",
* // },
* // ],
* // latestTimeSeriesDataPointFormsOutput: [ // TimeSeriesDataPointSummaryFormOutputList
* // { // TimeSeriesDataPointSummaryFormOutput
* // formName: "STRING_VALUE", // required
* // typeIdentifier: "STRING_VALUE", // required
* // typeRevision: "STRING_VALUE",
* // timestamp: new Date("TIMESTAMP"), // required
* // contentSummary: "STRING_VALUE",
* // id: "STRING_VALUE",
* // },
* // ],
* // predictionConfiguration: { // PredictionConfiguration
* // businessNameGeneration: { // BusinessNameGenerationConfiguration
* // enabled: true || false,
Expand Down
10 changes: 10 additions & 0 deletions clients/client-datazone/src/commands/CreateAssetRevisionCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ export interface CreateAssetRevisionCommandOutput extends CreateAssetRevisionOut
* // content: "STRING_VALUE",
* // },
* // ],
* // latestTimeSeriesDataPointFormsOutput: [ // TimeSeriesDataPointSummaryFormOutputList
* // { // TimeSeriesDataPointSummaryFormOutput
* // formName: "STRING_VALUE", // required
* // typeIdentifier: "STRING_VALUE", // required
* // typeRevision: "STRING_VALUE",
* // timestamp: new Date("TIMESTAMP"), // required
* // contentSummary: "STRING_VALUE",
* // id: "STRING_VALUE",
* // },
* // ],
* // predictionConfiguration: { // PredictionConfiguration
* // businessNameGeneration: { // BusinessNameGenerationConfiguration
* // enabled: true || false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceOutput, _
* ],
* },
* ],
* autoImportDataQualityResult: true || false,
* },
* redshiftRunConfiguration: { // RedshiftRunConfigurationInput
* dataAccessRole: "STRING_VALUE",
Expand Down Expand Up @@ -136,6 +137,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceOutput, _
* // ],
* // },
* // ],
* // autoImportDataQualityResult: true || false,
* // },
* // redshiftRunConfiguration: { // RedshiftRunConfigurationOutput
* // accountId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export interface DeleteDataSourceCommandOutput extends DeleteDataSourceOutput, _
* // ],
* // },
* // ],
* // autoImportDataQualityResult: true || false,
* // },
* // redshiftRunConfiguration: { // RedshiftRunConfigurationOutput
* // accountId: "STRING_VALUE",
Expand Down
Loading

0 comments on commit 21c6b46

Please sign in to comment.