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 aa597fadcaa6..bd33562fd330 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 f616ac82d370..a7f6cbf8dd98 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 793f08626021..10282e3091c1 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 f7b4872bf9e9..824ea05f10f8 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 000000000000..84983eeb073b --- /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 7792eb747c80..6971d2f3f921 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 87fc2c8c185e..823850ba596d 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 000000000000..e4dc3a6e7842 --- /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 000000000000..6acd49fa69c0 --- /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 b06e5549b512..550ec9c30382 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 85e721d2be89..5816b90f18c4 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 f67eccf55583..1bbfe1592164 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 a360d137a5da..795bd2395c5f 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 bfcd8c1f074c..c69af71eb9ef 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.
- *
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.
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.
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.
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?: RecordThe 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 455430a6a696..ddc95b620ec0 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.
+ *
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.
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.
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.
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?: RecordThe 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 000000000000..88564ac6b1ca --- /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[] +) => PaginatorThe 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": {