| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53Domains.CheckDomainTransferability
Description
Checks whether a domain name can be transferred to Amazon Route 53.
Synopsis
- data CheckDomainTransferability = CheckDomainTransferability' {}
- newCheckDomainTransferability :: Text -> CheckDomainTransferability
- checkDomainTransferability_authCode :: Lens' CheckDomainTransferability (Maybe Text)
- checkDomainTransferability_domainName :: Lens' CheckDomainTransferability Text
- data CheckDomainTransferabilityResponse = CheckDomainTransferabilityResponse' {}
- newCheckDomainTransferabilityResponse :: Int -> CheckDomainTransferabilityResponse
- checkDomainTransferabilityResponse_transferability :: Lens' CheckDomainTransferabilityResponse (Maybe DomainTransferability)
- checkDomainTransferabilityResponse_httpStatus :: Lens' CheckDomainTransferabilityResponse Int
Creating a Request
data CheckDomainTransferability Source #
The CheckDomainTransferability request contains the following elements.
See: newCheckDomainTransferability smart constructor.
Constructors
| CheckDomainTransferability' | |
Fields
| |
Instances
newCheckDomainTransferability Source #
Arguments
| :: Text | |
| -> CheckDomainTransferability |
Create a value of CheckDomainTransferability with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authCode:CheckDomainTransferability', checkDomainTransferability_authCode - 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.
CheckDomainTransferability, checkDomainTransferability_domainName - 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
Domains that You Can Register with Amazon Route 53
in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
- Letters a through z. Domain names are not case sensitive.
- Numbers 0 through 9.
- Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
- Period (.) to separate the labels in the name, such as the
.inexample.com.
Request Lenses
checkDomainTransferability_authCode :: Lens' CheckDomainTransferability (Maybe Text) Source #
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.
checkDomainTransferability_domainName :: Lens' CheckDomainTransferability Text Source #
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 Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
- Letters a through z. Domain names are not case sensitive.
- Numbers 0 through 9.
- Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
- Period (.) to separate the labels in the name, such as the
.inexample.com.
Destructuring the Response
data CheckDomainTransferabilityResponse Source #
The CheckDomainTransferability response includes the following elements.
See: newCheckDomainTransferabilityResponse smart constructor.
Constructors
| CheckDomainTransferabilityResponse' | |
Fields
| |
Instances
newCheckDomainTransferabilityResponse Source #
Arguments
| :: Int | |
| -> CheckDomainTransferabilityResponse |
Create a value of CheckDomainTransferabilityResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:transferability:CheckDomainTransferabilityResponse', checkDomainTransferabilityResponse_transferability - A complex type that contains information about whether the specified
domain can be transferred to Route 53.
$sel:httpStatus:CheckDomainTransferabilityResponse', checkDomainTransferabilityResponse_httpStatus - The response's http status code.
Response Lenses
checkDomainTransferabilityResponse_transferability :: Lens' CheckDomainTransferabilityResponse (Maybe DomainTransferability) Source #
A complex type that contains information about whether the specified domain can be transferred to Route 53.
checkDomainTransferabilityResponse_httpStatus :: Lens' CheckDomainTransferabilityResponse Int Source #
The response's http status code.