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

Description

 
Synopsis

Documentation

data HostedZoneOwner Source #

A complex type that identifies a hosted zone that a specified Amazon VPC is associated with and the owner of the hosted zone. If there is a value for OwningAccount, there is no value for OwningService, and vice versa.

See: newHostedZoneOwner smart constructor.

Constructors

HostedZoneOwner' 

Fields

  • owningAccount :: Maybe Text

    If the hosted zone was created by an Amazon Web Services account, or was created by an Amazon Web Services service that creates hosted zones using the current account, OwningAccount contains the account ID of that account. For example, when you use Cloud Map to create a hosted zone, Cloud Map creates the hosted zone using the current Amazon Web Services account.

  • owningService :: Maybe Text

    If an Amazon Web Services service uses its own account to create a hosted zone and associate the specified VPC with that hosted zone, OwningService contains an abbreviation that identifies the service. For example, if Amazon Elastic File System (Amazon EFS) created a hosted zone and associated a VPC with the hosted zone, the value of OwningService is efs.amazonaws.com.

Instances

Instances details
Eq HostedZoneOwner Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZoneOwner

Read HostedZoneOwner Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZoneOwner

Show HostedZoneOwner Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZoneOwner

Generic HostedZoneOwner Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZoneOwner

Associated Types

type Rep HostedZoneOwner :: Type -> Type #

NFData HostedZoneOwner Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZoneOwner

Methods

rnf :: HostedZoneOwner -> () #

Hashable HostedZoneOwner Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZoneOwner

FromXML HostedZoneOwner Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZoneOwner

type Rep HostedZoneOwner Source # 
Instance details

Defined in Amazonka.Route53.Types.HostedZoneOwner

type Rep HostedZoneOwner = D1 ('MetaData "HostedZoneOwner" "Amazonka.Route53.Types.HostedZoneOwner" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "HostedZoneOwner'" 'PrefixI 'True) (S1 ('MetaSel ('Just "owningAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "owningService") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newHostedZoneOwner :: HostedZoneOwner Source #

Create a value of HostedZoneOwner 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:owningAccount:HostedZoneOwner', hostedZoneOwner_owningAccount - If the hosted zone was created by an Amazon Web Services account, or was created by an Amazon Web Services service that creates hosted zones using the current account, OwningAccount contains the account ID of that account. For example, when you use Cloud Map to create a hosted zone, Cloud Map creates the hosted zone using the current Amazon Web Services account.

$sel:owningService:HostedZoneOwner', hostedZoneOwner_owningService - If an Amazon Web Services service uses its own account to create a hosted zone and associate the specified VPC with that hosted zone, OwningService contains an abbreviation that identifies the service. For example, if Amazon Elastic File System (Amazon EFS) created a hosted zone and associated a VPC with the hosted zone, the value of OwningService is efs.amazonaws.com.

hostedZoneOwner_owningAccount :: Lens' HostedZoneOwner (Maybe Text) Source #

If the hosted zone was created by an Amazon Web Services account, or was created by an Amazon Web Services service that creates hosted zones using the current account, OwningAccount contains the account ID of that account. For example, when you use Cloud Map to create a hosted zone, Cloud Map creates the hosted zone using the current Amazon Web Services account.

hostedZoneOwner_owningService :: Lens' HostedZoneOwner (Maybe Text) Source #

If an Amazon Web Services service uses its own account to create a hosted zone and associate the specified VPC with that hosted zone, OwningService contains an abbreviation that identifies the service. For example, if Amazon Elastic File System (Amazon EFS) created a hosted zone and associated a VPC with the hosted zone, the value of OwningService is efs.amazonaws.com.