Struct aws_sdk_lexmodelsv2::operation::delete_utterances::builders::DeleteUtterancesFluentBuilder
source · pub struct DeleteUtterancesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteUtterances.
Deletes stored utterances.
Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..
Use the DeleteUtterances operation to manually delete utterances for a specific session. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances operation are deleted after 15 days.
Implementations§
source§impl DeleteUtterancesFluentBuilder
impl DeleteUtterancesFluentBuilder
sourcepub fn as_input(&self) -> &DeleteUtterancesInputBuilder
pub fn as_input(&self) -> &DeleteUtterancesInputBuilder
Access the DeleteUtterances as a reference.
sourcepub async fn send(
self
) -> Result<DeleteUtterancesOutput, SdkError<DeleteUtterancesError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteUtterancesOutput, SdkError<DeleteUtterancesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteUtterancesOutput, DeleteUtterancesError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteUtterancesOutput, DeleteUtterancesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot that contains the utterances.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The unique identifier of the bot that contains the utterances.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The unique identifier of the bot that contains the utterances.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
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 Supported languages.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
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 Supported languages.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
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 Supported languages.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.
Trait Implementations§
source§impl Clone for DeleteUtterancesFluentBuilder
impl Clone for DeleteUtterancesFluentBuilder
source§fn clone(&self) -> DeleteUtterancesFluentBuilder
fn clone(&self) -> DeleteUtterancesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more