Smaws_Client_CodeCommit.PutCommentReactionAdds 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CommentDeletedException of Types.comment_deleted_exception
| `CommentDoesNotExistException of Types.comment_does_not_exist_exception
| `CommentIdRequiredException of Types.comment_id_required_exception
| `InvalidCommentIdException of Types.invalid_comment_id_exception
| `InvalidReactionValueException of Types.invalid_reaction_value_exception
| `ReactionLimitExceededException of Types.reaction_limit_exceeded_exception
| `ReactionValueRequiredException of Types.reaction_value_required_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_comment_reaction_input ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `CommentDeletedException of Types.comment_deleted_exception
| `CommentDoesNotExistException of Types.comment_does_not_exist_exception
| `CommentIdRequiredException of Types.comment_id_required_exception
| `InvalidCommentIdException of Types.invalid_comment_id_exception
| `InvalidReactionValueException of Types.invalid_reaction_value_exception
| `ReactionLimitExceededException of
Types.reaction_limit_exceeded_exception
| `ReactionValueRequiredException of
Types.reaction_value_required_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.put_comment_reaction_input ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `CommentDeletedException of Types.comment_deleted_exception
| `CommentDoesNotExistException of Types.comment_does_not_exist_exception
| `CommentIdRequiredException of Types.comment_id_required_exception
| `InvalidCommentIdException of Types.invalid_comment_id_exception
| `InvalidReactionValueException of Types.invalid_reaction_value_exception
| `ReactionLimitExceededException of
Types.reaction_limit_exceeded_exception
| `ReactionValueRequiredException of
Types.reaction_value_required_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result