1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutCommentReaction`](crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`PutCommentReactionOutput`](crate::operation::put_comment_reaction::PutCommentReactionOutput)
    /// - On failure, responds with [`SdkError<PutCommentReactionError>`](crate::operation::put_comment_reaction::PutCommentReactionError)
    pub fn put_comment_reaction(&self) -> crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder {
        crate::operation::put_comment_reaction::builders::PutCommentReactionFluentBuilder::new(self.handle.clone())
    }
}