Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes a node that your AWS account owns. All data on the node is lost and cannot be recovered.
Applies to Hyperledger Fabric and Ethereum.
Synopsis
- data DeleteNode = DeleteNode' {}
- newDeleteNode :: Text -> Text -> DeleteNode
- deleteNode_memberId :: Lens' DeleteNode (Maybe Text)
- deleteNode_networkId :: Lens' DeleteNode Text
- deleteNode_nodeId :: Lens' DeleteNode Text
- data DeleteNodeResponse = DeleteNodeResponse' {
- httpStatus :: Int
- newDeleteNodeResponse :: Int -> DeleteNodeResponse
- deleteNodeResponse_httpStatus :: Lens' DeleteNodeResponse Int
Creating a Request
data DeleteNode Source #
See: newDeleteNode
smart constructor.
DeleteNode' | |
|
Instances
Create a value of DeleteNode
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:memberId:DeleteNode'
, deleteNode_memberId
- The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
$sel:networkId:DeleteNode'
, deleteNode_networkId
- The unique identifier of the network that the node is on.
Ethereum public networks have the following NetworkId
s:
n-ethereum-mainnet
n-ethereum-rinkeby
n-ethereum-ropsten
$sel:nodeId:DeleteNode'
, deleteNode_nodeId
- The unique identifier of the node.
Request Lenses
deleteNode_memberId :: Lens' DeleteNode (Maybe Text) Source #
The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
deleteNode_networkId :: Lens' DeleteNode Text Source #
The unique identifier of the network that the node is on.
Ethereum public networks have the following NetworkId
s:
n-ethereum-mainnet
n-ethereum-rinkeby
n-ethereum-ropsten
deleteNode_nodeId :: Lens' DeleteNode Text Source #
The unique identifier of the node.
Destructuring the Response
data DeleteNodeResponse Source #
See: newDeleteNodeResponse
smart constructor.
DeleteNodeResponse' | |
|
Instances
newDeleteNodeResponse Source #
Create a value of DeleteNodeResponse
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:DeleteNodeResponse'
, deleteNodeResponse_httpStatus
- The response's http status code.
Response Lenses
deleteNodeResponse_httpStatus :: Lens' DeleteNodeResponse Int Source #
The response's http status code.