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 |
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.
HostedZoneOwner' | |
|
Instances
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
.