ManagedBlockchain / Client / update_node

update_node#

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
                }
            }
        }
    }
)
Parameters:
  • NetworkId (string) –

    [REQUIRED]

    The unique identifier of the network that the node is on.

  • MemberId (string) –

    The unique identifier of the member that owns the node.

    Applies only to Hyperledger Fabric.

  • NodeId (string) –

    [REQUIRED]

    The unique identifier of the node.

  • LogPublishingConfiguration (dict) –

    Configuration properties for publishing to Amazon CloudWatch Logs.

    • Fabric (dict) –

      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.

      • ChaincodeLogs (dict) –

        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.

        • Cloudwatch (dict) –

          Parameters for publishing logs to Amazon CloudWatch Logs.

          • Enabled (boolean) –

            Indicates whether logging is enabled.

      • PeerLogs (dict) –

        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.

        • Cloudwatch (dict) –

          Parameters for publishing logs to Amazon CloudWatch Logs.

          • Enabled (boolean) –

            Indicates whether logging is enabled.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions