aws_sdk_datazone/client/
update_domain_unit.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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDomainUnit`](crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where you want to update a domain unit.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the domain unit that you want to update.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder::set_description):<br>required: **false**<br><p>The description of the domain unit that you want to update.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder::set_name):<br>required: **false**<br><p>The name of the domain unit that you want to update.</p><br>
    /// - On success, responds with [`UpdateDomainUnitOutput`](crate::operation::update_domain_unit::UpdateDomainUnitOutput) with field(s):
    ///   - [`id(String)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::id): <p>The ID of the domain unit that you want to update.</p>
    ///   - [`domain_id(String)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::domain_id): <p>The ID of the domain where you want to update the domain unit.</p>
    ///   - [`name(String)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::name): <p>The name of the domain unit that you want to update.</p>
    ///   - [`owners(Vec::<DomainUnitOwnerProperties>)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::owners): <p>The owners of the domain unit that you want to update.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::description): <p>The description of the domain unit that you want to update.</p>
    ///   - [`parent_domain_unit_id(Option<String>)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::parent_domain_unit_id): <p>The ID of the parent domain unit.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::created_at): <p>The time stamp at which the domain unit that you want to update was created.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::last_updated_at): <p>The timestamp at which the domain unit was last updated.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::created_by): <p>The user who created the domain unit that you want to update.</p>
    ///   - [`last_updated_by(Option<String>)`](crate::operation::update_domain_unit::UpdateDomainUnitOutput::last_updated_by): <p>The user who last updated the domain unit.</p>
    /// - On failure, responds with [`SdkError<UpdateDomainUnitError>`](crate::operation::update_domain_unit::UpdateDomainUnitError)
    pub fn update_domain_unit(&self) -> crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder {
        crate::operation::update_domain_unit::builders::UpdateDomainUnitFluentBuilder::new(self.handle.clone())
    }
}