aws_sdk_datazone/client/
create_glossary_term.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateGlossaryTerm`](crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`CreateGlossaryTermOutput`](crate::operation::create_glossary_term::CreateGlossaryTermOutput) with field(s):
    ///   - [`id(String)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::id): <p>The ID of this business glossary term.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`name(String)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::name): <p>The name of this business glossary term.</p>
    ///   - [`status(GlossaryTermStatus)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::status): <p>The status of this business glossary term.</p>
    ///   - [`short_description(Option<String>)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::short_description): <p>The short description of this business glossary term.</p>
    ///   - [`long_description(Option<String>)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::long_description): <p>The long description of this business glossary term.</p>
    ///   - [`term_relations(Option<TermRelations>)`](crate::operation::create_glossary_term::CreateGlossaryTermOutput::term_relations): <p>The term relations of this business glossary term.</p>
    /// - On failure, responds with [`SdkError<CreateGlossaryTermError>`](crate::operation::create_glossary_term::CreateGlossaryTermError)
    pub fn create_glossary_term(&self) -> crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder {
        crate::operation::create_glossary_term::builders::CreateGlossaryTermFluentBuilder::new(self.handle.clone())
    }
}