ManagedBlockchain / Client / reject_invitation

reject_invitation#

ManagedBlockchain.Client.reject_invitation(**kwargs)#

Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services account that has received an invitation to create a member and join a network.

Applies only to Hyperledger Fabric.

See also: AWS API Documentation

Request Syntax

response = client.reject_invitation(
    InvitationId='string'
)
Parameters:

InvitationId (string) –

[REQUIRED]

The unique identifier of the invitation to reject.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ManagedBlockchain.Client.exceptions.InvalidRequestException

  • ManagedBlockchain.Client.exceptions.IllegalActionException

  • ManagedBlockchain.Client.exceptions.AccessDeniedException

  • ManagedBlockchain.Client.exceptions.ResourceNotFoundException

  • ManagedBlockchain.Client.exceptions.ThrottlingException

  • ManagedBlockchain.Client.exceptions.InternalServiceErrorException