:doc:`CodeGuruReviewer <../../codeguru-reviewer>` / Client / put_recommendation_feedback

***************************
put_recommendation_feedback
***************************



.. py:method:: CodeGuruReviewer.Client.put_recommendation_feedback(**kwargs)

  

  Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/PutRecommendationFeedback>`_  


  **Request Syntax**
  ::

    response = client.put_recommendation_feedback(
        CodeReviewArn='string',
        RecommendationId='string',
        Reactions=[
            'ThumbsUp'|'ThumbsDown',
        ]
    )
    
  :type CodeReviewArn: string
  :param CodeReviewArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the `CodeReview <https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html>`__ object.

    

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

    The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.

    

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

    List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CodeGuruReviewer.Client.exceptions.ResourceNotFoundException`

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

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

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

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

  