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