Skip to main content

lineage_node_histories

Creates, updates, deletes, gets or lists a lineage_node_histories resource.

Overview

Namelineage_node_histories
TypeResource
Idaws.datazone.lineage_node_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the data lineage node. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
namestringThe name of the data lineage node.
created_atstring (date-time)The timestamp at which the data lineage node was created.
created_bystringThe user who created the data lineage node.
descriptionstringThe description of the data lineage node.
domain_idstringThe ID of the domain of the data lineage node. (pattern: <code>dzd[-][a-zA-Z0-9-]{1,36}</code>)
event_timestampstring (date-time)The event timestamp of the data lineage node.
source_identifierstringThe alternate ID of the data lineage node.
type_namestringThe name of the type of the data lineage node.
type_revisionstringThe type of the revision of the data lineage node.
updated_atstring (date-time)The timestamp at which the data lineage node was updated.
updated_bystringThe user who updated the data lineage node.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_lineage_node_historyselectdomain_identifier, identifier, regionmaxResults, nextToken, direction, timestampGTE, timestampLTE, sortOrderLists the history of the specified data lineage node.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_identifierstringThe ID of the domain where you want to list the history of the specified data lineage node.
identifierstringThe ID of the data lineage node whose history you want to list.
regionstringAWS region (default: us-east-1)
directionstringThe 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.
maxResultsintegerThe 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.
nextTokenstringWhen 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.
sortOrderstringThe order by which you want data lineage node history to be sorted.
timestampGTEstring (date-time)Specifies whether the action is to return data lineage node history from the time after the event timestamp.
timestampLTEstring (date-time)Specifies whether the action is to return data lineage node history from the time prior of the event timestamp.

SELECT examples

Lists the history of the specified data lineage node.

SELECT
id,
name,
created_at,
created_by,
description,
domain_id,
event_timestamp,
source_identifier,
type_name,
type_revision,
updated_at,
updated_by
FROM aws.datazone.lineage_node_histories
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
AND direction = '{{ direction }}'
AND timestampGTE = '{{ timestampGTE }}'
AND timestampLTE = '{{ timestampLTE }}'
AND sortOrder = '{{ sortOrder }}'
;