amazonka-route53-1.6.1: Amazon Route 53 SDK.

Copyright(c) 2013-2018 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 # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Data GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

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 # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Show GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Generic GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Associated Types

type Rep GetHostedZone :: Type -> Type #

Hashable GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

AWSRequest GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Associated Types

type Rs GetHostedZone :: Type #

ToHeaders GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

ToPath GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

ToQuery GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

NFData GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Methods

rnf :: GetHostedZone -> () #

type Rep GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

type Rep GetHostedZone = D1 (MetaData "GetHostedZone" "Network.AWS.Route53.GetHostedZone" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" True) (C1 (MetaCons "GetHostedZone'" PrefixI True) (S1 (MetaSel (Just "_ghzId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ResourceId)))
type Rs GetHostedZone Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

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 # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Data GetHostedZoneResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

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 # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Show GetHostedZoneResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Generic GetHostedZoneResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Associated Types

type Rep GetHostedZoneResponse :: Type -> Type #

NFData GetHostedZoneResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

Methods

rnf :: GetHostedZoneResponse -> () #

type Rep GetHostedZoneResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHostedZone

type Rep GetHostedZoneResponse = D1 (MetaData "GetHostedZoneResponse" "Network.AWS.Route53.GetHostedZone" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "GetHostedZoneResponse'" PrefixI True) ((S1 (MetaSel (Just "_ghzrsVPCs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 VPC))) :*: S1 (MetaSel (Just "_ghzrsDelegationSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DelegationSet))) :*: (S1 (MetaSel (Just "_ghzrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_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.