:doc:`ManagedBlockchain <../../managedblockchain>` / Paginator / ListAccessors

*************
ListAccessors
*************



.. py:class:: ManagedBlockchain.Paginator.ListAccessors

  ::

    
    paginator = client.get_paginator('list_accessors')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`ManagedBlockchain.Client.list_accessors`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListAccessors>`_    


    **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'
          }
      )
      
    :type NetworkType: string
    :param NetworkType: 

      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.

        

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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.

        

      
    
    
    :rtype: 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) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference*.

              
            

            - **NetworkType** *(string) --* 

              The blockchain network that the Accessor token is created for.

              
        
      
    