Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
To retrieve the delegation set for a hosted zone, send a GET
request
to the '/Route 53 API version/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.
- getHostedZone :: Text -> GetHostedZone
- data GetHostedZone
- ghzId :: Lens' GetHostedZone Text
- getHostedZoneResponse :: Int -> HostedZone -> GetHostedZoneResponse
- data GetHostedZoneResponse
- ghzrsVPCs :: Lens' GetHostedZoneResponse (Maybe (NonEmpty VPC))
- ghzrsDelegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet)
- ghzrsResponseStatus :: Lens' GetHostedZoneResponse Int
- ghzrsHostedZone :: Lens' GetHostedZoneResponse HostedZone
Creating a Request
:: Text | |
-> 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:
data GetHostedZone Source #
The input for a GetHostedZone request.
See: getHostedZone
smart constructor.
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:
data GetHostedZoneResponse Source #
A complex type containing information about the specified hosted zone.
See: getHostedZoneResponse
smart constructor.
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.
ghzrsResponseStatus :: Lens' GetHostedZoneResponse Int Source #
The response status code.
ghzrsHostedZone :: Lens' GetHostedZoneResponse HostedZone Source #
A complex type that contains the information about the specified hosted zone.