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

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

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.

Synopsis

Creating a Request

transferDomain Source #

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. Default: true
  • 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. 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: true
  • 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. 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: 1
  • tdAdminContact - 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.

Instances

Eq TransferDomain Source # 
Data TransferDomain Source # 

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 #

Show TransferDomain Source # 
Generic TransferDomain Source # 

Associated Types

type Rep TransferDomain :: * -> * #

Hashable TransferDomain Source # 
ToJSON TransferDomain Source # 
NFData TransferDomain Source # 

Methods

rnf :: TransferDomain -> () #

AWSRequest TransferDomain Source # 
ToQuery TransferDomain Source # 
ToPath TransferDomain Source # 
ToHeaders TransferDomain Source # 
type Rep TransferDomain Source # 
type Rep TransferDomain = D1 (MetaData "TransferDomain" "Network.AWS.Route53Domains.TransferDomain" "amazonka-route53-domains-1.5.0-14qZIXXOKueGXvT9nQjzPV" 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 Source # 

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 will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. 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 will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. 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 will return contact information for our registrar partner, Gandi, instead of the contact information that you enter. 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, use GetOperationDetail .

data TransferDomainResponse Source #

The TranserDomain response includes the following element.

See: transferDomainResponse smart constructor.

Instances

Eq TransferDomainResponse Source # 
Data TransferDomainResponse Source # 

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 Source # 
Show TransferDomainResponse Source # 
Generic TransferDomainResponse Source # 
NFData TransferDomainResponse Source # 

Methods

rnf :: TransferDomainResponse -> () #

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

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 .