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.
DeleteMember
can only be called for a specifiedMemberId
if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, theDeleteMember
action is carried out as the result of an approved proposal to remove a member. IfMemberId
is 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.InvalidRequestException
ManagedBlockchain.Client.exceptions.AccessDeniedException
ManagedBlockchain.Client.exceptions.ResourceNotFoundException
ManagedBlockchain.Client.exceptions.ResourceNotReadyException
ManagedBlockchain.Client.exceptions.ThrottlingException
ManagedBlockchain.Client.exceptions.InternalServiceErrorException