Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about a specified hosted zone including the four name servers assigned to the hosted zone.
- getHostedZone :: ResourceId -> GetHostedZone
- data GetHostedZone
- ghzId :: Lens' GetHostedZone ResourceId
- 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
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:
ghzId
- The ID of the hosted zone that you want to get information about.
data GetHostedZone Source #
A request to get information about a specified hosted zone.
See: getHostedZone
smart constructor.
Request Lenses
ghzId :: Lens' GetHostedZone ResourceId Source #
The ID of the hosted zone that you want to get information about.
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:
ghzrsVPCs
- A complex type that contains information about the VPCs that are associated with the specified hosted zone.ghzrsDelegationSet
- A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.ghzrsResponseStatus
- -- | The response status code.ghzrsHostedZone
- A complex type that contains general information about the specified hosted zone.
data GetHostedZoneResponse Source #
A complex type that contain the response to a GetHostedZone
request.
See: getHostedZoneResponse
smart constructor.
Response Lenses
ghzrsVPCs :: Lens' GetHostedZoneResponse (Maybe (NonEmpty VPC)) Source #
A complex type that contains information about the VPCs that are associated with the specified hosted zone.
ghzrsDelegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet) Source #
A complex type that lists the Amazon Route 53 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 general information about the specified hosted zone.