2023/02/28 - Amazon Managed Blockchain - 2 updated api methods
Changes This release adds support for tagging to the accessor resource in Amazon Managed Blockchain
{'Tags': {'string': 'string'}}
Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor contains information required for token based access to your Ethereum nodes.
See also: AWS API Documentation
Request Syntax
client.create_accessor( ClientRequestToken='string', AccessorType='BILLING_TOKEN', Tags={ 'string': 'string' } )
string
[REQUIRED]
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
This field is autopopulated if not provided.
string
[REQUIRED]
The type of accessor.
dict
Tags to assign to the Accessor.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
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) --
dict
Response Syntax
{ 'AccessorId': 'string', 'BillingToken': 'string' }
Response Structure
(dict) --
AccessorId (string) --
The unique identifier of the accessor.
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.
{'Accessor': {'Tags': {'string': 'string'}}}
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
client.get_accessor( AccessorId='string' )
string
[REQUIRED]
The unique identifier of the accessor.
dict
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.
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) --