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', status='FAILED'|'PUBLISHING_FAILED'|'SUCCEEDED_CREATED'|'SUCCEEDED_UPDATED'|'SKIPPED_ALREADY_IMPORTED'|'SKIPPED_ARCHIVED'|'SKIPPED_NO_ACCESS'|'UNCHANGED', nextToken='string', maxResults=123 )
- 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.
status (string) – The status of the data source run.
nextToken (string) – When the number of activities is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of activities, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListDataSourceRunActivitiesto list the next set of activities.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 aNextTokenvalue that you can use in a subsequent call toListDataSourceRunActivitiesto list the next set of activities.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'database': 'string', 'dataSourceRunId': 'string', 'technicalName': 'string', 'dataAssetStatus': 'FAILED'|'PUBLISHING_FAILED'|'SUCCEEDED_CREATED'|'SUCCEEDED_UPDATED'|'SKIPPED_ALREADY_IMPORTED'|'SKIPPED_ARCHIVED'|'SKIPPED_NO_ACCESS'|'UNCHANGED', 'projectId': 'string', 'dataAssetId': 'string', 'technicalDescription': 'string', 'errorMessage': { 'errorType': 'ACCESS_DENIED_EXCEPTION'|'CONFLICT_EXCEPTION'|'INTERNAL_SERVER_EXCEPTION'|'RESOURCE_NOT_FOUND_EXCEPTION'|'SERVICE_QUOTA_EXCEEDED_EXCEPTION'|'THROTTLING_EXCEPTION'|'VALIDATION_EXCEPTION', 'errorDetail': 'string' }, 'lineageSummary': { 'eventId': 'string', 'eventStatus': 'REQUESTED'|'PROCESSING'|'SUCCESS'|'FAILED', 'errorMessage': 'string' }, 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
items (list) –
The results of the
ListDataSourceRunActivitiesaction.(dict) –
The activity details of the data source run.
database (string) –
The database included in the data source run activity.
dataSourceRunId (string) –
The identifier of the data source for the data source run activity.
technicalName (string) –
The technical name included in the data source run activity.
dataAssetStatus (string) –
The status of the asset included in the data source run activity.
projectId (string) –
The project ID included in the data source run activity.
dataAssetId (string) –
The identifier of the asset included in the data source run activity.
technicalDescription (string) –
The technical description 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.
errorType (string) –
The type 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.
lineageSummary (dict) –
The data lineage summary.
eventId (string) –
The data lineage event ID.
eventStatus (string) –
The data lineage event status.
errorMessage (string) –
The data lineage error message.
createdAt (datetime) –
The timestamp of when data source run activity was created.
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
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of activities, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListDataSourceRunActivitiesto list the next set of activities.
Exceptions
DataZone.Client.exceptions.InternalServerExceptionDataZone.Client.exceptions.ResourceNotFoundExceptionDataZone.Client.exceptions.AccessDeniedExceptionDataZone.Client.exceptions.ThrottlingExceptionDataZone.Client.exceptions.ServiceQuotaExceededExceptionDataZone.Client.exceptions.ConflictExceptionDataZone.Client.exceptions.ValidationExceptionDataZone.Client.exceptions.UnauthorizedException