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