aws_sdk_datazone/client/
get_glossary_term.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 [`GetGlossaryTerm`](crate::operation::get_glossary_term::builders::GetGlossaryTermFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::get_glossary_term::builders::GetGlossaryTermFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_glossary_term::builders::GetGlossaryTermFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which this business glossary term exists.</p><br>
7    ///   - [`identifier(impl Into<String>)`](crate::operation::get_glossary_term::builders::GetGlossaryTermFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_glossary_term::builders::GetGlossaryTermFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the business glossary term.</p><br>
8    /// - On success, responds with [`GetGlossaryTermOutput`](crate::operation::get_glossary_term::GetGlossaryTermOutput) with field(s):
9    ///   - [`domain_id(String)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::domain_id): <p>The ID of the Amazon DataZone domain in which this business glossary term exists.</p>
10    ///   - [`glossary_id(String)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::glossary_id): <p>The ID of the business glossary to which this term belongs.</p>
11    ///   - [`id(String)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::id): <p>The ID of the business glossary term.</p>
12    ///   - [`name(String)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::name): <p>The name of the business glossary term.</p>
13    ///   - [`short_description(Option<String>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::short_description): <p>The short decription of the business glossary term.</p>
14    ///   - [`long_description(Option<String>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::long_description): <p>The long description of the business glossary term.</p>
15    ///   - [`term_relations(Option<TermRelations>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::term_relations): <p>The relations of the business glossary term.</p>
16    ///   - [`status(GlossaryTermStatus)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::status): <p>The status of the business glossary term.</p>
17    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::created_at): <p>The timestamp of when the business glossary term was created.</p>
18    ///   - [`created_by(Option<String>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::created_by): <p>The Amazon DataZone user who created the business glossary.</p>
19    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::updated_at): <p>The timestamp of when the business glossary term was updated.</p>
20    ///   - [`updated_by(Option<String>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::updated_by): <p>The Amazon DataZone user who updated the business glossary term.</p>
21    ///   - [`usage_restrictions(Option<Vec::<GlossaryUsageRestriction>>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::usage_restrictions): <p>The usage restriction of a term within a restricted glossary.</p>
22    /// - On failure, responds with [`SdkError<GetGlossaryTermError>`](crate::operation::get_glossary_term::GetGlossaryTermError)
23    pub fn get_glossary_term(&self) -> crate::operation::get_glossary_term::builders::GetGlossaryTermFluentBuilder {
24        crate::operation::get_glossary_term::builders::GetGlossaryTermFluentBuilder::new(self.handle.clone())
25    }
26}