:doc:`AccessAnalyzer <../../accessanalyzer>` / Client / update_findings

***************
update_findings
***************



.. py:method:: AccessAnalyzer.Client.update_findings(**kwargs)

  

  Updates the status for the specified findings.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UpdateFindings>`_  


  **Request Syntax**
  ::

    response = client.update_findings(
        analyzerArn='string',
        status='ACTIVE'|'ARCHIVED',
        ids=[
            'string',
        ],
        resourceArn='string',
        clientToken='string'
    )
    
  :type analyzerArn: string
  :param analyzerArn: **[REQUIRED]** 

    The `ARN of the analyzer <https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources>`__ that generated the findings to update.

    

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

    The state represents the action to take to update the finding Status. Use ``ARCHIVE`` to change an Active finding to an Archived finding. Use ``ACTIVE`` to change an Archived finding to an Active finding.

    

  
  :type ids: list
  :param ids: 

    The IDs of the findings to update.

    

  
    - *(string) --* 

    

  :type resourceArn: string
  :param resourceArn: 

    The ARN of the resource identified in the finding.

    

  
  :type clientToken: string
  :param clientToken: 

    A client token.

    This field is autopopulated if not provided.

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`AccessAnalyzer.Client.exceptions.ResourceNotFoundException`

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

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

  
  *   :py:class:`AccessAnalyzer.Client.exceptions.ThrottlingException`

  
  *   :py:class:`AccessAnalyzer.Client.exceptions.AccessDeniedException`

  