ManagedBlockchain / Client / delete_member
delete_member#
- ManagedBlockchain.Client.delete_member(**kwargs)#
Deletes a member. Deleting a member removes the member and all associated resources from the network.
DeleteMembercan only be called for a specifiedMemberIdif the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, theDeleteMemberaction is carried out as the result of an approved proposal to remove a member. IfMemberIdis the last member in a network specified by the last Amazon Web Services account, the network is deleted also.Applies only to Hyperledger Fabric.
See also: AWS API Documentation
Request Syntax
response = client.delete_member( NetworkId='string', MemberId='string' )
- Parameters:
NetworkId (string) –
[REQUIRED]
The unique identifier of the network from which the member is removed.
MemberId (string) –
[REQUIRED]
The unique identifier of the member to remove.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
ManagedBlockchain.Client.exceptions.InvalidRequestExceptionManagedBlockchain.Client.exceptions.AccessDeniedExceptionManagedBlockchain.Client.exceptions.ResourceNotFoundExceptionManagedBlockchain.Client.exceptions.ResourceNotReadyExceptionManagedBlockchain.Client.exceptions.ThrottlingExceptionManagedBlockchain.Client.exceptions.InternalServiceErrorException