aws_sdk_datazone/client/
associate_governed_terms.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 [`AssociateGovernedTerms`](crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where governed terms are to be associated with an asset.</p><br>
7    ///   - [`entity_identifier(impl Into<String>)`](crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder::entity_identifier) / [`set_entity_identifier(Option<String>)`](crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder::set_entity_identifier):<br>required: **true**<br><p>The ID of the asset with which you want to associate a governed term.</p><br>
8    ///   - [`entity_type(GovernedEntityType)`](crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder::entity_type) / [`set_entity_type(Option<GovernedEntityType>)`](crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder::set_entity_type):<br>required: **true**<br><p>The type of the asset with which you want to associate a governed term.</p><br>
9    ///   - [`governed_glossary_terms(impl Into<String>)`](crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder::governed_glossary_terms) / [`set_governed_glossary_terms(Option<Vec::<String>>)`](crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder::set_governed_glossary_terms):<br>required: **true**<br><p>The glossary terms in a restricted glossary.</p><br>
10    /// - On success, responds with [`AssociateGovernedTermsOutput`](crate::operation::associate_governed_terms::AssociateGovernedTermsOutput)
11    /// - On failure, responds with [`SdkError<AssociateGovernedTermsError>`](crate::operation::associate_governed_terms::AssociateGovernedTermsError)
12    pub fn associate_governed_terms(&self) -> crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder {
13        crate::operation::associate_governed_terms::builders::AssociateGovernedTermsFluentBuilder::new(self.handle.clone())
14    }
15}