aws_sdk_qbusiness/client/put_feedback.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 [`PutFeedback`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_id(impl Into<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the application associated with the feedback.</p><br>
7 /// - [`user_id(impl Into<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_user_id):<br>required: **false**<br><p>The identifier of the user giving the feedback.</p><br>
8 /// - [`conversation_id(impl Into<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::conversation_id) / [`set_conversation_id(Option<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_conversation_id):<br>required: **true**<br><p>The identifier of the conversation the feedback is attached to.</p><br>
9 /// - [`message_id(impl Into<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::message_id) / [`set_message_id(Option<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_message_id):<br>required: **true**<br><p>The identifier of the chat message that the feedback was given for.</p><br>
10 /// - [`message_copied_at(DateTime)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::message_copied_at) / [`set_message_copied_at(Option<DateTime>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_message_copied_at):<br>required: **false**<br><p>The timestamp for when the feedback was recorded.</p><br>
11 /// - [`message_usefulness(MessageUsefulnessFeedback)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::message_usefulness) / [`set_message_usefulness(Option<MessageUsefulnessFeedback>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_message_usefulness):<br>required: **false**<br><p>The feedback usefulness value given by the user to the chat message.</p><br>
12 /// - On success, responds with [`PutFeedbackOutput`](crate::operation::put_feedback::PutFeedbackOutput)
13 /// - On failure, responds with [`SdkError<PutFeedbackError>`](crate::operation::put_feedback::PutFeedbackError)
14 pub fn put_feedback(&self) -> crate::operation::put_feedback::builders::PutFeedbackFluentBuilder {
15 crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::new(self.handle.clone())
16 }
17}