lineage_nodes
Creates, updates, deletes, gets or lists a lineage_nodes resource.
Overview
| Name | lineage_nodes |
| Type | Resource |
| Id | aws.datazone.lineage_nodes |
Fields
The following fields are returned by SELECT queries:
- get_lineage_node
| 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 where you're getting the data lineage node. (pattern: <code>dzd[-][a-zA-Z0-9-]{1,36}</code>) |
downstream_nodes | array | The downsteam nodes of the specified data lineage node. |
event_timestamp | string (date-time) | The timestamp of the event described in the data lineage node. |
forms_output | array | The metadata of the specified data lineage node. |
source_identifier | string | The source identifier of the data lineage node. |
type_name | string | The name of the type of the specified data lineage node. |
type_revision | string | The revision type of the specified 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. |
upstream_nodes | array | The upstream nodes of the specified data lineage node. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_lineage_node | select | domain_identifier, identifier, region | timestamp | Gets the 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 in which you want to get the data lineage node. |
identifier | string | 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. |
region | string | AWS region (default: us-east-1) |
timestamp | string (date-time) | The event time stamp for which you want to get the data lineage node. |
SELECT examples
- get_lineage_node
Gets the data lineage node.
SELECT
id,
name,
created_at,
created_by,
description,
domain_id,
downstream_nodes,
event_timestamp,
forms_output,
source_identifier,
type_name,
type_revision,
updated_at,
updated_by,
upstream_nodes
FROM aws.datazone.lineage_nodes
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
AND timestamp = '{{ timestamp }}'
;