Struct aws_sdk_managedblockchain::types::Accessor
source · #[non_exhaustive]pub struct Accessor {
pub id: Option<String>,
pub type: Option<AccessorType>,
pub billing_token: Option<String>,
pub status: Option<AccessorStatus>,
pub creation_date: Option<DateTime>,
pub arn: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
The properties of the Accessor.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The unique identifier of the accessor.
type: Option<AccessorType>
The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
billing_token: Option<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: Option<AccessorStatus>
The current status of the accessor.
creation_date: Option<DateTime>
The creation date and time of the accessor.
arn: Option<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.
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.
Implementations§
source§impl Accessor
impl Accessor
sourcepub fn type(&self) -> Option<&AccessorType>
pub fn type(&self) -> Option<&AccessorType>
The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
sourcepub fn billing_token(&self) -> Option<&str>
pub fn billing_token(&self) -> Option<&str>
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.
sourcepub fn status(&self) -> Option<&AccessorStatus>
pub fn status(&self) -> Option<&AccessorStatus>
The current status of the accessor.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The creation date and time of the accessor.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
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.
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.