data_source_run_activities
Creates, updates, deletes, gets or lists a data_source_run_activities resource.
Overview
| Name | data_source_run_activities |
| Type | Resource |
| Id | aws.datazone.data_source_run_activities |
Fields
The following fields are returned by SELECT queries:
- list_data_source_run_activities
| Name | Datatype | Description |
|---|---|---|
created_at | string (date-time) | The timestamp of when data source run activity was created. |
data_asset_id | string | The identifier of the asset included in the data source run activity. |
data_asset_status | string | The 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_id | string | The identifier of the data source for the data source run activity. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>) |
database | string | The database included in the data source run activity. |
error_message | object | The details of the error message that is returned if the operation cannot be successfully completed. |
lineage_summary | object | The data lineage summary. |
project_id | string | The project ID included in the data source run activity. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>) |
technical_description | string | The technical description included in the data source run activity. |
technical_name | string | The technical name included in the data source run activity. |
updated_at | string (date-time) | The timestamp of when data source run activity was updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_data_source_run_activities | select | domain_identifier, identifier, region | status, nextToken, maxResults | Lists 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.
| Name | Datatype | Description |
|---|---|---|
domain_identifier | string | The identifier of the Amazon DataZone domain in which to list data source run activities. |
identifier | string | The identifier of the data source run. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The 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. |
nextToken | string | When 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. |
status | string | The status of the data source run. |
SELECT examples
- list_data_source_run_activities
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 }}'
;