ManagedBlockchain.Client.
update_node
(**kwargs)¶Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
See also: AWS API Documentation
Request Syntax
response = client.update_node(
NetworkId='string',
MemberId='string',
NodeId='string',
LogPublishingConfiguration={
'Fabric': {
'ChaincodeLogs': {
'Cloudwatch': {
'Enabled': True|False
}
},
'PeerLogs': {
'Cloudwatch': {
'Enabled': True|False
}
}
}
}
)
[REQUIRED]
The unique identifier of the network that the node is on.
The unique identifier of the member that owns the node.
Applies only to Hyperledger Fabric.
[REQUIRED]
The unique identifier of the node.
Configuration properties for publishing to Amazon CloudWatch Logs.
Configuration properties for logging events associated with a node that is owned by a member of a Managed Blockchain network using the Hyperledger Fabric framework.
Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.
Parameters for publishing logs to Amazon CloudWatch Logs.
Indicates whether logging is enabled.
Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.
Parameters for publishing logs to Amazon CloudWatch Logs.
Indicates whether logging is enabled.
dict
Response Syntax
{}
Response Structure
Exceptions
ManagedBlockchain.Client.exceptions.InvalidRequestException
ManagedBlockchain.Client.exceptions.AccessDeniedException
ManagedBlockchain.Client.exceptions.ResourceNotFoundException
ManagedBlockchain.Client.exceptions.ThrottlingException
ManagedBlockchain.Client.exceptions.InternalServiceErrorException