Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Accessor = Accessor' {
- arn :: Maybe Text
- billingToken :: Maybe Text
- creationDate :: Maybe ISO8601
- id :: Maybe Text
- status :: Maybe AccessorStatus
- type' :: Maybe AccessorType
- newAccessor :: Accessor
- accessor_arn :: Lens' Accessor (Maybe Text)
- accessor_billingToken :: Lens' Accessor (Maybe Text)
- accessor_creationDate :: Lens' Accessor (Maybe UTCTime)
- accessor_id :: Lens' Accessor (Maybe Text)
- accessor_status :: Lens' Accessor (Maybe AccessorStatus)
- accessor_type :: Lens' Accessor (Maybe AccessorType)
Documentation
The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is subject to change. We recommend that you use this feature only with test scenarios, and not in production environments.
The properties of the Accessor.
See: newAccessor
smart constructor.
Accessor' | |
|
Instances
newAccessor :: Accessor Source #
Create a value of Accessor
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:Accessor'
, accessor_arn
- 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.
$sel:billingToken:Accessor'
, accessor_billingToken
- 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.
$sel:creationDate:Accessor'
, accessor_creationDate
- The creation date and time of the accessor.
$sel:id:Accessor'
, accessor_id
- The unique identifier of the accessor.
$sel:status:Accessor'
, accessor_status
- The current status of the accessor.
$sel:type':Accessor'
, accessor_type
- The type of the accessor.
Currently accessor type is restricted to BILLING_TOKEN
.
accessor_arn :: Lens' Accessor (Maybe Text) Source #
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.
accessor_billingToken :: Lens' Accessor (Maybe Text) Source #
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_creationDate :: Lens' Accessor (Maybe UTCTime) Source #
The creation date and time of the accessor.
accessor_status :: Lens' Accessor (Maybe AccessorStatus) Source #
The current status of the accessor.
accessor_type :: Lens' Accessor (Maybe AccessorType) Source #
The type of the accessor.
Currently accessor type is restricted to BILLING_TOKEN
.