:doc:`GuardDuty <../../guardduty>` / Client / update_findings_feedback

************************
update_findings_feedback
************************



.. py:method:: GuardDuty.Client.update_findings_feedback(**kwargs)

  

  Marks the specified GuardDuty findings as useful or not useful.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback>`_  


  **Request Syntax**
  ::

    response = client.update_findings_feedback(
        DetectorId='string',
        FindingIds=[
            'string',
        ],
        Feedback='USEFUL'|'NOT_USEFUL',
        Comments='string'
    )
    
  :type DetectorId: string
  :param DetectorId: **[REQUIRED]** 

    The ID of the detector that is associated with the findings for which you want to update the feedback.

     

    To find the ``detectorId`` in the current Region, see the Settings page in the GuardDuty console, or run the `ListDetectors <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html>`__ API.

    

  
  :type FindingIds: list
  :param FindingIds: **[REQUIRED]** 

    The IDs of the findings that you want to mark as useful or not useful.

    

  
    - *(string) --* 

    

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

    The feedback for the finding.

    

  
  :type Comments: string
  :param Comments: 

    Additional feedback about the GuardDuty findings.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`GuardDuty.Client.exceptions.BadRequestException`

  
  *   :py:class:`GuardDuty.Client.exceptions.InternalServerErrorException`

  