Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 -> DomainTransferability -> CheckDomainTransferabilityResponse
- checkDomainTransferabilityResponse_httpStatus :: Lens' CheckDomainTransferabilityResponse Int
- checkDomainTransferabilityResponse_transferability :: Lens' CheckDomainTransferabilityResponse DomainTransferability
Creating a Request
data CheckDomainTransferability Source #
The CheckDomainTransferability request contains the following elements.
See: newCheckDomainTransferability
smart constructor.
CheckDomainTransferability' | |
|
Instances
newCheckDomainTransferability Source #
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.
$sel:domainName: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.
CheckDomainTransferabilityResponse' | |
|
Instances
newCheckDomainTransferabilityResponse Source #
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:httpStatus:CheckDomainTransferabilityResponse'
, checkDomainTransferabilityResponse_httpStatus
- The response's http status code.
$sel:transferability:CheckDomainTransferabilityResponse'
, checkDomainTransferabilityResponse_transferability
- A complex type that contains information about whether the specified
domain can be transferred to Route 53.
Response Lenses
checkDomainTransferabilityResponse_httpStatus :: Lens' CheckDomainTransferabilityResponse Int Source #
The response's http status code.
checkDomainTransferabilityResponse_transferability :: Lens' CheckDomainTransferabilityResponse DomainTransferability Source #
A complex type that contains information about whether the specified domain can be transferred to Route 53.