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 |
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.
UpdateNode' | |
|
Instances
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:
$sel:logPublishingConfiguration:UpdateNode'
, updateNode_logPublishingConfiguration
- Configuration properties for publishing to Amazon CloudWatch Logs.
$sel:memberId:UpdateNode'
, updateNode_memberId
- The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric.
$sel:networkId: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.
UpdateNodeResponse' | |
|
Instances
newUpdateNodeResponse Source #
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.