Struct aws_sdk_lexmodelsv2::client::fluent_builders::DeleteUtterances [−][src]
pub struct DeleteUtterances<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }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
impl<C, M, R> DeleteUtterances<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteUtterances<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteUtterancesOutput, SdkError<DeleteUtterancesError>> where
R::Policy: SmithyRetryPolicy<DeleteUtterancesInputOperationOutputAlias, DeleteUtterancesOutput, DeleteUtterancesError, DeleteUtterancesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteUtterancesOutput, SdkError<DeleteUtterancesError>> where
R::Policy: SmithyRetryPolicy<DeleteUtterancesInputOperationOutputAlias, DeleteUtterancesOutput, DeleteUtterancesError, DeleteUtterancesInputOperationRetryAlias>,
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.
The unique identifier of the bot that contains the utterances.
The unique identifier of the bot that contains the utterances.
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.
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.
The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.
The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteUtterances<C, M, R>
impl<C, M, R> Send for DeleteUtterances<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteUtterances<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteUtterances<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteUtterances<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
