aws_sdk_lightsail/client/get_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 [`GetDomain`](crate::operation::get_domain::builders::GetDomainFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetDomainOutput`](crate::operation::get_domain::GetDomainOutput) with field(s):
8 /// - [`domain(Option<Domain>)`](crate::operation::get_domain::GetDomainOutput::domain): <p>An array of key-value pairs containing information about your get domain request.</p>
9 /// - On failure, responds with [`SdkError<GetDomainError>`](crate::operation::get_domain::GetDomainError)
10 pub fn get_domain(&self) -> crate::operation::get_domain::builders::GetDomainFluentBuilder {
11 crate::operation::get_domain::builders::GetDomainFluentBuilder::new(self.handle.clone())
12 }
13}