1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopBotRecommendation`](crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_id(impl Into<String>)`](crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot containing the bot recommendation to be stopped.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot containing the bot recommendation.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale of the bot recommendation to stop. 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::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::bot_recommendation_id) / [`set_bot_recommendation_id(Option<String>)`](crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::set_bot_recommendation_id):<br>required: **true**<br><p>The unique identifier of the bot recommendation to be stopped.</p><br>
    /// - On success, responds with [`StopBotRecommendationOutput`](crate::operation::stop_bot_recommendation::StopBotRecommendationOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::stop_bot_recommendation::StopBotRecommendationOutput::bot_id): <p>The unique identifier of the bot containing the bot recommendation that is being stopped.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::stop_bot_recommendation::StopBotRecommendationOutput::bot_version): <p>The version of the bot containing the recommendation that is being stopped.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::stop_bot_recommendation::StopBotRecommendationOutput::locale_id): <p>The identifier of the language and locale of the bot response to stop. 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>
    ///   - [`bot_recommendation_status(Option<BotRecommendationStatus>)`](crate::operation::stop_bot_recommendation::StopBotRecommendationOutput::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::stop_bot_recommendation::StopBotRecommendationOutput::bot_recommendation_id): <p>The unique identifier of the bot recommendation that is being stopped.</p>
    /// - On failure, responds with [`SdkError<StopBotRecommendationError>`](crate::operation::stop_bot_recommendation::StopBotRecommendationError)
    pub fn stop_bot_recommendation(&self) -> crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder {
        crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::new(self.handle.clone())
    }
}