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

Contents

Description

Gets information about a specified hosted zone including the four name servers assigned to the hosted zone.

Synopsis

Creating a Request

getHostedZone Source #

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:

  • ghzId - The ID of the hosted zone that you want to get information about.

data GetHostedZone Source #

A request to get information about a specified hosted zone.

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.5.0-A9em4xt2RK07uc01kiXLe0" True) (C1 (MetaCons "GetHostedZone'" PrefixI True) (S1 (MetaSel (Just Symbol "_ghzId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ResourceId)))
type Rs GetHostedZone Source # 

Request Lenses

ghzId :: Lens' GetHostedZone ResourceId Source #

The ID of the hosted zone that you want to get information about.

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:

  • ghzrsVPCs - A complex type that contains information about the VPCs that are associated with the specified hosted zone.
  • ghzrsDelegationSet - A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.
  • ghzrsResponseStatus - -- | The response status code.
  • ghzrsHostedZone - A complex type that contains general information about the specified hosted zone.

data GetHostedZoneResponse Source #

A complex type that contain the response to a GetHostedZone request.

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.5.0-A9em4xt2RK07uc01kiXLe0" 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 the VPCs that are associated with the specified hosted zone.

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

A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.

ghzrsResponseStatus :: Lens' GetHostedZoneResponse Int Source #

  • - | The response status code.

ghzrsHostedZone :: Lens' GetHostedZoneResponse HostedZone Source #

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