Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data GetHostedZone
- getHostedZone :: Text -> GetHostedZone
- ghzId :: Lens' GetHostedZone Text
- data GetHostedZoneResponse
- getHostedZoneResponse :: HostedZone -> NonEmpty VPC -> GetHostedZoneResponse
- ghzrDelegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet)
- ghzrHostedZone :: Lens' GetHostedZoneResponse HostedZone
- ghzrVPCs :: Lens' GetHostedZoneResponse (NonEmpty VPC)
Request
data GetHostedZone Source
Request constructor
:: Text | |
-> GetHostedZone |
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
GetHostedZoneResponse
constructor.
The fields accessible through corresponding lenses are:
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.