aws_sdk_lexmodelsv2/client/delete_custom_vocabulary.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 [`DeleteCustomVocabulary`](crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`bot_id(impl Into<String>)`](crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot to remove the custom vocabulary from.</p><br>
7 /// - [`bot_version(impl Into<String>)`](crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot to remove the custom vocabulary from.</p><br>
8 /// - [`locale_id(impl Into<String>)`](crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder::set_locale_id):<br>required: **true**<br><p>The locale identifier for the locale that contains the custom vocabulary to remove.</p><br>
9 /// - On success, responds with [`DeleteCustomVocabularyOutput`](crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyOutput) with field(s):
10 /// - [`bot_id(Option<String>)`](crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyOutput::bot_id): <p>The identifier of the bot that the custom vocabulary was removed from.</p>
11 /// - [`bot_version(Option<String>)`](crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyOutput::bot_version): <p>The version of the bot that the custom vocabulary was removed from.</p>
12 /// - [`locale_id(Option<String>)`](crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyOutput::locale_id): <p>The locale identifier for the locale that the custom vocabulary was removed from.</p>
13 /// - [`custom_vocabulary_status(Option<CustomVocabularyStatus>)`](crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyOutput::custom_vocabulary_status): <p>The status of removing the custom vocabulary.</p>
14 /// - On failure, responds with [`SdkError<DeleteCustomVocabularyError>`](crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyError)
15 pub fn delete_custom_vocabulary(&self) -> crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder {
16 crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder::new(self.handle.clone())
17 }
18}