aws_sdk_qbusiness/client/
delete_conversation.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 [`DeleteConversation`](crate::operation::delete_conversation::builders::DeleteConversationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`conversation_id(impl Into<String>)`](crate::operation::delete_conversation::builders::DeleteConversationFluentBuilder::conversation_id) / [`set_conversation_id(Option<String>)`](crate::operation::delete_conversation::builders::DeleteConversationFluentBuilder::set_conversation_id):<br>required: **true**<br><p>The identifier of the Amazon Q Business web experience conversation being deleted.</p><br>
7    ///   - [`application_id(impl Into<String>)`](crate::operation::delete_conversation::builders::DeleteConversationFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::delete_conversation::builders::DeleteConversationFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the Amazon Q Business application associated with the conversation.</p><br>
8    ///   - [`user_id(impl Into<String>)`](crate::operation::delete_conversation::builders::DeleteConversationFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::delete_conversation::builders::DeleteConversationFluentBuilder::set_user_id):<br>required: **false**<br><p>The identifier of the user who is deleting the conversation.</p><br>
9    /// - On success, responds with [`DeleteConversationOutput`](crate::operation::delete_conversation::DeleteConversationOutput)
10    /// - On failure, responds with [`SdkError<DeleteConversationError>`](crate::operation::delete_conversation::DeleteConversationError)
11    pub fn delete_conversation(&self) -> crate::operation::delete_conversation::builders::DeleteConversationFluentBuilder {
12        crate::operation::delete_conversation::builders::DeleteConversationFluentBuilder::new(self.handle.clone())
13    }
14}