// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`BuildBotLocale`](crate::operation::build_bot_locale::builders::BuildBotLocaleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`bot_id(impl Into<String>)`](crate::operation::build_bot_locale::builders::BuildBotLocaleFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::build_bot_locale::builders::BuildBotLocaleFluentBuilder::set_bot_id):<br>required: **true**<br><p>The identifier of the bot to build. The identifier is returned in the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html">CreateBot</a> operation.</p><br>
/// - [`bot_version(impl Into<String>)`](crate::operation::build_bot_locale::builders::BuildBotLocaleFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::build_bot_locale::builders::BuildBotLocaleFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot to build. This can only be the draft version of the bot.</p><br>
/// - [`locale_id(impl Into<String>)`](crate::operation::build_bot_locale::builders::BuildBotLocaleFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::build_bot_locale::builders::BuildBotLocaleFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. 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 [`BuildBotLocaleOutput`](crate::operation::build_bot_locale::BuildBotLocaleOutput) with field(s):
/// - [`bot_id(Option<String>)`](crate::operation::build_bot_locale::BuildBotLocaleOutput::bot_id): <p>The identifier of the specified bot.</p>
/// - [`bot_version(Option<String>)`](crate::operation::build_bot_locale::BuildBotLocaleOutput::bot_version): <p>The version of the bot that was built. This is only the draft version of the bot.</p>
/// - [`locale_id(Option<String>)`](crate::operation::build_bot_locale::BuildBotLocaleOutput::locale_id): <p>The language and locale specified of where the bot can be used.</p>
/// - [`bot_locale_status(Option<BotLocaleStatus>)`](crate::operation::build_bot_locale::BuildBotLocaleOutput::bot_locale_status): <p>The bot's build status. When the status is <code>ReadyExpressTesting</code> you can test the bot using the utterances defined for the intents and slot types. When the status is <code>Built</code>, the bot is ready for use and can be tested using any utterance.</p>
/// - [`last_build_submitted_date_time(Option<DateTime>)`](crate::operation::build_bot_locale::BuildBotLocaleOutput::last_build_submitted_date_time): <p>A timestamp indicating the date and time that the bot was last built for this locale.</p>
/// - On failure, responds with [`SdkError<BuildBotLocaleError>`](crate::operation::build_bot_locale::BuildBotLocaleError)
pub fn build_bot_locale(&self) -> crate::operation::build_bot_locale::builders::BuildBotLocaleFluentBuilder {
crate::operation::build_bot_locale::builders::BuildBotLocaleFluentBuilder::new(self.handle.clone())
}
}