amazonka-route53-1.3.7: Amazon Route 53 SDK.

Copyright(c) 2013-2015 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 '2013-04-01/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.

See: AWS API Reference for GetHostedZone.

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:

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:

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.