pub struct DeleteCustomVocabulary<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteCustomVocabulary.
Removes a custom vocabulary from the specified locale in the specified bot.
Implementations
impl<C, M, R> DeleteCustomVocabulary<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteCustomVocabulary<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteCustomVocabularyOutput, SdkError<DeleteCustomVocabularyError>> where
R::Policy: SmithyRetryPolicy<DeleteCustomVocabularyInputOperationOutputAlias, DeleteCustomVocabularyOutput, DeleteCustomVocabularyError, DeleteCustomVocabularyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteCustomVocabularyOutput, SdkError<DeleteCustomVocabularyError>> where
R::Policy: SmithyRetryPolicy<DeleteCustomVocabularyInputOperationOutputAlias, DeleteCustomVocabularyOutput, DeleteCustomVocabularyError, DeleteCustomVocabularyInputOperationRetryAlias>,
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 to remove the custom vocabulary from.
The unique identifier of the bot to remove the custom vocabulary from.
The version of the bot to remove the custom vocabulary from.
The version of the bot to remove the custom vocabulary from.
The locale identifier for the locale that contains the custom vocabulary to remove.
The locale identifier for the locale that contains the custom vocabulary to remove.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteCustomVocabulary<C, M, R>
impl<C, M, R> Send for DeleteCustomVocabulary<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteCustomVocabulary<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteCustomVocabulary<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteCustomVocabulary<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