| 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.GetNode
Description
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
Synopsis
- data GetNode = GetNode' {}
 - newGetNode :: Text -> Text -> GetNode
 - getNode_memberId :: Lens' GetNode (Maybe Text)
 - getNode_networkId :: Lens' GetNode Text
 - getNode_nodeId :: Lens' GetNode Text
 - data GetNodeResponse = GetNodeResponse' {
- node :: Maybe Node
 - httpStatus :: Int
 
 - newGetNodeResponse :: Int -> GetNodeResponse
 - getNodeResponse_node :: Lens' GetNodeResponse (Maybe Node)
 - getNodeResponse_httpStatus :: Lens' GetNodeResponse Int
 
Creating a Request
See: newGetNode smart constructor.
Constructors
| GetNode' | |
Instances
Create a value of GetNode 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:
GetNode, getNode_memberId - The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
GetNode, getNode_networkId - The unique identifier of the network that the node is on.
$sel:nodeId:GetNode', getNode_nodeId - The unique identifier of the node.
Request Lenses
getNode_memberId :: Lens' GetNode (Maybe Text) Source #
The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
getNode_networkId :: Lens' GetNode Text Source #
The unique identifier of the network that the node is on.
Destructuring the Response
data GetNodeResponse Source #
See: newGetNodeResponse smart constructor.
Constructors
| GetNodeResponse' | |
Fields 
  | |
Instances
Arguments
| :: Int | |
| -> GetNodeResponse | 
Create a value of GetNodeResponse 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:node:GetNodeResponse', getNodeResponse_node - Properties of the node configuration.
$sel:httpStatus:GetNodeResponse', getNodeResponse_httpStatus - The response's http status code.
Response Lenses
getNodeResponse_node :: Lens' GetNodeResponse (Maybe Node) Source #
Properties of the node configuration.
getNodeResponse_httpStatus :: Lens' GetNodeResponse Int Source #
The response's http status code.