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 |
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.
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.
Synopsis
- data GetAccessor = GetAccessor' {
- accessorId :: Text
- newGetAccessor :: Text -> GetAccessor
- getAccessor_accessorId :: Lens' GetAccessor Text
- data GetAccessorResponse = GetAccessorResponse' {
- accessor :: Maybe Accessor
- httpStatus :: Int
- newGetAccessorResponse :: Int -> GetAccessorResponse
- getAccessorResponse_accessor :: Lens' GetAccessorResponse (Maybe Accessor)
- getAccessorResponse_httpStatus :: Lens' GetAccessorResponse Int
Creating a Request
data GetAccessor Source #
See: newGetAccessor
smart constructor.
GetAccessor' | |
|
Instances
Create a value of GetAccessor
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:accessorId:GetAccessor'
, getAccessor_accessorId
- The unique identifier of the accessor.
Request Lenses
getAccessor_accessorId :: Lens' GetAccessor Text Source #
The unique identifier of the accessor.
Destructuring the Response
data GetAccessorResponse Source #
See: newGetAccessorResponse
smart constructor.
GetAccessorResponse' | |
|
Instances
newGetAccessorResponse Source #
Create a value of GetAccessorResponse
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:accessor:GetAccessorResponse'
, getAccessorResponse_accessor
- The properties of the accessor.
$sel:httpStatus:GetAccessorResponse'
, getAccessorResponse_httpStatus
- The response's http status code.
Response Lenses
getAccessorResponse_accessor :: Lens' GetAccessorResponse (Maybe Accessor) Source #
The properties of the accessor.
getAccessorResponse_httpStatus :: Lens' GetAccessorResponse Int Source #
The response's http status code.