DataZone / Paginator / ListDataSourceRunActivities

ListDataSourceRunActivities#

class DataZone.Paginator.ListDataSourceRunActivities#
paginator = client.get_paginator('list_data_source_run_activities')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from DataZone.Client.list_data_source_run_activities().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    domainIdentifier='string',
    identifier='string',
    status='FAILED'|'PUBLISHING_FAILED'|'SUCCEEDED_CREATED'|'SUCCEEDED_UPDATED'|'SKIPPED_ALREADY_IMPORTED'|'SKIPPED_ARCHIVED'|'SKIPPED_NO_ACCESS'|'UNCHANGED',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
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.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

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'
            },
            '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.

        • 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) –

      A token to resume pagination.