aws_sdk_lexmodelsv2/client/stop_bot_recommendation.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`StopBotRecommendation`](crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - On success, responds with [`StopBotRecommendationOutput`](crate::operation::stop_bot_recommendation::StopBotRecommendationOutput) with field(s):
11 /// - [`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>
12 /// - [`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>
13 /// - [`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>
14 /// - [`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>
15 /// - [`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>
16 /// - On failure, responds with [`SdkError<StopBotRecommendationError>`](crate::operation::stop_bot_recommendation::StopBotRecommendationError)
17 pub fn stop_bot_recommendation(&self) -> crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder {
18 crate::operation::stop_bot_recommendation::builders::StopBotRecommendationFluentBuilder::new(self.handle.clone())
19 }
20}