put_comment_reaction
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.put_comment_reaction(
commentId='string',
reactionValue='string'
)
[REQUIRED]
The ID of the comment to which you want to add or update a reaction.
[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 AWS CodeCommit User Guide.
None
Exceptions
CodeCommit.Client.exceptions.CommentDoesNotExistException
CodeCommit.Client.exceptions.CommentIdRequiredException
CodeCommit.Client.exceptions.InvalidCommentIdException
CodeCommit.Client.exceptions.InvalidReactionValueException
CodeCommit.Client.exceptions.ReactionValueRequiredException
CodeCommit.Client.exceptions.ReactionLimitExceededException
CodeCommit.Client.exceptions.CommentDeletedException