1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CheckDomainTransferability`](crate::operation::check_domain_transferability::builders::CheckDomainTransferabilityFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::check_domain_transferability::builders::CheckDomainTransferabilityFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::check_domain_transferability::builders::CheckDomainTransferabilityFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the domain that you want to transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> <p>The domain name can contain only the following characters:</p> <ul>  <li>   <p>Letters a through z. Domain names are not case sensitive.</p></li>  <li>   <p>Numbers 0 through 9.</p></li>  <li>   <p>Hyphen (-). You can't specify a hyphen at the beginning or end of a label.</p></li>  <li>   <p>Period (.) to separate the labels in the name, such as the <code>.</code> in <code>example.com</code>.</p></li> </ul><br>
    ///   - [`auth_code(impl Into<String>)`](crate::operation::check_domain_transferability::builders::CheckDomainTransferabilityFluentBuilder::auth_code) / [`set_auth_code(Option<String>)`](crate::operation::check_domain_transferability::builders::CheckDomainTransferabilityFluentBuilder::set_auth_code):<br>required: **false**<br><p>If the registrar for the top-level domain (TLD) requires an authorization code to transfer the domain, the code that you got from the current registrar for the domain.</p><br>
    /// - On success, responds with [`CheckDomainTransferabilityOutput`](crate::operation::check_domain_transferability::CheckDomainTransferabilityOutput) with field(s):
    ///   - [`transferability(Option<DomainTransferability>)`](crate::operation::check_domain_transferability::CheckDomainTransferabilityOutput::transferability): <p>A complex type that contains information about whether the specified domain can be transferred to Route 53.</p>
    ///   - [`message(Option<String>)`](crate::operation::check_domain_transferability::CheckDomainTransferabilityOutput::message): <p>Provides an explanation for when a domain can't be transferred.</p>
    /// - On failure, responds with [`SdkError<CheckDomainTransferabilityError>`](crate::operation::check_domain_transferability::CheckDomainTransferabilityError)
    pub fn check_domain_transferability(&self) -> crate::operation::check_domain_transferability::builders::CheckDomainTransferabilityFluentBuilder {
        crate::operation::check_domain_transferability::builders::CheckDomainTransferabilityFluentBuilder::new(self.handle.clone())
    }
}