Skip to main content

aws_sdk_glue/client/
update_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 [`UpdateGlossaryTerm`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique identifier of the glossary term to update.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::set_name):<br>required: **false**<br><p>The updated name of the glossary term.</p><br>
8    ///   - [`short_description(impl Into<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::short_description) / [`set_short_description(Option<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::set_short_description):<br>required: **false**<br><p>The updated short description of the glossary term.</p><br>
9    ///   - [`long_description(impl Into<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::long_description) / [`set_long_description(Option<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::set_long_description):<br>required: **false**<br><p>The updated long description of the glossary term.</p><br>
10    ///   - [`client_token(impl Into<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
11    /// - On success, responds with [`UpdateGlossaryTermOutput`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput) with field(s):
12    ///   - [`id(Option<String>)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::id): <p>The unique identifier of the glossary term.</p>
13    ///   - [`glossary_id(Option<String>)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::glossary_id): <p>The unique identifier of the glossary containing this term.</p>
14    ///   - [`name(Option<String>)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::name): <p>The name of the glossary term.</p>
15    ///   - [`short_description(Option<String>)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::short_description): <p>The short description of the glossary term.</p>
16    ///   - [`long_description(Option<String>)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::long_description): <p>The long description of the glossary term.</p>
17    /// - On failure, responds with [`SdkError<UpdateGlossaryTermError>`](crate::operation::update_glossary_term::UpdateGlossaryTermError)
18    pub fn update_glossary_term(&self) -> crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder {
19        crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::new(self.handle.clone())
20    }
21}