1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteUtterances`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteUtterancesOutput`](crate::operation::delete_utterances::DeleteUtterancesOutput)
    /// - On failure, responds with [`SdkError<DeleteUtterancesError>`](crate::operation::delete_utterances::DeleteUtterancesError)
    pub fn delete_utterances(&self) -> crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder {
        crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::new(self.handle.clone())
    }
}