Skip to main content

aws_sdk_glue/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    ///   - [`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 unique identifier of the glossary term to retrieve.</p><br>
7    /// - On success, responds with [`GetGlossaryTermOutput`](crate::operation::get_glossary_term::GetGlossaryTermOutput) with field(s):
8    ///   - [`id(Option<String>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::id): <p>The unique identifier of the glossary term.</p>
9    ///   - [`glossary_id(Option<String>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::glossary_id): <p>The unique identifier of the glossary containing this term.</p>
10    ///   - [`name(Option<String>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::name): <p>The name of the glossary term.</p>
11    ///   - [`short_description(Option<String>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::short_description): <p>The short description of the glossary term.</p>
12    ///   - [`long_description(Option<String>)`](crate::operation::get_glossary_term::GetGlossaryTermOutput::long_description): <p>The long description of the glossary term.</p>
13    /// - On failure, responds with [`SdkError<GetGlossaryTermError>`](crate::operation::get_glossary_term::GetGlossaryTermError)
14    pub fn get_glossary_term(&self) -> crate::operation::get_glossary_term::builders::GetGlossaryTermFluentBuilder {
15        crate::operation::get_glossary_term::builders::GetGlossaryTermFluentBuilder::new(self.handle.clone())
16    }
17}