aws_sdk_codeartifact/client/
describe_domain.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 [`DescribeDomain`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain(impl Into<String>)`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::set_domain):<br>required: **true**<br><p>A string that specifies the name of the requested domain.</p><br>
7    ///   - [`domain_owner(impl Into<String>)`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::domain_owner) / [`set_domain_owner(Option<String>)`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::set_domain_owner):<br>required: **false**<br><p>The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.</p><br>
8    /// - On success, responds with [`DescribeDomainOutput`](crate::operation::describe_domain::DescribeDomainOutput) with field(s):
9    ///   - [`domain(Option<DomainDescription>)`](crate::operation::describe_domain::DescribeDomainOutput::domain): <p>Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you add one or more repositories.</p>
10    /// - On failure, responds with [`SdkError<DescribeDomainError>`](crate::operation::describe_domain::DescribeDomainError)
11    pub fn describe_domain(&self) -> crate::operation::describe_domain::builders::DescribeDomainFluentBuilder {
12        crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::new(self.handle.clone())
13    }
14}