Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Checks whether a domain name can be transferred to Amazon Route 53.
- checkDomainTransferability :: Text -> CheckDomainTransferability
- data CheckDomainTransferability
- cdtAuthCode :: Lens' CheckDomainTransferability (Maybe Text)
- cdtDomainName :: Lens' CheckDomainTransferability Text
- checkDomainTransferabilityResponse :: Int -> DomainTransferability -> CheckDomainTransferabilityResponse
- data CheckDomainTransferabilityResponse
- cdtrsResponseStatus :: Lens' CheckDomainTransferabilityResponse Int
- cdtrsTransferability :: Lens' CheckDomainTransferabilityResponse DomainTransferability
Creating a Request
checkDomainTransferability Source #
Creates a value of CheckDomainTransferability
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdtAuthCode
- 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.cdtDomainName
- The name of the domain that you want to transfer to Amazon Route 53. Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
data CheckDomainTransferability Source #
The CheckDomainTransferability request contains the following elements.
See: checkDomainTransferability
smart constructor.
Request Lenses
cdtAuthCode :: 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.
cdtDomainName :: Lens' CheckDomainTransferability Text Source #
The name of the domain that you want to transfer to Amazon Route 53. Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Destructuring the Response
checkDomainTransferabilityResponse Source #
Creates a value of CheckDomainTransferabilityResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdtrsResponseStatus
- -- | The response status code.cdtrsTransferability
- A complex type that contains information about whether the specified domain can be transferred to Amazon Route 53.
data CheckDomainTransferabilityResponse Source #
The CheckDomainTransferability response includes the following elements.
See: checkDomainTransferabilityResponse
smart constructor.
Response Lenses
cdtrsResponseStatus :: Lens' CheckDomainTransferabilityResponse Int Source #
- - | The response status code.
cdtrsTransferability :: Lens' CheckDomainTransferabilityResponse DomainTransferability Source #
A complex type that contains information about whether the specified domain can be transferred to Amazon Route 53.