aws_sdk_lexmodelsv2/client/stop_bot_analyzer.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 [`StopBotAnalyzer`](crate::operation::stop_bot_analyzer::builders::StopBotAnalyzerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`bot_id(impl Into<String>)`](crate::operation::stop_bot_analyzer::builders::StopBotAnalyzerFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::stop_bot_analyzer::builders::StopBotAnalyzerFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot.</p><br>
7 /// - [`bot_analyzer_request_id(impl Into<String>)`](crate::operation::stop_bot_analyzer::builders::StopBotAnalyzerFluentBuilder::bot_analyzer_request_id) / [`set_bot_analyzer_request_id(Option<String>)`](crate::operation::stop_bot_analyzer::builders::StopBotAnalyzerFluentBuilder::set_bot_analyzer_request_id):<br>required: **true**<br><p>The unique identifier of the analysis request to stop.</p><br>
8 /// - On success, responds with [`StopBotAnalyzerOutput`](crate::operation::stop_bot_analyzer::StopBotAnalyzerOutput) with field(s):
9 /// - [`bot_id(Option<String>)`](crate::operation::stop_bot_analyzer::StopBotAnalyzerOutput::bot_id): <p>The unique identifier of the bot.</p>
10 /// - [`bot_version(Option<String>)`](crate::operation::stop_bot_analyzer::StopBotAnalyzerOutput::bot_version): <p>The version of the bot.</p>
11 /// - [`locale_id(Option<String>)`](crate::operation::stop_bot_analyzer::StopBotAnalyzerOutput::locale_id): <p>The locale identifier of the bot locale.</p>
12 /// - [`bot_analyzer_status(Option<BotAnalyzerStatus>)`](crate::operation::stop_bot_analyzer::StopBotAnalyzerOutput::bot_analyzer_status): <p>The updated status of the analysis. The status will be <code>Stopping</code> and will eventually transition to <code>Stopped</code>.</p> <p>Valid Values: <code>Processing | Available | Failed | Stopping | Stopped</code></p>
13 /// - [`bot_analyzer_request_id(Option<String>)`](crate::operation::stop_bot_analyzer::StopBotAnalyzerOutput::bot_analyzer_request_id): <p>The unique identifier of the analysis request.</p>
14 /// - On failure, responds with [`SdkError<StopBotAnalyzerError>`](crate::operation::stop_bot_analyzer::StopBotAnalyzerError)
15 pub fn stop_bot_analyzer(&self) -> crate::operation::stop_bot_analyzer::builders::StopBotAnalyzerFluentBuilder {
16 crate::operation::stop_bot_analyzer::builders::StopBotAnalyzerFluentBuilder::new(self.handle.clone())
17 }
18}