aws_sdk_lexmodelbuilding/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_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>
7 /// - [`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>
8 /// - On success, responds with [`DeleteUtterancesOutput`](crate::operation::delete_utterances::DeleteUtterancesOutput)
9 /// - On failure, responds with [`SdkError<DeleteUtterancesError>`](crate::operation::delete_utterances::DeleteUtterancesError)
10 pub fn delete_utterances(&self) -> crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder {
11 crate::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder::new(self.handle.clone())
12 }
13}