aws_sdk_datazone/client/
create_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 [`CreateGlossaryTerm`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which this business glossary term is created.</p><br>
7    ///   - [`glossary_identifier(impl Into<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::glossary_identifier) / [`set_glossary_identifier(Option<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::set_glossary_identifier):<br>required: **true**<br><p>The ID of the business glossary in which this term is created.</p><br>
8    ///   - [`name(impl Into<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::set_name):<br>required: **true**<br><p>The name of this business glossary term.</p><br>
9    ///   - [`status(GlossaryTermStatus)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::status) / [`set_status(Option<GlossaryTermStatus>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::set_status):<br>required: **false**<br><p>The status of this business glossary term.</p><br>
10    ///   - [`short_description(impl Into<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::short_description) / [`set_short_description(Option<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::set_short_description):<br>required: **false**<br><p>The short description of this business glossary term.</p><br>
11    ///   - [`long_description(impl Into<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::long_description) / [`set_long_description(Option<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::set_long_description):<br>required: **false**<br><p>The long description of this business glossary term.</p><br>
12    ///   - [`term_relations(TermRelations)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::term_relations) / [`set_term_relations(Option<TermRelations>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::set_term_relations):<br>required: **false**<br><p>The term relations of this business glossary term.</p><br>
13    ///   - [`client_token(impl Into<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
14    /// - On success, responds with [`CreateGlossaryTermOutput`](crate::operation::create_glossary_term::CreateGlossaryTermOutput) with field(s):
15    ///   - [`id(String)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::id): <p>The ID of this business glossary term.</p>
16    ///   - [`domain_id(String)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::domain_id): <p>The ID of the Amazon DataZone domain in which this business glossary term is created.</p>
17    ///   - [`glossary_id(String)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::glossary_id): <p>The ID of the business glossary in which this term is created.</p>
18    ///   - [`name(String)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::name): <p>The name of this business glossary term.</p>
19    ///   - [`status(GlossaryTermStatus)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::status): <p>The status of this business glossary term.</p>
20    ///   - [`short_description(Option<String>)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::short_description): <p>The short description of this business glossary term.</p>
21    ///   - [`long_description(Option<String>)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::long_description): <p>The long description of this business glossary term.</p>
22    ///   - [`term_relations(Option<TermRelations>)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::term_relations): <p>The term relations of this business glossary term.</p>
23    ///   - [`usage_restrictions(Option<Vec::<GlossaryUsageRestriction>>)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::usage_restrictions): <p>The usage restriction of the restricted glossary.</p>
24    /// - On failure, responds with [`SdkError<CreateGlossaryTermError>`](crate::operation::create_glossary_term::CreateGlossaryTermError)
25    pub fn create_glossary_term(&self) -> crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder {
26        crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::new(self.handle.clone())
27    }
28}