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.
Deletes an accessor that your Amazon Web Services account owns. An
accessor object is a container that has the information required for
token based access to your Ethereum nodes including, the
BILLING_TOKEN
. After an accessor is deleted, the status of the
accessor changes from AVAILABLE
to PENDING_DELETION
. An accessor in
the PENDING_DELETION
state can’t be used for new WebSocket requests or
HTTP requests. However, WebSocket connections that were initiated while
the accessor was in the AVAILABLE
state remain open until they expire
(up to 2 hours).
Synopsis
- data DeleteAccessor = DeleteAccessor' {
- accessorId :: Text
- newDeleteAccessor :: Text -> DeleteAccessor
- deleteAccessor_accessorId :: Lens' DeleteAccessor Text
- data DeleteAccessorResponse = DeleteAccessorResponse' {
- httpStatus :: Int
- newDeleteAccessorResponse :: Int -> DeleteAccessorResponse
- deleteAccessorResponse_httpStatus :: Lens' DeleteAccessorResponse Int
Creating a Request
data DeleteAccessor Source #
See: newDeleteAccessor
smart constructor.
DeleteAccessor' | |
|
Instances
Create a value of DeleteAccessor
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:DeleteAccessor'
, deleteAccessor_accessorId
- The unique identifier of the accessor.
Request Lenses
deleteAccessor_accessorId :: Lens' DeleteAccessor Text Source #
The unique identifier of the accessor.
Destructuring the Response
data DeleteAccessorResponse Source #
See: newDeleteAccessorResponse
smart constructor.
DeleteAccessorResponse' | |
|
Instances
newDeleteAccessorResponse Source #
Create a value of DeleteAccessorResponse
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:httpStatus:DeleteAccessorResponse'
, deleteAccessorResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAccessorResponse_httpStatus :: Lens' DeleteAccessorResponse Int Source #
The response's http status code.