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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeBotRecommendation`](crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_id(impl Into<String>)`](crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot associated with the bot recommendation.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot associated with the bot recommendation.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale of the bot recommendation 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>
    ///   - [`bot_recommendation_id(impl Into<String>)`](crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder::bot_recommendation_id) / [`set_bot_recommendation_id(Option<String>)`](crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder::set_bot_recommendation_id):<br>required: **true**<br><p>The identifier of the bot recommendation to describe.</p><br>
    /// - On success, responds with [`DescribeBotRecommendationOutput`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::bot_id): <p>The identifier of the bot associated with the bot recommendation.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::bot_version): <p>The version of the bot associated with the bot recommendation.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::locale_id): <p>The identifier of the language and locale of the bot recommendation to describe.</p>
    ///   - [`bot_recommendation_status(Option<BotRecommendationStatus>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::bot_recommendation_status): <p>The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.</p>
    ///   - [`bot_recommendation_id(Option<String>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::bot_recommendation_id): <p>The identifier of the bot recommendation being described.</p>
    ///   - [`failure_reasons(Option<Vec::<String>>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::failure_reasons): <p>If botRecommendationStatus is Failed, Amazon Lex explains why.</p>
    ///   - [`creation_date_time(Option<DateTime>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::creation_date_time): <p>The date and time that the bot recommendation was created.</p>
    ///   - [`last_updated_date_time(Option<DateTime>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::last_updated_date_time): <p>The date and time that the bot recommendation was last updated.</p>
    ///   - [`transcript_source_setting(Option<TranscriptSourceSetting>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::transcript_source_setting): <p>The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.</p>
    ///   - [`encryption_setting(Option<EncryptionSetting>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::encryption_setting): <p>The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.</p>
    ///   - [`bot_recommendation_results(Option<BotRecommendationResults>)`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationOutput::bot_recommendation_results): <p>The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.</p>
    /// - On failure, responds with [`SdkError<DescribeBotRecommendationError>`](crate::operation::describe_bot_recommendation::DescribeBotRecommendationError)
    pub fn describe_bot_recommendation(&self) -> crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder {
        crate::operation::describe_bot_recommendation::builders::DescribeBotRecommendationFluentBuilder::new(self.handle.clone())
    }
}