Detective / Client / delete_graph

delete_graph#

Detective.Client.delete_graph(**kwargs)#

Disables the specified behavior graph and queues it to be deleted. This operation removes the behavior graph from each member account’s list of behavior graphs.

DeleteGraph can only be called by the administrator account for a behavior graph.

See also: AWS API Documentation

Request Syntax

response = client.delete_graph(
    GraphArn='string'
)
Parameters:

GraphArn (string) –

[REQUIRED]

The ARN of the behavior graph to disable.

Returns:

None

Exceptions

  • Detective.Client.exceptions.AccessDeniedException

  • Detective.Client.exceptions.InternalServerException

  • Detective.Client.exceptions.ResourceNotFoundException

  • Detective.Client.exceptions.ValidationException