accept_invitation

Detective.Client.accept_invitation(**kwargs)

Accepts an invitation for the member account to contribute data to a behavior graph. This operation can only be called by an invited member account.

The request provides the ARN of behavior graph.

The member account status in the graph must be INVITED .

See also: AWS API Documentation

Request Syntax

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

[REQUIRED]

The ARN of the behavior graph that the member account is accepting the invitation for.

The member account 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