aws-sdk-elementalinference 1.6.0

AWS SDK for AWS Elemental Inference
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDictionary`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the dictionary to update.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::set_name):<br>required: **false**<br><p>A new name for the dictionary. If not specified, the name is not changed.</p><br>
    ///   - [`language(DictionaryLanguage)`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::language) / [`set_language(Option<DictionaryLanguage>)`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::set_language):<br>required: **false**<br><p>A new language for the dictionary. If not specified, the language is not changed.</p><br>
    ///   - [`entries(impl Into<String>)`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::entries) / [`set_entries(Option<String>)`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::set_entries):<br>required: **false**<br><p>New dictionary entries. If not specified, the entries are not changed.</p><br>
    /// - On success, responds with [`UpdateDictionaryOutput`](crate::operation::update_dictionary::UpdateDictionaryOutput) with field(s):
    ///   - [`name(String)`](crate::operation::update_dictionary::UpdateDictionaryOutput::name): <p>The updated or original name of the dictionary.</p>
    ///   - [`arn(String)`](crate::operation::update_dictionary::UpdateDictionaryOutput::arn): <p>The ARN of the dictionary.</p>
    ///   - [`id(String)`](crate::operation::update_dictionary::UpdateDictionaryOutput::id): <p>The ID of the dictionary.</p>
    ///   - [`language(DictionaryLanguage)`](crate::operation::update_dictionary::UpdateDictionaryOutput::language): <p>The updated or original language of the dictionary.</p>
    ///   - [`status(DictionaryStatus)`](crate::operation::update_dictionary::UpdateDictionaryOutput::status): <p>The current status of the dictionary.</p>
    ///   - [`references(Option<Vec::<String>>)`](crate::operation::update_dictionary::UpdateDictionaryOutput::references): <p>A list of feed IDs that reference this dictionary.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_dictionary::UpdateDictionaryOutput::tags): <p>Any tags associated with the dictionary.</p>
    /// - On failure, responds with [`SdkError<UpdateDictionaryError>`](crate::operation::update_dictionary::UpdateDictionaryError)
    pub fn update_dictionary(&self) -> crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder {
        crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::new(self.handle.clone())
    }
}