Detective / Client / update_investigation_state

update_investigation_state#

Detective.Client.update_investigation_state(**kwargs)#

Updates the state of an investigation.

See also: AWS API Documentation

Request Syntax

response = client.update_investigation_state(
    GraphArn='string',
    InvestigationId='string',
    State='ACTIVE'|'ARCHIVED'
)
Parameters:
  • GraphArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the behavior graph.

  • InvestigationId (string) –

    [REQUIRED]

    The investigation ID of the investigation report.

  • State (string) –

    [REQUIRED]

    The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.

Returns:

None

Exceptions

  • Detective.Client.exceptions.AccessDeniedException

  • Detective.Client.exceptions.InternalServerException

  • Detective.Client.exceptions.ValidationException

  • Detective.Client.exceptions.ResourceNotFoundException

  • Detective.Client.exceptions.TooManyRequestsException