Skip to main content

data_source_runs

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

Overview

Namedata_source_runs
TypeResource
Idaws.datazone.data_source_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the data source run. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
created_atstring (date-time)The timestamp of when the data source run was created.
data_source_configuration_snapshotstringThe configuration snapshot of the data source run.
data_source_idstringThe ID of the data source for this data source run. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
domain_idstringThe ID of the domain in which this data source run was performed. (pattern: <code>dzd[-][a-zA-Z0-9-]{1,36}</code>)
error_messageobjectThe details of the error message that is returned if the operation cannot be successfully completed.
lineage_summaryobjectThe summary of the data lineage.
project_idstringThe ID of the project in which this data source run occured. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
run_statistics_for_assetsobjectThe asset statistics from this data source run.
started_atstring (date-time)The timestamp of when this data source run started.
statusstringThe status of this data source run. (REQUESTED, RUNNING, FAILED, PARTIALLY_SUCCEEDED, SUCCESS)
stopped_atstring (date-time)The timestamp of when this data source run stopped.
type_stringThe type of this data source run. (PRIORITIZED, SCHEDULED)
updated_atstring (date-time)The timestamp of when this data source run was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_data_source_runselectdomain_identifier, identifier, regionGets an Amazon DataZone data source run.
list_data_source_runsselectdomain_identifier, data_source_identifier, regionstatus, nextToken, maxResultsLists data source runs in Amazon DataZone.

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

SELECT examples

Gets an Amazon DataZone data source run.

SELECT
id,
created_at,
data_source_configuration_snapshot,
data_source_id,
domain_id,
error_message,
lineage_summary,
project_id,
run_statistics_for_assets,
started_at,
status,
stopped_at,
type_,
updated_at
FROM aws.datazone.data_source_runs
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;