aws_sdk_codecommit/client/
put_comment_reaction.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`PutCommentReaction`](crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`comment_id(impl Into<String>)`](crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder::comment_id) / [`set_comment_id(Option<String>)`](crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder::set_comment_id):<br>required: **true**<br><p>The ID of the comment to which you want to add or update a reaction.</p><br>
7    ///   - [`reaction_value(impl Into<String>)`](crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder::reaction_value) / [`set_reaction_value(Option<String>)`](crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder::set_reaction_value):<br>required: **true**<br><p>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 <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table">CodeCommit User Guide</a>.</p><br>
8    /// - On success, responds with [`PutCommentReactionOutput`](crate::operation::put_comment_reaction::PutCommentReactionOutput)
9    /// - On failure, responds with [`SdkError<PutCommentReactionError>`](crate::operation::put_comment_reaction::PutCommentReactionError)
10    pub fn put_comment_reaction(&self) -> crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder {
11        crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder::new(self.handle.clone())
12    }
13}