DataZone / Client / list_data_source_run_activities
list_data_source_run_activities#
- DataZone.Client.list_data_source_run_activities(**kwargs)#
Lists data source run activities.
See also: AWS API Documentation
Request Syntax
response = client.list_data_source_run_activities( domainIdentifier='string', identifier='string', maxResults=123, nextToken='string', status='FAILED'|'PUBLISHING_FAILED'|'SUCCEEDED_CREATED'|'SUCCEEDED_UPDATED'|'SKIPPED_ALREADY_IMPORTED'|'SKIPPED_ARCHIVED'|'SKIPPED_NO_ACCESS'|'UNCHANGED' )
- Parameters:
domainIdentifier (string) –
[REQUIRED]
The identifier of the Amazon DataZone domain in which to list data source run activities.
identifier (string) –
[REQUIRED]
The identifier of the data source run.
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 ofMaxResults
, the response contains aNextToken
value that you can use in a subsequent call toListDataSourceRunActivities
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 forMaxResults
that is less than the number of activities, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListDataSourceRunActivities
to list the next set of activities.status (string) – The status of the data source run.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'createdAt': datetime(2015, 1, 1), 'dataAssetId': 'string', 'dataAssetStatus': 'FAILED'|'PUBLISHING_FAILED'|'SUCCEEDED_CREATED'|'SUCCEEDED_UPDATED'|'SKIPPED_ALREADY_IMPORTED'|'SKIPPED_ARCHIVED'|'SKIPPED_NO_ACCESS'|'UNCHANGED', 'dataSourceRunId': 'string', 'database': 'string', 'errorMessage': { 'errorDetail': 'string', 'errorType': 'ACCESS_DENIED_EXCEPTION'|'CONFLICT_EXCEPTION'|'INTERNAL_SERVER_EXCEPTION'|'RESOURCE_NOT_FOUND_EXCEPTION'|'SERVICE_QUOTA_EXCEEDED_EXCEPTION'|'THROTTLING_EXCEPTION'|'VALIDATION_EXCEPTION' }, 'lineageSummary': { 'errorMessage': 'string', 'eventId': 'string', 'eventStatus': 'REQUESTED'|'PROCESSING'|'SUCCESS'|'FAILED' }, 'projectId': 'string', 'technicalDescription': 'string', 'technicalName': 'string', 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
items (list) –
The results of the
ListDataSourceRunActivities
action.(dict) –
The activity details of the data source run.
createdAt (datetime) –
The timestamp of when data source run activity was created.
dataAssetId (string) –
The identifier of the asset included in the data source run activity.
dataAssetStatus (string) –
The status of the asset included in the data source run activity.
dataSourceRunId (string) –
The identifier of the data source for the data source run activity.
database (string) –
The database included in the data source run activity.
errorMessage (dict) –
The details of the error message that is returned if the operation cannot be successfully completed.
errorDetail (string) –
The details of the error message that is returned if the operation cannot be successfully completed.
errorType (string) –
The type of the error message that is returned if the operation cannot be successfully completed.
lineageSummary (dict) –
The data lineage summary.
errorMessage (string) –
The data lineage error message.
eventId (string) –
The data lineage event ID.
eventStatus (string) –
The data lineage event status.
projectId (string) –
The project ID included in the data source run activity.
technicalDescription (string) –
The technical description included in the data source run activity.
technicalName (string) –
The technical name included in the data source run activity.
updatedAt (datetime) –
The timestamp of when data source run activity was updated.
nextToken (string) –
When the number of activities is greater than the default value for the
MaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of activities, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListDataSourceRunActivities
to list the next set of activities.
Exceptions
DataZone.Client.exceptions.InternalServerException
DataZone.Client.exceptions.ResourceNotFoundException
DataZone.Client.exceptions.AccessDeniedException
DataZone.Client.exceptions.ThrottlingException
DataZone.Client.exceptions.ServiceQuotaExceededException
DataZone.Client.exceptions.ConflictException
DataZone.Client.exceptions.ValidationException
DataZone.Client.exceptions.UnauthorizedException