Module Values.PutCommentReactionInputSource

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.

Sourcetype nonrec t = {
  1. commentId : CommentId.t;
    (*

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

    *)
  2. reactionValue : ReactionValue.t;
    (*

    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 CodeCommit, see the CodeCommit User Guide.

    *)
}
Sourceval context_ : string
Sourceval make : commentId:CommentId.t -> reactionValue:ReactionValue.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CommentId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t