aws_sdk_lexmodelsv2/client/delete_utterances.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 [`DeleteUtterances`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`bot_id(impl Into<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot that contains the utterances.</p><br>
7 /// - [`locale_id(impl Into<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::set_locale_id):<br>required: **false**<br><p>The identifier of the language and locale where the utterances were collected. 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>
8 /// - [`session_id(impl Into<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::set_session_id):<br>required: **false**<br><p>The unique identifier of the session with the user. The ID is returned in the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeText.html">RecognizeText</a> and <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html">RecognizeUtterance</a> operations.</p><br>
9 /// - On success, responds with [`DeleteUtterancesOutput`](crate::operation::delete_utterances::DeleteUtterancesOutput)
10 /// - On failure, responds with [`SdkError<DeleteUtterancesError>`](crate::operation::delete_utterances::DeleteUtterancesError)
11 pub fn delete_utterances(&self) -> crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder {
12 crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::new(self.handle.clone())
13 }
14}