ManagedBlockchain / Client / get_accessor

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'
        },
        '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) 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) –

      • NetworkType (string) –

        The blockchain network that the Accessor token is created for.

Exceptions