amazonka-route53-1.4.1: Amazon Route 53 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.Route53.GetHostedZone

Contents

Description

To retrieve the delegation set for a hosted zone, send a GET request to the '/Route 53 API version/hostedzone/hosted zone ID' resource. The delegation set is the four Amazon Route 53 name servers that were assigned to the hosted zone when you created it.

Synopsis

Creating a Request

getHostedZone Source #

Arguments

:: Text

ghzId

-> GetHostedZone 

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

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

data GetHostedZone Source #

The input for a GetHostedZone request.

See: getHostedZone smart constructor.

Instances

Eq GetHostedZone Source # 
Data GetHostedZone Source # 

Methods

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

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

toConstr :: GetHostedZone -> Constr #

dataTypeOf :: GetHostedZone -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHostedZone Source # 
Show GetHostedZone Source # 
Generic GetHostedZone Source # 

Associated Types

type Rep GetHostedZone :: * -> * #

Hashable GetHostedZone Source # 
NFData GetHostedZone Source # 

Methods

rnf :: GetHostedZone -> () #

AWSRequest GetHostedZone Source # 
ToQuery GetHostedZone Source # 
ToPath GetHostedZone Source # 
ToHeaders GetHostedZone Source # 
type Rep GetHostedZone Source # 
type Rep GetHostedZone = D1 (MetaData "GetHostedZone" "Network.AWS.Route53.GetHostedZone" "amazonka-route53-1.4.1-7tbQwgQHkMc6ifX3UPZcPu" True) (C1 (MetaCons "GetHostedZone'" PrefixI True) (S1 (MetaSel (Just Symbol "_ghzId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetHostedZone Source # 

Request Lenses

ghzId :: Lens' GetHostedZone Text Source #

The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.

Destructuring the Response

getHostedZoneResponse Source #

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

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

data GetHostedZoneResponse Source #

A complex type containing information about the specified hosted zone.

See: getHostedZoneResponse smart constructor.

Instances

Eq GetHostedZoneResponse Source # 
Data GetHostedZoneResponse Source # 

Methods

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

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

toConstr :: GetHostedZoneResponse -> Constr #

dataTypeOf :: GetHostedZoneResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHostedZoneResponse Source # 
Show GetHostedZoneResponse Source # 
Generic GetHostedZoneResponse Source # 
NFData GetHostedZoneResponse Source # 

Methods

rnf :: GetHostedZoneResponse -> () #

type Rep GetHostedZoneResponse Source # 
type Rep GetHostedZoneResponse = D1 (MetaData "GetHostedZoneResponse" "Network.AWS.Route53.GetHostedZone" "amazonka-route53-1.4.1-7tbQwgQHkMc6ifX3UPZcPu" False) (C1 (MetaCons "GetHostedZoneResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ghzrsVPCs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 VPC)))) (S1 (MetaSel (Just Symbol "_ghzrsDelegationSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DelegationSet)))) ((:*:) (S1 (MetaSel (Just Symbol "_ghzrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ghzrsHostedZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HostedZone)))))

Response Lenses

ghzrsVPCs :: Lens' GetHostedZoneResponse (Maybe (NonEmpty VPC)) Source #

A complex type that contains information about VPCs associated with the specified hosted zone.

ghzrsDelegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet) Source #

A complex type that contains information about the name servers for the specified hosted zone.

ghzrsHostedZone :: Lens' GetHostedZoneResponse HostedZone Source #

A complex type that contains the information about the specified hosted zone.