Gets the data lineage node.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { DataZoneClient, GetLineageNodeCommand } from "@aws-sdk/client-datazone"; // ES Modules import + * // const { DataZoneClient, GetLineageNodeCommand } = require("@aws-sdk/client-datazone"); // CommonJS import + * const client = new DataZoneClient(config); + * const input = { // GetLineageNodeInput + * domainIdentifier: "STRING_VALUE", // required + * identifier: "STRING_VALUE", // required + * eventTimestamp: new Date("TIMESTAMP"), + * }; + * const command = new GetLineageNodeCommand(input); + * const response = await client.send(command); + * // { // GetLineageNodeOutput + * // domainId: "STRING_VALUE", // required + * // name: "STRING_VALUE", + * // description: "STRING_VALUE", + * // createdAt: new Date("TIMESTAMP"), + * // createdBy: "STRING_VALUE", + * // updatedAt: new Date("TIMESTAMP"), + * // updatedBy: "STRING_VALUE", + * // id: "STRING_VALUE", // required + * // typeName: "STRING_VALUE", // required + * // typeRevision: "STRING_VALUE", + * // sourceIdentifier: "STRING_VALUE", + * // eventTimestamp: new Date("TIMESTAMP"), + * // formsOutput: [ // FormOutputList + * // { // FormOutput + * // formName: "STRING_VALUE", // required + * // typeName: "STRING_VALUE", + * // typeRevision: "STRING_VALUE", + * // content: "STRING_VALUE", + * // }, + * // ], + * // upstreamNodes: [ // LineageNodeReferenceList + * // { // LineageNodeReference + * // id: "STRING_VALUE", + * // eventTimestamp: new Date("TIMESTAMP"), + * // }, + * // ], + * // downstreamNodes: [ + * // { + * // id: "STRING_VALUE", + * // eventTimestamp: new Date("TIMESTAMP"), + * // }, + * // ], + * // }; + * + * ``` + * + * @param GetLineageNodeCommandInput - {@link GetLineageNodeCommandInput} + * @returns {@link GetLineageNodeCommandOutput} + * @see {@link GetLineageNodeCommandInput} for command's `input` shape. + * @see {@link GetLineageNodeCommandOutput} 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 GetLineageNodeCommand extends $Command + .classBuilder< + GetLineageNodeCommandInput, + GetLineageNodeCommandOutput, + 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", "GetLineageNode", {}) + .n("DataZoneClient", "GetLineageNodeCommand") + .f(void 0, GetLineageNodeOutputFilterSensitiveLog) + .ser(se_GetLineageNodeCommand) + .de(de_GetLineageNodeCommand) + .build() {} diff --git a/clients/client-datazone/src/commands/ListLineageNodeHistoryCommand.ts b/clients/client-datazone/src/commands/ListLineageNodeHistoryCommand.ts new file mode 100644 index 000000000000..4e6e161372ad --- /dev/null +++ b/clients/client-datazone/src/commands/ListLineageNodeHistoryCommand.ts @@ -0,0 +1,123 @@ +// 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 { ListLineageNodeHistoryInput, ListLineageNodeHistoryOutput } from "../models/models_0"; +import { de_ListLineageNodeHistoryCommand, se_ListLineageNodeHistoryCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListLineageNodeHistoryCommand}. + */ +export interface ListLineageNodeHistoryCommandInput extends ListLineageNodeHistoryInput {} +/** + * @public + * + * The output of {@link ListLineageNodeHistoryCommand}. + */ +export interface ListLineageNodeHistoryCommandOutput extends ListLineageNodeHistoryOutput, __MetadataBearer {} + +/** + *Lists the history of the specified data lineage node.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { DataZoneClient, ListLineageNodeHistoryCommand } from "@aws-sdk/client-datazone"; // ES Modules import + * // const { DataZoneClient, ListLineageNodeHistoryCommand } = require("@aws-sdk/client-datazone"); // CommonJS import + * const client = new DataZoneClient(config); + * const input = { // ListLineageNodeHistoryInput + * domainIdentifier: "STRING_VALUE", // required + * maxResults: Number("int"), + * nextToken: "STRING_VALUE", + * identifier: "STRING_VALUE", // required + * direction: "UPSTREAM" || "DOWNSTREAM", + * eventTimestampGTE: new Date("TIMESTAMP"), + * eventTimestampLTE: new Date("TIMESTAMP"), + * sortOrder: "ASCENDING" || "DESCENDING", + * }; + * const command = new ListLineageNodeHistoryCommand(input); + * const response = await client.send(command); + * // { // ListLineageNodeHistoryOutput + * // nodes: [ // LineageNodeSummaries + * // { // LineageNodeSummary + * // domainId: "STRING_VALUE", // required + * // name: "STRING_VALUE", + * // description: "STRING_VALUE", + * // createdAt: new Date("TIMESTAMP"), + * // createdBy: "STRING_VALUE", + * // updatedAt: new Date("TIMESTAMP"), + * // updatedBy: "STRING_VALUE", + * // id: "STRING_VALUE", // required + * // typeName: "STRING_VALUE", // required + * // typeRevision: "STRING_VALUE", + * // sourceIdentifier: "STRING_VALUE", + * // eventTimestamp: new Date("TIMESTAMP"), + * // }, + * // ], + * // nextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListLineageNodeHistoryCommandInput - {@link ListLineageNodeHistoryCommandInput} + * @returns {@link ListLineageNodeHistoryCommandOutput} + * @see {@link ListLineageNodeHistoryCommandInput} for command's `input` shape. + * @see {@link ListLineageNodeHistoryCommandOutput} 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 ListLineageNodeHistoryCommand extends $Command + .classBuilder< + ListLineageNodeHistoryCommandInput, + ListLineageNodeHistoryCommandOutput, + 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", "ListLineageNodeHistory", {}) + .n("DataZoneClient", "ListLineageNodeHistoryCommand") + .f(void 0, void 0) + .ser(se_ListLineageNodeHistoryCommand) + .de(de_ListLineageNodeHistoryCommand) + .build() {} diff --git a/clients/client-datazone/src/commands/ListNotificationsCommand.ts b/clients/client-datazone/src/commands/ListNotificationsCommand.ts index 0cb683104d43..469cbd7cfd95 100644 --- a/clients/client-datazone/src/commands/ListNotificationsCommand.ts +++ b/clients/client-datazone/src/commands/ListNotificationsCommand.ts @@ -6,11 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListNotificationsInput, - ListNotificationsOutput, - ListNotificationsOutputFilterSensitiveLog, -} from "../models/models_0"; +import { ListNotificationsInput } from "../models/models_0"; +import { ListNotificationsOutput, ListNotificationsOutputFilterSensitiveLog } from "../models/models_1"; import { de_ListNotificationsCommand, se_ListNotificationsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-datazone/src/commands/PostLineageEventCommand.ts b/clients/client-datazone/src/commands/PostLineageEventCommand.ts new file mode 100644 index 000000000000..624803a94bc5 --- /dev/null +++ b/clients/client-datazone/src/commands/PostLineageEventCommand.ts @@ -0,0 +1,117 @@ +// 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 { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { + PostLineageEventInput, + PostLineageEventInputFilterSensitiveLog, + PostLineageEventOutput, +} from "../models/models_1"; +import { de_PostLineageEventCommand, se_PostLineageEventCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + */ +export type PostLineageEventCommandInputType = OmitPosts a data lineage event.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { DataZoneClient, PostLineageEventCommand } from "@aws-sdk/client-datazone"; // ES Modules import + * // const { DataZoneClient, PostLineageEventCommand } = require("@aws-sdk/client-datazone"); // CommonJS import + * const client = new DataZoneClient(config); + * const input = { // PostLineageEventInput + * domainIdentifier: "STRING_VALUE", // required + * event: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required + * clientToken: "STRING_VALUE", + * }; + * const command = new PostLineageEventCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PostLineageEventCommandInput - {@link PostLineageEventCommandInput} + * @returns {@link PostLineageEventCommandOutput} + * @see {@link PostLineageEventCommandInput} for command's `input` shape. + * @see {@link PostLineageEventCommandOutput} 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 PostLineageEventCommand extends $Command + .classBuilder< + PostLineageEventCommandInput, + PostLineageEventCommandOutput, + 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", "PostLineageEvent", {}) + .n("DataZoneClient", "PostLineageEventCommand") + .f(PostLineageEventInputFilterSensitiveLog, void 0) + .ser(se_PostLineageEventCommand) + .de(de_PostLineageEventCommand) + .build() {} diff --git a/clients/client-datazone/src/commands/SearchTypesCommand.ts b/clients/client-datazone/src/commands/SearchTypesCommand.ts index a3c9703e4efe..808e65ac236e 100644 --- a/clients/client-datazone/src/commands/SearchTypesCommand.ts +++ b/clients/client-datazone/src/commands/SearchTypesCommand.ts @@ -39,7 +39,7 @@ export interface SearchTypesCommandOutput extends SearchTypesOutput, __MetadataB * domainIdentifier: "STRING_VALUE", // required * maxResults: Number("int"), * nextToken: "STRING_VALUE", - * searchScope: "ASSET_TYPE" || "FORM_TYPE", // required + * searchScope: "ASSET_TYPE" || "FORM_TYPE" || "LINEAGE_NODE_TYPE", // required * searchText: "STRING_VALUE", * searchIn: [ // SearchInList * { // SearchInItem @@ -121,6 +121,23 @@ export interface SearchTypesCommandOutput extends SearchTypesOutput, __MetadataB * // }, * // ], * // }, + * // lineageNodeTypeItem: { // LineageNodeTypeItem + * // domainId: "STRING_VALUE", // required + * // name: "STRING_VALUE", + * // description: "STRING_VALUE", + * // createdAt: new Date("TIMESTAMP"), + * // createdBy: "STRING_VALUE", + * // updatedAt: new Date("TIMESTAMP"), + * // updatedBy: "STRING_VALUE", + * // revision: "STRING_VALUE", // required + * // formsOutput: { // required + * // "The ID of the domain in which you want to get the data lineage node.
+ * @public + */ + domainIdentifier: string | undefined; + + /** + *The ID of the data lineage node that you want to get.
+ *Both, a lineage node identifier generated by Amazon DataZone and a
+ * sourceIdentifier
of the lineage node are supported. If
+ * sourceIdentifier
is greater than 1800 characters, you can use lineage node
+ * identifier generated by Amazon DataZone to get the node details.
The event time stamp for which you want to get the data lineage node.
+ * @public + */ + eventTimestamp?: Date; +} + +/** + *The reference details for the data lineage node.
+ * @public + */ +export interface LineageNodeReference { + /** + *The ID of the data lineage node.
+ * @public + */ + id?: string; + + /** + *The event timestamp of the data lineage node.
+ * @public + */ + eventTimestamp?: Date; +} + +/** + * @public + */ +export interface GetLineageNodeOutput { + /** + *The ID of the domain where you're getting the data lineage node.
+ * @public + */ + domainId: string | undefined; + + /** + *The name of the data lineage node.
+ * @public + */ + name?: string; + + /** + *The description of the data lineage node.
+ * @public + */ + description?: string; + + /** + *The timestamp at which the data lineage node was created.
+ * @public + */ + createdAt?: Date; + + /** + *The user who created the data lineage node.
+ * @public + */ + createdBy?: string; + + /** + *The timestamp at which the data lineage node was updated.
+ * @public + */ + updatedAt?: Date; + + /** + *The user who updated the data lineage node.
+ * @public + */ + updatedBy?: string; + + /** + *The ID of the data lineage node.
+ * @public + */ + id: string | undefined; + + /** + *The name of the type of the specified data lineage node.
+ * @public + */ + typeName: string | undefined; + + /** + *The revision type of the specified data lineage node.
+ * @public + */ + typeRevision?: string; + + /** + *The source identifier of the data lineage node.
+ * @public + */ + sourceIdentifier?: string; + + /** + *The timestamp of the event described in the data lineage node.
+ * @public + */ + eventTimestamp?: Date; + + /** + *The metadata of the specified data lineage node.
+ * @public + */ + formsOutput?: FormOutput[]; + + /** + *The upstream nodes of the specified data lineage node.
+ * @public + */ + upstreamNodes?: LineageNodeReference[]; + + /** + *The downsteam nodes of the specified data lineage node.
+ * @public + */ + downstreamNodes?: LineageNodeReference[]; +} + /** * @public */ @@ -10509,251 +10649,272 @@ export interface GetListingOutput { * @public * @enum */ -export const TaskStatus = { - ACTIVE: "ACTIVE", - INACTIVE: "INACTIVE", +export const EdgeDirection = { + DOWNSTREAM: "DOWNSTREAM", + UPSTREAM: "UPSTREAM", } as const; /** * @public */ -export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus]; +export type EdgeDirection = (typeof EdgeDirection)[keyof typeof EdgeDirection]; /** * @public * @enum */ -export const NotificationType = { - EVENT: "EVENT", - TASK: "TASK", +export const SortOrder = { + ASCENDING: "ASCENDING", + DESCENDING: "DESCENDING", } as const; /** * @public */ -export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType]; +export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]; /** * @public */ -export interface ListNotificationsInput { +export interface ListLineageNodeHistoryInput { /** - *The identifier of the Amazon DataZone domain.
+ *The ID of the domain where you want to list the history of the specified data lineage + * node.
* @public */ domainIdentifier: string | undefined; /** - *The type of notifications.
+ *The maximum number of history items to return in a single call to + * ListLineageNodeHistory. When the number of memberships 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 ListLineageNodeHistory to list the next set of items.
* @public */ - type: NotificationType | undefined; + maxResults?: number; /** - *The time after which you want to list notifications.
+ *When the number of history items 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 items, the response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListLineageNodeHistory to list the next set of + * items.
* @public */ - afterTimestamp?: Date; + nextToken?: string; /** - *The time before which you want to list notifications.
+ *The ID of the data lineage node whose history you want to list.
* @public */ - beforeTimestamp?: Date; + identifier: string | undefined; /** - *The subjects of notifications.
+ *The direction of the data lineage node refers to the lineage node having neighbors in
+ * that direction. For example, if direction is UPSTREAM
, the
+ * ListLineageNodeHistory
API responds with historical versions with upstream
+ * neighbors only.
The task status of notifications.
+ *Specifies whether the action is to return data lineage node history from the time after + * the event timestamp.
* @public */ - taskStatus?: TaskStatus; + eventTimestampGTE?: Date; /** - *The maximum number of notifications to return in a single call to
- * ListNotifications
. When the number of notifications 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 ListNotifications
to list the
- * next set of notifications.
Specifies whether the action is to return data lineage node history from the time prior + * of the event timestamp.
* @public */ - maxResults?: number; + eventTimestampLTE?: Date; /** - *When the number of notifications 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 notifications, the response
- * includes a pagination token named NextToken
. You can specify this
- * NextToken
value in a subsequent call to ListNotifications
to
- * list the next set of notifications.
The order by which you want data lineage node history to be sorted.
* @public */ - nextToken?: string; + sortOrder?: SortOrder; } /** - * @public - * @enum - */ -export const NotificationResourceType = { - PROJECT: "PROJECT", -} as const; - -/** + *The summary of the data lineage node.
* @public */ -export type NotificationResourceType = (typeof NotificationResourceType)[keyof typeof NotificationResourceType]; +export interface LineageNodeSummary { + /** + *The ID of the domain of the data lineage node.
+ * @public + */ + domainId: string | undefined; -/** - *The details of the resource mentioned in a notification.
- * @public - */ -export interface NotificationResource { /** - *The type of the resource mentioned in a notification.
+ *The name of the data lineage node.
* @public */ - type: NotificationResourceType | undefined; + name?: string; /** - *The ID of the resource mentioned in a notification.
+ *The description of the data lineage node.
* @public */ - id: string | undefined; + description?: string; /** - *The name of the resource mentioned in a notification.
+ *The timestamp at which the data lineage node was created.
* @public */ - name?: string; -} + createdAt?: Date; -/** - * @public - * @enum - */ -export const NotificationRole = { - DOMAIN_OWNER: "DOMAIN_OWNER", - PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR", - PROJECT_OWNER: "PROJECT_OWNER", - PROJECT_SUBSCRIBER: "PROJECT_SUBSCRIBER", - PROJECT_VIEWER: "PROJECT_VIEWER", -} as const; + /** + *The user who created the data lineage node.
+ * @public + */ + createdBy?: string; -/** - * @public - */ -export type NotificationRole = (typeof NotificationRole)[keyof typeof NotificationRole]; + /** + *The timestamp at which the data lineage node was updated.
+ * @public + */ + updatedAt?: Date; -/** - *The topic of the notification.
- * @public - */ -export interface Topic { /** - *The subject of the resource mentioned in a notification.
+ *The user who updated the data lineage node.
* @public */ - subject: string | undefined; + updatedBy?: string; /** - *The details of the resource mentioned in a notification.
+ *The ID of the data lineage node.
* @public */ - resource: NotificationResource | undefined; + id: string | undefined; /** - *The role of the resource mentioned in a notification.
+ *The name of the type of the data lineage node.
* @public */ - role: NotificationRole | undefined; -} + typeName: string | undefined; -/** - *The details of a notification generated in Amazon DataZone.
- * @public - */ -export interface NotificationOutput { /** - *The identifier of the notification.
+ *The type of the revision of the data lineage node.
* @public */ - identifier: string | undefined; + typeRevision?: string; /** - *The identifier of a Amazon DataZone domain in which the notification exists.
+ *The alternate ID of the data lineage node.
* @public */ - domainIdentifier: string | undefined; + sourceIdentifier?: string; /** - *The type of the notification.
+ *The event timestamp of the data lineage node.
* @public */ - type: NotificationType | undefined; + eventTimestamp?: Date; +} +/** + * @public + */ +export interface ListLineageNodeHistoryOutput { /** - *The topic of the notification.
+ *The nodes returned by the ListLineageNodeHistory action.
* @public */ - topic: Topic | undefined; + nodes?: LineageNodeSummary[]; /** - *The title of the notification.
+ *When the number of history items 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 items, the response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListLineageNodeHistory to list the next set of + * items.
* @public */ - title: string | undefined; + nextToken?: string; +} + +/** + * @public + * @enum + */ +export const TaskStatus = { + ACTIVE: "ACTIVE", + INACTIVE: "INACTIVE", +} as const; + +/** + * @public + */ +export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus]; +/** + * @public + * @enum + */ +export const NotificationType = { + EVENT: "EVENT", + TASK: "TASK", +} as const; + +/** + * @public + */ +export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType]; + +/** + * @public + */ +export interface ListNotificationsInput { /** - *The message included in the notification.
+ *The identifier of the Amazon DataZone domain.
* @public */ - message: string | undefined; + domainIdentifier: string | undefined; /** - *The status included in the notification.
+ *The type of notifications.
* @public */ - status?: TaskStatus; + type: NotificationType | undefined; /** - *The action link included in the notification.
+ *The time after which you want to list notifications.
* @public */ - actionLink: string | undefined; + afterTimestamp?: Date; /** - *The timestamp of when a notification was created.
+ *The time before which you want to list notifications.
* @public */ - creationTimestamp: Date | undefined; + beforeTimestamp?: Date; /** - *The timestamp of when the notification was last updated.
+ *The subjects of notifications.
* @public */ - lastUpdatedTimestamp: Date | undefined; + subjects?: string[]; /** - *The metadata included in the notification.
+ *The task status of notifications.
* @public */ - metadata?: RecordThe results of the ListNotifications
action.
The maximum number of notifications to return in a single call to
+ * ListNotifications
. When the number of notifications 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 ListNotifications
to list the
+ * next set of notifications.
When the number of notifications is greater than the default value for the @@ -10767,33 +10928,6 @@ export interface ListNotificationsOutput { nextToken?: string; } -/** - * @public - * @enum - */ -export const SortFieldProject = { - NAME: "NAME", -} as const; - -/** - * @public - */ -export type SortFieldProject = (typeof SortFieldProject)[keyof typeof SortFieldProject]; - -/** - * @public - * @enum - */ -export const SortOrder = { - ASCENDING: "ASCENDING", - DESCENDING: "DESCENDING", -} as const; - -/** - * @public - */ -export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]; - /** * @internal */ @@ -11500,6 +11634,14 @@ export const GetGroupProfileOutputFilterSensitiveLog = (obj: GetGroupProfileOutp ...(obj.groupName && { groupName: SENSITIVE_STRING }), }); +/** + * @internal + */ +export const GetLineageNodeOutputFilterSensitiveLog = (obj: GetLineageNodeOutput): any => ({ + ...obj, + ...(obj.formsOutput && { formsOutput: obj.formsOutput.map((item) => FormOutputFilterSensitiveLog(item)) }), +}); + /** * @internal */ @@ -11693,23 +11835,3 @@ export const GetListingOutputFilterSensitiveLog = (obj: GetListingOutput): any = ...(obj.item && { item: ListingItemFilterSensitiveLog(obj.item) }), ...(obj.description && { description: SENSITIVE_STRING }), }); - -/** - * @internal - */ -export const NotificationOutputFilterSensitiveLog = (obj: NotificationOutput): any => ({ - ...obj, - ...(obj.title && { title: SENSITIVE_STRING }), - ...(obj.message && { message: SENSITIVE_STRING }), - ...(obj.actionLink && { actionLink: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListNotificationsOutputFilterSensitiveLog = (obj: ListNotificationsOutput): any => ({ - ...obj, - ...(obj.notifications && { - notifications: obj.notifications.map((item) => NotificationOutputFilterSensitiveLog(item)), - }), -}); diff --git a/clients/client-datazone/src/models/models_1.ts b/clients/client-datazone/src/models/models_1.ts index cec9835cf8e3..bcf7e1385ce3 100644 --- a/clients/client-datazone/src/models/models_1.ts +++ b/clients/client-datazone/src/models/models_1.ts @@ -19,6 +19,8 @@ import { EnvironmentParameter, EnvironmentStatus, FailureCause, + FormEntryOutput, + FormEntryOutputFilterSensitiveLog, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, @@ -27,11 +29,11 @@ import { Import, ImportFilterSensitiveLog, Model, + NotificationType, ProjectDeletionError, ProjectStatus, ProvisioningProperties, Resource, - SortFieldProject, SortOrder, SubscribedAsset, SubscribedListing, @@ -43,6 +45,7 @@ import { SubscriptionRequestStatus, SubscriptionStatus, SubscriptionTargetForm, + TaskStatus, TermRelations, TimeSeriesDataPointFormOutput, TimeSeriesDataPointSummaryFormOutput, @@ -54,6 +57,191 @@ import { UserProfileType, } from "./models_0"; +/** + * @public + * @enum + */ +export const NotificationResourceType = { + PROJECT: "PROJECT", +} as const; + +/** + * @public + */ +export type NotificationResourceType = (typeof NotificationResourceType)[keyof typeof NotificationResourceType]; + +/** + *
The details of the resource mentioned in a notification.
+ * @public + */ +export interface NotificationResource { + /** + *The type of the resource mentioned in a notification.
+ * @public + */ + type: NotificationResourceType | undefined; + + /** + *The ID of the resource mentioned in a notification.
+ * @public + */ + id: string | undefined; + + /** + *The name of the resource mentioned in a notification.
+ * @public + */ + name?: string; +} + +/** + * @public + * @enum + */ +export const NotificationRole = { + DOMAIN_OWNER: "DOMAIN_OWNER", + PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR", + PROJECT_OWNER: "PROJECT_OWNER", + PROJECT_SUBSCRIBER: "PROJECT_SUBSCRIBER", + PROJECT_VIEWER: "PROJECT_VIEWER", +} as const; + +/** + * @public + */ +export type NotificationRole = (typeof NotificationRole)[keyof typeof NotificationRole]; + +/** + *The topic of the notification.
+ * @public + */ +export interface Topic { + /** + *The subject of the resource mentioned in a notification.
+ * @public + */ + subject: string | undefined; + + /** + *The details of the resource mentioned in a notification.
+ * @public + */ + resource: NotificationResource | undefined; + + /** + *The role of the resource mentioned in a notification.
+ * @public + */ + role: NotificationRole | undefined; +} + +/** + *The details of a notification generated in Amazon DataZone.
+ * @public + */ +export interface NotificationOutput { + /** + *The identifier of the notification.
+ * @public + */ + identifier: string | undefined; + + /** + *The identifier of a Amazon DataZone domain in which the notification exists.
+ * @public + */ + domainIdentifier: string | undefined; + + /** + *The type of the notification.
+ * @public + */ + type: NotificationType | undefined; + + /** + *The topic of the notification.
+ * @public + */ + topic: Topic | undefined; + + /** + *The title of the notification.
+ * @public + */ + title: string | undefined; + + /** + *The message included in the notification.
+ * @public + */ + message: string | undefined; + + /** + *The status included in the notification.
+ * @public + */ + status?: TaskStatus; + + /** + *The action link included in the notification.
+ * @public + */ + actionLink: string | undefined; + + /** + *The timestamp of when a notification was created.
+ * @public + */ + creationTimestamp: Date | undefined; + + /** + *The timestamp of when the notification was last updated.
+ * @public + */ + lastUpdatedTimestamp: Date | undefined; + + /** + *The metadata included in the notification.
+ * @public + */ + metadata?: RecordThe results of the ListNotifications
action.
When the number of notifications 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 notifications, the response
+ * includes a pagination token named NextToken
. You can specify this
+ * NextToken
value in a subsequent call to ListNotifications
to
+ * list the next set of notifications.
The ID of the domain where you want to post a data lineage event.
+ * @public + */ + domainIdentifier: string | undefined; + + /** + *The data lineage event that you want to post. Only open-lineage run event are supported + * as events.
+ * @public + */ + event: Uint8Array | undefined; + + /** + *A unique, case-sensitive identifier that is provided to ensure the idempotency of the + * request.
+ * @public + */ + clientToken?: string; +} + +/** + * @public + */ +export interface PostLineageEventOutput {} + /** *The time series data points form.
* @public @@ -2439,6 +2657,7 @@ export interface SearchListingsOutput { export const TypesSearchScope = { ASSET_TYPE: "ASSET_TYPE", FORM_TYPE: "FORM_TYPE", + LINEAGE_NODE_TYPE: "LINEAGE_NODE_TYPE", } as const; /** @@ -2525,6 +2744,66 @@ export interface FormTypeData { imports?: Import[]; } +/** + *The details of a data lineage node type.
+ * @public + */ +export interface LineageNodeTypeItem { + /** + *The ID of the domain where the data lineage node type lives.
+ * @public + */ + domainId: string | undefined; + + /** + *The name of the data lineage node type.
+ * @public + */ + name?: string; + + /** + *The description of the data lineage node type.
+ * @public + */ + description?: string; + + /** + *The timestamp at which the data lineage node type was created.
+ * @public + */ + createdAt?: Date; + + /** + *The user who created the data lineage node type.
+ * @public + */ + createdBy?: string; + + /** + *The timestamp at which the data lineage node type was updated.
+ * @public + */ + updatedAt?: Date; + + /** + *The user who updated the data lineage node type.
+ * @public + */ + updatedBy?: string; + + /** + *The revision of the data lineage node type.
+ * @public + */ + revision: string | undefined; + + /** + *The forms output of the data lineage node type.
+ * @public + */ + formsOutput: RecordThe details of the results of the SearchTypes
action.
The details of a data lineage node type.
+ * @public + */ + export interface LineageNodeTypeItemMember { + assetTypeItem?: never; + formTypeItem?: never; + lineageNodeTypeItem: LineageNodeTypeItem; $unknown?: never; } @@ -2564,18 +2857,21 @@ export namespace SearchTypesResultItem { export interface $UnknownMember { assetTypeItem?: never; formTypeItem?: never; + lineageNodeTypeItem?: never; $unknown: [string, any]; } export interface VisitorA summary of a Amazon DataZone domain.
" } }, + "com.amazonaws.datazone#EdgeDirection": { + "type": "enum", + "members": { + "UPSTREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPSTREAM" + } + }, + "DOWNSTREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOWNSTREAM" + } + } + } + }, "com.amazonaws.datazone#EditedValue": { "type": "string", "traits": { @@ -9201,7 +9227,7 @@ "traits": { "smithy.api#documentation": "The content of the metadata form.
", "smithy.api#length": { - "max": 150000 + "max": 300000 } } } @@ -11640,6 +11666,173 @@ "smithy.api#output": {} } }, + "com.amazonaws.datazone#GetLineageNode": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#GetLineageNodeInput" + }, + "output": { + "target": "com.amazonaws.datazone#GetLineageNodeOutput" + }, + "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 data lineage node.
", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/v2/domains/{domainIdentifier}/lineage/nodes/{identifier}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.datazone#GetLineageNodeInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "The ID of the domain in which you want to get the data lineage node.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "identifier": { + "target": "com.amazonaws.datazone#LineageNodeIdentifier", + "traits": { + "smithy.api#documentation": "The ID of the data lineage node that you want to get.
\nBoth, a lineage node identifier generated by Amazon DataZone and a\n sourceIdentifier
of the lineage node are supported. If\n sourceIdentifier
is greater than 1800 characters, you can use lineage node\n identifier generated by Amazon DataZone to get the node details.
The event time stamp for which you want to get the data lineage node.
", + "smithy.api#httpQuery": "timestamp" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#GetLineageNodeOutput": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "The ID of the domain where you're getting the data lineage node.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the data lineage node.
" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The description of the data lineage node.
" + } + }, + "createdAt": { + "target": "com.amazonaws.datazone#CreatedAt", + "traits": { + "smithy.api#documentation": "The timestamp at which the data lineage node was created.
" + } + }, + "createdBy": { + "target": "com.amazonaws.datazone#CreatedBy", + "traits": { + "smithy.api#documentation": "The user who created the data lineage node.
" + } + }, + "updatedAt": { + "target": "com.amazonaws.datazone#UpdatedAt", + "traits": { + "smithy.api#documentation": "The timestamp at which the data lineage node was updated.
" + } + }, + "updatedBy": { + "target": "com.amazonaws.datazone#UpdatedBy", + "traits": { + "smithy.api#documentation": "The user who updated the data lineage node.
" + } + }, + "id": { + "target": "com.amazonaws.datazone#LineageNodeId", + "traits": { + "smithy.api#documentation": "The ID of the data lineage node.
", + "smithy.api#required": {} + } + }, + "typeName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the type of the specified data lineage node.
", + "smithy.api#required": {} + } + }, + "typeRevision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "The revision type of the specified data lineage node.
" + } + }, + "sourceIdentifier": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The source identifier of the data lineage node.
" + } + }, + "eventTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The timestamp of the event described in the data lineage node.
" + } + }, + "formsOutput": { + "target": "com.amazonaws.datazone#FormOutputList", + "traits": { + "smithy.api#documentation": "The metadata of the specified data lineage node.
" + } + }, + "upstreamNodes": { + "target": "com.amazonaws.datazone#LineageNodeReferenceList", + "traits": { + "smithy.api#documentation": "The upstream nodes of the specified data lineage node.
" + } + }, + "downstreamNodes": { + "target": "com.amazonaws.datazone#LineageNodeReferenceList", + "traits": { + "smithy.api#documentation": "The downsteam nodes of the specified data lineage node.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#GetListing": { "type": "operation", "input": { @@ -13583,6 +13776,215 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.datazone#LineageEvent": { + "type": "blob", + "traits": { + "smithy.api#length": { + "max": 300000 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.datazone#LineageNodeId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-zA-Z0-9_-]{1,36}$" + } + }, + "com.amazonaws.datazone#LineageNodeIdentifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2086 + } + } + }, + "com.amazonaws.datazone#LineageNodeReference": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.datazone#LineageNodeId", + "traits": { + "smithy.api#documentation": "The ID of the data lineage node.
" + } + }, + "eventTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The event timestamp of the data lineage node.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The reference details for the data lineage node.
" + } + }, + "com.amazonaws.datazone#LineageNodeReferenceList": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#LineageNodeReference" + }, + "traits": { + "smithy.api#length": { + "max": 100 + } + } + }, + "com.amazonaws.datazone#LineageNodeSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#LineageNodeSummary" + } + }, + "com.amazonaws.datazone#LineageNodeSummary": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "The ID of the domain of the data lineage node.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the data lineage node.
" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The description of the data lineage node.
" + } + }, + "createdAt": { + "target": "com.amazonaws.datazone#CreatedAt", + "traits": { + "smithy.api#documentation": "The timestamp at which the data lineage node was created.
" + } + }, + "createdBy": { + "target": "com.amazonaws.datazone#CreatedBy", + "traits": { + "smithy.api#documentation": "The user who created the data lineage node.
" + } + }, + "updatedAt": { + "target": "com.amazonaws.datazone#UpdatedAt", + "traits": { + "smithy.api#documentation": "The timestamp at which the data lineage node was updated.
" + } + }, + "updatedBy": { + "target": "com.amazonaws.datazone#UpdatedBy", + "traits": { + "smithy.api#documentation": "The user who updated the data lineage node.
" + } + }, + "id": { + "target": "com.amazonaws.datazone#LineageNodeId", + "traits": { + "smithy.api#documentation": "The ID of the data lineage node.
", + "smithy.api#required": {} + } + }, + "typeName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the type of the data lineage node.
", + "smithy.api#required": {} + } + }, + "typeRevision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "The type of the revision of the data lineage node.
" + } + }, + "sourceIdentifier": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The alternate ID of the data lineage node.
" + } + }, + "eventTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The event timestamp of the data lineage node.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The summary of the data lineage node.
" + } + }, + "com.amazonaws.datazone#LineageNodeTypeItem": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "The ID of the domain where the data lineage node type lives.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the data lineage node type.
" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The description of the data lineage node type.
" + } + }, + "createdAt": { + "target": "com.amazonaws.datazone#CreatedAt", + "traits": { + "smithy.api#documentation": "The timestamp at which the data lineage node type was created.
" + } + }, + "createdBy": { + "target": "com.amazonaws.datazone#CreatedBy", + "traits": { + "smithy.api#documentation": "The user who created the data lineage node type.
" + } + }, + "updatedAt": { + "target": "com.amazonaws.datazone#UpdatedAt", + "traits": { + "smithy.api#documentation": "The timestamp at which the data lineage node type was updated.
" + } + }, + "updatedBy": { + "target": "com.amazonaws.datazone#UpdatedBy", + "traits": { + "smithy.api#documentation": "The user who updated the data lineage node type.
" + } + }, + "revision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "The revision of the data lineage node type.
", + "smithy.api#required": {} + } + }, + "formsOutput": { + "target": "com.amazonaws.datazone#FormsOutputMap", + "traits": { + "smithy.api#documentation": "The forms output of the data lineage node type.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The details of a data lineage node type.
" + } + }, "com.amazonaws.datazone#ListAssetRevisions": { "type": "operation", "input": { @@ -14701,6 +15103,133 @@ "smithy.api#output": {} } }, + "com.amazonaws.datazone#ListLineageNodeHistory": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#ListLineageNodeHistoryInput" + }, + "output": { + "target": "com.amazonaws.datazone#ListLineageNodeHistoryOutput" + }, + "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": "Lists the history of the specified data lineage node.
", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/v2/domains/{domainIdentifier}/lineage/nodes/{identifier}/history" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "nodes" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.datazone#ListLineageNodeHistoryInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "The ID of the domain where you want to list the history of the specified data lineage\n node.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.datazone#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of history items to return in a single call to\n ListLineageNodeHistory. When the number of memberships 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 ListLineageNodeHistory to list the next set of items.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.datazone#PaginationToken", + "traits": { + "smithy.api#documentation": "When the number of history items 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 items, the response includes a pagination token named NextToken. You can specify this\n NextToken value in a subsequent call to ListLineageNodeHistory to list the next set of\n items.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "identifier": { + "target": "com.amazonaws.datazone#LineageNodeIdentifier", + "traits": { + "smithy.api#documentation": "The ID of the data lineage node whose history you want to list.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "direction": { + "target": "com.amazonaws.datazone#EdgeDirection", + "traits": { + "smithy.api#documentation": "The direction of the data lineage node refers to the lineage node having neighbors in\n that direction. For example, if direction is UPSTREAM
, the\n ListLineageNodeHistory
API responds with historical versions with upstream\n neighbors only.
Specifies whether the action is to return data lineage node history from the time after\n the event timestamp.
", + "smithy.api#httpQuery": "timestampGTE" + } + }, + "eventTimestampLTE": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "Specifies whether the action is to return data lineage node history from the time prior\n of the event timestamp.
", + "smithy.api#httpQuery": "timestampLTE" + } + }, + "sortOrder": { + "target": "com.amazonaws.datazone#SortOrder", + "traits": { + "smithy.api#documentation": "The order by which you want data lineage node history to be sorted.
", + "smithy.api#httpQuery": "sortOrder" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#ListLineageNodeHistoryOutput": { + "type": "structure", + "members": { + "nodes": { + "target": "com.amazonaws.datazone#LineageNodeSummaries", + "traits": { + "smithy.api#documentation": "The nodes returned by the ListLineageNodeHistory action.
" + } + }, + "nextToken": { + "target": "com.amazonaws.datazone#PaginationToken", + "traits": { + "smithy.api#documentation": "When the number of history items 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 items, the response includes a pagination token named NextToken. You can specify this\n NextToken value in a subsequent call to ListLineageNodeHistory to list the next set of\n items.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#ListMetadataGenerationRuns": { "type": "operation", "input": { @@ -16524,6 +17053,86 @@ } } }, + "com.amazonaws.datazone#PostLineageEvent": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#PostLineageEventInput" + }, + "output": { + "target": "com.amazonaws.datazone#PostLineageEventOutput" + }, + "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 a data lineage event.
", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/v2/domains/{domainIdentifier}/lineage/events" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.datazone#PostLineageEventInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "The ID of the domain where you want to post a data lineage event.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "event": { + "target": "com.amazonaws.datazone#LineageEvent", + "traits": { + "smithy.api#documentation": "The data lineage event that you want to post. Only open-lineage run event are supported\n as events.
", + "smithy.api#httpPayload": {}, + "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#httpQuery": "clientToken", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#PostLineageEventOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#PostTimeSeriesDataPoints": { "type": "operation", "input": { @@ -18526,6 +19135,12 @@ "traits": { "smithy.api#documentation": "The form type included in the results of the SearchTypes
action.
The details of a data lineage node type.
" + } } }, "traits": { @@ -20866,6 +21481,12 @@ "traits": { "smithy.api#enumValue": "FORM_TYPE" } + }, + "LINEAGE_NODE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINEAGE_NODE_TYPE" + } } } },