1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeVocabulary`](crate::operation::describe_vocabulary::builders::DescribeVocabularyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::describe_vocabulary::builders::DescribeVocabularyFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::describe_vocabulary::builders::DescribeVocabularyFluentBuilder::set_instance_id): <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
    ///   - [`vocabulary_id(impl Into<String>)`](crate::operation::describe_vocabulary::builders::DescribeVocabularyFluentBuilder::vocabulary_id) / [`set_vocabulary_id(Option<String>)`](crate::operation::describe_vocabulary::builders::DescribeVocabularyFluentBuilder::set_vocabulary_id): <p>The identifier of the custom vocabulary.</p>
    /// - On success, responds with [`DescribeVocabularyOutput`](crate::operation::describe_vocabulary::DescribeVocabularyOutput) with field(s):
    ///   - [`vocabulary(Option<Vocabulary>)`](crate::operation::describe_vocabulary::DescribeVocabularyOutput::vocabulary): <p>A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns.</p>
    /// - On failure, responds with [`SdkError<DescribeVocabularyError>`](crate::operation::describe_vocabulary::DescribeVocabularyError)
    pub fn describe_vocabulary(
        &self,
    ) -> crate::operation::describe_vocabulary::builders::DescribeVocabularyFluentBuilder {
        crate::operation::describe_vocabulary::builders::DescribeVocabularyFluentBuilder::new(
            self.handle.clone(),
        )
    }
}