aws_sdk_connect/client/associate_default_vocabulary.rs
// 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):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`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):<br>required: **true**<br><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><br>
/// - [`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):<br>required: **false**<br><p>The identifier of the custom vocabulary. If this is empty, the default is set to none.</p><br>
/// - 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())
}
}