aws_sdk_kendra/client/
delete_faq.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 [`DeleteFaq`](crate::operation::delete_faq::builders::DeleteFaqFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::delete_faq::builders::DeleteFaqFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_faq::builders::DeleteFaqFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the FAQ you want to remove.</p><br>
7    ///   - [`index_id(impl Into<String>)`](crate::operation::delete_faq::builders::DeleteFaqFluentBuilder::index_id) / [`set_index_id(Option<String>)`](crate::operation::delete_faq::builders::DeleteFaqFluentBuilder::set_index_id):<br>required: **true**<br><p>The identifier of the index for the FAQ.</p><br>
8    /// - On success, responds with [`DeleteFaqOutput`](crate::operation::delete_faq::DeleteFaqOutput)
9    /// - On failure, responds with [`SdkError<DeleteFaqError>`](crate::operation::delete_faq::DeleteFaqError)
10    pub fn delete_faq(&self) -> crate::operation::delete_faq::builders::DeleteFaqFluentBuilder {
11        crate::operation::delete_faq::builders::DeleteFaqFluentBuilder::new(self.handle.clone())
12    }
13}