1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeBotLocale`](crate::operation::describe_bot_locale::builders::DescribeBotLocaleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_id(impl Into<String>)`](crate::operation::describe_bot_locale::builders::DescribeBotLocaleFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::describe_bot_locale::builders::DescribeBotLocaleFluentBuilder::set_bot_id):<br>required: **true**<br><p>The identifier of the bot associated with the locale.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::describe_bot_locale::builders::DescribeBotLocaleFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::describe_bot_locale::builders::DescribeBotLocaleFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot associated with the locale.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::describe_bot_locale::builders::DescribeBotLocaleFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::describe_bot_locale::builders::DescribeBotLocaleFluentBuilder::set_locale_id):<br>required: **true**<br><p>The unique identifier of the locale to describe. 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 [`DescribeBotLocaleOutput`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::bot_id): <p>The identifier of the bot associated with the locale.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::bot_version): <p>The version of the bot associated with the locale.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::locale_id): <p>The unique identifier of the described locale.</p>
    ///   - [`locale_name(Option<String>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::locale_name): <p>The name of the locale.</p>
    ///   - [`description(Option<String>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::description): <p>The description of the locale.</p>
    ///   - [`nlu_intent_confidence_threshold(Option<f64>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::nlu_intent_confidence_threshold): <p>The 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>
    ///   - [`voice_settings(Option<VoiceSettings>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::voice_settings): <p>The Amazon Polly voice Amazon Lex uses for voice interaction with the user.</p>
    ///   - [`intents_count(Option<i32>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::intents_count): <p>The number of intents defined for the locale.</p>
    ///   - [`slot_types_count(Option<i32>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::slot_types_count): <p>The number of slot types defined for the locale.</p>
    ///   - [`bot_locale_status(Option<BotLocaleStatus>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::bot_locale_status): <p>The status of the bot. If the status is <code>Failed</code>, the reasons for the failure are listed in the <code>failureReasons</code> field.</p>
    ///   - [`failure_reasons(Option<Vec::<String>>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::failure_reasons): <p>if <code>botLocaleStatus</code> is <code>Failed</code>, Amazon Lex explains why it failed to build the bot.</p>
    ///   - [`creation_date_time(Option<DateTime>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::creation_date_time): <p>The date and time that the locale was created.</p>
    ///   - [`last_updated_date_time(Option<DateTime>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::last_updated_date_time): <p>The date and time that the locale was last updated.</p>
    ///   - [`last_build_submitted_date_time(Option<DateTime>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::last_build_submitted_date_time): <p>The date and time that the locale was last submitted for building.</p>
    ///   - [`bot_locale_history_events(Option<Vec::<BotLocaleHistoryEvent>>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::bot_locale_history_events): <p>History of changes, such as when a locale is used in an alias, that have taken place for the locale.</p>
    ///   - [`recommended_actions(Option<Vec::<String>>)`](crate::operation::describe_bot_locale::DescribeBotLocaleOutput::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::describe_bot_locale::DescribeBotLocaleOutput::generative_ai_settings): <p>Contains settings for Amazon Bedrock's generative AI features for your bot locale.</p>
    /// - On failure, responds with [`SdkError<DescribeBotLocaleError>`](crate::operation::describe_bot_locale::DescribeBotLocaleError)
    pub fn describe_bot_locale(&self) -> crate::operation::describe_bot_locale::builders::DescribeBotLocaleFluentBuilder {
        crate::operation::describe_bot_locale::builders::DescribeBotLocaleFluentBuilder::new(self.handle.clone())
    }
}