aws_sdk_elementalinference/client/update_dictionary.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 [`UpdateDictionary`](crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - On success, responds with [`UpdateDictionaryOutput`](crate::operation::update_dictionary::UpdateDictionaryOutput) with field(s):
11 /// - [`name(String)`](crate::operation::update_dictionary::UpdateDictionaryOutput::name): <p>The updated or original name of the dictionary.</p>
12 /// - [`arn(String)`](crate::operation::update_dictionary::UpdateDictionaryOutput::arn): <p>The ARN of the dictionary.</p>
13 /// - [`id(String)`](crate::operation::update_dictionary::UpdateDictionaryOutput::id): <p>The ID of the dictionary.</p>
14 /// - [`language(DictionaryLanguage)`](crate::operation::update_dictionary::UpdateDictionaryOutput::language): <p>The updated or original language of the dictionary.</p>
15 /// - [`status(DictionaryStatus)`](crate::operation::update_dictionary::UpdateDictionaryOutput::status): <p>The current status of the dictionary.</p>
16 /// - [`references(Option<Vec::<String>>)`](crate::operation::update_dictionary::UpdateDictionaryOutput::references): <p>A list of feed IDs that reference this dictionary.</p>
17 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_dictionary::UpdateDictionaryOutput::tags): <p>Any tags associated with the dictionary.</p>
18 /// - On failure, responds with [`SdkError<UpdateDictionaryError>`](crate::operation::update_dictionary::UpdateDictionaryError)
19 pub fn update_dictionary(&self) -> crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder {
20 crate::operation::update_dictionary::builders::UpdateDictionaryFluentBuilder::new(self.handle.clone())
21 }
22}