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 |
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 more information about transferring domains, see the following topics:
- For transfer requirements, a detailed procedure, and information about viewing the status of a domain that you're transferring to Route 53, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide.
- For information about how to transfer a domain from one Amazon Web Services account to another, see TransferDomainToAnotherAwsAccount.
- For information about how to transfer a domain to another domain registrar, see Transferring a Domain from Amazon Route 53 to Another Registrar 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 transfer your DNS service to 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.
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.
Synopsis
- data TransferDomain = TransferDomain' {
- authCode :: Maybe (Sensitive Text)
- autoRenew :: Maybe Bool
- idnLangCode :: Maybe Text
- nameservers :: Maybe [Nameserver]
- privacyProtectAdminContact :: Maybe Bool
- privacyProtectRegistrantContact :: Maybe Bool
- privacyProtectTechContact :: Maybe Bool
- domainName :: Text
- durationInYears :: Natural
- adminContact :: Sensitive ContactDetail
- registrantContact :: Sensitive ContactDetail
- techContact :: Sensitive ContactDetail
- newTransferDomain :: Text -> Natural -> ContactDetail -> ContactDetail -> ContactDetail -> TransferDomain
- transferDomain_authCode :: Lens' TransferDomain (Maybe Text)
- transferDomain_autoRenew :: Lens' TransferDomain (Maybe Bool)
- transferDomain_idnLangCode :: Lens' TransferDomain (Maybe Text)
- transferDomain_nameservers :: Lens' TransferDomain (Maybe [Nameserver])
- transferDomain_privacyProtectAdminContact :: Lens' TransferDomain (Maybe Bool)
- transferDomain_privacyProtectRegistrantContact :: Lens' TransferDomain (Maybe Bool)
- transferDomain_privacyProtectTechContact :: Lens' TransferDomain (Maybe Bool)
- transferDomain_domainName :: Lens' TransferDomain Text
- transferDomain_durationInYears :: Lens' TransferDomain Natural
- transferDomain_adminContact :: Lens' TransferDomain ContactDetail
- transferDomain_registrantContact :: Lens' TransferDomain ContactDetail
- transferDomain_techContact :: Lens' TransferDomain ContactDetail
- data TransferDomainResponse = TransferDomainResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newTransferDomainResponse :: Int -> TransferDomainResponse
- transferDomainResponse_operationId :: Lens' TransferDomainResponse (Maybe Text)
- transferDomainResponse_httpStatus :: Lens' TransferDomainResponse Int
Creating a Request
data TransferDomain Source #
The TransferDomain request includes the following elements.
See: newTransferDomain
smart constructor.
TransferDomain' | |
|
Instances
:: Text | |
-> Natural | |
-> ContactDetail | |
-> ContactDetail | |
-> ContactDetail | |
-> TransferDomain |
Create a value of TransferDomain
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:TransferDomain'
, transferDomain_authCode
- The authorization code for the domain. You get this value from the
current registrar.
TransferDomain
, transferDomain_autoRenew
- Indicates whether the domain will be automatically renewed (true) or not
(false). Auto renewal only takes effect after the account is charged.
Default: true
$sel:idnLangCode:TransferDomain'
, transferDomain_idnLangCode
- Reserved for future use.
$sel:nameservers:TransferDomain'
, transferDomain_nameservers
- Contains details for the host and glue IP addresses.
$sel:privacyProtectAdminContact:TransferDomain'
, transferDomain_privacyProtectAdminContact
- 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.
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
$sel:privacyProtectRegistrantContact:TransferDomain'
, transferDomain_privacyProtectRegistrantContact
- 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).
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
$sel:privacyProtectTechContact:TransferDomain'
, transferDomain_privacyProtectTechContact
- 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.
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
TransferDomain
, transferDomain_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
.
$sel:durationInYears:TransferDomain'
, transferDomain_durationInYears
- 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
$sel:adminContact:TransferDomain'
, transferDomain_adminContact
- Provides detailed contact information.
$sel:registrantContact:TransferDomain'
, transferDomain_registrantContact
- Provides detailed contact information.
$sel:techContact:TransferDomain'
, transferDomain_techContact
- Provides detailed contact information.
Request Lenses
transferDomain_authCode :: Lens' TransferDomain (Maybe Text) Source #
The authorization code for the domain. You get this value from the current registrar.
transferDomain_autoRenew :: Lens' TransferDomain (Maybe Bool) Source #
Indicates whether the domain will be automatically renewed (true) or not (false). Auto renewal only takes effect after the account is charged.
Default: true
transferDomain_idnLangCode :: Lens' TransferDomain (Maybe Text) Source #
Reserved for future use.
transferDomain_nameservers :: Lens' TransferDomain (Maybe [Nameserver]) Source #
Contains details for the host and glue IP addresses.
transferDomain_privacyProtectAdminContact :: 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.
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
transferDomain_privacyProtectRegistrantContact :: 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).
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
transferDomain_privacyProtectTechContact :: 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.
You must specify the same privacy setting for the administrative, registrant, and technical contacts.
Default: true
transferDomain_domainName :: Lens' TransferDomain 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
.
transferDomain_durationInYears :: 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
transferDomain_adminContact :: Lens' TransferDomain ContactDetail Source #
Provides detailed contact information.
transferDomain_registrantContact :: Lens' TransferDomain ContactDetail Source #
Provides detailed contact information.
transferDomain_techContact :: Lens' TransferDomain ContactDetail Source #
Provides detailed contact information.
Destructuring the Response
data TransferDomainResponse Source #
The TransferDomain response includes the following element.
See: newTransferDomainResponse
smart constructor.
TransferDomainResponse' | |
|
Instances
newTransferDomainResponse Source #
Create a value of TransferDomainResponse
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:
TransferDomainResponse
, transferDomainResponse_operationId
- Identifier for tracking the progress of the request. To query the
operation status, use
GetOperationDetail.
$sel:httpStatus:TransferDomainResponse'
, transferDomainResponse_httpStatus
- The response's http status code.
Response Lenses
transferDomainResponse_operationId :: Lens' TransferDomainResponse (Maybe Text) Source #
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.
transferDomainResponse_httpStatus :: Lens' TransferDomainResponse Int Source #
The response's http status code.