| 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 | 
Amazonka.ManagedBlockChain.DeleteNode
Description
Deletes a node that your Amazon Web Services 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.
Constructors
| DeleteNode' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteNode | 
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:
DeleteNode, deleteNode_memberId - The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
DeleteNode, deleteNode_networkId - The unique identifier of the network that the node is on.
Ethereum public networks have the following NetworkIds:
n-ethereum-mainnet
n-ethereum-goerli
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 NetworkIds:
n-ethereum-mainnet
n-ethereum-goerli
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.
Constructors
| DeleteNodeResponse' | |
Fields 
  | |
Instances
newDeleteNodeResponse Source #
Arguments
| :: Int | |
| -> DeleteNodeResponse | 
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.