amazonka-route53-2.0: Amazon Route 53 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
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

AWSRequest GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Associated Types

type AWSResponse GetHostedZone #

Generic GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Associated Types

type Rep GetHostedZone :: Type -> Type #

Read GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Show GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

NFData GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Methods

rnf :: GetHostedZone -> () #

Eq GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Hashable GetHostedZone Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

type AWSResponse 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" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "GetHostedZone'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceId)))

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:

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
Generic GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Associated Types

type Rep GetHostedZoneResponse :: Type -> Type #

Read GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Show GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

NFData GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

Methods

rnf :: GetHostedZoneResponse -> () #

Eq GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

type Rep GetHostedZoneResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZone

type Rep GetHostedZoneResponse = D1 ('MetaData "GetHostedZoneResponse" "Amazonka.Route53.GetHostedZone" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "GetHostedZoneResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "delegationSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DelegationSet)) :*: S1 ('MetaSel ('Just "vPCs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty VPC)))) :*: (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:delegationSet:GetHostedZoneResponse', getHostedZoneResponse_delegationSet - A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.

$sel:vPCs:GetHostedZoneResponse', getHostedZoneResponse_vPCs - A complex type that contains information about the VPCs that are associated with 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_delegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet) Source #

A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.

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

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