Copyright | (c) 2013-2021 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 |
Gets information about a specified hosted zone including the four name servers assigned to the hosted zone.
Synopsis
- data GetHostedZone = GetHostedZone' {
- id :: ResourceId
- newGetHostedZone :: ResourceId -> GetHostedZone
- getHostedZone_id :: Lens' GetHostedZone ResourceId
- data GetHostedZoneResponse = GetHostedZoneResponse' {
- vPCs :: Maybe (NonEmpty VPC)
- delegationSet :: Maybe DelegationSet
- httpStatus :: Int
- hostedZone :: HostedZone
- newGetHostedZoneResponse :: Int -> HostedZone -> GetHostedZoneResponse
- getHostedZoneResponse_vPCs :: Lens' GetHostedZoneResponse (Maybe (NonEmpty VPC))
- getHostedZoneResponse_delegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet)
- getHostedZoneResponse_httpStatus :: Lens' GetHostedZoneResponse Int
- getHostedZoneResponse_hostedZone :: Lens' GetHostedZoneResponse HostedZone
Creating a Request
data GetHostedZone Source #
A request to get information about a specified hosted zone.
See: newGetHostedZone
smart constructor.
GetHostedZone' | |
|
Instances
Create a value of GetHostedZone
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:GetHostedZone'
, getHostedZone_id
- The ID of the hosted zone that you want to get information about.
Request Lenses
getHostedZone_id :: Lens' GetHostedZone ResourceId Source #
The ID of the hosted zone that you want to get information about.
Destructuring the Response
data GetHostedZoneResponse Source #
A complex type that contain the response to a GetHostedZone
request.
See: newGetHostedZoneResponse
smart constructor.
GetHostedZoneResponse' | |
|
Instances
newGetHostedZoneResponse Source #
:: Int | |
-> HostedZone | |
-> GetHostedZoneResponse |
Create a value of GetHostedZoneResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:vPCs:GetHostedZoneResponse'
, getHostedZoneResponse_vPCs
- A complex type that contains information about the VPCs that are
associated with the specified hosted zone.
$sel:delegationSet:GetHostedZoneResponse'
, getHostedZoneResponse_delegationSet
- A complex type that lists the Amazon Route 53 name servers for the
specified hosted zone.
$sel:httpStatus:GetHostedZoneResponse'
, getHostedZoneResponse_httpStatus
- The response's http status code.
$sel:hostedZone:GetHostedZoneResponse'
, getHostedZoneResponse_hostedZone
- A complex type that contains general information about the specified
hosted zone.
Response Lenses
getHostedZoneResponse_vPCs :: Lens' GetHostedZoneResponse (Maybe (NonEmpty VPC)) Source #
A complex type that contains information about the VPCs that are associated with the specified hosted zone.
getHostedZoneResponse_delegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet) Source #
A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.
getHostedZoneResponse_httpStatus :: Lens' GetHostedZoneResponse Int Source #
The response's http status code.
getHostedZoneResponse_hostedZone :: Lens' GetHostedZoneResponse HostedZone Source #
A complex type that contains general information about the specified hosted zone.