updateMember method
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
May throw AccessDeniedException.
May throw InternalServiceErrorException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter memberId :
The unique identifier of the member.
Parameter networkId :
The unique identifier of the Managed Blockchain network to which the
member belongs.
Parameter logPublishingConfiguration :
Configuration properties for publishing to Amazon CloudWatch Logs.
Implementation
Future<void> updateMember({
required String memberId,
required String networkId,
MemberLogPublishingConfiguration? logPublishingConfiguration,
}) async {
final $payload = <String, dynamic>{
if (logPublishingConfiguration != null)
'LogPublishingConfiguration': logPublishingConfiguration,
};
final response = await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri:
'/networks/${Uri.encodeComponent(networkId)}/members/${Uri.encodeComponent(memberId)}',
exceptionFnMap: _exceptionFns,
);
}