aws_sdk_apigatewayv2/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    ///   - [`api_mapping_selection_expression(Option<String>)`](crate::operation::get_domain_name::GetDomainNameOutput::api_mapping_selection_expression): <p>The API mapping selection expression.</p>
9    ///   - [`domain_name(Option<String>)`](crate::operation::get_domain_name::GetDomainNameOutput::domain_name): <p>The name of the DomainName resource.</p>
10    ///   - [`domain_name_arn(Option<String>)`](crate::operation::get_domain_name::GetDomainNameOutput::domain_name_arn): <p>Represents an Amazon Resource Name (ARN).</p>
11    ///   - [`domain_name_configurations(Option<Vec::<DomainNameConfiguration>>)`](crate::operation::get_domain_name::GetDomainNameOutput::domain_name_configurations): <p>The domain name configurations.</p>
12    ///   - [`mutual_tls_authentication(Option<MutualTlsAuthentication>)`](crate::operation::get_domain_name::GetDomainNameOutput::mutual_tls_authentication): <p>The mutual TLS authentication configuration for a custom domain name.</p>
13    ///   - [`routing_mode(Option<RoutingMode>)`](crate::operation::get_domain_name::GetDomainNameOutput::routing_mode): <p>The routing mode.</p>
14    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_domain_name::GetDomainNameOutput::tags): <p>The collection of tags associated with a domain name.</p>
15    /// - On failure, responds with [`SdkError<GetDomainNameError>`](crate::operation::get_domain_name::GetDomainNameError)
16    pub fn get_domain_name(&self) -> crate::operation::get_domain_name::builders::GetDomainNameFluentBuilder {
17        crate::operation::get_domain_name::builders::GetDomainNameFluentBuilder::new(self.handle.clone())
18    }
19}