amazonka-route53-domains-1.4.5: Amazon Route 53 Domains SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53Domains.TransferDomain

Contents

Description

This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered with the AWS registrar partner, Gandi.

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.

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

Creating a Request

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 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 - 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
  • tdAutoRenew - 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
  • tdPrivacyProtectAdminContact - 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
  • tdIdNLangCode - Reserved for future use.
  • tdAuthCode - The authorization code for the domain. You get this value from the current registrar. Type: String Required: Yes
  • tdNameservers - Contains details for the host and glue IP addresses. Type: Complex Children: GlueIps , Name Required: No
  • tdDomainName - 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 - 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
  • tdAdminContact - Provides detailed contact information. Type: Complex Children: FirstName , MiddleName , LastName , ContactType , OrganizationName , AddressLine1 , AddressLine2 , City , State , CountryCode , ZipCode , PhoneNumber , Email , Fax , ExtraParams Required: Yes
  • tdRegistrantContact - 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 - Provides detailed contact information. Type: Complex Children: FirstName , MiddleName , LastName , ContactType , OrganizationName , AddressLine1 , AddressLine2 , City , State , CountryCode , ZipCode , PhoneNumber , Email , Fax , ExtraParams Required: Yes

data TransferDomain #

The TransferDomain request includes the following elements.

See: transferDomain smart constructor.

Instances

Eq TransferDomain # 
Data TransferDomain # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TransferDomain -> c TransferDomain #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TransferDomain #

toConstr :: TransferDomain -> Constr #

dataTypeOf :: TransferDomain -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TransferDomain) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TransferDomain) #

gmapT :: (forall b. Data b => b -> b) -> TransferDomain -> TransferDomain #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TransferDomain -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TransferDomain -> r #

gmapQ :: (forall d. Data d => d -> u) -> TransferDomain -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TransferDomain -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TransferDomain -> m TransferDomain #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TransferDomain -> m TransferDomain #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TransferDomain -> m TransferDomain #

Read TransferDomain # 
Show TransferDomain # 
Generic TransferDomain # 

Associated Types

type Rep TransferDomain :: * -> * #

Hashable TransferDomain # 
ToJSON TransferDomain # 
NFData TransferDomain # 

Methods

rnf :: TransferDomain -> () #

AWSRequest TransferDomain # 
ToQuery TransferDomain # 
ToPath TransferDomain # 
ToHeaders TransferDomain # 
type Rep TransferDomain # 
type Rep TransferDomain = D1 (MetaData "TransferDomain" "Network.AWS.Route53Domains.TransferDomain" "amazonka-route53-domains-1.4.5-6DkjyS06xBH5RIxQNY8K9j" False) (C1 (MetaCons "TransferDomain'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tdPrivacyProtectTechContact") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_tdPrivacyProtectRegistrantContact") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_tdAutoRenew") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_tdPrivacyProtectAdminContact") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_tdIdNLangCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tdAuthCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tdNameservers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Nameserver]))) ((:*:) (S1 (MetaSel (Just Symbol "_tdDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tdDurationInYears") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat)))) ((:*:) (S1 (MetaSel (Just Symbol "_tdAdminContact") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive ContactDetail))) ((:*:) (S1 (MetaSel (Just Symbol "_tdRegistrantContact") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive ContactDetail))) (S1 (MetaSel (Just Symbol "_tdTechContact") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive ContactDetail))))))))
type Rs TransferDomain # 

Request Lenses

tdPrivacyProtectTechContact :: Lens' TransferDomain (Maybe Bool) #

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) #

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

tdAutoRenew :: Lens' TransferDomain (Maybe Bool) #

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

tdPrivacyProtectAdminContact :: Lens' TransferDomain (Maybe Bool) #

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

tdIdNLangCode :: Lens' TransferDomain (Maybe Text) #

Reserved for future use.

tdAuthCode :: Lens' TransferDomain (Maybe Text) #

The authorization code for the domain. You get this value from the current registrar. Type: String Required: Yes

tdNameservers :: Lens' TransferDomain [Nameserver] #

Contains details for the host and glue IP addresses. Type: Complex Children: GlueIps , Name Required: No

tdDomainName :: Lens' TransferDomain Text #

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 #

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

tdAdminContact :: Lens' TransferDomain ContactDetail #

Provides detailed contact information. Type: Complex Children: FirstName , MiddleName , LastName , ContactType , OrganizationName , AddressLine1 , AddressLine2 , City , State , CountryCode , ZipCode , PhoneNumber , Email , Fax , ExtraParams Required: Yes

tdRegistrantContact :: Lens' TransferDomain ContactDetail #

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 #

Provides detailed contact information. Type: Complex Children: FirstName , MiddleName , LastName , ContactType , OrganizationName , AddressLine1 , AddressLine2 , City , State , CountryCode , ZipCode , PhoneNumber , Email , Fax , ExtraParams Required: Yes

Destructuring the Response

transferDomainResponse #

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, use GetOperationDetail. Type: String Default: None Constraints: Maximum 255 characters.

data TransferDomainResponse #

The TranserDomain response includes the following element.

See: transferDomainResponse smart constructor.

Instances

Eq TransferDomainResponse # 
Data TransferDomainResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TransferDomainResponse -> c TransferDomainResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TransferDomainResponse #

toConstr :: TransferDomainResponse -> Constr #

dataTypeOf :: TransferDomainResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TransferDomainResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TransferDomainResponse) #

gmapT :: (forall b. Data b => b -> b) -> TransferDomainResponse -> TransferDomainResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TransferDomainResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TransferDomainResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> TransferDomainResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TransferDomainResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TransferDomainResponse -> m TransferDomainResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TransferDomainResponse -> m TransferDomainResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TransferDomainResponse -> m TransferDomainResponse #

Read TransferDomainResponse # 
Show TransferDomainResponse # 
Generic TransferDomainResponse # 
NFData TransferDomainResponse # 

Methods

rnf :: TransferDomainResponse -> () #

type Rep TransferDomainResponse # 
type Rep TransferDomainResponse = D1 (MetaData "TransferDomainResponse" "Network.AWS.Route53Domains.TransferDomain" "amazonka-route53-domains-1.4.5-6DkjyS06xBH5RIxQNY8K9j" False) (C1 (MetaCons "TransferDomainResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_tdrsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

Response Lenses

tdrsResponseStatus :: Lens' TransferDomainResponse Int #

  • - | The response status code.

tdrsOperationId :: Lens' TransferDomainResponse Text #

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.