aws_sdk_appsync/client/get_domain_name.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 [`GetDomainName`](crate::operation::get_domain_name::builders::GetDomainNameFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_name(impl Into<String>)`](crate::operation::get_domain_name::builders::GetDomainNameFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_domain_name::builders::GetDomainNameFluentBuilder::set_domain_name):<br>required: **true**<br><p>The domain name.</p><br>
7 /// - On success, responds with [`GetDomainNameOutput`](crate::operation::get_domain_name::GetDomainNameOutput) with field(s):
8 /// - [`domain_name_config(Option<DomainNameConfig>)`](crate::operation::get_domain_name::GetDomainNameOutput::domain_name_config): <p>The configuration for the <code>DomainName</code>.</p>
9 /// - On failure, responds with [`SdkError<GetDomainNameError>`](crate::operation::get_domain_name::GetDomainNameError)
10 pub fn get_domain_name(&self) -> crate::operation::get_domain_name::builders::GetDomainNameFluentBuilder {
11 crate::operation::get_domain_name::builders::GetDomainNameFluentBuilder::new(self.handle.clone())
12 }
13}