:doc:`ManagedBlockchain <../../managedblockchain>` / Client / get_accessor

************
get_accessor
************



.. py:method:: ManagedBlockchain.Client.get_accessor(**kwargs)

  

  Returns detailed information about an accessor. An accessor object is a container that has the information required for token based access to your Ethereum nodes.

  

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


  **Request Syntax**
  ::

    response = client.get_accessor(
        AccessorId='string'
    )
    
  :type AccessorId: string
  :param AccessorId: **[REQUIRED]** 

    The unique identifier of the accessor.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Accessor': {
              'Id': 'string',
              'Type': 'BILLING_TOKEN',
              'BillingToken': 'string',
              'Status': 'AVAILABLE'|'PENDING_DELETION'|'DELETED',
              'CreationDate': datetime(2015, 1, 1),
              'Arn': 'string',
              'Tags': {
                  'string': 'string'
              },
              'NetworkType': 'ETHEREUM_GOERLI'|'ETHEREUM_MAINNET'|'ETHEREUM_MAINNET_AND_GOERLI'|'POLYGON_MAINNET'|'POLYGON_MUMBAI'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Accessor** *(dict) --* 

        The properties of the accessor.

        
        

        - **Id** *(string) --* 

          The unique identifier of the accessor.

          
        

        - **Type** *(string) --* 

          The type of the accessor.

           

          .. note::

            

            Currently, accessor type is restricted to ``BILLING_TOKEN``.

            

          
        

        - **BillingToken** *(string) --* 

          The billing token is a property of the Accessor. Use this token to when making calls to the blockchain network. The billing token is used to track your accessor token for billing requests.

          
        

        - **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*.

          
        

        - **Tags** *(dict) --* 

          The tags assigned to the Accessor.

           

          For more information about tags, see `Tagging Resources <https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html>`__ in the *Amazon Managed Blockchain Ethereum Developer Guide*, or `Tagging Resources <https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html>`__ in the *Amazon Managed Blockchain Hyperledger Fabric Developer Guide*.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
        

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

          The blockchain network that the Accessor token is created for.

          
    
  
  **Exceptions**
  
  *   :py:class:`ManagedBlockchain.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.ThrottlingException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.InternalServiceErrorException`

  