ManagedBlockchain / Client / update_member

update_member#

ManagedBlockchain.Client.update_member(**kwargs)#

Updates a member configuration with new parameters.

Applies only to Hyperledger Fabric.

See also: AWS API Documentation

Request Syntax

response = client.update_member(
    NetworkId='string',
    MemberId='string',
    LogPublishingConfiguration={
        'Fabric': {
            'CaLogs': {
                'Cloudwatch': {
                    'Enabled': True|False
                }
            }
        }
    }
)
Parameters:
  • NetworkId (string) –

    [REQUIRED]

    The unique identifier of the Managed Blockchain network to which the member belongs.

  • MemberId (string) –

    [REQUIRED]

    The unique identifier of the member.

  • LogPublishingConfiguration (dict) –

    Configuration properties for publishing to Amazon CloudWatch Logs.

    • Fabric (dict) –

      Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.

      • CaLogs (dict) –

        Configuration properties for logging events associated with a member’s Certificate Authority (CA). CA logs help you determine when a member in your account joins the network, or when new peers register with a member CA.

        • 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

  • ManagedBlockchain.Client.exceptions.InvalidRequestException

  • ManagedBlockchain.Client.exceptions.AccessDeniedException

  • ManagedBlockchain.Client.exceptions.ResourceNotFoundException

  • ManagedBlockchain.Client.exceptions.ThrottlingException

  • ManagedBlockchain.Client.exceptions.InternalServiceErrorException