// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateBotLocale`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`bot_id(impl Into<String>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::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::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot that contains the locale to be updated. The version can only be the <code>DRAFT</code> version.</p><br>
/// - [`locale_id(impl Into<String>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale to update. 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>
/// - [`description(impl Into<String>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::set_description):<br>required: **false**<br><p>The new description of the locale.</p><br>
/// - [`nlu_intent_confidence_threshold(f64)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::nlu_intent_confidence_threshold) / [`set_nlu_intent_confidence_threshold(Option<f64>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::set_nlu_intent_confidence_threshold):<br>required: **true**<br><p>The new confidence threshold where Amazon Lex inserts the <code>AMAZON.FallbackIntent</code> and <code>AMAZON.KendraSearchIntent</code> intents in the list of possible intents for an utterance.</p><br>
/// - [`voice_settings(VoiceSettings)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::voice_settings) / [`set_voice_settings(Option<VoiceSettings>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::set_voice_settings):<br>required: **false**<br><p>The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.</p><br>
/// - [`generative_ai_settings(GenerativeAiSettings)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::generative_ai_settings) / [`set_generative_ai_settings(Option<GenerativeAiSettings>)`](crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::set_generative_ai_settings):<br>required: **false**<br><p>Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.</p><br>
/// - On success, responds with [`UpdateBotLocaleOutput`](crate::operation::update_bot_locale::UpdateBotLocaleOutput) with field(s):
/// - [`bot_id(Option<String>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::bot_id): <p>The identifier of the bot that contains the updated locale.</p>
/// - [`bot_version(Option<String>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::bot_version): <p>The version of the bot that contains the updated locale.</p>
/// - [`locale_id(Option<String>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::locale_id): <p>The language and locale of the updated bot locale.</p>
/// - [`locale_name(Option<String>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::locale_name): <p>The updated locale name for the locale.</p>
/// - [`description(Option<String>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::description): <p>The updated description of the locale.</p>
/// - [`nlu_intent_confidence_threshold(Option<f64>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::nlu_intent_confidence_threshold): <p>The updated confidence threshold for inserting the <code>AMAZON.FallbackIntent</code> and <code>AMAZON.KendraSearchIntent</code> intents in the list of possible intents for an utterance.</p>
/// - [`voice_settings(Option<VoiceSettings>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::voice_settings): <p>The updated Amazon Polly voice to use for voice interaction with the user.</p>
/// - [`bot_locale_status(Option<BotLocaleStatus>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::bot_locale_status): <p>The current status of the locale. When the bot status is <code>Built</code> the locale is ready for use.</p>
/// - [`failure_reasons(Option<Vec::<String>>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::failure_reasons): <p>If the <code>botLocaleStatus</code> is <code>Failed</code>, the <code>failureReasons</code> field lists the errors that occurred while building the bot.</p>
/// - [`creation_date_time(Option<DateTime>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::creation_date_time): <p>A timestamp of the date and time that the locale was created.</p>
/// - [`last_updated_date_time(Option<DateTime>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::last_updated_date_time): <p>A timestamp of the date and time that the locale was last updated.</p>
/// - [`recommended_actions(Option<Vec::<String>>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::recommended_actions): <p>Recommended actions to take to resolve an error in the <code>failureReasons</code> field.</p>
/// - [`generative_ai_settings(Option<GenerativeAiSettings>)`](crate::operation::update_bot_locale::UpdateBotLocaleOutput::generative_ai_settings): <p>Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.</p>
/// - On failure, responds with [`SdkError<UpdateBotLocaleError>`](crate::operation::update_bot_locale::UpdateBotLocaleError)
pub fn update_bot_locale(&self) -> crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder {
crate::operation::update_bot_locale::builders::UpdateBotLocaleFluentBuilder::new(self.handle.clone())
}
}