aws-sdk-lexmodelbuilding 1.100.0

AWS SDK for Amazon Lex Model Building Service
Documentation
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_name(impl Into<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::bot_name) / [`set_bot_name(Option<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::set_bot_name):<br>required: **true**<br><p>The name of the bot that stored the utterances.</p><br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::set_user_id):<br>required: **true**<br><p>The unique identifier for the user that made the utterances. This is the user ID that was sent in the <a href="http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html">PostContent</a> or <a href="http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html">PostText</a> operation request that contained the utterance.</p><br>
    /// - On success, responds with [`DeleteUtterancesOutput`](crate::operation::delete_utterances::DeleteUtterancesOutput)
    /// - On failure, responds with [`SdkError<DeleteUtterancesError>`](crate::operation::delete_utterances::DeleteUtterancesError)
    #[deprecated(note = "Amazon Lex V1 is deprecated. Use Amazon Lex V2 instead.", since = "2025-09-08")]
    pub fn delete_utterances(&self) -> crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder {
        crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::new(self.handle.clone())
    }
}