ManagedBlockchain / Paginator / ListAccessors

ListAccessors#

class ManagedBlockchain.Paginator.ListAccessors#
paginator = client.get_paginator('list_accessors')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from ManagedBlockchain.Client.list_accessors().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    NetworkType='ETHEREUM_GOERLI'|'ETHEREUM_MAINNET'|'ETHEREUM_MAINNET_AND_GOERLI'|'POLYGON_MAINNET'|'POLYGON_MUMBAI',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • NetworkType (string) –

    The blockchain network that the Accessor token is created for.

    Note

    Use the value ETHEREUM_MAINNET_AND_GOERLI for all existing Accessors tokens that were created before the networkType property was introduced.

  • 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

{
    'Accessors': [
        {
            'Id': 'string',
            'Type': 'BILLING_TOKEN',
            'Status': 'AVAILABLE'|'PENDING_DELETION'|'DELETED',
            'CreationDate': datetime(2015, 1, 1),
            'Arn': 'string',
            'NetworkType': 'ETHEREUM_GOERLI'|'ETHEREUM_MAINNET'|'ETHEREUM_MAINNET_AND_GOERLI'|'POLYGON_MAINNET'|'POLYGON_MUMBAI'
        },
    ],

}

Response Structure

  • (dict) –

    • Accessors (list) –

      An array of AccessorSummary objects that contain configuration properties for each accessor.

      • (dict) –

        A summary of accessor properties.

        • Id (string) –

          The unique identifier of the accessor.

        • Type (string) –

          The type of the accessor.

          Note

          Currently accessor type is restricted to BILLING_TOKEN.

        • Status (string) –

          The current status of the accessor.

        • CreationDate (datetime) –

          The creation date and time of the accessor.

        • Arn (string) –

          The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

        • NetworkType (string) –

          The blockchain network that the Accessor token is created for.