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.CheckDomainAvailability

Contents

Description

This operation checks the availability of one domain name. Note that if the availability status of a domain is pending, you must submit another request to determine the availability of the domain name.

Synopsis

Creating a Request

checkDomainAvailability Source #

Creates a value of CheckDomainAvailability with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cdaIdNLangCode - Reserved for future use.
  • cdaDomainName - 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

data CheckDomainAvailability Source #

The CheckDomainAvailability request contains the following elements.

See: checkDomainAvailability smart constructor.

Instances

Eq CheckDomainAvailability Source # 
Data CheckDomainAvailability Source # 

Methods

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

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

toConstr :: CheckDomainAvailability -> Constr #

dataTypeOf :: CheckDomainAvailability -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CheckDomainAvailability Source # 
Show CheckDomainAvailability Source # 
Generic CheckDomainAvailability Source # 
Hashable CheckDomainAvailability Source # 
ToJSON CheckDomainAvailability Source # 
NFData CheckDomainAvailability Source # 

Methods

rnf :: CheckDomainAvailability -> () #

AWSRequest CheckDomainAvailability Source # 
ToPath CheckDomainAvailability Source # 
ToHeaders CheckDomainAvailability Source # 
ToQuery CheckDomainAvailability Source # 
type Rep CheckDomainAvailability Source # 
type Rep CheckDomainAvailability = D1 (MetaData "CheckDomainAvailability" "Network.AWS.Route53Domains.CheckDomainAvailability" "amazonka-route53-domains-1.4.5-4CnKMt89RB29537pw6MzaN" False) (C1 (MetaCons "CheckDomainAvailability'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cdaIdNLangCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cdaDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CheckDomainAvailability Source # 

Request Lenses

cdaDomainName :: Lens' CheckDomainAvailability 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

Destructuring the Response

checkDomainAvailabilityResponse Source #

Creates a value of CheckDomainAvailabilityResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cdarsResponseStatus - -- | The response status code.
  • cdarsAvailability - Whether the domain name is available for registering. Type: String Valid values: * AVAILABLE – The domain name is available. * AVAILABLE_RESERVED – The domain name is reserved under specific conditions. * AVAILABLE_PREORDER – The domain name is available and can be preordered. * UNAVAILABLE – The domain name is not available. * UNAVAILABLE_PREMIUM – The domain name is not available. * UNAVAILABLE_RESTRICTED – The domain name is forbidden. * RESERVED – The domain name has been reserved for another person or organization. * DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

data CheckDomainAvailabilityResponse Source #

The CheckDomainAvailability response includes the following elements.

See: checkDomainAvailabilityResponse smart constructor.

Instances

Eq CheckDomainAvailabilityResponse Source # 
Data CheckDomainAvailabilityResponse Source # 

Methods

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

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

toConstr :: CheckDomainAvailabilityResponse -> Constr #

dataTypeOf :: CheckDomainAvailabilityResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CheckDomainAvailabilityResponse Source # 
Show CheckDomainAvailabilityResponse Source # 
Generic CheckDomainAvailabilityResponse Source # 
NFData CheckDomainAvailabilityResponse Source # 
type Rep CheckDomainAvailabilityResponse Source # 
type Rep CheckDomainAvailabilityResponse = D1 (MetaData "CheckDomainAvailabilityResponse" "Network.AWS.Route53Domains.CheckDomainAvailability" "amazonka-route53-domains-1.4.5-4CnKMt89RB29537pw6MzaN" False) (C1 (MetaCons "CheckDomainAvailabilityResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cdarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_cdarsAvailability") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DomainAvailability))))

Response Lenses

cdarsAvailability :: Lens' CheckDomainAvailabilityResponse DomainAvailability Source #

Whether the domain name is available for registering. Type: String Valid values: * AVAILABLE – The domain name is available. * AVAILABLE_RESERVED – The domain name is reserved under specific conditions. * AVAILABLE_PREORDER – The domain name is available and can be preordered. * UNAVAILABLE – The domain name is not available. * UNAVAILABLE_PREMIUM – The domain name is not available. * UNAVAILABLE_RESTRICTED – The domain name is forbidden. * RESERVED – The domain name has been reserved for another person or organization. * DONT_KNOW – The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.