Safe Haskell | None |
---|---|
Language | Haskell2010 |
This operation transfers a domain from another registrar to Amazon Route 53. Domains are registered by the AWS registrar, Gandi upon transfer. To transfer a domain, you need to meet all the domain transfer criteria, including the following: You must supply nameservers to transfer a domain. You must disable the domain transfer lock (if any) before transferring the domain. A minimum of 60 days must have elapsed since the domain's registration or last transfer. We recommend you use the Amazon Route 53 as the DNS service for your domain. You can create a hosted zone in Amazon Route 53 for your current domain before transferring your domain. Note that upon transfer, the domain duration is extended for a year if not otherwise specified. Autorenew is enabled by default. 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 request is not completed successfully, the domain registrant will be notified by email. Transferring domains charges your AWS account an amount based on the top-level domain. For more information, see Amazon Route 53 Pricing.
http://docs.aws.amazon.com/Route53/latest/APIReference/api-TransferDomain.html
- data TransferDomain
- transferDomain :: Text -> Natural -> ContactDetail -> ContactDetail -> ContactDetail -> TransferDomain
- tdAdminContact :: Lens' TransferDomain ContactDetail
- tdAuthCode :: Lens' TransferDomain (Maybe Text)
- tdAutoRenew :: Lens' TransferDomain (Maybe Bool)
- tdDomainName :: Lens' TransferDomain Text
- tdDurationInYears :: Lens' TransferDomain Natural
- tdIdnLangCode :: Lens' TransferDomain (Maybe Text)
- tdNameservers :: Lens' TransferDomain [Nameserver]
- tdPrivacyProtectAdminContact :: Lens' TransferDomain (Maybe Bool)
- tdPrivacyProtectRegistrantContact :: Lens' TransferDomain (Maybe Bool)
- tdPrivacyProtectTechContact :: Lens' TransferDomain (Maybe Bool)
- tdRegistrantContact :: Lens' TransferDomain ContactDetail
- tdTechContact :: Lens' TransferDomain ContactDetail
- data TransferDomainResponse
- transferDomainResponse :: Text -> TransferDomainResponse
- tdrOperationId :: Lens' TransferDomainResponse Text
Request
data TransferDomain Source
Request constructor
:: Text | |
-> Natural | |
-> ContactDetail | |
-> ContactDetail | |
-> ContactDetail | |
-> TransferDomain |
TransferDomain
constructor.
The fields accessible through corresponding lenses are:
tdAdminContact
::
ContactDetail
tdAuthCode
::
Maybe
Text
tdAutoRenew
::
Maybe
Bool
tdDomainName
::
Text
tdDurationInYears
::
Natural
tdIdnLangCode
::
Maybe
Text
tdNameservers
::
[Nameserver
]tdPrivacyProtectAdminContact
::
Maybe
Bool
tdPrivacyProtectRegistrantContact
::
Maybe
Bool
tdPrivacyProtectTechContact
::
Maybe
Bool
tdRegistrantContact
::
ContactDetail
tdTechContact
::
ContactDetail
Request lenses
tdAdminContact :: Lens' TransferDomain ContactDetail Source
Provides detailed contact information. Type: Complex Children: FirstName, MiddleName, LastName, ContactType, OrganizationName, AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber, Email, Fax, ExtraParams Required: Yes.
tdAuthCode :: Lens' TransferDomain (Maybe Text) Source
The authorization code for the domain. You get this value from the current registrar. Type: String Required: Yes.
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. Type: Boolean Valid values: true | false Default: true Required: No.
tdDomainName :: Lens' TransferDomain Text Source
The name of a domain. Type: String Default: None 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. Required: Yes.
tdDurationInYears :: Lens' TransferDomain Natural Source
The number of years the domain will be registered. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. Type: Integer Default: 1 Valid values: Integer from 1 to 10 Required: Yes.
tdIdnLangCode :: Lens' TransferDomain (Maybe Text) Source
Reserved for future use.
tdNameservers :: Lens' TransferDomain [Nameserver] Source
Contains details for the host and glue IP addresses. Type: Complex Children: GlueIps, Name.
tdPrivacyProtectAdminContact :: Lens' TransferDomain (Maybe Bool) Source
Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Type: Boolean Default: true Valid values: true | false Required: No.
tdPrivacyProtectRegistrantContact :: Lens' TransferDomain (Maybe Bool) Source
Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Type: Boolean Default: true Valid values: true | false Required: No.
tdPrivacyProtectTechContact :: Lens' TransferDomain (Maybe Bool) Source
Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. Type: Boolean Default: true Valid values: true | false Required: No.
tdRegistrantContact :: Lens' TransferDomain ContactDetail Source
Provides detailed contact information. Type: Complex Children: FirstName, MiddleName, LastName, ContactType, OrganizationName, AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber, Email, Fax, ExtraParams Required: Yes.
tdTechContact :: Lens' TransferDomain ContactDetail Source
Provides detailed contact information. Type: Complex Children: FirstName, MiddleName, LastName, ContactType, OrganizationName, AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber, Email, Fax, ExtraParams Required: Yes.
Response
Response constructor
TransferDomainResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
tdrOperationId :: Lens' TransferDomainResponse Text Source
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. Type: String Default: None Constraints: Maximum 255 characters.