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

********************************
describe_recommendation_feedback
********************************



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

  

  Describes the customer feedback for a CodeGuru Reviewer recommendation.

  

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


  **Request Syntax**
  ::

    response = client.describe_recommendation_feedback(
        CodeReviewArn='string',
        RecommendationId='string',
        UserId='string'
    )
    
  :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 UserId: string
  :param UserId: 

    Optional parameter to describe the feedback for a given user. If this is not supplied, it defaults to the user making the request.

     

    The ``UserId`` is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see `Specifying a Principal <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying>`__ in the *Amazon Web Services Identity and Access Management User Guide*.

    

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

    
    ::

      {
          'RecommendationFeedback': {
              'CodeReviewArn': 'string',
              'RecommendationId': 'string',
              'Reactions': [
                  'ThumbsUp'|'ThumbsDown',
              ],
              'UserId': 'string',
              'CreatedTimeStamp': datetime(2015, 1, 1),
              'LastUpdatedTimeStamp': datetime(2015, 1, 1)
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RecommendationFeedback** *(dict) --* 

        The recommendation feedback given by the user.

        
        

        - **CodeReviewArn** *(string) --* 

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

          
        

        - **RecommendationId** *(string) --* 

          The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

          
        

        - **Reactions** *(list) --* 

          List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.

          
          

          - *(string) --* 
      
        

        - **UserId** *(string) --* 

          The ID of the user that made the API call.

           

          The ``UserId`` is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see `Specifying a Principal <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying>`__ in the *Amazon Web Services Identity and Access Management User Guide*.

          
        

        - **CreatedTimeStamp** *(datetime) --* 

          The time at which the feedback was created.

          
        

        - **LastUpdatedTimeStamp** *(datetime) --* 

          The time at which the feedback was last updated.

          
    
  
  **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`

  