DataZone / Paginator / ListDataProductRevisions

ListDataProductRevisions#

class DataZone.Paginator.ListDataProductRevisions#
paginator = client.get_paginator('list_data_product_revisions')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    domainIdentifier='string',
    identifier='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • domainIdentifier (string) –

    [REQUIRED]

    The ID of the domain of the data product revisions that you want to list.

  • identifier (string) –

    [REQUIRED]

    The ID of the data product revision.

  • 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),
            'createdBy': 'string',
            'domainId': 'string',
            'id': 'string',
            'revision': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      The results of the ListDataProductRevisions action.

      • (dict) –

        The data product revision.

        • createdAt (datetime) –

          The timestamp at which the data product revision was created.

        • createdBy (string) –

          The user who created the data product revision.

        • domainId (string) –

          The ID of the domain where the data product revision lives.

        • id (string) –

          The ID of the data product revision.

        • revision (string) –

          The data product revision.

    • NextToken (string) –

      A token to resume pagination.