:doc:`Detective <../../detective>` / Client / update_investigation_state

**************************
update_investigation_state
**************************



.. py:method:: Detective.Client.update_investigation_state(**kwargs)

  

  Updates the state of an investigation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateInvestigationState>`_  


  **Request Syntax**
  ::

    response = client.update_investigation_state(
        GraphArn='string',
        InvestigationId='string',
        State='ACTIVE'|'ARCHIVED'
    )
    
  :type GraphArn: string
  :param GraphArn: **[REQUIRED]** 

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

    

  
  :type InvestigationId: string
  :param InvestigationId: **[REQUIRED]** 

    The investigation ID of the investigation report.

    

  
  :type State: string
  :param State: **[REQUIRED]** 

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

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Detective.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Detective.Client.exceptions.InternalServerException`

  
  *   :py:class:`Detective.Client.exceptions.ValidationException`

  
  *   :py:class:`Detective.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Detective.Client.exceptions.TooManyRequestsException`

  