1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateDomainName`](crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder::set_domain_name):<br>required: **true**<br><p>The domain name.</p><br>
    ///   - [`domain_name_configurations(DomainNameConfiguration)`](crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder::domain_name_configurations) / [`set_domain_name_configurations(Option<Vec::<DomainNameConfiguration>>)`](crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder::set_domain_name_configurations):<br>required: **false**<br><p>The domain name configurations.</p><br>
    ///   - [`mutual_tls_authentication(MutualTlsAuthenticationInput)`](crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder::mutual_tls_authentication) / [`set_mutual_tls_authentication(Option<MutualTlsAuthenticationInput>)`](crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder::set_mutual_tls_authentication):<br>required: **false**<br><p>The mutual TLS authentication configuration for a custom domain name.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder::set_tags):<br>required: **false**<br><p>The collection of tags associated with a domain name.</p><br>
    /// - On success, responds with [`CreateDomainNameOutput`](crate::operation::create_domain_name::CreateDomainNameOutput) with field(s):
    ///   - [`api_mapping_selection_expression(Option<String>)`](crate::operation::create_domain_name::CreateDomainNameOutput::api_mapping_selection_expression): <p>The API mapping selection expression.</p>
    ///   - [`domain_name(Option<String>)`](crate::operation::create_domain_name::CreateDomainNameOutput::domain_name): <p>The name of the DomainName resource.</p>
    ///   - [`domain_name_configurations(Option<Vec::<DomainNameConfiguration>>)`](crate::operation::create_domain_name::CreateDomainNameOutput::domain_name_configurations): <p>The domain name configurations.</p>
    ///   - [`mutual_tls_authentication(Option<MutualTlsAuthentication>)`](crate::operation::create_domain_name::CreateDomainNameOutput::mutual_tls_authentication): <p>The mutual TLS authentication configuration for a custom domain name.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_domain_name::CreateDomainNameOutput::tags): <p>The collection of tags associated with a domain name.</p>
    /// - On failure, responds with [`SdkError<CreateDomainNameError>`](crate::operation::create_domain_name::CreateDomainNameError)
    pub fn create_domain_name(&self) -> crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder {
        crate::operation::create_domain_name::builders::CreateDomainNameFluentBuilder::new(self.handle.clone())
    }
}