1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteCustomVocabulary`](crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteCustomVocabularyOutput`](crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyOutput) with field(s):
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`custom_vocabulary_status(Option<CustomVocabularyStatus>)`](crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyOutput::custom_vocabulary_status): <p>The status of removing the custom vocabulary.</p>
    /// - On failure, responds with [`SdkError<DeleteCustomVocabularyError>`](crate::operation::delete_custom_vocabulary::DeleteCustomVocabularyError)
    pub fn delete_custom_vocabulary(&self) -> crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder {
        crate::operation::delete_custom_vocabulary::builders::DeleteCustomVocabularyFluentBuilder::new(self.handle.clone())
    }
}