aws_sdk_transcribe/client/
delete_vocabulary.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 [`DeleteVocabulary`](crate::operation::delete_vocabulary::builders::DeleteVocabularyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`vocabulary_name(impl Into<String>)`](crate::operation::delete_vocabulary::builders::DeleteVocabularyFluentBuilder::vocabulary_name) / [`set_vocabulary_name(Option<String>)`](crate::operation::delete_vocabulary::builders::DeleteVocabularyFluentBuilder::set_vocabulary_name):<br>required: **true**<br><p>The name of the custom vocabulary you want to delete. Custom vocabulary names are case sensitive.</p><br>
7    /// - On success, responds with [`DeleteVocabularyOutput`](crate::operation::delete_vocabulary::DeleteVocabularyOutput)
8    /// - On failure, responds with [`SdkError<DeleteVocabularyError>`](crate::operation::delete_vocabulary::DeleteVocabularyError)
9    pub fn delete_vocabulary(&self) -> crate::operation::delete_vocabulary::builders::DeleteVocabularyFluentBuilder {
10        crate::operation::delete_vocabulary::builders::DeleteVocabularyFluentBuilder::new(self.handle.clone())
11    }
12}