aws_sdk_datazone/client/
get_domain.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 [`GetDomain`](crate::operation::get_domain::builders::GetDomainFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_domain::builders::GetDomainFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_domain::builders::GetDomainFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the specified Amazon DataZone domain.</p><br>
    /// - On success, responds with [`GetDomainOutput`](crate::operation::get_domain::GetDomainOutput) with field(s):
    ///   - [`id(String)`](crate::operation::get_domain::GetDomainOutput::id): <p>The identifier of the specified Amazon DataZone domain.</p>
    ///   - [`root_domain_unit_id(Option<String>)`](crate::operation::get_domain::GetDomainOutput::root_domain_unit_id): <p>The ID of the root domain in Amazon Datazone.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_domain::GetDomainOutput::name): <p>The name of the Amazon DataZone domain.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_domain::GetDomainOutput::description): <p>The description of the Amazon DataZone domain.</p>
    ///   - [`single_sign_on(Option<SingleSignOn>)`](crate::operation::get_domain::GetDomainOutput::single_sign_on): <p>The single sing-on option of the specified Amazon DataZone domain.</p>
    ///   - [`domain_execution_role(String)`](crate::operation::get_domain::GetDomainOutput::domain_execution_role): <p>The domain execution role with which the Amazon DataZone domain is created.</p>
    ///   - [`arn(Option<String>)`](crate::operation::get_domain::GetDomainOutput::arn): <p>The ARN of the specified Amazon DataZone domain.</p>
    ///   - [`kms_key_identifier(Option<String>)`](crate::operation::get_domain::GetDomainOutput::kms_key_identifier): <p>The identifier of the Amazon Web Services Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.</p>
    ///   - [`status(DomainStatus)`](crate::operation::get_domain::GetDomainOutput::status): <p>The status of the specified Amazon DataZone domain.</p>
    ///   - [`portal_url(Option<String>)`](crate::operation::get_domain::GetDomainOutput::portal_url): <p>The URL of the data portal for this Amazon DataZone domain.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_domain::GetDomainOutput::created_at): <p>The timestamp of when the Amazon DataZone domain was created.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_domain::GetDomainOutput::last_updated_at): <p>The timestamp of when the Amazon DataZone domain was last updated.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_domain::GetDomainOutput::tags): <p>The tags specified for the Amazon DataZone domain.</p>
    ///   - [`domain_version(Option<DomainVersion>)`](crate::operation::get_domain::GetDomainOutput::domain_version): <p>The version of the domain.</p>
    ///   - [`service_role(Option<String>)`](crate::operation::get_domain::GetDomainOutput::service_role): <p>The service role of the domain.</p>
    /// - On failure, responds with [`SdkError<GetDomainError>`](crate::operation::get_domain::GetDomainError)
    pub fn get_domain(&self) -> crate::operation::get_domain::builders::GetDomainFluentBuilder {
        crate::operation::get_domain::builders::GetDomainFluentBuilder::new(self.handle.clone())
    }
}