Copyright | (c) 2013-2018 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 |
This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered either with Amazon Registrar (for .com, .net, and .org domains) or with our registrar associate, Gandi (for all other TLDs).
For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide .
If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you consider transferring your DNS service to Amazon Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.
Important: If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable.
If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email.
- transferDomain :: Text -> Natural -> ContactDetail -> ContactDetail -> ContactDetail -> TransferDomain
- data TransferDomain
- tdPrivacyProtectTechContact :: Lens' TransferDomain (Maybe Bool)
- tdPrivacyProtectRegistrantContact :: Lens' TransferDomain (Maybe Bool)
- tdAutoRenew :: Lens' TransferDomain (Maybe Bool)
- tdPrivacyProtectAdminContact :: Lens' TransferDomain (Maybe Bool)
- tdIdNLangCode :: Lens' TransferDomain (Maybe Text)
- tdAuthCode :: Lens' TransferDomain (Maybe Text)
- tdNameservers :: Lens' TransferDomain [Nameserver]
- tdDomainName :: Lens' TransferDomain Text
- tdDurationInYears :: Lens' TransferDomain Natural
- tdAdminContact :: Lens' TransferDomain ContactDetail
- tdRegistrantContact :: Lens' TransferDomain ContactDetail
- tdTechContact :: Lens' TransferDomain ContactDetail
- transferDomainResponse :: Int -> Text -> TransferDomainResponse
- data TransferDomainResponse
- tdrsResponseStatus :: Lens' TransferDomainResponse Int
- tdrsOperationId :: Lens' TransferDomainResponse Text
Creating a Request
:: Text | |
-> Natural | |
-> ContactDetail | |
-> ContactDetail | |
-> ContactDetail | |
-> TransferDomain |
Creates a value of TransferDomain
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdPrivacyProtectTechContact
- Whether you want to conceal contact information from WHOIS queries. If you specifytrue
, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specifyfalse
, WHOIS queries return the information that you entered for the technical contact. Default:true
tdPrivacyProtectRegistrantContact
- Whether you want to conceal contact information from WHOIS queries. If you specifytrue
, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specifyfalse
, WHOIS queries return the information that you entered for the registrant contact (domain owner). Default:true
tdAutoRenew
- Indicates whether the domain will be automatically renewed (true) or not (false). Autorenewal only takes effect after the account is charged. Default: truetdPrivacyProtectAdminContact
- Whether you want to conceal contact information from WHOIS queries. If you specifytrue
, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specifyfalse
, WHOIS queries return the information that you entered for the admin contact. Default:true
tdIdNLangCode
- Reserved for future use.tdAuthCode
- The authorization code for the domain. You get this value from the current registrar.tdNameservers
- Contains details for the host and glue IP addresses.tdDomainName
- 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.tdDurationInYears
- The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. Default: 1tdAdminContact
- Provides detailed contact information.tdRegistrantContact
- Provides detailed contact information.tdTechContact
- Provides detailed contact information.
data TransferDomain Source #
The TransferDomain request includes the following elements.
See: transferDomain
smart constructor.
Request Lenses
tdPrivacyProtectTechContact :: Lens' TransferDomain (Maybe Bool) Source #
Whether you want to conceal contact information from WHOIS queries. If you specify true
, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false
, WHOIS queries return the information that you entered for the technical contact. Default: true
tdPrivacyProtectRegistrantContact :: Lens' TransferDomain (Maybe Bool) Source #
Whether you want to conceal contact information from WHOIS queries. If you specify true
, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false
, WHOIS queries return the information that you entered for the registrant contact (domain owner). Default: true
tdAutoRenew :: Lens' TransferDomain (Maybe Bool) Source #
Indicates whether the domain will be automatically renewed (true) or not (false). Autorenewal only takes effect after the account is charged. Default: true
tdPrivacyProtectAdminContact :: Lens' TransferDomain (Maybe Bool) Source #
Whether you want to conceal contact information from WHOIS queries. If you specify true
, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false
, WHOIS queries return the information that you entered for the admin contact. Default: true
tdIdNLangCode :: Lens' TransferDomain (Maybe Text) Source #
Reserved for future use.
tdAuthCode :: Lens' TransferDomain (Maybe Text) Source #
The authorization code for the domain. You get this value from the current registrar.
tdNameservers :: Lens' TransferDomain [Nameserver] Source #
Contains details for the host and glue IP addresses.
tdDomainName :: Lens' TransferDomain 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.
tdDurationInYears :: Lens' TransferDomain Natural Source #
The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. Default: 1
tdAdminContact :: Lens' TransferDomain ContactDetail Source #
Provides detailed contact information.
tdRegistrantContact :: Lens' TransferDomain ContactDetail Source #
Provides detailed contact information.
tdTechContact :: Lens' TransferDomain ContactDetail Source #
Provides detailed contact information.
Destructuring the Response
transferDomainResponse Source #
Creates a value of TransferDomainResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdrsResponseStatus
- -- | The response status code.tdrsOperationId
- Identifier for tracking the progress of the request. To use this ID to query the operation status, useGetOperationDetail
.
data TransferDomainResponse Source #
The TranserDomain response includes the following element.
See: transferDomainResponse
smart constructor.
Response Lenses
tdrsResponseStatus :: Lens' TransferDomainResponse Int Source #
- - | The response status code.
tdrsOperationId :: Lens' TransferDomainResponse Text Source #
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail
.