Skip to main content

data_source_run_activities

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

Overview

Namedata_source_run_activities
TypeResource
Idaws.datazone.data_source_run_activities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The timestamp of when data source run activity was created.
data_asset_idstringThe identifier of the asset included in the data source run activity.
data_asset_statusstringThe status of the asset included in the data source run activity. (FAILED, PUBLISHING_FAILED, SUCCEEDED_CREATED, SUCCEEDED_UPDATED, SKIPPED_ALREADY_IMPORTED, SKIPPED_ARCHIVED, SKIPPED_NO_ACCESS, UNCHANGED)
data_source_run_idstringThe identifier of the data source for the data source run activity. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
databasestringThe database included in the data source run activity.
error_messageobjectThe details of the error message that is returned if the operation cannot be successfully completed.
lineage_summaryobjectThe data lineage summary.
project_idstringThe project ID included in the data source run activity. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
technical_descriptionstringThe technical description included in the data source run activity.
technical_namestringThe technical name included in the data source run activity.
updated_atstring (date-time)The timestamp of when data source run activity was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_data_source_run_activitiesselectdomain_identifier, identifier, regionstatus, nextToken, maxResultsLists data source run activities.

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 identifier of the Amazon DataZone domain in which to list data source run activities.
identifierstringThe identifier of the data source run.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of activities to return in a single call to ListDataSourceRunActivities. When the number of activities 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 ListDataSourceRunActivities to list the next set of activities.
nextTokenstringWhen the number of activities 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 activities, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDataSourceRunActivities to list the next set of activities.
statusstringThe status of the data source run.

SELECT examples

Lists data source run activities.

SELECT
created_at,
data_asset_id,
data_asset_status,
data_source_run_id,
database,
error_message,
lineage_summary,
project_id,
technical_description,
technical_name,
updated_at
FROM aws.datazone.data_source_run_activities
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
AND status = '{{ status }}'
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;