aws_sdk_elementalinference/client/get_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 [`GetDictionary`](crate::operation::get_dictionary::builders::GetDictionaryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::get_dictionary::builders::GetDictionaryFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_dictionary::builders::GetDictionaryFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the dictionary to retrieve.</p><br>
7 /// - On success, responds with [`GetDictionaryOutput`](crate::operation::get_dictionary::GetDictionaryOutput) with field(s):
8 /// - [`name(String)`](crate::operation::get_dictionary::GetDictionaryOutput::name): <p>The name of the dictionary.</p>
9 /// - [`arn(String)`](crate::operation::get_dictionary::GetDictionaryOutput::arn): <p>The ARN of the dictionary.</p>
10 /// - [`id(String)`](crate::operation::get_dictionary::GetDictionaryOutput::id): <p>The ID of the dictionary.</p>
11 /// - [`language(DictionaryLanguage)`](crate::operation::get_dictionary::GetDictionaryOutput::language): <p>The language of the dictionary.</p>
12 /// - [`status(DictionaryStatus)`](crate::operation::get_dictionary::GetDictionaryOutput::status): <p>The current status of the dictionary.</p>
13 /// - [`references(Option<Vec::<String>>)`](crate::operation::get_dictionary::GetDictionaryOutput::references): <p>A list of feed IDs that reference this dictionary.</p>
14 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_dictionary::GetDictionaryOutput::tags): <p>The tags associated with the dictionary.</p>
15 /// - On failure, responds with [`SdkError<GetDictionaryError>`](crate::operation::get_dictionary::GetDictionaryError)
16 pub fn get_dictionary(&self) -> crate::operation::get_dictionary::builders::GetDictionaryFluentBuilder {
17 crate::operation::get_dictionary::builders::GetDictionaryFluentBuilder::new(self.handle.clone())
18 }
19}