1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateDefaultVocabulary`](crate::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder::set_instance_id): <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
    ///   - [`language_code(VocabularyLanguageCode)`](crate::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder::language_code) / [`set_language_code(Option<VocabularyLanguageCode>)`](crate::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder::set_language_code): <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a> </p>
    ///   - [`vocabulary_id(impl Into<String>)`](crate::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder::vocabulary_id) / [`set_vocabulary_id(Option<String>)`](crate::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder::set_vocabulary_id): <p>The identifier of the custom vocabulary. If this is empty, the default is set to none.</p>
    /// - On success, responds with [`AssociateDefaultVocabularyOutput`](crate::operation::associate_default_vocabulary::AssociateDefaultVocabularyOutput)
    /// - On failure, responds with [`SdkError<AssociateDefaultVocabularyError>`](crate::operation::associate_default_vocabulary::AssociateDefaultVocabularyError)
    pub fn associate_default_vocabulary(&self) -> crate::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder{
        crate::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder::new(self.handle.clone())
    }
}