put_recommendation_feedback

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

Request Syntax

response = client.put_recommendation_feedback(
    CodeReviewArn='string',
    RecommendationId='string',
    Reactions=[
        'ThumbsUp'|'ThumbsDown',
    ]
)
Parameters
  • CodeReviewArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the CodeReview object.

  • RecommendationId (string) --

    [REQUIRED]

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

  • Reactions (list) --

    [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) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • CodeGuruReviewer.Client.exceptions.ResourceNotFoundException
  • CodeGuruReviewer.Client.exceptions.InternalServerException
  • CodeGuruReviewer.Client.exceptions.ValidationException
  • CodeGuruReviewer.Client.exceptions.AccessDeniedException
  • CodeGuruReviewer.Client.exceptions.ThrottlingException