reject_invitation

Detective.Client.reject_invitation(**kwargs)

Rejects an invitation to contribute the account data to a behavior graph. This operation must be called by an invited member account that has the INVITED status.

RejectInvitation cannot be called by an organization account in the organization behavior graph. In the organization behavior graph, organization accounts do not receive an invitation.

See also: AWS API Documentation

Request Syntax

response = client.reject_invitation(
    GraphArn='string'
)
Parameters
GraphArn (string) --

[REQUIRED]

The ARN of the behavior graph to reject the invitation to.

The member account's current member status in the behavior graph must be INVITED .

Returns
None

Exceptions

  • Detective.Client.exceptions.AccessDeniedException
  • Detective.Client.exceptions.ConflictException
  • Detective.Client.exceptions.InternalServerException
  • Detective.Client.exceptions.ResourceNotFoundException
  • Detective.Client.exceptions.ValidationException