From 21c6b46258189bbb52eabe43b4eea49de36fd269 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 3 Apr 2024 18:16:21 +0000 Subject: [PATCH] feat(client-datazone): This release supports the feature of dataQuality to enrich asset with dataQualityResult in Amazon DataZone. --- clients/client-datazone/README.md | 32 + clients/client-datazone/src/DataZone.ts | 92 ++ clients/client-datazone/src/DataZoneClient.ts | 24 + .../src/commands/CreateAssetCommand.ts | 10 + .../commands/CreateAssetRevisionCommand.ts | 10 + .../src/commands/CreateDataSourceCommand.ts | 2 + .../src/commands/DeleteDataSourceCommand.ts | 1 + .../DeleteTimeSeriesDataPointsCommand.ts | 101 +++ .../src/commands/GetAssetCommand.ts | 10 + .../src/commands/GetDataSourceCommand.ts | 1 + .../src/commands/GetListingCommand.ts | 10 + .../GetMetadataGenerationRunCommand.ts | 3 +- .../commands/GetTimeSeriesDataPointCommand.ts | 114 +++ .../ListSubscriptionTargetsCommand.ts | 2 +- .../commands/ListTagsForResourceCommand.ts | 2 +- .../ListTimeSeriesDataPointsCommand.ts | 116 +++ .../PostTimeSeriesDataPointsCommand.ts | 129 +++ .../src/commands/SearchCommand.ts | 12 +- .../src/commands/SearchListingsCommand.ts | 12 +- .../src/commands/UpdateDataSourceCommand.ts | 2 + clients/client-datazone/src/commands/index.ts | 4 + .../client-datazone/src/models/models_0.ts | 511 ++++++------ .../client-datazone/src/models/models_1.ts | 437 +++++++++- .../ListTimeSeriesDataPointsPaginator.ts | 24 + .../client-datazone/src/pagination/index.ts | 1 + .../src/protocols/Aws_restJson1.ts | 326 +++++++- codegen/sdk-codegen/aws-models/datazone.json | 787 +++++++++++++++++- 27 files changed, 2492 insertions(+), 283 deletions(-) create mode 100644 clients/client-datazone/src/commands/DeleteTimeSeriesDataPointsCommand.ts create mode 100644 clients/client-datazone/src/commands/GetTimeSeriesDataPointCommand.ts create mode 100644 clients/client-datazone/src/commands/ListTimeSeriesDataPointsCommand.ts create mode 100644 clients/client-datazone/src/commands/PostTimeSeriesDataPointsCommand.ts create mode 100644 clients/client-datazone/src/pagination/ListTimeSeriesDataPointsPaginator.ts diff --git a/clients/client-datazone/README.md b/clients/client-datazone/README.md index d28d8362d61f7..8ca76e88a182c 100644 --- a/clients/client-datazone/README.md +++ b/clients/client-datazone/README.md @@ -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/) + +
+ +DeleteTimeSeriesDataPoints + + +[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/) +
@@ -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/) +
+
+ +GetTimeSeriesDataPoint + + +[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/) +
@@ -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/) +
+
+ +ListTimeSeriesDataPoints + + +[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/) + +
+
+ +PostTimeSeriesDataPoints + + +[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/) +
diff --git a/clients/client-datazone/src/DataZone.ts b/clients/client-datazone/src/DataZone.ts index 5c42c6fdf94fc..be3c3bf914be2 100644 --- a/clients/client-datazone/src/DataZone.ts +++ b/clients/client-datazone/src/DataZone.ts @@ -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, @@ -265,6 +270,11 @@ import { GetSubscriptionTargetCommandInput, GetSubscriptionTargetCommandOutput, } from "./commands/GetSubscriptionTargetCommand"; +import { + GetTimeSeriesDataPointCommand, + GetTimeSeriesDataPointCommandInput, + GetTimeSeriesDataPointCommandOutput, +} from "./commands/GetTimeSeriesDataPointCommand"; import { GetUserProfileCommand, GetUserProfileCommandInput, @@ -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, @@ -510,6 +530,7 @@ const commands = { DeleteSubscriptionGrantCommand, DeleteSubscriptionRequestCommand, DeleteSubscriptionTargetCommand, + DeleteTimeSeriesDataPointsCommand, GetAssetCommand, GetAssetTypeCommand, GetDataSourceCommand, @@ -531,6 +552,7 @@ const commands = { GetSubscriptionGrantCommand, GetSubscriptionRequestDetailsCommand, GetSubscriptionTargetCommand, + GetTimeSeriesDataPointCommand, GetUserProfileCommand, ListAssetRevisionsCommand, ListDataSourceRunActivitiesCommand, @@ -550,6 +572,8 @@ const commands = { ListSubscriptionsCommand, ListSubscriptionTargetsCommand, ListTagsForResourceCommand, + ListTimeSeriesDataPointsCommand, + PostTimeSeriesDataPointsCommand, PutEnvironmentBlueprintConfigurationCommand, RejectPredictionsCommand, RejectSubscriptionRequestCommand, @@ -1164,6 +1188,23 @@ export interface DataZone { cb: (err: any, data?: DeleteSubscriptionTargetCommandOutput) => void ): void; + /** + * @see {@link DeleteTimeSeriesDataPointsCommand} + */ + deleteTimeSeriesDataPoints( + args: DeleteTimeSeriesDataPointsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + 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} */ @@ -1461,6 +1502,23 @@ export interface DataZone { cb: (err: any, data?: GetSubscriptionTargetCommandOutput) => void ): void; + /** + * @see {@link GetTimeSeriesDataPointCommand} + */ + getTimeSeriesDataPoint( + args: GetTimeSeriesDataPointCommandInput, + options?: __HttpHandlerOptions + ): Promise; + 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} */ @@ -1767,6 +1825,40 @@ export interface DataZone { cb: (err: any, data?: ListTagsForResourceCommandOutput) => void ): void; + /** + * @see {@link ListTimeSeriesDataPointsCommand} + */ + listTimeSeriesDataPoints( + args: ListTimeSeriesDataPointsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + 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; + 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} */ diff --git a/clients/client-datazone/src/DataZoneClient.ts b/clients/client-datazone/src/DataZoneClient.ts index 75e056bebffba..322ae04fd6167 100644 --- a/clients/client-datazone/src/DataZoneClient.ts +++ b/clients/client-datazone/src/DataZoneClient.ts @@ -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"; @@ -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 { @@ -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, @@ -332,6 +348,7 @@ export type ServiceInputTypes = | DeleteSubscriptionGrantCommandInput | DeleteSubscriptionRequestCommandInput | DeleteSubscriptionTargetCommandInput + | DeleteTimeSeriesDataPointsCommandInput | GetAssetCommandInput | GetAssetTypeCommandInput | GetDataSourceCommandInput @@ -353,6 +370,7 @@ export type ServiceInputTypes = | GetSubscriptionGrantCommandInput | GetSubscriptionRequestDetailsCommandInput | GetSubscriptionTargetCommandInput + | GetTimeSeriesDataPointCommandInput | GetUserProfileCommandInput | ListAssetRevisionsCommandInput | ListDataSourceRunActivitiesCommandInput @@ -372,6 +390,8 @@ export type ServiceInputTypes = | ListSubscriptionTargetsCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput + | ListTimeSeriesDataPointsCommandInput + | PostTimeSeriesDataPointsCommandInput | PutEnvironmentBlueprintConfigurationCommandInput | RejectPredictionsCommandInput | RejectSubscriptionRequestCommandInput @@ -440,6 +460,7 @@ export type ServiceOutputTypes = | DeleteSubscriptionGrantCommandOutput | DeleteSubscriptionRequestCommandOutput | DeleteSubscriptionTargetCommandOutput + | DeleteTimeSeriesDataPointsCommandOutput | GetAssetCommandOutput | GetAssetTypeCommandOutput | GetDataSourceCommandOutput @@ -461,6 +482,7 @@ export type ServiceOutputTypes = | GetSubscriptionGrantCommandOutput | GetSubscriptionRequestDetailsCommandOutput | GetSubscriptionTargetCommandOutput + | GetTimeSeriesDataPointCommandOutput | GetUserProfileCommandOutput | ListAssetRevisionsCommandOutput | ListDataSourceRunActivitiesCommandOutput @@ -480,6 +502,8 @@ export type ServiceOutputTypes = | ListSubscriptionTargetsCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput + | ListTimeSeriesDataPointsCommandOutput + | PostTimeSeriesDataPointsCommandOutput | PutEnvironmentBlueprintConfigurationCommandOutput | RejectPredictionsCommandOutput | RejectSubscriptionRequestCommandOutput diff --git a/clients/client-datazone/src/commands/CreateAssetCommand.ts b/clients/client-datazone/src/commands/CreateAssetCommand.ts index 02e7a9c44d29b..117eccea50f71 100644 --- a/clients/client-datazone/src/commands/CreateAssetCommand.ts +++ b/clients/client-datazone/src/commands/CreateAssetCommand.ts @@ -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, diff --git a/clients/client-datazone/src/commands/CreateAssetRevisionCommand.ts b/clients/client-datazone/src/commands/CreateAssetRevisionCommand.ts index 5efac859f76ed..1802b392de40c 100644 --- a/clients/client-datazone/src/commands/CreateAssetRevisionCommand.ts +++ b/clients/client-datazone/src/commands/CreateAssetRevisionCommand.ts @@ -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, diff --git a/clients/client-datazone/src/commands/CreateDataSourceCommand.ts b/clients/client-datazone/src/commands/CreateDataSourceCommand.ts index 139670cd4bfbe..c37b926a6bf8a 100644 --- a/clients/client-datazone/src/commands/CreateDataSourceCommand.ts +++ b/clients/client-datazone/src/commands/CreateDataSourceCommand.ts @@ -61,6 +61,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceOutput, _ * ], * }, * ], + * autoImportDataQualityResult: true || false, * }, * redshiftRunConfiguration: { // RedshiftRunConfigurationInput * dataAccessRole: "STRING_VALUE", @@ -136,6 +137,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceOutput, _ * // ], * // }, * // ], + * // autoImportDataQualityResult: true || false, * // }, * // redshiftRunConfiguration: { // RedshiftRunConfigurationOutput * // accountId: "STRING_VALUE", diff --git a/clients/client-datazone/src/commands/DeleteDataSourceCommand.ts b/clients/client-datazone/src/commands/DeleteDataSourceCommand.ts index bdd5e020b8a4a..f2dd353db19e7 100644 --- a/clients/client-datazone/src/commands/DeleteDataSourceCommand.ts +++ b/clients/client-datazone/src/commands/DeleteDataSourceCommand.ts @@ -71,6 +71,7 @@ export interface DeleteDataSourceCommandOutput extends DeleteDataSourceOutput, _ * // ], * // }, * // ], + * // autoImportDataQualityResult: true || false, * // }, * // redshiftRunConfiguration: { // RedshiftRunConfigurationOutput * // accountId: "STRING_VALUE", diff --git a/clients/client-datazone/src/commands/DeleteTimeSeriesDataPointsCommand.ts b/clients/client-datazone/src/commands/DeleteTimeSeriesDataPointsCommand.ts new file mode 100644 index 0000000000000..7053535fcbd45 --- /dev/null +++ b/clients/client-datazone/src/commands/DeleteTimeSeriesDataPointsCommand.ts @@ -0,0 +1,101 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteTimeSeriesDataPointsInput, DeleteTimeSeriesDataPointsOutput } from "../models/models_0"; +import { de_DeleteTimeSeriesDataPointsCommand, se_DeleteTimeSeriesDataPointsCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteTimeSeriesDataPointsCommand}. + */ +export interface DeleteTimeSeriesDataPointsCommandInput extends DeleteTimeSeriesDataPointsInput {} +/** + * @public + * + * The output of {@link DeleteTimeSeriesDataPointsCommand}. + */ +export interface DeleteTimeSeriesDataPointsCommandOutput extends DeleteTimeSeriesDataPointsOutput, __MetadataBearer {} + +/** + *

Deletes the specified time series form for the specified asset.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { DataZoneClient, DeleteTimeSeriesDataPointsCommand } from "@aws-sdk/client-datazone"; // ES Modules import + * // const { DataZoneClient, DeleteTimeSeriesDataPointsCommand } = require("@aws-sdk/client-datazone"); // CommonJS import + * const client = new DataZoneClient(config); + * const input = { // DeleteTimeSeriesDataPointsInput + * domainIdentifier: "STRING_VALUE", // required + * entityIdentifier: "STRING_VALUE", // required + * entityType: "ASSET" || "LISTING", // required + * formName: "STRING_VALUE", // required + * clientToken: "STRING_VALUE", + * }; + * const command = new DeleteTimeSeriesDataPointsCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteTimeSeriesDataPointsCommandInput - {@link DeleteTimeSeriesDataPointsCommandInput} + * @returns {@link DeleteTimeSeriesDataPointsCommandOutput} + * @see {@link DeleteTimeSeriesDataPointsCommandInput} for command's `input` shape. + * @see {@link DeleteTimeSeriesDataPointsCommandOutput} for command's `response` shape. + * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *

You do not have sufficient access to perform this action.

+ * + * @throws {@link InternalServerException} (server fault) + *

The request has failed because of an unknown error, exception or failure.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

The specified resource cannot be found.

+ * + * @throws {@link ThrottlingException} (client fault) + *

The request was denied due to request throttling.

+ * + * @throws {@link ValidationException} (client fault) + *

The input fails to satisfy the constraints specified by the Amazon Web Services service.

+ * + * @throws {@link UnauthorizedException} (client fault) + *

You do not have permission to perform this action.

+ * + * @throws {@link DataZoneServiceException} + *

Base exception class for all service exceptions from DataZone service.

+ * + * @public + */ +export class DeleteTimeSeriesDataPointsCommand extends $Command + .classBuilder< + DeleteTimeSeriesDataPointsCommandInput, + DeleteTimeSeriesDataPointsCommandOutput, + DataZoneClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: DataZoneClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("DataZone", "DeleteTimeSeriesDataPoints", {}) + .n("DataZoneClient", "DeleteTimeSeriesDataPointsCommand") + .f(void 0, void 0) + .ser(se_DeleteTimeSeriesDataPointsCommand) + .de(de_DeleteTimeSeriesDataPointsCommand) + .build() {} diff --git a/clients/client-datazone/src/commands/GetAssetCommand.ts b/clients/client-datazone/src/commands/GetAssetCommand.ts index aa597fadcaa6f..bd33562fd3305 100644 --- a/clients/client-datazone/src/commands/GetAssetCommand.ts +++ b/clients/client-datazone/src/commands/GetAssetCommand.ts @@ -78,6 +78,16 @@ export interface GetAssetCommandOutput extends GetAssetOutput, __MetadataBearer * // 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", + * // }, + * // ], * // }; * * ``` diff --git a/clients/client-datazone/src/commands/GetDataSourceCommand.ts b/clients/client-datazone/src/commands/GetDataSourceCommand.ts index f616ac82d370a..a7f6cbf8dd980 100644 --- a/clients/client-datazone/src/commands/GetDataSourceCommand.ts +++ b/clients/client-datazone/src/commands/GetDataSourceCommand.ts @@ -66,6 +66,7 @@ export interface GetDataSourceCommandOutput extends GetDataSourceOutput, __Metad * // ], * // }, * // ], + * // autoImportDataQualityResult: true || false, * // }, * // redshiftRunConfiguration: { // RedshiftRunConfigurationOutput * // accountId: "STRING_VALUE", diff --git a/clients/client-datazone/src/commands/GetListingCommand.ts b/clients/client-datazone/src/commands/GetListingCommand.ts index 793f086260219..10282e3091c1e 100644 --- a/clients/client-datazone/src/commands/GetListingCommand.ts +++ b/clients/client-datazone/src/commands/GetListingCommand.ts @@ -56,6 +56,16 @@ export interface GetListingCommandOutput extends GetListingOutput, __MetadataBea * // assetType: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // forms: "STRING_VALUE", + * // latestTimeSeriesDataPointForms: [ // TimeSeriesDataPointSummaryFormOutputList + * // { // TimeSeriesDataPointSummaryFormOutput + * // formName: "STRING_VALUE", // required + * // typeIdentifier: "STRING_VALUE", // required + * // typeRevision: "STRING_VALUE", + * // timestamp: new Date("TIMESTAMP"), // required + * // contentSummary: "STRING_VALUE", + * // id: "STRING_VALUE", + * // }, + * // ], * // glossaryTerms: [ // DetailedGlossaryTerms * // { // DetailedGlossaryTerm * // name: "STRING_VALUE", diff --git a/clients/client-datazone/src/commands/GetMetadataGenerationRunCommand.ts b/clients/client-datazone/src/commands/GetMetadataGenerationRunCommand.ts index f7b4872bf9e9b..824ea05f10f84 100644 --- a/clients/client-datazone/src/commands/GetMetadataGenerationRunCommand.ts +++ b/clients/client-datazone/src/commands/GetMetadataGenerationRunCommand.ts @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { GetMetadataGenerationRunInput } from "../models/models_0"; -import { GetMetadataGenerationRunOutput } from "../models/models_1"; +import { GetMetadataGenerationRunInput, GetMetadataGenerationRunOutput } from "../models/models_1"; import { de_GetMetadataGenerationRunCommand, se_GetMetadataGenerationRunCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-datazone/src/commands/GetTimeSeriesDataPointCommand.ts b/clients/client-datazone/src/commands/GetTimeSeriesDataPointCommand.ts new file mode 100644 index 0000000000000..84983eeb073be --- /dev/null +++ b/clients/client-datazone/src/commands/GetTimeSeriesDataPointCommand.ts @@ -0,0 +1,114 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetTimeSeriesDataPointInput, GetTimeSeriesDataPointOutput } from "../models/models_0"; +import { de_GetTimeSeriesDataPointCommand, se_GetTimeSeriesDataPointCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetTimeSeriesDataPointCommand}. + */ +export interface GetTimeSeriesDataPointCommandInput extends GetTimeSeriesDataPointInput {} +/** + * @public + * + * The output of {@link GetTimeSeriesDataPointCommand}. + */ +export interface GetTimeSeriesDataPointCommandOutput extends GetTimeSeriesDataPointOutput, __MetadataBearer {} + +/** + *

Gets the existing data point for the asset.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { DataZoneClient, GetTimeSeriesDataPointCommand } from "@aws-sdk/client-datazone"; // ES Modules import + * // const { DataZoneClient, GetTimeSeriesDataPointCommand } = require("@aws-sdk/client-datazone"); // CommonJS import + * const client = new DataZoneClient(config); + * const input = { // GetTimeSeriesDataPointInput + * domainIdentifier: "STRING_VALUE", // required + * entityIdentifier: "STRING_VALUE", // required + * entityType: "ASSET" || "LISTING", // required + * identifier: "STRING_VALUE", // required + * formName: "STRING_VALUE", // required + * }; + * const command = new GetTimeSeriesDataPointCommand(input); + * const response = await client.send(command); + * // { // GetTimeSeriesDataPointOutput + * // domainId: "STRING_VALUE", + * // entityId: "STRING_VALUE", + * // entityType: "ASSET" || "LISTING", + * // formName: "STRING_VALUE", + * // form: { // TimeSeriesDataPointFormOutput + * // formName: "STRING_VALUE", // required + * // typeIdentifier: "STRING_VALUE", // required + * // typeRevision: "STRING_VALUE", + * // timestamp: new Date("TIMESTAMP"), // required + * // content: "STRING_VALUE", + * // id: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param GetTimeSeriesDataPointCommandInput - {@link GetTimeSeriesDataPointCommandInput} + * @returns {@link GetTimeSeriesDataPointCommandOutput} + * @see {@link GetTimeSeriesDataPointCommandInput} for command's `input` shape. + * @see {@link GetTimeSeriesDataPointCommandOutput} for command's `response` shape. + * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *

You do not have sufficient access to perform this action.

+ * + * @throws {@link InternalServerException} (server fault) + *

The request has failed because of an unknown error, exception or failure.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

The specified resource cannot be found.

+ * + * @throws {@link ThrottlingException} (client fault) + *

The request was denied due to request throttling.

+ * + * @throws {@link ValidationException} (client fault) + *

The input fails to satisfy the constraints specified by the Amazon Web Services service.

+ * + * @throws {@link UnauthorizedException} (client fault) + *

You do not have permission to perform this action.

+ * + * @throws {@link DataZoneServiceException} + *

Base exception class for all service exceptions from DataZone service.

+ * + * @public + */ +export class GetTimeSeriesDataPointCommand extends $Command + .classBuilder< + GetTimeSeriesDataPointCommandInput, + GetTimeSeriesDataPointCommandOutput, + DataZoneClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: DataZoneClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("DataZone", "GetTimeSeriesDataPoint", {}) + .n("DataZoneClient", "GetTimeSeriesDataPointCommand") + .f(void 0, void 0) + .ser(se_GetTimeSeriesDataPointCommand) + .de(de_GetTimeSeriesDataPointCommand) + .build() {} diff --git a/clients/client-datazone/src/commands/ListSubscriptionTargetsCommand.ts b/clients/client-datazone/src/commands/ListSubscriptionTargetsCommand.ts index 7792eb747c800..6971d2f3f9210 100644 --- a/clients/client-datazone/src/commands/ListSubscriptionTargetsCommand.ts +++ b/clients/client-datazone/src/commands/ListSubscriptionTargetsCommand.ts @@ -10,7 +10,7 @@ import { ListSubscriptionTargetsInput, ListSubscriptionTargetsOutput, ListSubscriptionTargetsOutputFilterSensitiveLog, -} from "../models/models_0"; +} from "../models/models_1"; import { de_ListSubscriptionTargetsCommand, se_ListSubscriptionTargetsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-datazone/src/commands/ListTagsForResourceCommand.ts b/clients/client-datazone/src/commands/ListTagsForResourceCommand.ts index 87fc2c8c185e2..823850ba596d3 100644 --- a/clients/client-datazone/src/commands/ListTagsForResourceCommand.ts +++ b/clients/client-datazone/src/commands/ListTagsForResourceCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0"; +import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1"; import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-datazone/src/commands/ListTimeSeriesDataPointsCommand.ts b/clients/client-datazone/src/commands/ListTimeSeriesDataPointsCommand.ts new file mode 100644 index 0000000000000..e4dc3a6e78425 --- /dev/null +++ b/clients/client-datazone/src/commands/ListTimeSeriesDataPointsCommand.ts @@ -0,0 +1,116 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListTimeSeriesDataPointsInput, ListTimeSeriesDataPointsOutput } from "../models/models_1"; +import { de_ListTimeSeriesDataPointsCommand, se_ListTimeSeriesDataPointsCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListTimeSeriesDataPointsCommand}. + */ +export interface ListTimeSeriesDataPointsCommandInput extends ListTimeSeriesDataPointsInput {} +/** + * @public + * + * The output of {@link ListTimeSeriesDataPointsCommand}. + */ +export interface ListTimeSeriesDataPointsCommandOutput extends ListTimeSeriesDataPointsOutput, __MetadataBearer {} + +/** + *

Lists time series data points.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { DataZoneClient, ListTimeSeriesDataPointsCommand } from "@aws-sdk/client-datazone"; // ES Modules import + * // const { DataZoneClient, ListTimeSeriesDataPointsCommand } = require("@aws-sdk/client-datazone"); // CommonJS import + * const client = new DataZoneClient(config); + * const input = { // ListTimeSeriesDataPointsInput + * domainIdentifier: "STRING_VALUE", // required + * entityIdentifier: "STRING_VALUE", // required + * entityType: "ASSET" || "LISTING", // required + * formName: "STRING_VALUE", // required + * startedAt: new Date("TIMESTAMP"), + * endedAt: new Date("TIMESTAMP"), + * nextToken: "STRING_VALUE", + * maxResults: Number("int"), + * }; + * const command = new ListTimeSeriesDataPointsCommand(input); + * const response = await client.send(command); + * // { // ListTimeSeriesDataPointsOutput + * // items: [ // TimeSeriesDataPointSummaryFormOutputList + * // { // TimeSeriesDataPointSummaryFormOutput + * // formName: "STRING_VALUE", // required + * // typeIdentifier: "STRING_VALUE", // required + * // typeRevision: "STRING_VALUE", + * // timestamp: new Date("TIMESTAMP"), // required + * // contentSummary: "STRING_VALUE", + * // id: "STRING_VALUE", + * // }, + * // ], + * // nextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListTimeSeriesDataPointsCommandInput - {@link ListTimeSeriesDataPointsCommandInput} + * @returns {@link ListTimeSeriesDataPointsCommandOutput} + * @see {@link ListTimeSeriesDataPointsCommandInput} for command's `input` shape. + * @see {@link ListTimeSeriesDataPointsCommandOutput} for command's `response` shape. + * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *

You do not have sufficient access to perform this action.

+ * + * @throws {@link InternalServerException} (server fault) + *

The request has failed because of an unknown error, exception or failure.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

The specified resource cannot be found.

+ * + * @throws {@link ThrottlingException} (client fault) + *

The request was denied due to request throttling.

+ * + * @throws {@link ValidationException} (client fault) + *

The input fails to satisfy the constraints specified by the Amazon Web Services service.

+ * + * @throws {@link UnauthorizedException} (client fault) + *

You do not have permission to perform this action.

+ * + * @throws {@link DataZoneServiceException} + *

Base exception class for all service exceptions from DataZone service.

+ * + * @public + */ +export class ListTimeSeriesDataPointsCommand extends $Command + .classBuilder< + ListTimeSeriesDataPointsCommandInput, + ListTimeSeriesDataPointsCommandOutput, + DataZoneClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: DataZoneClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("DataZone", "ListTimeSeriesDataPoints", {}) + .n("DataZoneClient", "ListTimeSeriesDataPointsCommand") + .f(void 0, void 0) + .ser(se_ListTimeSeriesDataPointsCommand) + .de(de_ListTimeSeriesDataPointsCommand) + .build() {} diff --git a/clients/client-datazone/src/commands/PostTimeSeriesDataPointsCommand.ts b/clients/client-datazone/src/commands/PostTimeSeriesDataPointsCommand.ts new file mode 100644 index 0000000000000..6acd49fa69c0d --- /dev/null +++ b/clients/client-datazone/src/commands/PostTimeSeriesDataPointsCommand.ts @@ -0,0 +1,129 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PostTimeSeriesDataPointsInput, PostTimeSeriesDataPointsOutput } from "../models/models_1"; +import { de_PostTimeSeriesDataPointsCommand, se_PostTimeSeriesDataPointsCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link PostTimeSeriesDataPointsCommand}. + */ +export interface PostTimeSeriesDataPointsCommandInput extends PostTimeSeriesDataPointsInput {} +/** + * @public + * + * The output of {@link PostTimeSeriesDataPointsCommand}. + */ +export interface PostTimeSeriesDataPointsCommandOutput extends PostTimeSeriesDataPointsOutput, __MetadataBearer {} + +/** + *

Posts time series data points to Amazon DataZone for the specified asset.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { DataZoneClient, PostTimeSeriesDataPointsCommand } from "@aws-sdk/client-datazone"; // ES Modules import + * // const { DataZoneClient, PostTimeSeriesDataPointsCommand } = require("@aws-sdk/client-datazone"); // CommonJS import + * const client = new DataZoneClient(config); + * const input = { // PostTimeSeriesDataPointsInput + * domainIdentifier: "STRING_VALUE", // required + * entityIdentifier: "STRING_VALUE", // required + * entityType: "ASSET" || "LISTING", // required + * forms: [ // TimeSeriesDataPointFormInputList // required + * { // TimeSeriesDataPointFormInput + * formName: "STRING_VALUE", // required + * typeIdentifier: "STRING_VALUE", // required + * typeRevision: "STRING_VALUE", + * timestamp: new Date("TIMESTAMP"), // required + * content: "STRING_VALUE", + * }, + * ], + * clientToken: "STRING_VALUE", + * }; + * const command = new PostTimeSeriesDataPointsCommand(input); + * const response = await client.send(command); + * // { // PostTimeSeriesDataPointsOutput + * // domainId: "STRING_VALUE", + * // entityId: "STRING_VALUE", + * // entityType: "ASSET" || "LISTING", + * // forms: [ // TimeSeriesDataPointFormOutputList + * // { // TimeSeriesDataPointFormOutput + * // formName: "STRING_VALUE", // required + * // typeIdentifier: "STRING_VALUE", // required + * // typeRevision: "STRING_VALUE", + * // timestamp: new Date("TIMESTAMP"), // required + * // content: "STRING_VALUE", + * // id: "STRING_VALUE", + * // }, + * // ], + * // }; + * + * ``` + * + * @param PostTimeSeriesDataPointsCommandInput - {@link PostTimeSeriesDataPointsCommandInput} + * @returns {@link PostTimeSeriesDataPointsCommandOutput} + * @see {@link PostTimeSeriesDataPointsCommandInput} for command's `input` shape. + * @see {@link PostTimeSeriesDataPointsCommandOutput} for command's `response` shape. + * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *

You do not have sufficient access to perform this action.

+ * + * @throws {@link ConflictException} (client fault) + *

There is a conflict while performing this action.

+ * + * @throws {@link InternalServerException} (server fault) + *

The request has failed because of an unknown error, exception or failure.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

The specified resource cannot be found.

+ * + * @throws {@link ServiceQuotaExceededException} (client fault) + *

The request has exceeded the specified service quota.

+ * + * @throws {@link ThrottlingException} (client fault) + *

The request was denied due to request throttling.

+ * + * @throws {@link ValidationException} (client fault) + *

The input fails to satisfy the constraints specified by the Amazon Web Services service.

+ * + * @throws {@link UnauthorizedException} (client fault) + *

You do not have permission to perform this action.

+ * + * @throws {@link DataZoneServiceException} + *

Base exception class for all service exceptions from DataZone service.

+ * + * @public + */ +export class PostTimeSeriesDataPointsCommand extends $Command + .classBuilder< + PostTimeSeriesDataPointsCommandInput, + PostTimeSeriesDataPointsCommandOutput, + DataZoneClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: DataZoneClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("DataZone", "PostTimeSeriesDataPoints", {}) + .n("DataZoneClient", "PostTimeSeriesDataPointsCommand") + .f(void 0, void 0) + .ser(se_PostTimeSeriesDataPointsCommand) + .de(de_PostTimeSeriesDataPointsCommand) + .build() {} diff --git a/clients/client-datazone/src/commands/SearchCommand.ts b/clients/client-datazone/src/commands/SearchCommand.ts index b06e5549b512e..550ec9c30382c 100644 --- a/clients/client-datazone/src/commands/SearchCommand.ts +++ b/clients/client-datazone/src/commands/SearchCommand.ts @@ -74,7 +74,7 @@ export interface SearchCommandOutput extends SearchOutput, __MetadataBearer {} * order: "ASCENDING" || "DESCENDING", * }, * additionalAttributes: [ // SearchOutputAdditionalAttributes - * "FORMS", + * "FORMS" || "TIME_SERIES_DATA_POINT_FORMS", * ], * }; * const command = new SearchCommand(input); @@ -148,6 +148,16 @@ export interface SearchCommandOutput extends SearchOutput, __MetadataBearer {} * // 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", + * // }, + * // ], * // }, * // }, * // dataProductItem: { // DataProductSummary diff --git a/clients/client-datazone/src/commands/SearchListingsCommand.ts b/clients/client-datazone/src/commands/SearchListingsCommand.ts index 85e721d2be89b..5816b90f18c4f 100644 --- a/clients/client-datazone/src/commands/SearchListingsCommand.ts +++ b/clients/client-datazone/src/commands/SearchListingsCommand.ts @@ -72,7 +72,7 @@ export interface SearchListingsCommandOutput extends SearchListingsOutput, __Met * order: "ASCENDING" || "DESCENDING", * }, * additionalAttributes: [ // SearchOutputAdditionalAttributes - * "FORMS", + * "FORMS" || "TIME_SERIES_DATA_POINT_FORMS", * ], * }; * const command = new SearchListingsCommand(input); @@ -100,6 +100,16 @@ export interface SearchListingsCommandOutput extends SearchListingsOutput, __Met * // owningProjectId: "STRING_VALUE", * // additionalAttributes: { // AssetListingItemAdditionalAttributes * // forms: "STRING_VALUE", + * // latestTimeSeriesDataPointForms: [ // TimeSeriesDataPointSummaryFormOutputList + * // { // TimeSeriesDataPointSummaryFormOutput + * // formName: "STRING_VALUE", // required + * // typeIdentifier: "STRING_VALUE", // required + * // typeRevision: "STRING_VALUE", + * // timestamp: new Date("TIMESTAMP"), // required + * // contentSummary: "STRING_VALUE", + * // id: "STRING_VALUE", + * // }, + * // ], * // }, * // }, * // }, diff --git a/clients/client-datazone/src/commands/UpdateDataSourceCommand.ts b/clients/client-datazone/src/commands/UpdateDataSourceCommand.ts index f67eccf555835..1bbfe15921641 100644 --- a/clients/client-datazone/src/commands/UpdateDataSourceCommand.ts +++ b/clients/client-datazone/src/commands/UpdateDataSourceCommand.ts @@ -73,6 +73,7 @@ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceOutput, _ * ], * }, * ], + * autoImportDataQualityResult: true || false, * }, * redshiftRunConfiguration: { // RedshiftRunConfigurationInput * dataAccessRole: "STRING_VALUE", @@ -133,6 +134,7 @@ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceOutput, _ * // ], * // }, * // ], + * // autoImportDataQualityResult: true || false, * // }, * // redshiftRunConfiguration: { // RedshiftRunConfigurationOutput * // accountId: "STRING_VALUE", diff --git a/clients/client-datazone/src/commands/index.ts b/clients/client-datazone/src/commands/index.ts index a360d137a5da3..795bd2395c5f9 100644 --- a/clients/client-datazone/src/commands/index.ts +++ b/clients/client-datazone/src/commands/index.ts @@ -37,6 +37,7 @@ export * from "./DeleteProjectMembershipCommand"; export * from "./DeleteSubscriptionGrantCommand"; export * from "./DeleteSubscriptionRequestCommand"; export * from "./DeleteSubscriptionTargetCommand"; +export * from "./DeleteTimeSeriesDataPointsCommand"; export * from "./GetAssetCommand"; export * from "./GetAssetTypeCommand"; export * from "./GetDataSourceCommand"; @@ -58,6 +59,7 @@ export * from "./GetSubscriptionCommand"; export * from "./GetSubscriptionGrantCommand"; export * from "./GetSubscriptionRequestDetailsCommand"; export * from "./GetSubscriptionTargetCommand"; +export * from "./GetTimeSeriesDataPointCommand"; export * from "./GetUserProfileCommand"; export * from "./ListAssetRevisionsCommand"; export * from "./ListDataSourceRunActivitiesCommand"; @@ -77,6 +79,8 @@ export * from "./ListSubscriptionRequestsCommand"; export * from "./ListSubscriptionTargetsCommand"; export * from "./ListSubscriptionsCommand"; export * from "./ListTagsForResourceCommand"; +export * from "./ListTimeSeriesDataPointsCommand"; +export * from "./PostTimeSeriesDataPointsCommand"; export * from "./PutEnvironmentBlueprintConfigurationCommand"; export * from "./RejectPredictionsCommand"; export * from "./RejectSubscriptionRequestCommand"; diff --git a/clients/client-datazone/src/models/models_0.ts b/clients/client-datazone/src/models/models_0.ts index bfcd8c1f074c8..c69af71eb9ef4 100644 --- a/clients/client-datazone/src/models/models_0.ts +++ b/clients/client-datazone/src/models/models_0.ts @@ -782,6 +782,48 @@ export interface FormOutput { content?: string; } +/** + *

The summary of the time series data points form.

+ * @public + */ +export interface TimeSeriesDataPointSummaryFormOutput { + /** + *

The name of the time series data points summary form.

+ * @public + */ + formName: string | undefined; + + /** + *

The type ID of the time series data points summary form.

+ * @public + */ + typeIdentifier: string | undefined; + + /** + *

The type revision of the time series data points summary form.

+ * @public + */ + typeRevision?: string; + + /** + *

The timestamp of the time series data points summary form.

+ * @public + */ + timestamp: Date | undefined; + + /** + *

The content of the summary of the time series data points form.

+ * @public + */ + contentSummary?: string; + + /** + *

The ID of the time series data points summary form.

+ * @public + */ + id?: string; +} + /** * @public */ @@ -888,6 +930,12 @@ export interface CreateAssetOutput { */ readOnlyFormsOutput?: FormOutput[]; + /** + *

The latest data point that was imported into the time series form for the asset.

+ * @public + */ + latestTimeSeriesDataPointFormsOutput?: TimeSeriesDataPointSummaryFormOutput[]; + /** *

The configuration of the automatically generated business-friendly metadata for the * asset.

@@ -1084,6 +1132,12 @@ export interface CreateAssetRevisionOutput { */ readOnlyFormsOutput?: FormOutput[]; + /** + *

The latest data point that was imported into the time series form for the asset.

+ * @public + */ + latestTimeSeriesDataPointFormsOutput?: TimeSeriesDataPointSummaryFormOutput[]; + /** *

The configuration of the automatically generated business-friendly metadata for the * asset.

@@ -1242,6 +1296,12 @@ export interface GetAssetOutput { * @public */ readOnlyFormsOutput?: FormOutput[]; + + /** + *

The latest data point that was imported into the time series form for the asset.

+ * @public + */ + latestTimeSeriesDataPointFormsOutput?: TimeSeriesDataPointSummaryFormOutput[]; } /** @@ -1260,6 +1320,13 @@ export interface AssetItemAdditionalAttributes { * @public */ readOnlyFormsOutput?: FormOutput[]; + + /** + *

The latest time series data points forms included in the additional attributes of an + * asset.

+ * @public + */ + latestTimeSeriesDataPointFormsOutput?: TimeSeriesDataPointSummaryFormOutput[]; } /** @@ -1387,6 +1454,13 @@ export interface AssetListing { */ forms?: string; + /** + *

The latest time series data points forms included in the additional attributes of an + * asset.

+ * @public + */ + latestTimeSeriesDataPointForms?: TimeSeriesDataPointSummaryFormOutput[]; + /** *

The glossary terms attached to an asset published in an Amazon DataZone catalog.

* @public @@ -1411,6 +1485,13 @@ export interface AssetListingItemAdditionalAttributes { * @public */ forms?: string; + + /** + *

The latest time series data points forms included in the additional attributes of an + * asset.

+ * @public + */ + latestTimeSeriesDataPointForms?: TimeSeriesDataPointSummaryFormOutput[]; } /** @@ -2220,6 +2301,13 @@ export interface GlueRunConfigurationInput { * @public */ relationalFilterConfigurations: RelationalFilterConfiguration[] | undefined; + + /** + *

Specifies whether to automatically import data quality metrics as part of the data + * source run.

+ * @public + */ + autoImportDataQualityResult?: boolean; } /** @@ -2648,6 +2736,13 @@ export interface GlueRunConfigurationOutput { * @public */ relationalFilterConfigurations: RelationalFilterConfiguration[] | undefined; + + /** + *

Specifies whether to automatically import data quality metrics as part of the data + * source run.

+ * @public + */ + autoImportDataQualityResult?: boolean; } /** @@ -6817,6 +6912,62 @@ export interface DeleteSubscriptionTargetInput { identifier: string | undefined; } +/** + * @public + * @enum + */ +export const TimeSeriesEntityType = { + ASSET: "ASSET", + LISTING: "LISTING", +} as const; + +/** + * @public + */ +export type TimeSeriesEntityType = (typeof TimeSeriesEntityType)[keyof typeof TimeSeriesEntityType]; + +/** + * @public + */ +export interface DeleteTimeSeriesDataPointsInput { + /** + *

The ID of the Amazon DataZone domain that houses the asset for which you want to delete + * a time series form.

+ * @public + */ + domainIdentifier: string | undefined; + + /** + *

The ID of the asset for which you want to delete a time series form.

+ * @public + */ + entityIdentifier: string | undefined; + + /** + *

The type of the asset for which you want to delete a time series form.

+ * @public + */ + entityType: TimeSeriesEntityType | undefined; + + /** + *

The name of the time series form that you want to delete.

+ * @public + */ + formName: string | undefined; + + /** + *

A unique, case-sensitive identifier to ensure idempotency of the request. This field is + * automatically populated if not provided.

+ * @public + */ + clientToken?: string; +} + +/** + * @public + */ +export interface DeleteTimeSeriesDataPointsOutput {} + /** * @public */ @@ -8451,6 +8602,120 @@ export interface GetSubscriptionTargetOutput { provider: string | undefined; } +/** + * @public + */ +export interface GetTimeSeriesDataPointInput { + /** + *

The ID of the Amazon DataZone domain that houses the asset for which you want to get the + * data point.

+ * @public + */ + domainIdentifier: string | undefined; + + /** + *

The ID of the asset for which you want to get the data point.

+ * @public + */ + entityIdentifier: string | undefined; + + /** + *

The type of the asset for which you want to get the data point.

+ * @public + */ + entityType: TimeSeriesEntityType | undefined; + + /** + *

The ID of the data point that you want to get.

+ * @public + */ + identifier: string | undefined; + + /** + *

The name of the time series form that houses the data point that you want to get.

+ * @public + */ + formName: string | undefined; +} + +/** + *

The time series data points form.

+ * @public + */ +export interface TimeSeriesDataPointFormOutput { + /** + *

The name of the time series data points form.

+ * @public + */ + formName: string | undefined; + + /** + *

The ID of the type of the time series data points form.

+ * @public + */ + typeIdentifier: string | undefined; + + /** + *

The revision type of the time series data points form.

+ * @public + */ + typeRevision?: string; + + /** + *

The timestamp of the time series data points form.

+ * @public + */ + timestamp: Date | undefined; + + /** + *

The content of the time series data points form.

+ * @public + */ + content?: string; + + /** + *

The ID of the time series data points form.

+ * @public + */ + id?: string; +} + +/** + * @public + */ +export interface GetTimeSeriesDataPointOutput { + /** + *

The ID of the Amazon DataZone domain that houses the asset data point that you want to + * get.

+ * @public + */ + domainId?: string; + + /** + *

The ID of the asset for which you want to get the data point.

+ * @public + */ + entityId?: string; + + /** + *

The type of the asset for which you want to get the data point.

+ * @public + */ + entityType?: TimeSeriesEntityType; + + /** + *

The name of the time series form that houses the data point that you want to get.

+ * @public + */ + formName?: string; + + /** + *

The time series form that houses the data point that you want to get.

+ * @public + */ + form?: TimeSeriesDataPointFormOutput; +} + /** * @public */ @@ -10778,236 +11043,6 @@ export interface ListSubscriptionsOutput { nextToken?: string; } -/** - * @public - */ -export interface ListSubscriptionTargetsInput { - /** - *

The identifier of the Amazon DataZone domain where you want to list subscription - * targets.

- * @public - */ - domainIdentifier: string | undefined; - - /** - *

The identifier of the environment where you want to list subscription targets.

- * @public - */ - environmentIdentifier: string | undefined; - - /** - *

Specifies the way in which the results of this action are to be sorted.

- * @public - */ - sortBy?: SortKey; - - /** - *

Specifies the sort order for the results of this action.

- * @public - */ - sortOrder?: SortOrder; - - /** - *

The maximum number of subscription targets to return in a single call to - * ListSubscriptionTargets. When the number of subscription targets to be - * listed is greater than the value of MaxResults, the response contains a - * NextToken value that you can use in a subsequent call to - * ListSubscriptionTargets to list the next set of subscription targets. - *

- * @public - */ - maxResults?: number; - - /** - *

When the number of subscription targets is greater than the default value for the - * MaxResults parameter, or if you explicitly specify a value for - * MaxResults that is less than the number of subscription targets, the - * response includes a pagination token named NextToken. You can specify this - * NextToken value in a subsequent call to - * ListSubscriptionTargets to list the next set of subscription - * targets.

- * @public - */ - nextToken?: string; -} - -/** - *

The details of the subscription target.

- * @public - */ -export interface SubscriptionTargetSummary { - /** - *

The identifier of the subscription target.

- * @public - */ - id: string | undefined; - - /** - *

The authorized principals included in the subscription target.

- * @public - */ - authorizedPrincipals: string[] | undefined; - - /** - *

The identifier of the Amazon DataZone domain in which the subscription target exists.

- * @public - */ - domainId: string | undefined; - - /** - *

The identifier of the project specified in the subscription target.

- * @public - */ - projectId: string | undefined; - - /** - *

The identifier of the environment of the subscription target.

- * @public - */ - environmentId: string | undefined; - - /** - *

The name of the subscription target.

- * @public - */ - name: string | undefined; - - /** - *

The type of the subscription target.

- * @public - */ - type: string | undefined; - - /** - *

The Amazon DataZone user who created the subscription target.

- * @public - */ - createdBy: string | undefined; - - /** - *

The Amazon DataZone user who updated the subscription target.

- * @public - */ - updatedBy?: string; - - /** - *

The timestamp of when the subscription target was created.

- * @public - */ - createdAt: Date | undefined; - - /** - *

The timestamp of when the subscription target was updated.

- * @public - */ - updatedAt?: Date; - - /** - *

The manage access role specified in the subscription target.

- * @public - */ - manageAccessRole: string | undefined; - - /** - *

The asset types included in the subscription target.

- * @public - */ - applicableAssetTypes: string[] | undefined; - - /** - *

The configuration of the subscription target.

- * @public - */ - subscriptionTargetConfig: SubscriptionTargetForm[] | undefined; - - /** - *

The provider of the subscription target.

- * @public - */ - provider: string | undefined; -} - -/** - * @public - */ -export interface ListSubscriptionTargetsOutput { - /** - *

The results of the ListSubscriptionTargets action.

- * @public - */ - items: SubscriptionTargetSummary[] | undefined; - - /** - *

When the number of subscription targets is greater than the default value for the - * MaxResults parameter, or if you explicitly specify a value for - * MaxResults that is less than the number of subscription targets, the - * response includes a pagination token named NextToken. You can specify this - * NextToken value in a subsequent call to - * ListSubscriptionTargets to list the next set of subscription - * targets.

- * @public - */ - nextToken?: string; -} - -/** - * @public - */ -export interface ListTagsForResourceRequest { - /** - *

The ARN of the resource whose tags you want to list.

- * @public - */ - resourceArn: string | undefined; -} - -/** - * @public - */ -export interface ListTagsForResourceResponse { - /** - *

The tags of the specified resource.

- * @public - */ - tags?: Record; -} - -/** - * @public - */ -export interface GetMetadataGenerationRunInput { - /** - *

The ID of the Amazon DataZone domain the metadata generation run of which you want to - * get.

- * @public - */ - domainIdentifier: string | undefined; - - /** - *

The identifier of the metadata generation run.

- * @public - */ - identifier: string | undefined; -} - -/** - * @public - * @enum - */ -export const MetadataGenerationRunStatus = { - CANCELED: "CANCELED", - FAILED: "FAILED", - IN_PROGRESS: "IN_PROGRESS", - SUBMITTED: "SUBMITTED", - SUCCEEDED: "SUCCEEDED", -} as const; - -/** - * @public - */ -export type MetadataGenerationRunStatus = - (typeof MetadataGenerationRunStatus)[keyof typeof MetadataGenerationRunStatus]; - /** * @internal */ @@ -11991,19 +12026,3 @@ export const ListSubscriptionsOutputFilterSensitiveLog = (obj: ListSubscriptions ...obj, ...(obj.items && { items: obj.items.map((item) => SubscriptionSummaryFilterSensitiveLog(item)) }), }); - -/** - * @internal - */ -export const SubscriptionTargetSummaryFilterSensitiveLog = (obj: SubscriptionTargetSummary): any => ({ - ...obj, - ...(obj.name && { name: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListSubscriptionTargetsOutputFilterSensitiveLog = (obj: ListSubscriptionTargetsOutput): any => ({ - ...obj, - ...(obj.items && { items: obj.items.map((item) => SubscriptionTargetSummaryFilterSensitiveLog(item)) }), -}); diff --git a/clients/client-datazone/src/models/models_1.ts b/clients/client-datazone/src/models/models_1.ts index 455430a6a696b..ddc95b620ec0e 100644 --- a/clients/client-datazone/src/models/models_1.ts +++ b/clients/client-datazone/src/models/models_1.ts @@ -25,12 +25,12 @@ import { GroupProfileStatus, Import, ImportFilterSensitiveLog, - MetadataGenerationRunStatus, Model, ProjectDeletionError, ProjectStatus, ProvisioningProperties, Resource, + SortKey, SortOrder, SubscribedAsset, SubscribedListing, @@ -43,12 +43,327 @@ import { SubscriptionStatus, SubscriptionTargetForm, TermRelations, + TimeSeriesDataPointFormOutput, + TimeSeriesDataPointSummaryFormOutput, + TimeSeriesEntityType, UserProfileDetails, UserProfileDetailsFilterSensitiveLog, UserProfileStatus, UserProfileType, } from "./models_0"; +/** + * @public + */ +export interface ListSubscriptionTargetsInput { + /** + *

The identifier of the Amazon DataZone domain where you want to list subscription + * targets.

+ * @public + */ + domainIdentifier: string | undefined; + + /** + *

The identifier of the environment where you want to list subscription targets.

+ * @public + */ + environmentIdentifier: string | undefined; + + /** + *

Specifies the way in which the results of this action are to be sorted.

+ * @public + */ + sortBy?: SortKey; + + /** + *

Specifies the sort order for the results of this action.

+ * @public + */ + sortOrder?: SortOrder; + + /** + *

The maximum number of subscription targets to return in a single call to + * ListSubscriptionTargets. When the number of subscription targets to be + * listed is greater than the value of MaxResults, the response contains a + * NextToken value that you can use in a subsequent call to + * ListSubscriptionTargets to list the next set of subscription targets. + *

+ * @public + */ + maxResults?: number; + + /** + *

When the number of subscription targets is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of subscription targets, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to + * ListSubscriptionTargets to list the next set of subscription + * targets.

+ * @public + */ + nextToken?: string; +} + +/** + *

The details of the subscription target.

+ * @public + */ +export interface SubscriptionTargetSummary { + /** + *

The identifier of the subscription target.

+ * @public + */ + id: string | undefined; + + /** + *

The authorized principals included in the subscription target.

+ * @public + */ + authorizedPrincipals: string[] | undefined; + + /** + *

The identifier of the Amazon DataZone domain in which the subscription target exists.

+ * @public + */ + domainId: string | undefined; + + /** + *

The identifier of the project specified in the subscription target.

+ * @public + */ + projectId: string | undefined; + + /** + *

The identifier of the environment of the subscription target.

+ * @public + */ + environmentId: string | undefined; + + /** + *

The name of the subscription target.

+ * @public + */ + name: string | undefined; + + /** + *

The type of the subscription target.

+ * @public + */ + type: string | undefined; + + /** + *

The Amazon DataZone user who created the subscription target.

+ * @public + */ + createdBy: string | undefined; + + /** + *

The Amazon DataZone user who updated the subscription target.

+ * @public + */ + updatedBy?: string; + + /** + *

The timestamp of when the subscription target was created.

+ * @public + */ + createdAt: Date | undefined; + + /** + *

The timestamp of when the subscription target was updated.

+ * @public + */ + updatedAt?: Date; + + /** + *

The manage access role specified in the subscription target.

+ * @public + */ + manageAccessRole: string | undefined; + + /** + *

The asset types included in the subscription target.

+ * @public + */ + applicableAssetTypes: string[] | undefined; + + /** + *

The configuration of the subscription target.

+ * @public + */ + subscriptionTargetConfig: SubscriptionTargetForm[] | undefined; + + /** + *

The provider of the subscription target.

+ * @public + */ + provider: string | undefined; +} + +/** + * @public + */ +export interface ListSubscriptionTargetsOutput { + /** + *

The results of the ListSubscriptionTargets action.

+ * @public + */ + items: SubscriptionTargetSummary[] | undefined; + + /** + *

When the number of subscription targets is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of subscription targets, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to + * ListSubscriptionTargets to list the next set of subscription + * targets.

+ * @public + */ + nextToken?: string; +} + +/** + * @public + */ +export interface ListTagsForResourceRequest { + /** + *

The ARN of the resource whose tags you want to list.

+ * @public + */ + resourceArn: string | undefined; +} + +/** + * @public + */ +export interface ListTagsForResourceResponse { + /** + *

The tags of the specified resource.

+ * @public + */ + tags?: Record; +} + +/** + * @public + */ +export interface ListTimeSeriesDataPointsInput { + /** + *

The ID of the Amazon DataZone domain that houses the assets for which you want to list + * time series data points.

+ * @public + */ + domainIdentifier: string | undefined; + + /** + *

The ID of the asset for which you want to list data points.

+ * @public + */ + entityIdentifier: string | undefined; + + /** + *

The type of the asset for which you want to list data points.

+ * @public + */ + entityType: TimeSeriesEntityType | undefined; + + /** + *

The name of the time series data points form.

+ * @public + */ + formName: string | undefined; + + /** + *

The timestamp at which the data points that you want to list started.

+ * @public + */ + startedAt?: Date; + + /** + *

The timestamp at which the data points that you wanted to list ended.

+ * @public + */ + endedAt?: Date; + + /** + *

When the number of data points is greater than the default value for the MaxResults + * parameter, or if you explicitly specify a value for MaxResults that is less than the number + * of data points, the response includes a pagination token named NextToken. You can specify + * this NextToken value in a subsequent call to ListTimeSeriesDataPoints to list the next set + * of data points.

+ * @public + */ + nextToken?: string; + + /** + *

The maximum number of data points to return in a single call to + * ListTimeSeriesDataPoints. When the number of data points to be listed is greater than the + * value of MaxResults, the response contains a NextToken value that you can use in a + * subsequent call to ListTimeSeriesDataPoints to list the next set of data points.

+ * @public + */ + maxResults?: number; +} + +/** + * @public + */ +export interface ListTimeSeriesDataPointsOutput { + /** + *

The results of the ListTimeSeriesDataPoints action.

+ * @public + */ + items?: TimeSeriesDataPointSummaryFormOutput[]; + + /** + *

When the number of data points is greater than the default value for the MaxResults + * parameter, or if you explicitly specify a value for MaxResults that is less than the number + * of data points, the response includes a pagination token named NextToken. You can specify + * this NextToken value in a subsequent call to ListTimeSeriesDataPoints to list the next set + * of data points.

+ * @public + */ + nextToken?: string; +} + +/** + * @public + */ +export interface GetMetadataGenerationRunInput { + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you want to + * get.

+ * @public + */ + domainIdentifier: string | undefined; + + /** + *

The identifier of the metadata generation run.

+ * @public + */ + identifier: string | undefined; +} + +/** + * @public + * @enum + */ +export const MetadataGenerationRunStatus = { + CANCELED: "CANCELED", + FAILED: "FAILED", + IN_PROGRESS: "IN_PROGRESS", + SUBMITTED: "SUBMITTED", + SUCCEEDED: "SUCCEEDED", +} as const; + +/** + * @public + */ +export type MetadataGenerationRunStatus = + (typeof MetadataGenerationRunStatus)[keyof typeof MetadataGenerationRunStatus]; + /** * @public * @enum @@ -363,6 +678,109 @@ export interface StartMetadataGenerationRunOutput { owningProjectId?: string; } +/** + *

The time series data points form.

+ * @public + */ +export interface TimeSeriesDataPointFormInput { + /** + *

The name of the time series data points form.

+ * @public + */ + formName: string | undefined; + + /** + *

The ID of the type of the time series data points form.

+ * @public + */ + typeIdentifier: string | undefined; + + /** + *

The revision type of the time series data points form.

+ * @public + */ + typeRevision?: string; + + /** + *

The timestamp of the time series data points form.

+ * @public + */ + timestamp: Date | undefined; + + /** + *

The content of the time series data points form.

+ * @public + */ + content?: string; +} + +/** + * @public + */ +export interface PostTimeSeriesDataPointsInput { + /** + *

The ID of the Amazon DataZone domain in which you want to post time series data + * points.

+ * @public + */ + domainIdentifier: string | undefined; + + /** + *

The ID of the asset for which you want to post time series data points.

+ * @public + */ + entityIdentifier: string | undefined; + + /** + *

The type of the asset for which you want to post data points.

+ * @public + */ + entityType: TimeSeriesEntityType | undefined; + + /** + *

The forms that contain the data points that you want to post.

+ * @public + */ + forms: TimeSeriesDataPointFormInput[] | undefined; + + /** + *

A unique, case-sensitive identifier that is provided to ensure the idempotency of the + * request.

+ * @public + */ + clientToken?: string; +} + +/** + * @public + */ +export interface PostTimeSeriesDataPointsOutput { + /** + *

The ID of the Amazon DataZone domain in which you want to post time series data + * points.

+ * @public + */ + domainId?: string; + + /** + *

The ID of the asset for which you want to post time series data points.

+ * @public + */ + entityId?: string; + + /** + *

The type of the asset for which you want to post data points.

+ * @public + */ + entityType?: TimeSeriesEntityType; + + /** + *

The forms that contain the data points that you have posted.

+ * @public + */ + forms?: TimeSeriesDataPointFormOutput[]; +} + /** *

The details of the automatically generated business metadata that is rejected.

* @public @@ -683,6 +1101,7 @@ export interface RevokeSubscriptionOutput { */ export const SearchOutputAdditionalAttribute = { FORMS: "FORMS", + TIME_SERIES_DATA_POINT_FORMS: "TIME_SERIES_DATA_POINT_FORMS", } as const; /** @@ -2732,6 +3151,22 @@ export interface SearchTypesInput { managed: boolean | undefined; } +/** + * @internal + */ +export const SubscriptionTargetSummaryFilterSensitiveLog = (obj: SubscriptionTargetSummary): any => ({ + ...obj, + ...(obj.name && { name: SENSITIVE_STRING }), +}); + +/** + * @internal + */ +export const ListSubscriptionTargetsOutputFilterSensitiveLog = (obj: ListSubscriptionTargetsOutput): any => ({ + ...obj, + ...(obj.items && { items: obj.items.map((item) => SubscriptionTargetSummaryFilterSensitiveLog(item)) }), +}); + /** * @internal */ diff --git a/clients/client-datazone/src/pagination/ListTimeSeriesDataPointsPaginator.ts b/clients/client-datazone/src/pagination/ListTimeSeriesDataPointsPaginator.ts new file mode 100644 index 0000000000000..88564ac6b1ca6 --- /dev/null +++ b/clients/client-datazone/src/pagination/ListTimeSeriesDataPointsPaginator.ts @@ -0,0 +1,24 @@ +// smithy-typescript generated code +import { createPaginator } from "@smithy/core"; +import { Paginator } from "@smithy/types"; + +import { + ListTimeSeriesDataPointsCommand, + ListTimeSeriesDataPointsCommandInput, + ListTimeSeriesDataPointsCommandOutput, +} from "../commands/ListTimeSeriesDataPointsCommand"; +import { DataZoneClient } from "../DataZoneClient"; +import { DataZonePaginationConfiguration } from "./Interfaces"; + +/** + * @public + */ +export const paginateListTimeSeriesDataPoints: ( + config: DataZonePaginationConfiguration, + input: ListTimeSeriesDataPointsCommandInput, + ...rest: any[] +) => Paginator = createPaginator< + DataZonePaginationConfiguration, + ListTimeSeriesDataPointsCommandInput, + ListTimeSeriesDataPointsCommandOutput +>(DataZoneClient, ListTimeSeriesDataPointsCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-datazone/src/pagination/index.ts b/clients/client-datazone/src/pagination/index.ts index fdc41836d8d5f..cc08932f521f6 100644 --- a/clients/client-datazone/src/pagination/index.ts +++ b/clients/client-datazone/src/pagination/index.ts @@ -17,6 +17,7 @@ export * from "./ListSubscriptionGrantsPaginator"; export * from "./ListSubscriptionRequestsPaginator"; export * from "./ListSubscriptionTargetsPaginator"; export * from "./ListSubscriptionsPaginator"; +export * from "./ListTimeSeriesDataPointsPaginator"; export * from "./SearchGroupProfilesPaginator"; export * from "./SearchListingsPaginator"; export * from "./SearchPaginator"; diff --git a/clients/client-datazone/src/protocols/Aws_restJson1.ts b/clients/client-datazone/src/protocols/Aws_restJson1.ts index e768437d31c1c..d9682a69ee525 100644 --- a/clients/client-datazone/src/protocols/Aws_restJson1.ts +++ b/clients/client-datazone/src/protocols/Aws_restJson1.ts @@ -116,6 +116,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"; @@ -161,6 +165,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 { @@ -210,6 +218,14 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, } from "../commands/ListTagsForResourceCommand"; +import { + ListTimeSeriesDataPointsCommandInput, + ListTimeSeriesDataPointsCommandOutput, +} from "../commands/ListTimeSeriesDataPointsCommand"; +import { + PostTimeSeriesDataPointsCommandInput, + PostTimeSeriesDataPointsCommandOutput, +} from "../commands/PostTimeSeriesDataPointsCommand"; import { PutEnvironmentBlueprintConfigurationCommandInput, PutEnvironmentBlueprintConfigurationCommandOutput, @@ -265,8 +281,10 @@ import { AcceptRule, AccessDeniedException, AssetItem, + AssetItemAdditionalAttributes, AssetListing, AssetListingItem, + AssetListingItemAdditionalAttributes, AssetRevision, AssetTargetNameMap, AssetTypeItem, @@ -316,9 +334,10 @@ import { SubscriptionRequestSummary, SubscriptionSummary, SubscriptionTargetForm, - SubscriptionTargetSummary, TermRelations, ThrottlingException, + TimeSeriesDataPointFormOutput, + TimeSeriesDataPointSummaryFormOutput, UnauthorizedException, ValidationException, } from "../models/models_0"; @@ -338,6 +357,8 @@ import { SearchResultItem, SearchSort, SearchTypesResultItem, + SubscriptionTargetSummary, + TimeSeriesDataPointFormInput, } from "../models/models_1"; /** @@ -1221,6 +1242,28 @@ export const se_DeleteSubscriptionTargetCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1DeleteTimeSeriesDataPointsCommand + */ +export const se_DeleteTimeSeriesDataPointsCommand = async ( + input: DeleteTimeSeriesDataPointsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = {}; + b.bp("/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points"); + b.p("domainIdentifier", () => input.domainIdentifier!, "{domainIdentifier}", false); + b.p("entityIdentifier", () => input.entityIdentifier!, "{entityIdentifier}", false); + b.p("entityType", () => input.entityType!, "{entityType}", false); + const query: any = map({ + [_fN]: [, __expectNonNull(input[_fN]!, `formName`)], + [_cT]: [, input[_cT] ?? generateIdempotencyToken()], + }); + let body: any; + b.m("DELETE").h(headers).q(query).b(body); + return b.build(); +}; + /** * serializeAws_restJson1GetAssetCommand */ @@ -1594,6 +1637,28 @@ export const se_GetSubscriptionTargetCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1GetTimeSeriesDataPointCommand + */ +export const se_GetTimeSeriesDataPointCommand = async ( + input: GetTimeSeriesDataPointCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = {}; + b.bp("/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points/{identifier}"); + b.p("domainIdentifier", () => input.domainIdentifier!, "{domainIdentifier}", false); + b.p("entityIdentifier", () => input.entityIdentifier!, "{entityIdentifier}", false); + b.p("entityType", () => input.entityType!, "{entityType}", false); + b.p("identifier", () => input.identifier!, "{identifier}", false); + const query: any = map({ + [_fN]: [, __expectNonNull(input[_fN]!, `formName`)], + }); + let body: any; + b.m("GET").h(headers).q(query).b(body); + return b.build(); +}; + /** * serializeAws_restJson1GetUserProfileCommand */ @@ -2030,6 +2095,57 @@ export const se_ListTagsForResourceCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1ListTimeSeriesDataPointsCommand + */ +export const se_ListTimeSeriesDataPointsCommand = async ( + input: ListTimeSeriesDataPointsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = {}; + b.bp("/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points"); + b.p("domainIdentifier", () => input.domainIdentifier!, "{domainIdentifier}", false); + b.p("entityIdentifier", () => input.entityIdentifier!, "{entityIdentifier}", false); + b.p("entityType", () => input.entityType!, "{entityType}", false); + const query: any = map({ + [_fN]: [, __expectNonNull(input[_fN]!, `formName`)], + [_sA]: [() => input.startedAt !== void 0, () => (input[_sA]!.toISOString().split(".")[0] + "Z").toString()], + [_eA]: [() => input.endedAt !== void 0, () => (input[_eA]!.toISOString().split(".")[0] + "Z").toString()], + [_nT]: [, input[_nT]!], + [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], + }); + let body: any; + b.m("GET").h(headers).q(query).b(body); + return b.build(); +}; + +/** + * serializeAws_restJson1PostTimeSeriesDataPointsCommand + */ +export const se_PostTimeSeriesDataPointsCommand = async ( + input: PostTimeSeriesDataPointsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points"); + b.p("domainIdentifier", () => input.domainIdentifier!, "{domainIdentifier}", false); + b.p("entityIdentifier", () => input.entityIdentifier!, "{entityIdentifier}", false); + b.p("entityType", () => input.entityType!, "{entityType}", false); + let body: any; + body = JSON.stringify( + take(input, { + clientToken: [true, (_) => _ ?? generateIdempotencyToken()], + forms: (_) => se_TimeSeriesDataPointFormInputList(_, context), + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}; + /** * serializeAws_restJson1PutEnvironmentBlueprintConfigurationCommand */ @@ -2827,6 +2943,7 @@ export const de_CreateAssetCommand = async ( formsOutput: _json, glossaryTerms: _json, id: __expectString, + latestTimeSeriesDataPointFormsOutput: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context), listing: _json, name: __expectString, owningProjectId: __expectString, @@ -2865,6 +2982,7 @@ export const de_CreateAssetRevisionCommand = async ( formsOutput: _json, glossaryTerms: _json, id: __expectString, + latestTimeSeriesDataPointFormsOutput: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context), listing: _json, name: __expectString, owningProjectId: __expectString, @@ -3663,6 +3781,23 @@ export const de_DeleteSubscriptionTargetCommand = async ( return contents; }; +/** + * deserializeAws_restJson1DeleteTimeSeriesDataPointsCommand + */ +export const de_DeleteTimeSeriesDataPointsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + await collectBody(output.body, context); + return contents; +}; + /** * deserializeAws_restJson1GetAssetCommand */ @@ -3688,6 +3823,7 @@ export const de_GetAssetCommand = async ( formsOutput: _json, glossaryTerms: _json, id: __expectString, + latestTimeSeriesDataPointFormsOutput: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context), listing: _json, name: __expectString, owningProjectId: __expectString, @@ -4327,6 +4463,31 @@ export const de_GetSubscriptionTargetCommand = async ( return contents; }; +/** + * deserializeAws_restJson1GetTimeSeriesDataPointCommand + */ +export const de_GetTimeSeriesDataPointCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + domainId: __expectString, + entityId: __expectString, + entityType: __expectString, + form: (_) => de_TimeSeriesDataPointFormOutput(_, context), + formName: __expectString, + }); + Object.assign(contents, doc); + return contents; +}; + /** * deserializeAws_restJson1GetUserProfileCommand */ @@ -4747,6 +4908,52 @@ export const de_ListTagsForResourceCommand = async ( return contents; }; +/** + * deserializeAws_restJson1ListTimeSeriesDataPointsCommand + */ +export const de_ListTimeSeriesDataPointsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + items: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context), + nextToken: __expectString, + }); + Object.assign(contents, doc); + return contents; +}; + +/** + * deserializeAws_restJson1PostTimeSeriesDataPointsCommand + */ +export const de_PostTimeSeriesDataPointsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + domainId: __expectString, + entityId: __expectString, + entityType: __expectString, + forms: (_) => de_TimeSeriesDataPointFormOutputList(_, context), + }); + Object.assign(contents, doc); + return contents; +}; + /** * deserializeAws_restJson1PutEnvironmentBlueprintConfigurationCommand */ @@ -5787,6 +5994,30 @@ const se_RejectRule = (input: RejectRule, context: __SerdeContext): any => { // se_TermRelations omitted. +/** + * serializeAws_restJson1TimeSeriesDataPointFormInput + */ +const se_TimeSeriesDataPointFormInput = (input: TimeSeriesDataPointFormInput, context: __SerdeContext): any => { + return take(input, { + content: [], + formName: [], + timestamp: (_) => Math.round(_.getTime() / 1000), + typeIdentifier: [], + typeRevision: [], + }); +}; + +/** + * serializeAws_restJson1TimeSeriesDataPointFormInputList + */ +const se_TimeSeriesDataPointFormInputList = (input: TimeSeriesDataPointFormInput[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + return se_TimeSeriesDataPointFormInput(entry, context); + }); +}; + // de_ApplicableAssetTypes omitted. /** @@ -5794,7 +6025,7 @@ const se_RejectRule = (input: RejectRule, context: __SerdeContext): any => { */ const de_AssetItem = (output: any, context: __SerdeContext): AssetItem => { return take(output, { - additionalAttributes: _json, + additionalAttributes: (_: any) => de_AssetItemAdditionalAttributes(_, context), createdAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), createdBy: __expectString, description: __expectString, @@ -5811,7 +6042,16 @@ const de_AssetItem = (output: any, context: __SerdeContext): AssetItem => { }) as any; }; -// de_AssetItemAdditionalAttributes omitted. +/** + * deserializeAws_restJson1AssetItemAdditionalAttributes + */ +const de_AssetItemAdditionalAttributes = (output: any, context: __SerdeContext): AssetItemAdditionalAttributes => { + return take(output, { + formsOutput: _json, + latestTimeSeriesDataPointFormsOutput: (_: any) => de_TimeSeriesDataPointSummaryFormOutputList(_, context), + readOnlyFormsOutput: _json, + }) as any; +}; /** * deserializeAws_restJson1AssetListing @@ -5824,6 +6064,7 @@ const de_AssetListing = (output: any, context: __SerdeContext): AssetListing => createdAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), forms: __expectString, glossaryTerms: _json, + latestTimeSeriesDataPointForms: (_: any) => de_TimeSeriesDataPointSummaryFormOutputList(_, context), owningProjectId: __expectString, }) as any; }; @@ -5835,7 +6076,7 @@ const de_AssetListing = (output: any, context: __SerdeContext): AssetListing => */ const de_AssetListingItem = (output: any, context: __SerdeContext): AssetListingItem => { return take(output, { - additionalAttributes: _json, + additionalAttributes: (_: any) => de_AssetListingItemAdditionalAttributes(_, context), createdAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), description: __expectString, entityId: __expectString, @@ -5851,7 +6092,18 @@ const de_AssetListingItem = (output: any, context: __SerdeContext): AssetListing }) as any; }; -// de_AssetListingItemAdditionalAttributes omitted. +/** + * deserializeAws_restJson1AssetListingItemAdditionalAttributes + */ +const de_AssetListingItemAdditionalAttributes = ( + output: any, + context: __SerdeContext +): AssetListingItemAdditionalAttributes => { + return take(output, { + forms: __expectString, + latestTimeSeriesDataPointForms: (_: any) => de_TimeSeriesDataPointSummaryFormOutputList(_, context), + }) as any; +}; /** * deserializeAws_restJson1AssetRevision @@ -6722,6 +6974,67 @@ const de_SubscriptionTargetSummary = (output: any, context: __SerdeContext): Sub // de_TermRelations omitted. +/** + * deserializeAws_restJson1TimeSeriesDataPointFormOutput + */ +const de_TimeSeriesDataPointFormOutput = (output: any, context: __SerdeContext): TimeSeriesDataPointFormOutput => { + return take(output, { + content: __expectString, + formName: __expectString, + id: __expectString, + timestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + typeIdentifier: __expectString, + typeRevision: __expectString, + }) as any; +}; + +/** + * deserializeAws_restJson1TimeSeriesDataPointFormOutputList + */ +const de_TimeSeriesDataPointFormOutputList = ( + output: any, + context: __SerdeContext +): TimeSeriesDataPointFormOutput[] => { + const retVal = (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + return de_TimeSeriesDataPointFormOutput(entry, context); + }); + return retVal; +}; + +/** + * deserializeAws_restJson1TimeSeriesDataPointSummaryFormOutput + */ +const de_TimeSeriesDataPointSummaryFormOutput = ( + output: any, + context: __SerdeContext +): TimeSeriesDataPointSummaryFormOutput => { + return take(output, { + contentSummary: __expectString, + formName: __expectString, + id: __expectString, + timestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + typeIdentifier: __expectString, + typeRevision: __expectString, + }) as any; +}; + +/** + * deserializeAws_restJson1TimeSeriesDataPointSummaryFormOutputList + */ +const de_TimeSeriesDataPointSummaryFormOutputList = ( + output: any, + context: __SerdeContext +): TimeSeriesDataPointSummaryFormOutput[] => { + const retVal = (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + return de_TimeSeriesDataPointSummaryFormOutput(entry, context); + }); + return retVal; +}; + // de_Topic omitted. // de_UserDetails omitted. @@ -6757,10 +7070,12 @@ const _aPI = "approverProjectId"; const _aT = "afterTimestamp"; const _bT = "beforeTimestamp"; const _cT = "clientToken"; +const _eA = "endedAt"; const _eBI = "environmentBlueprintIdentifier"; const _eI = "environmentIdentifier"; const _eIn = "environmentId"; const _ePI = "environmentProfileIdentifier"; +const _fN = "formName"; const _gI = "groupIdentifier"; const _lR = "listingRevision"; const _m = "managed"; @@ -6772,6 +7087,7 @@ const _p = "provider"; const _pI = "projectIdentifier"; const _r = "revision"; const _s = "status"; +const _sA = "startedAt"; const _sB = "sortBy"; const _sDC = "skipDeletionCheck"; const _sI = "subscriptionId"; diff --git a/codegen/sdk-codegen/aws-models/datazone.json b/codegen/sdk-codegen/aws-models/datazone.json index 47835064495ba..604c0d751b060 100644 --- a/codegen/sdk-codegen/aws-models/datazone.json +++ b/codegen/sdk-codegen/aws-models/datazone.json @@ -432,6 +432,9 @@ "readOnlyFormsOutput": { "target": "com.amazonaws.datazone#FormOutputList" }, + "latestTimeSeriesDataPointFormsOutput": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutputList" + }, "owningProjectIdentifier": { "target": "com.amazonaws.datazone#ProjectId" }, @@ -595,6 +598,12 @@ "traits": { "smithy.api#documentation": "

The read-only forms included in the additional attributes of an inventory asset.

" } + }, + "latestTimeSeriesDataPointFormsOutput": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutputList", + "traits": { + "smithy.api#documentation": "

The latest time series data points forms included in the additional attributes of an\n asset.

" + } } }, "traits": { @@ -634,6 +643,12 @@ "smithy.api#documentation": "

The metadata forms attached to an asset published in an Amazon DataZone catalog.

" } }, + "latestTimeSeriesDataPointForms": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutputList", + "traits": { + "smithy.api#documentation": "

The latest time series data points forms included in the additional attributes of an\n asset.

" + } + }, "glossaryTerms": { "target": "com.amazonaws.datazone#DetailedGlossaryTerms", "traits": { @@ -767,6 +782,12 @@ "traits": { "smithy.api#documentation": "

The metadata forms that form additional attributes of the metadata asset.

" } + }, + "latestTimeSeriesDataPointForms": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutputList", + "traits": { + "smithy.api#documentation": "

The latest time series data points forms included in the additional attributes of an\n asset.

" + } } }, "traits": { @@ -1659,6 +1680,12 @@ "smithy.api#documentation": "

The read-only metadata forms that are attached to the created asset.

" } }, + "latestTimeSeriesDataPointFormsOutput": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutputList", + "traits": { + "smithy.api#documentation": "

The latest data point that was imported into the time series form for the asset.

" + } + }, "predictionConfiguration": { "target": "com.amazonaws.datazone#PredictionConfiguration", "traits": { @@ -1891,6 +1918,12 @@ "smithy.api#documentation": "

The read-only metadata forms that were attached to the asset as part of the asset\n revision.

" } }, + "latestTimeSeriesDataPointFormsOutput": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutputList", + "traits": { + "smithy.api#documentation": "

The latest data point that was imported into the time series form for the asset.

" + } + }, "predictionConfiguration": { "target": "com.amazonaws.datazone#PredictionConfiguration", "traits": { @@ -3509,7 +3542,7 @@ } }, "entityIdentifier": { - "target": "com.amazonaws.datazone#EntityId", + "target": "com.amazonaws.datazone#EntityIdentifier", "traits": { "smithy.api#documentation": "

The ID of the asset.

", "smithy.api#required": {} @@ -4601,6 +4634,12 @@ } } }, + "com.amazonaws.datazone#DataPointIdentifier": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-zA-Z0-9_-]{0,36}$" + } + }, "com.amazonaws.datazone#DataProductDescription": { "type": "string", "traits": { @@ -5453,6 +5492,9 @@ { "target": "com.amazonaws.datazone#DeleteSubscriptionTarget" }, + { + "target": "com.amazonaws.datazone#DeleteTimeSeriesDataPoints" + }, { "target": "com.amazonaws.datazone#GetEnvironment" }, @@ -5483,6 +5525,9 @@ { "target": "com.amazonaws.datazone#GetSubscriptionTarget" }, + { + "target": "com.amazonaws.datazone#GetTimeSeriesDataPoint" + }, { "target": "com.amazonaws.datazone#GetUserProfile" }, @@ -5525,6 +5570,12 @@ { "target": "com.amazonaws.datazone#ListTagsForResource" }, + { + "target": "com.amazonaws.datazone#ListTimeSeriesDataPoints" + }, + { + "target": "com.amazonaws.datazone#PostTimeSeriesDataPoints" + }, { "target": "com.amazonaws.datazone#RejectPredictions" }, @@ -7353,6 +7404,96 @@ "smithy.api#input": {} } }, + "com.amazonaws.datazone#DeleteTimeSeriesDataPoints": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#DeleteTimeSeriesDataPointsInput" + }, + "output": { + "target": "com.amazonaws.datazone#DeleteTimeSeriesDataPointsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.datazone#AccessDeniedException" + }, + { + "target": "com.amazonaws.datazone#InternalServerException" + }, + { + "target": "com.amazonaws.datazone#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.datazone#ThrottlingException" + }, + { + "target": "com.amazonaws.datazone#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes the specified time series form for the specified asset.

", + "smithy.api#http": { + "code": 204, + "method": "DELETE", + "uri": "/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.datazone#DeleteTimeSeriesDataPointsInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon DataZone domain that houses the asset for which you want to delete\n a time series form.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "entityIdentifier": { + "target": "com.amazonaws.datazone#EntityIdentifier", + "traits": { + "smithy.api#documentation": "

The ID of the asset for which you want to delete a time series form.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "entityType": { + "target": "com.amazonaws.datazone#TimeSeriesEntityType", + "traits": { + "smithy.api#documentation": "

The type of the asset for which you want to delete a time series form.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "formName": { + "target": "com.amazonaws.datazone#TimeSeriesFormName", + "traits": { + "smithy.api#documentation": "

The name of the time series form that you want to delete.

", + "smithy.api#httpQuery": "formName", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.datazone#ClientToken", + "traits": { + "smithy.api#documentation": "

A unique, case-sensitive identifier to ensure idempotency of the request. This field is\n automatically populated if not provided.

", + "smithy.api#httpQuery": "clientToken", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#DeleteTimeSeriesDataPointsOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#Deployment": { "type": "structure", "members": { @@ -7754,7 +7895,16 @@ } }, "com.amazonaws.datazone#EntityId": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-zA-Z0-9_-]{1,36}$" + } + }, + "com.amazonaws.datazone#EntityIdentifier": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-zA-Z0-9_-]{1,36}$" + } }, "com.amazonaws.datazone#EntityType": { "type": "enum", @@ -9016,6 +9166,12 @@ "traits": { "smithy.api#documentation": "

The read-only metadata forms attached to the asset.

" } + }, + "latestTimeSeriesDataPointFormsOutput": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutputList", + "traits": { + "smithy.api#documentation": "

The latest data point that was imported into the time series form for the asset.

" + } } }, "traits": { @@ -11872,6 +12028,127 @@ "smithy.api#output": {} } }, + "com.amazonaws.datazone#GetTimeSeriesDataPoint": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#GetTimeSeriesDataPointInput" + }, + "output": { + "target": "com.amazonaws.datazone#GetTimeSeriesDataPointOutput" + }, + "errors": [ + { + "target": "com.amazonaws.datazone#AccessDeniedException" + }, + { + "target": "com.amazonaws.datazone#InternalServerException" + }, + { + "target": "com.amazonaws.datazone#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.datazone#ThrottlingException" + }, + { + "target": "com.amazonaws.datazone#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets the existing data point for the asset.

", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points/{identifier}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.datazone#GetTimeSeriesDataPointInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon DataZone domain that houses the asset for which you want to get the\n data point.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "entityIdentifier": { + "target": "com.amazonaws.datazone#EntityIdentifier", + "traits": { + "smithy.api#documentation": "

The ID of the asset for which you want to get the data point.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "entityType": { + "target": "com.amazonaws.datazone#TimeSeriesEntityType", + "traits": { + "smithy.api#documentation": "

The type of the asset for which you want to get the data point.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "identifier": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointIdentifier", + "traits": { + "smithy.api#documentation": "

The ID of the data point that you want to get.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "formName": { + "target": "com.amazonaws.datazone#TimeSeriesFormName", + "traits": { + "smithy.api#documentation": "

The name of the time series form that houses the data point that you want to get.

", + "smithy.api#httpQuery": "formName", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#GetTimeSeriesDataPointOutput": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon DataZone domain that houses the asset data point that you want to\n get.

" + } + }, + "entityId": { + "target": "com.amazonaws.datazone#EntityId", + "traits": { + "smithy.api#documentation": "

The ID of the asset for which you want to get the data point.

" + } + }, + "entityType": { + "target": "com.amazonaws.datazone#TimeSeriesEntityType", + "traits": { + "smithy.api#documentation": "

The type of the asset for which you want to get the data point.

" + } + }, + "formName": { + "target": "com.amazonaws.datazone#TimeSeriesFormName", + "traits": { + "smithy.api#documentation": "

The name of the time series form that houses the data point that you want to get.

" + } + }, + "form": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointFormOutput", + "traits": { + "smithy.api#documentation": "

The time series form that houses the data point that you want to get.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#GetUserProfile": { "type": "operation", "input": { @@ -12354,6 +12631,12 @@ "smithy.api#documentation": "

The relational filter configurations included in the configuration details of the Amazon Web Services\n Glue data source.

", "smithy.api#required": {} } + }, + "autoImportDataQualityResult": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Specifies whether to automatically import data quality metrics as part of the data\n source run.

" + } } }, "traits": { @@ -12398,6 +12681,12 @@ "smithy.api#documentation": "

The relational filter configurations included in the configuration details of the Amazon Web Services\n Glue data source.

", "smithy.api#required": {} } + }, + "autoImportDataQualityResult": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Specifies whether to automatically import data quality metrics as part of the data\n source run.

" + } } }, "traits": { @@ -14705,34 +14994,163 @@ "smithy.api#output": {} } }, - "com.amazonaws.datazone#Listing": { - "type": "resource", - "identifiers": { - "identifier": { - "target": "com.amazonaws.datazone#ListingId" - } + "com.amazonaws.datazone#ListTimeSeriesDataPoints": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#ListTimeSeriesDataPointsInput" }, - "properties": { - "domainIdentifier": { - "target": "com.amazonaws.datazone#DomainId" - }, - "id": { - "target": "com.amazonaws.datazone#ListingId" - }, - "domainId": { - "target": "com.amazonaws.datazone#DomainId" + "output": { + "target": "com.amazonaws.datazone#ListTimeSeriesDataPointsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.datazone#AccessDeniedException" }, - "listingRevision": { - "target": "com.amazonaws.datazone#Revision" + { + "target": "com.amazonaws.datazone#InternalServerException" }, - "name": { - "target": "com.amazonaws.datazone#ListingName" + { + "target": "com.amazonaws.datazone#ResourceNotFoundException" }, - "description": { - "target": "com.amazonaws.datazone#Description" + { + "target": "com.amazonaws.datazone#ThrottlingException" }, - "createdAt": { - "target": "com.amazonaws.datazone#CreatedAt" + { + "target": "com.amazonaws.datazone#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists time series data points.

", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "items" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.datazone#ListTimeSeriesDataPointsInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon DataZone domain that houses the assets for which you want to list\n time series data points.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "entityIdentifier": { + "target": "com.amazonaws.datazone#EntityIdentifier", + "traits": { + "smithy.api#documentation": "

The ID of the asset for which you want to list data points.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "entityType": { + "target": "com.amazonaws.datazone#TimeSeriesEntityType", + "traits": { + "smithy.api#documentation": "

The type of the asset for which you want to list data points.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "formName": { + "target": "com.amazonaws.datazone#TimeSeriesFormName", + "traits": { + "smithy.api#documentation": "

The name of the time series data points form.

", + "smithy.api#httpQuery": "formName", + "smithy.api#required": {} + } + }, + "startedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp at which the data points that you want to list started.

", + "smithy.api#httpQuery": "startedAt" + } + }, + "endedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp at which the data points that you wanted to list ended.

", + "smithy.api#httpQuery": "endedAt" + } + }, + "nextToken": { + "target": "com.amazonaws.datazone#PaginationToken", + "traits": { + "smithy.api#documentation": "

When the number of data points is greater than the default value for the MaxResults\n parameter, or if you explicitly specify a value for MaxResults that is less than the number\n of data points, the response includes a pagination token named NextToken. You can specify\n this NextToken value in a subsequent call to ListTimeSeriesDataPoints to list the next set\n of data points.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.datazone#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of data points to return in a single call to\n ListTimeSeriesDataPoints. When the number of data points to be listed is greater than the\n value of MaxResults, the response contains a NextToken value that you can use in a\n subsequent call to ListTimeSeriesDataPoints to list the next set of data points.

", + "smithy.api#httpQuery": "maxResults" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#ListTimeSeriesDataPointsOutput": { + "type": "structure", + "members": { + "items": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutputList", + "traits": { + "smithy.api#documentation": "

The results of the ListTimeSeriesDataPoints action.

" + } + }, + "nextToken": { + "target": "com.amazonaws.datazone#PaginationToken", + "traits": { + "smithy.api#documentation": "

When the number of data points is greater than the default value for the MaxResults\n parameter, or if you explicitly specify a value for MaxResults that is less than the number\n of data points, the response includes a pagination token named NextToken. You can specify\n this NextToken value in a subsequent call to ListTimeSeriesDataPoints to list the next set\n of data points.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.datazone#Listing": { + "type": "resource", + "identifiers": { + "identifier": { + "target": "com.amazonaws.datazone#ListingId" + } + }, + "properties": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId" + }, + "id": { + "target": "com.amazonaws.datazone#ListingId" + }, + "domainId": { + "target": "com.amazonaws.datazone#DomainId" + }, + "listingRevision": { + "target": "com.amazonaws.datazone#Revision" + }, + "name": { + "target": "com.amazonaws.datazone#ListingName" + }, + "description": { + "target": "com.amazonaws.datazone#Description" + }, + "createdAt": { + "target": "com.amazonaws.datazone#CreatedAt" }, "updatedAt": { "target": "com.amazonaws.datazone#UpdatedAt" @@ -15366,6 +15784,125 @@ } } }, + "com.amazonaws.datazone#PostTimeSeriesDataPoints": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#PostTimeSeriesDataPointsInput" + }, + "output": { + "target": "com.amazonaws.datazone#PostTimeSeriesDataPointsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.datazone#AccessDeniedException" + }, + { + "target": "com.amazonaws.datazone#ConflictException" + }, + { + "target": "com.amazonaws.datazone#InternalServerException" + }, + { + "target": "com.amazonaws.datazone#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.datazone#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.datazone#ThrottlingException" + }, + { + "target": "com.amazonaws.datazone#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Posts time series data points to Amazon DataZone for the specified asset.

", + "smithy.api#http": { + "code": 201, + "method": "POST", + "uri": "/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.datazone#PostTimeSeriesDataPointsInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon DataZone domain in which you want to post time series data\n points.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "entityIdentifier": { + "target": "com.amazonaws.datazone#EntityIdentifier", + "traits": { + "smithy.api#documentation": "

The ID of the asset for which you want to post time series data points.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "entityType": { + "target": "com.amazonaws.datazone#TimeSeriesEntityType", + "traits": { + "smithy.api#documentation": "

The type of the asset for which you want to post data points.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "forms": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointFormInputList", + "traits": { + "smithy.api#documentation": "

The forms that contain the data points that you want to post.

", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.datazone#ClientToken", + "traits": { + "smithy.api#documentation": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the\n request.

", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#PostTimeSeriesDataPointsOutput": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon DataZone domain in which you want to post time series data\n points.

" + } + }, + "entityId": { + "target": "com.amazonaws.datazone#EntityId", + "traits": { + "smithy.api#documentation": "

The ID of the asset for which you want to post time series data points.

" + } + }, + "entityType": { + "target": "com.amazonaws.datazone#TimeSeriesEntityType", + "traits": { + "smithy.api#documentation": "

The type of the asset for which you want to post data points.

" + } + }, + "forms": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointFormOutputList", + "traits": { + "smithy.api#documentation": "

The forms that contain the data points that you have posted.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#PredictionChoices": { "type": "list", "member": { @@ -17023,6 +17560,12 @@ "traits": { "smithy.api#enumValue": "FORMS" } + }, + "TIME_SERIES_DATA_POINT_FORMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIME_SERIES_DATA_POINT_FORMS" + } } } }, @@ -18809,6 +19352,200 @@ "smithy.api#retryable": {} } }, + "com.amazonaws.datazone#TimeSeriesDataPointFormInput": { + "type": "structure", + "members": { + "formName": { + "target": "com.amazonaws.datazone#TimeSeriesFormName", + "traits": { + "smithy.api#documentation": "

The name of the time series data points form.

", + "smithy.api#required": {} + } + }, + "typeIdentifier": { + "target": "com.amazonaws.datazone#FormTypeIdentifier", + "traits": { + "smithy.api#documentation": "

The ID of the type of the time series data points form.

", + "smithy.api#required": {} + } + }, + "typeRevision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "

The revision type of the time series data points form.

" + } + }, + "timestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp of the time series data points form.

", + "smithy.api#required": {} + } + }, + "content": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The content of the time series data points form.

", + "smithy.api#length": { + "max": 500000 + } + } + } + }, + "traits": { + "smithy.api#documentation": "

The time series data points form.

" + } + }, + "com.amazonaws.datazone#TimeSeriesDataPointFormInputList": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointFormInput" + } + }, + "com.amazonaws.datazone#TimeSeriesDataPointFormOutput": { + "type": "structure", + "members": { + "formName": { + "target": "com.amazonaws.datazone#TimeSeriesFormName", + "traits": { + "smithy.api#documentation": "

The name of the time series data points form.

", + "smithy.api#required": {} + } + }, + "typeIdentifier": { + "target": "com.amazonaws.datazone#FormTypeIdentifier", + "traits": { + "smithy.api#documentation": "

The ID of the type of the time series data points form.

", + "smithy.api#required": {} + } + }, + "typeRevision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "

The revision type of the time series data points form.

" + } + }, + "timestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp of the time series data points form.

", + "smithy.api#required": {} + } + }, + "content": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The content of the time series data points form.

", + "smithy.api#length": { + "max": 500000 + } + } + }, + "id": { + "target": "com.amazonaws.datazone#DataPointIdentifier", + "traits": { + "smithy.api#documentation": "

The ID of the time series data points form.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The time series data points form.

" + } + }, + "com.amazonaws.datazone#TimeSeriesDataPointFormOutputList": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointFormOutput" + } + }, + "com.amazonaws.datazone#TimeSeriesDataPointIdentifier": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-zA-Z0-9_-]{1,36}$" + } + }, + "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutput": { + "type": "structure", + "members": { + "formName": { + "target": "com.amazonaws.datazone#TimeSeriesFormName", + "traits": { + "smithy.api#documentation": "

The name of the time series data points summary form.

", + "smithy.api#required": {} + } + }, + "typeIdentifier": { + "target": "com.amazonaws.datazone#FormTypeIdentifier", + "traits": { + "smithy.api#documentation": "

The type ID of the time series data points summary form.

", + "smithy.api#required": {} + } + }, + "typeRevision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "

The type revision of the time series data points summary form.

" + } + }, + "timestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp of the time series data points summary form.

", + "smithy.api#required": {} + } + }, + "contentSummary": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The content of the summary of the time series data points form.

", + "smithy.api#length": { + "max": 20000 + } + } + }, + "id": { + "target": "com.amazonaws.datazone#DataPointIdentifier", + "traits": { + "smithy.api#documentation": "

The ID of the time series data points summary form.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the time series data points form.

" + } + }, + "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutputList": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#TimeSeriesDataPointSummaryFormOutput" + } + }, + "com.amazonaws.datazone#TimeSeriesEntityType": { + "type": "enum", + "members": { + "ASSET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSET" + } + }, + "LISTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LISTING" + } + } + } + }, + "com.amazonaws.datazone#TimeSeriesFormName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, "com.amazonaws.datazone#Timezone": { "type": "enum", "members": {