DataZone / Paginator / ListAssetRevisions

ListAssetRevisions#

class DataZone.Paginator.ListAssetRevisions#
paginator = client.get_paginator('list_asset_revisions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from DataZone.Client.list_asset_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 identifier of the domain.

  • identifier (string) –

    [REQUIRED]

    The identifier of the asset.

  • 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 ListAssetRevisions action.

      • (dict) –

        The revision of an inventory asset.

        • createdAt (datetime) –

          The timestamp of when an inventory asset revison was created.

        • createdBy (string) –

          The Amazon DataZone user who created the asset revision.

        • domainId (string) –

          The Amazon DataZone user who created the inventory asset.

        • id (string) –

          The identifier of the inventory asset revision.

        • revision (string) –

          The revision details of the inventory asset.

    • NextToken (string) –

      A token to resume pagination.