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 a list of the accessors and their properties. Accessor objects are containers that have the information required for token based access to your Ethereum nodes.
This operation returns paginated results.
Synopsis
- data ListAccessors = ListAccessors' {}
- newListAccessors :: ListAccessors
- listAccessors_maxResults :: Lens' ListAccessors (Maybe Natural)
- listAccessors_nextToken :: Lens' ListAccessors (Maybe Text)
- data ListAccessorsResponse = ListAccessorsResponse' {
- accessors :: Maybe [AccessorSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAccessorsResponse :: Int -> ListAccessorsResponse
- listAccessorsResponse_accessors :: Lens' ListAccessorsResponse (Maybe [AccessorSummary])
- listAccessorsResponse_nextToken :: Lens' ListAccessorsResponse (Maybe Text)
- listAccessorsResponse_httpStatus :: Lens' ListAccessorsResponse Int
Creating a Request
data ListAccessors Source #
See: newListAccessors
smart constructor.
Instances
newListAccessors :: ListAccessors Source #
Create a value of ListAccessors
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:maxResults:ListAccessors'
, listAccessors_maxResults
- The maximum number of accessors to list.
ListAccessors
, listAccessors_nextToken
- The pagination token that indicates the next set of results to retrieve.
Request Lenses
listAccessors_maxResults :: Lens' ListAccessors (Maybe Natural) Source #
The maximum number of accessors to list.
listAccessors_nextToken :: Lens' ListAccessors (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
Destructuring the Response
data ListAccessorsResponse Source #
See: newListAccessorsResponse
smart constructor.
ListAccessorsResponse' | |
|
Instances
newListAccessorsResponse Source #
Create a value of ListAccessorsResponse
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:accessors:ListAccessorsResponse'
, listAccessorsResponse_accessors
- An array of AccessorSummary objects that contain configuration
properties for each accessor.
ListAccessors
, listAccessorsResponse_nextToken
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListAccessorsResponse'
, listAccessorsResponse_httpStatus
- The response's http status code.
Response Lenses
listAccessorsResponse_accessors :: Lens' ListAccessorsResponse (Maybe [AccessorSummary]) Source #
An array of AccessorSummary objects that contain configuration properties for each accessor.
listAccessorsResponse_nextToken :: Lens' ListAccessorsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
listAccessorsResponse_httpStatus :: Lens' ListAccessorsResponse Int Source #
The response's http status code.