libZSservicesZSamazonka-route53ZSamazonka-route53
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53.GetHostedZone

Description

Gets information about a specified hosted zone including the four name servers assigned to the hosted zone.

Synopsis

Creating a Request

data GetHostedZone Source #

A request to get information about a specified hosted zone.

See: newGetHostedZone smart constructor.

Constructors

GetHostedZone' 

Fields

  • id :: ResourceId

    The ID of the hosted zone that you want to get information about.

Instances

Instances details
Eq GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Read GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Show GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Generic GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Associated Types

type Rep GetHostedZone :: Type -> Type #

NFData GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Methods

rnf :: GetHostedZone -> () #

Hashable GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

AWSRequest GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Associated Types

type AWSResponse GetHostedZone #

ToHeaders GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

ToPath GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

ToQuery GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

type Rep GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

type Rep GetHostedZone = D1 ('MetaData "GetHostedZone" "Amazonka.Route53.GetHostedZone" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "GetHostedZone'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceId)))
type AWSResponse GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

newGetHostedZone Source #

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.

Constructors

GetHostedZoneResponse' 

Fields

Instances

Instances details
Eq GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Read GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Show GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Generic GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Associated Types

type Rep GetHostedZoneResponse :: Type -> Type #

NFData GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Methods

rnf :: GetHostedZoneResponse -> () #

type Rep GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

type Rep GetHostedZoneResponse = D1 ('MetaData "GetHostedZoneResponse" "Amazonka.Route53.GetHostedZone" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "GetHostedZoneResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "vPCs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty VPC))) :*: S1 ('MetaSel ('Just "delegationSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DelegationSet))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "hostedZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HostedZone))))

newGetHostedZoneResponse Source #

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_hostedZone :: Lens' GetHostedZoneResponse HostedZone Source #

A complex type that contains general information about the specified hosted zone.