| 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.UpdateNode
Description
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
Synopsis
- data UpdateNode = UpdateNode' {}
 - newUpdateNode :: Text -> Text -> UpdateNode
 - updateNode_logPublishingConfiguration :: Lens' UpdateNode (Maybe NodeLogPublishingConfiguration)
 - updateNode_memberId :: Lens' UpdateNode (Maybe Text)
 - updateNode_networkId :: Lens' UpdateNode Text
 - updateNode_nodeId :: Lens' UpdateNode Text
 - data UpdateNodeResponse = UpdateNodeResponse' {
- httpStatus :: Int
 
 - newUpdateNodeResponse :: Int -> UpdateNodeResponse
 - updateNodeResponse_httpStatus :: Lens' UpdateNodeResponse Int
 
Creating a Request
data UpdateNode Source #
See: newUpdateNode smart constructor.
Constructors
| UpdateNode' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateNode | 
Create a value of UpdateNode 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:
UpdateNode, updateNode_logPublishingConfiguration - Configuration properties for publishing to Amazon CloudWatch Logs.
UpdateNode, updateNode_memberId - The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric.
UpdateNode, updateNode_networkId - The unique identifier of the network that the node is on.
$sel:nodeId:UpdateNode', updateNode_nodeId - The unique identifier of the node.
Request Lenses
updateNode_logPublishingConfiguration :: Lens' UpdateNode (Maybe NodeLogPublishingConfiguration) Source #
Configuration properties for publishing to Amazon CloudWatch Logs.
updateNode_memberId :: Lens' UpdateNode (Maybe Text) Source #
The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric.
updateNode_networkId :: Lens' UpdateNode Text Source #
The unique identifier of the network that the node is on.
updateNode_nodeId :: Lens' UpdateNode Text Source #
The unique identifier of the node.
Destructuring the Response
data UpdateNodeResponse Source #
See: newUpdateNodeResponse smart constructor.
Constructors
| UpdateNodeResponse' | |
Fields 
  | |
Instances
newUpdateNodeResponse Source #
Arguments
| :: Int | |
| -> UpdateNodeResponse | 
Create a value of UpdateNodeResponse 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:UpdateNodeResponse', updateNodeResponse_httpStatus - The response's http status code.
Response Lenses
updateNodeResponse_httpStatus :: Lens' UpdateNodeResponse Int Source #
The response's http status code.