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.Types.HostedZone

Description

 
Synopsis

Documentation

data HostedZone Source #

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

See: newHostedZone smart constructor.

Constructors

HostedZone' 

Fields

  • config :: Maybe HostedZoneConfig

    A complex type that includes the Comment and PrivateZone elements. If you omitted the HostedZoneConfig and Comment elements from the request, the Config and Comment elements don't appear in the response.

  • linkedService :: Maybe LinkedService

    If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created by another service, you can't edit or delete it using Route 53.

  • resourceRecordSetCount :: Maybe Integer

    The number of resource record sets in the hosted zone.

  • id :: ResourceId

    The ID that Amazon Route 53 assigned to the hosted zone when you created it.

  • name :: Text

    The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.

    For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.

  • callerReference :: Text

    The value that you specified for CallerReference when you created the hosted zone.

Instances

Instances details
FromXML HostedZone Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZone

Generic HostedZone Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZone

Associated Types

type Rep HostedZone :: Type -> Type #

Read HostedZone Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZone

Show HostedZone Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZone

NFData HostedZone Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZone

Methods

rnf :: HostedZone -> () #

Eq HostedZone Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZone

Hashable HostedZone Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZone

type Rep HostedZone Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZone

newHostedZone Source #

Create a value of HostedZone 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:config:HostedZone', hostedZone_config - A complex type that includes the Comment and PrivateZone elements. If you omitted the HostedZoneConfig and Comment elements from the request, the Config and Comment elements don't appear in the response.

$sel:linkedService:HostedZone', hostedZone_linkedService - If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created by another service, you can't edit or delete it using Route 53.

$sel:resourceRecordSetCount:HostedZone', hostedZone_resourceRecordSetCount - The number of resource record sets in the hosted zone.

$sel:id:HostedZone', hostedZone_id - The ID that Amazon Route 53 assigned to the hosted zone when you created it.

$sel:name:HostedZone', hostedZone_name - The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.

For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.

$sel:callerReference:HostedZone', hostedZone_callerReference - The value that you specified for CallerReference when you created the hosted zone.

hostedZone_config :: Lens' HostedZone (Maybe HostedZoneConfig) Source #

A complex type that includes the Comment and PrivateZone elements. If you omitted the HostedZoneConfig and Comment elements from the request, the Config and Comment elements don't appear in the response.

hostedZone_linkedService :: Lens' HostedZone (Maybe LinkedService) Source #

If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created by another service, you can't edit or delete it using Route 53.

hostedZone_resourceRecordSetCount :: Lens' HostedZone (Maybe Integer) Source #

The number of resource record sets in the hosted zone.

hostedZone_id :: Lens' HostedZone ResourceId Source #

The ID that Amazon Route 53 assigned to the hosted zone when you created it.

hostedZone_name :: Lens' HostedZone Text Source #

The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.

For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.

hostedZone_callerReference :: Lens' HostedZone Text Source #

The value that you specified for CallerReference when you created the hosted zone.