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 [`DeleteBotLocale`](crate::operation::delete_bot_locale::builders::DeleteBotLocaleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_id(impl Into<String>)`](crate::operation::delete_bot_locale::builders::DeleteBotLocaleFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::delete_bot_locale::builders::DeleteBotLocaleFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot that contains the locale.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::delete_bot_locale::builders::DeleteBotLocaleFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::delete_bot_locale::builders::DeleteBotLocaleFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot that contains the locale.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::delete_bot_locale::builders::DeleteBotLocaleFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::delete_bot_locale::builders::DeleteBotLocaleFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale that will be deleted. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p><br>
    /// - On success, responds with [`DeleteBotLocaleOutput`](crate::operation::delete_bot_locale::DeleteBotLocaleOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::delete_bot_locale::DeleteBotLocaleOutput::bot_id): <p>The identifier of the bot that contained the deleted locale.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::delete_bot_locale::DeleteBotLocaleOutput::bot_version): <p>The version of the bot that contained the deleted locale.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::delete_bot_locale::DeleteBotLocaleOutput::locale_id): <p>The language and locale of the deleted locale.</p>
    ///   - [`bot_locale_status(Option<BotLocaleStatus>)`](crate::operation::delete_bot_locale::DeleteBotLocaleOutput::bot_locale_status): <p>The status of deleting the bot locale. The locale first enters the <code>Deleting</code> status. Once the locale is deleted it no longer appears in the list of locales for the bot.</p>
    /// - On failure, responds with [`SdkError<DeleteBotLocaleError>`](crate::operation::delete_bot_locale::DeleteBotLocaleError)
    pub fn delete_bot_locale(&self) -> crate::operation::delete_bot_locale::builders::DeleteBotLocaleFluentBuilder {
        crate::operation::delete_bot_locale::builders::DeleteBotLocaleFluentBuilder::new(self.handle.clone())
    }
}