aws-sdk-lightsail 1.107.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::get_domain::builders::GetDomainFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_domain::builders::GetDomainFluentBuilder::set_domain_name):<br>required: **true**<br><p>The domain name for which your want to return information about.</p><br>
    /// - On success, responds with [`GetDomainOutput`](crate::operation::get_domain::GetDomainOutput) with field(s):
    ///   - [`domain(Option<Domain>)`](crate::operation::get_domain::GetDomainOutput::domain): <p>An array of key-value pairs containing information about your get domain request.</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())
    }
}