amazonka-route53-0.2.0: Amazon Route 53 SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.GetHostedZone

Contents

Description

To retrieve the delegation set for a hosted zone, send a GET request to the '2013-04-01hostedzonehosted zone ID resource. The delegation set is the four Route 53 name servers that were assigned to the hosted zone when you created it.

http://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHostedZone.html

Synopsis

Request

Request constructor

getHostedZone Source

Arguments

:: Text

ghzId

-> GetHostedZone 

GetHostedZone constructor.

The fields accessible through corresponding lenses are:

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.

Response

Response constructor

Response lenses

ghzrDelegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet) Source

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

ghzrHostedZone :: Lens' GetHostedZoneResponse HostedZone Source

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

ghzrVPCs :: Lens' GetHostedZoneResponse (NonEmpty VPC) Source

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