Copyright | (c) 2013-2015 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 '2013-04-01/hostedzone/hosted zone ID' resource. The delegation
set is the four Route 53 name servers that were assigned to the hosted
zone when you created it.
See: AWS API Reference for GetHostedZone.
- 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)
- ghzrsStatus :: 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
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.
ghzrsStatus :: 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.