lineage_node_histories
Creates, updates, deletes, gets or lists a lineage_node_histories resource.
Overview
| Name | lineage_node_histories |
| Type | Resource |
| Id | aws.datazone.lineage_node_histories |
Fields
The following fields are returned by SELECT queries:
- list_lineage_node_history
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the data lineage node. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>) |
name | string | The name of the data lineage node. |
created_at | string (date-time) | The timestamp at which the data lineage node was created. |
created_by | string | The user who created the data lineage node. |
description | string | The description of the data lineage node. |
domain_id | string | The ID of the domain of the data lineage node. (pattern: <code>dzd[-][a-zA-Z0-9-]{1,36}</code>) |
event_timestamp | string (date-time) | The event timestamp of the data lineage node. |
source_identifier | string | The alternate ID of the data lineage node. |
type_name | string | The name of the type of the data lineage node. |
type_revision | string | The type of the revision of the data lineage node. |
updated_at | string (date-time) | The timestamp at which the data lineage node was updated. |
updated_by | string | The user who updated the data lineage node. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_lineage_node_history | select | domain_identifier, identifier, region | maxResults, nextToken, direction, timestampGTE, timestampLTE, sortOrder | Lists 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.
| Name | Datatype | Description |
|---|---|---|
domain_identifier | string | The ID of the domain where you want to list the history of the specified data lineage node. |
identifier | string | The ID of the data lineage node whose history you want to list. |
region | string | AWS region (default: us-east-1) |
direction | string | 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. |
maxResults | integer | 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. |
nextToken | string | 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. |
sortOrder | string | The order by which you want data lineage node history to be sorted. |
timestampGTE | string (date-time) | Specifies whether the action is to return data lineage node history from the time after the event timestamp. |
timestampLTE | string (date-time) | Specifies whether the action is to return data lineage node history from the time prior of the event timestamp. |
SELECT examples
- list_lineage_node_history
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 }}'
;