v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.

post/#X-Amz-Target=CodeCommit_20150413.PutCommentReaction

Headers

X-Amz-Target'CodeCommit_20150413.PutCommentReaction' required

Request body

commentIdstring required

The ID of the comment to which you want to add or update a reaction.

reactionValuestring required

The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none. For information about emoji reaction values supported in AWS CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table">AWS CodeCommit User Guide</a>.

Response

Success