get_accessor

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

Request Syntax

response = client.get_accessor(
    AccessorId='string'
)
Parameters
AccessorId (string) --

[REQUIRED]

The unique identifier of the accessor.

Return type
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'
        }
    }
}

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 make Ethereum API calls to your Ethereum node. The billing token is used to track your accessor object for billing Ethereum API requests made to your Ethereum nodes.

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

      • Tags (dict) --

        The tags assigned to the Accessor.

        For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide , or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide .

        • (string) --
          • (string) --

Exceptions

  • ManagedBlockchain.Client.exceptions.InvalidRequestException
  • ManagedBlockchain.Client.exceptions.AccessDeniedException
  • ManagedBlockchain.Client.exceptions.ResourceNotFoundException
  • ManagedBlockchain.Client.exceptions.ThrottlingException
  • ManagedBlockchain.Client.exceptions.InternalServiceErrorException