Skip to main content

lineage_events

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

Overview

Namelineage_events
TypeResource
Idaws.datazone.lineage_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the lineage event. (pattern: <code>[a-z0-9]{14}</code>)
created_atstring (date-time)The timestamp of when the lineage event was created.
created_bystringThe user who created the lineage event.
domain_idstringThe ID of the domain. (pattern: <code>dzd[-][a-zA-Z0-9-]{1,36}</code>)
eventstring (byte)The lineage event details.
event_timestring (date-time)The time of the lineage event.
processing_statusstringThe progressing status of the lineage event. (REQUESTED, PROCESSING, SUCCESS, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_lineage_eventselectdomain_identifier, identifier, regionDescribes the lineage event.
list_lineage_eventsselectdomain_identifier, regionmaxResults, timestampAfter, timestampBefore, processingStatus, sortOrder, nextTokenLists lineage events.
delete_lineage_eventdeletedomain_identifier, identifier, regionDeletes the specified lineage event.

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.
identifierstringThe ID of the lineage event.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of lineage events to return in a single call to ListLineageEvents. When the number of lineage events 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 ListLineageEvents to list the next set of lineage events.
nextTokenstringWhen the number of lineage events 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 lineage events, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListLineageEvents to list the next set of lineage events.
processingStatusstringThe processing status of a lineage event.
sortOrderstringThe sort order of the lineage events.
timestampAfterstring (date-time)The after timestamp of a lineage event.
timestampBeforestring (date-time)The before timestamp of a lineage event.

SELECT examples

Describes the lineage event.

SELECT
id,
created_at,
created_by,
domain_id,
event,
event_time,
processing_status
FROM aws.datazone.lineage_events
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;

DELETE examples

Deletes the specified lineage event.

DELETE FROM aws.datazone.lineage_events
WHERE domain_identifier = '{{ domain_identifier }}' --required
AND identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
;