aws_sdk_datazone/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    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain in which a business glossary term is to be updated.</p><br>
7    ///   - [`glossary_identifier(impl Into<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::glossary_identifier) / [`set_glossary_identifier(Option<String>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::set_glossary_identifier):<br>required: **false**<br><p>The identifier of the business glossary in which a term is to be updated.</p><br>
8    ///   - [`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 identifier of the business glossary term that is to be updated.</p><br>
9    ///   - [`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 name to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p><br>
10    ///   - [`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 short description to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p><br>
11    ///   - [`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 long description to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p><br>
12    ///   - [`term_relations(TermRelations)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::term_relations) / [`set_term_relations(Option<TermRelations>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::set_term_relations):<br>required: **false**<br><p>The term relations to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p><br>
13    ///   - [`status(GlossaryTermStatus)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::status) / [`set_status(Option<GlossaryTermStatus>)`](crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::set_status):<br>required: **false**<br><p>The status to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p><br>
14    /// - On success, responds with [`UpdateGlossaryTermOutput`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput) with field(s):
15    ///   - [`id(String)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::id): <p>The identifier of the business glossary term that is to be updated.</p>
16    ///   - [`domain_id(String)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::domain_id): <p>The identifier of the Amazon DataZone domain in which a business glossary term is to be updated.</p>
17    ///   - [`glossary_id(String)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::glossary_id): <p>The identifier of the business glossary in which a term is to be updated.</p>
18    ///   - [`name(String)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::name): <p>The name to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p>
19    ///   - [`status(GlossaryTermStatus)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::status): <p>The status to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p>
20    ///   - [`short_description(Option<String>)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::short_description): <p>The short description to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p>
21    ///   - [`long_description(Option<String>)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::long_description): <p>The long description to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p>
22    ///   - [`term_relations(Option<TermRelations>)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::term_relations): <p>The term relations to be updated as part of the <code>UpdateGlossaryTerm</code> action.</p>
23    ///   - [`usage_restrictions(Option<Vec::<GlossaryUsageRestriction>>)`](crate::operation::update_glossary_term::UpdateGlossaryTermOutput::usage_restrictions): <p>The usage restriction of a term within a restricted glossary.</p>
24    /// - On failure, responds with [`SdkError<UpdateGlossaryTermError>`](crate::operation::update_glossary_term::UpdateGlossaryTermError)
25    pub fn update_glossary_term(&self) -> crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder {
26        crate::operation::update_glossary_term::builders::UpdateGlossaryTermFluentBuilder::new(self.handle.clone())
27    }
28}