-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Amazon Route 53 SDK.
--   
--   The types from this library are intended to be used with
--   <a>amazonka</a>, which provides mechanisms for specifying AuthN/AuthZ
--   information, sending requests, and receiving responses.
--   
--   Lenses are used for constructing and manipulating types, due to the
--   depth of nesting of AWS types and transparency regarding
--   de/serialisation into more palatable Haskell values. The provided
--   lenses should be compatible with any of the major lens libraries such
--   as <a>lens</a> or <a>lens-family-core</a>.
--   
--   See <a>Network.AWS.Route53</a> or <a>the AWS documentation</a> to get
--   started.
@package amazonka-route53
@version 1.4.5


module Network.AWS.Route53.Types

-- | API version <tt>2013-04-01</tt> of the Amazon Route 53 SDK
--   configuration.
route53 :: Service

-- | The value of <tt>HealthCheckVersion</tt> in the request doesn't match
--   the value of <tt>HealthCheckVersion</tt> in the health check.
_HealthCheckVersionMismatch :: AsError a => Getting (First ServiceError) a ServiceError

-- | The input is not valid.
_InvalidInput :: AsError a => Getting (First ServiceError) a ServiceError

-- | The hosted zone contains resource records that are not SOA or NS
--   records.
_HostedZoneNotEmpty :: AsError a => Getting (First ServiceError) a ServiceError

-- | Parameter name and problem.
_InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError

-- | Traffic policy instance with given Id already exists.
_TrafficPolicyInstanceAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | You tried to update a traffic policy instance by using a traffic
--   policy version that has a different DNS type than the current type for
--   the instance. You specified the type in the JSON document in the
--   <tt>CreateTrafficPolicy</tt> or <tt>CreateTrafficPolicyVersion</tt>
--   request.
_ConflictingTypes :: AsError a => Getting (First ServiceError) a ServiceError

-- | Another user submitted a request to update the object at the same time
--   that you did. Retry the request.
_ConcurrentModification :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified delegation set has already been marked as reusable.
_DelegationSetAlreadyReusable :: AsError a => Getting (First ServiceError) a ServiceError

-- | Associating the specified VPC with the specified hosted zone has not
--   been authorized.
_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | If Amazon Route 53 can't process a request before the next request
--   arrives, it will reject subsequent requests for the same hosted zone
--   and return an <tt>HTTP 400 error</tt> (<tt>Bad request</tt> ). If
--   Amazon Route 53 returns this error repeatedly for the same request, we
--   recommend that you wait, in intervals of increasing duration, before
--   you try the request again.
_PriorRequestNotComplete :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception contains a list of messages that might contain one or
--   more error messages. Each error message indicates one error in the
--   change batch.
_InvalidChangeBatch :: AsError a => Getting (First ServiceError) a ServiceError

-- | You've created the maximum number of authorizations that can be
--   created for the specified hosted zone. To authorize another VPC to be
--   associated with the hosted zone, submit a
--   <tt>DeleteVPCAssociationAuthorization</tt> request to remove an
--   existing authorization. To get a list of existing authorizations,
--   submit a <tt>ListVPCAssociationAuthorizations</tt> request.
_TooManyVPCAssociationAuthorizations :: AsError a => Getting (First ServiceError) a ServiceError

-- | A traffic policy that has the same value for <tt>Name</tt> already
--   exists.
_TrafficPolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | The format of the traffic policy document that you specified in the
--   <tt>Document</tt> element is invalid.
_InvalidTrafficPolicyDocument :: AsError a => Getting (First ServiceError) a ServiceError

-- | Prism for InvalidPaginationToken' errors.
_InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError

-- | A reusable delegation set with the specified ID does not exist.
_DelegationSetNotReusable :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified domain name is not valid.
_InvalidDomainName :: AsError a => Getting (First ServiceError) a ServiceError

-- | No traffic policy exists with the specified ID.
_NoSuchTrafficPolicy :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified HostedZone can't be found.
_HostedZoneNotFound :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified delegation contains associated hosted zones which must
--   be deleted before the reusable delegation set can be deleted.
_DelegationSetInUse :: AsError a => Getting (First ServiceError) a ServiceError

-- | A reusable delegation set with the specified ID does not exist.
_NoSuchDelegationSet :: AsError a => Getting (First ServiceError) a ServiceError

-- | The health check you're attempting to create already exists.
--   
--   Amazon Route 53 returns this error when a health check has already
--   been created with the specified value for <tt>CallerReference</tt> .
_HealthCheckAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | You've created the maximum number of traffic policies that can be
--   created for the current AWS account. You can request an increase to
--   the limit on the <a>Contact Us</a> page.
_TooManyTrafficPolicies :: AsError a => Getting (First ServiceError) a ServiceError

-- | The VPC that you specified is not authorized to be associated with the
--   hosted zone.
_VPCAssociationAuthorizationNotFound :: AsError a => Getting (First ServiceError) a ServiceError

-- | Amazon Route 53 doesn't support the specified geolocation.
_NoSuchGeoLocation :: AsError a => Getting (First ServiceError) a ServiceError

-- | You can create a hosted zone that has the same name as an existing
--   hosted zone (example.com is common), but there is a limit to the
--   number of hosted zones that have the same name. If you get this error,
--   Amazon Route 53 has reached that limit. If you own the domain name and
--   Amazon Route 53 generates this error, contact Customer Support.
_DelegationSetNotAvailable :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified VPC and hosted zone are not currently associated.
_VPCAssociationNotFound :: AsError a => Getting (First ServiceError) a ServiceError
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError

-- | A change with the specified change ID does not exist.
_NoSuchChange :: AsError a => Getting (First ServiceError) a ServiceError

-- | The limits specified for a resource have been exceeded.
_LimitsExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | You've created the maximum number of traffic policy instances that can
--   be created for the current AWS account. You can request an increase to
--   the limit on the <a>Contact Us</a> page.
_TooManyTrafficPolicyInstances :: AsError a => Getting (First ServiceError) a ServiceError

-- | No traffic policy instance exists with the specified ID.
_NoSuchTrafficPolicyInstance :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource you are trying to access is unsupported on this Amazon
--   Route 53 endpoint. Please consider using a newer endpoint or a tool
--   that does so.
_IncompatibleVersion :: AsError a => Getting (First ServiceError) a ServiceError

-- | You're trying to associate a VPC with a public hosted zone. Amazon
--   Route 53 doesn't support associating a VPC with a public hosted zone.
_PublicZoneVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError

-- | No hosted zone exists with the ID that you specified.
_NoSuchHostedZone :: AsError a => Getting (First ServiceError) a ServiceError

-- | This hosted zone can't be created because the hosted zone limit is
--   exceeded. To request a limit increase, go to the Amazon Route 53
--   <a>Contact Us</a> page.
_TooManyHostedZones :: AsError a => Getting (First ServiceError) a ServiceError

-- | The health check ID for this health check is referenced in the
--   <tt>HealthCheckId</tt> element in one of the resource record sets in
--   one of the hosted zones that are owned by the current AWS account.
_HealthCheckInUse :: AsError a => Getting (First ServiceError) a ServiceError

-- | A delegation set with the same owner and caller reference combination
--   has already been created.
_DelegationSetAlreadyCreated :: AsError a => Getting (First ServiceError) a ServiceError

-- | You specified an Amazon VPC that you're already using for another
--   hosted zone, and the domain that you specified for one of the hosted
--   zones is a subdomain of the domain that you specified for the other
--   hosted zone. For example, you can't use the same Amazon VPC for the
--   hosted zones for example.com and test.example.com.
_ConflictingDomainExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | The VPC that you're trying to disassociate from the private hosted
--   zone is the last VPC that is associated with the hosted zone. Amazon
--   Route 53 doesn't support disassociating the last VPC from a hosted
--   zone.
_LastVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError

-- | You have reached the maximum number of active health checks for an AWS
--   account. The default limit is 100. To request a higher limit,
--   <a>create a case</a> with the AWS Support Center.
_TooManyHealthChecks :: AsError a => Getting (First ServiceError) a ServiceError

-- | No health check exists with the ID that you specified in the
--   <tt>DeleteHealthCheck</tt> request.
_NoSuchHealthCheck :: AsError a => Getting (First ServiceError) a ServiceError

-- | One or more traffic policy instances were created by using the
--   specified traffic policy.
_TrafficPolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError

-- | The VPC ID that you specified either isn't a valid ID or the current
--   account is not authorized to access this VPC.
_InvalidVPCId :: AsError a => Getting (First ServiceError) a ServiceError

-- | The hosted zone you are trying to create already exists. Amazon Route
--   53 returns this error when a hosted zone has already been created with
--   the specified <tt>CallerReference</tt> .
_HostedZoneAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | The available AWS regions.
data Region :: *

-- | US East ('us-east-1').
NorthVirginia :: Region

-- | US East ('us-east-2').
Ohio :: Region

-- | US West ('us-west-1').
NorthCalifornia :: Region

-- | US West ('us-west-2').
Oregon :: Region

-- | Asia Pacific ('ap-northeast-1').
Tokyo :: Region

-- | Asia Pacific ('ap-northeast-2').
Seoul :: Region

-- | Asia Pacific ('ap-south-1').
Mumbai :: Region

-- | Asia Pacific ('ap-southeast-1').
Singapore :: Region

-- | Asia Pacific ('ap-southeast-2').
Sydney :: Region

-- | South America ('sa-east-1').
SaoPaulo :: Region

-- | EU ('eu-west-1').
Ireland :: Region

-- | EU ('eu-central-1').
Frankfurt :: Region

-- | US GovCloud ('us-gov-west-1').
GovCloud :: Region

-- | US GovCloud FIPS (S3 Only, 'fips-us-gov-west-1').
GovCloudFIPS :: Region

-- | China ('cn-north-1').
Beijing :: Region

-- | A Route53 identifier for resources such as hosted zones and delegation
--   sets.
--   
--   Since Route53 outputs prefixed resource identifiers such as
--   <tt><i>hostedzone</i>ABC123</tt>, but expects unprefixed identifiers
--   as inputs, such as <tt>ABC123</tt>, the <a>FromXML</a> instance will
--   strip this prefix take care to ensure the correct input format is
--   observed and <tt>decodeXML . encodeXML == id</tt> holds.
newtype ResourceId
ResourceId :: Text -> ResourceId
[fromResourceId] :: ResourceId -> Text

-- | Get the hosted zone identifier for an S3 website endpoint.
--   
--   When you configure your bucket as a website, the website is available
--   using a region-specific website endpoint. This hosted zone identifier
--   is used adding an alias record to the website to your hosted zone.
--   
--   <i>See:</i> <a>Amazon Simple Storage Service Website Endpoints</a>.
getHostedZoneId :: Region -> Maybe ResourceId
data ChangeAction
Create :: ChangeAction
Delete :: ChangeAction
Upsert :: ChangeAction
data ChangeStatus
Insync :: ChangeStatus
Pending :: ChangeStatus
data CloudWatchRegion
CWRApNortheast1 :: CloudWatchRegion
CWRApNortheast2 :: CloudWatchRegion
CWRApSouth1 :: CloudWatchRegion
CWRApSoutheast1 :: CloudWatchRegion
CWRApSoutheast2 :: CloudWatchRegion
CWREuCentral1 :: CloudWatchRegion
CWREuWest1 :: CloudWatchRegion
CWRSaEast1 :: CloudWatchRegion
CWRUsEast1 :: CloudWatchRegion
CWRUsEast2 :: CloudWatchRegion
CWRUsWest1 :: CloudWatchRegion
CWRUsWest2 :: CloudWatchRegion
data ComparisonOperator
GreaterThanOrEqualToThreshold :: ComparisonOperator
GreaterThanThreshold :: ComparisonOperator
LessThanOrEqualToThreshold :: ComparisonOperator
LessThanThreshold :: ComparisonOperator
data Failover
Primary :: Failover
Secondary :: Failover

-- | An Amazon EC2 Region that you want Amazon Route 53 to use to perform
--   health checks.
data HealthCheckRegion
HCRApNortheast1 :: HealthCheckRegion
HCRApSoutheast1 :: HealthCheckRegion
HCRApSoutheast2 :: HealthCheckRegion
HCREuWest1 :: HealthCheckRegion
HCRSaEast1 :: HealthCheckRegion
HCRUsEast1 :: HealthCheckRegion
HCRUsWest1 :: HealthCheckRegion
HCRUsWest2 :: HealthCheckRegion
data HealthCheckType
Calculated :: HealthCheckType
CloudwatchMetric :: HealthCheckType
HTTP :: HealthCheckType
HTTPS :: HealthCheckType
HTTPSStrMatch :: HealthCheckType
HTTPStrMatch :: HealthCheckType
TCP :: HealthCheckType
data InsufficientDataHealthStatus
Healthy :: InsufficientDataHealthStatus
LastKnownStatus :: InsufficientDataHealthStatus
Unhealthy :: InsufficientDataHealthStatus
data RecordType
A :: RecordType
Aaaa :: RecordType
Cname :: RecordType
MX :: RecordType
NS :: RecordType
Naptr :: RecordType
Ptr :: RecordType
Soa :: RecordType
Spf :: RecordType
Srv :: RecordType
Txt :: RecordType
data Statistic
Average :: Statistic
Maximum :: Statistic
Minimum :: Statistic
SampleCount :: Statistic
Sum :: Statistic
data TagResourceType
Healthcheck :: TagResourceType
Hostedzone :: TagResourceType
data VPCRegion
ApNortheast1 :: VPCRegion
ApNortheast2 :: VPCRegion
ApSouth1 :: VPCRegion
ApSoutheast1 :: VPCRegion
ApSoutheast2 :: VPCRegion
CnNorth1 :: VPCRegion
EuCentral1 :: VPCRegion
EuWest1 :: VPCRegion
SaEast1 :: VPCRegion
UsEast1 :: VPCRegion
UsEast2 :: VPCRegion
UsWest1 :: VPCRegion
UsWest2 :: VPCRegion

-- | A complex type that identifies the CloudWatch alarm that you want
--   Amazon Route 53 health checkers to use to determine whether this
--   health check is healthy.
--   
--   <i>See:</i> <a>alarmIdentifier</a> smart constructor.
data AlarmIdentifier

-- | Creates a value of <a>AlarmIdentifier</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aiRegion</a> - A complex type that identifies the CloudWatch
--   alarm that you want Amazon Route 53 health checkers to use to
--   determine whether this health check is healthy. For the current list
--   of CloudWatch regions, see <a>Amazon CloudWatch</a> in <i>AWS Regions
--   and Endpoints</i> in the <i>Amazon Web Services General Reference</i>
--   .</li>
--   <li><a>aiName</a> - The name of the CloudWatch alarm that you want
--   Amazon Route 53 health checkers to use to determine whether this
--   health check is healthy.</li>
--   </ul>
alarmIdentifier :: CloudWatchRegion -> Text -> AlarmIdentifier

-- | A complex type that identifies the CloudWatch alarm that you want
--   Amazon Route 53 health checkers to use to determine whether this
--   health check is healthy. For the current list of CloudWatch regions,
--   see <a>Amazon CloudWatch</a> in <i>AWS Regions and Endpoints</i> in
--   the <i>Amazon Web Services General Reference</i> .
aiRegion :: Lens' AlarmIdentifier CloudWatchRegion

-- | The name of the CloudWatch alarm that you want Amazon Route 53 health
--   checkers to use to determine whether this health check is healthy.
aiName :: Lens' AlarmIdentifier Text

-- | <i>Alias resource record sets only:</i> Information about the
--   CloudFront distribution, Elastic Beanstalk environment, ELB load
--   balancer, Amazon S3 bucket, or Amazon Route 53 resource record set
--   that you're redirecting queries to. The Elastic Beanstalk environment
--   must have a regionalized subdomain.
--   
--   When creating resource record sets for a private hosted zone, note the
--   following:
--   
--   <ul>
--   <li>Resource record sets can't be created for CloudFront distributions
--   in a private hosted zone.</li>
--   <li>Creating geolocation alias resource record sets or latency alias
--   resource record sets in a private hosted zone is unsupported.</li>
--   <li>For information about creating failover resource record sets in a
--   private hosted zone, see <a>Configuring Failover in a Private Hosted
--   Zone</a> .</li>
--   </ul>
--   
--   <i>See:</i> <a>aliasTarget</a> smart constructor.
data AliasTarget

-- | Creates a value of <a>AliasTarget</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>atHostedZoneId</a> - <i>Alias resource records sets only</i> :
--   The value used depends on where the queries are routed: * A CloudFront
--   distribution * Specify <tt>Z2FDTNDATAQYW2</tt> . * Elastic Beanstalk
--   environment * Specify the hosted zone ID for the region in which you
--   created the environment. The environment must have a regionalized
--   subdomain. For a list of regions and the corresponding hosted zone
--   IDs, see <a>AWS Elastic Beanstalk</a> in the Regions and Endpoints
--   chapter of the <i>Amazon Web Services General Reference</i> . * ELB
--   load balancer * Specify the value of the hosted zone ID for the load
--   balancer. Use the following methods to get the hosted zone ID: * AWS
--   Management Console: Go to the Amazon EC2 page, click <b>Load
--   Balancers</b> in the navigation pane, select the load balancer, and
--   get the value of the <b>Hosted Zone ID</b> field on the
--   <b>Description</b> tab. Use the same process to get the value of
--   <b>DNS Name</b> . See 'HostedZone$Name' . * Elastic Load Balancing
--   API: Use <tt>DescribeLoadBalancers</tt> to get the value of
--   <tt>CanonicalHostedZoneNameID</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneName</tt> . See 'HostedZone$Name' . * AWS CLI:
--   Use <tt><a>describe-load-balancers</a> </tt> to get the value of
--   <tt>CanonicalHostedZoneNameID</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneName</tt> . See 'HostedZone$Name' . * An Amazon
--   S3 bucket configured as a static website * Specify the hosted zone ID
--   for the Amazon S3 website endpoint in which you created the bucket.
--   For more information about valid values, see the table <a>Amazon S3
--   (S3) Website Endpoints</a> in the <i>Amazon Web Services General
--   Reference</i> . * Another Amazon Route 53 resource record set in your
--   hosted zone * Specify the hosted zone ID of your hosted zone. (An
--   alias resource record set can't reference a resource record set in a
--   different hosted zone.)</li>
--   <li><a>atDNSName</a> - <i>Alias resource record sets only:</i> The
--   value that you specify depends on where you want to route queries: *
--   <b>A CloudFront distribution:</b> Specify the domain name that
--   CloudFront assigned when you created your distribution. Your
--   CloudFront distribution must include an alternate domain name that
--   matches the name of the resource record set. For example, if the name
--   of the resource record set is <i>acme.example.com</i> , your
--   CloudFront distribution must include <i>acme.example.com</i> as one of
--   the alternate domain names. For more information, see <a>Using
--   Alternate Domain Names (CNAMEs)</a> in the <i>Amazon CloudFront
--   Developer Guide</i> . * <b>Elastic Beanstalk environment</b> : Specify
--   the <tt>CNAME</tt> attribute for the environment. (The environment
--   must have a regionalized domain name.) You can use the following
--   methods to get the value of the CNAME attribute: * <i>AWS Managment
--   Console</i> : For information about how to get the value by using the
--   console, see <a>Using Custom Domains with AWS Elastic Beanstalk</a> in
--   the <i>AWS Elastic Beanstalk Developer Guide</i> . * <i>Elastic Load
--   Balancing API</i> : Use the <tt>DescribeEnvironments</tt> action to
--   get the value of the <tt>CNAME</tt> attribute. For more information,
--   see <a>DescribeEnvironments</a> in the <i>AWS Elastic Beanstalk API
--   Reference</i> . * <i>AWS CLI</i> : Use the describe-environments
--   command to get the value of the <tt>CNAME</tt> attribute. For more
--   information, see <a>describe-environments</a> in the <i>AWS Command
--   Line Interface Reference</i> . * <b>An ELB load balancer:</b> Specify
--   the DNS name associated with the load balancer. Get the DNS name by
--   using the AWS Management Console, the ELB API, or the AWS CLI. Use the
--   same method to get values for <tt>HostedZoneId</tt> and
--   <tt>DNSName</tt> . If you get one value from the console and the other
--   value from the API or the CLI, creating the resource record set will
--   fail. * <i>AWS Management Console</i> : Go to the EC2 page, click
--   <b>Load Balancers</b> in the navigation pane, choose the load
--   balancer, choose the <b>Description</b> tab, and get the value of the
--   <b>DNS Name</b> field that begins with dualstack. Use the same process
--   to get the <b>Hosted Zone ID</b> . See 'HostedZone$Id' . * <i>Elastic
--   Load Balancing API</i> : Use <tt><a>DescribeLoadBalancers</a> </tt> to
--   get the value of <tt>CanonicalHostedZoneName</tt> . Use the same
--   process to get the <tt>CanonicalHostedZoneNameId</tt> . See
--   'HostedZone$Id' . * <i>AWS CLI</i> : Use
--   <tt><a>describe-load-balancers</a> </tt> to get the value of
--   <tt>CanonicalHostedZoneName</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneNameId</tt> . See HostedZoneId. * <b>An Amazon
--   S3 bucket that is configured as a static website:</b> Specify the
--   domain name of the Amazon S3 website endpoint in which you created the
--   bucket; for example, <tt>s3-website-us-east-1.amazonaws.com</tt> . For
--   more information about valid values, see the table <a>Amazon Simple
--   Storage Service (S3) Website Endpoints</a> in the <i>Amazon Web
--   Services General Reference</i> . For more information about using S3
--   buckets for websites, see <a>Hosting a Static Website on Amazon S3</a>
--   in the <i>Amazon S3 Developer Guide.</i> * <b>Another Amazon Route 53
--   resource record set</b> : Specify the value of the <tt>Name</tt>
--   element for a resource record set in the current hosted zone.</li>
--   <li><a>atEvaluateTargetHealth</a> - <i>Applies only to alias, weighted
--   alias, latency alias, and failover alias record sets:</i> If you set
--   the value of <tt>EvaluateTargetHealth</tt> to <tt>true</tt> for the
--   resource record set or sets in an alias, weighted alias, latency
--   alias, or failover alias resource record set, and if you specify a
--   value for <tt>'HealthCheck$Id' </tt> for every resource record set
--   that is referenced by these alias resource record sets, the alias
--   resource record sets inherit the health of the referenced resource
--   record sets. In this configuration, when Amazon Route 53 receives a
--   DNS query for an alias resource record set: * Amazon Route 53 looks at
--   the resource record sets that are referenced by the alias resource
--   record sets to determine which health checks they're using. * Amazon
--   Route 53 checks the current status of each health check. (Amazon Route
--   53 periodically checks the health of the endpoint that is specified in
--   a health check; it doesn't perform the health check when the DNS query
--   arrives.) * Based on the status of the health checks, Amazon Route 53
--   determines which resource record sets are healthy. Unhealthy resource
--   record sets are immediately removed from consideration. In addition,
--   if all of the resource record sets that are referenced by an alias
--   resource record set are unhealthy, that alias resource record set also
--   is immediately removed from consideration. * Based on the
--   configuration of the alias resource record sets (weighted alias or
--   latency alias, for example) and the configuration of the resource
--   record sets that they reference, Amazon Route 53 chooses a resource
--   record set from the healthy resource record sets, and responds to the
--   query. Note the following: * You can't set
--   <tt>EvaluateTargetHealth</tt> to <tt>true</tt> when the alias target
--   is a CloudFront distribution. * If the AWS resource that you specify
--   in <tt>AliasTarget</tt> is a resource record set or a group of
--   resource record sets (for example, a group of weighted resource record
--   sets), but it is not another alias resource record set, we recommend
--   that you associate a health check with all of the resource record sets
--   in the alias target.For more information, see <a>What Happens When You
--   Omit Health Checks?</a> in the <i>Amazon Route 53 Developer Guide</i>
--   . * If you specify an Elastic Beanstalk environment in
--   <tt>HostedZoneId</tt> and <tt>DNSName</tt> , and if the environment
--   contains an ELB load balancer, Elastic Load Balancing routes queries
--   only to the healthy Amazon EC2 instances that are registered with the
--   load balancer. (An environment automatically contains an ELB load
--   balancer if it includes more than one EC2 instance.) If you set
--   <tt>EvaluateTargetHealth</tt> to <tt>true</tt> and either no EC2
--   instances are healthy or the load balancer itself is unhealthy, Amazon
--   Route 53 routes queries to other available resources that are healthy,
--   if any. If the environment contains a single EC2 instance, there are
--   no special requirements. * If you specify an ELB load balancer in
--   <tt><a>AliasTarget</a> </tt> , Elastic Load Balancing routes queries
--   only to the healthy EC2 instances that are registered with the load
--   balancer. If no EC2 instances are healthy or if the load balancer
--   itself is unhealthy, and if <tt>EvaluateTargetHealth</tt> is true for
--   the corresponding alias resource record set, Amazon Route 53 routes
--   queries to other resources. When you create a load balancer, you
--   configure settings for Elastic Load Balancing health checks; they're
--   not Amazon Route 53 health checks, but they perform a similar
--   function. Do not create Amazon Route 53 health checks for the EC2
--   instances that you register with an ELB load balancer. For more
--   information, see <a>How Health Checks Work in More Complex Amazon
--   Route 53 Configurations</a> in the <i>Amazon Route 53 Developers
--   Guide</i> . * We recommend that you set <tt>EvaluateTargetHealth</tt>
--   to true only when you have enough idle capacity to handle the failure
--   of one or more endpoints. For more information and examples, see
--   <a>Amazon Route 53 Health Checks and DNS Failover</a> in the <i>Amazon
--   Route 53 Developer Guide</i> .</li>
--   </ul>
aliasTarget :: ResourceId -> Text -> Bool -> AliasTarget

-- | <i>Alias resource records sets only</i> : The value used depends on
--   where the queries are routed: * A CloudFront distribution * Specify
--   <tt>Z2FDTNDATAQYW2</tt> . * Elastic Beanstalk environment * Specify
--   the hosted zone ID for the region in which you created the
--   environment. The environment must have a regionalized subdomain. For a
--   list of regions and the corresponding hosted zone IDs, see <a>AWS
--   Elastic Beanstalk</a> in the Regions and Endpoints chapter of the
--   <i>Amazon Web Services General Reference</i> . * ELB load balancer *
--   Specify the value of the hosted zone ID for the load balancer. Use the
--   following methods to get the hosted zone ID: * AWS Management Console:
--   Go to the Amazon EC2 page, click <b>Load Balancers</b> in the
--   navigation pane, select the load balancer, and get the value of the
--   <b>Hosted Zone ID</b> field on the <b>Description</b> tab. Use the
--   same process to get the value of <b>DNS Name</b> . See
--   'HostedZone$Name' . * Elastic Load Balancing API: Use
--   <tt>DescribeLoadBalancers</tt> to get the value of
--   <tt>CanonicalHostedZoneNameID</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneName</tt> . See 'HostedZone$Name' . * AWS CLI:
--   Use <tt><a>describe-load-balancers</a> </tt> to get the value of
--   <tt>CanonicalHostedZoneNameID</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneName</tt> . See 'HostedZone$Name' . * An Amazon
--   S3 bucket configured as a static website * Specify the hosted zone ID
--   for the Amazon S3 website endpoint in which you created the bucket.
--   For more information about valid values, see the table <a>Amazon S3
--   (S3) Website Endpoints</a> in the <i>Amazon Web Services General
--   Reference</i> . * Another Amazon Route 53 resource record set in your
--   hosted zone * Specify the hosted zone ID of your hosted zone. (An
--   alias resource record set can't reference a resource record set in a
--   different hosted zone.)
atHostedZoneId :: Lens' AliasTarget ResourceId

-- | <i>Alias resource record sets only:</i> The value that you specify
--   depends on where you want to route queries: * <b>A CloudFront
--   distribution:</b> Specify the domain name that CloudFront assigned
--   when you created your distribution. Your CloudFront distribution must
--   include an alternate domain name that matches the name of the resource
--   record set. For example, if the name of the resource record set is
--   <i>acme.example.com</i> , your CloudFront distribution must include
--   <i>acme.example.com</i> as one of the alternate domain names. For more
--   information, see <a>Using Alternate Domain Names (CNAMEs)</a> in the
--   <i>Amazon CloudFront Developer Guide</i> . * <b>Elastic Beanstalk
--   environment</b> : Specify the <tt>CNAME</tt> attribute for the
--   environment. (The environment must have a regionalized domain name.)
--   You can use the following methods to get the value of the CNAME
--   attribute: * <i>AWS Managment Console</i> : For information about how
--   to get the value by using the console, see <a>Using Custom Domains
--   with AWS Elastic Beanstalk</a> in the <i>AWS Elastic Beanstalk
--   Developer Guide</i> . * <i>Elastic Load Balancing API</i> : Use the
--   <tt>DescribeEnvironments</tt> action to get the value of the
--   <tt>CNAME</tt> attribute. For more information, see
--   <a>DescribeEnvironments</a> in the <i>AWS Elastic Beanstalk API
--   Reference</i> . * <i>AWS CLI</i> : Use the describe-environments
--   command to get the value of the <tt>CNAME</tt> attribute. For more
--   information, see <a>describe-environments</a> in the <i>AWS Command
--   Line Interface Reference</i> . * <b>An ELB load balancer:</b> Specify
--   the DNS name associated with the load balancer. Get the DNS name by
--   using the AWS Management Console, the ELB API, or the AWS CLI. Use the
--   same method to get values for <tt>HostedZoneId</tt> and
--   <tt>DNSName</tt> . If you get one value from the console and the other
--   value from the API or the CLI, creating the resource record set will
--   fail. * <i>AWS Management Console</i> : Go to the EC2 page, click
--   <b>Load Balancers</b> in the navigation pane, choose the load
--   balancer, choose the <b>Description</b> tab, and get the value of the
--   <b>DNS Name</b> field that begins with dualstack. Use the same process
--   to get the <b>Hosted Zone ID</b> . See 'HostedZone$Id' . * <i>Elastic
--   Load Balancing API</i> : Use <tt><a>DescribeLoadBalancers</a> </tt> to
--   get the value of <tt>CanonicalHostedZoneName</tt> . Use the same
--   process to get the <tt>CanonicalHostedZoneNameId</tt> . See
--   'HostedZone$Id' . * <i>AWS CLI</i> : Use
--   <tt><a>describe-load-balancers</a> </tt> to get the value of
--   <tt>CanonicalHostedZoneName</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneNameId</tt> . See HostedZoneId. * <b>An Amazon
--   S3 bucket that is configured as a static website:</b> Specify the
--   domain name of the Amazon S3 website endpoint in which you created the
--   bucket; for example, <tt>s3-website-us-east-1.amazonaws.com</tt> . For
--   more information about valid values, see the table <a>Amazon Simple
--   Storage Service (S3) Website Endpoints</a> in the <i>Amazon Web
--   Services General Reference</i> . For more information about using S3
--   buckets for websites, see <a>Hosting a Static Website on Amazon S3</a>
--   in the <i>Amazon S3 Developer Guide.</i> * <b>Another Amazon Route 53
--   resource record set</b> : Specify the value of the <tt>Name</tt>
--   element for a resource record set in the current hosted zone.
atDNSName :: Lens' AliasTarget Text

-- | <i>Applies only to alias, weighted alias, latency alias, and failover
--   alias record sets:</i> If you set the value of
--   <tt>EvaluateTargetHealth</tt> to <tt>true</tt> for the resource record
--   set or sets in an alias, weighted alias, latency alias, or failover
--   alias resource record set, and if you specify a value for
--   <tt>'HealthCheck$Id' </tt> for every resource record set that is
--   referenced by these alias resource record sets, the alias resource
--   record sets inherit the health of the referenced resource record sets.
--   In this configuration, when Amazon Route 53 receives a DNS query for
--   an alias resource record set: * Amazon Route 53 looks at the resource
--   record sets that are referenced by the alias resource record sets to
--   determine which health checks they're using. * Amazon Route 53 checks
--   the current status of each health check. (Amazon Route 53 periodically
--   checks the health of the endpoint that is specified in a health check;
--   it doesn't perform the health check when the DNS query arrives.) *
--   Based on the status of the health checks, Amazon Route 53 determines
--   which resource record sets are healthy. Unhealthy resource record sets
--   are immediately removed from consideration. In addition, if all of the
--   resource record sets that are referenced by an alias resource record
--   set are unhealthy, that alias resource record set also is immediately
--   removed from consideration. * Based on the configuration of the alias
--   resource record sets (weighted alias or latency alias, for example)
--   and the configuration of the resource record sets that they reference,
--   Amazon Route 53 chooses a resource record set from the healthy
--   resource record sets, and responds to the query. Note the following: *
--   You can't set <tt>EvaluateTargetHealth</tt> to <tt>true</tt> when the
--   alias target is a CloudFront distribution. * If the AWS resource that
--   you specify in <tt>AliasTarget</tt> is a resource record set or a
--   group of resource record sets (for example, a group of weighted
--   resource record sets), but it is not another alias resource record
--   set, we recommend that you associate a health check with all of the
--   resource record sets in the alias target.For more information, see
--   <a>What Happens When You Omit Health Checks?</a> in the <i>Amazon
--   Route 53 Developer Guide</i> . * If you specify an Elastic Beanstalk
--   environment in <tt>HostedZoneId</tt> and <tt>DNSName</tt> , and if the
--   environment contains an ELB load balancer, Elastic Load Balancing
--   routes queries only to the healthy Amazon EC2 instances that are
--   registered with the load balancer. (An environment automatically
--   contains an ELB load balancer if it includes more than one EC2
--   instance.) If you set <tt>EvaluateTargetHealth</tt> to <tt>true</tt>
--   and either no EC2 instances are healthy or the load balancer itself is
--   unhealthy, Amazon Route 53 routes queries to other available resources
--   that are healthy, if any. If the environment contains a single EC2
--   instance, there are no special requirements. * If you specify an ELB
--   load balancer in <tt><a>AliasTarget</a> </tt> , Elastic Load Balancing
--   routes queries only to the healthy EC2 instances that are registered
--   with the load balancer. If no EC2 instances are healthy or if the load
--   balancer itself is unhealthy, and if <tt>EvaluateTargetHealth</tt> is
--   true for the corresponding alias resource record set, Amazon Route 53
--   routes queries to other resources. When you create a load balancer,
--   you configure settings for Elastic Load Balancing health checks;
--   they're not Amazon Route 53 health checks, but they perform a similar
--   function. Do not create Amazon Route 53 health checks for the EC2
--   instances that you register with an ELB load balancer. For more
--   information, see <a>How Health Checks Work in More Complex Amazon
--   Route 53 Configurations</a> in the <i>Amazon Route 53 Developers
--   Guide</i> . * We recommend that you set <tt>EvaluateTargetHealth</tt>
--   to true only when you have enough idle capacity to handle the failure
--   of one or more endpoints. For more information and examples, see
--   <a>Amazon Route 53 Health Checks and DNS Failover</a> in the <i>Amazon
--   Route 53 Developer Guide</i> .
atEvaluateTargetHealth :: Lens' AliasTarget Bool

-- | The information for each resource record set that you want to change.
--   
--   <i>See:</i> <a>change</a> smart constructor.
data Change

-- | Creates a value of <a>Change</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cAction</a> - The action to perform: * <tt>CREATE</tt> :
--   Creates a resource record set that has the specified values. *
--   <tt>DELETE</tt> : Deletes a existing resource record set.
--   <i>Important:</i> To delete the resource record set that is associated
--   with a traffic policy instance, use
--   <tt><tt>DeleteTrafficPolicyInstance</tt> </tt> . Amazon Route 53 will
--   delete the resource record set automatically. If you delete the
--   resource record set by using <tt>ChangeResourceRecordSets</tt> ,
--   Amazon Route 53 doesn't automatically delete the traffic policy
--   instance, and you'll continue to be charged for it even though it's no
--   longer in use. * <tt>UPSERT</tt> : If a resource record set doesn't
--   already exist, Amazon Route 53 creates it. If a resource record set
--   does exist, Amazon Route 53 updates it with the values in the request.
--   The values that you need to include in the request depend on the type
--   of resource record set that you're creating, deleting, or updating:
--   <b>Basic resource record sets (excluding alias, failover, geolocation,
--   latency, and weighted resource record sets)</b> * <tt>Name</tt> *
--   <tt>Type</tt> * <tt>TTL</tt> <b>Failover, geolocation, latency, or
--   weighted resource record sets (excluding alias resource record
--   sets)</b> * <tt>Name</tt> * <tt>Type</tt> * <tt>TTL</tt> *
--   <tt>SetIdentifier</tt> <b>Alias resource record sets (including
--   failover alias, geolocation alias, latency alias, and weighted alias
--   resource record sets)</b> * <tt>Name</tt> * <tt>Type</tt> *
--   <tt>AliasTarget</tt> (includes <tt>DNSName</tt> ,
--   <tt>EvaluateTargetHealth</tt> , and <tt>HostedZoneId</tt> ) *
--   <tt>SetIdentifier</tt> (for failover, geolocation, latency, and
--   weighted resource record sets)</li>
--   <li><a>cResourceRecordSet</a> - Information about the resource record
--   set to create, delete, or update.</li>
--   </ul>
change :: ChangeAction -> ResourceRecordSet -> Change

-- | The action to perform: * <tt>CREATE</tt> : Creates a resource record
--   set that has the specified values. * <tt>DELETE</tt> : Deletes a
--   existing resource record set. <i>Important:</i> To delete the resource
--   record set that is associated with a traffic policy instance, use
--   <tt><tt>DeleteTrafficPolicyInstance</tt> </tt> . Amazon Route 53 will
--   delete the resource record set automatically. If you delete the
--   resource record set by using <tt>ChangeResourceRecordSets</tt> ,
--   Amazon Route 53 doesn't automatically delete the traffic policy
--   instance, and you'll continue to be charged for it even though it's no
--   longer in use. * <tt>UPSERT</tt> : If a resource record set doesn't
--   already exist, Amazon Route 53 creates it. If a resource record set
--   does exist, Amazon Route 53 updates it with the values in the request.
--   The values that you need to include in the request depend on the type
--   of resource record set that you're creating, deleting, or updating:
--   <b>Basic resource record sets (excluding alias, failover, geolocation,
--   latency, and weighted resource record sets)</b> * <tt>Name</tt> *
--   <tt>Type</tt> * <tt>TTL</tt> <b>Failover, geolocation, latency, or
--   weighted resource record sets (excluding alias resource record
--   sets)</b> * <tt>Name</tt> * <tt>Type</tt> * <tt>TTL</tt> *
--   <tt>SetIdentifier</tt> <b>Alias resource record sets (including
--   failover alias, geolocation alias, latency alias, and weighted alias
--   resource record sets)</b> * <tt>Name</tt> * <tt>Type</tt> *
--   <tt>AliasTarget</tt> (includes <tt>DNSName</tt> ,
--   <tt>EvaluateTargetHealth</tt> , and <tt>HostedZoneId</tt> ) *
--   <tt>SetIdentifier</tt> (for failover, geolocation, latency, and
--   weighted resource record sets)
cAction :: Lens' Change ChangeAction

-- | Information about the resource record set to create, delete, or
--   update.
cResourceRecordSet :: Lens' Change ResourceRecordSet

-- | The information for a change request.
--   
--   <i>See:</i> <a>changeBatch</a> smart constructor.
data ChangeBatch

-- | Creates a value of <a>ChangeBatch</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cbComment</a> - <i>Optional:</i> Any comments you want to
--   include about a change batch request.</li>
--   <li><a>cbChanges</a> - Information about the changes to make to the
--   record sets.</li>
--   </ul>
changeBatch :: NonEmpty Change -> ChangeBatch

-- | <i>Optional:</i> Any comments you want to include about a change batch
--   request.
cbComment :: Lens' ChangeBatch (Maybe Text)

-- | Information about the changes to make to the record sets.
cbChanges :: Lens' ChangeBatch (NonEmpty Change)

-- | A complex type that describes change information about changes made to
--   your hosted zone.
--   
--   <i>See:</i> <a>changeInfo</a> smart constructor.
data ChangeInfo

-- | Creates a value of <a>ChangeInfo</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ciComment</a> - A complex type that describes change
--   information about changes made to your hosted zone. This element
--   contains an ID that you use when performing a <tt>GetChange</tt>
--   action to get detailed information about the change.</li>
--   <li><a>ciId</a> - The ID of the request.</li>
--   <li><a>ciStatus</a> - The current state of the request.
--   <tt>PENDING</tt> indicates that this request has not yet been applied
--   to all Amazon Route 53 DNS servers.</li>
--   <li><a>ciSubmittedAt</a> - The date and time the change request was
--   submitted, in Coordinated Universal Time (UTC) format:
--   <tt>YYYY-MM-DDThh:mm:ssZ</tt> . For more information, see the
--   Wikipedia entry <a>ISO 8601</a> .</li>
--   </ul>
changeInfo :: ResourceId -> ChangeStatus -> UTCTime -> ChangeInfo

-- | A complex type that describes change information about changes made to
--   your hosted zone. This element contains an ID that you use when
--   performing a <tt>GetChange</tt> action to get detailed information
--   about the change.
ciComment :: Lens' ChangeInfo (Maybe Text)

-- | The ID of the request.
ciId :: Lens' ChangeInfo ResourceId

-- | The current state of the request. <tt>PENDING</tt> indicates that this
--   request has not yet been applied to all Amazon Route 53 DNS servers.
ciStatus :: Lens' ChangeInfo ChangeStatus

-- | The date and time the change request was submitted, in Coordinated
--   Universal Time (UTC) format: <tt>YYYY-MM-DDThh:mm:ssZ</tt> . For more
--   information, see the Wikipedia entry <a>ISO 8601</a> .
ciSubmittedAt :: Lens' ChangeInfo UTCTime

-- | A complex type that contains information about the CloudWatch alarm
--   that Amazon Route 53 is monitoring for this health check.
--   
--   <i>See:</i> <a>cloudWatchAlarmConfiguration</a> smart constructor.
data CloudWatchAlarmConfiguration

-- | Creates a value of <a>CloudWatchAlarmConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cwacDimensions</a> - For the metric that the CloudWatch alarm
--   is associated with, a complex type that contains information about the
--   dimensions for the metric.For information, see <a>Amazon CloudWatch
--   Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
--   CloudWatch User Guide</i> .</li>
--   <li><a>cwacEvaluationPeriods</a> - For the metric that the CloudWatch
--   alarm is associated with, the number of periods that the metric is
--   compared to the threshold.</li>
--   <li><a>cwacThreshold</a> - For the metric that the CloudWatch alarm is
--   associated with, the value the metric is compared with.</li>
--   <li><a>cwacComparisonOperator</a> - For the metric that the CloudWatch
--   alarm is associated with, the arithmetic operation that is used for
--   the comparison.</li>
--   <li><a>cwacPeriod</a> - For the metric that the CloudWatch alarm is
--   associated with, the duration of one evaluation period in
--   seconds.</li>
--   <li><a>cwacMetricName</a> - The name of the CloudWatch metric that the
--   alarm is associated with.</li>
--   <li><a>cwacNamespace</a> - The namespace of the metric that the alarm
--   is associated with. For more information, see <a>Amazon CloudWatch
--   Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
--   CloudWatch User Guide</i> .</li>
--   <li><a>cwacStatistic</a> - For the metric that the CloudWatch alarm is
--   associated with, the statistic that is applied to the metric.</li>
--   </ul>
cloudWatchAlarmConfiguration :: Natural -> Double -> ComparisonOperator -> Natural -> Text -> Text -> Statistic -> CloudWatchAlarmConfiguration

-- | For the metric that the CloudWatch alarm is associated with, a complex
--   type that contains information about the dimensions for the metric.For
--   information, see <a>Amazon CloudWatch Namespaces, Dimensions, and
--   Metrics Reference</a> in the <i>Amazon CloudWatch User Guide</i> .
cwacDimensions :: Lens' CloudWatchAlarmConfiguration [Dimension]

-- | For the metric that the CloudWatch alarm is associated with, the
--   number of periods that the metric is compared to the threshold.
cwacEvaluationPeriods :: Lens' CloudWatchAlarmConfiguration Natural

-- | For the metric that the CloudWatch alarm is associated with, the value
--   the metric is compared with.
cwacThreshold :: Lens' CloudWatchAlarmConfiguration Double

-- | For the metric that the CloudWatch alarm is associated with, the
--   arithmetic operation that is used for the comparison.
cwacComparisonOperator :: Lens' CloudWatchAlarmConfiguration ComparisonOperator

-- | For the metric that the CloudWatch alarm is associated with, the
--   duration of one evaluation period in seconds.
cwacPeriod :: Lens' CloudWatchAlarmConfiguration Natural

-- | The name of the CloudWatch metric that the alarm is associated with.
cwacMetricName :: Lens' CloudWatchAlarmConfiguration Text

-- | The namespace of the metric that the alarm is associated with. For
--   more information, see <a>Amazon CloudWatch Namespaces, Dimensions, and
--   Metrics Reference</a> in the <i>Amazon CloudWatch User Guide</i> .
cwacNamespace :: Lens' CloudWatchAlarmConfiguration Text

-- | For the metric that the CloudWatch alarm is associated with, the
--   statistic that is applied to the metric.
cwacStatistic :: Lens' CloudWatchAlarmConfiguration Statistic

-- | A complex type that describes the name servers for this hosted zone.
--   
--   <i>See:</i> <a>delegationSet</a> smart constructor.
data DelegationSet

-- | Creates a value of <a>DelegationSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsId</a> - The ID that Amazon Route 53 assigns to a reusable
--   delegation set.</li>
--   <li><a>dsCallerReference</a> - A unique string that identifies the
--   request, and that allows you to retry failed
--   <tt>CreateReusableDelegationSet</tt> requests without the risk of
--   executing the operation twice. You must use a unique
--   <tt>CallerReference</tt> string every time you submit a
--   <tt>CreateReusableDelegationSet</tt> request. <tt>CallerReference</tt>
--   can be any unique string, for example, a date/time stamp.</li>
--   <li><a>dsNameServers</a> - A complex type that contains a list of the
--   authoritative name servers for the hosted zone.</li>
--   </ul>
delegationSet :: NonEmpty Text -> DelegationSet

-- | The ID that Amazon Route 53 assigns to a reusable delegation set.
dsId :: Lens' DelegationSet (Maybe ResourceId)

-- | A unique string that identifies the request, and that allows you to
--   retry failed <tt>CreateReusableDelegationSet</tt> requests without the
--   risk of executing the operation twice. You must use a unique
--   <tt>CallerReference</tt> string every time you submit a
--   <tt>CreateReusableDelegationSet</tt> request. <tt>CallerReference</tt>
--   can be any unique string, for example, a date/time stamp.
dsCallerReference :: Lens' DelegationSet (Maybe Text)

-- | A complex type that contains a list of the authoritative name servers
--   for the hosted zone.
dsNameServers :: Lens' DelegationSet (NonEmpty Text)

-- | For the metric that the CloudWatch alarm is associated with, a complex
--   type that contains information about one dimension.
--   
--   <i>See:</i> <a>dimension</a> smart constructor.
data Dimension

-- | Creates a value of <a>Dimension</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dName</a> - For the metric that the CloudWatch alarm is
--   associated with, the name of one dimension.</li>
--   <li><a>dValue</a> - For the metric that the CloudWatch alarm is
--   associated with, the value of one dimension.</li>
--   </ul>
dimension :: Text -> Text -> Dimension

-- | For the metric that the CloudWatch alarm is associated with, the name
--   of one dimension.
dName :: Lens' Dimension Text

-- | For the metric that the CloudWatch alarm is associated with, the value
--   of one dimension.
dValue :: Lens' Dimension Text

-- | A complex type that contains information about a geo location.
--   
--   <i>See:</i> <a>geoLocation</a> smart constructor.
data GeoLocation

-- | Creates a value of <a>GeoLocation</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>glSubdivisionCode</a> - The code for the subdivision, for
--   example, a state in the United States or a province in Canada.</li>
--   <li><a>glCountryCode</a> - The two-letter code for the country.</li>
--   <li><a>glContinentCode</a> - The two-letter code for the continent.
--   Valid values: <tt>AF</tt> | <tt>AN</tt> | <tt>AS</tt> | <tt>EU</tt> |
--   <tt>OC</tt> | <tt>NA</tt> | <tt>SA</tt> Constraint: Specifying
--   <tt>ContinentCode</tt> with either <tt>CountryCode</tt> or
--   <tt>SubdivisionCode</tt> returns an <tt>InvalidInput</tt> error.</li>
--   </ul>
geoLocation :: GeoLocation

-- | The code for the subdivision, for example, a state in the United
--   States or a province in Canada.
glSubdivisionCode :: Lens' GeoLocation (Maybe Text)

-- | The two-letter code for the country.
glCountryCode :: Lens' GeoLocation (Maybe Text)

-- | The two-letter code for the continent. Valid values: <tt>AF</tt> |
--   <tt>AN</tt> | <tt>AS</tt> | <tt>EU</tt> | <tt>OC</tt> | <tt>NA</tt> |
--   <tt>SA</tt> Constraint: Specifying <tt>ContinentCode</tt> with either
--   <tt>CountryCode</tt> or <tt>SubdivisionCode</tt> returns an
--   <tt>InvalidInput</tt> error.
glContinentCode :: Lens' GeoLocation (Maybe Text)

-- | A complex type that contains the codes and full continent, country,
--   and subdivision names for the specified <tt>geolocation</tt> code.
--   
--   <i>See:</i> <a>geoLocationDetails</a> smart constructor.
data GeoLocationDetails

-- | Creates a value of <a>GeoLocationDetails</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gldSubdivisionName</a> - The full name of the subdivision, for
--   example, a state in the United States or a province in Canada.</li>
--   <li><a>gldSubdivisionCode</a> - The code for the subdivision, for
--   example, a state in the United States or a province in Canada.</li>
--   <li><a>gldCountryName</a> - The name of the country.</li>
--   <li><a>gldCountryCode</a> - The two-letter code for the country.</li>
--   <li><a>gldContinentCode</a> - The two-letter code for the
--   continent.</li>
--   <li><a>gldContinentName</a> - The full name of the continent.</li>
--   </ul>
geoLocationDetails :: GeoLocationDetails

-- | The full name of the subdivision, for example, a state in the United
--   States or a province in Canada.
gldSubdivisionName :: Lens' GeoLocationDetails (Maybe Text)

-- | The code for the subdivision, for example, a state in the United
--   States or a province in Canada.
gldSubdivisionCode :: Lens' GeoLocationDetails (Maybe Text)

-- | The name of the country.
gldCountryName :: Lens' GeoLocationDetails (Maybe Text)

-- | The two-letter code for the country.
gldCountryCode :: Lens' GeoLocationDetails (Maybe Text)

-- | The two-letter code for the continent.
gldContinentCode :: Lens' GeoLocationDetails (Maybe Text)

-- | The full name of the continent.
gldContinentName :: Lens' GeoLocationDetails (Maybe Text)

-- | A complex type that contains information about one health check that
--   is associated with the current AWS account.
--   
--   <i>See:</i> <a>healthCheck</a> smart constructor.
data HealthCheck

-- | Creates a value of <a>HealthCheck</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hcCloudWatchAlarmConfiguration</a> - A complex type that
--   contains information about the CloudWatch alarm that Amazon Route 53
--   is monitoring for this health check.</li>
--   <li><a>hcId</a> - The identifier that Amazon Route 53assigned to the
--   health check when you created it. When you add or update a resource
--   record set, you use this value to specify which health check to use.
--   The value can be up to 64 characters long.</li>
--   <li><a>hcCallerReference</a> - A unique string that you specified when
--   you created the health check.</li>
--   <li><a>hcHealthCheckConfig</a> - A complex type that contains detailed
--   information about one health check.</li>
--   <li><a>hcHealthCheckVersion</a> - The version of the health check. You
--   can optionally pass this value in a call to <tt>UpdateHealthCheck</tt>
--   to prevent overwriting another change to the health check.</li>
--   </ul>
healthCheck :: Text -> Text -> HealthCheckConfig -> Natural -> HealthCheck

-- | A complex type that contains information about the CloudWatch alarm
--   that Amazon Route 53 is monitoring for this health check.
hcCloudWatchAlarmConfiguration :: Lens' HealthCheck (Maybe CloudWatchAlarmConfiguration)

-- | The identifier that Amazon Route 53assigned to the health check when
--   you created it. When you add or update a resource record set, you use
--   this value to specify which health check to use. The value can be up
--   to 64 characters long.
hcId :: Lens' HealthCheck Text

-- | A unique string that you specified when you created the health check.
hcCallerReference :: Lens' HealthCheck Text

-- | A complex type that contains detailed information about one health
--   check.
hcHealthCheckConfig :: Lens' HealthCheck HealthCheckConfig

-- | The version of the health check. You can optionally pass this value in
--   a call to <tt>UpdateHealthCheck</tt> to prevent overwriting another
--   change to the health check.
hcHealthCheckVersion :: Lens' HealthCheck Natural

-- | A complex type that contains information about the health check.
--   
--   <i>See:</i> <a>healthCheckConfig</a> smart constructor.
data HealthCheckConfig

-- | Creates a value of <a>HealthCheckConfig</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hccFailureThreshold</a> - The number of consecutive health
--   checks that an endpoint must pass or fail for Amazon Route 53 to
--   change the current status of the endpoint from unhealthy to healthy or
--   vice versa. For more information, see <a>How Amazon Route 53
--   Determines Whether an Endpoint Is Healthy</a> in the <i>Amazon Route
--   53 Developer Guide</i> .</li>
--   <li><a>hccIPAddress</a> - The IPv4 or IPv6 IP address of the endpoint
--   that you want Amazon Route 53 to perform health checks on. If you
--   don't specify a value for <tt>IPAddress</tt> , Amazon Route 53 sends a
--   DNS request to resolve the domain name that you specify in
--   <tt>FullyQualifiedDomainName</tt> at the interval that you specify in
--   <tt>RequestInterval</tt> . Using an IP address returned by DNS, Amazon
--   Route 53 then checks the health of the endpoint. If the endpoint is an
--   EC2 instance, we recommend that you create an Elastic IP address,
--   associate it with your EC2 instance, and specify the Elastic IP
--   address for <tt>IPAddress</tt> . This ensures that the IP address of
--   your instance will never change. For more information, see
--   'HealthCheckConfig$FullyQualifiedDomainName' . Constraints: Amazon
--   Route 53 can't check the health of endpoints for which the IP address
--   is in local, private, non-routable, or multicast ranges. For more
--   information about IP addresses for which you can't create health
--   checks, see the following documents: * <a>RFC 5735, Special Use IPv4
--   Addresses</a> * <a>RFC 6598, IANA-Reserved IPv4 Prefix for Shared
--   Address Space</a> * <a>RFC 5156, Special-Use IPv6 Addresses</a> When
--   the value of <tt>Type</tt> is <tt>CALCULATED</tt> or
--   <tt>CLOUDWATCH_METRIC</tt> , omit <tt>IPAddress</tt> .</li>
--   <li><a>hccEnableSNI</a> - Specify whether you want Amazon Route 53 to
--   send the value of <tt>FullyQualifiedDomainName</tt> to the endpoint in
--   the <tt>client_hello</tt> message during TLS negotiation. This allows
--   the endpoint to respond to <tt>HTTPS</tt> health check requests with
--   the applicable SSL<i>TLS certificate. Some endpoints require that
--   <tt>HTTPS</tt> requests include the host name in the
--   <tt>client_hello</tt> message. If you don't enable SNI, the status of
--   the health check will be <tt>SSL alert handshake_failure</tt> . A
--   health check can also have that status for other reasons. If SNI is
--   enabled and you're still getting the error, check the SSL</i>TLS
--   configuration on your endpoint and confirm that your certificate is
--   valid. The SSL/TLS certificate on your endpoint includes a domain name
--   in the <tt>Common Name</tt> field and possibly several more in the
--   <tt>Subject Alternative Names</tt> field. One of the domain names in
--   the certificate should match the value that you specify for
--   <tt>FullyQualifiedDomainName</tt> . If the endpoint responds to the
--   <tt>client_hello</tt> message with a certificate that does not include
--   the domain name that you specified in
--   <tt>FullyQualifiedDomainName</tt> , a health checker will retry the
--   handshake. In the second attempt, the health checker will omit
--   <tt>FullyQualifiedDomainName</tt> from the <tt>client_hello</tt>
--   message.</li>
--   <li><a>hccSearchString</a> - If the value of Type is
--   <tt>HTTP_STR_MATCH</tt> or <tt>HTTP_STR_MATCH</tt> , the string that
--   you want Amazon Route 53 to search for in the response body from the
--   specified resource. If the string appears in the response body, Amazon
--   Route 53 considers the resource healthy. Amazon Route 53 considers
--   case when searching for <tt>SearchString</tt> in the response
--   body.</li>
--   <li><a>hccHealthThreshold</a> - The number of child health checks that
--   are associated with a <tt>CALCULATED</tt> health that Amazon Route 53
--   must consider healthy for the <tt>CALCULATED</tt> health check to be
--   considered healthy. To specify the child health checks that you want
--   to associate with a <tt>CALCULATED</tt> health check, use the
--   'HealthCheckConfig$ChildHealthChecks' and
--   'HealthCheckConfig$ChildHealthChecks' elements. Note the following: *
--   If you specify a number greater than the number of child health
--   checks, Amazon Route 53 always considers this health check to be
--   unhealthy. * If you specify <tt>0</tt> , Amazon Route 53 always
--   considers this health check to be healthy.</li>
--   <li><a>hccRegions</a> - A complex type that contains one Region
--   element for each region from which you want Amazon Route 53 health
--   checkers to check the specified endpoint.</li>
--   <li><a>hccResourcePath</a> - The path, if any, that you want Amazon
--   Route 53 to request when performing health checks. The path can be any
--   value for which your endpoint will return an HTTP status code of 2xx
--   or 3xx when the endpoint is healthy, for example, the file
--   <i>docs</i>route53-health-check.html.</li>
--   <li><a>hccInsufficientDataHealthStatus</a> - When CloudWatch has
--   insufficient data about the metric to determine the alarm state, the
--   status that you want Amazon Route 53 to assign to the health check: *
--   <tt>Healthy</tt> : Amazon Route 53 considers the health check to be
--   healthy. * <tt>Unhealthy</tt> : Amazon Route 53 considers the health
--   check to be unhealthy. * <tt>LastKnownStatus</tt> : Amazon Route
--   53uses the status of the health check from the last time CloudWatch
--   had sufficient data to determine the alarm state. For new health
--   checks that have no last known status, the default status for the
--   health check is healthy.</li>
--   <li><a>hccAlarmIdentifier</a> - A complex type that identifies the
--   CloudWatch alarm that you want Amazon Route 53 health checkers to use
--   to determine whether this health check is healthy.</li>
--   <li><a>hccMeasureLatency</a> - Specify whether you want Amazon Route
--   53 to measure the latency between health checkers in multiple AWS
--   regions and your endpoint, and to display CloudWatch latency graphs on
--   the <b>Health Checks</b> page in the Amazon Route 53 console.
--   <i>Important:</i> You can't change the value of
--   <tt>MeasureLatency</tt> after you create a health check.</li>
--   <li><a>hccInverted</a> - Specify whether you want Amazon Route 53 to
--   invert the status of a health check, for example, to consider a health
--   check unhealthy when it otherwise would be considered healthy.</li>
--   <li><a>hccFullyQualifiedDomainName</a> - Amazon Route 53 behavior
--   depends on whether you specify a value for <tt>IPAddress</tt> . <b>If
--   you specify a value for</b> <tt>IPAddress</tt> : Amazon Route 53 sends
--   health check requests to the specified IPv4 or IPv6 address and passes
--   the value of <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt>
--   header for all health checks except TCP health checks. This is
--   typically the fully qualified DNS name of the endpoint on which you
--   want Amazon Route 53 to perform health checks. When Amazon Route 53
--   checks the health of an endpoint, here is how it constructs the
--   <tt>Host</tt> header: * If you specify a value of <tt>80</tt> for
--   <tt>Port</tt> and <tt>HTTP</tt> or <tt>HTTP_STR_MATCH</tt> for
--   <tt>Type</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> to the endpoint in the Host header.
--   * If you specify a value of <tt>443</tt> for <tt>Port</tt> and
--   <tt>HTTPS</tt> or <tt>HTTPS_STR_MATCH</tt> for <tt>Type</tt> , Amazon
--   Route 53 passes the value of <tt>FullyQualifiedDomainName</tt> to the
--   endpoint in the <tt>Host</tt> header. * If you specify another value
--   for <tt>Port</tt> and any value except <tt>TCP</tt> for <tt>Type</tt>
--   , Amazon Route 53 passes <tt>FullyQualifiedDomainName:Port</tt> to the
--   endpoint in the <tt>Host</tt> header. If you don't specify a value for
--   <tt>FullyQualifiedDomainName</tt> , Amazon Route 53 substitutes the
--   value of <tt>IPAddress</tt> in the <tt>Host</tt> header in each of the
--   preceding cases. <b>If you don't specify a value for
--   <tt>IPAddress</tt> </b> : Amazon Route 53 sends a DNS request to the
--   domain that you specify for <tt>FullyQualifiedDomainName</tt> at the
--   interval that you specify for <tt>RequestInterval</tt> . Using an IPv4
--   address that DNS returns, Amazon Route 53 then checks the health of
--   the endpoint. If you want to check the health of weighted, latency, or
--   failover resource record sets and you choose to specify the endpoint
--   only by <tt>FullyQualifiedDomainName</tt> , we recommend that you
--   create a separate health check for each endpoint. For example, create
--   a health check for each HTTP server that is serving content for
--   www.example.com. For the value of <tt>FullyQualifiedDomainName</tt> ,
--   specify the domain name of the server (such as
--   us-east-1-www.example.com), not the name of the resource record sets
--   (www.example.com). <i>Important:</i> In this configuration, if you
--   create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and you then associate the health check with those
--   resource record sets, health check results will be unpredictable. In
--   addition, if the value that you specify for <tt>Type</tt> is
--   <tt>HTTP</tt> , <tt>HTTPS</tt> , <tt>HTTP_STR_MATCH</tt> , or
--   <tt>HTTPS_STR_MATCH</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt> header, as it
--   does when you specify a value for <tt>IPAddress</tt> . If the value of
--   <tt>Type</tt> is <tt>TCP</tt> , Amazon Route 53 doesn't pass a
--   <tt>Host</tt> header.</li>
--   <li><a>hccChildHealthChecks</a> - (CALCULATED Health Checks Only) A
--   complex type that contains one <tt>ChildHealthCheck</tt> element for
--   each health check that you want to associate with a
--   <tt>CALCULATED</tt> health check.</li>
--   <li><a>hccRequestInterval</a> - The number of seconds between the time
--   that Amazon Route 53 gets a response from your endpoint and the time
--   that it sends the next health-check request. Each Amazon Route 53
--   health checker makes requests at this interval. <i>Important:</i> You
--   can't change the value of <tt>RequestInterval</tt> after you create a
--   health check.</li>
--   <li><a>hccPort</a> - The port on the endpoint on which you want Amazon
--   Route 53 to perform health checks. Specify a value for Port only when
--   you specify a value for <tt>IPAddress</tt> .</li>
--   <li><a>hccType</a> - The type of health check that you want to create,
--   which indicates how Amazon Route 53 determines whether an endpoint is
--   healthy. <i>Important:</i> You can't change the value of <tt>Type</tt>
--   after you create a health check. You can create the following types of
--   health checks: * <b>HTTP</b> : Amazon Route 53 tries to establish a
--   TCP connection. If successful, Amazon Route 53 submits an HTTP request
--   and waits for an HTTP status code of 200 or greater and less than 400.
--   * <b>HTTPS</b> : Amazon Route 53 tries to establish a TCP connection.
--   If successful, Amazon Route 53 submits an HTTPS request and waits for
--   an HTTP status code of 200 or greater and less than 400.
--   <i>Important:</i> If you specify <tt>HTTPS</tt> for the value of
--   <tt>Type</tt> , the endpoint must support TLS v1.0 or later. *
--   <b>HTTP_STR_MATCH</b> : Amazon Route 53 tries to establish a TCP
--   connection. If successful, Amazon Route 53 submits an HTTP request and
--   searches the first 5,120 bytes of the response body for the string
--   that you specify in <tt>SearchString</tt> . * <b>HTTPS_STR_MATCH</b> :
--   Amazon Route 53 tries to establish a TCP connection. If successful,
--   Amazon Route 53 submits an <tt>HTTPS</tt> request and searches the
--   first 5,120 bytes of the response body for the string that you specify
--   in <tt>SearchString</tt> . * <b>TCP</b> : Amazon Route 53 tries to
--   establish a TCP connection. * <b>CLOUDWATCH_METRIC</b> : The health
--   check is associated with a CloudWatch alarm. If the state of the alarm
--   is <tt>OK</tt> , the health check is considered healthy. If the state
--   is <tt>ALARM</tt> , the health check is considered unhealthy. If
--   CloudWatch doesn't have sufficient data to determine whether the state
--   is <tt>OK</tt> or <tt>ALARM</tt> , the health check status depends on
--   the setting for <tt>InsufficientDataHealthStatus</tt> :
--   <tt>Healthy</tt> , <tt>Unhealthy</tt> , or <tt>LastKnownStatus</tt> .
--   * <b>CALCULATED</b> : For health checks that monitor the status of
--   other health checks, Amazon Route 53 adds up the number of health
--   checks that Amazon Route 53 health checkers consider to be healthy and
--   compares that number with the value of <tt>HealthThreshold</tt> . For
--   more information about how Amazon Route 53 determines whether an
--   endpoint is healthy, see the introduction to this topic.</li>
--   </ul>
healthCheckConfig :: HealthCheckType -> HealthCheckConfig

-- | The number of consecutive health checks that an endpoint must pass or
--   fail for Amazon Route 53 to change the current status of the endpoint
--   from unhealthy to healthy or vice versa. For more information, see
--   <a>How Amazon Route 53 Determines Whether an Endpoint Is Healthy</a>
--   in the <i>Amazon Route 53 Developer Guide</i> .
hccFailureThreshold :: Lens' HealthCheckConfig (Maybe Natural)

-- | The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route
--   53 to perform health checks on. If you don't specify a value for
--   <tt>IPAddress</tt> , Amazon Route 53 sends a DNS request to resolve
--   the domain name that you specify in <tt>FullyQualifiedDomainName</tt>
--   at the interval that you specify in <tt>RequestInterval</tt> . Using
--   an IP address returned by DNS, Amazon Route 53 then checks the health
--   of the endpoint. If the endpoint is an EC2 instance, we recommend that
--   you create an Elastic IP address, associate it with your EC2 instance,
--   and specify the Elastic IP address for <tt>IPAddress</tt> . This
--   ensures that the IP address of your instance will never change. For
--   more information, see 'HealthCheckConfig$FullyQualifiedDomainName' .
--   Constraints: Amazon Route 53 can't check the health of endpoints for
--   which the IP address is in local, private, non-routable, or multicast
--   ranges. For more information about IP addresses for which you can't
--   create health checks, see the following documents: * <a>RFC 5735,
--   Special Use IPv4 Addresses</a> * <a>RFC 6598, IANA-Reserved IPv4
--   Prefix for Shared Address Space</a> * <a>RFC 5156, Special-Use IPv6
--   Addresses</a> When the value of <tt>Type</tt> is <tt>CALCULATED</tt>
--   or <tt>CLOUDWATCH_METRIC</tt> , omit <tt>IPAddress</tt> .
hccIPAddress :: Lens' HealthCheckConfig (Maybe Text)

-- | Specify whether you want Amazon Route 53 to send the value of
--   <tt>FullyQualifiedDomainName</tt> to the endpoint in the
--   <tt>client_hello</tt> message during TLS negotiation. This allows the
--   endpoint to respond to <tt>HTTPS</tt> health check requests with the
--   applicable SSL<i>TLS certificate. Some endpoints require that
--   <tt>HTTPS</tt> requests include the host name in the
--   <tt>client_hello</tt> message. If you don't enable SNI, the status of
--   the health check will be <tt>SSL alert handshake_failure</tt> . A
--   health check can also have that status for other reasons. If SNI is
--   enabled and you're still getting the error, check the SSL</i>TLS
--   configuration on your endpoint and confirm that your certificate is
--   valid. The SSL/TLS certificate on your endpoint includes a domain name
--   in the <tt>Common Name</tt> field and possibly several more in the
--   <tt>Subject Alternative Names</tt> field. One of the domain names in
--   the certificate should match the value that you specify for
--   <tt>FullyQualifiedDomainName</tt> . If the endpoint responds to the
--   <tt>client_hello</tt> message with a certificate that does not include
--   the domain name that you specified in
--   <tt>FullyQualifiedDomainName</tt> , a health checker will retry the
--   handshake. In the second attempt, the health checker will omit
--   <tt>FullyQualifiedDomainName</tt> from the <tt>client_hello</tt>
--   message.
hccEnableSNI :: Lens' HealthCheckConfig (Maybe Bool)

-- | If the value of Type is <tt>HTTP_STR_MATCH</tt> or
--   <tt>HTTP_STR_MATCH</tt> , the string that you want Amazon Route 53 to
--   search for in the response body from the specified resource. If the
--   string appears in the response body, Amazon Route 53 considers the
--   resource healthy. Amazon Route 53 considers case when searching for
--   <tt>SearchString</tt> in the response body.
hccSearchString :: Lens' HealthCheckConfig (Maybe Text)

-- | The number of child health checks that are associated with a
--   <tt>CALCULATED</tt> health that Amazon Route 53 must consider healthy
--   for the <tt>CALCULATED</tt> health check to be considered healthy. To
--   specify the child health checks that you want to associate with a
--   <tt>CALCULATED</tt> health check, use the
--   'HealthCheckConfig$ChildHealthChecks' and
--   'HealthCheckConfig$ChildHealthChecks' elements. Note the following: *
--   If you specify a number greater than the number of child health
--   checks, Amazon Route 53 always considers this health check to be
--   unhealthy. * If you specify <tt>0</tt> , Amazon Route 53 always
--   considers this health check to be healthy.
hccHealthThreshold :: Lens' HealthCheckConfig (Maybe Natural)

-- | A complex type that contains one Region element for each region from
--   which you want Amazon Route 53 health checkers to check the specified
--   endpoint.
hccRegions :: Lens' HealthCheckConfig (Maybe (NonEmpty HealthCheckRegion))

-- | The path, if any, that you want Amazon Route 53 to request when
--   performing health checks. The path can be any value for which your
--   endpoint will return an HTTP status code of 2xx or 3xx when the
--   endpoint is healthy, for example, the file
--   <i>docs</i>route53-health-check.html.
hccResourcePath :: Lens' HealthCheckConfig (Maybe Text)

-- | When CloudWatch has insufficient data about the metric to determine
--   the alarm state, the status that you want Amazon Route 53 to assign to
--   the health check: * <tt>Healthy</tt> : Amazon Route 53 considers the
--   health check to be healthy. * <tt>Unhealthy</tt> : Amazon Route 53
--   considers the health check to be unhealthy. * <tt>LastKnownStatus</tt>
--   : Amazon Route 53uses the status of the health check from the last
--   time CloudWatch had sufficient data to determine the alarm state. For
--   new health checks that have no last known status, the default status
--   for the health check is healthy.
hccInsufficientDataHealthStatus :: Lens' HealthCheckConfig (Maybe InsufficientDataHealthStatus)

-- | A complex type that identifies the CloudWatch alarm that you want
--   Amazon Route 53 health checkers to use to determine whether this
--   health check is healthy.
hccAlarmIdentifier :: Lens' HealthCheckConfig (Maybe AlarmIdentifier)

-- | Specify whether you want Amazon Route 53 to measure the latency
--   between health checkers in multiple AWS regions and your endpoint, and
--   to display CloudWatch latency graphs on the <b>Health Checks</b> page
--   in the Amazon Route 53 console. <i>Important:</i> You can't change the
--   value of <tt>MeasureLatency</tt> after you create a health check.
hccMeasureLatency :: Lens' HealthCheckConfig (Maybe Bool)

-- | Specify whether you want Amazon Route 53 to invert the status of a
--   health check, for example, to consider a health check unhealthy when
--   it otherwise would be considered healthy.
hccInverted :: Lens' HealthCheckConfig (Maybe Bool)

-- | Amazon Route 53 behavior depends on whether you specify a value for
--   <tt>IPAddress</tt> . <b>If you specify a value for</b>
--   <tt>IPAddress</tt> : Amazon Route 53 sends health check requests to
--   the specified IPv4 or IPv6 address and passes the value of
--   <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt> header for all
--   health checks except TCP health checks. This is typically the fully
--   qualified DNS name of the endpoint on which you want Amazon Route 53
--   to perform health checks. When Amazon Route 53 checks the health of an
--   endpoint, here is how it constructs the <tt>Host</tt> header: * If you
--   specify a value of <tt>80</tt> for <tt>Port</tt> and <tt>HTTP</tt> or
--   <tt>HTTP_STR_MATCH</tt> for <tt>Type</tt> , Amazon Route 53 passes the
--   value of <tt>FullyQualifiedDomainName</tt> to the endpoint in the Host
--   header. * If you specify a value of <tt>443</tt> for <tt>Port</tt> and
--   <tt>HTTPS</tt> or <tt>HTTPS_STR_MATCH</tt> for <tt>Type</tt> , Amazon
--   Route 53 passes the value of <tt>FullyQualifiedDomainName</tt> to the
--   endpoint in the <tt>Host</tt> header. * If you specify another value
--   for <tt>Port</tt> and any value except <tt>TCP</tt> for <tt>Type</tt>
--   , Amazon Route 53 passes <tt>FullyQualifiedDomainName:Port</tt> to the
--   endpoint in the <tt>Host</tt> header. If you don't specify a value for
--   <tt>FullyQualifiedDomainName</tt> , Amazon Route 53 substitutes the
--   value of <tt>IPAddress</tt> in the <tt>Host</tt> header in each of the
--   preceding cases. <b>If you don't specify a value for
--   <tt>IPAddress</tt> </b> : Amazon Route 53 sends a DNS request to the
--   domain that you specify for <tt>FullyQualifiedDomainName</tt> at the
--   interval that you specify for <tt>RequestInterval</tt> . Using an IPv4
--   address that DNS returns, Amazon Route 53 then checks the health of
--   the endpoint. If you want to check the health of weighted, latency, or
--   failover resource record sets and you choose to specify the endpoint
--   only by <tt>FullyQualifiedDomainName</tt> , we recommend that you
--   create a separate health check for each endpoint. For example, create
--   a health check for each HTTP server that is serving content for
--   www.example.com. For the value of <tt>FullyQualifiedDomainName</tt> ,
--   specify the domain name of the server (such as
--   us-east-1-www.example.com), not the name of the resource record sets
--   (www.example.com). <i>Important:</i> In this configuration, if you
--   create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and you then associate the health check with those
--   resource record sets, health check results will be unpredictable. In
--   addition, if the value that you specify for <tt>Type</tt> is
--   <tt>HTTP</tt> , <tt>HTTPS</tt> , <tt>HTTP_STR_MATCH</tt> , or
--   <tt>HTTPS_STR_MATCH</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt> header, as it
--   does when you specify a value for <tt>IPAddress</tt> . If the value of
--   <tt>Type</tt> is <tt>TCP</tt> , Amazon Route 53 doesn't pass a
--   <tt>Host</tt> header.
hccFullyQualifiedDomainName :: Lens' HealthCheckConfig (Maybe Text)

-- | (CALCULATED Health Checks Only) A complex type that contains one
--   <tt>ChildHealthCheck</tt> element for each health check that you want
--   to associate with a <tt>CALCULATED</tt> health check.
hccChildHealthChecks :: Lens' HealthCheckConfig [Text]

-- | The number of seconds between the time that Amazon Route 53 gets a
--   response from your endpoint and the time that it sends the next
--   health-check request. Each Amazon Route 53 health checker makes
--   requests at this interval. <i>Important:</i> You can't change the
--   value of <tt>RequestInterval</tt> after you create a health check.
hccRequestInterval :: Lens' HealthCheckConfig (Maybe Natural)

-- | The port on the endpoint on which you want Amazon Route 53 to perform
--   health checks. Specify a value for Port only when you specify a value
--   for <tt>IPAddress</tt> .
hccPort :: Lens' HealthCheckConfig (Maybe Natural)

-- | The type of health check that you want to create, which indicates how
--   Amazon Route 53 determines whether an endpoint is healthy.
--   <i>Important:</i> You can't change the value of <tt>Type</tt> after
--   you create a health check. You can create the following types of
--   health checks: * <b>HTTP</b> : Amazon Route 53 tries to establish a
--   TCP connection. If successful, Amazon Route 53 submits an HTTP request
--   and waits for an HTTP status code of 200 or greater and less than 400.
--   * <b>HTTPS</b> : Amazon Route 53 tries to establish a TCP connection.
--   If successful, Amazon Route 53 submits an HTTPS request and waits for
--   an HTTP status code of 200 or greater and less than 400.
--   <i>Important:</i> If you specify <tt>HTTPS</tt> for the value of
--   <tt>Type</tt> , the endpoint must support TLS v1.0 or later. *
--   <b>HTTP_STR_MATCH</b> : Amazon Route 53 tries to establish a TCP
--   connection. If successful, Amazon Route 53 submits an HTTP request and
--   searches the first 5,120 bytes of the response body for the string
--   that you specify in <tt>SearchString</tt> . * <b>HTTPS_STR_MATCH</b> :
--   Amazon Route 53 tries to establish a TCP connection. If successful,
--   Amazon Route 53 submits an <tt>HTTPS</tt> request and searches the
--   first 5,120 bytes of the response body for the string that you specify
--   in <tt>SearchString</tt> . * <b>TCP</b> : Amazon Route 53 tries to
--   establish a TCP connection. * <b>CLOUDWATCH_METRIC</b> : The health
--   check is associated with a CloudWatch alarm. If the state of the alarm
--   is <tt>OK</tt> , the health check is considered healthy. If the state
--   is <tt>ALARM</tt> , the health check is considered unhealthy. If
--   CloudWatch doesn't have sufficient data to determine whether the state
--   is <tt>OK</tt> or <tt>ALARM</tt> , the health check status depends on
--   the setting for <tt>InsufficientDataHealthStatus</tt> :
--   <tt>Healthy</tt> , <tt>Unhealthy</tt> , or <tt>LastKnownStatus</tt> .
--   * <b>CALCULATED</b> : For health checks that monitor the status of
--   other health checks, Amazon Route 53 adds up the number of health
--   checks that Amazon Route 53 health checkers consider to be healthy and
--   compares that number with the value of <tt>HealthThreshold</tt> . For
--   more information about how Amazon Route 53 determines whether an
--   endpoint is healthy, see the introduction to this topic.
hccType :: Lens' HealthCheckConfig HealthCheckType

-- | A complex type that contains the last failure reason as reported by
--   one Amazon Route 53 health checker.
--   
--   <i>See:</i> <a>healthCheckObservation</a> smart constructor.
data HealthCheckObservation

-- | Creates a value of <a>HealthCheckObservation</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hcoIPAddress</a> - The IP address of the Amazon Route 53 health
--   checker that provided the failure reason in <tt>StatusReport</tt>
--   .</li>
--   <li><a>hcoStatusReport</a> - A complex type that contains the last
--   failure reason as reported by one Amazon Route 53 health checker and
--   the time of the failed health check.</li>
--   <li><a>hcoRegion</a> - The region of the Amazon Route 53 health
--   checker that provided the status in StatusReport.</li>
--   </ul>
healthCheckObservation :: HealthCheckObservation

-- | The IP address of the Amazon Route 53 health checker that provided the
--   failure reason in <tt>StatusReport</tt> .
hcoIPAddress :: Lens' HealthCheckObservation (Maybe Text)

-- | A complex type that contains the last failure reason as reported by
--   one Amazon Route 53 health checker and the time of the failed health
--   check.
hcoStatusReport :: Lens' HealthCheckObservation (Maybe StatusReport)

-- | The region of the Amazon Route 53 health checker that provided the
--   status in StatusReport.
hcoRegion :: Lens' HealthCheckObservation (Maybe HealthCheckRegion)

-- | A complex type that contains general information about the hosted
--   zone.
--   
--   <i>See:</i> <a>hostedZone</a> smart constructor.
data HostedZone

-- | Creates a value of <a>HostedZone</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hzConfig</a> - A complex type that includes the
--   <tt>Comment</tt> and <tt>PrivateZone</tt> elements. If you omitted the
--   <tt>HostedZoneConfig</tt> and <tt>Comment</tt> elements from the
--   request, the <tt>Config</tt> and <tt>Comment</tt> elements don't
--   appear in the response.</li>
--   <li><a>hzResourceRecordSetCount</a> - The number of resource record
--   sets in the hosted zone.</li>
--   <li><a>hzId</a> - The ID that Amazon Route 53 assigned to the hosted
--   zone when you created it.</li>
--   <li><a>hzName</a> - 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 <tt>a-z</tt> ,
--   <tt>0-9</tt> , and <tt>-</tt> (hyphen) and how to specify
--   internationalized domain names, see <tt>CreateHostedZone</tt> .</li>
--   <li><a>hzCallerReference</a> - The value that you specified for
--   <tt>CallerReference</tt> when you created the hosted zone.</li>
--   </ul>
hostedZone :: ResourceId -> Text -> Text -> HostedZone

-- | A complex type that includes the <tt>Comment</tt> and
--   <tt>PrivateZone</tt> elements. If you omitted the
--   <tt>HostedZoneConfig</tt> and <tt>Comment</tt> elements from the
--   request, the <tt>Config</tt> and <tt>Comment</tt> elements don't
--   appear in the response.
hzConfig :: Lens' HostedZone (Maybe HostedZoneConfig)

-- | The number of resource record sets in the hosted zone.
hzResourceRecordSetCount :: Lens' HostedZone (Maybe Integer)

-- | The ID that Amazon Route 53 assigned to the hosted zone when you
--   created it.
hzId :: Lens' HostedZone ResourceId

-- | 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 <tt>a-z</tt> , <tt>0-9</tt> , and
--   <tt>-</tt> (hyphen) and how to specify internationalized domain names,
--   see <tt>CreateHostedZone</tt> .
hzName :: Lens' HostedZone Text

-- | The value that you specified for <tt>CallerReference</tt> when you
--   created the hosted zone.
hzCallerReference :: Lens' HostedZone Text

-- | A complex type that contains an optional comment about your hosted
--   zone. If you don't want to specify a comment, omit both the
--   <tt>HostedZoneConfig</tt> and <tt>Comment</tt> elements.
--   
--   <i>See:</i> <a>hostedZoneConfig</a> smart constructor.
data HostedZoneConfig

-- | Creates a value of <a>HostedZoneConfig</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hzcPrivateZone</a> - A value that indicates whether this is a
--   private hosted zone.</li>
--   <li><a>hzcComment</a> - Any comments that you want to include about
--   the hosted zone.</li>
--   </ul>
hostedZoneConfig :: HostedZoneConfig

-- | A value that indicates whether this is a private hosted zone.
hzcPrivateZone :: Lens' HostedZoneConfig (Maybe Bool)

-- | Any comments that you want to include about the hosted zone.
hzcComment :: Lens' HostedZoneConfig (Maybe Text)

-- | Information specific to the resource record.
--   
--   <i>See:</i> <a>resourceRecord</a> smart constructor.
data ResourceRecord

-- | Creates a value of <a>ResourceRecord</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrValue</a> - The current or new DNS record value, not to
--   exceed 4,000 characters. In the case of a <tt>DELETE</tt> action, if
--   the current value does not match the actual value, an error is
--   returned. For descriptions about how to format <tt>Value</tt> for
--   different record types, see <a>Supported DNS Resource Record Types</a>
--   in the <i>Amazon Route 53 Developer Guide</i> . You can specify more
--   than one value for all record types except <tt>CNAME</tt> and
--   <tt>SOA</tt> .</li>
--   </ul>
resourceRecord :: Text -> ResourceRecord

-- | The current or new DNS record value, not to exceed 4,000 characters.
--   In the case of a <tt>DELETE</tt> action, if the current value does not
--   match the actual value, an error is returned. For descriptions about
--   how to format <tt>Value</tt> for different record types, see
--   <a>Supported DNS Resource Record Types</a> in the <i>Amazon Route 53
--   Developer Guide</i> . You can specify more than one value for all
--   record types except <tt>CNAME</tt> and <tt>SOA</tt> .
rrValue :: Lens' ResourceRecord Text

-- | Information about the resource record set to create or delete.
--   
--   <i>See:</i> <a>resourceRecordSet</a> smart constructor.
data ResourceRecordSet

-- | Creates a value of <a>ResourceRecordSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrsTTL</a> - The resource record cache time to live (TTL), in
--   seconds. Note the following: * If you're creating an alias resource
--   record set, omit <tt>TTL</tt> . Amazon Route 53 uses the value of
--   <tt>TTL</tt> for the alias target. * If you're associating this
--   resource record set with a health check (if you're adding a
--   <tt>HealthCheckId</tt> element), we recommend that you specify a
--   <tt>TTL</tt> of 60 seconds or less so clients respond quickly to
--   changes in health status. * All of the resource record sets in a group
--   of weighted, latency, geolocation, or failover resource record sets
--   must have the same value for <tt>TTL</tt> . * If a group of weighted
--   resource record sets includes one or more weighted alias resource
--   record sets for which the alias target is an ELB load balancer, we
--   recommend that you specify a <tt>TTL</tt> of 60 seconds for all of the
--   non-alias weighted resource record sets that have the same name and
--   type. Values other than 60 seconds (the TTL for load balancers) will
--   change the effect of the values that you specify for <tt>Weight</tt>
--   .</li>
--   <li><a>rrsResourceRecords</a> - Information about the resource records
--   to act upon.</li>
--   <li><a>rrsAliasTarget</a> - <i>Alias resource record sets only:</i>
--   Information about the CloudFront distribution, AWS Elastic Beanstalk
--   environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53
--   resource record set to which you are redirecting queries. The AWS
--   Elastic Beanstalk environment must have a regionalized subdomain. If
--   you're creating resource records sets for a private hosted zone, note
--   the following: * You can't create alias resource record sets for
--   CloudFront distributions in a private hosted zone. * Creating
--   geolocation alias resource record sets or latency alias resource
--   record sets in a private hosted zone is unsupported. * For information
--   about creating failover resource record sets in a private hosted zone,
--   see <a>Configuring Failover in a Private Hosted Zone</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .</li>
--   <li><a>rrsWeight</a> - <i>Weighted resource record sets only:</i>
--   Among resource record sets that have the same combination of DNS name
--   and type, a value that determines the proportion of DNS queries that
--   Amazon Route 53 responds to using the current resource record set.
--   Amazon Route 53 calculates the sum of the weights for the resource
--   record sets that have the same combination of DNS name and type.
--   Amazon Route 53 then responds to queries based on the ratio of a
--   resource's weight to the total. Note the following: * You must specify
--   a value for the <tt>Weight</tt> element for every weighted resource
--   record set. * You can only specify one <tt>ResourceRecord</tt> per
--   weighted resource record set. * You can't create latency, failover, or
--   geolocation resource record sets that have the same values for the
--   <tt>Name</tt> and <tt>Type</tt> elements as weighted resource record
--   sets. * You can create a maximum of 100 weighted resource record sets
--   that have the same values for the <tt>Name</tt> and <tt>Type</tt>
--   elements. * For weighted (but not weighted alias) resource record
--   sets, if you set <tt>Weight</tt> to <tt>0</tt> for a resource record
--   set, Amazon Route 53 never responds to queries with the applicable
--   value for that resource record set. However, if you set
--   <tt>Weight</tt> to <tt>0</tt> for all resource record sets that have
--   the same combination of DNS name and type, traffic is routed to all
--   resources with equal probability. The effect of setting
--   <tt>Weight</tt> to <tt>0</tt> is different when you associate health
--   checks with weighted resource record sets. For more information, see
--   <a>Options for Configuring Amazon Route 53 Active-Active and
--   Active-Passive Failover</a> in the <i>Amazon Route 53 Developer
--   Guide</i> .</li>
--   <li><a>rrsTrafficPolicyInstanceId</a> - When you create a traffic
--   policy instance, Amazon Route 53 automatically creates a resource
--   record set. <tt>TrafficPolicyInstanceId</tt> is the ID of the traffic
--   policy instance that Amazon Route 53 created this resource record set
--   for. <i>Important:</i> To delete the resource record set that is
--   associated with a traffic policy instance, use
--   <tt>DeleteTrafficPolicyInstance</tt> . Amazon Route 53 will delete the
--   resource record set automatically. If you delete the resource record
--   set by using <tt>ChangeResourceRecordSets</tt> , Amazon Route 53
--   doesn't automatically delete the traffic policy instance, and you'll
--   continue to be charged for it even though it's no longer in use.</li>
--   <li><a>rrsSetIdentifier</a> - <i>Weighted, Latency, Geo, and Failover
--   resource record sets only:</i> An identifier that differentiates among
--   multiple resource record sets that have the same combination of DNS
--   name and type. The value of <tt>SetIdentifier</tt> must be unique for
--   each resource record set that has the same combination of DNS name and
--   type. Omit <tt>SetIdentifier</tt> for any other types of record
--   sets.</li>
--   <li><a>rrsFailover</a> - <i>Failover resource record sets only:</i> To
--   configure failover, you add the <tt>Failover</tt> element to two
--   resource record sets. For one resource record set, you specify
--   <tt>PRIMARY</tt> as the value for <tt>Failover</tt> ; for the other
--   resource record set, you specify <tt>SECONDARY</tt> . In addition, you
--   include the <tt>HealthCheckId</tt> element and specify the health
--   check that you want Amazon Route 53 to perform for each resource
--   record set. Except where noted, the following failover behaviors
--   assume that you have included the <tt>HealthCheckId</tt> element in
--   both resource record sets: * When the primary resource record set is
--   healthy, Amazon Route 53 responds to DNS queries with the applicable
--   value from the primary resource record set regardless of the health of
--   the secondary resource record set. * When the primary resource record
--   set is unhealthy and the secondary resource record set is healthy,
--   Amazon Route 53 responds to DNS queries with the applicable value from
--   the secondary resource record set. * When the secondary resource
--   record set is unhealthy, Amazon Route 53 responds to DNS queries with
--   the applicable value from the primary resource record set regardless
--   of the health of the primary resource record set. * If you omit the
--   <tt>HealthCheckId</tt> element for the secondary resource record set,
--   and if the primary resource record set is unhealthy, Amazon Route 53
--   always responds to DNS queries with the applicable value from the
--   secondary resource record set. This is true regardless of the health
--   of the associated endpoint. You can't create non-failover resource
--   record sets that have the same values for the <tt>Name</tt> and
--   <tt>Type</tt> elements as failover resource record sets. For failover
--   alias resource record sets, you must also include the
--   <tt>EvaluateTargetHealth</tt> element and set the value to true. For
--   more information about configuring failover for Amazon Route 53, see
--   the following topics in the <i>Amazon Route 53 Developer Guide</i> : *
--   <a>Amazon Route 53 Health Checks and DNS Failover</a> * <a>Configuring
--   Failover in a Private Hosted Zone</a> Valid values: <tt>PRIMARY</tt> |
--   <tt>SECONDARY</tt></li>
--   <li><a>rrsHealthCheckId</a> - If you want Amazon Route 53 to return
--   this resource record set in response to a DNS query only when a health
--   check is passing, include the <tt>HealthCheckId</tt> element and
--   specify the ID of the applicable health check. Amazon Route 53
--   determines whether a resource record set is healthy based on one of
--   the following: * By periodically sending a request to the endpoint
--   that is specified in the health check * By aggregating the status of a
--   specified group of health checks (calculated health checks) * By
--   determining the current state of a CloudWatch alarm (CloudWatch metric
--   health checks) For information about how Amazon Route 53 determines
--   whether a health check is healthy, see <tt>CreateHealthCheck</tt> .
--   The <tt>HealthCheckId</tt> element is only useful when Amazon Route 53
--   is choosing between two or more resource record sets to respond to a
--   DNS query, and you want Amazon Route 53 to base the choice in part on
--   the status of a health check. Configuring health checks only makes
--   sense in the following configurations: * You're checking the health of
--   the resource record sets in a weighted, latency, geolocation, or
--   failover resource record set, and you specify health check IDs for all
--   of the resource record sets. If the health check for one resource
--   record set specifies an endpoint that is not healthy, Amazon Route 53
--   stops responding to queries using the value for that resource record
--   set. * You set <tt>EvaluateTargetHealth</tt> to true for the resource
--   record sets in an alias, weighted alias, latency alias, geolocation
--   alias, or failover alias resource record set, and you specify health
--   check IDs for all of the resource record sets that are referenced by
--   the alias resource record sets. <i>Important:</i> Amazon Route 53
--   doesn't check the health of the endpoint specified in the resource
--   record set, for example, the endpoint specified by the IP address in
--   the <tt>Value</tt> element. When you add a <tt>HealthCheckId</tt>
--   element to a resource record set, Amazon Route 53 checks the health of
--   the endpoint that you specified in the health check. For geolocation
--   resource record sets, if an endpoint is unhealthy, Amazon Route 53
--   looks for a resource record set for the larger, associated geographic
--   region. For example, suppose you have resource record sets for a state
--   in the United States, for the United States, for North America, and
--   for all locations. If the endpoint for the state resource record set
--   is unhealthy, Amazon Route 53 checks the resource record sets for the
--   United States, for North America, and for all locations (a resource
--   record set for which the value of <tt>CountryCode</tt> is <tt>*</tt>
--   ), in that order, until it finds a resource record set for which the
--   endpoint is healthy. If your health checks specify the endpoint only
--   by domain name, we recommend that you create a separate health check
--   for each endpoint. For example, create a health check for each
--   <tt>HTTP</tt> server that is serving content for
--   <tt>www.example.com</tt> . For the value of
--   <tt>FullyQualifiedDomainName</tt> , specify the domain name of the
--   server (such as <tt>us-east-1-www.example.com</tt> ), not the name of
--   the resource record sets (example.com). <i>Important:</i> n this
--   configuration, if you create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and then associate the health check with those resource
--   record sets, health check results will be unpredictable. For more
--   information, see the following topics in the <i>Amazon Route 53
--   Developer Guide</i> : * <a>Amazon Route 53 Health Checks and DNS
--   Failover</a> * <a>Configuring Failover in a Private Hosted
--   Zone</a></li>
--   <li><a>rrsRegion</a> - <i>Latency-based resource record sets only:</i>
--   The Amazon EC2 Region where the resource that is specified in this
--   resource record set resides. The resource typically is an AWS
--   resource, such as an EC2 instance or an ELB load balancer, and is
--   referred to by an IP address or a DNS domain name, depending on the
--   record type. When Amazon Route 53 receives a DNS query for a domain
--   name and type for which you have created latency resource record sets,
--   Amazon Route 53 selects the latency resource record set that has the
--   lowest latency between the end user and the associated Amazon EC2
--   Region. Amazon Route 53 then returns the value that is associated with
--   the selected resource record set. Note the following: * You can only
--   specify one <tt>ResourceRecord</tt> per latency resource record set. *
--   You can only create one latency resource record set for each Amazon
--   EC2 Region. * You are not required to create latency resource record
--   sets for all Amazon EC2 Regions. Amazon Route 53 will choose the
--   region with the best latency from among the regions for which you
--   create latency resource record sets. * You can't create non-latency
--   resource record sets that have the same values for the <tt>Name</tt>
--   and <tt>Type</tt> elements as latency resource record sets.</li>
--   <li><a>rrsGeoLocation</a> - <i>Geo location resource record sets
--   only:</i> A complex type that lets you control how Amazon Route 53
--   responds to DNS queries based on the geographic origin of the query.
--   For example, if you want all queries from Africa to be routed to a web
--   server with an IP address of <tt>192.0.2.111</tt> , create a resource
--   record set with a <tt>Type</tt> of <tt>A</tt> and a
--   <tt>ContinentCode</tt> of <tt>AF</tt> . If you create separate
--   resource record sets for overlapping geographic regions (for example,
--   one resource record set for a continent and one for a country on the
--   same continent), priority goes to the smallest geographic region. This
--   allows you to route most queries for a continent to one resource and
--   to route queries for a country on that continent to a different
--   resource. You can't create two geolocation resource record sets that
--   specify the same geographic location. The value <tt>*</tt> in the
--   <tt>CountryCode</tt> element matches all geographic locations that
--   aren't specified in other geolocation resource record sets that have
--   the same values for the <tt>Name</tt> and <tt>Type</tt> elements.
--   <i>Important:</i> Geolocation works by mapping IP addresses to
--   locations. However, some IP addresses aren't mapped to geographic
--   locations, so even if you create geolocation resource record sets that
--   cover all seven continents, Amazon Route 53 will receive some DNS
--   queries from locations that it can't identify. We recommend that you
--   create a resource record set for which the value of
--   <tt>CountryCode</tt> is <tt>*</tt> , which handles both queries that
--   come from locations for which you haven't created geolocation resource
--   record sets and queries from IP addresses that aren't mapped to a
--   location. If you don't create a <tt>*</tt> resource record set, Amazon
--   Route 53 returns a "no answer" response for queries from those
--   locations. You can't create non-geolocation resource record sets that
--   have the same values for the <tt>Name</tt> and <tt>Type</tt> elements
--   as geolocation resource record sets.</li>
--   <li><a>rrsName</a> - The name of the domain you want to perform the
--   action on. Enter a fully qualified domain name, for example,
--   <tt>www.example.com</tt> . You can optionally include a trailing dot.
--   If you omit the trailing dot, Amazon Route 53 still assumes that the
--   domain name that you specify is fully qualified. This means that
--   Amazon Route 53 treats <tt>www.example.com</tt> (without a trailing
--   dot) and <tt>www.example.com.</tt> (with a trailing dot) as identical.
--   For information about how to specify characters other than
--   <tt>a-z</tt> , <tt>0-9</tt> , and <tt>-</tt> (hyphen) and how to
--   specify internationalized domain names, see <a>DNS Domain Name
--   Format</a> in the <i>Amazon Route 53 Developer Guide</i> . You can use
--   the asterisk (*) wildcard to replace the leftmost label in a domain
--   name. For example, <tt>*.example.com</tt> . Note the following: * The
--   * must replace the entire label. For example, you can't specify
--   <tt>*prod.example.com</tt> or <tt>prod*.example.com</tt> . * The *
--   can't replace any of the middle labels, for example,
--   marketing.*.example.com. * If you include * in any position other than
--   the leftmost label in a domain name, DNS treats it as an * character
--   (ASCII 42), not as a wildcard. <i>Important:</i> You can't use the *
--   wildcard for resource records sets that have a type of NS. You can use
--   the * wildcard as the leftmost label in a domain name, for example,
--   <tt>*.example.com</tt> . You can't use an * for one of the middle
--   labels, for example, <tt>marketing.*.example.com</tt> . In addition,
--   the * must replace the entire label; for example, you can't specify
--   <tt>prod*.example.com</tt> .</li>
--   <li><a>rrsType</a> - The DNS record type. For information about
--   different record types and how data is encoded for them, see
--   <a>Supported DNS Resource Record Types</a> in the <i>Amazon Route 53
--   Developer Guide</i> . Valid values for basic resource record sets:
--   <tt>A</tt> | <tt>AAAA</tt> | <tt>CNAME</tt> | <tt>MX</tt> |
--   <tt>NAPTR</tt> | <tt>NS</tt> | <tt>PTR</tt> | <tt>SOA</tt> |
--   <tt>SPF</tt> | <tt>SRV</tt> | <tt>TXT</tt> Values for weighted,
--   latency, geolocation, and failover resource record sets: <tt>A</tt> |
--   <tt>AAAA</tt> | <tt>CNAME</tt> | <tt>MX</tt> | <tt>NAPTR</tt> |
--   <tt>PTR</tt> | <tt>SPF</tt> | <tt>SRV</tt> | <tt>TXT</tt> . When
--   creating a group of weighted, latency, geolocation, or failover
--   resource record sets, specify the same value for all of the resource
--   record sets in the group. Values for alias resource record sets: *
--   <b>CloudFront distributions:</b> <tt>A</tt> If IPv6 is enabled for the
--   distribution, create two resource record sets to route traffic to your
--   distribution, one with a value of <tt>A</tt> and one with a value of
--   <tt>AAAA</tt> . * <b>AWS Elastic Beanstalk environment that has a
--   regionalized subdomain</b> : <tt>A</tt> * <b>ELB load balancers:</b>
--   <tt>A</tt> | <tt>AAAA</tt> * <b>Amazon S3 buckets:</b> <tt>A</tt> *
--   <b>Another resource record set in this hosted zone:</b> Specify the
--   type of the resource record set for which you're creating the alias.
--   Specify any value except <tt>NS</tt> or <tt>SOA</tt> .</li>
--   </ul>
resourceRecordSet :: Text -> RecordType -> ResourceRecordSet

-- | The resource record cache time to live (TTL), in seconds. Note the
--   following: * If you're creating an alias resource record set, omit
--   <tt>TTL</tt> . Amazon Route 53 uses the value of <tt>TTL</tt> for the
--   alias target. * If you're associating this resource record set with a
--   health check (if you're adding a <tt>HealthCheckId</tt> element), we
--   recommend that you specify a <tt>TTL</tt> of 60 seconds or less so
--   clients respond quickly to changes in health status. * All of the
--   resource record sets in a group of weighted, latency, geolocation, or
--   failover resource record sets must have the same value for
--   <tt>TTL</tt> . * If a group of weighted resource record sets includes
--   one or more weighted alias resource record sets for which the alias
--   target is an ELB load balancer, we recommend that you specify a
--   <tt>TTL</tt> of 60 seconds for all of the non-alias weighted resource
--   record sets that have the same name and type. Values other than 60
--   seconds (the TTL for load balancers) will change the effect of the
--   values that you specify for <tt>Weight</tt> .
rrsTTL :: Lens' ResourceRecordSet (Maybe Natural)

-- | Information about the resource records to act upon.
rrsResourceRecords :: Lens' ResourceRecordSet (Maybe (NonEmpty ResourceRecord))

-- | <i>Alias resource record sets only:</i> Information about the
--   CloudFront distribution, AWS Elastic Beanstalk environment, ELB load
--   balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to
--   which you are redirecting queries. The AWS Elastic Beanstalk
--   environment must have a regionalized subdomain. If you're creating
--   resource records sets for a private hosted zone, note the following: *
--   You can't create alias resource record sets for CloudFront
--   distributions in a private hosted zone. * Creating geolocation alias
--   resource record sets or latency alias resource record sets in a
--   private hosted zone is unsupported. * For information about creating
--   failover resource record sets in a private hosted zone, see
--   <a>Configuring Failover in a Private Hosted Zone</a> in the <i>Amazon
--   Route 53 Developer Guide</i> .
rrsAliasTarget :: Lens' ResourceRecordSet (Maybe AliasTarget)

-- | <i>Weighted resource record sets only:</i> Among resource record sets
--   that have the same combination of DNS name and type, a value that
--   determines the proportion of DNS queries that Amazon Route 53 responds
--   to using the current resource record set. Amazon Route 53 calculates
--   the sum of the weights for the resource record sets that have the same
--   combination of DNS name and type. Amazon Route 53 then responds to
--   queries based on the ratio of a resource's weight to the total. Note
--   the following: * You must specify a value for the <tt>Weight</tt>
--   element for every weighted resource record set. * You can only specify
--   one <tt>ResourceRecord</tt> per weighted resource record set. * You
--   can't create latency, failover, or geolocation resource record sets
--   that have the same values for the <tt>Name</tt> and <tt>Type</tt>
--   elements as weighted resource record sets. * You can create a maximum
--   of 100 weighted resource record sets that have the same values for the
--   <tt>Name</tt> and <tt>Type</tt> elements. * For weighted (but not
--   weighted alias) resource record sets, if you set <tt>Weight</tt> to
--   <tt>0</tt> for a resource record set, Amazon Route 53 never responds
--   to queries with the applicable value for that resource record set.
--   However, if you set <tt>Weight</tt> to <tt>0</tt> for all resource
--   record sets that have the same combination of DNS name and type,
--   traffic is routed to all resources with equal probability. The effect
--   of setting <tt>Weight</tt> to <tt>0</tt> is different when you
--   associate health checks with weighted resource record sets. For more
--   information, see <a>Options for Configuring Amazon Route 53
--   Active-Active and Active-Passive Failover</a> in the <i>Amazon Route
--   53 Developer Guide</i> .
rrsWeight :: Lens' ResourceRecordSet (Maybe Natural)

-- | When you create a traffic policy instance, Amazon Route 53
--   automatically creates a resource record set.
--   <tt>TrafficPolicyInstanceId</tt> is the ID of the traffic policy
--   instance that Amazon Route 53 created this resource record set for.
--   <i>Important:</i> To delete the resource record set that is associated
--   with a traffic policy instance, use
--   <tt>DeleteTrafficPolicyInstance</tt> . Amazon Route 53 will delete the
--   resource record set automatically. If you delete the resource record
--   set by using <tt>ChangeResourceRecordSets</tt> , Amazon Route 53
--   doesn't automatically delete the traffic policy instance, and you'll
--   continue to be charged for it even though it's no longer in use.
rrsTrafficPolicyInstanceId :: Lens' ResourceRecordSet (Maybe Text)

-- | <i>Weighted, Latency, Geo, and Failover resource record sets only:</i>
--   An identifier that differentiates among multiple resource record sets
--   that have the same combination of DNS name and type. The value of
--   <tt>SetIdentifier</tt> must be unique for each resource record set
--   that has the same combination of DNS name and type. Omit
--   <tt>SetIdentifier</tt> for any other types of record sets.
rrsSetIdentifier :: Lens' ResourceRecordSet (Maybe Text)

-- | <i>Failover resource record sets only:</i> To configure failover, you
--   add the <tt>Failover</tt> element to two resource record sets. For one
--   resource record set, you specify <tt>PRIMARY</tt> as the value for
--   <tt>Failover</tt> ; for the other resource record set, you specify
--   <tt>SECONDARY</tt> . In addition, you include the
--   <tt>HealthCheckId</tt> element and specify the health check that you
--   want Amazon Route 53 to perform for each resource record set. Except
--   where noted, the following failover behaviors assume that you have
--   included the <tt>HealthCheckId</tt> element in both resource record
--   sets: * When the primary resource record set is healthy, Amazon Route
--   53 responds to DNS queries with the applicable value from the primary
--   resource record set regardless of the health of the secondary resource
--   record set. * When the primary resource record set is unhealthy and
--   the secondary resource record set is healthy, Amazon Route 53 responds
--   to DNS queries with the applicable value from the secondary resource
--   record set. * When the secondary resource record set is unhealthy,
--   Amazon Route 53 responds to DNS queries with the applicable value from
--   the primary resource record set regardless of the health of the
--   primary resource record set. * If you omit the <tt>HealthCheckId</tt>
--   element for the secondary resource record set, and if the primary
--   resource record set is unhealthy, Amazon Route 53 always responds to
--   DNS queries with the applicable value from the secondary resource
--   record set. This is true regardless of the health of the associated
--   endpoint. You can't create non-failover resource record sets that have
--   the same values for the <tt>Name</tt> and <tt>Type</tt> elements as
--   failover resource record sets. For failover alias resource record
--   sets, you must also include the <tt>EvaluateTargetHealth</tt> element
--   and set the value to true. For more information about configuring
--   failover for Amazon Route 53, see the following topics in the
--   <i>Amazon Route 53 Developer Guide</i> : * <a>Amazon Route 53 Health
--   Checks and DNS Failover</a> * <a>Configuring Failover in a Private
--   Hosted Zone</a> Valid values: <tt>PRIMARY</tt> | <tt>SECONDARY</tt>
rrsFailover :: Lens' ResourceRecordSet (Maybe Failover)

-- | If you want Amazon Route 53 to return this resource record set in
--   response to a DNS query only when a health check is passing, include
--   the <tt>HealthCheckId</tt> element and specify the ID of the
--   applicable health check. Amazon Route 53 determines whether a resource
--   record set is healthy based on one of the following: * By periodically
--   sending a request to the endpoint that is specified in the health
--   check * By aggregating the status of a specified group of health
--   checks (calculated health checks) * By determining the current state
--   of a CloudWatch alarm (CloudWatch metric health checks) For
--   information about how Amazon Route 53 determines whether a health
--   check is healthy, see <tt>CreateHealthCheck</tt> . The
--   <tt>HealthCheckId</tt> element is only useful when Amazon Route 53 is
--   choosing between two or more resource record sets to respond to a DNS
--   query, and you want Amazon Route 53 to base the choice in part on the
--   status of a health check. Configuring health checks only makes sense
--   in the following configurations: * You're checking the health of the
--   resource record sets in a weighted, latency, geolocation, or failover
--   resource record set, and you specify health check IDs for all of the
--   resource record sets. If the health check for one resource record set
--   specifies an endpoint that is not healthy, Amazon Route 53 stops
--   responding to queries using the value for that resource record set. *
--   You set <tt>EvaluateTargetHealth</tt> to true for the resource record
--   sets in an alias, weighted alias, latency alias, geolocation alias, or
--   failover alias resource record set, and you specify health check IDs
--   for all of the resource record sets that are referenced by the alias
--   resource record sets. <i>Important:</i> Amazon Route 53 doesn't check
--   the health of the endpoint specified in the resource record set, for
--   example, the endpoint specified by the IP address in the
--   <tt>Value</tt> element. When you add a <tt>HealthCheckId</tt> element
--   to a resource record set, Amazon Route 53 checks the health of the
--   endpoint that you specified in the health check. For geolocation
--   resource record sets, if an endpoint is unhealthy, Amazon Route 53
--   looks for a resource record set for the larger, associated geographic
--   region. For example, suppose you have resource record sets for a state
--   in the United States, for the United States, for North America, and
--   for all locations. If the endpoint for the state resource record set
--   is unhealthy, Amazon Route 53 checks the resource record sets for the
--   United States, for North America, and for all locations (a resource
--   record set for which the value of <tt>CountryCode</tt> is <tt>*</tt>
--   ), in that order, until it finds a resource record set for which the
--   endpoint is healthy. If your health checks specify the endpoint only
--   by domain name, we recommend that you create a separate health check
--   for each endpoint. For example, create a health check for each
--   <tt>HTTP</tt> server that is serving content for
--   <tt>www.example.com</tt> . For the value of
--   <tt>FullyQualifiedDomainName</tt> , specify the domain name of the
--   server (such as <tt>us-east-1-www.example.com</tt> ), not the name of
--   the resource record sets (example.com). <i>Important:</i> n this
--   configuration, if you create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and then associate the health check with those resource
--   record sets, health check results will be unpredictable. For more
--   information, see the following topics in the <i>Amazon Route 53
--   Developer Guide</i> : * <a>Amazon Route 53 Health Checks and DNS
--   Failover</a> * <a>Configuring Failover in a Private Hosted Zone</a>
rrsHealthCheckId :: Lens' ResourceRecordSet (Maybe Text)

-- | <i>Latency-based resource record sets only:</i> The Amazon EC2 Region
--   where the resource that is specified in this resource record set
--   resides. The resource typically is an AWS resource, such as an EC2
--   instance or an ELB load balancer, and is referred to by an IP address
--   or a DNS domain name, depending on the record type. When Amazon Route
--   53 receives a DNS query for a domain name and type for which you have
--   created latency resource record sets, Amazon Route 53 selects the
--   latency resource record set that has the lowest latency between the
--   end user and the associated Amazon EC2 Region. Amazon Route 53 then
--   returns the value that is associated with the selected resource record
--   set. Note the following: * You can only specify one
--   <tt>ResourceRecord</tt> per latency resource record set. * You can
--   only create one latency resource record set for each Amazon EC2
--   Region. * You are not required to create latency resource record sets
--   for all Amazon EC2 Regions. Amazon Route 53 will choose the region
--   with the best latency from among the regions for which you create
--   latency resource record sets. * You can't create non-latency resource
--   record sets that have the same values for the <tt>Name</tt> and
--   <tt>Type</tt> elements as latency resource record sets.
rrsRegion :: Lens' ResourceRecordSet (Maybe Region)

-- | <i>Geo location resource record sets only:</i> A complex type that
--   lets you control how Amazon Route 53 responds to DNS queries based on
--   the geographic origin of the query. For example, if you want all
--   queries from Africa to be routed to a web server with an IP address of
--   <tt>192.0.2.111</tt> , create a resource record set with a
--   <tt>Type</tt> of <tt>A</tt> and a <tt>ContinentCode</tt> of
--   <tt>AF</tt> . If you create separate resource record sets for
--   overlapping geographic regions (for example, one resource record set
--   for a continent and one for a country on the same continent), priority
--   goes to the smallest geographic region. This allows you to route most
--   queries for a continent to one resource and to route queries for a
--   country on that continent to a different resource. You can't create
--   two geolocation resource record sets that specify the same geographic
--   location. The value <tt>*</tt> in the <tt>CountryCode</tt> element
--   matches all geographic locations that aren't specified in other
--   geolocation resource record sets that have the same values for the
--   <tt>Name</tt> and <tt>Type</tt> elements. <i>Important:</i>
--   Geolocation works by mapping IP addresses to locations. However, some
--   IP addresses aren't mapped to geographic locations, so even if you
--   create geolocation resource record sets that cover all seven
--   continents, Amazon Route 53 will receive some DNS queries from
--   locations that it can't identify. We recommend that you create a
--   resource record set for which the value of <tt>CountryCode</tt> is
--   <tt>*</tt> , which handles both queries that come from locations for
--   which you haven't created geolocation resource record sets and queries
--   from IP addresses that aren't mapped to a location. If you don't
--   create a <tt>*</tt> resource record set, Amazon Route 53 returns a "no
--   answer" response for queries from those locations. You can't create
--   non-geolocation resource record sets that have the same values for the
--   <tt>Name</tt> and <tt>Type</tt> elements as geolocation resource
--   record sets.
rrsGeoLocation :: Lens' ResourceRecordSet (Maybe GeoLocation)

-- | The name of the domain you want to perform the action on. Enter a
--   fully qualified domain name, for example, <tt>www.example.com</tt> .
--   You can optionally include a trailing dot. If you omit the trailing
--   dot, Amazon Route 53 still assumes that the domain name that you
--   specify is fully qualified. This means that Amazon Route 53 treats
--   <tt>www.example.com</tt> (without a trailing dot) and
--   <tt>www.example.com.</tt> (with a trailing dot) as identical. For
--   information about how to specify characters other than <tt>a-z</tt> ,
--   <tt>0-9</tt> , and <tt>-</tt> (hyphen) and how to specify
--   internationalized domain names, see <a>DNS Domain Name Format</a> in
--   the <i>Amazon Route 53 Developer Guide</i> . You can use the asterisk
--   (*) wildcard to replace the leftmost label in a domain name. For
--   example, <tt>*.example.com</tt> . Note the following: * The * must
--   replace the entire label. For example, you can't specify
--   <tt>*prod.example.com</tt> or <tt>prod*.example.com</tt> . * The *
--   can't replace any of the middle labels, for example,
--   marketing.*.example.com. * If you include * in any position other than
--   the leftmost label in a domain name, DNS treats it as an * character
--   (ASCII 42), not as a wildcard. <i>Important:</i> You can't use the *
--   wildcard for resource records sets that have a type of NS. You can use
--   the * wildcard as the leftmost label in a domain name, for example,
--   <tt>*.example.com</tt> . You can't use an * for one of the middle
--   labels, for example, <tt>marketing.*.example.com</tt> . In addition,
--   the * must replace the entire label; for example, you can't specify
--   <tt>prod*.example.com</tt> .
rrsName :: Lens' ResourceRecordSet Text

-- | The DNS record type. For information about different record types and
--   how data is encoded for them, see <a>Supported DNS Resource Record
--   Types</a> in the <i>Amazon Route 53 Developer Guide</i> . Valid values
--   for basic resource record sets: <tt>A</tt> | <tt>AAAA</tt> |
--   <tt>CNAME</tt> | <tt>MX</tt> | <tt>NAPTR</tt> | <tt>NS</tt> |
--   <tt>PTR</tt> | <tt>SOA</tt> | <tt>SPF</tt> | <tt>SRV</tt> |
--   <tt>TXT</tt> Values for weighted, latency, geolocation, and failover
--   resource record sets: <tt>A</tt> | <tt>AAAA</tt> | <tt>CNAME</tt> |
--   <tt>MX</tt> | <tt>NAPTR</tt> | <tt>PTR</tt> | <tt>SPF</tt> |
--   <tt>SRV</tt> | <tt>TXT</tt> . When creating a group of weighted,
--   latency, geolocation, or failover resource record sets, specify the
--   same value for all of the resource record sets in the group. Values
--   for alias resource record sets: * <b>CloudFront distributions:</b>
--   <tt>A</tt> If IPv6 is enabled for the distribution, create two
--   resource record sets to route traffic to your distribution, one with a
--   value of <tt>A</tt> and one with a value of <tt>AAAA</tt> . * <b>AWS
--   Elastic Beanstalk environment that has a regionalized subdomain</b> :
--   <tt>A</tt> * <b>ELB load balancers:</b> <tt>A</tt> | <tt>AAAA</tt> *
--   <b>Amazon S3 buckets:</b> <tt>A</tt> * <b>Another resource record set
--   in this hosted zone:</b> Specify the type of the resource record set
--   for which you're creating the alias. Specify any value except
--   <tt>NS</tt> or <tt>SOA</tt> .
rrsType :: Lens' ResourceRecordSet RecordType

-- | A complex type containing a resource and its associated tags.
--   
--   <i>See:</i> <a>resourceTagSet</a> smart constructor.
data ResourceTagSet

-- | Creates a value of <a>ResourceTagSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtsResourceId</a> - The ID for the specified resource.</li>
--   <li><a>rtsResourceType</a> - The type of the resource. * The resource
--   type for health checks is <tt>healthcheck</tt> . * The resource type
--   for hosted zones is <tt>hostedzone</tt> .</li>
--   <li><a>rtsTags</a> - The tags associated with the specified
--   resource.</li>
--   </ul>
resourceTagSet :: ResourceTagSet

-- | The ID for the specified resource.
rtsResourceId :: Lens' ResourceTagSet (Maybe Text)

-- | The type of the resource. * The resource type for health checks is
--   <tt>healthcheck</tt> . * The resource type for hosted zones is
--   <tt>hostedzone</tt> .
rtsResourceType :: Lens' ResourceTagSet (Maybe TagResourceType)

-- | The tags associated with the specified resource.
rtsTags :: Lens' ResourceTagSet (Maybe (NonEmpty Tag))

-- | A complex type that contains the status that one Amazon Route 53
--   health checker reports and the time of the health check.
--   
--   <i>See:</i> <a>statusReport</a> smart constructor.
data StatusReport

-- | Creates a value of <a>StatusReport</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srStatus</a> - A description of the status of the health check
--   endpoint as reported by one of the Amazon Route 53 health
--   checkers.</li>
--   <li><a>srCheckedTime</a> - The time at which the health checker
--   performed the health check in <a>ISO 8601 format</a> and Coordinated
--   Universal Time (UTC). For example, the value
--   <tt>2014-10-27T17:48:16.751Z</tt> represents October 27, 2014 at
--   17:48:16.751 UTC.</li>
--   </ul>
statusReport :: StatusReport

-- | A description of the status of the health check endpoint as reported
--   by one of the Amazon Route 53 health checkers.
srStatus :: Lens' StatusReport (Maybe Text)

-- | The time at which the health checker performed the health check in
--   <a>ISO 8601 format</a> and Coordinated Universal Time (UTC). For
--   example, the value <tt>2014-10-27T17:48:16.751Z</tt> represents
--   October 27, 2014 at 17:48:16.751 UTC.
srCheckedTime :: Lens' StatusReport (Maybe UTCTime)

-- | A complex type that contains information about a tag that you want to
--   add or edit for the specified health check or hosted zone.
--   
--   <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagValue</a> - The value of <tt>Value</tt> depends on the
--   operation that you want to perform: * <b>Add a tag to a health check
--   or hosted zone</b> : <tt>Value</tt> is the value that you want to give
--   the new tag. * <b>Edit a tag</b> : <tt>Value</tt> is the new value
--   that you want to assign the tag.</li>
--   <li><a>tagKey</a> - The value of <tt>Key</tt> depends on the operation
--   that you want to perform: * <b>Add a tag to a health check or hosted
--   zone</b> : <tt>Key</tt> is the name that you want to give the new tag.
--   * <b>Edit a tag</b> : <tt>Key</tt> is the name of the tag whose
--   <tt>Value</tt> element you want to remove. * <b>Delete a key</b> :
--   <tt>Key</tt> is the name of the tag you want to remove. * <b>Give a
--   name to a health check</b> : Edit the default <tt>Name</tt> tag. In
--   the Amazon Route 53 console, the list of your health checks includes a
--   <b>Name</b> column that lets you see the name that you've given to
--   each health check.</li>
--   </ul>
tag :: Tag

-- | The value of <tt>Value</tt> depends on the operation that you want to
--   perform: * <b>Add a tag to a health check or hosted zone</b> :
--   <tt>Value</tt> is the value that you want to give the new tag. *
--   <b>Edit a tag</b> : <tt>Value</tt> is the new value that you want to
--   assign the tag.
tagValue :: Lens' Tag (Maybe Text)

-- | The value of <tt>Key</tt> depends on the operation that you want to
--   perform: * <b>Add a tag to a health check or hosted zone</b> :
--   <tt>Key</tt> is the name that you want to give the new tag. * <b>Edit
--   a tag</b> : <tt>Key</tt> is the name of the tag whose <tt>Value</tt>
--   element you want to remove. * <b>Delete a key</b> : <tt>Key</tt> is
--   the name of the tag you want to remove. * <b>Give a name to a health
--   check</b> : Edit the default <tt>Name</tt> tag. In the Amazon Route 53
--   console, the list of your health checks includes a <b>Name</b> column
--   that lets you see the name that you've given to each health check.
tagKey :: Lens' Tag (Maybe Text)

-- | A complex type that contains settings for a traffic policy.
--   
--   <i>See:</i> <a>trafficPolicy</a> smart constructor.
data TrafficPolicy

-- | Creates a value of <a>TrafficPolicy</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tpComment</a> - The comment that you specify in the
--   <tt>CreateTrafficPolicy</tt> request, if any.</li>
--   <li><a>tpId</a> - The ID that Amazon Route 53 assigned to a traffic
--   policy when you created it.</li>
--   <li><a>tpVersion</a> - The version number that Amazon Route 53 assigns
--   to a traffic policy. For a new traffic policy, the value of
--   <tt>Version</tt> is always 1.</li>
--   <li><a>tpName</a> - The name that you specified when you created the
--   traffic policy.</li>
--   <li><a>tpType</a> - The DNS type of the resource record sets that
--   Amazon Route 53 creates when you use a traffic policy to create a
--   traffic policy instance.</li>
--   <li><a>tpDocument</a> - The definition of a traffic policy in JSON
--   format. You specify the JSON document to use for a new traffic policy
--   in the <tt>CreateTrafficPolicy</tt> request. For more information
--   about the JSON format, see <a>Traffic Policy Document Format</a>
--   .</li>
--   </ul>
trafficPolicy :: Text -> Natural -> Text -> RecordType -> Text -> TrafficPolicy

-- | The comment that you specify in the <tt>CreateTrafficPolicy</tt>
--   request, if any.
tpComment :: Lens' TrafficPolicy (Maybe Text)

-- | The ID that Amazon Route 53 assigned to a traffic policy when you
--   created it.
tpId :: Lens' TrafficPolicy Text

-- | The version number that Amazon Route 53 assigns to a traffic policy.
--   For a new traffic policy, the value of <tt>Version</tt> is always 1.
tpVersion :: Lens' TrafficPolicy Natural

-- | The name that you specified when you created the traffic policy.
tpName :: Lens' TrafficPolicy Text

-- | The DNS type of the resource record sets that Amazon Route 53 creates
--   when you use a traffic policy to create a traffic policy instance.
tpType :: Lens' TrafficPolicy RecordType

-- | The definition of a traffic policy in JSON format. You specify the
--   JSON document to use for a new traffic policy in the
--   <tt>CreateTrafficPolicy</tt> request. For more information about the
--   JSON format, see <a>Traffic Policy Document Format</a> .
tpDocument :: Lens' TrafficPolicy Text

-- | A complex type that contains settings for the new traffic policy
--   instance.
--   
--   <i>See:</i> <a>trafficPolicyInstance</a> smart constructor.
data TrafficPolicyInstance

-- | Creates a value of <a>TrafficPolicyInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tpiId</a> - The ID that Amazon Route 53 assigned to the new
--   traffic policy instance.</li>
--   <li><a>tpiHostedZoneId</a> - The ID of the hosted zone that Amazon
--   Route 53 created resource record sets in.</li>
--   <li><a>tpiName</a> - The DNS name, such as www.example.com, for which
--   Amazon Route 53 responds to queries by using the resource record sets
--   that are associated with this traffic policy instance.</li>
--   <li><a>tpiTTL</a> - The TTL that Amazon Route 53 assigned to all of
--   the resource record sets that it created in the specified hosted
--   zone.</li>
--   <li><a>tpiState</a> - The value of <tt>State</tt> is one of the
--   following values: * Applied * Amazon Route 53 has finished creating
--   resource record sets, and changes have propagated to all Amazon Route
--   53 edge locations. * Creating * Amazon Route 53 is creating the
--   resource record sets. Use <tt>GetTrafficPolicyInstance</tt> to confirm
--   that the <tt>CreateTrafficPolicyInstance</tt> request completed
--   successfully. * Failed * Amazon Route 53 wasn't able to create or
--   update the resource record sets. When the value of <tt>State</tt> is
--   <tt>Failed</tt> , see <tt>Message</tt> for an explanation of what
--   caused the request to fail.</li>
--   <li><a>tpiMessage</a> - If <tt>State</tt> is <tt>Failed</tt> , an
--   explanation of the reason for the failure. If <tt>State</tt> is
--   another value, <tt>Message</tt> is empty.</li>
--   <li><a>tpiTrafficPolicyId</a> - The ID of the traffic policy that
--   Amazon Route 53 used to create resource record sets in the specified
--   hosted zone.</li>
--   <li><a>tpiTrafficPolicyVersion</a> - The version of the traffic policy
--   that Amazon Route 53 used to create resource record sets in the
--   specified hosted zone.</li>
--   <li><a>tpiTrafficPolicyType</a> - The DNS type that Amazon Route 53
--   assigned to all of the resource record sets that it created for this
--   traffic policy instance.</li>
--   </ul>
trafficPolicyInstance :: Text -> ResourceId -> Text -> Natural -> Text -> Text -> Text -> Natural -> RecordType -> TrafficPolicyInstance

-- | The ID that Amazon Route 53 assigned to the new traffic policy
--   instance.
tpiId :: Lens' TrafficPolicyInstance Text

-- | The ID of the hosted zone that Amazon Route 53 created resource record
--   sets in.
tpiHostedZoneId :: Lens' TrafficPolicyInstance ResourceId

-- | The DNS name, such as www.example.com, for which Amazon Route 53
--   responds to queries by using the resource record sets that are
--   associated with this traffic policy instance.
tpiName :: Lens' TrafficPolicyInstance Text

-- | The TTL that Amazon Route 53 assigned to all of the resource record
--   sets that it created in the specified hosted zone.
tpiTTL :: Lens' TrafficPolicyInstance Natural

-- | The value of <tt>State</tt> is one of the following values: * Applied
--   * Amazon Route 53 has finished creating resource record sets, and
--   changes have propagated to all Amazon Route 53 edge locations. *
--   Creating * Amazon Route 53 is creating the resource record sets. Use
--   <tt>GetTrafficPolicyInstance</tt> to confirm that the
--   <tt>CreateTrafficPolicyInstance</tt> request completed successfully. *
--   Failed * Amazon Route 53 wasn't able to create or update the resource
--   record sets. When the value of <tt>State</tt> is <tt>Failed</tt> , see
--   <tt>Message</tt> for an explanation of what caused the request to
--   fail.
tpiState :: Lens' TrafficPolicyInstance Text

-- | If <tt>State</tt> is <tt>Failed</tt> , an explanation of the reason
--   for the failure. If <tt>State</tt> is another value, <tt>Message</tt>
--   is empty.
tpiMessage :: Lens' TrafficPolicyInstance Text

-- | The ID of the traffic policy that Amazon Route 53 used to create
--   resource record sets in the specified hosted zone.
tpiTrafficPolicyId :: Lens' TrafficPolicyInstance Text

-- | The version of the traffic policy that Amazon Route 53 used to create
--   resource record sets in the specified hosted zone.
tpiTrafficPolicyVersion :: Lens' TrafficPolicyInstance Natural

-- | The DNS type that Amazon Route 53 assigned to all of the resource
--   record sets that it created for this traffic policy instance.
tpiTrafficPolicyType :: Lens' TrafficPolicyInstance RecordType

-- | A complex type that contains information about the latest version of
--   one traffic policy that is associated with the current AWS account.
--   
--   <i>See:</i> <a>trafficPolicySummary</a> smart constructor.
data TrafficPolicySummary

-- | Creates a value of <a>TrafficPolicySummary</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tpsId</a> - The ID that Amazon Route 53 assigned to the traffic
--   policy when you created it.</li>
--   <li><a>tpsName</a> - The name that you specified for the traffic
--   policy when you created it.</li>
--   <li><a>tpsType</a> - The DNS type of the resource record sets that
--   Amazon Route 53 creates when you use a traffic policy to create a
--   traffic policy instance.</li>
--   <li><a>tpsLatestVersion</a> - The version number of the latest version
--   of the traffic policy.</li>
--   <li><a>tpsTrafficPolicyCount</a> - The number of traffic policies that
--   are associated with the current AWS account.</li>
--   </ul>
trafficPolicySummary :: Text -> Text -> RecordType -> Natural -> Natural -> TrafficPolicySummary

-- | The ID that Amazon Route 53 assigned to the traffic policy when you
--   created it.
tpsId :: Lens' TrafficPolicySummary Text

-- | The name that you specified for the traffic policy when you created
--   it.
tpsName :: Lens' TrafficPolicySummary Text

-- | The DNS type of the resource record sets that Amazon Route 53 creates
--   when you use a traffic policy to create a traffic policy instance.
tpsType :: Lens' TrafficPolicySummary RecordType

-- | The version number of the latest version of the traffic policy.
tpsLatestVersion :: Lens' TrafficPolicySummary Natural

-- | The number of traffic policies that are associated with the current
--   AWS account.
tpsTrafficPolicyCount :: Lens' TrafficPolicySummary Natural

-- | A complex type that contains information about an Amazon VPC that is
--   associated with a private hosted zone.
--   
--   <i>See:</i> <a>vpc</a> smart constructor.
data VPC

-- | Creates a value of <a>VPC</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vpcVPCRegion</a> - The region in which you created the VPC that
--   you want to associate with the specified Amazon Route 53 hosted
--   zone.</li>
--   <li><a>vpcVPCId</a> - Undocumented member.</li>
--   </ul>
vpc :: VPC

-- | The region in which you created the VPC that you want to associate
--   with the specified Amazon Route 53 hosted zone.
vpcVPCRegion :: Lens' VPC (Maybe VPCRegion)

-- | Undocumented member.
vpcVPCId :: Lens' VPC (Maybe Text)


-- | Retrieves a list of supported geo locations. Send a <tt>GET</tt>
--   request to the <tt><i>2013-04-01</i>geolocations</tt> resource. The
--   response to this request includes a <tt>GeoLocationDetailsList</tt>
--   element for each location that Amazon Route 53 supports.
--   
--   Countries are listed first, and continents are listed last. If Amazon
--   Route 53 supports subdivisions for a country (for example, states or
--   provinces), the subdivisions for that country are listed in
--   alphabetical order immediately after the corresponding country.
module Network.AWS.Route53.ListGeoLocations

-- | Creates a value of <a>ListGeoLocations</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lglStartSubdivisionCode</a> - The code for the subdivision (for
--   example, state or province) with which you want to start listing
--   locations that Amazon Route 53 supports for geolocation. If Amazon
--   Route 53 has already returned a page or more of results, if
--   <tt>IsTruncated</tt> is <tt>true</tt> , and if
--   <tt>NextSubdivisionCode</tt> from the previous response has a value,
--   enter that value in <tt>StartSubdivisionCode</tt> to return the next
--   page of results. To list subdivisions of a country, you must include
--   both <tt>StartCountryCode</tt> and <tt>StartSubdivisionCode</tt>
--   .</li>
--   <li><a>lglMaxItems</a> - (Optional) The maximum number of geolocations
--   to be included in the response body for this request. If more than
--   <tt>MaxItems</tt> geolocations remain to be listed, then the value of
--   the <tt>IsTruncated</tt> element in the response is <tt>true</tt>
--   .</li>
--   <li><a>lglStartCountryCode</a> - The code for the country with which
--   you want to start listing locations that Amazon Route 53 supports for
--   geolocation. If Amazon Route 53 has already returned a page or more of
--   results, if <tt>IsTruncated</tt> is <tt>true</tt> , and if
--   <tt>NextCountryCode</tt> from the previous response has a value, enter
--   that value in <tt>StartCountryCode</tt> to return the next page of
--   results. Amazon Route 53 uses the two-letter country codes that are
--   specified in <a>ISO standard 3166-1 alpha-2</a> .</li>
--   <li><a>lglStartContinentCode</a> - The code for the continent with
--   which you want to start listing locations that Amazon Route 53
--   supports for geolocation. If Amazon Route 53 has already returned a
--   page or more of results, if <tt>IsTruncated</tt> is true, and if
--   <tt>NextContinentCode</tt> from the previous response has a value,
--   enter that value in <tt>StartContinentCode</tt> to return the next
--   page of results. Include <tt>StartContinentCode</tt> only if you want
--   to list continents. Don't include <tt>StartContinentCode</tt> when
--   you're listing countries or countries with their subdivisions.</li>
--   </ul>
listGeoLocations :: ListGeoLocations

-- | To get a list of geographic locations that Amazon Route 53 supports
--   for geolocation, send a <tt>GET</tt> request to the <tt>/<i>Amazon
--   Route 53 API version</i> /geolocations</tt> resource. The response to
--   this request includes a <tt>GeoLocationDetails</tt> element for each
--   location that Amazon Route 53 supports.
--   
--   Countries are listed first, and continents are listed last. If Amazon
--   Route 53 supports subdivisions for a country (for example, states or
--   provinces), the subdivisions for that country are listed in
--   alphabetical order immediately after the corresponding country.
--   
--   <i>See:</i> <a>listGeoLocations</a> smart constructor.
data ListGeoLocations

-- | The code for the subdivision (for example, state or province) with
--   which you want to start listing locations that Amazon Route 53
--   supports for geolocation. If Amazon Route 53 has already returned a
--   page or more of results, if <tt>IsTruncated</tt> is <tt>true</tt> ,
--   and if <tt>NextSubdivisionCode</tt> from the previous response has a
--   value, enter that value in <tt>StartSubdivisionCode</tt> to return the
--   next page of results. To list subdivisions of a country, you must
--   include both <tt>StartCountryCode</tt> and
--   <tt>StartSubdivisionCode</tt> .
lglStartSubdivisionCode :: Lens' ListGeoLocations (Maybe Text)

-- | (Optional) The maximum number of geolocations to be included in the
--   response body for this request. If more than <tt>MaxItems</tt>
--   geolocations remain to be listed, then the value of the
--   <tt>IsTruncated</tt> element in the response is <tt>true</tt> .
lglMaxItems :: Lens' ListGeoLocations (Maybe Text)

-- | The code for the country with which you want to start listing
--   locations that Amazon Route 53 supports for geolocation. If Amazon
--   Route 53 has already returned a page or more of results, if
--   <tt>IsTruncated</tt> is <tt>true</tt> , and if
--   <tt>NextCountryCode</tt> from the previous response has a value, enter
--   that value in <tt>StartCountryCode</tt> to return the next page of
--   results. Amazon Route 53 uses the two-letter country codes that are
--   specified in <a>ISO standard 3166-1 alpha-2</a> .
lglStartCountryCode :: Lens' ListGeoLocations (Maybe Text)

-- | The code for the continent with which you want to start listing
--   locations that Amazon Route 53 supports for geolocation. If Amazon
--   Route 53 has already returned a page or more of results, if
--   <tt>IsTruncated</tt> is true, and if <tt>NextContinentCode</tt> from
--   the previous response has a value, enter that value in
--   <tt>StartContinentCode</tt> to return the next page of results.
--   Include <tt>StartContinentCode</tt> only if you want to list
--   continents. Don't include <tt>StartContinentCode</tt> when you're
--   listing countries or countries with their subdivisions.
lglStartContinentCode :: Lens' ListGeoLocations (Maybe Text)

-- | Creates a value of <a>ListGeoLocationsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lglrsNextContinentCode</a> - If <tt>IsTruncated</tt> is
--   <tt>true</tt> , you can make a follow-up request to display more
--   locations. Enter the value of <tt>NextContinentCode</tt> in the
--   <tt>StartContinentCode</tt> parameter in another <tt>GET</tt>
--   <tt>ListGeoLocations</tt> request.</li>
--   <li><a>lglrsNextCountryCode</a> - If <tt>IsTruncated</tt> is
--   <tt>true</tt> , you can make a follow-up request to display more
--   locations. Enter the value of <tt>NextCountryCode</tt> in the
--   <tt>StartCountryCode</tt> parameter in another <tt>GET</tt>
--   <tt>ListGeoLocations</tt> request.</li>
--   <li><a>lglrsNextSubdivisionCode</a> - If <tt>IsTruncated</tt> is
--   <tt>true</tt> , you can make a follow-up request to display more
--   locations. Enter the value of <tt>NextSubdivisionCode</tt> in the
--   <tt>StartSubdivisionCode</tt> parameter in another <tt>GET</tt>
--   <tt>ListGeoLocations</tt> request.</li>
--   <li><a>lglrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lglrsGeoLocationDetailsList</a> - A complex type that contains
--   one <tt>GeoLocationDetails</tt> element for each location that Amazon
--   Route 53 supports for geolocation.</li>
--   <li><a>lglrsIsTruncated</a> - A value that indicates whether more
--   locations remain to be listed after the last location in this
--   response. If so, the value of <tt>IsTruncated</tt> is <tt>true</tt> .
--   To get more values, submit another request and include the values of
--   <tt>NextContinentCode</tt> , <tt>NextCountryCode</tt> , and
--   <tt>NextSubdivisionCode</tt> in the <tt>StartContinentCode</tt> ,
--   <tt>StartCountryCode</tt> , and <tt>StartSubdivisionCode</tt> , as
--   applicable.</li>
--   <li><a>lglrsMaxItems</a> - The value that you specified for
--   <tt>MaxItems</tt> in the request.</li>
--   </ul>
listGeoLocationsResponse :: Int -> Bool -> Text -> ListGeoLocationsResponse

-- | A complex type containing the response information for the request.
--   
--   <i>See:</i> <a>listGeoLocationsResponse</a> smart constructor.
data ListGeoLocationsResponse

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , you can make a follow-up
--   request to display more locations. Enter the value of
--   <tt>NextContinentCode</tt> in the <tt>StartContinentCode</tt>
--   parameter in another <tt>GET</tt> <tt>ListGeoLocations</tt> request.
lglrsNextContinentCode :: Lens' ListGeoLocationsResponse (Maybe Text)

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , you can make a follow-up
--   request to display more locations. Enter the value of
--   <tt>NextCountryCode</tt> in the <tt>StartCountryCode</tt> parameter in
--   another <tt>GET</tt> <tt>ListGeoLocations</tt> request.
lglrsNextCountryCode :: Lens' ListGeoLocationsResponse (Maybe Text)

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , you can make a follow-up
--   request to display more locations. Enter the value of
--   <tt>NextSubdivisionCode</tt> in the <tt>StartSubdivisionCode</tt>
--   parameter in another <tt>GET</tt> <tt>ListGeoLocations</tt> request.
lglrsNextSubdivisionCode :: Lens' ListGeoLocationsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lglrsResponseStatus :: Lens' ListGeoLocationsResponse Int

-- | A complex type that contains one <tt>GeoLocationDetails</tt> element
--   for each location that Amazon Route 53 supports for geolocation.
lglrsGeoLocationDetailsList :: Lens' ListGeoLocationsResponse [GeoLocationDetails]

-- | A value that indicates whether more locations remain to be listed
--   after the last location in this response. If so, the value of
--   <tt>IsTruncated</tt> is <tt>true</tt> . To get more values, submit
--   another request and include the values of <tt>NextContinentCode</tt> ,
--   <tt>NextCountryCode</tt> , and <tt>NextSubdivisionCode</tt> in the
--   <tt>StartContinentCode</tt> , <tt>StartCountryCode</tt> , and
--   <tt>StartSubdivisionCode</tt> , as applicable.
lglrsIsTruncated :: Lens' ListGeoLocationsResponse Bool

-- | The value that you specified for <tt>MaxItems</tt> in the request.
lglrsMaxItems :: Lens' ListGeoLocationsResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListGeoLocations.ListGeoLocationsResponse
instance Data.Data.Data Network.AWS.Route53.ListGeoLocations.ListGeoLocationsResponse
instance GHC.Show.Show Network.AWS.Route53.ListGeoLocations.ListGeoLocationsResponse
instance GHC.Read.Read Network.AWS.Route53.ListGeoLocations.ListGeoLocationsResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListGeoLocations.ListGeoLocationsResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance Data.Data.Data Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance GHC.Show.Show Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance GHC.Read.Read Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance GHC.Classes.Eq Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance Control.DeepSeq.NFData Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListGeoLocations.ListGeoLocations
instance Control.DeepSeq.NFData Network.AWS.Route53.ListGeoLocations.ListGeoLocationsResponse


-- | Retrieve a list of your health checks. Send a <tt>GET</tt> request to
--   the <tt><i>2013-04-01</i>healthcheck</tt> resource. The response to
--   this request includes a <tt>HealthChecks</tt> element with zero or
--   more <tt>HealthCheck</tt> child elements. By default, the list of
--   health checks is displayed on a single page. You can control the
--   length of the page that is displayed by using the <tt>MaxItems</tt>
--   parameter. You can use the <tt>Marker</tt> parameter to control the
--   health check that the list begins with.
--   
--   For information about listing health checks using the Amazon Route 53
--   console, see <a>Amazon Route 53 Health Checks and DNS Failover</a> .
--   
--   This operation returns paginated results.
module Network.AWS.Route53.ListHealthChecks

-- | Creates a value of <a>ListHealthChecks</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lhcMarker</a> - If the response to a <tt>ListHealthChecks</tt>
--   is more than one page, marker is the health check ID for the first
--   health check on the next page of results. For more information, see
--   'ListHealthChecksResponse$MaxItems' .</li>
--   <li><a>lhcMaxItems</a> - The maximum number of <tt>HealthCheck</tt>
--   elements you want <tt>ListHealthChecks</tt> to return on each page of
--   the response body. If the AWS account includes more
--   <tt>HealthCheck</tt> elements than the value of <tt>maxitems</tt> ,
--   the response is broken into pages. Each page contains the number of
--   <tt>HealthCheck</tt> elements specified by <tt>maxitems</tt> . For
--   example, suppose you specify <tt>10</tt> for <tt>maxitems</tt> and the
--   current AWS account has <tt>51</tt> health checks. In the response,
--   <tt>ListHealthChecks</tt> sets 'ListHealthChecksResponse$IsTruncated'
--   to true and includes the 'ListHealthChecksResponse$NextMarker'
--   element. To access the second and subsequent pages, you resend the
--   <tt>GET</tt> <tt>ListHealthChecks</tt> request, add the
--   'ListHealthChecksResponse$Marker' parameter to the request, and
--   specify the value of the 'ListHealthChecksResponse$NextMarker' element
--   from the previous response. On the last (sixth) page of the response,
--   which contains only one HealthCheck element: * The value of
--   'ListHealthChecksResponse$IsTruncated' is <tt>false</tt> . *
--   'ListHealthChecksResponse$NextMarker' is omitted.</li>
--   </ul>
listHealthChecks :: ListHealthChecks

-- | To retrieve a list of your health checks, send a <tt>GET</tt> request
--   to the <tt><i>2013-04-01</i>healthcheck</tt> resource. The response to
--   this request includes a <tt>HealthChecks</tt> element with zero or
--   more <tt>HealthCheck</tt> child elements. By default, the list of
--   health checks is displayed on a single page. You can control the
--   length of the page that is displayed by using the <tt>MaxItems</tt>
--   parameter. You can use the <tt>Marker</tt> parameter to control the
--   health check that the list begins with.
--   
--   <i>See:</i> <a>listHealthChecks</a> smart constructor.
data ListHealthChecks

-- | If the response to a <tt>ListHealthChecks</tt> is more than one page,
--   marker is the health check ID for the first health check on the next
--   page of results. For more information, see
--   'ListHealthChecksResponse$MaxItems' .
lhcMarker :: Lens' ListHealthChecks (Maybe Text)

-- | The maximum number of <tt>HealthCheck</tt> elements you want
--   <tt>ListHealthChecks</tt> to return on each page of the response body.
--   If the AWS account includes more <tt>HealthCheck</tt> elements than
--   the value of <tt>maxitems</tt> , the response is broken into pages.
--   Each page contains the number of <tt>HealthCheck</tt> elements
--   specified by <tt>maxitems</tt> . For example, suppose you specify
--   <tt>10</tt> for <tt>maxitems</tt> and the current AWS account has
--   <tt>51</tt> health checks. In the response, <tt>ListHealthChecks</tt>
--   sets 'ListHealthChecksResponse$IsTruncated' to true and includes the
--   'ListHealthChecksResponse$NextMarker' element. To access the second
--   and subsequent pages, you resend the <tt>GET</tt>
--   <tt>ListHealthChecks</tt> request, add the
--   'ListHealthChecksResponse$Marker' parameter to the request, and
--   specify the value of the 'ListHealthChecksResponse$NextMarker' element
--   from the previous response. On the last (sixth) page of the response,
--   which contains only one HealthCheck element: * The value of
--   'ListHealthChecksResponse$IsTruncated' is <tt>false</tt> . *
--   'ListHealthChecksResponse$NextMarker' is omitted.
lhcMaxItems :: Lens' ListHealthChecks (Maybe Text)

-- | Creates a value of <a>ListHealthChecksResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lhcrsNextMarker</a> - If <tt>IsTruncated</tt> is <tt>true</tt>
--   , the value of <tt>NextMarker</tt> identifies the first health check
--   in the next group of <tt>maxitems</tt> health checks. Call
--   <tt>ListHealthChecks</tt> again and specify the value of
--   <tt>NextMarker</tt> in the marker parameter.</li>
--   <li><a>lhcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lhcrsHealthChecks</a> - A complex type that contains one
--   <tt>HealthCheck</tt> element for each health check that is associated
--   with the current AWS account.</li>
--   <li><a>lhcrsMarker</a> - For the second and subsequent calls to
--   <tt>ListHealthChecks</tt> , <tt>Marker</tt> is the value that you
--   specified for the marker parameter in the previous request.</li>
--   <li><a>lhcrsIsTruncated</a> - A flag that indicates whether there are
--   more health checks to be listed. If the response was truncated, you
--   can get the next group of <tt>maxitems</tt> health checks by calling
--   <tt>ListHealthChecks</tt> again and specifying the value of the
--   <tt>NextMarker</tt> element in the marker parameter. Valid Values:
--   <tt>true</tt> | <tt>false</tt></li>
--   <li><a>lhcrsMaxItems</a> - The value that you specified for the
--   <tt>maxitems</tt> parameter in the call to <tt>ListHealthChecks</tt>
--   that produced the current response.</li>
--   </ul>
listHealthChecksResponse :: Int -> Text -> Bool -> Text -> ListHealthChecksResponse

-- | A complex type that contains the response to a
--   <tt>ListHealthChecks</tt> request.
--   
--   <i>See:</i> <a>listHealthChecksResponse</a> smart constructor.
data ListHealthChecksResponse

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , the value of
--   <tt>NextMarker</tt> identifies the first health check in the next
--   group of <tt>maxitems</tt> health checks. Call
--   <tt>ListHealthChecks</tt> again and specify the value of
--   <tt>NextMarker</tt> in the marker parameter.
lhcrsNextMarker :: Lens' ListHealthChecksResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lhcrsResponseStatus :: Lens' ListHealthChecksResponse Int

-- | A complex type that contains one <tt>HealthCheck</tt> element for each
--   health check that is associated with the current AWS account.
lhcrsHealthChecks :: Lens' ListHealthChecksResponse [HealthCheck]

-- | For the second and subsequent calls to <tt>ListHealthChecks</tt> ,
--   <tt>Marker</tt> is the value that you specified for the marker
--   parameter in the previous request.
lhcrsMarker :: Lens' ListHealthChecksResponse Text

-- | A flag that indicates whether there are more health checks to be
--   listed. If the response was truncated, you can get the next group of
--   <tt>maxitems</tt> health checks by calling <tt>ListHealthChecks</tt>
--   again and specifying the value of the <tt>NextMarker</tt> element in
--   the marker parameter. Valid Values: <tt>true</tt> | <tt>false</tt>
lhcrsIsTruncated :: Lens' ListHealthChecksResponse Bool

-- | The value that you specified for the <tt>maxitems</tt> parameter in
--   the call to <tt>ListHealthChecks</tt> that produced the current
--   response.
lhcrsMaxItems :: Lens' ListHealthChecksResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListHealthChecks.ListHealthChecksResponse
instance Data.Data.Data Network.AWS.Route53.ListHealthChecks.ListHealthChecksResponse
instance GHC.Show.Show Network.AWS.Route53.ListHealthChecks.ListHealthChecksResponse
instance GHC.Read.Read Network.AWS.Route53.ListHealthChecks.ListHealthChecksResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListHealthChecks.ListHealthChecksResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Data.Data.Data Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance GHC.Show.Show Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance GHC.Read.Read Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance GHC.Classes.Eq Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Network.AWS.Pager.AWSPager Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Control.DeepSeq.NFData Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Control.DeepSeq.NFData Network.AWS.Route53.ListHealthChecks.ListHealthChecksResponse


-- | To retrieve a list of your public and private hosted zones, send a
--   <tt>GET</tt> request to the <tt><i>2013-04-01</i>hostedzone</tt>
--   resource. The response to this request includes a <tt>HostedZones</tt>
--   child element for each hosted zone created by the current AWS account.
--   
--   Amazon Route 53 returns a maximum of 100 items in each response. If
--   you have a lot of hosted zones, you can use the <tt>maxitems</tt>
--   parameter to list them in groups of up to 100. The response includes
--   four values that help navigate from one group of <tt>maxitems</tt>
--   hosted zones to the next:
--   
--   <ul>
--   <li><tt>MaxItems</tt> is the value specified for the <tt>maxitems</tt>
--   parameter in the request that produced the current response.</li>
--   <li>If the value of <tt>IsTruncated</tt> in the response is true,
--   there are more hosted zones associated with the current AWS
--   account.</li>
--   <li><tt>NextMarker</tt> is the hosted zone ID of the next hosted zone
--   that is associated with the current AWS account. If you want to list
--   more hosted zones, make another call to <tt>ListHostedZones</tt> , and
--   specify the value of the <tt>NextMarker</tt> element in the marker
--   parameter.</li>
--   </ul>
--   
--   If <tt>IsTruncated</tt> is false, the <tt>NextMarker</tt> element is
--   omitted from the response.
--   
--   <ul>
--   <li>If you're making the second or subsequent call to
--   <tt>ListHostedZones</tt> , the <tt>Marker</tt> element matches the
--   value that you specified in the <tt>marker</tt> parameter in the
--   previous request.</li>
--   </ul>
--   
--   This operation returns paginated results.
module Network.AWS.Route53.ListHostedZones

-- | Creates a value of <a>ListHostedZones</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lhzDelegationSetId</a> - If you're using reusable delegation
--   sets and you want to list all of the hosted zones that are associated
--   with a reusable delegation set, specify the ID of that reusable
--   delegation set.</li>
--   <li><a>lhzMarker</a> - (Optional) If you have more hosted zones than
--   the value of <tt>maxitems</tt> , <tt>ListHostedZones</tt> returns only
--   the first <tt>maxitems</tt> hosted zones. To get the next group of
--   <tt>maxitems</tt> hosted zones, submit another request to
--   <tt>ListHostedZones</tt> . For the value of marker, specify the value
--   of the <tt>NextMarker</tt> element that was returned in the previous
--   response. Hosted zones are listed in the order in which they were
--   created.</li>
--   <li><a>lhzMaxItems</a> - (Optional) The maximum number of hosted zones
--   to be included in the response body for this request. If you have more
--   than <tt>maxitems</tt> hosted zones, the value of the
--   <tt>IsTruncated</tt> element in the response is <tt>true</tt> , and
--   the value of the <tt>NextMarker</tt> element is the hosted zone ID of
--   the first hosted zone in the next group of <tt>maxitems</tt> hosted
--   zones.</li>
--   </ul>
listHostedZones :: ListHostedZones

-- | To retrieve a list of your public and private hosted zones, send a
--   <tt>GET</tt> request to the <tt><i>2013-04-01</i>hostedzone</tt>
--   resource. The response to this request includes a HostedZone child
--   element for each hosted zone that was created by the current AWS
--   account.
--   
--   Amazon Route 53 returns a maximum of 100 items in each response. If
--   you have a lot of hosted zones, you can use the maxitems parameter to
--   list them in groups of up to 100. The response includes four values
--   that help you navigate from one group of maxitems hosted zones to the
--   next:
--   
--   <ul>
--   <li><tt>MaxItems</tt> is the value that you specified for the
--   <tt>maxitems</tt> parameter in the request that produced the current
--   response.</li>
--   <li>If the value of <tt>IsTruncated</tt> in the response is
--   <tt>true</tt> , there are more hosted zones associated with the
--   current AWS account.</li>
--   </ul>
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , this response includes the
--   last hosted zone that is associated with the current account.
--   
--   <ul>
--   <li><tt>NextMarker</tt> is the hosted zone ID of the next hosted zone
--   that is associated with the current AWS account. If you want to list
--   more hosted zones, make another call to <tt>ListHostedZones</tt> , and
--   specify the value of the <tt>NextMarker</tt> element in the marker
--   parameter.</li>
--   </ul>
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , the <tt>NextMarker</tt>
--   element is omitted from the response.
--   
--   <ul>
--   <li>If you're making the second or subsequent call to
--   <tt>ListHostedZones</tt> , the <tt>Marker</tt> element matches the
--   value that you specified in the <tt>marker</tt> parameter in the
--   previous request.</li>
--   </ul>
--   
--   <i>See:</i> <a>listHostedZones</a> smart constructor.
data ListHostedZones

-- | If you're using reusable delegation sets and you want to list all of
--   the hosted zones that are associated with a reusable delegation set,
--   specify the ID of that reusable delegation set.
lhzDelegationSetId :: Lens' ListHostedZones (Maybe ResourceId)

-- | (Optional) If you have more hosted zones than the value of
--   <tt>maxitems</tt> , <tt>ListHostedZones</tt> returns only the first
--   <tt>maxitems</tt> hosted zones. To get the next group of
--   <tt>maxitems</tt> hosted zones, submit another request to
--   <tt>ListHostedZones</tt> . For the value of marker, specify the value
--   of the <tt>NextMarker</tt> element that was returned in the previous
--   response. Hosted zones are listed in the order in which they were
--   created.
lhzMarker :: Lens' ListHostedZones (Maybe Text)

-- | (Optional) The maximum number of hosted zones to be included in the
--   response body for this request. If you have more than
--   <tt>maxitems</tt> hosted zones, the value of the <tt>IsTruncated</tt>
--   element in the response is <tt>true</tt> , and the value of the
--   <tt>NextMarker</tt> element is the hosted zone ID of the first hosted
--   zone in the next group of <tt>maxitems</tt> hosted zones.
lhzMaxItems :: Lens' ListHostedZones (Maybe Text)

-- | Creates a value of <a>ListHostedZonesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lhzrsMarker</a> - For the second and subsequent calls to
--   <tt>ListHostedZones</tt> , <tt>Marker</tt> is the value that you
--   specified for the marker parameter in the request that produced the
--   current response.</li>
--   <li><a>lhzrsNextMarker</a> - If <tt>IsTruncated</tt> is <tt>true</tt>
--   , the value of <tt>NextMarker</tt> identifies the first hosted zone in
--   the next group of <tt>maxitems</tt> hosted zones. Call
--   <tt>ListHostedZones</tt> again and specify the value of
--   <tt>NextMarker</tt> in the <tt>marker</tt> parameter. This element is
--   present only if <tt>IsTruncated</tt> is <tt>true</tt> .</li>
--   <li><a>lhzrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lhzrsHostedZones</a> - A complex type that contains general
--   information about the hosted zone.</li>
--   <li><a>lhzrsIsTruncated</a> - A flag indicating whether there are more
--   hosted zones to be listed. If the response was truncated, you can get
--   the next group of <tt>maxitems</tt> hosted zones by calling
--   <tt>ListHostedZones</tt> again and specifying the value of the
--   <tt>NextMarker</tt> element in the marker parameter.</li>
--   <li><a>lhzrsMaxItems</a> - The value that you specified for the
--   <tt>maxitems</tt> parameter in the call to <tt>ListHostedZones</tt>
--   that produced the current response.</li>
--   </ul>
listHostedZonesResponse :: Int -> Bool -> Text -> ListHostedZonesResponse

-- | <i>See:</i> <a>listHostedZonesResponse</a> smart constructor.
data ListHostedZonesResponse

-- | For the second and subsequent calls to <tt>ListHostedZones</tt> ,
--   <tt>Marker</tt> is the value that you specified for the marker
--   parameter in the request that produced the current response.
lhzrsMarker :: Lens' ListHostedZonesResponse (Maybe Text)

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , the value of
--   <tt>NextMarker</tt> identifies the first hosted zone in the next group
--   of <tt>maxitems</tt> hosted zones. Call <tt>ListHostedZones</tt> again
--   and specify the value of <tt>NextMarker</tt> in the <tt>marker</tt>
--   parameter. This element is present only if <tt>IsTruncated</tt> is
--   <tt>true</tt> .
lhzrsNextMarker :: Lens' ListHostedZonesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lhzrsResponseStatus :: Lens' ListHostedZonesResponse Int

-- | A complex type that contains general information about the hosted
--   zone.
lhzrsHostedZones :: Lens' ListHostedZonesResponse [HostedZone]

-- | A flag indicating whether there are more hosted zones to be listed. If
--   the response was truncated, you can get the next group of
--   <tt>maxitems</tt> hosted zones by calling <tt>ListHostedZones</tt>
--   again and specifying the value of the <tt>NextMarker</tt> element in
--   the marker parameter.
lhzrsIsTruncated :: Lens' ListHostedZonesResponse Bool

-- | The value that you specified for the <tt>maxitems</tt> parameter in
--   the call to <tt>ListHostedZones</tt> that produced the current
--   response.
lhzrsMaxItems :: Lens' ListHostedZonesResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListHostedZones.ListHostedZonesResponse
instance Data.Data.Data Network.AWS.Route53.ListHostedZones.ListHostedZonesResponse
instance GHC.Show.Show Network.AWS.Route53.ListHostedZones.ListHostedZonesResponse
instance GHC.Read.Read Network.AWS.Route53.ListHostedZones.ListHostedZonesResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListHostedZones.ListHostedZonesResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Data.Data.Data Network.AWS.Route53.ListHostedZones.ListHostedZones
instance GHC.Show.Show Network.AWS.Route53.ListHostedZones.ListHostedZones
instance GHC.Read.Read Network.AWS.Route53.ListHostedZones.ListHostedZones
instance GHC.Classes.Eq Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Network.AWS.Pager.AWSPager Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Control.DeepSeq.NFData Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Control.DeepSeq.NFData Network.AWS.Route53.ListHostedZones.ListHostedZonesResponse


-- | Retrieves a list of your hosted zones in lexicographic order. Send a
--   <tt>GET</tt> request to the
--   <tt><i>2013-04-01</i>hostedzonesbyname</tt> resource. The response
--   includes a <tt>HostedZones</tt> child element for each hosted zone
--   created by the current AWS account.
--   
--   <tt>ListHostedZonesByName</tt> sorts hosted zones by name with the
--   labels reversed. For example:
--   
--   <ul>
--   <li><pre>com.example.www.</pre></li>
--   </ul>
--   
--   Note the trailing dot, which can change the sort order in some
--   circumstances.
--   
--   If the domain name includes escape characters or Punycode,
--   <tt>ListHostedZonesByName</tt> alphabetizes the domain name using the
--   escaped or Punycoded value, which is the format that Amazon Route 53
--   saves in its database. For example, to create a hosted zone for
--   example.com, specify ex344mple.com for the domain name.
--   <tt>ListHostedZonesByName</tt> alphabetizes it as:
--   
--   <ul>
--   <li><pre>com.ex344mple.</pre></li>
--   </ul>
--   
--   The labels are reversed and alphabetized using the escaped value. For
--   more information about valid domain name formats, including
--   internationalized domain names, see <a>DNS Domain Name Format</a> in
--   the Amazon Route 53 Developer Guide.
--   
--   Amazon Route 53 returns up to 100 items in each response. If you have
--   a lot of hosted zones, use the <tt>MaxItems</tt> parameter to list
--   them in groups of up to 100. The response includes values that help
--   navigate from one group of <tt>MaxItems</tt> hosted zones to the next:
--   
--   <ul>
--   <li>The <tt>DNSName</tt> and <tt>HostedZoneId</tt> elements in the
--   response contain the values, if any, specified for the
--   <tt>dnsname</tt> and <tt>hostedzoneid</tt> parameters in the request
--   that produced the current response.</li>
--   <li>The <tt>MaxItems</tt> element in the response contains the value,
--   if any, that you specified for the <tt>maxitems</tt> parameter in the
--   request that produced the current response.</li>
--   <li>If the value of <tt>IsTruncated</tt> in the response is true,
--   there are more hosted zones associated with the current AWS
--   account.</li>
--   </ul>
--   
--   If <tt>IsTruncated</tt> is false, this response includes the last
--   hosted zone that is associated with the current account. The
--   <tt>NextDNSName</tt> element and <tt>NextHostedZoneId</tt> elements
--   are omitted from the response.
--   
--   <ul>
--   <li>The <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> elements in
--   the response contain the domain name and the hosted zone ID of the
--   next hosted zone that is associated with the current AWS account. If
--   you want to list more hosted zones, make another call to
--   <tt>ListHostedZonesByName</tt> , and specify the value of
--   <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> in the
--   <tt>dnsname</tt> and <tt>hostedzoneid</tt> parameters,
--   respectively.</li>
--   </ul>
module Network.AWS.Route53.ListHostedZonesByName

-- | Creates a value of <a>ListHostedZonesByName</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lhzbnHostedZoneId</a> - (Optional) For your first request to
--   <tt>ListHostedZonesByName</tt> , do not include the
--   <tt>hostedzoneid</tt> parameter. If you have more hosted zones than
--   the value of <tt>maxitems</tt> , <tt>ListHostedZonesByName</tt>
--   returns only the first <tt>maxitems</tt> hosted zones. To get the next
--   group of <tt>maxitems</tt> hosted zones, submit another request to
--   <tt>ListHostedZonesByName</tt> and include both <tt>dnsname</tt> and
--   <tt>hostedzoneid</tt> parameters. For the value of
--   <tt>hostedzoneid</tt> , specify the value of the
--   <tt>NextHostedZoneId</tt> element from the previous response.</li>
--   <li><a>lhzbnMaxItems</a> - The maximum number of hosted zones to be
--   included in the response body for this request. If you have more than
--   <tt>maxitems</tt> hosted zones, then the value of the
--   <tt>IsTruncated</tt> element in the response is true, and the values
--   of <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> specify the
--   first hosted zone in the next group of <tt>maxitems</tt> hosted
--   zones.</li>
--   <li><a>lhzbnDNSName</a> - (Optional) For your first request to
--   <tt>ListHostedZonesByName</tt> , include the <tt>dnsname</tt>
--   parameter only if you want to specify the name of the first hosted
--   zone in the response. If you don't include the <tt>dnsname</tt>
--   parameter, Amazon Route 53 returns all of the hosted zones that were
--   created by the current AWS account, in ASCII order. For subsequent
--   requests, include both <tt>dnsname</tt> and <tt>hostedzoneid</tt>
--   parameters. For <tt>dnsname</tt> , specify the value of
--   <tt>NextDNSName</tt> from the previous response.</li>
--   </ul>
listHostedZonesByName :: ListHostedZonesByName

-- | To retrieve a list of your public and private hosted zones in ASCII
--   order by domain name, send a <tt>GET</tt> request to the
--   <tt>/<i>Amazon Route 53 API version</i> /hostedzonesbyname</tt>
--   resource. The response to this request includes a <tt>HostedZone</tt>
--   child element for each hosted zone that was created by the current AWS
--   account. <tt>ListHostedZonesByName</tt> sorts hosted zones by name
--   with the labels reversed, for example:
--   
--   <pre>
--   com.example.www.
--   </pre>
--   
--   Note the trailing dot, which can change the sort order in some
--   circumstances.
--   
--   If the domain name includes escape characters or Punycode,
--   <tt>ListHostedZonesByName</tt> alphabetizes the domain name using the
--   escaped or Punycoded value, which is the format that Amazon Route 53
--   saves in its database. For example, to create a hosted zone for
--   exämple.com, you specify <tt>ex344mple.com</tt> for the domain name.
--   <tt>ListHostedZonesByName</tt> alphabetizes it as:
--   <tt>com.ex344mple</tt> . The labels are reversed, and it's
--   alphabetized using the escaped value. For more information about valid
--   domain name formats, including internationalized domain names, see
--   <a>DNS Domain Name Format</a> in the <i>Amazon Route 53 Developer
--   Guide</i> .
--   
--   Amazon Route 53 returns up to 100 items in each response. If you have
--   a lot of hosted zones, you can use the <tt>MaxItems</tt> parameter to
--   list them in groups of up to 100. The response includes values that
--   help you navigate from one group of <tt>MaxItems</tt> hosted zones to
--   the next:
--   
--   <ul>
--   <li>The <tt>DNSName</tt> and <tt>HostedZoneId</tt> elements in the
--   response contain the values, if any, that you specified for the
--   <tt>dnsname</tt> and <tt>hostedzoneid</tt> parameters in the request
--   that produced the current response.</li>
--   <li>The <tt>MaxItems</tt> element in the response contains the value,
--   if any, that you specified for the <tt>maxitems</tt> parameter in the
--   request that produced the current response.</li>
--   <li>If the value of <tt>IsTruncated</tt> in the response is true,
--   there are more hosted zones associated with the current Amazon Route
--   53 account.</li>
--   </ul>
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , this response includes the
--   last hosted zone that is associated with the current account. The
--   <tt>NextDNSName</tt> element and <tt>NextHostedZoneId</tt> elements
--   are omitted from the response.
--   
--   <ul>
--   <li>The <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> elements in
--   the response contain the domain name and the hosted zone ID of the
--   next hosted zone that is associated with the current AWS account. If
--   you want to list more hosted zones, make another call to
--   <tt>ListHostedZonesByName</tt> , and specify the value of
--   <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> in the
--   <tt>dnsname</tt> and <tt>hostedzoneid</tt> parameters,
--   respectively.</li>
--   </ul>
--   
--   <i>See:</i> <a>listHostedZonesByName</a> smart constructor.
data ListHostedZonesByName

-- | (Optional) For your first request to <tt>ListHostedZonesByName</tt> ,
--   do not include the <tt>hostedzoneid</tt> parameter. If you have more
--   hosted zones than the value of <tt>maxitems</tt> ,
--   <tt>ListHostedZonesByName</tt> returns only the first
--   <tt>maxitems</tt> hosted zones. To get the next group of
--   <tt>maxitems</tt> hosted zones, submit another request to
--   <tt>ListHostedZonesByName</tt> and include both <tt>dnsname</tt> and
--   <tt>hostedzoneid</tt> parameters. For the value of
--   <tt>hostedzoneid</tt> , specify the value of the
--   <tt>NextHostedZoneId</tt> element from the previous response.
lhzbnHostedZoneId :: Lens' ListHostedZonesByName (Maybe ResourceId)

-- | The maximum number of hosted zones to be included in the response body
--   for this request. If you have more than <tt>maxitems</tt> hosted
--   zones, then the value of the <tt>IsTruncated</tt> element in the
--   response is true, and the values of <tt>NextDNSName</tt> and
--   <tt>NextHostedZoneId</tt> specify the first hosted zone in the next
--   group of <tt>maxitems</tt> hosted zones.
lhzbnMaxItems :: Lens' ListHostedZonesByName (Maybe Text)

-- | (Optional) For your first request to <tt>ListHostedZonesByName</tt> ,
--   include the <tt>dnsname</tt> parameter only if you want to specify the
--   name of the first hosted zone in the response. If you don't include
--   the <tt>dnsname</tt> parameter, Amazon Route 53 returns all of the
--   hosted zones that were created by the current AWS account, in ASCII
--   order. For subsequent requests, include both <tt>dnsname</tt> and
--   <tt>hostedzoneid</tt> parameters. For <tt>dnsname</tt> , specify the
--   value of <tt>NextDNSName</tt> from the previous response.
lhzbnDNSName :: Lens' ListHostedZonesByName (Maybe Text)

-- | Creates a value of <a>ListHostedZonesByNameResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lhzbnrsHostedZoneId</a> - The ID that Amazon Route 53 assigned
--   to the hosted zone when you created it.</li>
--   <li><a>lhzbnrsNextHostedZoneId</a> - If <tt>IsTruncated</tt> is
--   <tt>true</tt> , the value of <tt>NextHostedZoneId</tt> identifies the
--   first hosted zone in the next group of <tt>maxitems</tt> hosted zones.
--   Call <tt>ListHostedZonesByName</tt> again and specify the value of
--   <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> in the
--   <tt>dnsname</tt> and <tt>hostedzoneid</tt> parameters, respectively.
--   This element is present only if <tt>IsTruncated</tt> is <tt>true</tt>
--   .</li>
--   <li><a>lhzbnrsDNSName</a> - For the second and subsequent calls to
--   <tt>ListHostedZonesByName</tt> , <tt>DNSName</tt> is the value that
--   you specified for the <tt>dnsname</tt> parameter in the request that
--   produced the current response.</li>
--   <li><a>lhzbnrsNextDNSName</a> - If <tt>IsTruncated</tt> is true, the
--   value of <tt>NextDNSName</tt> is the name of the first hosted zone in
--   the next group of <tt>maxitems</tt> hosted zones. Call
--   <tt>ListHostedZonesByName</tt> again and specify the value of
--   <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> in the
--   <tt>dnsname</tt> and <tt>hostedzoneid</tt> parameters, respectively.
--   This element is present only if <tt>IsTruncated</tt> is <tt>true</tt>
--   .</li>
--   <li><a>lhzbnrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lhzbnrsHostedZones</a> - A complex type that contains general
--   information about the hosted zone.</li>
--   <li><a>lhzbnrsIsTruncated</a> - A flag that indicates whether there
--   are more hosted zones to be listed. If the response was truncated, you
--   can get the next group of <tt>maxitems</tt> hosted zones by calling
--   <tt>ListHostedZonesByName</tt> again and specifying the values of
--   <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> elements in the
--   <tt>dnsname</tt> and <tt>hostedzoneid</tt> parameters.</li>
--   <li><a>lhzbnrsMaxItems</a> - The value that you specified for the
--   <tt>maxitems</tt> parameter in the call to
--   <tt>ListHostedZonesByName</tt> that produced the current
--   response.</li>
--   </ul>
listHostedZonesByNameResponse :: Int -> Bool -> Text -> ListHostedZonesByNameResponse

-- | A complex type that contains the response information for the request.
--   
--   <i>See:</i> <a>listHostedZonesByNameResponse</a> smart constructor.
data ListHostedZonesByNameResponse

-- | The ID that Amazon Route 53 assigned to the hosted zone when you
--   created it.
lhzbnrsHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe ResourceId)

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , the value of
--   <tt>NextHostedZoneId</tt> identifies the first hosted zone in the next
--   group of <tt>maxitems</tt> hosted zones. Call
--   <tt>ListHostedZonesByName</tt> again and specify the value of
--   <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> in the
--   <tt>dnsname</tt> and <tt>hostedzoneid</tt> parameters, respectively.
--   This element is present only if <tt>IsTruncated</tt> is <tt>true</tt>
--   .
lhzbnrsNextHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe ResourceId)

-- | For the second and subsequent calls to <tt>ListHostedZonesByName</tt>
--   , <tt>DNSName</tt> is the value that you specified for the
--   <tt>dnsname</tt> parameter in the request that produced the current
--   response.
lhzbnrsDNSName :: Lens' ListHostedZonesByNameResponse (Maybe Text)

-- | If <tt>IsTruncated</tt> is true, the value of <tt>NextDNSName</tt> is
--   the name of the first hosted zone in the next group of
--   <tt>maxitems</tt> hosted zones. Call <tt>ListHostedZonesByName</tt>
--   again and specify the value of <tt>NextDNSName</tt> and
--   <tt>NextHostedZoneId</tt> in the <tt>dnsname</tt> and
--   <tt>hostedzoneid</tt> parameters, respectively. This element is
--   present only if <tt>IsTruncated</tt> is <tt>true</tt> .
lhzbnrsNextDNSName :: Lens' ListHostedZonesByNameResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lhzbnrsResponseStatus :: Lens' ListHostedZonesByNameResponse Int

-- | A complex type that contains general information about the hosted
--   zone.
lhzbnrsHostedZones :: Lens' ListHostedZonesByNameResponse [HostedZone]

-- | A flag that indicates whether there are more hosted zones to be
--   listed. If the response was truncated, you can get the next group of
--   <tt>maxitems</tt> hosted zones by calling
--   <tt>ListHostedZonesByName</tt> again and specifying the values of
--   <tt>NextDNSName</tt> and <tt>NextHostedZoneId</tt> elements in the
--   <tt>dnsname</tt> and <tt>hostedzoneid</tt> parameters.
lhzbnrsIsTruncated :: Lens' ListHostedZonesByNameResponse Bool

-- | The value that you specified for the <tt>maxitems</tt> parameter in
--   the call to <tt>ListHostedZonesByName</tt> that produced the current
--   response.
lhzbnrsMaxItems :: Lens' ListHostedZonesByNameResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByNameResponse
instance Data.Data.Data Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByNameResponse
instance GHC.Show.Show Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByNameResponse
instance GHC.Read.Read Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByNameResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByNameResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance Data.Data.Data Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance GHC.Show.Show Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance GHC.Read.Read Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance GHC.Classes.Eq Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance Control.DeepSeq.NFData Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByName
instance Control.DeepSeq.NFData Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByNameResponse


-- | Lists the resource record sets in a specified hosted zone.
--   
--   <tt>ListResourceRecordSets</tt> returns up to 100 resource record sets
--   at a time in ASCII order, beginning at a position specified by the
--   <tt>name</tt> and <tt>type</tt> elements. The action sorts results
--   first by DNS name with the labels reversed, for example:
--   
--   <pre>
--   com.example.www.
--   </pre>
--   
--   Note the trailing dot, which can change the sort order in some
--   circumstances.
--   
--   When multiple records have the same DNS name, the action sorts results
--   by the record type.
--   
--   You can use the name and type elements to adjust the beginning
--   position of the list of resource record sets returned:
--   
--   <ul>
--   <li>If you do not specify Name or Type * The results begin with the
--   first resource record set that the hosted zone contains.</li>
--   <li>If you specify Name but not Type * The results begin with the
--   first resource record set in the list whose name is greater than or
--   equal to <tt>Name</tt> .</li>
--   <li>If you specify Type but not Name * Amazon Route 53 returns the
--   <tt>InvalidInput</tt> error.</li>
--   <li>If you specify both Name and Type * The results begin with the
--   first resource record set in the list whose name is greater than or
--   equal to <tt>Name</tt> , and whose type is greater than or equal to
--   <tt>Type</tt> .</li>
--   </ul>
--   
--   This action returns the most current version of the records. This
--   includes records that are <tt>PENDING</tt> , and that are not yet
--   available on all Amazon Route 53 DNS servers.
--   
--   To ensure that you get an accurate listing of the resource record sets
--   for a hosted zone at a point in time, do not submit a
--   <tt>ChangeResourceRecordSets</tt> request while you're paging through
--   the results of a <tt>ListResourceRecordSets</tt> request. If you do,
--   some pages may display results without the latest changes while other
--   pages display results with the latest changes.
--   
--   This operation returns paginated results.
module Network.AWS.Route53.ListResourceRecordSets

-- | Creates a value of <a>ListResourceRecordSets</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrrsStartRecordName</a> - The first name in the lexicographic
--   ordering of domain names that you want the
--   <tt>ListResourceRecordSets</tt> request to list.</li>
--   <li><a>lrrsStartRecordType</a> - The type of resource record set to
--   begin the record listing from. Valid values for basic resource record
--   sets: <tt>A</tt> | <tt>AAAA</tt> | <tt>CNAME</tt> | <tt>MX</tt> |
--   <tt>NAPTR</tt> | <tt>NS</tt> | <tt>PTR</tt> | <tt>SOA</tt> |
--   <tt>SPF</tt> | <tt>SRV</tt> | <tt>TXT</tt> Values for weighted,
--   latency, geo, and failover resource record sets: <tt>A</tt> |
--   <tt>AAAA</tt> | <tt>CNAME</tt> | <tt>MX</tt> | <tt>NAPTR</tt> |
--   <tt>PTR</tt> | <tt>SPF</tt> | <tt>SRV</tt> | <tt>TXT</tt> Values for
--   alias resource record sets: * <b>CloudFront distribution</b> : A or
--   AAAA * <b>Elastic Beanstalk environment that has a regionalized
--   subdomain</b> : A * <b>ELB load balancer</b> : A | AAAA * <b>Amazon S3
--   bucket</b> : A Constraint: Specifying <tt>type</tt> without specifying
--   <tt>name</tt> returns an <tt>InvalidInput</tt> error.</li>
--   <li><a>lrrsStartRecordIdentifier</a> - <i>Weighted resource record
--   sets only:</i> If results were truncated for a given DNS name and
--   type, specify the value of <tt>NextRecordIdentifier</tt> from the
--   previous response to get the next resource record set that has the
--   current DNS name and type.</li>
--   <li><a>lrrsMaxItems</a> - (Optional) The maximum number of resource
--   records sets to include in the response body for this request. If the
--   response includes more than <tt>maxitems</tt> resource record sets,
--   the value of the <tt>IsTruncated</tt> element in the response is
--   <tt>true</tt> , and the values of the <tt>NextRecordName</tt> and
--   <tt>NextRecordType</tt> elements in the response identify the first
--   resource record set in the next group of <tt>maxitems</tt> resource
--   record sets.</li>
--   <li><a>lrrsHostedZoneId</a> - The ID of the hosted zone that contains
--   the resource record sets that you want to get.</li>
--   </ul>
listResourceRecordSets :: ResourceId -> ListResourceRecordSets

-- | The input for a ListResourceRecordSets request.
--   
--   <i>See:</i> <a>listResourceRecordSets</a> smart constructor.
data ListResourceRecordSets

-- | The first name in the lexicographic ordering of domain names that you
--   want the <tt>ListResourceRecordSets</tt> request to list.
lrrsStartRecordName :: Lens' ListResourceRecordSets (Maybe Text)

-- | The type of resource record set to begin the record listing from.
--   Valid values for basic resource record sets: <tt>A</tt> |
--   <tt>AAAA</tt> | <tt>CNAME</tt> | <tt>MX</tt> | <tt>NAPTR</tt> |
--   <tt>NS</tt> | <tt>PTR</tt> | <tt>SOA</tt> | <tt>SPF</tt> |
--   <tt>SRV</tt> | <tt>TXT</tt> Values for weighted, latency, geo, and
--   failover resource record sets: <tt>A</tt> | <tt>AAAA</tt> |
--   <tt>CNAME</tt> | <tt>MX</tt> | <tt>NAPTR</tt> | <tt>PTR</tt> |
--   <tt>SPF</tt> | <tt>SRV</tt> | <tt>TXT</tt> Values for alias resource
--   record sets: * <b>CloudFront distribution</b> : A or AAAA * <b>Elastic
--   Beanstalk environment that has a regionalized subdomain</b> : A *
--   <b>ELB load balancer</b> : A | AAAA * <b>Amazon S3 bucket</b> : A
--   Constraint: Specifying <tt>type</tt> without specifying <tt>name</tt>
--   returns an <tt>InvalidInput</tt> error.
lrrsStartRecordType :: Lens' ListResourceRecordSets (Maybe RecordType)

-- | <i>Weighted resource record sets only:</i> If results were truncated
--   for a given DNS name and type, specify the value of
--   <tt>NextRecordIdentifier</tt> from the previous response to get the
--   next resource record set that has the current DNS name and type.
lrrsStartRecordIdentifier :: Lens' ListResourceRecordSets (Maybe Text)

-- | (Optional) The maximum number of resource records sets to include in
--   the response body for this request. If the response includes more than
--   <tt>maxitems</tt> resource record sets, the value of the
--   <tt>IsTruncated</tt> element in the response is <tt>true</tt> , and
--   the values of the <tt>NextRecordName</tt> and <tt>NextRecordType</tt>
--   elements in the response identify the first resource record set in the
--   next group of <tt>maxitems</tt> resource record sets.
lrrsMaxItems :: Lens' ListResourceRecordSets (Maybe Text)

-- | The ID of the hosted zone that contains the resource record sets that
--   you want to get.
lrrsHostedZoneId :: Lens' ListResourceRecordSets ResourceId

-- | Creates a value of <a>ListResourceRecordSetsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrrsrsNextRecordType</a> - If the results were truncated, the
--   type of the next record in the list. This element is present only if
--   <tt>IsTruncated</tt> is true.</li>
--   <li><a>lrrsrsNextRecordName</a> - If the results were truncated, the
--   name of the next record in the list. This element is present only if
--   <tt>IsTruncated</tt> is true.</li>
--   <li><a>lrrsrsNextRecordIdentifier</a> - <i>Weighted, latency,
--   geolocation, and failover resource record sets only</i> : If results
--   were truncated for a given DNS name and type, the value of
--   <tt>SetIdentifier</tt> for the next resource record set that has the
--   current DNS name and type.</li>
--   <li><a>lrrsrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lrrsrsResourceRecordSets</a> - Information about multiple
--   resource record sets.</li>
--   <li><a>lrrsrsIsTruncated</a> - A flag that indicates whether more
--   resource record sets remain to be listed. If your results were
--   truncated, you can make a follow-up pagination request by using the
--   <tt>NextRecordName</tt> element.</li>
--   <li><a>lrrsrsMaxItems</a> - The maximum number of records you
--   requested.</li>
--   </ul>
listResourceRecordSetsResponse :: Int -> Bool -> Text -> ListResourceRecordSetsResponse

-- | A complex type that contains list information for the resource record
--   set.
--   
--   <i>See:</i> <a>listResourceRecordSetsResponse</a> smart constructor.
data ListResourceRecordSetsResponse

-- | If the results were truncated, the type of the next record in the
--   list. This element is present only if <tt>IsTruncated</tt> is true.
lrrsrsNextRecordType :: Lens' ListResourceRecordSetsResponse (Maybe RecordType)

-- | If the results were truncated, the name of the next record in the
--   list. This element is present only if <tt>IsTruncated</tt> is true.
lrrsrsNextRecordName :: Lens' ListResourceRecordSetsResponse (Maybe Text)

-- | <i>Weighted, latency, geolocation, and failover resource record sets
--   only</i> : If results were truncated for a given DNS name and type,
--   the value of <tt>SetIdentifier</tt> for the next resource record set
--   that has the current DNS name and type.
lrrsrsNextRecordIdentifier :: Lens' ListResourceRecordSetsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lrrsrsResponseStatus :: Lens' ListResourceRecordSetsResponse Int

-- | Information about multiple resource record sets.
lrrsrsResourceRecordSets :: Lens' ListResourceRecordSetsResponse [ResourceRecordSet]

-- | A flag that indicates whether more resource record sets remain to be
--   listed. If your results were truncated, you can make a follow-up
--   pagination request by using the <tt>NextRecordName</tt> element.
lrrsrsIsTruncated :: Lens' ListResourceRecordSetsResponse Bool

-- | The maximum number of records you requested.
lrrsrsMaxItems :: Lens' ListResourceRecordSetsResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSetsResponse
instance Data.Data.Data Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSetsResponse
instance GHC.Show.Show Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSetsResponse
instance GHC.Read.Read Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSetsResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSetsResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Data.Data.Data Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance GHC.Show.Show Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance GHC.Read.Read Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance GHC.Classes.Eq Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Network.AWS.Pager.AWSPager Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Control.DeepSeq.NFData Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Control.DeepSeq.NFData Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSetsResponse


-- | To retrieve a list of your reusable delegation sets, send a
--   <tt>GET</tt> request to the <tt><i>2013-04-01</i>delegationset</tt>
--   resource. The response to this request includes a
--   <tt>DelegationSets</tt> element with zero, one, or multiple
--   <tt>DelegationSet</tt> child elements. By default, the list of
--   delegation sets is displayed on a single page. You can control the
--   length of the page that is displayed by using the <tt>MaxItems</tt>
--   parameter. You can use the <tt>Marker</tt> parameter to control the
--   delegation set that the list begins with.
module Network.AWS.Route53.ListReusableDelegationSets

-- | Creates a value of <a>ListReusableDelegationSets</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrdsMarker</a> - If you're making the second or subsequent call
--   to <tt>ListReusableDelegationSets</tt> , the <tt>Marker</tt> element
--   matches the value that you specified in the <tt>marker</tt> parameter
--   in the previous request.</li>
--   <li><a>lrdsMaxItems</a> - The value that you specified for the
--   <tt>maxitems</tt> parameter in the request that produced the current
--   response.</li>
--   </ul>
listReusableDelegationSets :: ListReusableDelegationSets

-- | To retrieve a list of your reusable delegation sets, send a
--   <tt>GET</tt> request to the <tt><i>2013-04-01</i>delegationset</tt>
--   resource. The response to this request includes a
--   <tt>DelegationSets</tt> element with zero or more
--   <tt>DelegationSet</tt> child elements. By default, the list of
--   reusable delegation sets is displayed on a single page. You can
--   control the length of the page that is displayed by using the
--   <tt>MaxItems</tt> parameter. You can use the <tt>Marker</tt> parameter
--   to control the delegation set that the list begins with.
--   
--   <i>See:</i> <a>listReusableDelegationSets</a> smart constructor.
data ListReusableDelegationSets

-- | If you're making the second or subsequent call to
--   <tt>ListReusableDelegationSets</tt> , the <tt>Marker</tt> element
--   matches the value that you specified in the <tt>marker</tt> parameter
--   in the previous request.
lrdsMarker :: Lens' ListReusableDelegationSets (Maybe Text)

-- | The value that you specified for the <tt>maxitems</tt> parameter in
--   the request that produced the current response.
lrdsMaxItems :: Lens' ListReusableDelegationSets (Maybe Text)

-- | Creates a value of <a>ListReusableDelegationSetsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrdsrsNextMarker</a> - If <tt>IsTruncated</tt> is <tt>true</tt>
--   , the value of <tt>NextMarker</tt> identifies the first reusable
--   delegation set in the next group of <tt>maxitems</tt> reusable
--   delegation sets. Call <tt>ListReusableDelegationSets</tt> again and
--   specify the value of <tt>NextMarker</tt> in the <tt>marker</tt>
--   parameter.</li>
--   <li><a>lrdsrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lrdsrsDelegationSets</a> - A complex type that contains one
--   <tt>DelegationSet</tt> element for each reusable delegation set that
--   was created by the current AWS account.</li>
--   <li><a>lrdsrsMarker</a> - For the second and subsequent calls to
--   <tt>ListReusableDelegationSets</tt> , <tt>Marker</tt> is the value
--   that you specified for the marker parameter in the request that
--   produced the current response.</li>
--   <li><a>lrdsrsIsTruncated</a> - A flag that indicates whether there are
--   more reusable delegation sets to be listed. If the response is
--   truncated, you can get the next group of <tt>maxitems</tt> reusable
--   delegation sets by calling <tt>ListReusableDelegationSets</tt> again
--   and specifying the value of the <tt>NextMarker</tt> element in the
--   <tt>marker</tt> parameter.</li>
--   <li><a>lrdsrsMaxItems</a> - The value that you specified for the
--   <tt>maxitems</tt> parameter in the call to
--   <tt>ListReusableDelegationSets</tt> that produced the current
--   response.</li>
--   </ul>
listReusableDelegationSetsResponse :: Int -> Text -> Bool -> Text -> ListReusableDelegationSetsResponse

-- | A complex type that contains information about the reusable delegation
--   sets that are associated with the current AWS account.
--   
--   <i>See:</i> <a>listReusableDelegationSetsResponse</a> smart
--   constructor.
data ListReusableDelegationSetsResponse

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , the value of
--   <tt>NextMarker</tt> identifies the first reusable delegation set in
--   the next group of <tt>maxitems</tt> reusable delegation sets. Call
--   <tt>ListReusableDelegationSets</tt> again and specify the value of
--   <tt>NextMarker</tt> in the <tt>marker</tt> parameter.
lrdsrsNextMarker :: Lens' ListReusableDelegationSetsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lrdsrsResponseStatus :: Lens' ListReusableDelegationSetsResponse Int

-- | A complex type that contains one <tt>DelegationSet</tt> element for
--   each reusable delegation set that was created by the current AWS
--   account.
lrdsrsDelegationSets :: Lens' ListReusableDelegationSetsResponse [DelegationSet]

-- | For the second and subsequent calls to
--   <tt>ListReusableDelegationSets</tt> , <tt>Marker</tt> is the value
--   that you specified for the marker parameter in the request that
--   produced the current response.
lrdsrsMarker :: Lens' ListReusableDelegationSetsResponse Text

-- | A flag that indicates whether there are more reusable delegation sets
--   to be listed. If the response is truncated, you can get the next group
--   of <tt>maxitems</tt> reusable delegation sets by calling
--   <tt>ListReusableDelegationSets</tt> again and specifying the value of
--   the <tt>NextMarker</tt> element in the <tt>marker</tt> parameter.
lrdsrsIsTruncated :: Lens' ListReusableDelegationSetsResponse Bool

-- | The value that you specified for the <tt>maxitems</tt> parameter in
--   the call to <tt>ListReusableDelegationSets</tt> that produced the
--   current response.
lrdsrsMaxItems :: Lens' ListReusableDelegationSetsResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSetsResponse
instance Data.Data.Data Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSetsResponse
instance GHC.Show.Show Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSetsResponse
instance GHC.Read.Read Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSetsResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSetsResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance Data.Data.Data Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance GHC.Show.Show Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance GHC.Read.Read Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance GHC.Classes.Eq Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance Control.DeepSeq.NFData Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSets
instance Control.DeepSeq.NFData Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSetsResponse


-- | Lists tags for one health check or hosted zone.
--   
--   For information about using tags for cost allocation, see <a>Using
--   Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management
--   User Guide</i> .
module Network.AWS.Route53.ListTagsForResource

-- | Creates a value of <a>ListTagsForResource</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltfrResourceType</a> - The type of the resource. * The resource
--   type for health checks is <tt>healthcheck</tt> . * The resource type
--   for hosted zones is <tt>hostedzone</tt> .</li>
--   <li><a>ltfrResourceId</a> - The ID of the resource for which you want
--   to retrieve tags.</li>
--   </ul>
listTagsForResource :: TagResourceType -> Text -> ListTagsForResource

-- | A complex type containing information about a request for a list of
--   the tags that are associated with an individual resource.
--   
--   <i>See:</i> <a>listTagsForResource</a> smart constructor.
data ListTagsForResource

-- | The type of the resource. * The resource type for health checks is
--   <tt>healthcheck</tt> . * The resource type for hosted zones is
--   <tt>hostedzone</tt> .
ltfrResourceType :: Lens' ListTagsForResource TagResourceType

-- | The ID of the resource for which you want to retrieve tags.
ltfrResourceId :: Lens' ListTagsForResource Text

-- | Creates a value of <a>ListTagsForResourceResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltfrrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ltfrrsResourceTagSet</a> - A <tt>ResourceTagSet</tt> containing
--   tags associated with the specified resource.</li>
--   </ul>
listTagsForResourceResponse :: Int -> ResourceTagSet -> ListTagsForResourceResponse

-- | A complex type that contains information about the health checks or
--   hosted zones for which you want to list tags.
--   
--   <i>See:</i> <a>listTagsForResourceResponse</a> smart constructor.
data ListTagsForResourceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int

-- | A <tt>ResourceTagSet</tt> containing tags associated with the
--   specified resource.
ltfrrsResourceTagSet :: Lens' ListTagsForResourceResponse ResourceTagSet
instance GHC.Generics.Generic Network.AWS.Route53.ListTagsForResource.ListTagsForResourceResponse
instance Data.Data.Data Network.AWS.Route53.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Network.AWS.Route53.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Read.Read Network.AWS.Route53.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance Data.Data.Data Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTagsForResource.ListTagsForResourceResponse


-- | Lists tags for up to 10 health checks or hosted zones.
--   
--   For information about using tags for cost allocation, see <a>Using
--   Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management
--   User Guide</i> .
module Network.AWS.Route53.ListTagsForResources

-- | Creates a value of <a>ListTagsForResources</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lResourceType</a> - The type of the resources. * The resource
--   type for health checks is <tt>healthcheck</tt> . * The resource type
--   for hosted zones is <tt>hostedzone</tt> .</li>
--   <li><a>lResourceIds</a> - A complex type that contains the ResourceId
--   element for each resource for which you want to get a list of
--   tags.</li>
--   </ul>
listTagsForResources :: TagResourceType -> NonEmpty Text -> ListTagsForResources

-- | A complex type that contains information about the health checks or
--   hosted zones for which you want to list tags.
--   
--   <i>See:</i> <a>listTagsForResources</a> smart constructor.
data ListTagsForResources

-- | The type of the resources. * The resource type for health checks is
--   <tt>healthcheck</tt> . * The resource type for hosted zones is
--   <tt>hostedzone</tt> .
lResourceType :: Lens' ListTagsForResources TagResourceType

-- | A complex type that contains the ResourceId element for each resource
--   for which you want to get a list of tags.
lResourceIds :: Lens' ListTagsForResources (NonEmpty Text)

-- | Creates a value of <a>ListTagsForResourcesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lrsResourceTagSets</a> - A list of <tt>ResourceTagSet</tt> s
--   containing tags associated with the specified resources.</li>
--   </ul>
listTagsForResourcesResponse :: Int -> ListTagsForResourcesResponse

-- | A complex type containing tags for the specified resources.
--   
--   <i>See:</i> <a>listTagsForResourcesResponse</a> smart constructor.
data ListTagsForResourcesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lrsResponseStatus :: Lens' ListTagsForResourcesResponse Int

-- | A list of <tt>ResourceTagSet</tt> s containing tags associated with
--   the specified resources.
lrsResourceTagSets :: Lens' ListTagsForResourcesResponse [ResourceTagSet]
instance GHC.Generics.Generic Network.AWS.Route53.ListTagsForResources.ListTagsForResourcesResponse
instance Data.Data.Data Network.AWS.Route53.ListTagsForResources.ListTagsForResourcesResponse
instance GHC.Show.Show Network.AWS.Route53.ListTagsForResources.ListTagsForResourcesResponse
instance GHC.Read.Read Network.AWS.Route53.ListTagsForResources.ListTagsForResourcesResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListTagsForResources.ListTagsForResourcesResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Data.Data.Data Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance GHC.Show.Show Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance GHC.Read.Read Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance GHC.Classes.Eq Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.ListTagsForResources.ListTagsForResources
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTagsForResources.ListTagsForResourcesResponse


-- | Gets information about the latest version for every traffic policy
--   that is associated with the current AWS account. Send a <tt>GET</tt>
--   request to the <tt>/<i>Amazon Route 53 API version</i>
--   /trafficpolicy</tt> resource.
--   
--   Amazon Route 53 returns a maximum of 100 items in each response. If
--   you have a lot of traffic policies, you can use the <tt>maxitems</tt>
--   parameter to list them in groups of up to 100.
--   
--   The response includes three values that help you navigate from one
--   group of <tt>maxitems</tt> traffic policies to the next:
--   
--   <ul>
--   <li><b>IsTruncated</b></li>
--   </ul>
--   
--   If the value of <tt>IsTruncated</tt> in the response is <tt>true</tt>
--   , there are more traffic policies associated with the current AWS
--   account.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , this response includes the
--   last traffic policy that is associated with the current account.
--   
--   <ul>
--   <li><b>TrafficPolicyIdMarker</b></li>
--   </ul>
--   
--   If <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyIdMarker</tt> is the ID of the first traffic policy
--   in the next group of <tt>MaxItems</tt> traffic policies. If you want
--   to list more traffic policies, make another call to
--   <tt>ListTrafficPolicies</tt> , and specify the value of the
--   <tt>TrafficPolicyIdMarker</tt> element from the response in the
--   <tt>TrafficPolicyIdMarker</tt> request parameter.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , the
--   <tt>TrafficPolicyIdMarker</tt> element is omitted from the response.
--   
--   <ul>
--   <li><b>MaxItems</b></li>
--   </ul>
--   
--   The value that you specified for the <tt>MaxItems</tt> parameter in
--   the request that produced the current response.
module Network.AWS.Route53.ListTrafficPolicies

-- | Creates a value of <a>ListTrafficPolicies</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltpTrafficPolicyIdMarker</a> - (Conditional) For your first
--   request to <tt>ListTrafficPolicies</tt> , do not include the
--   <tt>TrafficPolicyIdMarker</tt> parameter. If you have more traffic
--   policies than the value of <tt>MaxItems</tt> ,
--   <tt>ListTrafficPolicies</tt> returns only the first <tt>MaxItems</tt>
--   traffic policies. To get the next group of <tt>MaxItems</tt> policies,
--   submit another request to <tt>ListTrafficPolicies</tt> . For the value
--   of <tt>TrafficPolicyIdMarker</tt> , specify the value of the
--   <tt>TrafficPolicyIdMarker</tt> element that was returned in the
--   previous response. Policies are listed in the order in which they were
--   created.</li>
--   <li><a>ltpMaxItems</a> - (Optional) The maximum number of traffic
--   policies to be included in the response body for this request. If you
--   have more than <tt>MaxItems</tt> traffic policies, the value of the
--   <tt>IsTruncated</tt> element in the response is <tt>true</tt> , and
--   the value of the <tt>TrafficPolicyIdMarker</tt> element is the ID of
--   the first traffic policy in the next group of <tt>MaxItems</tt>
--   traffic policies.</li>
--   </ul>
listTrafficPolicies :: ListTrafficPolicies

-- | A complex type that contains the information about the request to list
--   the traffic policies that are associated with the current AWS account.
--   
--   <i>See:</i> <a>listTrafficPolicies</a> smart constructor.
data ListTrafficPolicies

-- | (Conditional) For your first request to <tt>ListTrafficPolicies</tt> ,
--   do not include the <tt>TrafficPolicyIdMarker</tt> parameter. If you
--   have more traffic policies than the value of <tt>MaxItems</tt> ,
--   <tt>ListTrafficPolicies</tt> returns only the first <tt>MaxItems</tt>
--   traffic policies. To get the next group of <tt>MaxItems</tt> policies,
--   submit another request to <tt>ListTrafficPolicies</tt> . For the value
--   of <tt>TrafficPolicyIdMarker</tt> , specify the value of the
--   <tt>TrafficPolicyIdMarker</tt> element that was returned in the
--   previous response. Policies are listed in the order in which they were
--   created.
ltpTrafficPolicyIdMarker :: Lens' ListTrafficPolicies (Maybe Text)

-- | (Optional) The maximum number of traffic policies to be included in
--   the response body for this request. If you have more than
--   <tt>MaxItems</tt> traffic policies, the value of the
--   <tt>IsTruncated</tt> element in the response is <tt>true</tt> , and
--   the value of the <tt>TrafficPolicyIdMarker</tt> element is the ID of
--   the first traffic policy in the next group of <tt>MaxItems</tt>
--   traffic policies.
ltpMaxItems :: Lens' ListTrafficPolicies (Maybe Text)

-- | Creates a value of <a>ListTrafficPoliciesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltprsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ltprsTrafficPolicySummaries</a> - A list that contains one
--   <tt>TrafficPolicySummary</tt> element for each traffic policy that was
--   created by the current AWS account.</li>
--   <li><a>ltprsIsTruncated</a> - A flag that indicates whether there are
--   more traffic policies to be listed. If the response was truncated, you
--   can get the next group of <tt>MaxItems</tt> traffic policies by
--   calling <tt>ListTrafficPolicies</tt> again and specifying the value of
--   the <tt>TrafficPolicyIdMarker</tt> element in the
--   <tt>TrafficPolicyIdMarker</tt> request parameter. Valid Values:
--   <tt>true</tt> | <tt>false</tt></li>
--   <li><a>ltprsTrafficPolicyIdMarker</a> - If the value of
--   <tt>IsTruncated</tt> is <tt>true</tt> , <tt>TrafficPolicyIdMarker</tt>
--   is the ID of the first traffic policy in the next group of
--   <tt>MaxItems</tt> traffic policies.</li>
--   <li><a>ltprsMaxItems</a> - The value that you specified for the
--   <tt>MaxItems</tt> parameter in the call to
--   <tt>ListTrafficPolicies</tt> that produced the current response.</li>
--   </ul>
listTrafficPoliciesResponse :: Int -> Bool -> Text -> Text -> ListTrafficPoliciesResponse

-- | A complex type that contains the response information for the request.
--   
--   <i>See:</i> <a>listTrafficPoliciesResponse</a> smart constructor.
data ListTrafficPoliciesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ltprsResponseStatus :: Lens' ListTrafficPoliciesResponse Int

-- | A list that contains one <tt>TrafficPolicySummary</tt> element for
--   each traffic policy that was created by the current AWS account.
ltprsTrafficPolicySummaries :: Lens' ListTrafficPoliciesResponse [TrafficPolicySummary]

-- | A flag that indicates whether there are more traffic policies to be
--   listed. If the response was truncated, you can get the next group of
--   <tt>MaxItems</tt> traffic policies by calling
--   <tt>ListTrafficPolicies</tt> again and specifying the value of the
--   <tt>TrafficPolicyIdMarker</tt> element in the
--   <tt>TrafficPolicyIdMarker</tt> request parameter. Valid Values:
--   <tt>true</tt> | <tt>false</tt>
ltprsIsTruncated :: Lens' ListTrafficPoliciesResponse Bool

-- | If the value of <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyIdMarker</tt> is the ID of the first traffic policy
--   in the next group of <tt>MaxItems</tt> traffic policies.
ltprsTrafficPolicyIdMarker :: Lens' ListTrafficPoliciesResponse Text

-- | The value that you specified for the <tt>MaxItems</tt> parameter in
--   the call to <tt>ListTrafficPolicies</tt> that produced the current
--   response.
ltprsMaxItems :: Lens' ListTrafficPoliciesResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicies.ListTrafficPoliciesResponse
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicies.ListTrafficPoliciesResponse
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicies.ListTrafficPoliciesResponse
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicies.ListTrafficPoliciesResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicies.ListTrafficPoliciesResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListTrafficPolicies.ListTrafficPolicies
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicies.ListTrafficPoliciesResponse


-- | Gets information about the traffic policy instances that you created
--   by using the current AWS account.
--   
--   Send a <tt>GET</tt> request to the <tt>/<i>Amazon Route 53 API
--   version</i> /trafficpolicyinstance</tt> resource.
--   
--   Amazon Route 53 returns a maximum of 100 items in each response. If
--   you have a lot of traffic policy instances, you can use the
--   <tt>MaxItems</tt> parameter to list them in groups of up to 100.
--   
--   The response includes five values that help you navigate from one
--   group of <tt>MaxItems</tt> traffic policy instances to the next:
--   
--   <ul>
--   <li><b>IsTruncated</b></li>
--   </ul>
--   
--   If the value of <tt>IsTruncated</tt> in the response is <tt>true</tt>
--   , there are more traffic policy instances associated with the current
--   AWS account.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , this response includes the
--   last traffic policy instance that is associated with the current
--   account.
--   
--   <ul>
--   <li><b>MaxItems</b></li>
--   </ul>
--   
--   The value that you specified for the <tt>MaxItems</tt> parameter in
--   the request that produced the current response.
--   
--   <ul>
--   <li><b>HostedZoneIdMarker</b> , <b>TrafficPolicyInstanceNameMarker</b>
--   , and <b>TrafficPolicyInstanceTypeMarker</b></li>
--   </ul>
--   
--   If <tt>IsTruncated</tt> is <tt>true</tt> , these three values in the
--   response represent the first traffic policy instance in the next group
--   of <tt>MaxItems</tt> traffic policy instances. To list more traffic
--   policy instances, make another call to
--   <tt>ListTrafficPolicyInstances</tt> , and specify these values in the
--   corresponding request parameters.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , all three elements are
--   omitted from the response.
module Network.AWS.Route53.ListTrafficPolicyInstances

-- | Creates a value of <a>ListTrafficPolicyInstances</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltpiTrafficPolicyInstanceTypeMarker</a> - For the first request
--   to <tt>ListTrafficPolicyInstances</tt> , omit this value. If the value
--   of <tt>IsTruncated</tt> in the previous response was <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceTypeMarker</tt> is the DNS type of the first
--   traffic policy instance in the next group of <tt>MaxItems</tt> traffic
--   policy instances. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>false</tt> , there are no more traffic policy
--   instances to get.</li>
--   <li><a>ltpiMaxItems</a> - The maximum number of traffic policy
--   instances to be included in the response body for this request. If you
--   have more than <tt>MaxItems</tt> traffic policy instances, the value
--   of the <tt>IsTruncated</tt> element in the response is <tt>true</tt> ,
--   and the values of <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> represent the first traffic
--   policy instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.</li>
--   <li><a>ltpiHostedZoneIdMarker</a> - For the first request to
--   <tt>ListTrafficPolicyInstances</tt> , omit this value. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>true</tt> , you
--   have more traffic policy instances. To get the next group of
--   <tt>MaxItems</tt> traffic policy instances, submit another
--   <tt>ListTrafficPolicyInstances</tt> request. For the value of
--   <tt>HostedZoneIdMarker</tt> , specify the value of
--   <tt>HostedZoneIdMarker</tt> from the previous response, which is the
--   hosted zone ID of the first traffic policy instance in the next group
--   of <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get.</li>
--   <li><a>ltpiTrafficPolicyInstanceNameMarker</a> - For the first request
--   to <tt>ListTrafficPolicyInstances</tt> , omit this value. If the value
--   of <tt>IsTruncated</tt> in the previous response was <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> is the name of the first
--   traffic policy instance in the next group of <tt>MaxItems</tt> traffic
--   policy instances. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>false</tt> , there are no more traffic policy
--   instances to get.</li>
--   </ul>
listTrafficPolicyInstances :: ListTrafficPolicyInstances

-- | A complex type that contains the information about the request to list
--   your traffic policy instances.
--   
--   <i>See:</i> <a>listTrafficPolicyInstances</a> smart constructor.
data ListTrafficPolicyInstances

-- | For the first request to <tt>ListTrafficPolicyInstances</tt> , omit
--   this value. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>true</tt> , <tt>TrafficPolicyInstanceTypeMarker</tt>
--   is the DNS type of the first traffic policy instance in the next group
--   of <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get.
ltpiTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstances (Maybe RecordType)

-- | The maximum number of traffic policy instances to be included in the
--   response body for this request. If you have more than
--   <tt>MaxItems</tt> traffic policy instances, the value of the
--   <tt>IsTruncated</tt> element in the response is <tt>true</tt> , and
--   the values of <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> represent the first traffic
--   policy instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.
ltpiMaxItems :: Lens' ListTrafficPolicyInstances (Maybe Text)

-- | For the first request to <tt>ListTrafficPolicyInstances</tt> , omit
--   this value. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>true</tt> , you have more traffic policy instances.
--   To get the next group of <tt>MaxItems</tt> traffic policy instances,
--   submit another <tt>ListTrafficPolicyInstances</tt> request. For the
--   value of <tt>HostedZoneIdMarker</tt> , specify the value of
--   <tt>HostedZoneIdMarker</tt> from the previous response, which is the
--   hosted zone ID of the first traffic policy instance in the next group
--   of <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get.
ltpiHostedZoneIdMarker :: Lens' ListTrafficPolicyInstances (Maybe ResourceId)

-- | For the first request to <tt>ListTrafficPolicyInstances</tt> , omit
--   this value. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>true</tt> , <tt>TrafficPolicyInstanceNameMarker</tt>
--   is the name of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get.
ltpiTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstances (Maybe Text)

-- | Creates a value of <a>ListTrafficPolicyInstancesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltpirsTrafficPolicyInstanceTypeMarker</a> - If
--   <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceTypeMarker</tt> is the DNS type of the
--   resource record sets that are associated with the first traffic policy
--   instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.</li>
--   <li><a>ltpirsHostedZoneIdMarker</a> - If <tt>IsTruncated</tt> is
--   <tt>true</tt> , <tt>HostedZoneIdMarker</tt> is the ID of the hosted
--   zone of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances.</li>
--   <li><a>ltpirsTrafficPolicyInstanceNameMarker</a> - If
--   <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> is the name of the first
--   traffic policy instance in the next group of <tt>MaxItems</tt> traffic
--   policy instances.</li>
--   <li><a>ltpirsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ltpirsTrafficPolicyInstances</a> - A list that contains one
--   <tt>TrafficPolicyInstance</tt> element for each traffic policy
--   instance that matches the elements in the request.</li>
--   <li><a>ltpirsIsTruncated</a> - A flag that indicates whether there are
--   more traffic policy instances to be listed. If the response was
--   truncated, you can get the next group of <tt>MaxItems</tt> traffic
--   policy instances by calling <tt>ListTrafficPolicyInstances</tt> again
--   and specifying the values of the <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> elements in the corresponding
--   request parameters.</li>
--   <li><a>ltpirsMaxItems</a> - The value that you specified for the
--   <tt>MaxItems</tt> parameter in the call to
--   <tt>ListTrafficPolicyInstances</tt> that produced the current
--   response.</li>
--   </ul>
listTrafficPolicyInstancesResponse :: Int -> Bool -> Text -> ListTrafficPolicyInstancesResponse

-- | A complex type that contains the response information for the request.
--   
--   <i>See:</i> <a>listTrafficPolicyInstancesResponse</a> smart
--   constructor.
data ListTrafficPolicyInstancesResponse

-- | If <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceTypeMarker</tt> is the DNS type of the
--   resource record sets that are associated with the first traffic policy
--   instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.
ltpirsTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesResponse (Maybe RecordType)

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , <tt>HostedZoneIdMarker</tt>
--   is the ID of the hosted zone of the first traffic policy instance in
--   the next group of <tt>MaxItems</tt> traffic policy instances.
ltpirsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesResponse (Maybe ResourceId)

-- | If <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> is the name of the first
--   traffic policy instance in the next group of <tt>MaxItems</tt> traffic
--   policy instances.
ltpirsTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ltpirsResponseStatus :: Lens' ListTrafficPolicyInstancesResponse Int

-- | A list that contains one <tt>TrafficPolicyInstance</tt> element for
--   each traffic policy instance that matches the elements in the request.
ltpirsTrafficPolicyInstances :: Lens' ListTrafficPolicyInstancesResponse [TrafficPolicyInstance]

-- | A flag that indicates whether there are more traffic policy instances
--   to be listed. If the response was truncated, you can get the next
--   group of <tt>MaxItems</tt> traffic policy instances by calling
--   <tt>ListTrafficPolicyInstances</tt> again and specifying the values of
--   the <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> elements in the corresponding
--   request parameters.
ltpirsIsTruncated :: Lens' ListTrafficPolicyInstancesResponse Bool

-- | The value that you specified for the <tt>MaxItems</tt> parameter in
--   the call to <tt>ListTrafficPolicyInstances</tt> that produced the
--   current response.
ltpirsMaxItems :: Lens' ListTrafficPolicyInstancesResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstancesResponse
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstancesResponse
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstancesResponse
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstancesResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstancesResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstances
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstancesResponse


-- | Gets information about the traffic policy instances that you created
--   in a specified hosted zone.
--   
--   Send a <tt>GET</tt> request to the <tt>/<i>Amazon Route 53 API
--   version</i> /trafficpolicyinstance</tt> resource and include the ID of
--   the hosted zone.
--   
--   Amazon Route 53 returns a maximum of 100 items in each response. If
--   you have a lot of traffic policy instances, you can use the
--   <tt>MaxItems</tt> parameter to list them in groups of up to 100.
--   
--   The response includes four values that help you navigate from one
--   group of <tt>MaxItems</tt> traffic policy instances to the next:
--   
--   <ul>
--   <li><b>IsTruncated</b></li>
--   </ul>
--   
--   If the value of IsTruncated in the response is <tt>true</tt> , there
--   are more traffic policy instances associated with the current AWS
--   account.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , this response includes the
--   last traffic policy instance that is associated with the current
--   account.
--   
--   <ul>
--   <li><b>MaxItems</b></li>
--   </ul>
--   
--   The value that you specified for the <tt>MaxItems</tt> parameter in
--   the request that produced the current response.
--   
--   <ul>
--   <li><b>TrafficPolicyInstanceNameMarker</b> and
--   <b>TrafficPolicyInstanceTypeMarker</b></li>
--   </ul>
--   
--   If <tt>IsTruncated</tt> is <tt>true</tt> , these two values in the
--   response represent the first traffic policy instance in the next group
--   of <tt>MaxItems</tt> traffic policy instances. To list more traffic
--   policy instances, make another call to
--   <tt>ListTrafficPolicyInstancesByHostedZone</tt> , and specify these
--   values in the corresponding request parameters.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , all three elements are
--   omitted from the response.
module Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone

-- | Creates a value of <a>ListTrafficPolicyInstancesByHostedZone</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltpibhzTrafficPolicyInstanceTypeMarker</a> - For the first
--   request to <tt>ListTrafficPolicyInstancesByHostedZone</tt> , omit this
--   value. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>true</tt> , <tt>TrafficPolicyInstanceTypeMarker</tt> is the
--   DNS type of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone.</li>
--   <li><a>ltpibhzMaxItems</a> - The maximum number of traffic policy
--   instances to be included in the response body for this request. If you
--   have more than <tt>MaxItems</tt> traffic policy instances, the value
--   of the <tt>IsTruncated</tt> element in the response is <tt>true</tt> ,
--   and the values of <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> represent the first traffic
--   policy instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.</li>
--   <li><a>ltpibhzTrafficPolicyInstanceNameMarker</a> - For the first
--   request to <tt>ListTrafficPolicyInstancesByHostedZone</tt> , omit this
--   value. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>true</tt> , <tt>TrafficPolicyInstanceNameMarker</tt> is the
--   name of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>false</tt> , omit this value.</li>
--   <li><a>ltpibhzHostedZoneId</a> - The ID of the hosted zone for which
--   you want to list traffic policy instances.</li>
--   </ul>
listTrafficPolicyInstancesByHostedZone :: ResourceId -> ListTrafficPolicyInstancesByHostedZone

-- | A request for the traffic policy instances that you created in a
--   specified hosted zone.
--   
--   <i>See:</i> <a>listTrafficPolicyInstancesByHostedZone</a> smart
--   constructor.
data ListTrafficPolicyInstancesByHostedZone

-- | For the first request to
--   <tt>ListTrafficPolicyInstancesByHostedZone</tt> , omit this value. If
--   the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , <tt>TrafficPolicyInstanceTypeMarker</tt> is the DNS
--   type of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone.
ltpibhzTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe RecordType)

-- | The maximum number of traffic policy instances to be included in the
--   response body for this request. If you have more than
--   <tt>MaxItems</tt> traffic policy instances, the value of the
--   <tt>IsTruncated</tt> element in the response is <tt>true</tt> , and
--   the values of <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> represent the first traffic
--   policy instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.
ltpibhzMaxItems :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe Text)

-- | For the first request to
--   <tt>ListTrafficPolicyInstancesByHostedZone</tt> , omit this value. If
--   the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , <tt>TrafficPolicyInstanceNameMarker</tt> is the name
--   of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>false</tt> , omit this value.
ltpibhzTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe Text)

-- | The ID of the hosted zone for which you want to list traffic policy
--   instances.
ltpibhzHostedZoneId :: Lens' ListTrafficPolicyInstancesByHostedZone ResourceId

-- | Creates a value of
--   <a>ListTrafficPolicyInstancesByHostedZoneResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltpibhzrsTrafficPolicyInstanceTypeMarker</a> - If
--   <tt>IsTruncated</tt> is true, <tt>TrafficPolicyInstanceTypeMarker</tt>
--   is the DNS type of the resource record sets that are associated with
--   the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances.</li>
--   <li><a>ltpibhzrsTrafficPolicyInstanceNameMarker</a> - If
--   <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> is the name of the first
--   traffic policy instance in the next group of <tt>MaxItems</tt> traffic
--   policy instances.</li>
--   <li><a>ltpibhzrsResponseStatus</a> - -- | The response status
--   code.</li>
--   <li><a>ltpibhzrsTrafficPolicyInstances</a> - A list that contains one
--   <tt>TrafficPolicyInstance</tt> element for each traffic policy
--   instance that matches the elements in the request.</li>
--   <li><a>ltpibhzrsIsTruncated</a> - A flag that indicates whether there
--   are more traffic policy instances to be listed. If the response was
--   truncated, you can get the next group of <tt>MaxItems</tt> traffic
--   policy instances by calling
--   <tt>ListTrafficPolicyInstancesByHostedZone</tt> again and specifying
--   the values of the <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> elements in the corresponding
--   request parameters.</li>
--   <li><a>ltpibhzrsMaxItems</a> - The value that you specified for the
--   <tt>MaxItems</tt> parameter in the call to
--   <tt>ListTrafficPolicyInstancesByHostedZone</tt> that produced the
--   current response.</li>
--   </ul>
listTrafficPolicyInstancesByHostedZoneResponse :: Int -> Bool -> Text -> ListTrafficPolicyInstancesByHostedZoneResponse

-- | A complex type that contains the response information for the request.
--   
--   <i>See:</i> <a>listTrafficPolicyInstancesByHostedZoneResponse</a>
--   smart constructor.
data ListTrafficPolicyInstancesByHostedZoneResponse

-- | If <tt>IsTruncated</tt> is true,
--   <tt>TrafficPolicyInstanceTypeMarker</tt> is the DNS type of the
--   resource record sets that are associated with the first traffic policy
--   instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.
ltpibhzrsTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse (Maybe RecordType)

-- | If <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> is the name of the first
--   traffic policy instance in the next group of <tt>MaxItems</tt> traffic
--   policy instances.
ltpibhzrsTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ltpibhzrsResponseStatus :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Int

-- | A list that contains one <tt>TrafficPolicyInstance</tt> element for
--   each traffic policy instance that matches the elements in the request.
ltpibhzrsTrafficPolicyInstances :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse [TrafficPolicyInstance]

-- | A flag that indicates whether there are more traffic policy instances
--   to be listed. If the response was truncated, you can get the next
--   group of <tt>MaxItems</tt> traffic policy instances by calling
--   <tt>ListTrafficPolicyInstancesByHostedZone</tt> again and specifying
--   the values of the <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> elements in the corresponding
--   request parameters.
ltpibhzrsIsTruncated :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Bool

-- | The value that you specified for the <tt>MaxItems</tt> parameter in
--   the call to <tt>ListTrafficPolicyInstancesByHostedZone</tt> that
--   produced the current response.
ltpibhzrsMaxItems :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZoneResponse
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZoneResponse
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZoneResponse
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZoneResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZoneResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZoneResponse


-- | Gets information about the traffic policy instances that you created
--   by using a specify traffic policy version.
--   
--   Send a <tt>GET</tt> request to the <tt>/<i>Route 53 API version</i>
--   /trafficpolicyinstance</tt> resource and include the ID and version of
--   the traffic policy.
--   
--   Amazon Route 53 returns a maximum of 100 items in each response. If
--   you have a lot of traffic policy instances, you can use the
--   <tt>MaxItems</tt> parameter to list them in groups of up to 100.
--   
--   The response includes five values that help you navigate from one
--   group of <tt>MaxItems</tt> traffic policy instances to the next:
--   
--   <ul>
--   <li><b>IsTruncated</b></li>
--   </ul>
--   
--   If the value of <tt>IsTruncated</tt> in the response is <tt>true</tt>
--   , there are more traffic policy instances associated with the
--   specified traffic policy.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , this response includes the
--   last traffic policy instance that is associated with the specified
--   traffic policy.
--   
--   <ul>
--   <li><b>MaxItems</b></li>
--   </ul>
--   
--   The value that you specified for the <tt>MaxItems</tt> parameter in
--   the request that produced the current response.
--   
--   <ul>
--   <li><b>HostedZoneIdMarker</b> , <b>TrafficPolicyInstanceNameMarker</b>
--   , and <b>TrafficPolicyInstanceTypeMarker</b></li>
--   </ul>
--   
--   If <tt>IsTruncated</tt> is <tt>true</tt> , these values in the
--   response represent the first traffic policy instance in the next group
--   of <tt>MaxItems</tt> traffic policy instances. To list more traffic
--   policy instances, make another call to
--   <tt>ListTrafficPolicyInstancesByPolicy</tt> , and specify these values
--   in the corresponding request parameters.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , all three elements are
--   omitted from the response.
module Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

-- | Creates a value of <a>ListTrafficPolicyInstancesByPolicy</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltpibpTrafficPolicyInstanceTypeMarker</a> - For the first
--   request to <tt>ListTrafficPolicyInstancesByPolicy</tt> , omit this
--   value. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>true</tt> , <tt>TrafficPolicyInstanceTypeMarker</tt> is the
--   DNS type of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone.</li>
--   <li><a>ltpibpMaxItems</a> - The maximum number of traffic policy
--   instances to be included in the response body for this request. If you
--   have more than <tt>MaxItems</tt> traffic policy instances, the value
--   of the <tt>IsTruncated</tt> element in the response is <tt>true</tt> ,
--   and the values of <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> represent the first traffic
--   policy instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.</li>
--   <li><a>ltpibpHostedZoneIdMarker</a> - For the first request to
--   <tt>ListTrafficPolicyInstancesByPolicy</tt> , omit this value. If the
--   value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , <tt>HostedZoneIdMarker</tt> is the ID of the hosted
--   zone for the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>false</tt> , omit this value.</li>
--   <li><a>ltpibpTrafficPolicyInstanceNameMarker</a> - For the first
--   request to <tt>ListTrafficPolicyInstancesByPolicy</tt> , omit this
--   value. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>true</tt> , <tt>TrafficPolicyInstanceNameMarker</tt> is the
--   name of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>false</tt> , omit this value.</li>
--   <li><a>ltpibpTrafficPolicyId</a> - The ID of the traffic policy for
--   which you want to list traffic policy instances.</li>
--   <li><a>ltpibpTrafficPolicyVersion</a> - The version of the traffic
--   policy for which you want to list traffic policy instances. The
--   version must be associated with the traffic policy that is specified
--   by <tt>TrafficPolicyId</tt> .</li>
--   </ul>
listTrafficPolicyInstancesByPolicy :: Text -> Natural -> ListTrafficPolicyInstancesByPolicy

-- | A complex type that contains the information about the request to list
--   your traffic policy instances.
--   
--   <i>See:</i> <a>listTrafficPolicyInstancesByPolicy</a> smart
--   constructor.
data ListTrafficPolicyInstancesByPolicy

-- | For the first request to <tt>ListTrafficPolicyInstancesByPolicy</tt> ,
--   omit this value. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>true</tt> , <tt>TrafficPolicyInstanceTypeMarker</tt>
--   is the DNS type of the first traffic policy instance in the next group
--   of <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone.
ltpibpTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe RecordType)

-- | The maximum number of traffic policy instances to be included in the
--   response body for this request. If you have more than
--   <tt>MaxItems</tt> traffic policy instances, the value of the
--   <tt>IsTruncated</tt> element in the response is <tt>true</tt> , and
--   the values of <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> represent the first traffic
--   policy instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.
ltpibpMaxItems :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text)

-- | For the first request to <tt>ListTrafficPolicyInstancesByPolicy</tt> ,
--   omit this value. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>true</tt> , <tt>HostedZoneIdMarker</tt> is the ID of
--   the hosted zone for the first traffic policy instance in the next
--   group of <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>false</tt> , omit this value.
ltpibpHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe ResourceId)

-- | For the first request to <tt>ListTrafficPolicyInstancesByPolicy</tt> ,
--   omit this value. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>true</tt> , <tt>TrafficPolicyInstanceNameMarker</tt>
--   is the name of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get for this hosted
--   zone. If the value of <tt>IsTruncated</tt> in the previous response
--   was <tt>false</tt> , omit this value.
ltpibpTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text)

-- | The ID of the traffic policy for which you want to list traffic policy
--   instances.
ltpibpTrafficPolicyId :: Lens' ListTrafficPolicyInstancesByPolicy Text

-- | The version of the traffic policy for which you want to list traffic
--   policy instances. The version must be associated with the traffic
--   policy that is specified by <tt>TrafficPolicyId</tt> .
ltpibpTrafficPolicyVersion :: Lens' ListTrafficPolicyInstancesByPolicy Natural

-- | Creates a value of <a>ListTrafficPolicyInstancesByPolicyResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltpibprsTrafficPolicyInstanceTypeMarker</a> - If
--   <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceTypeMarker</tt> is the DNS type of the
--   resource record sets that are associated with the first traffic policy
--   instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.</li>
--   <li><a>ltpibprsHostedZoneIdMarker</a> - If <tt>IsTruncated</tt> is
--   <tt>true</tt> , <tt>HostedZoneIdMarker</tt> is the ID of the hosted
--   zone of the first traffic policy instance in the next group of
--   <tt>MaxItems</tt> traffic policy instances.</li>
--   <li><a>ltpibprsTrafficPolicyInstanceNameMarker</a> - If
--   <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> is the name of the first
--   traffic policy instance in the next group of <tt>MaxItems</tt> traffic
--   policy instances.</li>
--   <li><a>ltpibprsResponseStatus</a> - -- | The response status
--   code.</li>
--   <li><a>ltpibprsTrafficPolicyInstances</a> - A list that contains one
--   <tt>TrafficPolicyInstance</tt> element for each traffic policy
--   instance that matches the elements in the request.</li>
--   <li><a>ltpibprsIsTruncated</a> - A flag that indicates whether there
--   are more traffic policy instances to be listed. If the response was
--   truncated, you can get the next group of <tt>MaxItems</tt> traffic
--   policy instances by calling
--   <tt>ListTrafficPolicyInstancesByPolicy</tt> again and specifying the
--   values of the <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> elements in the corresponding
--   request parameters.</li>
--   <li><a>ltpibprsMaxItems</a> - The value that you specified for the
--   <tt>MaxItems</tt> parameter in the call to
--   <tt>ListTrafficPolicyInstancesByPolicy</tt> that produced the current
--   response.</li>
--   </ul>
listTrafficPolicyInstancesByPolicyResponse :: Int -> Bool -> Text -> ListTrafficPolicyInstancesByPolicyResponse

-- | A complex type that contains the response information for the request.
--   
--   <i>See:</i> <a>listTrafficPolicyInstancesByPolicyResponse</a> smart
--   constructor.
data ListTrafficPolicyInstancesByPolicyResponse

-- | If <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceTypeMarker</tt> is the DNS type of the
--   resource record sets that are associated with the first traffic policy
--   instance in the next group of <tt>MaxItems</tt> traffic policy
--   instances.
ltpibprsTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe RecordType)

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , <tt>HostedZoneIdMarker</tt>
--   is the ID of the hosted zone of the first traffic policy instance in
--   the next group of <tt>MaxItems</tt> traffic policy instances.
ltpibprsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe ResourceId)

-- | If <tt>IsTruncated</tt> is <tt>true</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> is the name of the first
--   traffic policy instance in the next group of <tt>MaxItems</tt> traffic
--   policy instances.
ltpibprsTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ltpibprsResponseStatus :: Lens' ListTrafficPolicyInstancesByPolicyResponse Int

-- | A list that contains one <tt>TrafficPolicyInstance</tt> element for
--   each traffic policy instance that matches the elements in the request.
ltpibprsTrafficPolicyInstances :: Lens' ListTrafficPolicyInstancesByPolicyResponse [TrafficPolicyInstance]

-- | A flag that indicates whether there are more traffic policy instances
--   to be listed. If the response was truncated, you can get the next
--   group of <tt>MaxItems</tt> traffic policy instances by calling
--   <tt>ListTrafficPolicyInstancesByPolicy</tt> again and specifying the
--   values of the <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> elements in the corresponding
--   request parameters.
ltpibprsIsTruncated :: Lens' ListTrafficPolicyInstancesByPolicyResponse Bool

-- | The value that you specified for the <tt>MaxItems</tt> parameter in
--   the call to <tt>ListTrafficPolicyInstancesByPolicy</tt> that produced
--   the current response.
ltpibprsMaxItems :: Lens' ListTrafficPolicyInstancesByPolicyResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicyResponse
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicyResponse
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicyResponse
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicyResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicyResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicy
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicyResponse


-- | Gets information about all of the versions for a specified traffic
--   policy.
--   
--   Send a <tt>GET</tt> request to the <tt>/<i>Amazon Route 53 API
--   version</i> /trafficpolicy</tt> resource and specify the ID of the
--   traffic policy for which you want to list versions.
--   
--   Amazon Route 53 returns a maximum of 100 items in each response. If
--   you have a lot of traffic policies, you can use the <tt>maxitems</tt>
--   parameter to list them in groups of up to 100.
--   
--   The response includes three values that help you navigate from one
--   group of <tt>maxitems</tt> traffic policies to the next:
--   
--   <ul>
--   <li><b>IsTruncated</b></li>
--   </ul>
--   
--   If the value of <tt>IsTruncated</tt> in the response is <tt>true</tt>
--   , there are more traffic policy versions associated with the specified
--   traffic policy.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , this response includes the
--   last traffic policy version that is associated with the specified
--   traffic policy.
--   
--   <ul>
--   <li><b>TrafficPolicyVersionMarker</b></li>
--   </ul>
--   
--   The ID of the next traffic policy version that is associated with the
--   current AWS account. If you want to list more traffic policies, make
--   another call to <tt>ListTrafficPolicyVersions</tt> , and specify the
--   value of the <tt>TrafficPolicyVersionMarker</tt> element in the
--   <tt>TrafficPolicyVersionMarker</tt> request parameter.
--   
--   If <tt>IsTruncated</tt> is <tt>false</tt> , Amazon Route 53 omits the
--   <tt>TrafficPolicyVersionMarker</tt> element from the response.
--   
--   <ul>
--   <li><b>MaxItems</b></li>
--   </ul>
--   
--   The value that you specified for the <tt>MaxItems</tt> parameter in
--   the request that produced the current response.
module Network.AWS.Route53.ListTrafficPolicyVersions

-- | Creates a value of <a>ListTrafficPolicyVersions</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltpvMaxItems</a> - The maximum number of traffic policy
--   versions that you want Amazon Route 53 to include in the response body
--   for this request. If the specified traffic policy has more than
--   <tt>MaxItems</tt> versions, the value of the <tt>IsTruncated</tt>
--   element in the response is <tt>true</tt> , and the value of the
--   <tt>TrafficPolicyVersionMarker</tt> element is the ID of the first
--   version in the next group of <tt>MaxItems</tt> traffic policy
--   versions.</li>
--   <li><a>ltpvTrafficPolicyVersionMarker</a> - For your first request to
--   <tt>ListTrafficPolicyVersions</tt> , do not include the
--   <tt>TrafficPolicyVersionMarker</tt> parameter. If you have more
--   traffic policy versions than the value of <tt>MaxItems</tt> ,
--   <tt>ListTrafficPolicyVersions</tt> returns only the first group of
--   <tt>MaxItems</tt> versions. To get the next group of <tt>MaxItems</tt>
--   traffic policy versions, submit another request to
--   <tt>ListTrafficPolicyVersions</tt> . For the value of
--   <tt>TrafficPolicyVersionMarker</tt> , specify the value of the
--   <tt>TrafficPolicyVersionMarker</tt> element that was returned in the
--   previous response. Traffic policy versions are listed in sequential
--   order.</li>
--   <li><a>ltpvId</a> - Specify the value of <tt>Id</tt> of the traffic
--   policy for which you want to list all versions.</li>
--   </ul>
listTrafficPolicyVersions :: Text -> ListTrafficPolicyVersions

-- | A complex type that contains the information about the request to list
--   your traffic policies.
--   
--   <i>See:</i> <a>listTrafficPolicyVersions</a> smart constructor.
data ListTrafficPolicyVersions

-- | The maximum number of traffic policy versions that you want Amazon
--   Route 53 to include in the response body for this request. If the
--   specified traffic policy has more than <tt>MaxItems</tt> versions, the
--   value of the <tt>IsTruncated</tt> element in the response is
--   <tt>true</tt> , and the value of the
--   <tt>TrafficPolicyVersionMarker</tt> element is the ID of the first
--   version in the next group of <tt>MaxItems</tt> traffic policy
--   versions.
ltpvMaxItems :: Lens' ListTrafficPolicyVersions (Maybe Text)

-- | For your first request to <tt>ListTrafficPolicyVersions</tt> , do not
--   include the <tt>TrafficPolicyVersionMarker</tt> parameter. If you have
--   more traffic policy versions than the value of <tt>MaxItems</tt> ,
--   <tt>ListTrafficPolicyVersions</tt> returns only the first group of
--   <tt>MaxItems</tt> versions. To get the next group of <tt>MaxItems</tt>
--   traffic policy versions, submit another request to
--   <tt>ListTrafficPolicyVersions</tt> . For the value of
--   <tt>TrafficPolicyVersionMarker</tt> , specify the value of the
--   <tt>TrafficPolicyVersionMarker</tt> element that was returned in the
--   previous response. Traffic policy versions are listed in sequential
--   order.
ltpvTrafficPolicyVersionMarker :: Lens' ListTrafficPolicyVersions (Maybe Text)

-- | Specify the value of <tt>Id</tt> of the traffic policy for which you
--   want to list all versions.
ltpvId :: Lens' ListTrafficPolicyVersions Text

-- | Creates a value of <a>ListTrafficPolicyVersionsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltpvrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ltpvrsTrafficPolicies</a> - A list that contains one
--   <tt>TrafficPolicy</tt> element for each traffic policy version that is
--   associated with the specified traffic policy.</li>
--   <li><a>ltpvrsIsTruncated</a> - A flag that indicates whether there are
--   more traffic policies to be listed. If the response was truncated, you
--   can get the next group of <tt>maxitems</tt> traffic policies by
--   calling <tt>ListTrafficPolicyVersions</tt> again and specifying the
--   value of the <tt>NextMarker</tt> element in the <tt>marker</tt>
--   parameter.</li>
--   <li><a>ltpvrsTrafficPolicyVersionMarker</a> - If <tt>IsTruncated</tt>
--   is <tt>true</tt> , the value of <tt>TrafficPolicyVersionMarker</tt>
--   identifies the first traffic policy in the next group of
--   <tt>MaxItems</tt> traffic policies. Call
--   <tt>ListTrafficPolicyVersions</tt> again and specify the value of
--   <tt>TrafficPolicyVersionMarker</tt> in the
--   <tt>TrafficPolicyVersionMarker</tt> request parameter. This element is
--   present only if <tt>IsTruncated</tt> is <tt>true</tt> .</li>
--   <li><a>ltpvrsMaxItems</a> - The value that you specified for the
--   <tt>maxitems</tt> parameter in the call to
--   <tt>ListTrafficPolicyVersions</tt> that produced the current
--   response.</li>
--   </ul>
listTrafficPolicyVersionsResponse :: Int -> Bool -> Text -> Text -> ListTrafficPolicyVersionsResponse

-- | A complex type that contains the response information for the request.
--   
--   <i>See:</i> <a>listTrafficPolicyVersionsResponse</a> smart
--   constructor.
data ListTrafficPolicyVersionsResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ltpvrsResponseStatus :: Lens' ListTrafficPolicyVersionsResponse Int

-- | A list that contains one <tt>TrafficPolicy</tt> element for each
--   traffic policy version that is associated with the specified traffic
--   policy.
ltpvrsTrafficPolicies :: Lens' ListTrafficPolicyVersionsResponse [TrafficPolicy]

-- | A flag that indicates whether there are more traffic policies to be
--   listed. If the response was truncated, you can get the next group of
--   <tt>maxitems</tt> traffic policies by calling
--   <tt>ListTrafficPolicyVersions</tt> again and specifying the value of
--   the <tt>NextMarker</tt> element in the <tt>marker</tt> parameter.
ltpvrsIsTruncated :: Lens' ListTrafficPolicyVersionsResponse Bool

-- | If <tt>IsTruncated</tt> is <tt>true</tt> , the value of
--   <tt>TrafficPolicyVersionMarker</tt> identifies the first traffic
--   policy in the next group of <tt>MaxItems</tt> traffic policies. Call
--   <tt>ListTrafficPolicyVersions</tt> again and specify the value of
--   <tt>TrafficPolicyVersionMarker</tt> in the
--   <tt>TrafficPolicyVersionMarker</tt> request parameter. This element is
--   present only if <tt>IsTruncated</tt> is <tt>true</tt> .
ltpvrsTrafficPolicyVersionMarker :: Lens' ListTrafficPolicyVersionsResponse Text

-- | The value that you specified for the <tt>maxitems</tt> parameter in
--   the call to <tt>ListTrafficPolicyVersions</tt> that produced the
--   current response.
ltpvrsMaxItems :: Lens' ListTrafficPolicyVersionsResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersionsResponse
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersionsResponse
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersionsResponse
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersionsResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersionsResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance Data.Data.Data Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance GHC.Show.Show Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance GHC.Read.Read Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance GHC.Classes.Eq Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersions
instance Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersionsResponse


-- | Gets a list of the VPCs that were created by other accounts and that
--   can be associated with a specified hosted zone because you've
--   submitted one or more <tt>CreateVPCAssociationAuthorization</tt>
--   requests.
--   
--   Send a <tt>GET</tt> request to the
--   <tt><i>2013-04-01</i>hostedzone/<i>hosted zone ID</i>
--   /authorizevpcassociation</tt> resource. The response to this request
--   includes a <tt>VPCs</tt> element with a <tt>VPC</tt> child element for
--   each VPC that can be associated with the hosted zone.
--   
--   Amazon Route 53 returns up to 50 VPCs per page. To return fewer VPCs
--   per page, include the <tt>MaxResults</tt> parameter:
--   
--   <pre>
--   <i>2013-04-01</i>hostedzone/<i>hosted zone ID</i> <i>authorizevpcassociation?MaxItems=</i>VPCs per page/
--   </pre>
--   
--   If the response includes a <tt>NextToken</tt> element, there are more
--   VPCs to list. To get the next page of VPCs, submit another
--   <tt>ListVPCAssociationAuthorizations</tt> request, and include the
--   value of the <tt>NextToken</tt> element from the response in the
--   <tt>NextToken</tt> request parameter:
--   
--   <pre>
--   <i>2013-04-01</i>hostedzone/<i>hosted zone ID</i> <i>authorizevpcassociation?MaxItems=</i>VPCs per page<i> &amp;NextToken=</i>/
--   </pre>
module Network.AWS.Route53.ListVPCAssociationAuthorizations

-- | Creates a value of <a>ListVPCAssociationAuthorizations</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lvaaNextToken</a> - <i>Optional</i> : If a response includes a
--   <tt>NextToken</tt> element, there are more VPCs that can be associated
--   with the specified hosted zone. To get the next page of results,
--   submit another request, and include the value of the
--   <tt>NextToken</tt> element in from the response in the
--   <tt>NextToken</tt> parameter in another
--   <tt>ListVPCAssociationAuthorizations</tt> request.</li>
--   <li><a>lvaaMaxResults</a> - <i>Optional</i> : An integer that
--   specifies the maximum number of VPCs that you want Amazon Route 53 to
--   return.</li>
--   <li><a>lvaaHostedZoneId</a> - The ID of the hosted zone for which you
--   want a list of VPCs that can be associated with the hosted zone.</li>
--   </ul>
listVPCAssociationAuthorizations :: ResourceId -> ListVPCAssociationAuthorizations

-- | A complex type that contains information about that can be associated
--   with your hosted zone.
--   
--   <i>See:</i> <a>listVPCAssociationAuthorizations</a> smart constructor.
data ListVPCAssociationAuthorizations

-- | <i>Optional</i> : If a response includes a <tt>NextToken</tt> element,
--   there are more VPCs that can be associated with the specified hosted
--   zone. To get the next page of results, submit another request, and
--   include the value of the <tt>NextToken</tt> element in from the
--   response in the <tt>NextToken</tt> parameter in another
--   <tt>ListVPCAssociationAuthorizations</tt> request.
lvaaNextToken :: Lens' ListVPCAssociationAuthorizations (Maybe Text)

-- | <i>Optional</i> : An integer that specifies the maximum number of VPCs
--   that you want Amazon Route 53 to return.
lvaaMaxResults :: Lens' ListVPCAssociationAuthorizations (Maybe Text)

-- | The ID of the hosted zone for which you want a list of VPCs that can
--   be associated with the hosted zone.
lvaaHostedZoneId :: Lens' ListVPCAssociationAuthorizations ResourceId

-- | Creates a value of <a>ListVPCAssociationAuthorizationsResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lvaarsNextToken</a> - When the response includes a
--   <tt>NextToken</tt> element, there are more VPCs that can be associated
--   with the specified hosted zone. To get the next page of VPCs, submit
--   another <tt>ListVPCAssociationAuthorizations</tt> request, and include
--   the value of the <tt>NextToken</tt> element from the response in the
--   <tt>NextToken</tt> request parameter:
--   <tt><i>2013-04-01</i>hostedzone/<i>hosted zone ID</i>
--   <i>authorizevpcassociation?MaxItems=</i>VPCs per page<i>
--   &amp;NextToken=</i>/ </tt></li>
--   <li><a>lvaarsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lvaarsHostedZoneId</a> - The ID of the hosted zone that you can
--   associate the listed VPCs with.</li>
--   <li><a>lvaarsVPCs</a> - The list of VPCs that are authorized to be
--   associated with the specified hosted zone.</li>
--   </ul>
listVPCAssociationAuthorizationsResponse :: Int -> ResourceId -> NonEmpty VPC -> ListVPCAssociationAuthorizationsResponse

-- | A complex type that contains the response information for the request.
--   
--   <i>See:</i> <a>listVPCAssociationAuthorizationsResponse</a> smart
--   constructor.
data ListVPCAssociationAuthorizationsResponse

-- | When the response includes a <tt>NextToken</tt> element, there are
--   more VPCs that can be associated with the specified hosted zone. To
--   get the next page of VPCs, submit another
--   <tt>ListVPCAssociationAuthorizations</tt> request, and include the
--   value of the <tt>NextToken</tt> element from the response in the
--   <tt>NextToken</tt> request parameter:
--   <tt><i>2013-04-01</i>hostedzone/<i>hosted zone ID</i>
--   <i>authorizevpcassociation?MaxItems=</i>VPCs per page<i>
--   &amp;NextToken=</i>/ </tt>
lvaarsNextToken :: Lens' ListVPCAssociationAuthorizationsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lvaarsResponseStatus :: Lens' ListVPCAssociationAuthorizationsResponse Int

-- | The ID of the hosted zone that you can associate the listed VPCs with.
lvaarsHostedZoneId :: Lens' ListVPCAssociationAuthorizationsResponse ResourceId

-- | The list of VPCs that are authorized to be associated with the
--   specified hosted zone.
lvaarsVPCs :: Lens' ListVPCAssociationAuthorizationsResponse (NonEmpty VPC)
instance GHC.Generics.Generic Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
instance Data.Data.Data Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
instance GHC.Show.Show Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
instance GHC.Read.Read Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance Data.Data.Data Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance GHC.Show.Show Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance GHC.Read.Read Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance GHC.Classes.Eq Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance Control.DeepSeq.NFData Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
instance Control.DeepSeq.NFData Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse


-- | Gets the value that Amazon Route 53 returns in response to a DNS
--   request for a specified record name and type. You can optionally
--   specify the IP address of a DNS resolver, an EDNS0 client subnet IP
--   address, and a subnet mask.
module Network.AWS.Route53.TestDNSAnswer

-- | Creates a value of <a>TestDNSAnswer</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tdaResolverIP</a> - If you want to simulate a request from a
--   specific DNS resolver, specify the IP address for that resolver. If
--   you omit this value, <tt>TestDnsAnswer</tt> uses the IP address of a
--   DNS resolver in the AWS US East region.</li>
--   <li><a>tdaEDNS0ClientSubnetIP</a> - If the resolver that you specified
--   for resolverip supports EDNS0, specify the IP address of a client in
--   the applicable location.</li>
--   <li><a>tdaEDNS0ClientSubnetMask</a> - If you specify an IP address for
--   <tt>edns0clientsubnetip</tt> , you can optionally specify the number
--   of bits of the IP address that you want the checking tool to include
--   in the DNS query. For example, if you specify <tt>192.0.2.44</tt> for
--   <tt>edns0clientsubnetip</tt> and <tt>24</tt> for
--   <tt>edns0clientsubnetmask</tt> , the checking tool will simulate a
--   request from 192.0.2.0/24. The default value is 24 bits.</li>
--   <li><a>tdaHostedZoneId</a> - The ID of the hosted zone that you want
--   Amazon Route 53 to simulate a query for.</li>
--   <li><a>tdaRecordName</a> - The name of the resource record set that
--   you want Amazon Route 53 to simulate a query for.</li>
--   <li><a>tdaRecordType</a> - The type of the resource record set.</li>
--   </ul>
testDNSAnswer :: ResourceId -> Text -> RecordType -> TestDNSAnswer

-- | Gets the value that Amazon Route 53 returns in response to a DNS
--   request for a specified record name and type. You can optionally
--   specify the IP address of a DNS resolver, an EDNS0 client subnet IP
--   address, and a subnet mask.
--   
--   <b>Parameters</b>
--   
--   <ul>
--   <li>hostedzoneid * The ID of the hosted zone that you want Amazon
--   Route 53 to simulate a query for.</li>
--   <li>recordname * The name of the resource record set that you want
--   Amazon Route 53 to simulate a query for.</li>
--   <li>recordtype * The type of the resource record set.</li>
--   <li>resolverip (optional) * If you want to simulate a request from a
--   specific DNS resolver, specify the IP address for that resolver. If
--   you omit this value, <tt>TestDNSAnswer</tt> uses the IP address of a
--   DNS resolver in the AWS US East region.</li>
--   <li>edns0clientsubnetip (optional) * If the resolver that you
--   specified for <tt>resolverip</tt> supports EDNS0, specify the IP
--   address of a client in the applicable location.</li>
--   <li>edns0clientsubnetmask (optional) * If you specify an IP address
--   for <tt>edns0clientsubnetip</tt> , you can optionally specify the
--   number of bits of the IP address that you want the checking tool to
--   include in the DNS query. For example, if you specify
--   <tt>192.0.2.44</tt> for <tt>edns0clientsubnetip</tt> and <tt>24</tt>
--   for <tt>edns0clientsubnetmask</tt> , the checking tool will simulate a
--   request from <tt>192.0.2.0/24</tt> . The default value is 24
--   bits.</li>
--   </ul>
--   
--   <i>See:</i> <a>testDNSAnswer</a> smart constructor.
data TestDNSAnswer

-- | If you want to simulate a request from a specific DNS resolver,
--   specify the IP address for that resolver. If you omit this value,
--   <tt>TestDnsAnswer</tt> uses the IP address of a DNS resolver in the
--   AWS US East region.
tdaResolverIP :: Lens' TestDNSAnswer (Maybe Text)

-- | If the resolver that you specified for resolverip supports EDNS0,
--   specify the IP address of a client in the applicable location.
tdaEDNS0ClientSubnetIP :: Lens' TestDNSAnswer (Maybe Text)

-- | If you specify an IP address for <tt>edns0clientsubnetip</tt> , you
--   can optionally specify the number of bits of the IP address that you
--   want the checking tool to include in the DNS query. For example, if
--   you specify <tt>192.0.2.44</tt> for <tt>edns0clientsubnetip</tt> and
--   <tt>24</tt> for <tt>edns0clientsubnetmask</tt> , the checking tool
--   will simulate a request from 192.0.2.0/24. The default value is 24
--   bits.
tdaEDNS0ClientSubnetMask :: Lens' TestDNSAnswer (Maybe Text)

-- | The ID of the hosted zone that you want Amazon Route 53 to simulate a
--   query for.
tdaHostedZoneId :: Lens' TestDNSAnswer ResourceId

-- | The name of the resource record set that you want Amazon Route 53 to
--   simulate a query for.
tdaRecordName :: Lens' TestDNSAnswer Text

-- | The type of the resource record set.
tdaRecordType :: Lens' TestDNSAnswer RecordType

-- | Creates a value of <a>TestDNSAnswerResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tdarsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>tdarsNameserver</a> - The Amazon Route 53 name server used to
--   respond to the request.</li>
--   <li><a>tdarsRecordName</a> - The name of the resource record set that
--   you submitted a request for.</li>
--   <li><a>tdarsRecordType</a> - The type of the resource record set that
--   you submitted a request for.</li>
--   <li><a>tdarsRecordData</a> - A list that contains values that Amazon
--   Route 53 returned for this resource record set.</li>
--   <li><a>tdarsResponseCode</a> - A code that indicates whether the
--   request is valid or not. The most common response code is
--   <tt>NOERROR</tt> , meaning that the request is valid. If the response
--   is not valid, Amazon Route 53 returns a response code that describes
--   the error. For a list of possible response codes, see <a>DNS
--   RCODES</a> on the IANA website.</li>
--   <li><a>tdarsProtocol</a> - The protocol that Amazon Route 53 used to
--   respond to the request, either <tt>UDP</tt> or <tt>TCP</tt> .</li>
--   </ul>
testDNSAnswerResponse :: Int -> Text -> Text -> RecordType -> Text -> Text -> TestDNSAnswerResponse

-- | A complex type that contains the response to a <tt>TestDNSAnswer</tt>
--   request.
--   
--   <i>See:</i> <a>testDNSAnswerResponse</a> smart constructor.
data TestDNSAnswerResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
tdarsResponseStatus :: Lens' TestDNSAnswerResponse Int

-- | The Amazon Route 53 name server used to respond to the request.
tdarsNameserver :: Lens' TestDNSAnswerResponse Text

-- | The name of the resource record set that you submitted a request for.
tdarsRecordName :: Lens' TestDNSAnswerResponse Text

-- | The type of the resource record set that you submitted a request for.
tdarsRecordType :: Lens' TestDNSAnswerResponse RecordType

-- | A list that contains values that Amazon Route 53 returned for this
--   resource record set.
tdarsRecordData :: Lens' TestDNSAnswerResponse [Text]

-- | A code that indicates whether the request is valid or not. The most
--   common response code is <tt>NOERROR</tt> , meaning that the request is
--   valid. If the response is not valid, Amazon Route 53 returns a
--   response code that describes the error. For a list of possible
--   response codes, see <a>DNS RCODES</a> on the IANA website.
tdarsResponseCode :: Lens' TestDNSAnswerResponse Text

-- | The protocol that Amazon Route 53 used to respond to the request,
--   either <tt>UDP</tt> or <tt>TCP</tt> .
tdarsProtocol :: Lens' TestDNSAnswerResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
instance Data.Data.Data Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
instance GHC.Show.Show Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
instance GHC.Read.Read Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
instance GHC.Classes.Eq Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
instance GHC.Generics.Generic Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance Data.Data.Data Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance GHC.Show.Show Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance GHC.Read.Read Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance GHC.Classes.Eq Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance Data.Hashable.Class.Hashable Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance Control.DeepSeq.NFData Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
instance Control.DeepSeq.NFData Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse


-- | Updates an existing health check.
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>healthcheck/<i>health check ID</i> </tt>
--   resource. The request body must include a document with an
--   <tt>UpdateHealthCheckRequest</tt> element. For more information about
--   updating health checks, see <a>Creating, Updating, and Deleting Health
--   Checks</a> in the Amazon Route 53 Developer Guide.
module Network.AWS.Route53.UpdateHealthCheck

-- | Creates a value of <a>UpdateHealthCheck</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uhcFailureThreshold</a> - The number of consecutive health
--   checks that an endpoint must pass or fail for Amazon Route 53 to
--   change the current status of the endpoint from unhealthy to healthy or
--   vice versa. For more information, see <a>How Amazon Route 53
--   Determines Whether an Endpoint Is Healthy</a> in the <i>Amazon Route
--   53 Developer Guide</i> .</li>
--   <li><a>uhcIPAddress</a> - The IPv4 or IPv6 IP address for the endpoint
--   that you want Amazon Route 53 to perform health checks on. If you
--   don't specify a value for <tt>IPAddress</tt> , Amazon Route 53 sends a
--   DNS request to resolve the domain name that you specify in
--   <tt>FullyQualifiedDomainName</tt> at the interval that you specify in
--   <tt>RequestInterval</tt> . Using an IP address that is returned by
--   DNS, Amazon Route 53 then checks the health of the endpoint. If the
--   endpoint is an EC2 instance, we recommend that you create an Elastic
--   IP address, associate it with your EC2 instance, and specify the
--   Elastic IP address for <tt>IPAddress</tt> . This ensures that the IP
--   address of your instance never changes. For more information, see
--   <a>Elastic IP Addresses (EIP)</a> in the <i>Amazon EC2 User Guide for
--   Linux Instances</i> . For more information, see
--   'UpdateHealthCheckRequest$FullyQualifiedDomainName' . Constraints:
--   Amazon Route 53 can't check the health of endpoints for which the IP
--   address is in local, private, non-routable, or multicast ranges. For
--   more information about IP addresses for which you can't create health
--   checks, see the following documents: * <a>RFC 5735, Special Use IPv4
--   Addresses</a> * <a>RFC 6598, IANA-Reserved IPv4 Prefix for Shared
--   Address Space</a> * <a>RFC 5156, Special-Use IPv6 Addresses</a></li>
--   <li><a>uhcEnableSNI</a> - Specify whether you want Amazon Route 53 to
--   send the value of <tt>FullyQualifiedDomainName</tt> to the endpoint in
--   the <tt>client_hello</tt> message during <tt>TLS</tt> negotiation.
--   This allows the endpoint to respond to <tt>HTTPS</tt> health check
--   requests with the applicable SSL<i>TLS certificate. Some endpoints
--   require that HTTPS requests include the host name in the
--   <tt>client_hello</tt> message. If you don't enable SNI, the status of
--   the health check will be SSL alert <tt>handshake_failure</tt> . A
--   health check can also have that status for other reasons. If SNI is
--   enabled and you're still getting the error, check the SSL</i>TLS
--   configuration on your endpoint and confirm that your certificate is
--   valid. The SSL/TLS certificate on your endpoint includes a domain name
--   in the <tt>Common Name</tt> field and possibly several more in the
--   <tt>Subject Alternative Names</tt> field. One of the domain names in
--   the certificate should match the value that you specify for
--   <tt>FullyQualifiedDomainName</tt> . If the endpoint responds to the
--   <tt>client_hello</tt> message with a certificate that does not include
--   the domain name that you specified in
--   <tt>FullyQualifiedDomainName</tt> , a health checker will retry the
--   handshake. In the second attempt, the health checker will omit
--   <tt>FullyQualifiedDomainName</tt> from the <tt>client_hello</tt>
--   message.</li>
--   <li><a>uhcSearchString</a> - If the value of <tt>Type</tt> is
--   <tt>HTTP_STR_MATCH</tt> or <tt>HTTP_STR_MATCH</tt> , the string that
--   you want Amazon Route 53 to search for in the response body from the
--   specified resource. If the string appears in the response body, Amazon
--   Route 53 considers the resource healthy. (You can't change the value
--   of <tt>Type</tt> when you update a health check.)</li>
--   <li><a>uhcHealthThreshold</a> - The number of child health checks that
--   are associated with a <tt>CALCULATED</tt> health that Amazon Route 53
--   must consider healthy for the <tt>CALCULATED</tt> health check to be
--   considered healthy. To specify the child health checks that you want
--   to associate with a <tt>CALCULATED</tt> health check, use the
--   <tt>ChildHealthChecks</tt> and <tt>ChildHealthCheck</tt> elements.
--   Note the following: * If you specify a number greater than the number
--   of child health checks, Amazon Route 53 always considers this health
--   check to be unhealthy. * If you specify <tt>0</tt> , Amazon Route 53
--   always considers this health check to be healthy.</li>
--   <li><a>uhcRegions</a> - A complex type that contains one Region
--   element for each region from which you want Amazon Route 53 health
--   checkers to check the specified endpoint.</li>
--   <li><a>uhcResourcePath</a> - The path that you want Amazon Route 53 to
--   request when performing health checks. The path can be any value for
--   which your endpoint will return an HTTP status code of 2xx or 3xx when
--   the endpoint is healthy, for example the file
--   <i>docs</i>route53-health-check.html. Specify this value only if you
--   want to change it.</li>
--   <li><a>uhcInsufficientDataHealthStatus</a> - When CloudWatch has
--   insufficient data about the metric to determine the alarm state, the
--   status that you want Amazon Route 53 to assign to the health check: *
--   <tt>Healthy</tt> : Amazon Route 53 considers the health check to be
--   healthy. * <tt>Unhealthy</tt> : Amazon Route 53 considers the health
--   check to be unhealthy. * <tt>LastKnownStatus</tt> : Amazon Route 53
--   uses the status of the health check from the last time CloudWatch had
--   sufficient data to determine the alarm state. For new health checks
--   that have no last known status, the default status for the health
--   check is healthy.</li>
--   <li><a>uhcHealthCheckVersion</a> - A sequential counter that Amazon
--   Route 53 sets to <tt>1</tt> when you create a health check and
--   increments by <tt>1</tt> each time you update settings for the health
--   check. We recommend that you use <tt>GetHealthCheck</tt> or
--   <tt>ListHealthChecks</tt> to get the current value of
--   <tt>HealthCheckVersion</tt> for the health check that you want to
--   update, and that you include that value in your
--   <tt>UpdateHealthCheck</tt> request. This prevents Amazon Route 53 from
--   overwriting an intervening update: * f the value in the
--   <tt>UpdateHealthCheck</tt> request matches the value of
--   <tt>HealthCheckVersion</tt> in the health check, Amazon Route 53
--   updates the health check with the new settings. * If the value of
--   <tt>HealthCheckVersion</tt> in the health check is greater, the health
--   check was changed after you got the version number. Amazon Route 53
--   does not update the health check, and it returns a
--   <tt>HealthCheckVersionMismatch</tt> error.</li>
--   <li><a>uhcAlarmIdentifier</a> - Undocumented member.</li>
--   <li><a>uhcInverted</a> - Specify whether you want Amazon Route 53 to
--   invert the status of a health check, for example, to consider a health
--   check unhealthy when it otherwise would be considered healthy.</li>
--   <li><a>uhcFullyQualifiedDomainName</a> - Amazon Route 53 behavior
--   depends on whether you specify a value for <tt>IPAddress</tt> . <b>If
--   you specify a value for</b> <tt>IPAddress</tt> : Amazon Route 53 sends
--   health check requests to the specified IPv4 or IPv6 address and passes
--   the value of <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt>
--   header for all health checks except TCP health checks. This is
--   typically the fully qualified DNS name of the endpoint on which you
--   want Amazon Route 53 to perform health checks. When Amazon Route 53
--   checks the health of an endpoint, here is how it constructs the
--   <tt>Host</tt> header: * If you specify a value of <tt>80</tt> for
--   <tt>Port</tt> and <tt>HTTP</tt> or <tt>HTTP_STR_MATCH</tt> for
--   <tt>Type</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> to the endpoint in the <tt>Host</tt>
--   header. * If you specify a value of <tt>443</tt> for <tt>Port</tt> and
--   <tt>HTTPS</tt> or <tt>HTTPS_STR_MATCH</tt> for <tt>Type</tt> , Amazon
--   Route 53 passes the value of <tt>FullyQualifiedDomainName</tt> to the
--   endpoint in the Host header. * If you specify another value for
--   <tt>Port</tt> and any value except <tt>TCP</tt> for <tt>Type</tt> ,
--   Amazon Route 53 passes <i><tt>FullyQualifiedDomainName</tt>
--   :<tt>Port</tt> </i> to the endpoint in the Host header. If you don't
--   specify a value for <tt>FullyQualifiedDomainName</tt> , Amazon Route
--   53 substitutes the value of <tt>IPAddress</tt> in the <tt>Host</tt>
--   header in each of the above cases. <b>If you don't specify a value
--   for</b> <tt>IPAddress</tt> : If you don't specify a value for
--   <tt>IPAddress</tt> , Amazon Route 53 sends a DNS request to the domain
--   that you specify in <tt>FullyQualifiedDomainName</tt> at the interval
--   you specify in <tt>RequestInterval</tt> . Using an IPv4 address that
--   is returned by DNS, Amazon Route 53 then checks the health of the
--   endpoint. If you want to check the health of weighted, latency, or
--   failover resource record sets and you choose to specify the endpoint
--   only by <tt>FullyQualifiedDomainName</tt> , we recommend that you
--   create a separate health check for each endpoint. For example, create
--   a health check for each HTTP server that is serving content for
--   www.example.com. For the value of <tt>FullyQualifiedDomainName</tt> ,
--   specify the domain name of the server (such as
--   <tt>us-east-1-www.example.com</tt> ), not the name of the resource
--   record sets (www.example.com). <i>Important:</i> In this
--   configuration, if the value of <tt>FullyQualifiedDomainName</tt>
--   matches the name of the resource record sets and you then associate
--   the health check with those resource record sets, health check results
--   will be unpredictable. In addition, if the value of <tt>Type</tt> is
--   <tt>HTTP</tt> , <tt>HTTPS</tt> , <tt>HTTP_STR_MATCH</tt> , or
--   <tt>HTTPS_STR_MATCH</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt> header, as it
--   does when you specify a value for <tt>IPAddress</tt> . If the value of
--   <tt>Type</tt> is <tt>TCP</tt> , Amazon Route 53 doesn't pass a
--   <tt>Host</tt> header.</li>
--   <li><a>uhcChildHealthChecks</a> - A complex type that contains one
--   <tt>ChildHealthCheck</tt> element for each health check that you want
--   to associate with a <tt>CALCULATED</tt> health check.</li>
--   <li><a>uhcPort</a> - The port on the endpoint on which you want Amazon
--   Route 53 to perform health checks.</li>
--   <li><a>uhcHealthCheckId</a> - The ID for the health check for which
--   you want detailed information. When you created the health check,
--   <tt>CreateHealthCheck</tt> returned the ID in the response, in the
--   <tt>HealthCheckId</tt> element.</li>
--   </ul>
updateHealthCheck :: Text -> UpdateHealthCheck

-- | A complex type that contains the health check request information.
--   
--   <i>See:</i> <a>updateHealthCheck</a> smart constructor.
data UpdateHealthCheck

-- | The number of consecutive health checks that an endpoint must pass or
--   fail for Amazon Route 53 to change the current status of the endpoint
--   from unhealthy to healthy or vice versa. For more information, see
--   <a>How Amazon Route 53 Determines Whether an Endpoint Is Healthy</a>
--   in the <i>Amazon Route 53 Developer Guide</i> .
uhcFailureThreshold :: Lens' UpdateHealthCheck (Maybe Natural)

-- | The IPv4 or IPv6 IP address for the endpoint that you want Amazon
--   Route 53 to perform health checks on. If you don't specify a value for
--   <tt>IPAddress</tt> , Amazon Route 53 sends a DNS request to resolve
--   the domain name that you specify in <tt>FullyQualifiedDomainName</tt>
--   at the interval that you specify in <tt>RequestInterval</tt> . Using
--   an IP address that is returned by DNS, Amazon Route 53 then checks the
--   health of the endpoint. If the endpoint is an EC2 instance, we
--   recommend that you create an Elastic IP address, associate it with
--   your EC2 instance, and specify the Elastic IP address for
--   <tt>IPAddress</tt> . This ensures that the IP address of your instance
--   never changes. For more information, see <a>Elastic IP Addresses
--   (EIP)</a> in the <i>Amazon EC2 User Guide for Linux Instances</i> .
--   For more information, see
--   'UpdateHealthCheckRequest$FullyQualifiedDomainName' . Constraints:
--   Amazon Route 53 can't check the health of endpoints for which the IP
--   address is in local, private, non-routable, or multicast ranges. For
--   more information about IP addresses for which you can't create health
--   checks, see the following documents: * <a>RFC 5735, Special Use IPv4
--   Addresses</a> * <a>RFC 6598, IANA-Reserved IPv4 Prefix for Shared
--   Address Space</a> * <a>RFC 5156, Special-Use IPv6 Addresses</a>
uhcIPAddress :: Lens' UpdateHealthCheck (Maybe Text)

-- | Specify whether you want Amazon Route 53 to send the value of
--   <tt>FullyQualifiedDomainName</tt> to the endpoint in the
--   <tt>client_hello</tt> message during <tt>TLS</tt> negotiation. This
--   allows the endpoint to respond to <tt>HTTPS</tt> health check requests
--   with the applicable SSL<i>TLS certificate. Some endpoints require that
--   HTTPS requests include the host name in the <tt>client_hello</tt>
--   message. If you don't enable SNI, the status of the health check will
--   be SSL alert <tt>handshake_failure</tt> . A health check can also have
--   that status for other reasons. If SNI is enabled and you're still
--   getting the error, check the SSL</i>TLS configuration on your endpoint
--   and confirm that your certificate is valid. The SSL/TLS certificate on
--   your endpoint includes a domain name in the <tt>Common Name</tt> field
--   and possibly several more in the <tt>Subject Alternative Names</tt>
--   field. One of the domain names in the certificate should match the
--   value that you specify for <tt>FullyQualifiedDomainName</tt> . If the
--   endpoint responds to the <tt>client_hello</tt> message with a
--   certificate that does not include the domain name that you specified
--   in <tt>FullyQualifiedDomainName</tt> , a health checker will retry the
--   handshake. In the second attempt, the health checker will omit
--   <tt>FullyQualifiedDomainName</tt> from the <tt>client_hello</tt>
--   message.
uhcEnableSNI :: Lens' UpdateHealthCheck (Maybe Bool)

-- | If the value of <tt>Type</tt> is <tt>HTTP_STR_MATCH</tt> or
--   <tt>HTTP_STR_MATCH</tt> , the string that you want Amazon Route 53 to
--   search for in the response body from the specified resource. If the
--   string appears in the response body, Amazon Route 53 considers the
--   resource healthy. (You can't change the value of <tt>Type</tt> when
--   you update a health check.)
uhcSearchString :: Lens' UpdateHealthCheck (Maybe Text)

-- | The number of child health checks that are associated with a
--   <tt>CALCULATED</tt> health that Amazon Route 53 must consider healthy
--   for the <tt>CALCULATED</tt> health check to be considered healthy. To
--   specify the child health checks that you want to associate with a
--   <tt>CALCULATED</tt> health check, use the <tt>ChildHealthChecks</tt>
--   and <tt>ChildHealthCheck</tt> elements. Note the following: * If you
--   specify a number greater than the number of child health checks,
--   Amazon Route 53 always considers this health check to be unhealthy. *
--   If you specify <tt>0</tt> , Amazon Route 53 always considers this
--   health check to be healthy.
uhcHealthThreshold :: Lens' UpdateHealthCheck (Maybe Natural)

-- | A complex type that contains one Region element for each region from
--   which you want Amazon Route 53 health checkers to check the specified
--   endpoint.
uhcRegions :: Lens' UpdateHealthCheck (Maybe (NonEmpty HealthCheckRegion))

-- | The path that you want Amazon Route 53 to request when performing
--   health checks. The path can be any value for which your endpoint will
--   return an HTTP status code of 2xx or 3xx when the endpoint is healthy,
--   for example the file <i>docs</i>route53-health-check.html. Specify
--   this value only if you want to change it.
uhcResourcePath :: Lens' UpdateHealthCheck (Maybe Text)

-- | When CloudWatch has insufficient data about the metric to determine
--   the alarm state, the status that you want Amazon Route 53 to assign to
--   the health check: * <tt>Healthy</tt> : Amazon Route 53 considers the
--   health check to be healthy. * <tt>Unhealthy</tt> : Amazon Route 53
--   considers the health check to be unhealthy. * <tt>LastKnownStatus</tt>
--   : Amazon Route 53 uses the status of the health check from the last
--   time CloudWatch had sufficient data to determine the alarm state. For
--   new health checks that have no last known status, the default status
--   for the health check is healthy.
uhcInsufficientDataHealthStatus :: Lens' UpdateHealthCheck (Maybe InsufficientDataHealthStatus)

-- | A sequential counter that Amazon Route 53 sets to <tt>1</tt> when you
--   create a health check and increments by <tt>1</tt> each time you
--   update settings for the health check. We recommend that you use
--   <tt>GetHealthCheck</tt> or <tt>ListHealthChecks</tt> to get the
--   current value of <tt>HealthCheckVersion</tt> for the health check that
--   you want to update, and that you include that value in your
--   <tt>UpdateHealthCheck</tt> request. This prevents Amazon Route 53 from
--   overwriting an intervening update: * f the value in the
--   <tt>UpdateHealthCheck</tt> request matches the value of
--   <tt>HealthCheckVersion</tt> in the health check, Amazon Route 53
--   updates the health check with the new settings. * If the value of
--   <tt>HealthCheckVersion</tt> in the health check is greater, the health
--   check was changed after you got the version number. Amazon Route 53
--   does not update the health check, and it returns a
--   <tt>HealthCheckVersionMismatch</tt> error.
uhcHealthCheckVersion :: Lens' UpdateHealthCheck (Maybe Natural)

-- | Undocumented member.
uhcAlarmIdentifier :: Lens' UpdateHealthCheck (Maybe AlarmIdentifier)

-- | Specify whether you want Amazon Route 53 to invert the status of a
--   health check, for example, to consider a health check unhealthy when
--   it otherwise would be considered healthy.
uhcInverted :: Lens' UpdateHealthCheck (Maybe Bool)

-- | Amazon Route 53 behavior depends on whether you specify a value for
--   <tt>IPAddress</tt> . <b>If you specify a value for</b>
--   <tt>IPAddress</tt> : Amazon Route 53 sends health check requests to
--   the specified IPv4 or IPv6 address and passes the value of
--   <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt> header for all
--   health checks except TCP health checks. This is typically the fully
--   qualified DNS name of the endpoint on which you want Amazon Route 53
--   to perform health checks. When Amazon Route 53 checks the health of an
--   endpoint, here is how it constructs the <tt>Host</tt> header: * If you
--   specify a value of <tt>80</tt> for <tt>Port</tt> and <tt>HTTP</tt> or
--   <tt>HTTP_STR_MATCH</tt> for <tt>Type</tt> , Amazon Route 53 passes the
--   value of <tt>FullyQualifiedDomainName</tt> to the endpoint in the
--   <tt>Host</tt> header. * If you specify a value of <tt>443</tt> for
--   <tt>Port</tt> and <tt>HTTPS</tt> or <tt>HTTPS_STR_MATCH</tt> for
--   <tt>Type</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> to the endpoint in the Host header.
--   * If you specify another value for <tt>Port</tt> and any value except
--   <tt>TCP</tt> for <tt>Type</tt> , Amazon Route 53 passes
--   <i><tt>FullyQualifiedDomainName</tt> :<tt>Port</tt> </i> to the
--   endpoint in the Host header. If you don't specify a value for
--   <tt>FullyQualifiedDomainName</tt> , Amazon Route 53 substitutes the
--   value of <tt>IPAddress</tt> in the <tt>Host</tt> header in each of the
--   above cases. <b>If you don't specify a value for</b>
--   <tt>IPAddress</tt> : If you don't specify a value for
--   <tt>IPAddress</tt> , Amazon Route 53 sends a DNS request to the domain
--   that you specify in <tt>FullyQualifiedDomainName</tt> at the interval
--   you specify in <tt>RequestInterval</tt> . Using an IPv4 address that
--   is returned by DNS, Amazon Route 53 then checks the health of the
--   endpoint. If you want to check the health of weighted, latency, or
--   failover resource record sets and you choose to specify the endpoint
--   only by <tt>FullyQualifiedDomainName</tt> , we recommend that you
--   create a separate health check for each endpoint. For example, create
--   a health check for each HTTP server that is serving content for
--   www.example.com. For the value of <tt>FullyQualifiedDomainName</tt> ,
--   specify the domain name of the server (such as
--   <tt>us-east-1-www.example.com</tt> ), not the name of the resource
--   record sets (www.example.com). <i>Important:</i> In this
--   configuration, if the value of <tt>FullyQualifiedDomainName</tt>
--   matches the name of the resource record sets and you then associate
--   the health check with those resource record sets, health check results
--   will be unpredictable. In addition, if the value of <tt>Type</tt> is
--   <tt>HTTP</tt> , <tt>HTTPS</tt> , <tt>HTTP_STR_MATCH</tt> , or
--   <tt>HTTPS_STR_MATCH</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt> header, as it
--   does when you specify a value for <tt>IPAddress</tt> . If the value of
--   <tt>Type</tt> is <tt>TCP</tt> , Amazon Route 53 doesn't pass a
--   <tt>Host</tt> header.
uhcFullyQualifiedDomainName :: Lens' UpdateHealthCheck (Maybe Text)

-- | A complex type that contains one <tt>ChildHealthCheck</tt> element for
--   each health check that you want to associate with a
--   <tt>CALCULATED</tt> health check.
uhcChildHealthChecks :: Lens' UpdateHealthCheck [Text]

-- | The port on the endpoint on which you want Amazon Route 53 to perform
--   health checks.
uhcPort :: Lens' UpdateHealthCheck (Maybe Natural)

-- | The ID for the health check for which you want detailed information.
--   When you created the health check, <tt>CreateHealthCheck</tt> returned
--   the ID in the response, in the <tt>HealthCheckId</tt> element.
uhcHealthCheckId :: Lens' UpdateHealthCheck Text

-- | Creates a value of <a>UpdateHealthCheckResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uhcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>uhcrsHealthCheck</a> - Undocumented member.</li>
--   </ul>
updateHealthCheckResponse :: Int -> HealthCheck -> UpdateHealthCheckResponse

-- | <i>See:</i> <a>updateHealthCheckResponse</a> smart constructor.
data UpdateHealthCheckResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
uhcrsResponseStatus :: Lens' UpdateHealthCheckResponse Int

-- | Undocumented member.
uhcrsHealthCheck :: Lens' UpdateHealthCheckResponse HealthCheck
instance GHC.Generics.Generic Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheckResponse
instance Data.Data.Data Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheckResponse
instance GHC.Show.Show Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheckResponse
instance GHC.Read.Read Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheckResponse
instance GHC.Classes.Eq Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheckResponse
instance GHC.Generics.Generic Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Data.Data.Data Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance GHC.Show.Show Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance GHC.Read.Read Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance GHC.Classes.Eq Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Data.Hashable.Class.Hashable Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Control.DeepSeq.NFData Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheck
instance Control.DeepSeq.NFData Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheckResponse


-- | Updates the hosted zone comment. Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>hostedzone/<i>hosted zone ID</i> </tt> resource.
module Network.AWS.Route53.UpdateHostedZoneComment

-- | Creates a value of <a>UpdateHostedZoneComment</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uhzcComment</a> - The new comment for the hosted zone. If you
--   don't specify a value for <tt>Comment</tt> , Amazon Route 53 deletes
--   the existing value of the <tt>Comment</tt> element, if any.</li>
--   <li><a>uhzcId</a> - The ID for the hosted zone for which you want to
--   update the comment.</li>
--   </ul>
updateHostedZoneComment :: ResourceId -> UpdateHostedZoneComment

-- | A complex type that contains the hosted zone request information.
--   
--   <i>See:</i> <a>updateHostedZoneComment</a> smart constructor.
data UpdateHostedZoneComment

-- | The new comment for the hosted zone. If you don't specify a value for
--   <tt>Comment</tt> , Amazon Route 53 deletes the existing value of the
--   <tt>Comment</tt> element, if any.
uhzcComment :: Lens' UpdateHostedZoneComment (Maybe Text)

-- | The ID for the hosted zone for which you want to update the comment.
uhzcId :: Lens' UpdateHostedZoneComment ResourceId

-- | Creates a value of <a>UpdateHostedZoneCommentResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uhzcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>uhzcrsHostedZone</a> - Undocumented member.</li>
--   </ul>
updateHostedZoneCommentResponse :: Int -> HostedZone -> UpdateHostedZoneCommentResponse

-- | A complex type that contains the response to the
--   UpdateHostedZoneCommentRequest.
--   
--   <i>See:</i> <a>updateHostedZoneCommentResponse</a> smart constructor.
data UpdateHostedZoneCommentResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
uhzcrsResponseStatus :: Lens' UpdateHostedZoneCommentResponse Int

-- | Undocumented member.
uhzcrsHostedZone :: Lens' UpdateHostedZoneCommentResponse HostedZone
instance GHC.Generics.Generic Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneCommentResponse
instance Data.Data.Data Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneCommentResponse
instance GHC.Show.Show Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneCommentResponse
instance GHC.Read.Read Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneCommentResponse
instance GHC.Classes.Eq Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneCommentResponse
instance GHC.Generics.Generic Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Data.Data.Data Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance GHC.Show.Show Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance GHC.Read.Read Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance GHC.Classes.Eq Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Data.Hashable.Class.Hashable Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Control.DeepSeq.NFData Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneComment
instance Control.DeepSeq.NFData Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneCommentResponse


-- | Updates the comment for a specified traffic policy version.
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>trafficpolicy/</tt> resource.
--   
--   The request body must include a document with an
--   <tt>UpdateTrafficPolicyCommentRequest</tt> element.
module Network.AWS.Route53.UpdateTrafficPolicyComment

-- | Creates a value of <a>UpdateTrafficPolicyComment</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>utpcId</a> - The value of <tt>Id</tt> for the traffic policy
--   for which you want to update the comment.</li>
--   <li><a>utpcVersion</a> - The value of <tt>Version</tt> for the traffic
--   policy for which you want to update the comment.</li>
--   <li><a>utpcComment</a> - The new comment for the specified traffic
--   policy and version.</li>
--   </ul>
updateTrafficPolicyComment :: Text -> Natural -> Text -> UpdateTrafficPolicyComment

-- | A complex type that contains information about the traffic policy for
--   which you want to update the comment.
--   
--   <i>See:</i> <a>updateTrafficPolicyComment</a> smart constructor.
data UpdateTrafficPolicyComment

-- | The value of <tt>Id</tt> for the traffic policy for which you want to
--   update the comment.
utpcId :: Lens' UpdateTrafficPolicyComment Text

-- | The value of <tt>Version</tt> for the traffic policy for which you
--   want to update the comment.
utpcVersion :: Lens' UpdateTrafficPolicyComment Natural

-- | The new comment for the specified traffic policy and version.
utpcComment :: Lens' UpdateTrafficPolicyComment Text

-- | Creates a value of <a>UpdateTrafficPolicyCommentResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>utpcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>utpcrsTrafficPolicy</a> - A complex type that contains settings
--   for the specified traffic policy.</li>
--   </ul>
updateTrafficPolicyCommentResponse :: Int -> TrafficPolicy -> UpdateTrafficPolicyCommentResponse

-- | A complex type that contains the response information for the traffic
--   policy.
--   
--   <i>See:</i> <a>updateTrafficPolicyCommentResponse</a> smart
--   constructor.
data UpdateTrafficPolicyCommentResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
utpcrsResponseStatus :: Lens' UpdateTrafficPolicyCommentResponse Int

-- | A complex type that contains settings for the specified traffic
--   policy.
utpcrsTrafficPolicy :: Lens' UpdateTrafficPolicyCommentResponse TrafficPolicy
instance GHC.Generics.Generic Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyCommentResponse
instance Data.Data.Data Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyCommentResponse
instance GHC.Show.Show Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyCommentResponse
instance GHC.Read.Read Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyCommentResponse
instance GHC.Classes.Eq Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyCommentResponse
instance GHC.Generics.Generic Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Data.Data.Data Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance GHC.Show.Show Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance GHC.Read.Read Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance GHC.Classes.Eq Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Data.Hashable.Class.Hashable Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Control.DeepSeq.NFData Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyComment
instance Control.DeepSeq.NFData Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyCommentResponse


-- | Updates the resource record sets in a specified hosted zone that were
--   created based on the settings in a specified traffic policy version.
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>trafficpolicyinstance/<i>traffic policy ID</i>
--   </tt> resource. The request body must include a document with an
--   <tt>UpdateTrafficPolicyInstanceRequest</tt> element.
--   
--   When you update a traffic policy instance, Amazon Route 53 continues
--   to respond to DNS queries for the root resource record set name (such
--   as example.com) while it replaces one group of resource record sets
--   with another. Amazon Route 53 performs the following operations:
--   
--   <ul>
--   <li>Amazon Route 53 creates a new group of resource record sets based
--   on the specified traffic policy. This is true regardless of how
--   substantial the differences are between the existing resource record
--   sets and the new resource record sets.</li>
--   <li>When all of the new resource record sets have been created, Amazon
--   Route 53 starts to respond to DNS queries for the root resource record
--   set name (such as example.com) by using the new resource record
--   sets.</li>
--   <li>Amazon Route 53 deletes the old group of resource record sets that
--   are associated with the root resource record set name.</li>
--   </ul>
module Network.AWS.Route53.UpdateTrafficPolicyInstance

-- | Creates a value of <a>UpdateTrafficPolicyInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>utpiId</a> - The ID of the traffic policy instance that you
--   want to update.</li>
--   <li><a>utpiTTL</a> - The TTL that you want Amazon Route 53 to assign
--   to all of the updated resource record sets.</li>
--   <li><a>utpiTrafficPolicyId</a> - The ID of the traffic policy that you
--   want Amazon Route 53 to use to update resource record sets for the
--   specified traffic policy instance.</li>
--   <li><a>utpiTrafficPolicyVersion</a> - The version of the traffic
--   policy that you want Amazon Route 53 to use to update resource record
--   sets for the specified traffic policy instance.</li>
--   </ul>
updateTrafficPolicyInstance :: Text -> Natural -> Text -> Natural -> UpdateTrafficPolicyInstance

-- | A complex type that contains information about the resource record
--   sets that you want to update based on a specified traffic policy
--   instance.
--   
--   <i>See:</i> <a>updateTrafficPolicyInstance</a> smart constructor.
data UpdateTrafficPolicyInstance

-- | The ID of the traffic policy instance that you want to update.
utpiId :: Lens' UpdateTrafficPolicyInstance Text

-- | The TTL that you want Amazon Route 53 to assign to all of the updated
--   resource record sets.
utpiTTL :: Lens' UpdateTrafficPolicyInstance Natural

-- | The ID of the traffic policy that you want Amazon Route 53 to use to
--   update resource record sets for the specified traffic policy instance.
utpiTrafficPolicyId :: Lens' UpdateTrafficPolicyInstance Text

-- | The version of the traffic policy that you want Amazon Route 53 to use
--   to update resource record sets for the specified traffic policy
--   instance.
utpiTrafficPolicyVersion :: Lens' UpdateTrafficPolicyInstance Natural

-- | Creates a value of <a>UpdateTrafficPolicyInstanceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>utpirsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>utpirsTrafficPolicyInstance</a> - A complex type that contains
--   settings for the updated traffic policy instance.</li>
--   </ul>
updateTrafficPolicyInstanceResponse :: Int -> TrafficPolicyInstance -> UpdateTrafficPolicyInstanceResponse

-- | A complex type that contains information about the resource record
--   sets that Amazon Route 53 created based on a specified traffic policy.
--   
--   <i>See:</i> <a>updateTrafficPolicyInstanceResponse</a> smart
--   constructor.
data UpdateTrafficPolicyInstanceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
utpirsResponseStatus :: Lens' UpdateTrafficPolicyInstanceResponse Int

-- | A complex type that contains settings for the updated traffic policy
--   instance.
utpirsTrafficPolicyInstance :: Lens' UpdateTrafficPolicyInstanceResponse TrafficPolicyInstance
instance GHC.Generics.Generic Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstanceResponse
instance Data.Data.Data Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstanceResponse
instance GHC.Show.Show Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstanceResponse
instance GHC.Read.Read Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstanceResponse
instance GHC.Classes.Eq Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstanceResponse
instance GHC.Generics.Generic Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Data.Data.Data Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance GHC.Show.Show Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance GHC.Read.Read Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance GHC.Classes.Eq Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Data.Hashable.Class.Hashable Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Control.DeepSeq.NFData Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstance
instance Control.DeepSeq.NFData Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstanceResponse


-- | Gets the number of traffic policy instances that are associated with
--   the current AWS account.
--   
--   To get the number of traffic policy instances, send a <tt>GET</tt>
--   request to the <tt><i>2013-04-01</i>trafficpolicyinstancecount</tt>
--   resource.
module Network.AWS.Route53.GetTrafficPolicyInstanceCount

-- | Creates a value of <a>GetTrafficPolicyInstanceCount</a> with the
--   minimum fields required to make a request.
getTrafficPolicyInstanceCount :: GetTrafficPolicyInstanceCount

-- | To retrieve a count of all your traffic policy instances, send a
--   <tt>GET</tt> request to the
--   <tt><i>2013-04-01</i>trafficpolicyinstancecount</tt> resource.
--   
--   <i>See:</i> <a>getTrafficPolicyInstanceCount</a> smart constructor.
data GetTrafficPolicyInstanceCount

-- | Creates a value of <a>GetTrafficPolicyInstanceCountResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gtpicrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gtpicrsTrafficPolicyInstanceCount</a> - The number of traffic
--   policy instances that are associated with the current AWS
--   account.</li>
--   </ul>
getTrafficPolicyInstanceCountResponse :: Int -> Int -> GetTrafficPolicyInstanceCountResponse

-- | A complex type that contains information about the resource record
--   sets that Amazon Route 53 created based on a specified traffic policy.
--   
--   <i>See:</i> <a>getTrafficPolicyInstanceCountResponse</a> smart
--   constructor.
data GetTrafficPolicyInstanceCountResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gtpicrsResponseStatus :: Lens' GetTrafficPolicyInstanceCountResponse Int

-- | The number of traffic policy instances that are associated with the
--   current AWS account.
gtpicrsTrafficPolicyInstanceCount :: Lens' GetTrafficPolicyInstanceCountResponse Int
instance GHC.Generics.Generic Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCountResponse
instance Data.Data.Data Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCountResponse
instance GHC.Show.Show Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCountResponse
instance GHC.Read.Read Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCountResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCountResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance Data.Data.Data Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance GHC.Show.Show Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance GHC.Read.Read Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance GHC.Classes.Eq Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance Control.DeepSeq.NFData Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCount
instance Control.DeepSeq.NFData Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCountResponse


-- | Gets information about a specified traffic policy instance.
--   
--   Send a <tt>GET</tt> request to the <tt>/<i>Amazon Route 53 API
--   version</i> /trafficpolicyinstance</tt> resource.
module Network.AWS.Route53.GetTrafficPolicyInstance

-- | Creates a value of <a>GetTrafficPolicyInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gtpiId</a> - The ID of the traffic policy instance that you
--   want to get information about.</li>
--   </ul>
getTrafficPolicyInstance :: Text -> GetTrafficPolicyInstance

-- | Gets information about a specified traffic policy instance.
--   
--   To get information about a traffic policy instance, send a
--   <tt>GET</tt> request to the <tt>/<i>Amazon Route 53 API version</i>
--   <i>trafficpolicyinstance</i><i>Id</i> </tt> resource.
--   
--   <i>See:</i> <a>getTrafficPolicyInstance</a> smart constructor.
data GetTrafficPolicyInstance

-- | The ID of the traffic policy instance that you want to get information
--   about.
gtpiId :: Lens' GetTrafficPolicyInstance Text

-- | Creates a value of <a>GetTrafficPolicyInstanceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gtpirsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gtpirsTrafficPolicyInstance</a> - A complex type that contains
--   settings for the traffic policy instance.</li>
--   </ul>
getTrafficPolicyInstanceResponse :: Int -> TrafficPolicyInstance -> GetTrafficPolicyInstanceResponse

-- | A complex type that contains information about the resource record
--   sets that Amazon Route 53 created based on a specified traffic policy.
--   
--   <i>See:</i> <a>getTrafficPolicyInstanceResponse</a> smart constructor.
data GetTrafficPolicyInstanceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gtpirsResponseStatus :: Lens' GetTrafficPolicyInstanceResponse Int

-- | A complex type that contains settings for the traffic policy instance.
gtpirsTrafficPolicyInstance :: Lens' GetTrafficPolicyInstanceResponse TrafficPolicyInstance
instance GHC.Generics.Generic Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstanceResponse
instance Data.Data.Data Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstanceResponse
instance GHC.Show.Show Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstanceResponse
instance GHC.Read.Read Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstanceResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstanceResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance Data.Data.Data Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance GHC.Show.Show Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance GHC.Read.Read Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance GHC.Classes.Eq Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance Control.DeepSeq.NFData Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstance
instance Control.DeepSeq.NFData Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstanceResponse


-- | Gets information about a specific traffic policy version.
--   
--   Send a <tt>GET</tt> request to the <tt>/<i>Amazon Route 53 API
--   version</i> /trafficpolicy</tt> resource.
module Network.AWS.Route53.GetTrafficPolicy

-- | Creates a value of <a>GetTrafficPolicy</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gtpId</a> - The ID of the traffic policy that you want to get
--   information about.</li>
--   <li><a>gtpVersion</a> - The version number of the traffic policy that
--   you want to get information about.</li>
--   </ul>
getTrafficPolicy :: Text -> Natural -> GetTrafficPolicy

-- | Gets information about a specific traffic policy version. To get the
--   information, send a GET request to the <i>2013-04-01</i>trafficpolicy
--   resource, and specify the ID and the version of the traffic policy.
--   
--   <i>See:</i> <a>getTrafficPolicy</a> smart constructor.
data GetTrafficPolicy

-- | The ID of the traffic policy that you want to get information about.
gtpId :: Lens' GetTrafficPolicy Text

-- | The version number of the traffic policy that you want to get
--   information about.
gtpVersion :: Lens' GetTrafficPolicy Natural

-- | Creates a value of <a>GetTrafficPolicyResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gtprsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gtprsTrafficPolicy</a> - A complex type that contains settings
--   for the specified traffic policy.</li>
--   </ul>
getTrafficPolicyResponse :: Int -> TrafficPolicy -> GetTrafficPolicyResponse

-- | A complex type that contains the response information for the request.
--   
--   <i>See:</i> <a>getTrafficPolicyResponse</a> smart constructor.
data GetTrafficPolicyResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gtprsResponseStatus :: Lens' GetTrafficPolicyResponse Int

-- | A complex type that contains settings for the specified traffic
--   policy.
gtprsTrafficPolicy :: Lens' GetTrafficPolicyResponse TrafficPolicy
instance GHC.Generics.Generic Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicyResponse
instance Data.Data.Data Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicyResponse
instance GHC.Show.Show Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicyResponse
instance GHC.Read.Read Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicyResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicyResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance Data.Data.Data Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance GHC.Show.Show Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance GHC.Read.Read Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance GHC.Classes.Eq Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance Control.DeepSeq.NFData Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicy
instance Control.DeepSeq.NFData Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicyResponse


-- | Retrieves the reusable delegation set. Send a <tt>GET</tt> request to
--   the <tt><i>2013-04-01</i>delegationset/<i>delegation set ID</i> </tt>
--   resource.
module Network.AWS.Route53.GetReusableDelegationSet

-- | Creates a value of <a>GetReusableDelegationSet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>grdsId</a> - The ID of the reusable delegation set for which
--   you want to get a list of the name server.</li>
--   </ul>
getReusableDelegationSet :: ResourceId -> GetReusableDelegationSet

-- | The input for a <tt>GetReusableDelegationSet</tt> request.
--   
--   <i>See:</i> <a>getReusableDelegationSet</a> smart constructor.
data GetReusableDelegationSet

-- | The ID of the reusable delegation set for which you want to get a list
--   of the name server.
grdsId :: Lens' GetReusableDelegationSet ResourceId

-- | Creates a value of <a>GetReusableDelegationSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>grdsrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>grdsrsDelegationSet</a> - A complex type that contains
--   information about the reusable delegation set.</li>
--   </ul>
getReusableDelegationSetResponse :: Int -> DelegationSet -> GetReusableDelegationSetResponse

-- | A complex type that contains the response to the
--   <tt>GetReusableDelegationSet</tt> request.
--   
--   <i>See:</i> <a>getReusableDelegationSetResponse</a> smart constructor.
data GetReusableDelegationSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
grdsrsResponseStatus :: Lens' GetReusableDelegationSetResponse Int

-- | A complex type that contains information about the reusable delegation
--   set.
grdsrsDelegationSet :: Lens' GetReusableDelegationSetResponse DelegationSet
instance GHC.Generics.Generic Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSetResponse
instance Data.Data.Data Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSetResponse
instance GHC.Show.Show Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSetResponse
instance GHC.Read.Read Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSetResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSetResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance Data.Data.Data Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance GHC.Show.Show Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance GHC.Read.Read Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance GHC.Classes.Eq Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance Control.DeepSeq.NFData Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSet
instance Control.DeepSeq.NFData Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSetResponse


-- | Retrieves a count of all your hosted zones. Send a <tt>GET</tt>
--   request to the <tt><i>2013-04-01</i>hostedzonecount</tt> resource.
module Network.AWS.Route53.GetHostedZoneCount

-- | Creates a value of <a>GetHostedZoneCount</a> with the minimum fields
--   required to make a request.
getHostedZoneCount :: GetHostedZoneCount

-- | To retrieve a count of all your hosted zones, send a <tt>GET</tt>
--   request to the <tt><i>2013-04-01</i>hostedzonecount</tt> resource.
--   
--   <i>See:</i> <a>getHostedZoneCount</a> smart constructor.
data GetHostedZoneCount

-- | Creates a value of <a>GetHostedZoneCountResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghzcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ghzcrsHostedZoneCount</a> - The total number of public and
--   private hosted zones associated with the current AWS account.</li>
--   </ul>
getHostedZoneCountResponse :: Int -> Integer -> GetHostedZoneCountResponse

-- | A complex type that contains the response to a
--   <tt>hostedzonecount</tt> request.
--   
--   <i>See:</i> <a>getHostedZoneCountResponse</a> smart constructor.
data GetHostedZoneCountResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ghzcrsResponseStatus :: Lens' GetHostedZoneCountResponse Int

-- | The total number of public and private hosted zones associated with
--   the current AWS account.
ghzcrsHostedZoneCount :: Lens' GetHostedZoneCountResponse Integer
instance GHC.Generics.Generic Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCountResponse
instance Data.Data.Data Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCountResponse
instance GHC.Show.Show Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCountResponse
instance GHC.Read.Read Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCountResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCountResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance Data.Data.Data Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance GHC.Show.Show Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance GHC.Read.Read Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance GHC.Classes.Eq Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCount
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCountResponse


-- | Retrieves the delegation set for a hosted zone, including the four
--   name servers assigned to the hosted zone. Send a <tt>GET</tt> request
--   to the <tt>/<i>Amazon Route 53 API version</i>
--   <i>hostedzone</i><i>hosted zone ID</i> </tt> resource.
module Network.AWS.Route53.GetHostedZone

-- | Creates a value of <a>GetHostedZone</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghzId</a> - The ID of the hosted zone for which you want to get
--   a list of the name servers in the delegation set.</li>
--   </ul>
getHostedZone :: ResourceId -> GetHostedZone

-- | The input for a GetHostedZone request.
--   
--   <i>See:</i> <a>getHostedZone</a> smart constructor.
data GetHostedZone

-- | The ID of the hosted zone for which you want to get a list of the name
--   servers in the delegation set.
ghzId :: Lens' GetHostedZone ResourceId

-- | Creates a value of <a>GetHostedZoneResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghzrsVPCs</a> - A complex type that contains information about
--   VPCs associated with the specified hosted zone.</li>
--   <li><a>ghzrsDelegationSet</a> - A complex type that describes the name
--   servers for this hosted zone.</li>
--   <li><a>ghzrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ghzrsHostedZone</a> - A complex type that contains general
--   information about the hosted zone.</li>
--   </ul>
getHostedZoneResponse :: Int -> HostedZone -> GetHostedZoneResponse

-- | A complex type containing the response information for the hosted
--   zone.
--   
--   <i>See:</i> <a>getHostedZoneResponse</a> smart constructor.
data GetHostedZoneResponse

-- | A complex type that contains information about VPCs associated with
--   the specified hosted zone.
ghzrsVPCs :: Lens' GetHostedZoneResponse (Maybe (NonEmpty VPC))

-- | A complex type that describes the name servers for this hosted zone.
ghzrsDelegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ghzrsResponseStatus :: Lens' GetHostedZoneResponse Int

-- | A complex type that contains general information about the hosted
--   zone.
ghzrsHostedZone :: Lens' GetHostedZoneResponse HostedZone
instance GHC.Generics.Generic Network.AWS.Route53.GetHostedZone.GetHostedZoneResponse
instance Data.Data.Data Network.AWS.Route53.GetHostedZone.GetHostedZoneResponse
instance GHC.Show.Show Network.AWS.Route53.GetHostedZone.GetHostedZoneResponse
instance GHC.Read.Read Network.AWS.Route53.GetHostedZone.GetHostedZoneResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetHostedZone.GetHostedZoneResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetHostedZone.GetHostedZone
instance Data.Data.Data Network.AWS.Route53.GetHostedZone.GetHostedZone
instance GHC.Show.Show Network.AWS.Route53.GetHostedZone.GetHostedZone
instance GHC.Read.Read Network.AWS.Route53.GetHostedZone.GetHostedZone
instance GHC.Classes.Eq Network.AWS.Route53.GetHostedZone.GetHostedZone
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetHostedZone.GetHostedZone
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetHostedZone.GetHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHostedZone.GetHostedZone
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetHostedZone.GetHostedZone
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetHostedZone.GetHostedZone
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetHostedZone.GetHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHostedZone.GetHostedZoneResponse


-- | Gets status of a specified health check. Send a <tt>GET</tt> request
--   to the <tt><i>2013-04-01</i>healthcheck/<i>health check ID</i>
--   /status</tt> resource. You can use this call to get a health check's
--   current status.
module Network.AWS.Route53.GetHealthCheckStatus

-- | Creates a value of <a>GetHealthCheckStatus</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghcsHealthCheckId</a> - If you want Amazon Route 53 to return
--   this resource record set in response to a DNS query only when a health
--   check is passing, include the <tt>HealthCheckId</tt> element and
--   specify the ID of the applicable health check. Amazon Route 53
--   determines whether a resource record set is healthy by periodically
--   sending a request to the endpoint that is specified in the health
--   check. If that endpoint returns an HTTP status code of 2xx or 3xx, the
--   endpoint is healthy. If the endpoint returns an HTTP status code of
--   400 or greater, or if the endpoint doesn't respond for a certain
--   amount of time, Amazon Route 53 considers the endpoint unhealthy and
--   also considers the resource record set unhealthy. The
--   <tt>HealthCheckId</tt> element is only useful when Amazon Route 53 is
--   choosing between two or more resource record sets to respond to a DNS
--   query, and you want Amazon Route 53 to base the choice in part on the
--   status of a health check. Configuring health checks only makes sense
--   in the following configurations: * You're checking the health of the
--   resource record sets in a weighted, latency, geolocation, or failover
--   resource record set, and you specify health check IDs for all of the
--   resource record sets. If the health check for one resource record set
--   specifies an endpoint that is not healthy, Amazon Route 53 stops
--   responding to queries using the value for that resource record set. *
--   You set <tt>EvaluateTargetHealth</tt> to <tt>true</tt> for the
--   resource record sets in an alias, weighted alias, latency alias,
--   geolocation alias, or failover alias resource record set, and you
--   specify health check IDs for all of the resource record sets that are
--   referenced by the alias resource record sets. For more information
--   about this configuration, see <tt>EvaluateTargetHealth</tt> . Amazon
--   Route 53 doesn't check the health of the endpoint specified in the
--   resource record set, for example, the endpoint specified by the IP
--   address in the <tt>Value</tt> element. When you add a
--   <tt>HealthCheckId</tt> element to a resource record set, Amazon Route
--   53 checks the health of the endpoint that you specified in the health
--   check. For geolocation resource record sets, if an endpoint is
--   unhealthy, Amazon Route 53 looks for a resource record set for the
--   larger, associated geographic region. For example, suppose you have
--   resource record sets for a state in the United States, for the United
--   States, for North America, and for all locations. If the endpoint for
--   the state resource record set is unhealthy, Amazon Route 53 checks the
--   resource record sets for the United States, for North America, and for
--   all locations (a resource record set for which the value of
--   CountryCode is <tt>*</tt> ), in that order, until it finds a resource
--   record set for which the endpoint is healthy. If your health checks
--   specify the endpoint only by domain name, we recommend that you create
--   a separate health check for each endpoint. For example, create a
--   health check for each HTTP server that is serving content for
--   www.example.com. For the value of <tt>FullyQualifiedDomainName</tt> ,
--   specify the domain name of the server (such as
--   <tt>us-east-1-www.example.com</tt> ), not the name of the resource
--   record sets (example.com). <i>Important:</i> In this configuration, if
--   you create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and then associate the health check with those resource
--   record sets, health check results will be unpredictable.</li>
--   </ul>
getHealthCheckStatus :: Text -> GetHealthCheckStatus

-- | A complex type that contains information about the request to get
--   health check status for a health check.
--   
--   <i>See:</i> <a>getHealthCheckStatus</a> smart constructor.
data GetHealthCheckStatus

-- | If you want Amazon Route 53 to return this resource record set in
--   response to a DNS query only when a health check is passing, include
--   the <tt>HealthCheckId</tt> element and specify the ID of the
--   applicable health check. Amazon Route 53 determines whether a resource
--   record set is healthy by periodically sending a request to the
--   endpoint that is specified in the health check. If that endpoint
--   returns an HTTP status code of 2xx or 3xx, the endpoint is healthy. If
--   the endpoint returns an HTTP status code of 400 or greater, or if the
--   endpoint doesn't respond for a certain amount of time, Amazon Route 53
--   considers the endpoint unhealthy and also considers the resource
--   record set unhealthy. The <tt>HealthCheckId</tt> element is only
--   useful when Amazon Route 53 is choosing between two or more resource
--   record sets to respond to a DNS query, and you want Amazon Route 53 to
--   base the choice in part on the status of a health check. Configuring
--   health checks only makes sense in the following configurations: *
--   You're checking the health of the resource record sets in a weighted,
--   latency, geolocation, or failover resource record set, and you specify
--   health check IDs for all of the resource record sets. If the health
--   check for one resource record set specifies an endpoint that is not
--   healthy, Amazon Route 53 stops responding to queries using the value
--   for that resource record set. * You set <tt>EvaluateTargetHealth</tt>
--   to <tt>true</tt> for the resource record sets in an alias, weighted
--   alias, latency alias, geolocation alias, or failover alias resource
--   record set, and you specify health check IDs for all of the resource
--   record sets that are referenced by the alias resource record sets. For
--   more information about this configuration, see
--   <tt>EvaluateTargetHealth</tt> . Amazon Route 53 doesn't check the
--   health of the endpoint specified in the resource record set, for
--   example, the endpoint specified by the IP address in the
--   <tt>Value</tt> element. When you add a <tt>HealthCheckId</tt> element
--   to a resource record set, Amazon Route 53 checks the health of the
--   endpoint that you specified in the health check. For geolocation
--   resource record sets, if an endpoint is unhealthy, Amazon Route 53
--   looks for a resource record set for the larger, associated geographic
--   region. For example, suppose you have resource record sets for a state
--   in the United States, for the United States, for North America, and
--   for all locations. If the endpoint for the state resource record set
--   is unhealthy, Amazon Route 53 checks the resource record sets for the
--   United States, for North America, and for all locations (a resource
--   record set for which the value of CountryCode is <tt>*</tt> ), in that
--   order, until it finds a resource record set for which the endpoint is
--   healthy. If your health checks specify the endpoint only by domain
--   name, we recommend that you create a separate health check for each
--   endpoint. For example, create a health check for each HTTP server that
--   is serving content for www.example.com. For the value of
--   <tt>FullyQualifiedDomainName</tt> , specify the domain name of the
--   server (such as <tt>us-east-1-www.example.com</tt> ), not the name of
--   the resource record sets (example.com). <i>Important:</i> In this
--   configuration, if you create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and then associate the health check with those resource
--   record sets, health check results will be unpredictable.
ghcsHealthCheckId :: Lens' GetHealthCheckStatus Text

-- | Creates a value of <a>GetHealthCheckStatusResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghcsrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ghcsrsHealthCheckObservations</a> - A list that contains one
--   <tt>HealthCheckObservation</tt> element for each Amazon Route 53
--   health checker that is reporting a status about the health check
--   endpoint.</li>
--   </ul>
getHealthCheckStatusResponse :: Int -> GetHealthCheckStatusResponse

-- | A complex type that contains the response to a <tt>GetHealthCheck</tt>
--   request.
--   
--   <i>See:</i> <a>getHealthCheckStatusResponse</a> smart constructor.
data GetHealthCheckStatusResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ghcsrsResponseStatus :: Lens' GetHealthCheckStatusResponse Int

-- | A list that contains one <tt>HealthCheckObservation</tt> element for
--   each Amazon Route 53 health checker that is reporting a status about
--   the health check endpoint.
ghcsrsHealthCheckObservations :: Lens' GetHealthCheckStatusResponse [HealthCheckObservation]
instance GHC.Generics.Generic Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatusResponse
instance Data.Data.Data Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatusResponse
instance GHC.Show.Show Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatusResponse
instance GHC.Read.Read Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatusResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatusResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance Data.Data.Data Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance GHC.Show.Show Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance GHC.Read.Read Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance GHC.Classes.Eq Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatus
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatusResponse


-- | If you want to learn why a health check is currently failing or why it
--   failed most recently (if at all), you can get the failure reason for
--   the most recent failure. Send a <tt>GET</tt> request to the
--   <tt>/<i>Amazon Route 53 API version</i> <i>healthcheck</i><i>health
--   check ID</i> /lastfailurereason</tt> resource.
module Network.AWS.Route53.GetHealthCheckLastFailureReason

-- | Creates a value of <a>GetHealthCheckLastFailureReason</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghclfrHealthCheckId</a> - The ID for the health check for which
--   you want the last failure reason. When you created the health check,
--   <tt>CreateHealthCheck</tt> returned the ID in the response, in the
--   <tt>HealthCheckId</tt> element.</li>
--   </ul>
getHealthCheckLastFailureReason :: Text -> GetHealthCheckLastFailureReason

-- | This action gets the reason that a specified health check failed most
--   recently.
--   
--   To get the reason for the last failure of a health check, send a GET
--   request to the <i>2013-04-01</i>healthcheck<i>health check
--   ID</i>lastfailurereason resource.
--   
--   For information about viewing the last failure reason for a health
--   check using the Amazon Route 53 console, see <a>Viewing Health Check
--   Status and the Reason for Health Check Failures</a> in the <i>Amazon
--   Route 53 Developer Guide</i> .
--   
--   <i>See:</i> <a>getHealthCheckLastFailureReason</a> smart constructor.
data GetHealthCheckLastFailureReason

-- | The ID for the health check for which you want the last failure
--   reason. When you created the health check, <tt>CreateHealthCheck</tt>
--   returned the ID in the response, in the <tt>HealthCheckId</tt>
--   element.
ghclfrHealthCheckId :: Lens' GetHealthCheckLastFailureReason Text

-- | Creates a value of <a>GetHealthCheckLastFailureReasonResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghclfrrsResponseStatus</a> - -- | The response status
--   code.</li>
--   <li><a>ghclfrrsHealthCheckObservations</a> - A list that contains one
--   <tt>Observation</tt> element for each Amazon Route 53 health checker
--   that is reporting a last failure reason.</li>
--   </ul>
getHealthCheckLastFailureReasonResponse :: Int -> GetHealthCheckLastFailureReasonResponse

-- | A complex type that contains the response to a
--   <tt>GetHealthCheckLastFailureReason</tt> request.
--   
--   <i>See:</i> <a>getHealthCheckLastFailureReasonResponse</a> smart
--   constructor.
data GetHealthCheckLastFailureReasonResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ghclfrrsResponseStatus :: Lens' GetHealthCheckLastFailureReasonResponse Int

-- | A list that contains one <tt>Observation</tt> element for each Amazon
--   Route 53 health checker that is reporting a last failure reason.
ghclfrrsHealthCheckObservations :: Lens' GetHealthCheckLastFailureReasonResponse [HealthCheckObservation]
instance GHC.Generics.Generic Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReasonResponse
instance Data.Data.Data Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReasonResponse
instance GHC.Show.Show Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReasonResponse
instance GHC.Read.Read Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReasonResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReasonResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance Data.Data.Data Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance GHC.Show.Show Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance GHC.Read.Read Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance GHC.Classes.Eq Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReason
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReasonResponse


-- | To retrieve a count of all your health checks, send a <tt>GET</tt>
--   request to the <tt><i>2013-04-01</i>healthcheckcount</tt> resource.
module Network.AWS.Route53.GetHealthCheckCount

-- | Creates a value of <a>GetHealthCheckCount</a> with the minimum fields
--   required to make a request.
getHealthCheckCount :: GetHealthCheckCount

-- | To retrieve a count of all your health checks, send a <tt>GET</tt>
--   request to the <tt><i>2013-04-01</i>healthcheckcount</tt> resource.
--   
--   <i>See:</i> <a>getHealthCheckCount</a> smart constructor.
data GetHealthCheckCount

-- | Creates a value of <a>GetHealthCheckCountResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghccrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ghccrsHealthCheckCount</a> - The number of health checks
--   associated with the current AWS account.</li>
--   </ul>
getHealthCheckCountResponse :: Int -> Integer -> GetHealthCheckCountResponse

-- | A complex type that contains the response to a
--   <tt>healthcheckcount</tt> request.
--   
--   <i>See:</i> <a>getHealthCheckCountResponse</a> smart constructor.
data GetHealthCheckCountResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ghccrsResponseStatus :: Lens' GetHealthCheckCountResponse Int

-- | The number of health checks associated with the current AWS account.
ghccrsHealthCheckCount :: Lens' GetHealthCheckCountResponse Integer
instance GHC.Generics.Generic Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCountResponse
instance Data.Data.Data Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCountResponse
instance GHC.Show.Show Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCountResponse
instance GHC.Read.Read Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCountResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCountResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance Data.Data.Data Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance GHC.Show.Show Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance GHC.Read.Read Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance GHC.Classes.Eq Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCount
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCountResponse


-- | Gets information about a specified health check. Send a <tt>GET</tt>
--   request to the <tt><i>2013-04-01</i>healthcheck/<i>health check ID</i>
--   </tt> resource. For more information about using the console to
--   perform this operation, see <a>Amazon Route 53 Health Checks and DNS
--   Failover</a> in the Amazon Route 53 Developer Guide.
module Network.AWS.Route53.GetHealthCheck

-- | Creates a value of <a>GetHealthCheck</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghcHealthCheckId</a> - The identifier that Amazon Route 53
--   assigned to the health check when you created it. When you add or
--   update a resource record set, you use this value to specify which
--   health check to use. The value can be up to 64 characters long.</li>
--   </ul>
getHealthCheck :: Text -> GetHealthCheck

-- | This action gets information about a specified health check.
--   
--   Send a <tt>GET</tt> request to the <tt>/<i>Amazon Route 53 API
--   version</i> /gethealthcheckrequest</tt> resource.
--   
--   For information about getting information about a health check using
--   the Amazon Route 53 console, see <a>Amazon Route 53 Health Checks and
--   DNS Failover</a> in the <i>Amazon Route 53 Developer Guide</i> .
--   
--   <i>See:</i> <a>getHealthCheck</a> smart constructor.
data GetHealthCheck

-- | The identifier that Amazon Route 53 assigned to the health check when
--   you created it. When you add or update a resource record set, you use
--   this value to specify which health check to use. The value can be up
--   to 64 characters long.
ghcHealthCheckId :: Lens' GetHealthCheck Text

-- | Creates a value of <a>GetHealthCheckResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ghcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ghcrsHealthCheck</a> - A complex type that contains information
--   about one health check that is associated with the current AWS
--   account.</li>
--   </ul>
getHealthCheckResponse :: Int -> HealthCheck -> GetHealthCheckResponse

-- | A complex type that contains the response to a <tt>GetHealthCheck</tt>
--   request.
--   
--   <i>See:</i> <a>getHealthCheckResponse</a> smart constructor.
data GetHealthCheckResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ghcrsResponseStatus :: Lens' GetHealthCheckResponse Int

-- | A complex type that contains information about one health check that
--   is associated with the current AWS account.
ghcrsHealthCheck :: Lens' GetHealthCheckResponse HealthCheck
instance GHC.Generics.Generic Network.AWS.Route53.GetHealthCheck.GetHealthCheckResponse
instance Data.Data.Data Network.AWS.Route53.GetHealthCheck.GetHealthCheckResponse
instance GHC.Show.Show Network.AWS.Route53.GetHealthCheck.GetHealthCheckResponse
instance GHC.Read.Read Network.AWS.Route53.GetHealthCheck.GetHealthCheckResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetHealthCheck.GetHealthCheckResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance Data.Data.Data Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance GHC.Show.Show Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance GHC.Read.Read Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance GHC.Classes.Eq Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetHealthCheck.GetHealthCheck
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheck.GetHealthCheckResponse


-- | Retrieves a single geo location. Send a <tt>GET</tt> request to the
--   <tt><i>2013-04-01</i>geolocation</tt> resource with one of these
--   options: continentcode | countrycode | countrycode and
--   subdivisioncode.
module Network.AWS.Route53.GetGeoLocation

-- | Creates a value of <a>GetGeoLocation</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gglSubdivisionCode</a> - Amazon Route 53 uses the one- to
--   three-letter subdivision codes that are specified in <a>ISO standard
--   3166-1 alpha-2</a> . Amazon Route 53 doesn't support subdivision codes
--   for all countries. If you specify <tt>SubdivisionCode</tt> , you must
--   also specify <tt>CountryCode</tt> .</li>
--   <li><a>gglCountryCode</a> - Amazon Route 53 uses the two-letter
--   country codes that are specified in <a>ISO standard 3166-1 alpha-2</a>
--   .</li>
--   <li><a>gglContinentCode</a> - Amazon Route 53 supports the following
--   continent codes: * <b>AF</b> : Africa * <b>AN</b> : Antarctica *
--   <b>AS</b> : Asia * <b>EU</b> : Europe * <b>OC</b> : Oceania *
--   <b>NA</b> : North America * <b>SA</b> : South America</li>
--   </ul>
getGeoLocation :: GetGeoLocation

-- | A complex type that contains information about the request to get a
--   geo location.
--   
--   <i>See:</i> <a>getGeoLocation</a> smart constructor.
data GetGeoLocation

-- | Amazon Route 53 uses the one- to three-letter subdivision codes that
--   are specified in <a>ISO standard 3166-1 alpha-2</a> . Amazon Route 53
--   doesn't support subdivision codes for all countries. If you specify
--   <tt>SubdivisionCode</tt> , you must also specify <tt>CountryCode</tt>
--   .
gglSubdivisionCode :: Lens' GetGeoLocation (Maybe Text)

-- | Amazon Route 53 uses the two-letter country codes that are specified
--   in <a>ISO standard 3166-1 alpha-2</a> .
gglCountryCode :: Lens' GetGeoLocation (Maybe Text)

-- | Amazon Route 53 supports the following continent codes: * <b>AF</b> :
--   Africa * <b>AN</b> : Antarctica * <b>AS</b> : Asia * <b>EU</b> :
--   Europe * <b>OC</b> : Oceania * <b>NA</b> : North America * <b>SA</b> :
--   South America
gglContinentCode :: Lens' GetGeoLocation (Maybe Text)

-- | Creates a value of <a>GetGeoLocationResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gglrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gglrsGeoLocationDetails</a> - A complex type that contains the
--   codes and full continent, country, and subdivision names for the
--   specified geolocation code.</li>
--   </ul>
getGeoLocationResponse :: Int -> GeoLocationDetails -> GetGeoLocationResponse

-- | A complex type that contains the response information for the
--   specified geolocation code.
--   
--   <i>See:</i> <a>getGeoLocationResponse</a> smart constructor.
data GetGeoLocationResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gglrsResponseStatus :: Lens' GetGeoLocationResponse Int

-- | A complex type that contains the codes and full continent, country,
--   and subdivision names for the specified geolocation code.
gglrsGeoLocationDetails :: Lens' GetGeoLocationResponse GeoLocationDetails
instance GHC.Generics.Generic Network.AWS.Route53.GetGeoLocation.GetGeoLocationResponse
instance Data.Data.Data Network.AWS.Route53.GetGeoLocation.GetGeoLocationResponse
instance GHC.Show.Show Network.AWS.Route53.GetGeoLocation.GetGeoLocationResponse
instance GHC.Read.Read Network.AWS.Route53.GetGeoLocation.GetGeoLocationResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetGeoLocation.GetGeoLocationResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance Data.Data.Data Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance GHC.Show.Show Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance GHC.Read.Read Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance GHC.Classes.Eq Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance Control.DeepSeq.NFData Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetGeoLocation.GetGeoLocation
instance Control.DeepSeq.NFData Network.AWS.Route53.GetGeoLocation.GetGeoLocationResponse


-- | Retrieves a list of the IP ranges used by Amazon Route 53 health
--   checkers to check the health of your resources. Send a <tt>GET</tt>
--   request to the <tt>/<i>Amazon Route 53 API version</i>
--   /checkeripranges</tt> resource. Use these IP addresses to configure
--   router and firewall rules to allow health checkers to check the health
--   of your resources.
module Network.AWS.Route53.GetCheckerIPRanges

-- | Creates a value of <a>GetCheckerIPRanges</a> with the minimum fields
--   required to make a request.
getCheckerIPRanges :: GetCheckerIPRanges

-- | Empty request.
--   
--   <i>See:</i> <a>getCheckerIPRanges</a> smart constructor.
data GetCheckerIPRanges

-- | Creates a value of <a>GetCheckerIPRangesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gcirrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gcirrsCheckerIPRanges</a> - A complex type that contains sorted
--   list of IP ranges in CIDR format for Amazon Route 53 health
--   checkers.</li>
--   </ul>
getCheckerIPRangesResponse :: Int -> GetCheckerIPRangesResponse

-- | A complex type that contains the <tt>CheckerIpRanges</tt> element.
--   
--   <i>See:</i> <a>getCheckerIPRangesResponse</a> smart constructor.
data GetCheckerIPRangesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gcirrsResponseStatus :: Lens' GetCheckerIPRangesResponse Int

-- | A complex type that contains sorted list of IP ranges in CIDR format
--   for Amazon Route 53 health checkers.
gcirrsCheckerIPRanges :: Lens' GetCheckerIPRangesResponse [Text]
instance GHC.Generics.Generic Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRangesResponse
instance Data.Data.Data Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRangesResponse
instance GHC.Show.Show Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRangesResponse
instance GHC.Read.Read Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRangesResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRangesResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance Data.Data.Data Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance GHC.Show.Show Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance GHC.Read.Read Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance GHC.Classes.Eq Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance Control.DeepSeq.NFData Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRanges
instance Control.DeepSeq.NFData Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRangesResponse


-- | Returns the current status of a change batch request. The status is
--   one of the following values:
--   
--   <ul>
--   <li><tt>PENDING</tt> indicates that the changes in this request have
--   not replicated to all Amazon Route 53 DNS servers. This is the initial
--   status of all change batch requests.</li>
--   <li><tt>INSYNC</tt> indicates that the changes have replicated to all
--   Amazon Route 53 DNS servers.</li>
--   </ul>
module Network.AWS.Route53.GetChange

-- | Creates a value of <a>GetChange</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gcId</a> - The ID of the change batch request. The value that
--   you specify here is the value that <tt>ChangeResourceRecordSets</tt>
--   returned in the Id element when you submitted the request.</li>
--   </ul>
getChange :: ResourceId -> GetChange

-- | The input for a GetChange request.
--   
--   <i>See:</i> <a>getChange</a> smart constructor.
data GetChange

-- | The ID of the change batch request. The value that you specify here is
--   the value that <tt>ChangeResourceRecordSets</tt> returned in the Id
--   element when you submitted the request.
gcId :: Lens' GetChange ResourceId

-- | Creates a value of <a>GetChangeResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gcrsChangeInfo</a> - A complex type that contains information
--   about the specified change batch.</li>
--   </ul>
getChangeResponse :: Int -> ChangeInfo -> GetChangeResponse

-- | A complex type that contains the <tt>ChangeInfo</tt> element.
--   
--   <i>See:</i> <a>getChangeResponse</a> smart constructor.
data GetChangeResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gcrsResponseStatus :: Lens' GetChangeResponse Int

-- | A complex type that contains information about the specified change
--   batch.
gcrsChangeInfo :: Lens' GetChangeResponse ChangeInfo
instance GHC.Generics.Generic Network.AWS.Route53.GetChange.GetChangeResponse
instance Data.Data.Data Network.AWS.Route53.GetChange.GetChangeResponse
instance GHC.Show.Show Network.AWS.Route53.GetChange.GetChangeResponse
instance GHC.Read.Read Network.AWS.Route53.GetChange.GetChangeResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetChange.GetChangeResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetChange.GetChange
instance Data.Data.Data Network.AWS.Route53.GetChange.GetChange
instance GHC.Show.Show Network.AWS.Route53.GetChange.GetChange
instance GHC.Read.Read Network.AWS.Route53.GetChange.GetChange
instance GHC.Classes.Eq Network.AWS.Route53.GetChange.GetChange
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetChange.GetChange
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetChange.GetChange
instance Control.DeepSeq.NFData Network.AWS.Route53.GetChange.GetChange
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetChange.GetChange
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetChange.GetChange
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetChange.GetChange
instance Control.DeepSeq.NFData Network.AWS.Route53.GetChange.GetChangeResponse


module Network.AWS.Route53.Waiters

-- | Polls <a>GetChange</a> every 30 seconds until a successful state is
--   reached. An error is returned after 60 failed checks.
resourceRecordSetsChanged :: Wait GetChange


-- | Disassociates a VPC from a Amazon Route 53 private hosted zone.
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>hostedzone/<i>hosted zone ID</i>
--   /disassociatevpc</tt> resource. The request body must include a
--   document with a <tt>DisassociateVPCFromHostedZoneRequest</tt> element.
--   The response includes a <tt>DisassociateVPCFromHostedZoneResponse</tt>
--   element.
--   
--   <i>Important:</i> You can't disassociate a VPC from a private hosted
--   zone when only one VPC is associated with the hosted zone. You also
--   can't convert a private hosted zone into a public hosted zone.
module Network.AWS.Route53.DisassociateVPCFromHostedZone

-- | Creates a value of <a>DisassociateVPCFromHostedZone</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dvfhzComment</a> - <i>Optional:</i> A comment about the
--   disassociation request.</li>
--   <li><a>dvfhzHostedZoneId</a> - The ID of the private hosted zone that
--   you want to disassociate a VPC from.</li>
--   <li><a>dvfhzVPC</a> - A complex type that contains information about
--   the VPC that you're disassociating from the specified hosted
--   zone.</li>
--   </ul>
disassociateVPCFromHostedZone :: ResourceId -> VPC -> DisassociateVPCFromHostedZone

-- | A complex type that contains information about the VPC that you want
--   to disassociate from a specified private hosted zone.
--   
--   <i>See:</i> <a>disassociateVPCFromHostedZone</a> smart constructor.
data DisassociateVPCFromHostedZone

-- | <i>Optional:</i> A comment about the disassociation request.
dvfhzComment :: Lens' DisassociateVPCFromHostedZone (Maybe Text)

-- | The ID of the private hosted zone that you want to disassociate a VPC
--   from.
dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone ResourceId

-- | A complex type that contains information about the VPC that you're
--   disassociating from the specified hosted zone.
dvfhzVPC :: Lens' DisassociateVPCFromHostedZone VPC

-- | Creates a value of <a>DisassociateVPCFromHostedZoneResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dvfhzrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>dvfhzrsChangeInfo</a> - A complex type that describes the
--   changes made to the specified private hosted zone.</li>
--   </ul>
disassociateVPCFromHostedZoneResponse :: Int -> ChangeInfo -> DisassociateVPCFromHostedZoneResponse

-- | A complex type that contains the response information for the
--   disassociate request.
--   
--   <i>See:</i> <a>disassociateVPCFromHostedZoneResponse</a> smart
--   constructor.
data DisassociateVPCFromHostedZoneResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dvfhzrsResponseStatus :: Lens' DisassociateVPCFromHostedZoneResponse Int

-- | A complex type that describes the changes made to the specified
--   private hosted zone.
dvfhzrsChangeInfo :: Lens' DisassociateVPCFromHostedZoneResponse ChangeInfo
instance GHC.Generics.Generic Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZoneResponse
instance Data.Data.Data Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZoneResponse
instance GHC.Show.Show Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZoneResponse
instance GHC.Read.Read Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZoneResponse
instance GHC.Classes.Eq Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZoneResponse
instance GHC.Generics.Generic Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Data.Data.Data Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance GHC.Show.Show Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance GHC.Read.Read Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance GHC.Classes.Eq Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Data.Hashable.Class.Hashable Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZoneResponse


-- | Removes authorization to submit an <tt>AssociateVPCWithHostedZone</tt>
--   request to associate a specified VPC with a hosted zone that was
--   created by a different account. You must use the account that created
--   the hosted zone to submit a <tt>DeleteVPCAssociationAuthorization</tt>
--   request.
--   
--   <i>Important:</i> Sending this request only prevents the AWS account
--   that created the VPC from associating the VPC with the Amazon Route 53
--   hosted zone in the future. If the VPC is already associated with the
--   hosted zone, <tt>DeleteVPCAssociationAuthorization</tt> won't
--   disassociate the VPC from the hosted zone. If you want to delete an
--   existing association, use <tt>DisassociateVPCFromHostedZone</tt> .
--   
--   Send a <tt>DELETE</tt> request to the
--   <tt><i>2013-04-01</i>hostedzone/<i>hosted zone ID</i>
--   /deauthorizevpcassociation</tt> resource. The request body must
--   include a document with a
--   <tt>DeleteVPCAssociationAuthorizationRequest</tt> element.
module Network.AWS.Route53.DeleteVPCAssociationAuthorization

-- | Creates a value of <a>DeleteVPCAssociationAuthorization</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dvaaHostedZoneId</a> - When removing authorization to associate
--   a VPC that was created by one AWS account with a hosted zone that was
--   created with a different AWS account, the ID of the hosted zone.</li>
--   <li><a>dvaaVPC</a> - When removing authorization to associate a VPC
--   that was created by one AWS account with a hosted zone that was
--   created with a different AWS account, a complex type that includes the
--   ID and region of the VPC.</li>
--   </ul>
deleteVPCAssociationAuthorization :: ResourceId -> VPC -> DeleteVPCAssociationAuthorization

-- | A complex type that contains information about the request to remove
--   authorization to associate a VPC that was created by one AWS account
--   with a hosted zone that was created with a different AWS account.
--   
--   <i>See:</i> <a>deleteVPCAssociationAuthorization</a> smart
--   constructor.
data DeleteVPCAssociationAuthorization

-- | When removing authorization to associate a VPC that was created by one
--   AWS account with a hosted zone that was created with a different AWS
--   account, the ID of the hosted zone.
dvaaHostedZoneId :: Lens' DeleteVPCAssociationAuthorization ResourceId

-- | When removing authorization to associate a VPC that was created by one
--   AWS account with a hosted zone that was created with a different AWS
--   account, a complex type that includes the ID and region of the VPC.
dvaaVPC :: Lens' DeleteVPCAssociationAuthorization VPC

-- | Creates a value of <a>DeleteVPCAssociationAuthorizationResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dvaarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteVPCAssociationAuthorizationResponse :: Int -> DeleteVPCAssociationAuthorizationResponse

-- | Empty response for the request.
--   
--   <i>See:</i> <a>deleteVPCAssociationAuthorizationResponse</a> smart
--   constructor.
data DeleteVPCAssociationAuthorizationResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dvaarsResponseStatus :: Lens' DeleteVPCAssociationAuthorizationResponse Int
instance GHC.Generics.Generic Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
instance Data.Data.Data Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
instance GHC.Show.Show Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
instance GHC.Read.Read Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
instance GHC.Classes.Eq Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
instance GHC.Generics.Generic Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Data.Data.Data Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance GHC.Show.Show Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance GHC.Read.Read Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance GHC.Classes.Eq Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Data.Hashable.Class.Hashable Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse


-- | Deletes a traffic policy instance and all of the resource record sets
--   that Amazon Route 53 created when you created the instance.
--   
--   Send a <tt>DELETE</tt> request to the <tt>/<i>Amazon Route 53 API
--   version</i> <i>trafficpolicy</i><i>traffic policy instance ID</i>
--   </tt> resource.
module Network.AWS.Route53.DeleteTrafficPolicyInstance

-- | Creates a value of <a>DeleteTrafficPolicyInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dtpiId</a> - The ID of the traffic policy instance that you
--   want to delete. <i>Important:</i> When you delete a traffic policy
--   instance, Amazon Route 53 also deletes all of the resource record sets
--   that were created when you created the traffic policy instance.</li>
--   </ul>
deleteTrafficPolicyInstance :: Text -> DeleteTrafficPolicyInstance

-- | A complex type that contains information about the traffic policy
--   instance that you want to delete.
--   
--   <i>See:</i> <a>deleteTrafficPolicyInstance</a> smart constructor.
data DeleteTrafficPolicyInstance

-- | The ID of the traffic policy instance that you want to delete.
--   <i>Important:</i> When you delete a traffic policy instance, Amazon
--   Route 53 also deletes all of the resource record sets that were
--   created when you created the traffic policy instance.
dtpiId :: Lens' DeleteTrafficPolicyInstance Text

-- | Creates a value of <a>DeleteTrafficPolicyInstanceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dtpirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteTrafficPolicyInstanceResponse :: Int -> DeleteTrafficPolicyInstanceResponse

-- | An empty element.
--   
--   <i>See:</i> <a>deleteTrafficPolicyInstanceResponse</a> smart
--   constructor.
data DeleteTrafficPolicyInstanceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dtpirsResponseStatus :: Lens' DeleteTrafficPolicyInstanceResponse Int
instance GHC.Generics.Generic Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstanceResponse
instance Data.Data.Data Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstanceResponse
instance GHC.Show.Show Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstanceResponse
instance GHC.Read.Read Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstanceResponse
instance GHC.Classes.Eq Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstanceResponse
instance GHC.Generics.Generic Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance Data.Data.Data Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance GHC.Show.Show Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance GHC.Read.Read Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance GHC.Classes.Eq Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance Data.Hashable.Class.Hashable Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstance
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstanceResponse


-- | Deletes a traffic policy.
--   
--   Send a <tt>DELETE</tt> request to the <tt>/<i>Amazon Route 53 API
--   version</i> /trafficpolicy</tt> resource.
module Network.AWS.Route53.DeleteTrafficPolicy

-- | Creates a value of <a>DeleteTrafficPolicy</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dtpId</a> - The ID of the traffic policy that you want to
--   delete.</li>
--   <li><a>dtpVersion</a> - The version number of the traffic policy that
--   you want to delete.</li>
--   </ul>
deleteTrafficPolicy :: Text -> Natural -> DeleteTrafficPolicy

-- | A request to delete a specified traffic policy version.
--   
--   <i>See:</i> <a>deleteTrafficPolicy</a> smart constructor.
data DeleteTrafficPolicy

-- | The ID of the traffic policy that you want to delete.
dtpId :: Lens' DeleteTrafficPolicy Text

-- | The version number of the traffic policy that you want to delete.
dtpVersion :: Lens' DeleteTrafficPolicy Natural

-- | Creates a value of <a>DeleteTrafficPolicyResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dtprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteTrafficPolicyResponse :: Int -> DeleteTrafficPolicyResponse

-- | An empty element.
--   
--   <i>See:</i> <a>deleteTrafficPolicyResponse</a> smart constructor.
data DeleteTrafficPolicyResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dtprsResponseStatus :: Lens' DeleteTrafficPolicyResponse Int
instance GHC.Generics.Generic Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicyResponse
instance Data.Data.Data Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicyResponse
instance GHC.Show.Show Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicyResponse
instance GHC.Read.Read Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicyResponse
instance GHC.Classes.Eq Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicyResponse
instance GHC.Generics.Generic Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance Data.Data.Data Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance GHC.Show.Show Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance GHC.Read.Read Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance GHC.Classes.Eq Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance Data.Hashable.Class.Hashable Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicy
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicyResponse


-- | Deletes a reusable delegation set. Send a <tt>DELETE</tt> request to
--   the <tt><i>2013-04-01</i>delegationset/<i>delegation set ID</i> </tt>
--   resource.
--   
--   <i>Important:</i> You can delete a reusable delegation set only if
--   there are no associated hosted zones.
--   
--   To verify that the reusable delegation set is not associated with any
--   hosted zones, run the <tt>GetReusableDelegationSet</tt> action and
--   specify the ID of the reusable delegation set that you want to delete.
module Network.AWS.Route53.DeleteReusableDelegationSet

-- | Creates a value of <a>DeleteReusableDelegationSet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drdsId</a> - The ID of the reusable delegation set you want to
--   delete.</li>
--   </ul>
deleteReusableDelegationSet :: ResourceId -> DeleteReusableDelegationSet

-- | A complex type containing the information for the delete request.
--   
--   <i>See:</i> <a>deleteReusableDelegationSet</a> smart constructor.
data DeleteReusableDelegationSet

-- | The ID of the reusable delegation set you want to delete.
drdsId :: Lens' DeleteReusableDelegationSet ResourceId

-- | Creates a value of <a>DeleteReusableDelegationSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drdsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteReusableDelegationSetResponse :: Int -> DeleteReusableDelegationSetResponse

-- | An empty element.
--   
--   <i>See:</i> <a>deleteReusableDelegationSetResponse</a> smart
--   constructor.
data DeleteReusableDelegationSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drdsrsResponseStatus :: Lens' DeleteReusableDelegationSetResponse Int
instance GHC.Generics.Generic Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSetResponse
instance Data.Data.Data Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSetResponse
instance GHC.Show.Show Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSetResponse
instance GHC.Read.Read Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSetResponse
instance GHC.Classes.Eq Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSetResponse
instance GHC.Generics.Generic Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance Data.Data.Data Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance GHC.Show.Show Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance GHC.Read.Read Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance GHC.Classes.Eq Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance Data.Hashable.Class.Hashable Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSet
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSetResponse


-- | Deletes a hosted zone. Send a <tt>DELETE</tt> request to the
--   <tt>/<i>Amazon Route 53 API version</i> <i>hostedzone</i><i>hosted
--   zone ID</i> </tt> resource.
--   
--   <i>Important:</i> Delete a hosted zone only if there are no resource
--   record sets other than the default SOA record and NS resource record
--   sets. If the hosted zone contains other resource record sets, delete
--   them before deleting the hosted zone. If you try to delete a hosted
--   zone that contains other resource record sets, Amazon Route 53 denies
--   your request with a <tt>HostedZoneNotEmpty</tt> error. For information
--   about deleting records from your hosted zone, see
--   <tt>ChangeResourceRecordSets</tt> .
module Network.AWS.Route53.DeleteHostedZone

-- | Creates a value of <a>DeleteHostedZone</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dhzId</a> - The ID of the hosted zone you want to delete.</li>
--   </ul>
deleteHostedZone :: ResourceId -> DeleteHostedZone

-- | A complex type that contains information about the hosted zone that
--   you want to delete.
--   
--   <i>See:</i> <a>deleteHostedZone</a> smart constructor.
data DeleteHostedZone

-- | The ID of the hosted zone you want to delete.
dhzId :: Lens' DeleteHostedZone ResourceId

-- | Creates a value of <a>DeleteHostedZoneResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dhzrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>dhzrsChangeInfo</a> - A complex type that contains the ID, the
--   status, and the date and time of your delete request.</li>
--   </ul>
deleteHostedZoneResponse :: Int -> ChangeInfo -> DeleteHostedZoneResponse

-- | A complex type containing the response information for the request.
--   
--   <i>See:</i> <a>deleteHostedZoneResponse</a> smart constructor.
data DeleteHostedZoneResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dhzrsResponseStatus :: Lens' DeleteHostedZoneResponse Int

-- | A complex type that contains the ID, the status, and the date and time
--   of your delete request.
dhzrsChangeInfo :: Lens' DeleteHostedZoneResponse ChangeInfo
instance GHC.Generics.Generic Network.AWS.Route53.DeleteHostedZone.DeleteHostedZoneResponse
instance Data.Data.Data Network.AWS.Route53.DeleteHostedZone.DeleteHostedZoneResponse
instance GHC.Show.Show Network.AWS.Route53.DeleteHostedZone.DeleteHostedZoneResponse
instance GHC.Read.Read Network.AWS.Route53.DeleteHostedZone.DeleteHostedZoneResponse
instance GHC.Classes.Eq Network.AWS.Route53.DeleteHostedZone.DeleteHostedZoneResponse
instance GHC.Generics.Generic Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance Data.Data.Data Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance GHC.Show.Show Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance GHC.Read.Read Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance GHC.Classes.Eq Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance Data.Hashable.Class.Hashable Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.DeleteHostedZone.DeleteHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteHostedZone.DeleteHostedZoneResponse


-- | Deletes a health check. Send a <tt>DELETE</tt> request to the
--   <tt><i>2013-04-01</i>healthcheck/<i>health check ID</i> </tt>
--   resource.
--   
--   <i>Important:</i> Amazon Route 53 does not prevent you from deleting a
--   health check even if the health check is associated with one or more
--   resource record sets. If you delete a health check and you don't
--   update the associated resource record sets, the future status of the
--   health check can't be predicted and may change. This will affect the
--   routing of DNS queries for your DNS failover configuration. For more
--   information, see <a>Replacing and Deleting Health Checks</a> in the
--   Amazon Route 53 Developer Guide.
module Network.AWS.Route53.DeleteHealthCheck

-- | Creates a value of <a>DeleteHealthCheck</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dhcHealthCheckId</a> - The ID of the health check that you want
--   to delete.</li>
--   </ul>
deleteHealthCheck :: Text -> DeleteHealthCheck

-- | This action deletes a health check. Send a <tt>DELETE</tt> request to
--   the <tt><i>2013-04-01</i>DeleteHealthCheckRequest</tt> resource.
--   
--   <i>See:</i> <a>deleteHealthCheck</a> smart constructor.
data DeleteHealthCheck

-- | The ID of the health check that you want to delete.
dhcHealthCheckId :: Lens' DeleteHealthCheck Text

-- | Creates a value of <a>DeleteHealthCheckResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dhcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteHealthCheckResponse :: Int -> DeleteHealthCheckResponse

-- | An empty element.
--   
--   <i>See:</i> <a>deleteHealthCheckResponse</a> smart constructor.
data DeleteHealthCheckResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dhcrsResponseStatus :: Lens' DeleteHealthCheckResponse Int
instance GHC.Generics.Generic Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheckResponse
instance Data.Data.Data Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheckResponse
instance GHC.Show.Show Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheckResponse
instance GHC.Read.Read Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheckResponse
instance GHC.Classes.Eq Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheckResponse
instance GHC.Generics.Generic Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance Data.Data.Data Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance GHC.Show.Show Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance GHC.Read.Read Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance GHC.Classes.Eq Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance Data.Hashable.Class.Hashable Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheck
instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheckResponse


-- | Authorizes the AWS account that created a specified VPC to submit an
--   <tt>AssociateVPCWithHostedZone</tt> request to associate the VPC with
--   a specified hosted zone that was created by a different account. To
--   submit a <tt>CreateVPCAssociationAuthorization</tt> request, you must
--   use the account that created the hosted zone. After you authorize the
--   association, use the account that created the VPC to submit an
--   <tt>AssociateVPCWithHostedZone</tt> request.
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>hostedzone/<i>hosted zone ID</i>
--   /authorizevpcassociation</tt> resource. The request body must include
--   a document with a <tt>CreateVPCAssociationAuthorizationRequest</tt>
--   element. The response contains information about the authorization.
module Network.AWS.Route53.CreateVPCAssociationAuthorization

-- | Creates a value of <a>CreateVPCAssociationAuthorization</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cvaaHostedZoneId</a> - The ID of the private hosted zone that
--   you want to authorize associating a VPC with.</li>
--   <li><a>cvaaVPC</a> - A complex type that contains the VPC ID and
--   region for the VPC that you want to authorize associating with your
--   hosted zone.</li>
--   </ul>
createVPCAssociationAuthorization :: ResourceId -> VPC -> CreateVPCAssociationAuthorization

-- | A complex type that contains information about the request to
--   authorize associating a VPC with your private hosted zone.
--   Authorization is only required when a private hosted zone and a VPC
--   were created by using different accounts.
--   
--   <i>See:</i> <a>createVPCAssociationAuthorization</a> smart
--   constructor.
data CreateVPCAssociationAuthorization

-- | The ID of the private hosted zone that you want to authorize
--   associating a VPC with.
cvaaHostedZoneId :: Lens' CreateVPCAssociationAuthorization ResourceId

-- | A complex type that contains the VPC ID and region for the VPC that
--   you want to authorize associating with your hosted zone.
cvaaVPC :: Lens' CreateVPCAssociationAuthorization VPC

-- | Creates a value of <a>CreateVPCAssociationAuthorizationResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cvaarsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>cvaarsHostedZoneId</a> - The ID of the hosted zone that you
--   authorized associating a VPC with.</li>
--   <li><a>cvaarsVPC</a> - The VPC that you authorized associating with a
--   hosted zone.</li>
--   </ul>
createVPCAssociationAuthorizationResponse :: Int -> ResourceId -> VPC -> CreateVPCAssociationAuthorizationResponse

-- | A complex type that contains the response information from a
--   CreateVPCAssociationAuthorization request.
--   
--   <i>See:</i> <a>createVPCAssociationAuthorizationResponse</a> smart
--   constructor.
data CreateVPCAssociationAuthorizationResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cvaarsResponseStatus :: Lens' CreateVPCAssociationAuthorizationResponse Int

-- | The ID of the hosted zone that you authorized associating a VPC with.
cvaarsHostedZoneId :: Lens' CreateVPCAssociationAuthorizationResponse ResourceId

-- | The VPC that you authorized associating with a hosted zone.
cvaarsVPC :: Lens' CreateVPCAssociationAuthorizationResponse VPC
instance GHC.Generics.Generic Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
instance Data.Data.Data Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
instance GHC.Show.Show Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
instance GHC.Read.Read Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
instance GHC.Classes.Eq Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
instance GHC.Generics.Generic Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Data.Data.Data Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance GHC.Show.Show Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance GHC.Read.Read Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance GHC.Classes.Eq Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Data.Hashable.Class.Hashable Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse


-- | Creates a new version of an existing traffic policy. When you create a
--   new version of a traffic policy, you specify the ID of the traffic
--   policy that you want to update and a JSON-formatted document that
--   describes the new version. You use traffic policies to create multiple
--   DNS resource record sets for one domain name (such as example.com) or
--   one subdomain name (such as www.example.com). You can create a maximum
--   of 1000 versions of a traffic policy. If you reach the limit and need
--   to create another version, you'll need to start a new traffic policy.
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>trafficpolicy/</tt> resource. The request body
--   includes a document with a <tt>CreateTrafficPolicyVersionRequest</tt>
--   element. The response returns the
--   <tt>CreateTrafficPolicyVersionResponse</tt> element, which contains
--   information about the new version of the traffic policy.
module Network.AWS.Route53.CreateTrafficPolicyVersion

-- | Creates a value of <a>CreateTrafficPolicyVersion</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ctpvComment</a> - The comment that you specified in the
--   <tt>CreateTrafficPolicyVersion</tt> request, if any.</li>
--   <li><a>ctpvId</a> - The ID of the traffic policy for which you want to
--   create a new version.</li>
--   <li><a>ctpvDocument</a> - The definition of this version of the
--   traffic policy, in JSON format. You specified the JSON in the
--   <tt>CreateTrafficPolicyVersion</tt> request. For more information
--   about the JSON format, see <tt>CreateTrafficPolicy</tt> .</li>
--   </ul>
createTrafficPolicyVersion :: Text -> Text -> CreateTrafficPolicyVersion

-- | A complex type that contains information about the traffic policy for
--   which you want to create a new version.
--   
--   <i>See:</i> <a>createTrafficPolicyVersion</a> smart constructor.
data CreateTrafficPolicyVersion

-- | The comment that you specified in the
--   <tt>CreateTrafficPolicyVersion</tt> request, if any.
ctpvComment :: Lens' CreateTrafficPolicyVersion (Maybe Text)

-- | The ID of the traffic policy for which you want to create a new
--   version.
ctpvId :: Lens' CreateTrafficPolicyVersion Text

-- | The definition of this version of the traffic policy, in JSON format.
--   You specified the JSON in the <tt>CreateTrafficPolicyVersion</tt>
--   request. For more information about the JSON format, see
--   <tt>CreateTrafficPolicy</tt> .
ctpvDocument :: Lens' CreateTrafficPolicyVersion Text

-- | Creates a value of <a>CreateTrafficPolicyVersionResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ctpvrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ctpvrsTrafficPolicy</a> - A complex type that contains settings
--   for the new version of the traffic policy.</li>
--   <li><a>ctpvrsLocation</a> - A unique URL that represents a new traffic
--   policy version.</li>
--   </ul>
createTrafficPolicyVersionResponse :: Int -> TrafficPolicy -> Text -> CreateTrafficPolicyVersionResponse

-- | A complex type that contains the response information for the
--   <tt>CreateTrafficPolicyVersion</tt> request.
--   
--   <i>See:</i> <a>createTrafficPolicyVersionResponse</a> smart
--   constructor.
data CreateTrafficPolicyVersionResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ctpvrsResponseStatus :: Lens' CreateTrafficPolicyVersionResponse Int

-- | A complex type that contains settings for the new version of the
--   traffic policy.
ctpvrsTrafficPolicy :: Lens' CreateTrafficPolicyVersionResponse TrafficPolicy

-- | A unique URL that represents a new traffic policy version.
ctpvrsLocation :: Lens' CreateTrafficPolicyVersionResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersionResponse
instance Data.Data.Data Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersionResponse
instance GHC.Show.Show Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersionResponse
instance GHC.Read.Read Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersionResponse
instance GHC.Classes.Eq Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersionResponse
instance GHC.Generics.Generic Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Data.Data.Data Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance GHC.Show.Show Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance GHC.Read.Read Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance GHC.Classes.Eq Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Data.Hashable.Class.Hashable Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersion
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersionResponse


-- | Creates resource record sets in a specified hosted zone based on the
--   settings in a specified traffic policy version. In addition,
--   <tt>CreateTrafficPolicyInstance</tt> associates the resource record
--   sets with a specified domain name (such as example.com) or subdomain
--   name (such as www.example.com). Amazon Route 53 responds to DNS
--   queries for the domain or subdomain name by using the resource record
--   sets that <tt>CreateTrafficPolicyInstance</tt> created.
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>trafficpolicyinstance</tt> resource. The request
--   body must include a document with a
--   <tt>CreateTrafficPolicyRequest</tt> element. The response returns the
--   <tt>CreateTrafficPolicyInstanceResponse</tt> element, which contains
--   information about the traffic policy instance.
module Network.AWS.Route53.CreateTrafficPolicyInstance

-- | Creates a value of <a>CreateTrafficPolicyInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ctpiHostedZoneId</a> - The ID of the hosted zone in which you
--   want Amazon Route 53 to create resource record sets by using the
--   configuration in a traffic policy.</li>
--   <li><a>ctpiName</a> - The domain name (such as example.com) or
--   subdomain name (such as www.example.com) for which Amazon Route 53
--   responds to DNS queries by using the resource record sets that Amazon
--   Route 53 creates for this traffic policy instance.</li>
--   <li><a>ctpiTTL</a> - (Optional) The TTL that you want Amazon Route 53
--   to assign to all of the resource record sets that it creates in the
--   specified hosted zone.</li>
--   <li><a>ctpiTrafficPolicyId</a> - The ID of the traffic policy that you
--   want to use to create resource record sets in the specified hosted
--   zone.</li>
--   <li><a>ctpiTrafficPolicyVersion</a> - The version of the traffic
--   policy that you want to use to create resource record sets in the
--   specified hosted zone.</li>
--   </ul>
createTrafficPolicyInstance :: ResourceId -> Text -> Natural -> Text -> Natural -> CreateTrafficPolicyInstance

-- | A complex type that contains information about the resource record
--   sets that you want to create based on a specified traffic policy.
--   
--   <i>See:</i> <a>createTrafficPolicyInstance</a> smart constructor.
data CreateTrafficPolicyInstance

-- | The ID of the hosted zone in which you want Amazon Route 53 to create
--   resource record sets by using the configuration in a traffic policy.
ctpiHostedZoneId :: Lens' CreateTrafficPolicyInstance ResourceId

-- | The domain name (such as example.com) or subdomain name (such as
--   www.example.com) for which Amazon Route 53 responds to DNS queries by
--   using the resource record sets that Amazon Route 53 creates for this
--   traffic policy instance.
ctpiName :: Lens' CreateTrafficPolicyInstance Text

-- | (Optional) The TTL that you want Amazon Route 53 to assign to all of
--   the resource record sets that it creates in the specified hosted zone.
ctpiTTL :: Lens' CreateTrafficPolicyInstance Natural

-- | The ID of the traffic policy that you want to use to create resource
--   record sets in the specified hosted zone.
ctpiTrafficPolicyId :: Lens' CreateTrafficPolicyInstance Text

-- | The version of the traffic policy that you want to use to create
--   resource record sets in the specified hosted zone.
ctpiTrafficPolicyVersion :: Lens' CreateTrafficPolicyInstance Natural

-- | Creates a value of <a>CreateTrafficPolicyInstanceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ctpirsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ctpirsTrafficPolicyInstance</a> - A complex type that contains
--   settings for the new traffic policy instance.</li>
--   <li><a>ctpirsLocation</a> - A unique URL that represents a new traffic
--   policy instance.</li>
--   </ul>
createTrafficPolicyInstanceResponse :: Int -> TrafficPolicyInstance -> Text -> CreateTrafficPolicyInstanceResponse

-- | A complex type that contains the response information for the
--   <tt>CreateTrafficPolicyInstance</tt> request.
--   
--   <i>See:</i> <a>createTrafficPolicyInstanceResponse</a> smart
--   constructor.
data CreateTrafficPolicyInstanceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ctpirsResponseStatus :: Lens' CreateTrafficPolicyInstanceResponse Int

-- | A complex type that contains settings for the new traffic policy
--   instance.
ctpirsTrafficPolicyInstance :: Lens' CreateTrafficPolicyInstanceResponse TrafficPolicyInstance

-- | A unique URL that represents a new traffic policy instance.
ctpirsLocation :: Lens' CreateTrafficPolicyInstanceResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstanceResponse
instance Data.Data.Data Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstanceResponse
instance GHC.Show.Show Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstanceResponse
instance GHC.Read.Read Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstanceResponse
instance GHC.Classes.Eq Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstanceResponse
instance GHC.Generics.Generic Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Data.Data.Data Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance GHC.Show.Show Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance GHC.Read.Read Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance GHC.Classes.Eq Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Data.Hashable.Class.Hashable Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstance
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstanceResponse


-- | Creates a traffic policy, which you use to create multiple DNS
--   resource record sets for one domain name (such as example.com) or one
--   subdomain name (such as www.example.com).
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>trafficpolicy</tt> resource. The request body
--   must include a document with a <tt>CreateTrafficPolicyRequest</tt>
--   element. The response includes the
--   <tt>CreateTrafficPolicyResponse</tt> element, which contains
--   information about the new traffic policy.
module Network.AWS.Route53.CreateTrafficPolicy

-- | Creates a value of <a>CreateTrafficPolicy</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ctpComment</a> - (Optional) Any comments that you want to
--   include about the traffic policy.</li>
--   <li><a>ctpName</a> - The name of the traffic policy.</li>
--   <li><a>ctpDocument</a> - The definition of this traffic policy in JSON
--   format. For more information, see <a>Traffic Policy Document
--   Format</a> .</li>
--   </ul>
createTrafficPolicy :: Text -> Text -> CreateTrafficPolicy

-- | A complex type that contains information about the traffic policy that
--   you want to create.
--   
--   <i>See:</i> <a>createTrafficPolicy</a> smart constructor.
data CreateTrafficPolicy

-- | (Optional) Any comments that you want to include about the traffic
--   policy.
ctpComment :: Lens' CreateTrafficPolicy (Maybe Text)

-- | The name of the traffic policy.
ctpName :: Lens' CreateTrafficPolicy Text

-- | The definition of this traffic policy in JSON format. For more
--   information, see <a>Traffic Policy Document Format</a> .
ctpDocument :: Lens' CreateTrafficPolicy Text

-- | Creates a value of <a>CreateTrafficPolicyResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ctprsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ctprsTrafficPolicy</a> - A complex type that contains settings
--   for the new traffic policy.</li>
--   <li><a>ctprsLocation</a> - A unique URL that represents a new traffic
--   policy.</li>
--   </ul>
createTrafficPolicyResponse :: Int -> TrafficPolicy -> Text -> CreateTrafficPolicyResponse

-- | A complex type that contains the response information for the
--   <tt>CreateTrafficPolicy</tt> request.
--   
--   <i>See:</i> <a>createTrafficPolicyResponse</a> smart constructor.
data CreateTrafficPolicyResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ctprsResponseStatus :: Lens' CreateTrafficPolicyResponse Int

-- | A complex type that contains settings for the new traffic policy.
ctprsTrafficPolicy :: Lens' CreateTrafficPolicyResponse TrafficPolicy

-- | A unique URL that represents a new traffic policy.
ctprsLocation :: Lens' CreateTrafficPolicyResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicyResponse
instance Data.Data.Data Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicyResponse
instance GHC.Show.Show Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicyResponse
instance GHC.Read.Read Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicyResponse
instance GHC.Classes.Eq Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicyResponse
instance GHC.Generics.Generic Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Data.Data.Data Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance GHC.Show.Show Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance GHC.Read.Read Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance GHC.Classes.Eq Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Data.Hashable.Class.Hashable Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicy
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicyResponse


-- | Creates a delegation set (a group of four name servers) that can be
--   reused by multiple hosted zones. If a hosted zoned ID is specified,
--   <tt>CreateReusableDelegationSet</tt> marks the delegation set
--   associated with that zone as reusable
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>delegationset</tt> resource. The request body
--   must include a document with a
--   <tt>CreateReusableDelegationSetRequest</tt> element.
--   
--   For more information, including a procedure on how to create and
--   configure a reusable delegation set (also known as white label name
--   servers), see <a>Configuring White Label Name Servers</a> .
module Network.AWS.Route53.CreateReusableDelegationSet

-- | Creates a value of <a>CreateReusableDelegationSet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crdsHostedZoneId</a> - If you want to mark the delegation set
--   for an existing hosted zone as reusable, the ID for that hosted
--   zone.</li>
--   <li><a>crdsCallerReference</a> - A unique string that identifies the
--   request, and that allows you to retry failed
--   <tt>CreateReusableDelegationSet</tt> requests without the risk of
--   executing the operation twice. You must use a unique
--   <tt>CallerReference</tt> string every time you submit a
--   <tt>CreateReusableDelegationSet</tt> request. <tt>CallerReference</tt>
--   can be any unique string, for example a date/time stamp.</li>
--   </ul>
createReusableDelegationSet :: Text -> CreateReusableDelegationSet

-- | <i>See:</i> <a>createReusableDelegationSet</a> smart constructor.
data CreateReusableDelegationSet

-- | If you want to mark the delegation set for an existing hosted zone as
--   reusable, the ID for that hosted zone.
crdsHostedZoneId :: Lens' CreateReusableDelegationSet (Maybe ResourceId)

-- | A unique string that identifies the request, and that allows you to
--   retry failed <tt>CreateReusableDelegationSet</tt> requests without the
--   risk of executing the operation twice. You must use a unique
--   <tt>CallerReference</tt> string every time you submit a
--   <tt>CreateReusableDelegationSet</tt> request. <tt>CallerReference</tt>
--   can be any unique string, for example a date/time stamp.
crdsCallerReference :: Lens' CreateReusableDelegationSet Text

-- | Creates a value of <a>CreateReusableDelegationSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crdsrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>crdsrsDelegationSet</a> - A complex type that contains name
--   server information.</li>
--   <li><a>crdsrsLocation</a> - The unique URL representing the new
--   reusable delegation set.</li>
--   </ul>
createReusableDelegationSetResponse :: Int -> DelegationSet -> Text -> CreateReusableDelegationSetResponse

-- | <i>See:</i> <a>createReusableDelegationSetResponse</a> smart
--   constructor.
data CreateReusableDelegationSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
crdsrsResponseStatus :: Lens' CreateReusableDelegationSetResponse Int

-- | A complex type that contains name server information.
crdsrsDelegationSet :: Lens' CreateReusableDelegationSetResponse DelegationSet

-- | The unique URL representing the new reusable delegation set.
crdsrsLocation :: Lens' CreateReusableDelegationSetResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSetResponse
instance Data.Data.Data Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSetResponse
instance GHC.Show.Show Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSetResponse
instance GHC.Read.Read Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSetResponse
instance GHC.Classes.Eq Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSetResponse
instance GHC.Generics.Generic Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Data.Data.Data Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance GHC.Show.Show Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance GHC.Read.Read Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance GHC.Classes.Eq Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Data.Hashable.Class.Hashable Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSet
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSetResponse


-- | Creates a new public hosted zone, used to specify how the Domain Name
--   System (DNS) routes traffic on the Internet for a domain, such as
--   example.com, and its subdomains.
--   
--   <i>Important:</i> Public hosted zones can't be converted to a private
--   hosted zone or vice versa. Instead, create a new hosted zone with the
--   same name and create new resource record sets.
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>hostedzone</tt> resource. The request body must
--   include a document with a <tt>CreateHostedZoneRequest</tt> element.
--   The response returns the <tt>CreateHostedZoneResponse</tt> element
--   containing metadata about the hosted zone.
--   
--   Fore more information about charges for hosted zones, see <a>Amazon
--   Route 53 Pricing</a> .
--   
--   Note the following:
--   
--   <ul>
--   <li>You can't create a hosted zone for a top-level domain (TLD).</li>
--   <li>Amazon Route 53 automatically creates a default SOA record and
--   four NS records for the zone. For more information about SOA and NS
--   records, see <a>NS and SOA Records that Amazon Route 53 Creates for a
--   Hosted Zone</a> in the <i>Amazon Route 53 Developer Guide</i> .</li>
--   <li>If your domain is registered with a registrar other than Amazon
--   Route 53, you must update the name servers with your registrar to make
--   Amazon Route 53 your DNS service. For more information, see
--   <a>Configuring Amazon Route 53 as your DNS Service</a> in the
--   <i>Amazon Route 53 Developer's Guide</i> .</li>
--   </ul>
--   
--   After creating a zone, its initial status is <tt>PENDING</tt> . This
--   means that it is not yet available on all DNS servers. The status of
--   the zone changes to <tt>INSYNC</tt> when the NS and SOA records are
--   available on all Amazon Route 53 DNS servers.
--   
--   When trying to create a hosted zone using a reusable delegation set,
--   specify an optional DelegationSetId, and Amazon Route 53 would assign
--   those 4 NS records for the zone, instead of allotting a new one.
module Network.AWS.Route53.CreateHostedZone

-- | Creates a value of <a>CreateHostedZone</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>chzDelegationSetId</a> - If you want to associate a reusable
--   delegation set with this hosted zone, the ID that Amazon Route 53
--   assigned to the reusable delegation set when you created it. For more
--   information about reusable delegation sets, see
--   <tt>CreateReusableDelegationSet</tt> . * Type * String * Default *
--   None * Parent * <tt>CreatedHostedZoneRequest</tt></li>
--   <li><a>chzVPC</a> - The VPC that you want your hosted zone to be
--   associated with. By providing this parameter, your newly created
--   hosted can't be resolved anywhere other than the given VPC.</li>
--   <li><a>chzHostedZoneConfig</a> - (Optional) A complex type that
--   contains an optional comment about your hosted zone. If you don't want
--   to specify a comment, omit both the <tt>HostedZoneConfig</tt> and
--   <tt>Comment</tt> elements.</li>
--   <li><a>chzName</a> - The name of the domain. For resource record types
--   that include a domain name, specify a fully qualified domain name, for
--   example, <i>www.example.com</i> . The trailing dot is optional; Amazon
--   Route 53 assumes that the domain name is fully qualified. This means
--   that Amazon Route 53 treats <i>www.example.com</i> (without a trailing
--   dot) and <i>www.example.com.</i> (with a trailing dot) as identical.
--   If you're creating a public hosted zone, this is the name you have
--   registered with your DNS registrar. If your domain name is registered
--   with a registrar other than Amazon Route 53, change the name servers
--   for your domain to the set of <tt>NameServers</tt> that
--   <tt>CreateHostedZone</tt> returns in the DelegationSet element.</li>
--   <li><a>chzCallerReference</a> - A unique string that identifies the
--   request and that allows failed <tt>CreateHostedZone</tt> requests to
--   be retried without the risk of executing the operation twice. You must
--   use a unique <tt>CallerReference</tt> string every time you create a
--   hosted zone. <tt>CallerReference</tt> can be any unique string, for
--   example, a date/time stamp.</li>
--   </ul>
createHostedZone :: Text -> Text -> CreateHostedZone

-- | A complex type containing the hosted zone request information.
--   
--   <i>See:</i> <a>createHostedZone</a> smart constructor.
data CreateHostedZone

-- | If you want to associate a reusable delegation set with this hosted
--   zone, the ID that Amazon Route 53 assigned to the reusable delegation
--   set when you created it. For more information about reusable
--   delegation sets, see <tt>CreateReusableDelegationSet</tt> . * Type *
--   String * Default * None * Parent * <tt>CreatedHostedZoneRequest</tt>
chzDelegationSetId :: Lens' CreateHostedZone (Maybe ResourceId)

-- | The VPC that you want your hosted zone to be associated with. By
--   providing this parameter, your newly created hosted can't be resolved
--   anywhere other than the given VPC.
chzVPC :: Lens' CreateHostedZone (Maybe VPC)

-- | (Optional) A complex type that contains an optional comment about your
--   hosted zone. If you don't want to specify a comment, omit both the
--   <tt>HostedZoneConfig</tt> and <tt>Comment</tt> elements.
chzHostedZoneConfig :: Lens' CreateHostedZone (Maybe HostedZoneConfig)

-- | The name of the domain. For resource record types that include a
--   domain name, specify a fully qualified domain name, for example,
--   <i>www.example.com</i> . The trailing dot is optional; Amazon Route 53
--   assumes that the domain name is fully qualified. This means that
--   Amazon Route 53 treats <i>www.example.com</i> (without a trailing dot)
--   and <i>www.example.com.</i> (with a trailing dot) as identical. If
--   you're creating a public hosted zone, this is the name you have
--   registered with your DNS registrar. If your domain name is registered
--   with a registrar other than Amazon Route 53, change the name servers
--   for your domain to the set of <tt>NameServers</tt> that
--   <tt>CreateHostedZone</tt> returns in the DelegationSet element.
chzName :: Lens' CreateHostedZone Text

-- | A unique string that identifies the request and that allows failed
--   <tt>CreateHostedZone</tt> requests to be retried without the risk of
--   executing the operation twice. You must use a unique
--   <tt>CallerReference</tt> string every time you create a hosted zone.
--   <tt>CallerReference</tt> can be any unique string, for example, a
--   date/time stamp.
chzCallerReference :: Lens' CreateHostedZone Text

-- | Creates a value of <a>CreateHostedZoneResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>chzrsVPC</a> - A complex type that contains information about
--   an Amazon VPC that you associated with this hosted zone.</li>
--   <li><a>chzrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>chzrsHostedZone</a> - A complex type that contains general
--   information about the hosted zone.</li>
--   <li><a>chzrsChangeInfo</a> - A complex type that describes the changes
--   made to your hosted zone.</li>
--   <li><a>chzrsDelegationSet</a> - A complex type that describes the name
--   servers for this hosted zone.</li>
--   <li><a>chzrsLocation</a> - The unique URL representing the new hosted
--   zone.</li>
--   </ul>
createHostedZoneResponse :: Int -> HostedZone -> ChangeInfo -> DelegationSet -> Text -> CreateHostedZoneResponse

-- | A complex type containing the response information for the hosted
--   zone.
--   
--   <i>See:</i> <a>createHostedZoneResponse</a> smart constructor.
data CreateHostedZoneResponse

-- | A complex type that contains information about an Amazon VPC that you
--   associated with this hosted zone.
chzrsVPC :: Lens' CreateHostedZoneResponse (Maybe VPC)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
chzrsResponseStatus :: Lens' CreateHostedZoneResponse Int

-- | A complex type that contains general information about the hosted
--   zone.
chzrsHostedZone :: Lens' CreateHostedZoneResponse HostedZone

-- | A complex type that describes the changes made to your hosted zone.
chzrsChangeInfo :: Lens' CreateHostedZoneResponse ChangeInfo

-- | A complex type that describes the name servers for this hosted zone.
chzrsDelegationSet :: Lens' CreateHostedZoneResponse DelegationSet

-- | The unique URL representing the new hosted zone.
chzrsLocation :: Lens' CreateHostedZoneResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.CreateHostedZone.CreateHostedZoneResponse
instance Data.Data.Data Network.AWS.Route53.CreateHostedZone.CreateHostedZoneResponse
instance GHC.Show.Show Network.AWS.Route53.CreateHostedZone.CreateHostedZoneResponse
instance GHC.Read.Read Network.AWS.Route53.CreateHostedZone.CreateHostedZoneResponse
instance GHC.Classes.Eq Network.AWS.Route53.CreateHostedZone.CreateHostedZoneResponse
instance GHC.Generics.Generic Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Data.Data.Data Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance GHC.Show.Show Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance GHC.Read.Read Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance GHC.Classes.Eq Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Data.Hashable.Class.Hashable Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.CreateHostedZone.CreateHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateHostedZone.CreateHostedZoneResponse


-- | Creates a new health check.
--   
--   To create a new health check, send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>healthcheck</tt> resource. The request body must
--   include a document with a <tt>CreateHealthCheckRequest</tt> element.
--   The response returns the <tt>CreateHealthCheckResponse</tt> element,
--   containing the health check ID specified when adding health check to a
--   resource record set. For information about adding health checks to
--   resource record sets, see 'ResourceRecordSet$HealthCheckId' in
--   <tt>ChangeResourceRecordSets</tt> .
--   
--   If you are registering EC2 instances with an Elastic Load Balancing
--   (ELB) load balancer, do not create Amazon Route 53 health checks for
--   the EC2 instances. When you register an EC2 instance with a load
--   balancer, you configure settings for an ELB health check, which
--   performs a similar function to an Amazon Route 53 health check.
--   
--   You can associate health checks with failover resource record sets in
--   a private hosted zone. Note the following:
--   
--   <ul>
--   <li>Amazon Route 53 health checkers are outside the VPC. To check the
--   health of an endpoint within a VPC by IP address, you must assign a
--   public IP address to the instance in the VPC.</li>
--   <li>You can configure a health checker to check the health of an
--   external resource that the instance relies on, such as a database
--   server.</li>
--   <li>You can create a CloudWatch metric, associate an alarm with the
--   metric, and then create a health check that is based on the state of
--   the alarm. For example, you might create a CloudWatch metric that
--   checks the status of the Amazon EC2 <tt>StatusCheckFailed</tt> metric,
--   add an alarm to the metric, and then create a health check that is
--   based on the state of the alarm. For information about creating
--   CloudWatch metrics and alarms by using the CloudWatch console, see the
--   <a>Amazon CloudWatch User Guide</a> .</li>
--   </ul>
module Network.AWS.Route53.CreateHealthCheck

-- | Creates a value of <a>CreateHealthCheck</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>chcCallerReference</a> - A unique string that identifies the
--   request and that allows failed <tt>CreateHealthCheck</tt> requests to
--   be retried without the risk of executing the operation twice. You must
--   use a unique <tt>CallerReference</tt> string every time you create a
--   health check.</li>
--   <li><a>chcHealthCheckConfig</a> - A complex type that contains the
--   response to a <tt>CreateHealthCheck</tt> request.</li>
--   </ul>
createHealthCheck :: Text -> HealthCheckConfig -> CreateHealthCheck

-- | A complex type that contains the health check request information.
--   
--   <i>See:</i> <a>createHealthCheck</a> smart constructor.
data CreateHealthCheck

-- | A unique string that identifies the request and that allows failed
--   <tt>CreateHealthCheck</tt> requests to be retried without the risk of
--   executing the operation twice. You must use a unique
--   <tt>CallerReference</tt> string every time you create a health check.
chcCallerReference :: Lens' CreateHealthCheck Text

-- | A complex type that contains the response to a
--   <tt>CreateHealthCheck</tt> request.
chcHealthCheckConfig :: Lens' CreateHealthCheck HealthCheckConfig

-- | Creates a value of <a>CreateHealthCheckResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>chcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>chcrsHealthCheck</a> - A complex type that contains identifying
--   information about the health check.</li>
--   <li><a>chcrsLocation</a> - The unique URL representing the new health
--   check.</li>
--   </ul>
createHealthCheckResponse :: Int -> HealthCheck -> Text -> CreateHealthCheckResponse

-- | A complex type containing the response information for the new health
--   check.
--   
--   <i>See:</i> <a>createHealthCheckResponse</a> smart constructor.
data CreateHealthCheckResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
chcrsResponseStatus :: Lens' CreateHealthCheckResponse Int

-- | A complex type that contains identifying information about the health
--   check.
chcrsHealthCheck :: Lens' CreateHealthCheckResponse HealthCheck

-- | The unique URL representing the new health check.
chcrsLocation :: Lens' CreateHealthCheckResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.CreateHealthCheck.CreateHealthCheckResponse
instance Data.Data.Data Network.AWS.Route53.CreateHealthCheck.CreateHealthCheckResponse
instance GHC.Show.Show Network.AWS.Route53.CreateHealthCheck.CreateHealthCheckResponse
instance GHC.Read.Read Network.AWS.Route53.CreateHealthCheck.CreateHealthCheckResponse
instance GHC.Classes.Eq Network.AWS.Route53.CreateHealthCheck.CreateHealthCheckResponse
instance GHC.Generics.Generic Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Data.Data.Data Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance GHC.Show.Show Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance GHC.Read.Read Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance GHC.Classes.Eq Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Data.Hashable.Class.Hashable Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.CreateHealthCheck.CreateHealthCheck
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateHealthCheck.CreateHealthCheckResponse


-- | Adds, edits, or deletes tags for a health check or a hosted zone.
--   
--   For information about using tags for cost allocation, see <a>Using
--   Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management
--   User Guide</i> .
module Network.AWS.Route53.ChangeTagsForResource

-- | Creates a value of <a>ChangeTagsForResource</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ctfrRemoveTagKeys</a> - A complex type that contains a list of
--   the tags that you want to delete from the specified health check or
--   hosted zone. You can specify up to 10 keys.</li>
--   <li><a>ctfrAddTags</a> - A complex type that contains a list of the
--   tags that you want to add to the specified health check or hosted zone
--   and/or the tags for which you want to edit the <tt>Value</tt> element.
--   You can add a maximum of 10 tags to a health check or a hosted
--   zone.</li>
--   <li><a>ctfrResourceType</a> - The type of the resource. * The resource
--   type for health checks is <tt>healthcheck</tt> . * The resource type
--   for hosted zones is <tt>hostedzone</tt> .</li>
--   <li><a>ctfrResourceId</a> - The ID of the resource for which you want
--   to add, change, or delete tags.</li>
--   </ul>
changeTagsForResource :: TagResourceType -> Text -> ChangeTagsForResource

-- | A complex type that contains information about the tags that you want
--   to add, edit, or delete.
--   
--   <i>See:</i> <a>changeTagsForResource</a> smart constructor.
data ChangeTagsForResource

-- | A complex type that contains a list of the tags that you want to
--   delete from the specified health check or hosted zone. You can specify
--   up to 10 keys.
ctfrRemoveTagKeys :: Lens' ChangeTagsForResource (Maybe (NonEmpty Text))

-- | A complex type that contains a list of the tags that you want to add
--   to the specified health check or hosted zone and/or the tags for which
--   you want to edit the <tt>Value</tt> element. You can add a maximum of
--   10 tags to a health check or a hosted zone.
ctfrAddTags :: Lens' ChangeTagsForResource (Maybe (NonEmpty Tag))

-- | The type of the resource. * The resource type for health checks is
--   <tt>healthcheck</tt> . * The resource type for hosted zones is
--   <tt>hostedzone</tt> .
ctfrResourceType :: Lens' ChangeTagsForResource TagResourceType

-- | The ID of the resource for which you want to add, change, or delete
--   tags.
ctfrResourceId :: Lens' ChangeTagsForResource Text

-- | Creates a value of <a>ChangeTagsForResourceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ctfrrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
changeTagsForResourceResponse :: Int -> ChangeTagsForResourceResponse

-- | Empty response for the request.
--   
--   <i>See:</i> <a>changeTagsForResourceResponse</a> smart constructor.
data ChangeTagsForResourceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ctfrrsResponseStatus :: Lens' ChangeTagsForResourceResponse Int
instance GHC.Generics.Generic Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResourceResponse
instance Data.Data.Data Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResourceResponse
instance GHC.Show.Show Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResourceResponse
instance GHC.Read.Read Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResourceResponse
instance GHC.Classes.Eq Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResourceResponse
instance GHC.Generics.Generic Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Data.Data.Data Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance GHC.Show.Show Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance GHC.Read.Read Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance GHC.Classes.Eq Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Control.DeepSeq.NFData Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResource
instance Control.DeepSeq.NFData Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResourceResponse


-- | Create, change, update, or delete authoritative DNS information on all
--   Amazon Route 53 servers. Send a <tt>POST</tt> request to:
--   
--   <tt><i>2013-04-01</i>hostedzone/<i>Amazon Route 53 hosted Zone ID</i>
--   /rrset</tt> resource.
--   
--   The request body must include a document with a
--   <tt>ChangeResourceRecordSetsRequest</tt> element. The request body
--   contains a list of change items, known as a change batch. Change
--   batches are considered transactional changes. When using the Amazon
--   Route 53 API to change resource record sets, Amazon Route 53 either
--   makes all or none of the changes in a change batch request. This
--   ensures that Amazon Route 53 never partially implements the intended
--   changes to the resource record sets in a hosted zone.
--   
--   For example, a change batch request that deletes the <tt>CNAME</tt>
--   record for www.example.com and creates an alias resource record set
--   for www.example.com. Amazon Route 53 deletes the first resource record
--   set and creates the second resource record set in a single operation.
--   If either the <tt>DELETE</tt> or the <tt>CREATE</tt> action fails,
--   then both changes (plus any other changes in the batch) fail, and the
--   original <tt>CNAME</tt> record continues to exist.
--   
--   <i>Important:</i> Due to the nature of transactional changes, you
--   can't delete the same resource record set more than once in a single
--   change batch. If you attempt to delete the same change batch more than
--   once, Amazon Route 53 returns an <tt>InvalidChangeBatch</tt> error.
--   
--   Use <tt>ChangeResourceRecordsSetsRequest</tt> to perform the following
--   actions:
--   
--   <ul>
--   <li><tt>CREATE</tt> : Creates a resource record set that has the
--   specified values.</li>
--   <li><tt>DELETE</tt> : Deletes an existing resource record set that has
--   the specified values.</li>
--   <li><tt>UPSERT</tt> : If a resource record set does not already exist,
--   AWS creates it. If a resource set does exist, Amazon Route 53 updates
--   it with the values in the request.</li>
--   </ul>
--   
--   The values that you need to include in the request depend on the type
--   of resource record set that you're creating, deleting, or updating:
--   
--   <b>Basic resource record sets (excluding alias, failover, geolocation,
--   latency, and weighted resource record sets)</b>
--   
--   <ul>
--   <li><pre>Name</pre></li>
--   <li><pre>Type</pre></li>
--   <li><pre>TTL</pre></li>
--   </ul>
--   
--   <b>Failover, geolocation, latency, or weighted resource record sets
--   (excluding alias resource record sets)</b>
--   
--   <ul>
--   <li><pre>Name</pre></li>
--   <li><pre>Type</pre></li>
--   <li><pre>TTL</pre></li>
--   <li><pre>SetIdentifier</pre></li>
--   </ul>
--   
--   <b>Alias resource record sets (including failover alias, geolocation
--   alias, latency alias, and weighted alias resource record sets)</b>
--   
--   <ul>
--   <li><pre>Name</pre></li>
--   <li><pre>Type</pre></li>
--   <li><tt>AliasTarget</tt> (includes <tt>DNSName</tt> ,
--   <tt>EvaluateTargetHealth</tt> , and <tt>HostedZoneId</tt> )</li>
--   <li><tt>SetIdentifier</tt> (for failover, geolocation, latency, and
--   weighted resource record sets)</li>
--   </ul>
--   
--   When you submit a <tt>ChangeResourceRecordSets</tt> request, Amazon
--   Route 53 propagates your changes to all of the Amazon Route 53
--   authoritative DNS servers. While your changes are propagating,
--   <tt>GetChange</tt> returns a status of <tt>PENDING</tt> . When
--   propagation is complete, <tt>GetChange</tt> returns a status of
--   <tt>INSYNC</tt> . Changes generally propagate to all Amazon Route 53
--   name servers in a few minutes. In rare circumstances, propagation can
--   take up to 30 minutes. For more information, see <tt>GetChange</tt>
--   
--   For information about the limits on a
--   <tt>ChangeResourceRecordSets</tt> request, see <a>Limits</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .
module Network.AWS.Route53.ChangeResourceRecordSets

-- | Creates a value of <a>ChangeResourceRecordSets</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crrsHostedZoneId</a> - The ID of the hosted zone that contains
--   the resource record sets that you want to change.</li>
--   <li><a>crrsChangeBatch</a> - A complex type that contains an optional
--   comment and the <tt>Changes</tt> element.</li>
--   </ul>
changeResourceRecordSets :: ResourceId -> ChangeBatch -> ChangeResourceRecordSets

-- | A complex type that contains change information for the resource
--   record set.
--   
--   <i>See:</i> <a>changeResourceRecordSets</a> smart constructor.
data ChangeResourceRecordSets

-- | The ID of the hosted zone that contains the resource record sets that
--   you want to change.
crrsHostedZoneId :: Lens' ChangeResourceRecordSets ResourceId

-- | A complex type that contains an optional comment and the
--   <tt>Changes</tt> element.
crrsChangeBatch :: Lens' ChangeResourceRecordSets ChangeBatch

-- | Creates a value of <a>ChangeResourceRecordSetsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crrsrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>crrsrsChangeInfo</a> - A complex type that contains information
--   about changes made to your hosted zone. This element contains an ID
--   that you use when performing a <tt>GetChange</tt> action to get
--   detailed information about the change.</li>
--   </ul>
changeResourceRecordSetsResponse :: Int -> ChangeInfo -> ChangeResourceRecordSetsResponse

-- | A complex type containing the response for the request.
--   
--   <i>See:</i> <a>changeResourceRecordSetsResponse</a> smart constructor.
data ChangeResourceRecordSetsResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
crrsrsResponseStatus :: Lens' ChangeResourceRecordSetsResponse Int

-- | A complex type that contains information about changes made to your
--   hosted zone. This element contains an ID that you use when performing
--   a <tt>GetChange</tt> action to get detailed information about the
--   change.
crrsrsChangeInfo :: Lens' ChangeResourceRecordSetsResponse ChangeInfo
instance GHC.Generics.Generic Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSetsResponse
instance Data.Data.Data Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSetsResponse
instance GHC.Show.Show Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSetsResponse
instance GHC.Read.Read Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSetsResponse
instance GHC.Classes.Eq Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSetsResponse
instance GHC.Generics.Generic Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Data.Data.Data Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance GHC.Show.Show Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance GHC.Read.Read Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance GHC.Classes.Eq Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Control.DeepSeq.NFData Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSets
instance Control.DeepSeq.NFData Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSetsResponse


-- | Associates an Amazon VPC with a private hosted zone.
--   
--   <i>Important:</i> To perform the association, the VPC and the private
--   hosted zone must already exist. You can't convert a public hosted zone
--   into a private hosted zone.
--   
--   Send a <tt>POST</tt> request to the
--   <tt><i>2013-04-01</i>hostedzone/<i>hosted zone ID</i>
--   /associatevpc</tt> resource. The request body must include a document
--   with an <tt>AssociateVPCWithHostedZoneRequest</tt> element. The
--   response contains a <tt>ChangeInfo</tt> data type that you can use to
--   track the progress of the request.
module Network.AWS.Route53.AssociateVPCWithHostedZone

-- | Creates a value of <a>AssociateVPCWithHostedZone</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>avwhzComment</a> - <i>Optional:</i> A comment about the
--   association request.</li>
--   <li><a>avwhzHostedZoneId</a> - The ID of the private hosted zone that
--   you want to associate an Amazon VPC with. Note that you can't
--   associate a VPC with a hosted zone that doesn't have an existing VPC
--   association.</li>
--   <li><a>avwhzVPC</a> - A complex type that contains information about
--   the VPC that you want to associate with a private hosted zone.</li>
--   </ul>
associateVPCWithHostedZone :: ResourceId -> VPC -> AssociateVPCWithHostedZone

-- | A complex type that contains information about the request to
--   associate a VPC with a private hosted zone.
--   
--   <i>See:</i> <a>associateVPCWithHostedZone</a> smart constructor.
data AssociateVPCWithHostedZone

-- | <i>Optional:</i> A comment about the association request.
avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text)

-- | The ID of the private hosted zone that you want to associate an Amazon
--   VPC with. Note that you can't associate a VPC with a hosted zone that
--   doesn't have an existing VPC association.
avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone ResourceId

-- | A complex type that contains information about the VPC that you want
--   to associate with a private hosted zone.
avwhzVPC :: Lens' AssociateVPCWithHostedZone VPC

-- | Creates a value of <a>AssociateVPCWithHostedZoneResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>avwhzrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>avwhzrsChangeInfo</a> - A complex type that describes the
--   changes made to your hosted zone.</li>
--   </ul>
associateVPCWithHostedZoneResponse :: Int -> ChangeInfo -> AssociateVPCWithHostedZoneResponse

-- | A complex type that contains the response information for the
--   <tt>AssociateVPCWithHostedZone</tt> request.
--   
--   <i>See:</i> <a>associateVPCWithHostedZoneResponse</a> smart
--   constructor.
data AssociateVPCWithHostedZoneResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
avwhzrsResponseStatus :: Lens' AssociateVPCWithHostedZoneResponse Int

-- | A complex type that describes the changes made to your hosted zone.
avwhzrsChangeInfo :: Lens' AssociateVPCWithHostedZoneResponse ChangeInfo
instance GHC.Generics.Generic Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZoneResponse
instance Data.Data.Data Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZoneResponse
instance GHC.Show.Show Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZoneResponse
instance GHC.Read.Read Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZoneResponse
instance GHC.Classes.Eq Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZoneResponse
instance GHC.Generics.Generic Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Data.Data.Data Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance GHC.Show.Show Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance GHC.Read.Read Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance GHC.Classes.Eq Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Data.Hashable.Class.Hashable Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZone
instance Control.DeepSeq.NFData Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZoneResponse


-- | Amazon Route 53 is a scalable Domain Name System (DNS) web service. It
--   provides secure and reliable routing to your infrastructure that uses
--   Amazon Web Services (AWS) products, such as Amazon Elastic Compute
--   Cloud (Amazon EC2), Elastic Load Balancing, or Amazon Simple Storage
--   Service (Amazon S3). You can also use Amazon Route 53 to route users
--   to your infrastructure outside of AWS.
module Network.AWS.Route53

-- | API version <tt>2013-04-01</tt> of the Amazon Route 53 SDK
--   configuration.
route53 :: Service

-- | The value of <tt>HealthCheckVersion</tt> in the request doesn't match
--   the value of <tt>HealthCheckVersion</tt> in the health check.
_HealthCheckVersionMismatch :: AsError a => Getting (First ServiceError) a ServiceError

-- | The input is not valid.
_InvalidInput :: AsError a => Getting (First ServiceError) a ServiceError

-- | The hosted zone contains resource records that are not SOA or NS
--   records.
_HostedZoneNotEmpty :: AsError a => Getting (First ServiceError) a ServiceError

-- | Parameter name and problem.
_InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError

-- | Traffic policy instance with given Id already exists.
_TrafficPolicyInstanceAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | You tried to update a traffic policy instance by using a traffic
--   policy version that has a different DNS type than the current type for
--   the instance. You specified the type in the JSON document in the
--   <tt>CreateTrafficPolicy</tt> or <tt>CreateTrafficPolicyVersion</tt>
--   request.
_ConflictingTypes :: AsError a => Getting (First ServiceError) a ServiceError

-- | Another user submitted a request to update the object at the same time
--   that you did. Retry the request.
_ConcurrentModification :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified delegation set has already been marked as reusable.
_DelegationSetAlreadyReusable :: AsError a => Getting (First ServiceError) a ServiceError

-- | Associating the specified VPC with the specified hosted zone has not
--   been authorized.
_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | If Amazon Route 53 can't process a request before the next request
--   arrives, it will reject subsequent requests for the same hosted zone
--   and return an <tt>HTTP 400 error</tt> (<tt>Bad request</tt> ). If
--   Amazon Route 53 returns this error repeatedly for the same request, we
--   recommend that you wait, in intervals of increasing duration, before
--   you try the request again.
_PriorRequestNotComplete :: AsError a => Getting (First ServiceError) a ServiceError

-- | This exception contains a list of messages that might contain one or
--   more error messages. Each error message indicates one error in the
--   change batch.
_InvalidChangeBatch :: AsError a => Getting (First ServiceError) a ServiceError

-- | You've created the maximum number of authorizations that can be
--   created for the specified hosted zone. To authorize another VPC to be
--   associated with the hosted zone, submit a
--   <tt>DeleteVPCAssociationAuthorization</tt> request to remove an
--   existing authorization. To get a list of existing authorizations,
--   submit a <tt>ListVPCAssociationAuthorizations</tt> request.
_TooManyVPCAssociationAuthorizations :: AsError a => Getting (First ServiceError) a ServiceError

-- | A traffic policy that has the same value for <tt>Name</tt> already
--   exists.
_TrafficPolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | The format of the traffic policy document that you specified in the
--   <tt>Document</tt> element is invalid.
_InvalidTrafficPolicyDocument :: AsError a => Getting (First ServiceError) a ServiceError

-- | Prism for InvalidPaginationToken' errors.
_InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError

-- | A reusable delegation set with the specified ID does not exist.
_DelegationSetNotReusable :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified domain name is not valid.
_InvalidDomainName :: AsError a => Getting (First ServiceError) a ServiceError

-- | No traffic policy exists with the specified ID.
_NoSuchTrafficPolicy :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified HostedZone can't be found.
_HostedZoneNotFound :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified delegation contains associated hosted zones which must
--   be deleted before the reusable delegation set can be deleted.
_DelegationSetInUse :: AsError a => Getting (First ServiceError) a ServiceError

-- | A reusable delegation set with the specified ID does not exist.
_NoSuchDelegationSet :: AsError a => Getting (First ServiceError) a ServiceError

-- | The health check you're attempting to create already exists.
--   
--   Amazon Route 53 returns this error when a health check has already
--   been created with the specified value for <tt>CallerReference</tt> .
_HealthCheckAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | You've created the maximum number of traffic policies that can be
--   created for the current AWS account. You can request an increase to
--   the limit on the <a>Contact Us</a> page.
_TooManyTrafficPolicies :: AsError a => Getting (First ServiceError) a ServiceError

-- | The VPC that you specified is not authorized to be associated with the
--   hosted zone.
_VPCAssociationAuthorizationNotFound :: AsError a => Getting (First ServiceError) a ServiceError

-- | Amazon Route 53 doesn't support the specified geolocation.
_NoSuchGeoLocation :: AsError a => Getting (First ServiceError) a ServiceError

-- | You can create a hosted zone that has the same name as an existing
--   hosted zone (example.com is common), but there is a limit to the
--   number of hosted zones that have the same name. If you get this error,
--   Amazon Route 53 has reached that limit. If you own the domain name and
--   Amazon Route 53 generates this error, contact Customer Support.
_DelegationSetNotAvailable :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified VPC and hosted zone are not currently associated.
_VPCAssociationNotFound :: AsError a => Getting (First ServiceError) a ServiceError
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError

-- | A change with the specified change ID does not exist.
_NoSuchChange :: AsError a => Getting (First ServiceError) a ServiceError

-- | The limits specified for a resource have been exceeded.
_LimitsExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | You've created the maximum number of traffic policy instances that can
--   be created for the current AWS account. You can request an increase to
--   the limit on the <a>Contact Us</a> page.
_TooManyTrafficPolicyInstances :: AsError a => Getting (First ServiceError) a ServiceError

-- | No traffic policy instance exists with the specified ID.
_NoSuchTrafficPolicyInstance :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource you are trying to access is unsupported on this Amazon
--   Route 53 endpoint. Please consider using a newer endpoint or a tool
--   that does so.
_IncompatibleVersion :: AsError a => Getting (First ServiceError) a ServiceError

-- | You're trying to associate a VPC with a public hosted zone. Amazon
--   Route 53 doesn't support associating a VPC with a public hosted zone.
_PublicZoneVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError

-- | No hosted zone exists with the ID that you specified.
_NoSuchHostedZone :: AsError a => Getting (First ServiceError) a ServiceError

-- | This hosted zone can't be created because the hosted zone limit is
--   exceeded. To request a limit increase, go to the Amazon Route 53
--   <a>Contact Us</a> page.
_TooManyHostedZones :: AsError a => Getting (First ServiceError) a ServiceError

-- | The health check ID for this health check is referenced in the
--   <tt>HealthCheckId</tt> element in one of the resource record sets in
--   one of the hosted zones that are owned by the current AWS account.
_HealthCheckInUse :: AsError a => Getting (First ServiceError) a ServiceError

-- | A delegation set with the same owner and caller reference combination
--   has already been created.
_DelegationSetAlreadyCreated :: AsError a => Getting (First ServiceError) a ServiceError

-- | You specified an Amazon VPC that you're already using for another
--   hosted zone, and the domain that you specified for one of the hosted
--   zones is a subdomain of the domain that you specified for the other
--   hosted zone. For example, you can't use the same Amazon VPC for the
--   hosted zones for example.com and test.example.com.
_ConflictingDomainExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | The VPC that you're trying to disassociate from the private hosted
--   zone is the last VPC that is associated with the hosted zone. Amazon
--   Route 53 doesn't support disassociating the last VPC from a hosted
--   zone.
_LastVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError

-- | You have reached the maximum number of active health checks for an AWS
--   account. The default limit is 100. To request a higher limit,
--   <a>create a case</a> with the AWS Support Center.
_TooManyHealthChecks :: AsError a => Getting (First ServiceError) a ServiceError

-- | No health check exists with the ID that you specified in the
--   <tt>DeleteHealthCheck</tt> request.
_NoSuchHealthCheck :: AsError a => Getting (First ServiceError) a ServiceError

-- | One or more traffic policy instances were created by using the
--   specified traffic policy.
_TrafficPolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError

-- | The VPC ID that you specified either isn't a valid ID or the current
--   account is not authorized to access this VPC.
_InvalidVPCId :: AsError a => Getting (First ServiceError) a ServiceError

-- | The hosted zone you are trying to create already exists. Amazon Route
--   53 returns this error when a hosted zone has already been created with
--   the specified <tt>CallerReference</tt> .
_HostedZoneAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | Polls <a>GetChange</a> every 30 seconds until a successful state is
--   reached. An error is returned after 60 failed checks.
resourceRecordSetsChanged :: Wait GetChange

-- | The available AWS regions.
data Region :: *

-- | US East ('us-east-1').
NorthVirginia :: Region

-- | US East ('us-east-2').
Ohio :: Region

-- | US West ('us-west-1').
NorthCalifornia :: Region

-- | US West ('us-west-2').
Oregon :: Region

-- | Asia Pacific ('ap-northeast-1').
Tokyo :: Region

-- | Asia Pacific ('ap-northeast-2').
Seoul :: Region

-- | Asia Pacific ('ap-south-1').
Mumbai :: Region

-- | Asia Pacific ('ap-southeast-1').
Singapore :: Region

-- | Asia Pacific ('ap-southeast-2').
Sydney :: Region

-- | South America ('sa-east-1').
SaoPaulo :: Region

-- | EU ('eu-west-1').
Ireland :: Region

-- | EU ('eu-central-1').
Frankfurt :: Region

-- | US GovCloud ('us-gov-west-1').
GovCloud :: Region

-- | US GovCloud FIPS (S3 Only, 'fips-us-gov-west-1').
GovCloudFIPS :: Region

-- | China ('cn-north-1').
Beijing :: Region

-- | A Route53 identifier for resources such as hosted zones and delegation
--   sets.
--   
--   Since Route53 outputs prefixed resource identifiers such as
--   <tt><i>hostedzone</i>ABC123</tt>, but expects unprefixed identifiers
--   as inputs, such as <tt>ABC123</tt>, the <a>FromXML</a> instance will
--   strip this prefix take care to ensure the correct input format is
--   observed and <tt>decodeXML . encodeXML == id</tt> holds.
newtype ResourceId
ResourceId :: Text -> ResourceId
[fromResourceId] :: ResourceId -> Text

-- | Get the hosted zone identifier for an S3 website endpoint.
--   
--   When you configure your bucket as a website, the website is available
--   using a region-specific website endpoint. This hosted zone identifier
--   is used adding an alias record to the website to your hosted zone.
--   
--   <i>See:</i> <a>Amazon Simple Storage Service Website Endpoints</a>.
getHostedZoneId :: Region -> Maybe ResourceId
data ChangeAction
Create :: ChangeAction
Delete :: ChangeAction
Upsert :: ChangeAction
data ChangeStatus
Insync :: ChangeStatus
Pending :: ChangeStatus
data CloudWatchRegion
CWRApNortheast1 :: CloudWatchRegion
CWRApNortheast2 :: CloudWatchRegion
CWRApSouth1 :: CloudWatchRegion
CWRApSoutheast1 :: CloudWatchRegion
CWRApSoutheast2 :: CloudWatchRegion
CWREuCentral1 :: CloudWatchRegion
CWREuWest1 :: CloudWatchRegion
CWRSaEast1 :: CloudWatchRegion
CWRUsEast1 :: CloudWatchRegion
CWRUsEast2 :: CloudWatchRegion
CWRUsWest1 :: CloudWatchRegion
CWRUsWest2 :: CloudWatchRegion
data ComparisonOperator
GreaterThanOrEqualToThreshold :: ComparisonOperator
GreaterThanThreshold :: ComparisonOperator
LessThanOrEqualToThreshold :: ComparisonOperator
LessThanThreshold :: ComparisonOperator
data Failover
Primary :: Failover
Secondary :: Failover

-- | An Amazon EC2 Region that you want Amazon Route 53 to use to perform
--   health checks.
data HealthCheckRegion
HCRApNortheast1 :: HealthCheckRegion
HCRApSoutheast1 :: HealthCheckRegion
HCRApSoutheast2 :: HealthCheckRegion
HCREuWest1 :: HealthCheckRegion
HCRSaEast1 :: HealthCheckRegion
HCRUsEast1 :: HealthCheckRegion
HCRUsWest1 :: HealthCheckRegion
HCRUsWest2 :: HealthCheckRegion
data HealthCheckType
Calculated :: HealthCheckType
CloudwatchMetric :: HealthCheckType
HTTP :: HealthCheckType
HTTPS :: HealthCheckType
HTTPSStrMatch :: HealthCheckType
HTTPStrMatch :: HealthCheckType
TCP :: HealthCheckType
data InsufficientDataHealthStatus
Healthy :: InsufficientDataHealthStatus
LastKnownStatus :: InsufficientDataHealthStatus
Unhealthy :: InsufficientDataHealthStatus
data RecordType
A :: RecordType
Aaaa :: RecordType
Cname :: RecordType
MX :: RecordType
NS :: RecordType
Naptr :: RecordType
Ptr :: RecordType
Soa :: RecordType
Spf :: RecordType
Srv :: RecordType
Txt :: RecordType
data Statistic
Average :: Statistic
Maximum :: Statistic
Minimum :: Statistic
SampleCount :: Statistic
Sum :: Statistic
data TagResourceType
Healthcheck :: TagResourceType
Hostedzone :: TagResourceType
data VPCRegion
ApNortheast1 :: VPCRegion
ApNortheast2 :: VPCRegion
ApSouth1 :: VPCRegion
ApSoutheast1 :: VPCRegion
ApSoutheast2 :: VPCRegion
CnNorth1 :: VPCRegion
EuCentral1 :: VPCRegion
EuWest1 :: VPCRegion
SaEast1 :: VPCRegion
UsEast1 :: VPCRegion
UsEast2 :: VPCRegion
UsWest1 :: VPCRegion
UsWest2 :: VPCRegion

-- | A complex type that identifies the CloudWatch alarm that you want
--   Amazon Route 53 health checkers to use to determine whether this
--   health check is healthy.
--   
--   <i>See:</i> <a>alarmIdentifier</a> smart constructor.
data AlarmIdentifier

-- | Creates a value of <a>AlarmIdentifier</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aiRegion</a> - A complex type that identifies the CloudWatch
--   alarm that you want Amazon Route 53 health checkers to use to
--   determine whether this health check is healthy. For the current list
--   of CloudWatch regions, see <a>Amazon CloudWatch</a> in <i>AWS Regions
--   and Endpoints</i> in the <i>Amazon Web Services General Reference</i>
--   .</li>
--   <li><a>aiName</a> - The name of the CloudWatch alarm that you want
--   Amazon Route 53 health checkers to use to determine whether this
--   health check is healthy.</li>
--   </ul>
alarmIdentifier :: CloudWatchRegion -> Text -> AlarmIdentifier

-- | A complex type that identifies the CloudWatch alarm that you want
--   Amazon Route 53 health checkers to use to determine whether this
--   health check is healthy. For the current list of CloudWatch regions,
--   see <a>Amazon CloudWatch</a> in <i>AWS Regions and Endpoints</i> in
--   the <i>Amazon Web Services General Reference</i> .
aiRegion :: Lens' AlarmIdentifier CloudWatchRegion

-- | The name of the CloudWatch alarm that you want Amazon Route 53 health
--   checkers to use to determine whether this health check is healthy.
aiName :: Lens' AlarmIdentifier Text

-- | <i>Alias resource record sets only:</i> Information about the
--   CloudFront distribution, Elastic Beanstalk environment, ELB load
--   balancer, Amazon S3 bucket, or Amazon Route 53 resource record set
--   that you're redirecting queries to. The Elastic Beanstalk environment
--   must have a regionalized subdomain.
--   
--   When creating resource record sets for a private hosted zone, note the
--   following:
--   
--   <ul>
--   <li>Resource record sets can't be created for CloudFront distributions
--   in a private hosted zone.</li>
--   <li>Creating geolocation alias resource record sets or latency alias
--   resource record sets in a private hosted zone is unsupported.</li>
--   <li>For information about creating failover resource record sets in a
--   private hosted zone, see <a>Configuring Failover in a Private Hosted
--   Zone</a> .</li>
--   </ul>
--   
--   <i>See:</i> <a>aliasTarget</a> smart constructor.
data AliasTarget

-- | Creates a value of <a>AliasTarget</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>atHostedZoneId</a> - <i>Alias resource records sets only</i> :
--   The value used depends on where the queries are routed: * A CloudFront
--   distribution * Specify <tt>Z2FDTNDATAQYW2</tt> . * Elastic Beanstalk
--   environment * Specify the hosted zone ID for the region in which you
--   created the environment. The environment must have a regionalized
--   subdomain. For a list of regions and the corresponding hosted zone
--   IDs, see <a>AWS Elastic Beanstalk</a> in the Regions and Endpoints
--   chapter of the <i>Amazon Web Services General Reference</i> . * ELB
--   load balancer * Specify the value of the hosted zone ID for the load
--   balancer. Use the following methods to get the hosted zone ID: * AWS
--   Management Console: Go to the Amazon EC2 page, click <b>Load
--   Balancers</b> in the navigation pane, select the load balancer, and
--   get the value of the <b>Hosted Zone ID</b> field on the
--   <b>Description</b> tab. Use the same process to get the value of
--   <b>DNS Name</b> . See 'HostedZone$Name' . * Elastic Load Balancing
--   API: Use <tt>DescribeLoadBalancers</tt> to get the value of
--   <tt>CanonicalHostedZoneNameID</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneName</tt> . See 'HostedZone$Name' . * AWS CLI:
--   Use <tt><a>describe-load-balancers</a> </tt> to get the value of
--   <tt>CanonicalHostedZoneNameID</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneName</tt> . See 'HostedZone$Name' . * An Amazon
--   S3 bucket configured as a static website * Specify the hosted zone ID
--   for the Amazon S3 website endpoint in which you created the bucket.
--   For more information about valid values, see the table <a>Amazon S3
--   (S3) Website Endpoints</a> in the <i>Amazon Web Services General
--   Reference</i> . * Another Amazon Route 53 resource record set in your
--   hosted zone * Specify the hosted zone ID of your hosted zone. (An
--   alias resource record set can't reference a resource record set in a
--   different hosted zone.)</li>
--   <li><a>atDNSName</a> - <i>Alias resource record sets only:</i> The
--   value that you specify depends on where you want to route queries: *
--   <b>A CloudFront distribution:</b> Specify the domain name that
--   CloudFront assigned when you created your distribution. Your
--   CloudFront distribution must include an alternate domain name that
--   matches the name of the resource record set. For example, if the name
--   of the resource record set is <i>acme.example.com</i> , your
--   CloudFront distribution must include <i>acme.example.com</i> as one of
--   the alternate domain names. For more information, see <a>Using
--   Alternate Domain Names (CNAMEs)</a> in the <i>Amazon CloudFront
--   Developer Guide</i> . * <b>Elastic Beanstalk environment</b> : Specify
--   the <tt>CNAME</tt> attribute for the environment. (The environment
--   must have a regionalized domain name.) You can use the following
--   methods to get the value of the CNAME attribute: * <i>AWS Managment
--   Console</i> : For information about how to get the value by using the
--   console, see <a>Using Custom Domains with AWS Elastic Beanstalk</a> in
--   the <i>AWS Elastic Beanstalk Developer Guide</i> . * <i>Elastic Load
--   Balancing API</i> : Use the <tt>DescribeEnvironments</tt> action to
--   get the value of the <tt>CNAME</tt> attribute. For more information,
--   see <a>DescribeEnvironments</a> in the <i>AWS Elastic Beanstalk API
--   Reference</i> . * <i>AWS CLI</i> : Use the describe-environments
--   command to get the value of the <tt>CNAME</tt> attribute. For more
--   information, see <a>describe-environments</a> in the <i>AWS Command
--   Line Interface Reference</i> . * <b>An ELB load balancer:</b> Specify
--   the DNS name associated with the load balancer. Get the DNS name by
--   using the AWS Management Console, the ELB API, or the AWS CLI. Use the
--   same method to get values for <tt>HostedZoneId</tt> and
--   <tt>DNSName</tt> . If you get one value from the console and the other
--   value from the API or the CLI, creating the resource record set will
--   fail. * <i>AWS Management Console</i> : Go to the EC2 page, click
--   <b>Load Balancers</b> in the navigation pane, choose the load
--   balancer, choose the <b>Description</b> tab, and get the value of the
--   <b>DNS Name</b> field that begins with dualstack. Use the same process
--   to get the <b>Hosted Zone ID</b> . See 'HostedZone$Id' . * <i>Elastic
--   Load Balancing API</i> : Use <tt><a>DescribeLoadBalancers</a> </tt> to
--   get the value of <tt>CanonicalHostedZoneName</tt> . Use the same
--   process to get the <tt>CanonicalHostedZoneNameId</tt> . See
--   'HostedZone$Id' . * <i>AWS CLI</i> : Use
--   <tt><a>describe-load-balancers</a> </tt> to get the value of
--   <tt>CanonicalHostedZoneName</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneNameId</tt> . See HostedZoneId. * <b>An Amazon
--   S3 bucket that is configured as a static website:</b> Specify the
--   domain name of the Amazon S3 website endpoint in which you created the
--   bucket; for example, <tt>s3-website-us-east-1.amazonaws.com</tt> . For
--   more information about valid values, see the table <a>Amazon Simple
--   Storage Service (S3) Website Endpoints</a> in the <i>Amazon Web
--   Services General Reference</i> . For more information about using S3
--   buckets for websites, see <a>Hosting a Static Website on Amazon S3</a>
--   in the <i>Amazon S3 Developer Guide.</i> * <b>Another Amazon Route 53
--   resource record set</b> : Specify the value of the <tt>Name</tt>
--   element for a resource record set in the current hosted zone.</li>
--   <li><a>atEvaluateTargetHealth</a> - <i>Applies only to alias, weighted
--   alias, latency alias, and failover alias record sets:</i> If you set
--   the value of <tt>EvaluateTargetHealth</tt> to <tt>true</tt> for the
--   resource record set or sets in an alias, weighted alias, latency
--   alias, or failover alias resource record set, and if you specify a
--   value for <tt>'HealthCheck$Id' </tt> for every resource record set
--   that is referenced by these alias resource record sets, the alias
--   resource record sets inherit the health of the referenced resource
--   record sets. In this configuration, when Amazon Route 53 receives a
--   DNS query for an alias resource record set: * Amazon Route 53 looks at
--   the resource record sets that are referenced by the alias resource
--   record sets to determine which health checks they're using. * Amazon
--   Route 53 checks the current status of each health check. (Amazon Route
--   53 periodically checks the health of the endpoint that is specified in
--   a health check; it doesn't perform the health check when the DNS query
--   arrives.) * Based on the status of the health checks, Amazon Route 53
--   determines which resource record sets are healthy. Unhealthy resource
--   record sets are immediately removed from consideration. In addition,
--   if all of the resource record sets that are referenced by an alias
--   resource record set are unhealthy, that alias resource record set also
--   is immediately removed from consideration. * Based on the
--   configuration of the alias resource record sets (weighted alias or
--   latency alias, for example) and the configuration of the resource
--   record sets that they reference, Amazon Route 53 chooses a resource
--   record set from the healthy resource record sets, and responds to the
--   query. Note the following: * You can't set
--   <tt>EvaluateTargetHealth</tt> to <tt>true</tt> when the alias target
--   is a CloudFront distribution. * If the AWS resource that you specify
--   in <tt>AliasTarget</tt> is a resource record set or a group of
--   resource record sets (for example, a group of weighted resource record
--   sets), but it is not another alias resource record set, we recommend
--   that you associate a health check with all of the resource record sets
--   in the alias target.For more information, see <a>What Happens When You
--   Omit Health Checks?</a> in the <i>Amazon Route 53 Developer Guide</i>
--   . * If you specify an Elastic Beanstalk environment in
--   <tt>HostedZoneId</tt> and <tt>DNSName</tt> , and if the environment
--   contains an ELB load balancer, Elastic Load Balancing routes queries
--   only to the healthy Amazon EC2 instances that are registered with the
--   load balancer. (An environment automatically contains an ELB load
--   balancer if it includes more than one EC2 instance.) If you set
--   <tt>EvaluateTargetHealth</tt> to <tt>true</tt> and either no EC2
--   instances are healthy or the load balancer itself is unhealthy, Amazon
--   Route 53 routes queries to other available resources that are healthy,
--   if any. If the environment contains a single EC2 instance, there are
--   no special requirements. * If you specify an ELB load balancer in
--   <tt><a>AliasTarget</a> </tt> , Elastic Load Balancing routes queries
--   only to the healthy EC2 instances that are registered with the load
--   balancer. If no EC2 instances are healthy or if the load balancer
--   itself is unhealthy, and if <tt>EvaluateTargetHealth</tt> is true for
--   the corresponding alias resource record set, Amazon Route 53 routes
--   queries to other resources. When you create a load balancer, you
--   configure settings for Elastic Load Balancing health checks; they're
--   not Amazon Route 53 health checks, but they perform a similar
--   function. Do not create Amazon Route 53 health checks for the EC2
--   instances that you register with an ELB load balancer. For more
--   information, see <a>How Health Checks Work in More Complex Amazon
--   Route 53 Configurations</a> in the <i>Amazon Route 53 Developers
--   Guide</i> . * We recommend that you set <tt>EvaluateTargetHealth</tt>
--   to true only when you have enough idle capacity to handle the failure
--   of one or more endpoints. For more information and examples, see
--   <a>Amazon Route 53 Health Checks and DNS Failover</a> in the <i>Amazon
--   Route 53 Developer Guide</i> .</li>
--   </ul>
aliasTarget :: ResourceId -> Text -> Bool -> AliasTarget

-- | <i>Alias resource records sets only</i> : The value used depends on
--   where the queries are routed: * A CloudFront distribution * Specify
--   <tt>Z2FDTNDATAQYW2</tt> . * Elastic Beanstalk environment * Specify
--   the hosted zone ID for the region in which you created the
--   environment. The environment must have a regionalized subdomain. For a
--   list of regions and the corresponding hosted zone IDs, see <a>AWS
--   Elastic Beanstalk</a> in the Regions and Endpoints chapter of the
--   <i>Amazon Web Services General Reference</i> . * ELB load balancer *
--   Specify the value of the hosted zone ID for the load balancer. Use the
--   following methods to get the hosted zone ID: * AWS Management Console:
--   Go to the Amazon EC2 page, click <b>Load Balancers</b> in the
--   navigation pane, select the load balancer, and get the value of the
--   <b>Hosted Zone ID</b> field on the <b>Description</b> tab. Use the
--   same process to get the value of <b>DNS Name</b> . See
--   'HostedZone$Name' . * Elastic Load Balancing API: Use
--   <tt>DescribeLoadBalancers</tt> to get the value of
--   <tt>CanonicalHostedZoneNameID</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneName</tt> . See 'HostedZone$Name' . * AWS CLI:
--   Use <tt><a>describe-load-balancers</a> </tt> to get the value of
--   <tt>CanonicalHostedZoneNameID</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneName</tt> . See 'HostedZone$Name' . * An Amazon
--   S3 bucket configured as a static website * Specify the hosted zone ID
--   for the Amazon S3 website endpoint in which you created the bucket.
--   For more information about valid values, see the table <a>Amazon S3
--   (S3) Website Endpoints</a> in the <i>Amazon Web Services General
--   Reference</i> . * Another Amazon Route 53 resource record set in your
--   hosted zone * Specify the hosted zone ID of your hosted zone. (An
--   alias resource record set can't reference a resource record set in a
--   different hosted zone.)
atHostedZoneId :: Lens' AliasTarget ResourceId

-- | <i>Alias resource record sets only:</i> The value that you specify
--   depends on where you want to route queries: * <b>A CloudFront
--   distribution:</b> Specify the domain name that CloudFront assigned
--   when you created your distribution. Your CloudFront distribution must
--   include an alternate domain name that matches the name of the resource
--   record set. For example, if the name of the resource record set is
--   <i>acme.example.com</i> , your CloudFront distribution must include
--   <i>acme.example.com</i> as one of the alternate domain names. For more
--   information, see <a>Using Alternate Domain Names (CNAMEs)</a> in the
--   <i>Amazon CloudFront Developer Guide</i> . * <b>Elastic Beanstalk
--   environment</b> : Specify the <tt>CNAME</tt> attribute for the
--   environment. (The environment must have a regionalized domain name.)
--   You can use the following methods to get the value of the CNAME
--   attribute: * <i>AWS Managment Console</i> : For information about how
--   to get the value by using the console, see <a>Using Custom Domains
--   with AWS Elastic Beanstalk</a> in the <i>AWS Elastic Beanstalk
--   Developer Guide</i> . * <i>Elastic Load Balancing API</i> : Use the
--   <tt>DescribeEnvironments</tt> action to get the value of the
--   <tt>CNAME</tt> attribute. For more information, see
--   <a>DescribeEnvironments</a> in the <i>AWS Elastic Beanstalk API
--   Reference</i> . * <i>AWS CLI</i> : Use the describe-environments
--   command to get the value of the <tt>CNAME</tt> attribute. For more
--   information, see <a>describe-environments</a> in the <i>AWS Command
--   Line Interface Reference</i> . * <b>An ELB load balancer:</b> Specify
--   the DNS name associated with the load balancer. Get the DNS name by
--   using the AWS Management Console, the ELB API, or the AWS CLI. Use the
--   same method to get values for <tt>HostedZoneId</tt> and
--   <tt>DNSName</tt> . If you get one value from the console and the other
--   value from the API or the CLI, creating the resource record set will
--   fail. * <i>AWS Management Console</i> : Go to the EC2 page, click
--   <b>Load Balancers</b> in the navigation pane, choose the load
--   balancer, choose the <b>Description</b> tab, and get the value of the
--   <b>DNS Name</b> field that begins with dualstack. Use the same process
--   to get the <b>Hosted Zone ID</b> . See 'HostedZone$Id' . * <i>Elastic
--   Load Balancing API</i> : Use <tt><a>DescribeLoadBalancers</a> </tt> to
--   get the value of <tt>CanonicalHostedZoneName</tt> . Use the same
--   process to get the <tt>CanonicalHostedZoneNameId</tt> . See
--   'HostedZone$Id' . * <i>AWS CLI</i> : Use
--   <tt><a>describe-load-balancers</a> </tt> to get the value of
--   <tt>CanonicalHostedZoneName</tt> . Use the same process to get the
--   <tt>CanonicalHostedZoneNameId</tt> . See HostedZoneId. * <b>An Amazon
--   S3 bucket that is configured as a static website:</b> Specify the
--   domain name of the Amazon S3 website endpoint in which you created the
--   bucket; for example, <tt>s3-website-us-east-1.amazonaws.com</tt> . For
--   more information about valid values, see the table <a>Amazon Simple
--   Storage Service (S3) Website Endpoints</a> in the <i>Amazon Web
--   Services General Reference</i> . For more information about using S3
--   buckets for websites, see <a>Hosting a Static Website on Amazon S3</a>
--   in the <i>Amazon S3 Developer Guide.</i> * <b>Another Amazon Route 53
--   resource record set</b> : Specify the value of the <tt>Name</tt>
--   element for a resource record set in the current hosted zone.
atDNSName :: Lens' AliasTarget Text

-- | <i>Applies only to alias, weighted alias, latency alias, and failover
--   alias record sets:</i> If you set the value of
--   <tt>EvaluateTargetHealth</tt> to <tt>true</tt> for the resource record
--   set or sets in an alias, weighted alias, latency alias, or failover
--   alias resource record set, and if you specify a value for
--   <tt>'HealthCheck$Id' </tt> for every resource record set that is
--   referenced by these alias resource record sets, the alias resource
--   record sets inherit the health of the referenced resource record sets.
--   In this configuration, when Amazon Route 53 receives a DNS query for
--   an alias resource record set: * Amazon Route 53 looks at the resource
--   record sets that are referenced by the alias resource record sets to
--   determine which health checks they're using. * Amazon Route 53 checks
--   the current status of each health check. (Amazon Route 53 periodically
--   checks the health of the endpoint that is specified in a health check;
--   it doesn't perform the health check when the DNS query arrives.) *
--   Based on the status of the health checks, Amazon Route 53 determines
--   which resource record sets are healthy. Unhealthy resource record sets
--   are immediately removed from consideration. In addition, if all of the
--   resource record sets that are referenced by an alias resource record
--   set are unhealthy, that alias resource record set also is immediately
--   removed from consideration. * Based on the configuration of the alias
--   resource record sets (weighted alias or latency alias, for example)
--   and the configuration of the resource record sets that they reference,
--   Amazon Route 53 chooses a resource record set from the healthy
--   resource record sets, and responds to the query. Note the following: *
--   You can't set <tt>EvaluateTargetHealth</tt> to <tt>true</tt> when the
--   alias target is a CloudFront distribution. * If the AWS resource that
--   you specify in <tt>AliasTarget</tt> is a resource record set or a
--   group of resource record sets (for example, a group of weighted
--   resource record sets), but it is not another alias resource record
--   set, we recommend that you associate a health check with all of the
--   resource record sets in the alias target.For more information, see
--   <a>What Happens When You Omit Health Checks?</a> in the <i>Amazon
--   Route 53 Developer Guide</i> . * If you specify an Elastic Beanstalk
--   environment in <tt>HostedZoneId</tt> and <tt>DNSName</tt> , and if the
--   environment contains an ELB load balancer, Elastic Load Balancing
--   routes queries only to the healthy Amazon EC2 instances that are
--   registered with the load balancer. (An environment automatically
--   contains an ELB load balancer if it includes more than one EC2
--   instance.) If you set <tt>EvaluateTargetHealth</tt> to <tt>true</tt>
--   and either no EC2 instances are healthy or the load balancer itself is
--   unhealthy, Amazon Route 53 routes queries to other available resources
--   that are healthy, if any. If the environment contains a single EC2
--   instance, there are no special requirements. * If you specify an ELB
--   load balancer in <tt><a>AliasTarget</a> </tt> , Elastic Load Balancing
--   routes queries only to the healthy EC2 instances that are registered
--   with the load balancer. If no EC2 instances are healthy or if the load
--   balancer itself is unhealthy, and if <tt>EvaluateTargetHealth</tt> is
--   true for the corresponding alias resource record set, Amazon Route 53
--   routes queries to other resources. When you create a load balancer,
--   you configure settings for Elastic Load Balancing health checks;
--   they're not Amazon Route 53 health checks, but they perform a similar
--   function. Do not create Amazon Route 53 health checks for the EC2
--   instances that you register with an ELB load balancer. For more
--   information, see <a>How Health Checks Work in More Complex Amazon
--   Route 53 Configurations</a> in the <i>Amazon Route 53 Developers
--   Guide</i> . * We recommend that you set <tt>EvaluateTargetHealth</tt>
--   to true only when you have enough idle capacity to handle the failure
--   of one or more endpoints. For more information and examples, see
--   <a>Amazon Route 53 Health Checks and DNS Failover</a> in the <i>Amazon
--   Route 53 Developer Guide</i> .
atEvaluateTargetHealth :: Lens' AliasTarget Bool

-- | The information for each resource record set that you want to change.
--   
--   <i>See:</i> <a>change</a> smart constructor.
data Change

-- | Creates a value of <a>Change</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cAction</a> - The action to perform: * <tt>CREATE</tt> :
--   Creates a resource record set that has the specified values. *
--   <tt>DELETE</tt> : Deletes a existing resource record set.
--   <i>Important:</i> To delete the resource record set that is associated
--   with a traffic policy instance, use
--   <tt><tt>DeleteTrafficPolicyInstance</tt> </tt> . Amazon Route 53 will
--   delete the resource record set automatically. If you delete the
--   resource record set by using <tt>ChangeResourceRecordSets</tt> ,
--   Amazon Route 53 doesn't automatically delete the traffic policy
--   instance, and you'll continue to be charged for it even though it's no
--   longer in use. * <tt>UPSERT</tt> : If a resource record set doesn't
--   already exist, Amazon Route 53 creates it. If a resource record set
--   does exist, Amazon Route 53 updates it with the values in the request.
--   The values that you need to include in the request depend on the type
--   of resource record set that you're creating, deleting, or updating:
--   <b>Basic resource record sets (excluding alias, failover, geolocation,
--   latency, and weighted resource record sets)</b> * <tt>Name</tt> *
--   <tt>Type</tt> * <tt>TTL</tt> <b>Failover, geolocation, latency, or
--   weighted resource record sets (excluding alias resource record
--   sets)</b> * <tt>Name</tt> * <tt>Type</tt> * <tt>TTL</tt> *
--   <tt>SetIdentifier</tt> <b>Alias resource record sets (including
--   failover alias, geolocation alias, latency alias, and weighted alias
--   resource record sets)</b> * <tt>Name</tt> * <tt>Type</tt> *
--   <tt>AliasTarget</tt> (includes <tt>DNSName</tt> ,
--   <tt>EvaluateTargetHealth</tt> , and <tt>HostedZoneId</tt> ) *
--   <tt>SetIdentifier</tt> (for failover, geolocation, latency, and
--   weighted resource record sets)</li>
--   <li><a>cResourceRecordSet</a> - Information about the resource record
--   set to create, delete, or update.</li>
--   </ul>
change :: ChangeAction -> ResourceRecordSet -> Change

-- | The action to perform: * <tt>CREATE</tt> : Creates a resource record
--   set that has the specified values. * <tt>DELETE</tt> : Deletes a
--   existing resource record set. <i>Important:</i> To delete the resource
--   record set that is associated with a traffic policy instance, use
--   <tt><tt>DeleteTrafficPolicyInstance</tt> </tt> . Amazon Route 53 will
--   delete the resource record set automatically. If you delete the
--   resource record set by using <tt>ChangeResourceRecordSets</tt> ,
--   Amazon Route 53 doesn't automatically delete the traffic policy
--   instance, and you'll continue to be charged for it even though it's no
--   longer in use. * <tt>UPSERT</tt> : If a resource record set doesn't
--   already exist, Amazon Route 53 creates it. If a resource record set
--   does exist, Amazon Route 53 updates it with the values in the request.
--   The values that you need to include in the request depend on the type
--   of resource record set that you're creating, deleting, or updating:
--   <b>Basic resource record sets (excluding alias, failover, geolocation,
--   latency, and weighted resource record sets)</b> * <tt>Name</tt> *
--   <tt>Type</tt> * <tt>TTL</tt> <b>Failover, geolocation, latency, or
--   weighted resource record sets (excluding alias resource record
--   sets)</b> * <tt>Name</tt> * <tt>Type</tt> * <tt>TTL</tt> *
--   <tt>SetIdentifier</tt> <b>Alias resource record sets (including
--   failover alias, geolocation alias, latency alias, and weighted alias
--   resource record sets)</b> * <tt>Name</tt> * <tt>Type</tt> *
--   <tt>AliasTarget</tt> (includes <tt>DNSName</tt> ,
--   <tt>EvaluateTargetHealth</tt> , and <tt>HostedZoneId</tt> ) *
--   <tt>SetIdentifier</tt> (for failover, geolocation, latency, and
--   weighted resource record sets)
cAction :: Lens' Change ChangeAction

-- | Information about the resource record set to create, delete, or
--   update.
cResourceRecordSet :: Lens' Change ResourceRecordSet

-- | The information for a change request.
--   
--   <i>See:</i> <a>changeBatch</a> smart constructor.
data ChangeBatch

-- | Creates a value of <a>ChangeBatch</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cbComment</a> - <i>Optional:</i> Any comments you want to
--   include about a change batch request.</li>
--   <li><a>cbChanges</a> - Information about the changes to make to the
--   record sets.</li>
--   </ul>
changeBatch :: NonEmpty Change -> ChangeBatch

-- | <i>Optional:</i> Any comments you want to include about a change batch
--   request.
cbComment :: Lens' ChangeBatch (Maybe Text)

-- | Information about the changes to make to the record sets.
cbChanges :: Lens' ChangeBatch (NonEmpty Change)

-- | A complex type that describes change information about changes made to
--   your hosted zone.
--   
--   <i>See:</i> <a>changeInfo</a> smart constructor.
data ChangeInfo

-- | Creates a value of <a>ChangeInfo</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ciComment</a> - A complex type that describes change
--   information about changes made to your hosted zone. This element
--   contains an ID that you use when performing a <tt>GetChange</tt>
--   action to get detailed information about the change.</li>
--   <li><a>ciId</a> - The ID of the request.</li>
--   <li><a>ciStatus</a> - The current state of the request.
--   <tt>PENDING</tt> indicates that this request has not yet been applied
--   to all Amazon Route 53 DNS servers.</li>
--   <li><a>ciSubmittedAt</a> - The date and time the change request was
--   submitted, in Coordinated Universal Time (UTC) format:
--   <tt>YYYY-MM-DDThh:mm:ssZ</tt> . For more information, see the
--   Wikipedia entry <a>ISO 8601</a> .</li>
--   </ul>
changeInfo :: ResourceId -> ChangeStatus -> UTCTime -> ChangeInfo

-- | A complex type that describes change information about changes made to
--   your hosted zone. This element contains an ID that you use when
--   performing a <tt>GetChange</tt> action to get detailed information
--   about the change.
ciComment :: Lens' ChangeInfo (Maybe Text)

-- | The ID of the request.
ciId :: Lens' ChangeInfo ResourceId

-- | The current state of the request. <tt>PENDING</tt> indicates that this
--   request has not yet been applied to all Amazon Route 53 DNS servers.
ciStatus :: Lens' ChangeInfo ChangeStatus

-- | The date and time the change request was submitted, in Coordinated
--   Universal Time (UTC) format: <tt>YYYY-MM-DDThh:mm:ssZ</tt> . For more
--   information, see the Wikipedia entry <a>ISO 8601</a> .
ciSubmittedAt :: Lens' ChangeInfo UTCTime

-- | A complex type that contains information about the CloudWatch alarm
--   that Amazon Route 53 is monitoring for this health check.
--   
--   <i>See:</i> <a>cloudWatchAlarmConfiguration</a> smart constructor.
data CloudWatchAlarmConfiguration

-- | Creates a value of <a>CloudWatchAlarmConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cwacDimensions</a> - For the metric that the CloudWatch alarm
--   is associated with, a complex type that contains information about the
--   dimensions for the metric.For information, see <a>Amazon CloudWatch
--   Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
--   CloudWatch User Guide</i> .</li>
--   <li><a>cwacEvaluationPeriods</a> - For the metric that the CloudWatch
--   alarm is associated with, the number of periods that the metric is
--   compared to the threshold.</li>
--   <li><a>cwacThreshold</a> - For the metric that the CloudWatch alarm is
--   associated with, the value the metric is compared with.</li>
--   <li><a>cwacComparisonOperator</a> - For the metric that the CloudWatch
--   alarm is associated with, the arithmetic operation that is used for
--   the comparison.</li>
--   <li><a>cwacPeriod</a> - For the metric that the CloudWatch alarm is
--   associated with, the duration of one evaluation period in
--   seconds.</li>
--   <li><a>cwacMetricName</a> - The name of the CloudWatch metric that the
--   alarm is associated with.</li>
--   <li><a>cwacNamespace</a> - The namespace of the metric that the alarm
--   is associated with. For more information, see <a>Amazon CloudWatch
--   Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
--   CloudWatch User Guide</i> .</li>
--   <li><a>cwacStatistic</a> - For the metric that the CloudWatch alarm is
--   associated with, the statistic that is applied to the metric.</li>
--   </ul>
cloudWatchAlarmConfiguration :: Natural -> Double -> ComparisonOperator -> Natural -> Text -> Text -> Statistic -> CloudWatchAlarmConfiguration

-- | For the metric that the CloudWatch alarm is associated with, a complex
--   type that contains information about the dimensions for the metric.For
--   information, see <a>Amazon CloudWatch Namespaces, Dimensions, and
--   Metrics Reference</a> in the <i>Amazon CloudWatch User Guide</i> .
cwacDimensions :: Lens' CloudWatchAlarmConfiguration [Dimension]

-- | For the metric that the CloudWatch alarm is associated with, the
--   number of periods that the metric is compared to the threshold.
cwacEvaluationPeriods :: Lens' CloudWatchAlarmConfiguration Natural

-- | For the metric that the CloudWatch alarm is associated with, the value
--   the metric is compared with.
cwacThreshold :: Lens' CloudWatchAlarmConfiguration Double

-- | For the metric that the CloudWatch alarm is associated with, the
--   arithmetic operation that is used for the comparison.
cwacComparisonOperator :: Lens' CloudWatchAlarmConfiguration ComparisonOperator

-- | For the metric that the CloudWatch alarm is associated with, the
--   duration of one evaluation period in seconds.
cwacPeriod :: Lens' CloudWatchAlarmConfiguration Natural

-- | The name of the CloudWatch metric that the alarm is associated with.
cwacMetricName :: Lens' CloudWatchAlarmConfiguration Text

-- | The namespace of the metric that the alarm is associated with. For
--   more information, see <a>Amazon CloudWatch Namespaces, Dimensions, and
--   Metrics Reference</a> in the <i>Amazon CloudWatch User Guide</i> .
cwacNamespace :: Lens' CloudWatchAlarmConfiguration Text

-- | For the metric that the CloudWatch alarm is associated with, the
--   statistic that is applied to the metric.
cwacStatistic :: Lens' CloudWatchAlarmConfiguration Statistic

-- | A complex type that describes the name servers for this hosted zone.
--   
--   <i>See:</i> <a>delegationSet</a> smart constructor.
data DelegationSet

-- | Creates a value of <a>DelegationSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsId</a> - The ID that Amazon Route 53 assigns to a reusable
--   delegation set.</li>
--   <li><a>dsCallerReference</a> - A unique string that identifies the
--   request, and that allows you to retry failed
--   <tt>CreateReusableDelegationSet</tt> requests without the risk of
--   executing the operation twice. You must use a unique
--   <tt>CallerReference</tt> string every time you submit a
--   <tt>CreateReusableDelegationSet</tt> request. <tt>CallerReference</tt>
--   can be any unique string, for example, a date/time stamp.</li>
--   <li><a>dsNameServers</a> - A complex type that contains a list of the
--   authoritative name servers for the hosted zone.</li>
--   </ul>
delegationSet :: NonEmpty Text -> DelegationSet

-- | The ID that Amazon Route 53 assigns to a reusable delegation set.
dsId :: Lens' DelegationSet (Maybe ResourceId)

-- | A unique string that identifies the request, and that allows you to
--   retry failed <tt>CreateReusableDelegationSet</tt> requests without the
--   risk of executing the operation twice. You must use a unique
--   <tt>CallerReference</tt> string every time you submit a
--   <tt>CreateReusableDelegationSet</tt> request. <tt>CallerReference</tt>
--   can be any unique string, for example, a date/time stamp.
dsCallerReference :: Lens' DelegationSet (Maybe Text)

-- | A complex type that contains a list of the authoritative name servers
--   for the hosted zone.
dsNameServers :: Lens' DelegationSet (NonEmpty Text)

-- | For the metric that the CloudWatch alarm is associated with, a complex
--   type that contains information about one dimension.
--   
--   <i>See:</i> <a>dimension</a> smart constructor.
data Dimension

-- | Creates a value of <a>Dimension</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dName</a> - For the metric that the CloudWatch alarm is
--   associated with, the name of one dimension.</li>
--   <li><a>dValue</a> - For the metric that the CloudWatch alarm is
--   associated with, the value of one dimension.</li>
--   </ul>
dimension :: Text -> Text -> Dimension

-- | For the metric that the CloudWatch alarm is associated with, the name
--   of one dimension.
dName :: Lens' Dimension Text

-- | For the metric that the CloudWatch alarm is associated with, the value
--   of one dimension.
dValue :: Lens' Dimension Text

-- | A complex type that contains information about a geo location.
--   
--   <i>See:</i> <a>geoLocation</a> smart constructor.
data GeoLocation

-- | Creates a value of <a>GeoLocation</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>glSubdivisionCode</a> - The code for the subdivision, for
--   example, a state in the United States or a province in Canada.</li>
--   <li><a>glCountryCode</a> - The two-letter code for the country.</li>
--   <li><a>glContinentCode</a> - The two-letter code for the continent.
--   Valid values: <tt>AF</tt> | <tt>AN</tt> | <tt>AS</tt> | <tt>EU</tt> |
--   <tt>OC</tt> | <tt>NA</tt> | <tt>SA</tt> Constraint: Specifying
--   <tt>ContinentCode</tt> with either <tt>CountryCode</tt> or
--   <tt>SubdivisionCode</tt> returns an <tt>InvalidInput</tt> error.</li>
--   </ul>
geoLocation :: GeoLocation

-- | The code for the subdivision, for example, a state in the United
--   States or a province in Canada.
glSubdivisionCode :: Lens' GeoLocation (Maybe Text)

-- | The two-letter code for the country.
glCountryCode :: Lens' GeoLocation (Maybe Text)

-- | The two-letter code for the continent. Valid values: <tt>AF</tt> |
--   <tt>AN</tt> | <tt>AS</tt> | <tt>EU</tt> | <tt>OC</tt> | <tt>NA</tt> |
--   <tt>SA</tt> Constraint: Specifying <tt>ContinentCode</tt> with either
--   <tt>CountryCode</tt> or <tt>SubdivisionCode</tt> returns an
--   <tt>InvalidInput</tt> error.
glContinentCode :: Lens' GeoLocation (Maybe Text)

-- | A complex type that contains the codes and full continent, country,
--   and subdivision names for the specified <tt>geolocation</tt> code.
--   
--   <i>See:</i> <a>geoLocationDetails</a> smart constructor.
data GeoLocationDetails

-- | Creates a value of <a>GeoLocationDetails</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gldSubdivisionName</a> - The full name of the subdivision, for
--   example, a state in the United States or a province in Canada.</li>
--   <li><a>gldSubdivisionCode</a> - The code for the subdivision, for
--   example, a state in the United States or a province in Canada.</li>
--   <li><a>gldCountryName</a> - The name of the country.</li>
--   <li><a>gldCountryCode</a> - The two-letter code for the country.</li>
--   <li><a>gldContinentCode</a> - The two-letter code for the
--   continent.</li>
--   <li><a>gldContinentName</a> - The full name of the continent.</li>
--   </ul>
geoLocationDetails :: GeoLocationDetails

-- | The full name of the subdivision, for example, a state in the United
--   States or a province in Canada.
gldSubdivisionName :: Lens' GeoLocationDetails (Maybe Text)

-- | The code for the subdivision, for example, a state in the United
--   States or a province in Canada.
gldSubdivisionCode :: Lens' GeoLocationDetails (Maybe Text)

-- | The name of the country.
gldCountryName :: Lens' GeoLocationDetails (Maybe Text)

-- | The two-letter code for the country.
gldCountryCode :: Lens' GeoLocationDetails (Maybe Text)

-- | The two-letter code for the continent.
gldContinentCode :: Lens' GeoLocationDetails (Maybe Text)

-- | The full name of the continent.
gldContinentName :: Lens' GeoLocationDetails (Maybe Text)

-- | A complex type that contains information about one health check that
--   is associated with the current AWS account.
--   
--   <i>See:</i> <a>healthCheck</a> smart constructor.
data HealthCheck

-- | Creates a value of <a>HealthCheck</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hcCloudWatchAlarmConfiguration</a> - A complex type that
--   contains information about the CloudWatch alarm that Amazon Route 53
--   is monitoring for this health check.</li>
--   <li><a>hcId</a> - The identifier that Amazon Route 53assigned to the
--   health check when you created it. When you add or update a resource
--   record set, you use this value to specify which health check to use.
--   The value can be up to 64 characters long.</li>
--   <li><a>hcCallerReference</a> - A unique string that you specified when
--   you created the health check.</li>
--   <li><a>hcHealthCheckConfig</a> - A complex type that contains detailed
--   information about one health check.</li>
--   <li><a>hcHealthCheckVersion</a> - The version of the health check. You
--   can optionally pass this value in a call to <tt>UpdateHealthCheck</tt>
--   to prevent overwriting another change to the health check.</li>
--   </ul>
healthCheck :: Text -> Text -> HealthCheckConfig -> Natural -> HealthCheck

-- | A complex type that contains information about the CloudWatch alarm
--   that Amazon Route 53 is monitoring for this health check.
hcCloudWatchAlarmConfiguration :: Lens' HealthCheck (Maybe CloudWatchAlarmConfiguration)

-- | The identifier that Amazon Route 53assigned to the health check when
--   you created it. When you add or update a resource record set, you use
--   this value to specify which health check to use. The value can be up
--   to 64 characters long.
hcId :: Lens' HealthCheck Text

-- | A unique string that you specified when you created the health check.
hcCallerReference :: Lens' HealthCheck Text

-- | A complex type that contains detailed information about one health
--   check.
hcHealthCheckConfig :: Lens' HealthCheck HealthCheckConfig

-- | The version of the health check. You can optionally pass this value in
--   a call to <tt>UpdateHealthCheck</tt> to prevent overwriting another
--   change to the health check.
hcHealthCheckVersion :: Lens' HealthCheck Natural

-- | A complex type that contains information about the health check.
--   
--   <i>See:</i> <a>healthCheckConfig</a> smart constructor.
data HealthCheckConfig

-- | Creates a value of <a>HealthCheckConfig</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hccFailureThreshold</a> - The number of consecutive health
--   checks that an endpoint must pass or fail for Amazon Route 53 to
--   change the current status of the endpoint from unhealthy to healthy or
--   vice versa. For more information, see <a>How Amazon Route 53
--   Determines Whether an Endpoint Is Healthy</a> in the <i>Amazon Route
--   53 Developer Guide</i> .</li>
--   <li><a>hccIPAddress</a> - The IPv4 or IPv6 IP address of the endpoint
--   that you want Amazon Route 53 to perform health checks on. If you
--   don't specify a value for <tt>IPAddress</tt> , Amazon Route 53 sends a
--   DNS request to resolve the domain name that you specify in
--   <tt>FullyQualifiedDomainName</tt> at the interval that you specify in
--   <tt>RequestInterval</tt> . Using an IP address returned by DNS, Amazon
--   Route 53 then checks the health of the endpoint. If the endpoint is an
--   EC2 instance, we recommend that you create an Elastic IP address,
--   associate it with your EC2 instance, and specify the Elastic IP
--   address for <tt>IPAddress</tt> . This ensures that the IP address of
--   your instance will never change. For more information, see
--   'HealthCheckConfig$FullyQualifiedDomainName' . Constraints: Amazon
--   Route 53 can't check the health of endpoints for which the IP address
--   is in local, private, non-routable, or multicast ranges. For more
--   information about IP addresses for which you can't create health
--   checks, see the following documents: * <a>RFC 5735, Special Use IPv4
--   Addresses</a> * <a>RFC 6598, IANA-Reserved IPv4 Prefix for Shared
--   Address Space</a> * <a>RFC 5156, Special-Use IPv6 Addresses</a> When
--   the value of <tt>Type</tt> is <tt>CALCULATED</tt> or
--   <tt>CLOUDWATCH_METRIC</tt> , omit <tt>IPAddress</tt> .</li>
--   <li><a>hccEnableSNI</a> - Specify whether you want Amazon Route 53 to
--   send the value of <tt>FullyQualifiedDomainName</tt> to the endpoint in
--   the <tt>client_hello</tt> message during TLS negotiation. This allows
--   the endpoint to respond to <tt>HTTPS</tt> health check requests with
--   the applicable SSL<i>TLS certificate. Some endpoints require that
--   <tt>HTTPS</tt> requests include the host name in the
--   <tt>client_hello</tt> message. If you don't enable SNI, the status of
--   the health check will be <tt>SSL alert handshake_failure</tt> . A
--   health check can also have that status for other reasons. If SNI is
--   enabled and you're still getting the error, check the SSL</i>TLS
--   configuration on your endpoint and confirm that your certificate is
--   valid. The SSL/TLS certificate on your endpoint includes a domain name
--   in the <tt>Common Name</tt> field and possibly several more in the
--   <tt>Subject Alternative Names</tt> field. One of the domain names in
--   the certificate should match the value that you specify for
--   <tt>FullyQualifiedDomainName</tt> . If the endpoint responds to the
--   <tt>client_hello</tt> message with a certificate that does not include
--   the domain name that you specified in
--   <tt>FullyQualifiedDomainName</tt> , a health checker will retry the
--   handshake. In the second attempt, the health checker will omit
--   <tt>FullyQualifiedDomainName</tt> from the <tt>client_hello</tt>
--   message.</li>
--   <li><a>hccSearchString</a> - If the value of Type is
--   <tt>HTTP_STR_MATCH</tt> or <tt>HTTP_STR_MATCH</tt> , the string that
--   you want Amazon Route 53 to search for in the response body from the
--   specified resource. If the string appears in the response body, Amazon
--   Route 53 considers the resource healthy. Amazon Route 53 considers
--   case when searching for <tt>SearchString</tt> in the response
--   body.</li>
--   <li><a>hccHealthThreshold</a> - The number of child health checks that
--   are associated with a <tt>CALCULATED</tt> health that Amazon Route 53
--   must consider healthy for the <tt>CALCULATED</tt> health check to be
--   considered healthy. To specify the child health checks that you want
--   to associate with a <tt>CALCULATED</tt> health check, use the
--   'HealthCheckConfig$ChildHealthChecks' and
--   'HealthCheckConfig$ChildHealthChecks' elements. Note the following: *
--   If you specify a number greater than the number of child health
--   checks, Amazon Route 53 always considers this health check to be
--   unhealthy. * If you specify <tt>0</tt> , Amazon Route 53 always
--   considers this health check to be healthy.</li>
--   <li><a>hccRegions</a> - A complex type that contains one Region
--   element for each region from which you want Amazon Route 53 health
--   checkers to check the specified endpoint.</li>
--   <li><a>hccResourcePath</a> - The path, if any, that you want Amazon
--   Route 53 to request when performing health checks. The path can be any
--   value for which your endpoint will return an HTTP status code of 2xx
--   or 3xx when the endpoint is healthy, for example, the file
--   <i>docs</i>route53-health-check.html.</li>
--   <li><a>hccInsufficientDataHealthStatus</a> - When CloudWatch has
--   insufficient data about the metric to determine the alarm state, the
--   status that you want Amazon Route 53 to assign to the health check: *
--   <tt>Healthy</tt> : Amazon Route 53 considers the health check to be
--   healthy. * <tt>Unhealthy</tt> : Amazon Route 53 considers the health
--   check to be unhealthy. * <tt>LastKnownStatus</tt> : Amazon Route
--   53uses the status of the health check from the last time CloudWatch
--   had sufficient data to determine the alarm state. For new health
--   checks that have no last known status, the default status for the
--   health check is healthy.</li>
--   <li><a>hccAlarmIdentifier</a> - A complex type that identifies the
--   CloudWatch alarm that you want Amazon Route 53 health checkers to use
--   to determine whether this health check is healthy.</li>
--   <li><a>hccMeasureLatency</a> - Specify whether you want Amazon Route
--   53 to measure the latency between health checkers in multiple AWS
--   regions and your endpoint, and to display CloudWatch latency graphs on
--   the <b>Health Checks</b> page in the Amazon Route 53 console.
--   <i>Important:</i> You can't change the value of
--   <tt>MeasureLatency</tt> after you create a health check.</li>
--   <li><a>hccInverted</a> - Specify whether you want Amazon Route 53 to
--   invert the status of a health check, for example, to consider a health
--   check unhealthy when it otherwise would be considered healthy.</li>
--   <li><a>hccFullyQualifiedDomainName</a> - Amazon Route 53 behavior
--   depends on whether you specify a value for <tt>IPAddress</tt> . <b>If
--   you specify a value for</b> <tt>IPAddress</tt> : Amazon Route 53 sends
--   health check requests to the specified IPv4 or IPv6 address and passes
--   the value of <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt>
--   header for all health checks except TCP health checks. This is
--   typically the fully qualified DNS name of the endpoint on which you
--   want Amazon Route 53 to perform health checks. When Amazon Route 53
--   checks the health of an endpoint, here is how it constructs the
--   <tt>Host</tt> header: * If you specify a value of <tt>80</tt> for
--   <tt>Port</tt> and <tt>HTTP</tt> or <tt>HTTP_STR_MATCH</tt> for
--   <tt>Type</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> to the endpoint in the Host header.
--   * If you specify a value of <tt>443</tt> for <tt>Port</tt> and
--   <tt>HTTPS</tt> or <tt>HTTPS_STR_MATCH</tt> for <tt>Type</tt> , Amazon
--   Route 53 passes the value of <tt>FullyQualifiedDomainName</tt> to the
--   endpoint in the <tt>Host</tt> header. * If you specify another value
--   for <tt>Port</tt> and any value except <tt>TCP</tt> for <tt>Type</tt>
--   , Amazon Route 53 passes <tt>FullyQualifiedDomainName:Port</tt> to the
--   endpoint in the <tt>Host</tt> header. If you don't specify a value for
--   <tt>FullyQualifiedDomainName</tt> , Amazon Route 53 substitutes the
--   value of <tt>IPAddress</tt> in the <tt>Host</tt> header in each of the
--   preceding cases. <b>If you don't specify a value for
--   <tt>IPAddress</tt> </b> : Amazon Route 53 sends a DNS request to the
--   domain that you specify for <tt>FullyQualifiedDomainName</tt> at the
--   interval that you specify for <tt>RequestInterval</tt> . Using an IPv4
--   address that DNS returns, Amazon Route 53 then checks the health of
--   the endpoint. If you want to check the health of weighted, latency, or
--   failover resource record sets and you choose to specify the endpoint
--   only by <tt>FullyQualifiedDomainName</tt> , we recommend that you
--   create a separate health check for each endpoint. For example, create
--   a health check for each HTTP server that is serving content for
--   www.example.com. For the value of <tt>FullyQualifiedDomainName</tt> ,
--   specify the domain name of the server (such as
--   us-east-1-www.example.com), not the name of the resource record sets
--   (www.example.com). <i>Important:</i> In this configuration, if you
--   create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and you then associate the health check with those
--   resource record sets, health check results will be unpredictable. In
--   addition, if the value that you specify for <tt>Type</tt> is
--   <tt>HTTP</tt> , <tt>HTTPS</tt> , <tt>HTTP_STR_MATCH</tt> , or
--   <tt>HTTPS_STR_MATCH</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt> header, as it
--   does when you specify a value for <tt>IPAddress</tt> . If the value of
--   <tt>Type</tt> is <tt>TCP</tt> , Amazon Route 53 doesn't pass a
--   <tt>Host</tt> header.</li>
--   <li><a>hccChildHealthChecks</a> - (CALCULATED Health Checks Only) A
--   complex type that contains one <tt>ChildHealthCheck</tt> element for
--   each health check that you want to associate with a
--   <tt>CALCULATED</tt> health check.</li>
--   <li><a>hccRequestInterval</a> - The number of seconds between the time
--   that Amazon Route 53 gets a response from your endpoint and the time
--   that it sends the next health-check request. Each Amazon Route 53
--   health checker makes requests at this interval. <i>Important:</i> You
--   can't change the value of <tt>RequestInterval</tt> after you create a
--   health check.</li>
--   <li><a>hccPort</a> - The port on the endpoint on which you want Amazon
--   Route 53 to perform health checks. Specify a value for Port only when
--   you specify a value for <tt>IPAddress</tt> .</li>
--   <li><a>hccType</a> - The type of health check that you want to create,
--   which indicates how Amazon Route 53 determines whether an endpoint is
--   healthy. <i>Important:</i> You can't change the value of <tt>Type</tt>
--   after you create a health check. You can create the following types of
--   health checks: * <b>HTTP</b> : Amazon Route 53 tries to establish a
--   TCP connection. If successful, Amazon Route 53 submits an HTTP request
--   and waits for an HTTP status code of 200 or greater and less than 400.
--   * <b>HTTPS</b> : Amazon Route 53 tries to establish a TCP connection.
--   If successful, Amazon Route 53 submits an HTTPS request and waits for
--   an HTTP status code of 200 or greater and less than 400.
--   <i>Important:</i> If you specify <tt>HTTPS</tt> for the value of
--   <tt>Type</tt> , the endpoint must support TLS v1.0 or later. *
--   <b>HTTP_STR_MATCH</b> : Amazon Route 53 tries to establish a TCP
--   connection. If successful, Amazon Route 53 submits an HTTP request and
--   searches the first 5,120 bytes of the response body for the string
--   that you specify in <tt>SearchString</tt> . * <b>HTTPS_STR_MATCH</b> :
--   Amazon Route 53 tries to establish a TCP connection. If successful,
--   Amazon Route 53 submits an <tt>HTTPS</tt> request and searches the
--   first 5,120 bytes of the response body for the string that you specify
--   in <tt>SearchString</tt> . * <b>TCP</b> : Amazon Route 53 tries to
--   establish a TCP connection. * <b>CLOUDWATCH_METRIC</b> : The health
--   check is associated with a CloudWatch alarm. If the state of the alarm
--   is <tt>OK</tt> , the health check is considered healthy. If the state
--   is <tt>ALARM</tt> , the health check is considered unhealthy. If
--   CloudWatch doesn't have sufficient data to determine whether the state
--   is <tt>OK</tt> or <tt>ALARM</tt> , the health check status depends on
--   the setting for <tt>InsufficientDataHealthStatus</tt> :
--   <tt>Healthy</tt> , <tt>Unhealthy</tt> , or <tt>LastKnownStatus</tt> .
--   * <b>CALCULATED</b> : For health checks that monitor the status of
--   other health checks, Amazon Route 53 adds up the number of health
--   checks that Amazon Route 53 health checkers consider to be healthy and
--   compares that number with the value of <tt>HealthThreshold</tt> . For
--   more information about how Amazon Route 53 determines whether an
--   endpoint is healthy, see the introduction to this topic.</li>
--   </ul>
healthCheckConfig :: HealthCheckType -> HealthCheckConfig

-- | The number of consecutive health checks that an endpoint must pass or
--   fail for Amazon Route 53 to change the current status of the endpoint
--   from unhealthy to healthy or vice versa. For more information, see
--   <a>How Amazon Route 53 Determines Whether an Endpoint Is Healthy</a>
--   in the <i>Amazon Route 53 Developer Guide</i> .
hccFailureThreshold :: Lens' HealthCheckConfig (Maybe Natural)

-- | The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route
--   53 to perform health checks on. If you don't specify a value for
--   <tt>IPAddress</tt> , Amazon Route 53 sends a DNS request to resolve
--   the domain name that you specify in <tt>FullyQualifiedDomainName</tt>
--   at the interval that you specify in <tt>RequestInterval</tt> . Using
--   an IP address returned by DNS, Amazon Route 53 then checks the health
--   of the endpoint. If the endpoint is an EC2 instance, we recommend that
--   you create an Elastic IP address, associate it with your EC2 instance,
--   and specify the Elastic IP address for <tt>IPAddress</tt> . This
--   ensures that the IP address of your instance will never change. For
--   more information, see 'HealthCheckConfig$FullyQualifiedDomainName' .
--   Constraints: Amazon Route 53 can't check the health of endpoints for
--   which the IP address is in local, private, non-routable, or multicast
--   ranges. For more information about IP addresses for which you can't
--   create health checks, see the following documents: * <a>RFC 5735,
--   Special Use IPv4 Addresses</a> * <a>RFC 6598, IANA-Reserved IPv4
--   Prefix for Shared Address Space</a> * <a>RFC 5156, Special-Use IPv6
--   Addresses</a> When the value of <tt>Type</tt> is <tt>CALCULATED</tt>
--   or <tt>CLOUDWATCH_METRIC</tt> , omit <tt>IPAddress</tt> .
hccIPAddress :: Lens' HealthCheckConfig (Maybe Text)

-- | Specify whether you want Amazon Route 53 to send the value of
--   <tt>FullyQualifiedDomainName</tt> to the endpoint in the
--   <tt>client_hello</tt> message during TLS negotiation. This allows the
--   endpoint to respond to <tt>HTTPS</tt> health check requests with the
--   applicable SSL<i>TLS certificate. Some endpoints require that
--   <tt>HTTPS</tt> requests include the host name in the
--   <tt>client_hello</tt> message. If you don't enable SNI, the status of
--   the health check will be <tt>SSL alert handshake_failure</tt> . A
--   health check can also have that status for other reasons. If SNI is
--   enabled and you're still getting the error, check the SSL</i>TLS
--   configuration on your endpoint and confirm that your certificate is
--   valid. The SSL/TLS certificate on your endpoint includes a domain name
--   in the <tt>Common Name</tt> field and possibly several more in the
--   <tt>Subject Alternative Names</tt> field. One of the domain names in
--   the certificate should match the value that you specify for
--   <tt>FullyQualifiedDomainName</tt> . If the endpoint responds to the
--   <tt>client_hello</tt> message with a certificate that does not include
--   the domain name that you specified in
--   <tt>FullyQualifiedDomainName</tt> , a health checker will retry the
--   handshake. In the second attempt, the health checker will omit
--   <tt>FullyQualifiedDomainName</tt> from the <tt>client_hello</tt>
--   message.
hccEnableSNI :: Lens' HealthCheckConfig (Maybe Bool)

-- | If the value of Type is <tt>HTTP_STR_MATCH</tt> or
--   <tt>HTTP_STR_MATCH</tt> , the string that you want Amazon Route 53 to
--   search for in the response body from the specified resource. If the
--   string appears in the response body, Amazon Route 53 considers the
--   resource healthy. Amazon Route 53 considers case when searching for
--   <tt>SearchString</tt> in the response body.
hccSearchString :: Lens' HealthCheckConfig (Maybe Text)

-- | The number of child health checks that are associated with a
--   <tt>CALCULATED</tt> health that Amazon Route 53 must consider healthy
--   for the <tt>CALCULATED</tt> health check to be considered healthy. To
--   specify the child health checks that you want to associate with a
--   <tt>CALCULATED</tt> health check, use the
--   'HealthCheckConfig$ChildHealthChecks' and
--   'HealthCheckConfig$ChildHealthChecks' elements. Note the following: *
--   If you specify a number greater than the number of child health
--   checks, Amazon Route 53 always considers this health check to be
--   unhealthy. * If you specify <tt>0</tt> , Amazon Route 53 always
--   considers this health check to be healthy.
hccHealthThreshold :: Lens' HealthCheckConfig (Maybe Natural)

-- | A complex type that contains one Region element for each region from
--   which you want Amazon Route 53 health checkers to check the specified
--   endpoint.
hccRegions :: Lens' HealthCheckConfig (Maybe (NonEmpty HealthCheckRegion))

-- | The path, if any, that you want Amazon Route 53 to request when
--   performing health checks. The path can be any value for which your
--   endpoint will return an HTTP status code of 2xx or 3xx when the
--   endpoint is healthy, for example, the file
--   <i>docs</i>route53-health-check.html.
hccResourcePath :: Lens' HealthCheckConfig (Maybe Text)

-- | When CloudWatch has insufficient data about the metric to determine
--   the alarm state, the status that you want Amazon Route 53 to assign to
--   the health check: * <tt>Healthy</tt> : Amazon Route 53 considers the
--   health check to be healthy. * <tt>Unhealthy</tt> : Amazon Route 53
--   considers the health check to be unhealthy. * <tt>LastKnownStatus</tt>
--   : Amazon Route 53uses the status of the health check from the last
--   time CloudWatch had sufficient data to determine the alarm state. For
--   new health checks that have no last known status, the default status
--   for the health check is healthy.
hccInsufficientDataHealthStatus :: Lens' HealthCheckConfig (Maybe InsufficientDataHealthStatus)

-- | A complex type that identifies the CloudWatch alarm that you want
--   Amazon Route 53 health checkers to use to determine whether this
--   health check is healthy.
hccAlarmIdentifier :: Lens' HealthCheckConfig (Maybe AlarmIdentifier)

-- | Specify whether you want Amazon Route 53 to measure the latency
--   between health checkers in multiple AWS regions and your endpoint, and
--   to display CloudWatch latency graphs on the <b>Health Checks</b> page
--   in the Amazon Route 53 console. <i>Important:</i> You can't change the
--   value of <tt>MeasureLatency</tt> after you create a health check.
hccMeasureLatency :: Lens' HealthCheckConfig (Maybe Bool)

-- | Specify whether you want Amazon Route 53 to invert the status of a
--   health check, for example, to consider a health check unhealthy when
--   it otherwise would be considered healthy.
hccInverted :: Lens' HealthCheckConfig (Maybe Bool)

-- | Amazon Route 53 behavior depends on whether you specify a value for
--   <tt>IPAddress</tt> . <b>If you specify a value for</b>
--   <tt>IPAddress</tt> : Amazon Route 53 sends health check requests to
--   the specified IPv4 or IPv6 address and passes the value of
--   <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt> header for all
--   health checks except TCP health checks. This is typically the fully
--   qualified DNS name of the endpoint on which you want Amazon Route 53
--   to perform health checks. When Amazon Route 53 checks the health of an
--   endpoint, here is how it constructs the <tt>Host</tt> header: * If you
--   specify a value of <tt>80</tt> for <tt>Port</tt> and <tt>HTTP</tt> or
--   <tt>HTTP_STR_MATCH</tt> for <tt>Type</tt> , Amazon Route 53 passes the
--   value of <tt>FullyQualifiedDomainName</tt> to the endpoint in the Host
--   header. * If you specify a value of <tt>443</tt> for <tt>Port</tt> and
--   <tt>HTTPS</tt> or <tt>HTTPS_STR_MATCH</tt> for <tt>Type</tt> , Amazon
--   Route 53 passes the value of <tt>FullyQualifiedDomainName</tt> to the
--   endpoint in the <tt>Host</tt> header. * If you specify another value
--   for <tt>Port</tt> and any value except <tt>TCP</tt> for <tt>Type</tt>
--   , Amazon Route 53 passes <tt>FullyQualifiedDomainName:Port</tt> to the
--   endpoint in the <tt>Host</tt> header. If you don't specify a value for
--   <tt>FullyQualifiedDomainName</tt> , Amazon Route 53 substitutes the
--   value of <tt>IPAddress</tt> in the <tt>Host</tt> header in each of the
--   preceding cases. <b>If you don't specify a value for
--   <tt>IPAddress</tt> </b> : Amazon Route 53 sends a DNS request to the
--   domain that you specify for <tt>FullyQualifiedDomainName</tt> at the
--   interval that you specify for <tt>RequestInterval</tt> . Using an IPv4
--   address that DNS returns, Amazon Route 53 then checks the health of
--   the endpoint. If you want to check the health of weighted, latency, or
--   failover resource record sets and you choose to specify the endpoint
--   only by <tt>FullyQualifiedDomainName</tt> , we recommend that you
--   create a separate health check for each endpoint. For example, create
--   a health check for each HTTP server that is serving content for
--   www.example.com. For the value of <tt>FullyQualifiedDomainName</tt> ,
--   specify the domain name of the server (such as
--   us-east-1-www.example.com), not the name of the resource record sets
--   (www.example.com). <i>Important:</i> In this configuration, if you
--   create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and you then associate the health check with those
--   resource record sets, health check results will be unpredictable. In
--   addition, if the value that you specify for <tt>Type</tt> is
--   <tt>HTTP</tt> , <tt>HTTPS</tt> , <tt>HTTP_STR_MATCH</tt> , or
--   <tt>HTTPS_STR_MATCH</tt> , Amazon Route 53 passes the value of
--   <tt>FullyQualifiedDomainName</tt> in the <tt>Host</tt> header, as it
--   does when you specify a value for <tt>IPAddress</tt> . If the value of
--   <tt>Type</tt> is <tt>TCP</tt> , Amazon Route 53 doesn't pass a
--   <tt>Host</tt> header.
hccFullyQualifiedDomainName :: Lens' HealthCheckConfig (Maybe Text)

-- | (CALCULATED Health Checks Only) A complex type that contains one
--   <tt>ChildHealthCheck</tt> element for each health check that you want
--   to associate with a <tt>CALCULATED</tt> health check.
hccChildHealthChecks :: Lens' HealthCheckConfig [Text]

-- | The number of seconds between the time that Amazon Route 53 gets a
--   response from your endpoint and the time that it sends the next
--   health-check request. Each Amazon Route 53 health checker makes
--   requests at this interval. <i>Important:</i> You can't change the
--   value of <tt>RequestInterval</tt> after you create a health check.
hccRequestInterval :: Lens' HealthCheckConfig (Maybe Natural)

-- | The port on the endpoint on which you want Amazon Route 53 to perform
--   health checks. Specify a value for Port only when you specify a value
--   for <tt>IPAddress</tt> .
hccPort :: Lens' HealthCheckConfig (Maybe Natural)

-- | The type of health check that you want to create, which indicates how
--   Amazon Route 53 determines whether an endpoint is healthy.
--   <i>Important:</i> You can't change the value of <tt>Type</tt> after
--   you create a health check. You can create the following types of
--   health checks: * <b>HTTP</b> : Amazon Route 53 tries to establish a
--   TCP connection. If successful, Amazon Route 53 submits an HTTP request
--   and waits for an HTTP status code of 200 or greater and less than 400.
--   * <b>HTTPS</b> : Amazon Route 53 tries to establish a TCP connection.
--   If successful, Amazon Route 53 submits an HTTPS request and waits for
--   an HTTP status code of 200 or greater and less than 400.
--   <i>Important:</i> If you specify <tt>HTTPS</tt> for the value of
--   <tt>Type</tt> , the endpoint must support TLS v1.0 or later. *
--   <b>HTTP_STR_MATCH</b> : Amazon Route 53 tries to establish a TCP
--   connection. If successful, Amazon Route 53 submits an HTTP request and
--   searches the first 5,120 bytes of the response body for the string
--   that you specify in <tt>SearchString</tt> . * <b>HTTPS_STR_MATCH</b> :
--   Amazon Route 53 tries to establish a TCP connection. If successful,
--   Amazon Route 53 submits an <tt>HTTPS</tt> request and searches the
--   first 5,120 bytes of the response body for the string that you specify
--   in <tt>SearchString</tt> . * <b>TCP</b> : Amazon Route 53 tries to
--   establish a TCP connection. * <b>CLOUDWATCH_METRIC</b> : The health
--   check is associated with a CloudWatch alarm. If the state of the alarm
--   is <tt>OK</tt> , the health check is considered healthy. If the state
--   is <tt>ALARM</tt> , the health check is considered unhealthy. If
--   CloudWatch doesn't have sufficient data to determine whether the state
--   is <tt>OK</tt> or <tt>ALARM</tt> , the health check status depends on
--   the setting for <tt>InsufficientDataHealthStatus</tt> :
--   <tt>Healthy</tt> , <tt>Unhealthy</tt> , or <tt>LastKnownStatus</tt> .
--   * <b>CALCULATED</b> : For health checks that monitor the status of
--   other health checks, Amazon Route 53 adds up the number of health
--   checks that Amazon Route 53 health checkers consider to be healthy and
--   compares that number with the value of <tt>HealthThreshold</tt> . For
--   more information about how Amazon Route 53 determines whether an
--   endpoint is healthy, see the introduction to this topic.
hccType :: Lens' HealthCheckConfig HealthCheckType

-- | A complex type that contains the last failure reason as reported by
--   one Amazon Route 53 health checker.
--   
--   <i>See:</i> <a>healthCheckObservation</a> smart constructor.
data HealthCheckObservation

-- | Creates a value of <a>HealthCheckObservation</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hcoIPAddress</a> - The IP address of the Amazon Route 53 health
--   checker that provided the failure reason in <tt>StatusReport</tt>
--   .</li>
--   <li><a>hcoStatusReport</a> - A complex type that contains the last
--   failure reason as reported by one Amazon Route 53 health checker and
--   the time of the failed health check.</li>
--   <li><a>hcoRegion</a> - The region of the Amazon Route 53 health
--   checker that provided the status in StatusReport.</li>
--   </ul>
healthCheckObservation :: HealthCheckObservation

-- | The IP address of the Amazon Route 53 health checker that provided the
--   failure reason in <tt>StatusReport</tt> .
hcoIPAddress :: Lens' HealthCheckObservation (Maybe Text)

-- | A complex type that contains the last failure reason as reported by
--   one Amazon Route 53 health checker and the time of the failed health
--   check.
hcoStatusReport :: Lens' HealthCheckObservation (Maybe StatusReport)

-- | The region of the Amazon Route 53 health checker that provided the
--   status in StatusReport.
hcoRegion :: Lens' HealthCheckObservation (Maybe HealthCheckRegion)

-- | A complex type that contains general information about the hosted
--   zone.
--   
--   <i>See:</i> <a>hostedZone</a> smart constructor.
data HostedZone

-- | Creates a value of <a>HostedZone</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hzConfig</a> - A complex type that includes the
--   <tt>Comment</tt> and <tt>PrivateZone</tt> elements. If you omitted the
--   <tt>HostedZoneConfig</tt> and <tt>Comment</tt> elements from the
--   request, the <tt>Config</tt> and <tt>Comment</tt> elements don't
--   appear in the response.</li>
--   <li><a>hzResourceRecordSetCount</a> - The number of resource record
--   sets in the hosted zone.</li>
--   <li><a>hzId</a> - The ID that Amazon Route 53 assigned to the hosted
--   zone when you created it.</li>
--   <li><a>hzName</a> - 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 <tt>a-z</tt> ,
--   <tt>0-9</tt> , and <tt>-</tt> (hyphen) and how to specify
--   internationalized domain names, see <tt>CreateHostedZone</tt> .</li>
--   <li><a>hzCallerReference</a> - The value that you specified for
--   <tt>CallerReference</tt> when you created the hosted zone.</li>
--   </ul>
hostedZone :: ResourceId -> Text -> Text -> HostedZone

-- | A complex type that includes the <tt>Comment</tt> and
--   <tt>PrivateZone</tt> elements. If you omitted the
--   <tt>HostedZoneConfig</tt> and <tt>Comment</tt> elements from the
--   request, the <tt>Config</tt> and <tt>Comment</tt> elements don't
--   appear in the response.
hzConfig :: Lens' HostedZone (Maybe HostedZoneConfig)

-- | The number of resource record sets in the hosted zone.
hzResourceRecordSetCount :: Lens' HostedZone (Maybe Integer)

-- | The ID that Amazon Route 53 assigned to the hosted zone when you
--   created it.
hzId :: Lens' HostedZone ResourceId

-- | 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 <tt>a-z</tt> , <tt>0-9</tt> , and
--   <tt>-</tt> (hyphen) and how to specify internationalized domain names,
--   see <tt>CreateHostedZone</tt> .
hzName :: Lens' HostedZone Text

-- | The value that you specified for <tt>CallerReference</tt> when you
--   created the hosted zone.
hzCallerReference :: Lens' HostedZone Text

-- | A complex type that contains an optional comment about your hosted
--   zone. If you don't want to specify a comment, omit both the
--   <tt>HostedZoneConfig</tt> and <tt>Comment</tt> elements.
--   
--   <i>See:</i> <a>hostedZoneConfig</a> smart constructor.
data HostedZoneConfig

-- | Creates a value of <a>HostedZoneConfig</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>hzcPrivateZone</a> - A value that indicates whether this is a
--   private hosted zone.</li>
--   <li><a>hzcComment</a> - Any comments that you want to include about
--   the hosted zone.</li>
--   </ul>
hostedZoneConfig :: HostedZoneConfig

-- | A value that indicates whether this is a private hosted zone.
hzcPrivateZone :: Lens' HostedZoneConfig (Maybe Bool)

-- | Any comments that you want to include about the hosted zone.
hzcComment :: Lens' HostedZoneConfig (Maybe Text)

-- | Information specific to the resource record.
--   
--   <i>See:</i> <a>resourceRecord</a> smart constructor.
data ResourceRecord

-- | Creates a value of <a>ResourceRecord</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrValue</a> - The current or new DNS record value, not to
--   exceed 4,000 characters. In the case of a <tt>DELETE</tt> action, if
--   the current value does not match the actual value, an error is
--   returned. For descriptions about how to format <tt>Value</tt> for
--   different record types, see <a>Supported DNS Resource Record Types</a>
--   in the <i>Amazon Route 53 Developer Guide</i> . You can specify more
--   than one value for all record types except <tt>CNAME</tt> and
--   <tt>SOA</tt> .</li>
--   </ul>
resourceRecord :: Text -> ResourceRecord

-- | The current or new DNS record value, not to exceed 4,000 characters.
--   In the case of a <tt>DELETE</tt> action, if the current value does not
--   match the actual value, an error is returned. For descriptions about
--   how to format <tt>Value</tt> for different record types, see
--   <a>Supported DNS Resource Record Types</a> in the <i>Amazon Route 53
--   Developer Guide</i> . You can specify more than one value for all
--   record types except <tt>CNAME</tt> and <tt>SOA</tt> .
rrValue :: Lens' ResourceRecord Text

-- | Information about the resource record set to create or delete.
--   
--   <i>See:</i> <a>resourceRecordSet</a> smart constructor.
data ResourceRecordSet

-- | Creates a value of <a>ResourceRecordSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrsTTL</a> - The resource record cache time to live (TTL), in
--   seconds. Note the following: * If you're creating an alias resource
--   record set, omit <tt>TTL</tt> . Amazon Route 53 uses the value of
--   <tt>TTL</tt> for the alias target. * If you're associating this
--   resource record set with a health check (if you're adding a
--   <tt>HealthCheckId</tt> element), we recommend that you specify a
--   <tt>TTL</tt> of 60 seconds or less so clients respond quickly to
--   changes in health status. * All of the resource record sets in a group
--   of weighted, latency, geolocation, or failover resource record sets
--   must have the same value for <tt>TTL</tt> . * If a group of weighted
--   resource record sets includes one or more weighted alias resource
--   record sets for which the alias target is an ELB load balancer, we
--   recommend that you specify a <tt>TTL</tt> of 60 seconds for all of the
--   non-alias weighted resource record sets that have the same name and
--   type. Values other than 60 seconds (the TTL for load balancers) will
--   change the effect of the values that you specify for <tt>Weight</tt>
--   .</li>
--   <li><a>rrsResourceRecords</a> - Information about the resource records
--   to act upon.</li>
--   <li><a>rrsAliasTarget</a> - <i>Alias resource record sets only:</i>
--   Information about the CloudFront distribution, AWS Elastic Beanstalk
--   environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53
--   resource record set to which you are redirecting queries. The AWS
--   Elastic Beanstalk environment must have a regionalized subdomain. If
--   you're creating resource records sets for a private hosted zone, note
--   the following: * You can't create alias resource record sets for
--   CloudFront distributions in a private hosted zone. * Creating
--   geolocation alias resource record sets or latency alias resource
--   record sets in a private hosted zone is unsupported. * For information
--   about creating failover resource record sets in a private hosted zone,
--   see <a>Configuring Failover in a Private Hosted Zone</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .</li>
--   <li><a>rrsWeight</a> - <i>Weighted resource record sets only:</i>
--   Among resource record sets that have the same combination of DNS name
--   and type, a value that determines the proportion of DNS queries that
--   Amazon Route 53 responds to using the current resource record set.
--   Amazon Route 53 calculates the sum of the weights for the resource
--   record sets that have the same combination of DNS name and type.
--   Amazon Route 53 then responds to queries based on the ratio of a
--   resource's weight to the total. Note the following: * You must specify
--   a value for the <tt>Weight</tt> element for every weighted resource
--   record set. * You can only specify one <tt>ResourceRecord</tt> per
--   weighted resource record set. * You can't create latency, failover, or
--   geolocation resource record sets that have the same values for the
--   <tt>Name</tt> and <tt>Type</tt> elements as weighted resource record
--   sets. * You can create a maximum of 100 weighted resource record sets
--   that have the same values for the <tt>Name</tt> and <tt>Type</tt>
--   elements. * For weighted (but not weighted alias) resource record
--   sets, if you set <tt>Weight</tt> to <tt>0</tt> for a resource record
--   set, Amazon Route 53 never responds to queries with the applicable
--   value for that resource record set. However, if you set
--   <tt>Weight</tt> to <tt>0</tt> for all resource record sets that have
--   the same combination of DNS name and type, traffic is routed to all
--   resources with equal probability. The effect of setting
--   <tt>Weight</tt> to <tt>0</tt> is different when you associate health
--   checks with weighted resource record sets. For more information, see
--   <a>Options for Configuring Amazon Route 53 Active-Active and
--   Active-Passive Failover</a> in the <i>Amazon Route 53 Developer
--   Guide</i> .</li>
--   <li><a>rrsTrafficPolicyInstanceId</a> - When you create a traffic
--   policy instance, Amazon Route 53 automatically creates a resource
--   record set. <tt>TrafficPolicyInstanceId</tt> is the ID of the traffic
--   policy instance that Amazon Route 53 created this resource record set
--   for. <i>Important:</i> To delete the resource record set that is
--   associated with a traffic policy instance, use
--   <tt>DeleteTrafficPolicyInstance</tt> . Amazon Route 53 will delete the
--   resource record set automatically. If you delete the resource record
--   set by using <tt>ChangeResourceRecordSets</tt> , Amazon Route 53
--   doesn't automatically delete the traffic policy instance, and you'll
--   continue to be charged for it even though it's no longer in use.</li>
--   <li><a>rrsSetIdentifier</a> - <i>Weighted, Latency, Geo, and Failover
--   resource record sets only:</i> An identifier that differentiates among
--   multiple resource record sets that have the same combination of DNS
--   name and type. The value of <tt>SetIdentifier</tt> must be unique for
--   each resource record set that has the same combination of DNS name and
--   type. Omit <tt>SetIdentifier</tt> for any other types of record
--   sets.</li>
--   <li><a>rrsFailover</a> - <i>Failover resource record sets only:</i> To
--   configure failover, you add the <tt>Failover</tt> element to two
--   resource record sets. For one resource record set, you specify
--   <tt>PRIMARY</tt> as the value for <tt>Failover</tt> ; for the other
--   resource record set, you specify <tt>SECONDARY</tt> . In addition, you
--   include the <tt>HealthCheckId</tt> element and specify the health
--   check that you want Amazon Route 53 to perform for each resource
--   record set. Except where noted, the following failover behaviors
--   assume that you have included the <tt>HealthCheckId</tt> element in
--   both resource record sets: * When the primary resource record set is
--   healthy, Amazon Route 53 responds to DNS queries with the applicable
--   value from the primary resource record set regardless of the health of
--   the secondary resource record set. * When the primary resource record
--   set is unhealthy and the secondary resource record set is healthy,
--   Amazon Route 53 responds to DNS queries with the applicable value from
--   the secondary resource record set. * When the secondary resource
--   record set is unhealthy, Amazon Route 53 responds to DNS queries with
--   the applicable value from the primary resource record set regardless
--   of the health of the primary resource record set. * If you omit the
--   <tt>HealthCheckId</tt> element for the secondary resource record set,
--   and if the primary resource record set is unhealthy, Amazon Route 53
--   always responds to DNS queries with the applicable value from the
--   secondary resource record set. This is true regardless of the health
--   of the associated endpoint. You can't create non-failover resource
--   record sets that have the same values for the <tt>Name</tt> and
--   <tt>Type</tt> elements as failover resource record sets. For failover
--   alias resource record sets, you must also include the
--   <tt>EvaluateTargetHealth</tt> element and set the value to true. For
--   more information about configuring failover for Amazon Route 53, see
--   the following topics in the <i>Amazon Route 53 Developer Guide</i> : *
--   <a>Amazon Route 53 Health Checks and DNS Failover</a> * <a>Configuring
--   Failover in a Private Hosted Zone</a> Valid values: <tt>PRIMARY</tt> |
--   <tt>SECONDARY</tt></li>
--   <li><a>rrsHealthCheckId</a> - If you want Amazon Route 53 to return
--   this resource record set in response to a DNS query only when a health
--   check is passing, include the <tt>HealthCheckId</tt> element and
--   specify the ID of the applicable health check. Amazon Route 53
--   determines whether a resource record set is healthy based on one of
--   the following: * By periodically sending a request to the endpoint
--   that is specified in the health check * By aggregating the status of a
--   specified group of health checks (calculated health checks) * By
--   determining the current state of a CloudWatch alarm (CloudWatch metric
--   health checks) For information about how Amazon Route 53 determines
--   whether a health check is healthy, see <tt>CreateHealthCheck</tt> .
--   The <tt>HealthCheckId</tt> element is only useful when Amazon Route 53
--   is choosing between two or more resource record sets to respond to a
--   DNS query, and you want Amazon Route 53 to base the choice in part on
--   the status of a health check. Configuring health checks only makes
--   sense in the following configurations: * You're checking the health of
--   the resource record sets in a weighted, latency, geolocation, or
--   failover resource record set, and you specify health check IDs for all
--   of the resource record sets. If the health check for one resource
--   record set specifies an endpoint that is not healthy, Amazon Route 53
--   stops responding to queries using the value for that resource record
--   set. * You set <tt>EvaluateTargetHealth</tt> to true for the resource
--   record sets in an alias, weighted alias, latency alias, geolocation
--   alias, or failover alias resource record set, and you specify health
--   check IDs for all of the resource record sets that are referenced by
--   the alias resource record sets. <i>Important:</i> Amazon Route 53
--   doesn't check the health of the endpoint specified in the resource
--   record set, for example, the endpoint specified by the IP address in
--   the <tt>Value</tt> element. When you add a <tt>HealthCheckId</tt>
--   element to a resource record set, Amazon Route 53 checks the health of
--   the endpoint that you specified in the health check. For geolocation
--   resource record sets, if an endpoint is unhealthy, Amazon Route 53
--   looks for a resource record set for the larger, associated geographic
--   region. For example, suppose you have resource record sets for a state
--   in the United States, for the United States, for North America, and
--   for all locations. If the endpoint for the state resource record set
--   is unhealthy, Amazon Route 53 checks the resource record sets for the
--   United States, for North America, and for all locations (a resource
--   record set for which the value of <tt>CountryCode</tt> is <tt>*</tt>
--   ), in that order, until it finds a resource record set for which the
--   endpoint is healthy. If your health checks specify the endpoint only
--   by domain name, we recommend that you create a separate health check
--   for each endpoint. For example, create a health check for each
--   <tt>HTTP</tt> server that is serving content for
--   <tt>www.example.com</tt> . For the value of
--   <tt>FullyQualifiedDomainName</tt> , specify the domain name of the
--   server (such as <tt>us-east-1-www.example.com</tt> ), not the name of
--   the resource record sets (example.com). <i>Important:</i> n this
--   configuration, if you create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and then associate the health check with those resource
--   record sets, health check results will be unpredictable. For more
--   information, see the following topics in the <i>Amazon Route 53
--   Developer Guide</i> : * <a>Amazon Route 53 Health Checks and DNS
--   Failover</a> * <a>Configuring Failover in a Private Hosted
--   Zone</a></li>
--   <li><a>rrsRegion</a> - <i>Latency-based resource record sets only:</i>
--   The Amazon EC2 Region where the resource that is specified in this
--   resource record set resides. The resource typically is an AWS
--   resource, such as an EC2 instance or an ELB load balancer, and is
--   referred to by an IP address or a DNS domain name, depending on the
--   record type. When Amazon Route 53 receives a DNS query for a domain
--   name and type for which you have created latency resource record sets,
--   Amazon Route 53 selects the latency resource record set that has the
--   lowest latency between the end user and the associated Amazon EC2
--   Region. Amazon Route 53 then returns the value that is associated with
--   the selected resource record set. Note the following: * You can only
--   specify one <tt>ResourceRecord</tt> per latency resource record set. *
--   You can only create one latency resource record set for each Amazon
--   EC2 Region. * You are not required to create latency resource record
--   sets for all Amazon EC2 Regions. Amazon Route 53 will choose the
--   region with the best latency from among the regions for which you
--   create latency resource record sets. * You can't create non-latency
--   resource record sets that have the same values for the <tt>Name</tt>
--   and <tt>Type</tt> elements as latency resource record sets.</li>
--   <li><a>rrsGeoLocation</a> - <i>Geo location resource record sets
--   only:</i> A complex type that lets you control how Amazon Route 53
--   responds to DNS queries based on the geographic origin of the query.
--   For example, if you want all queries from Africa to be routed to a web
--   server with an IP address of <tt>192.0.2.111</tt> , create a resource
--   record set with a <tt>Type</tt> of <tt>A</tt> and a
--   <tt>ContinentCode</tt> of <tt>AF</tt> . If you create separate
--   resource record sets for overlapping geographic regions (for example,
--   one resource record set for a continent and one for a country on the
--   same continent), priority goes to the smallest geographic region. This
--   allows you to route most queries for a continent to one resource and
--   to route queries for a country on that continent to a different
--   resource. You can't create two geolocation resource record sets that
--   specify the same geographic location. The value <tt>*</tt> in the
--   <tt>CountryCode</tt> element matches all geographic locations that
--   aren't specified in other geolocation resource record sets that have
--   the same values for the <tt>Name</tt> and <tt>Type</tt> elements.
--   <i>Important:</i> Geolocation works by mapping IP addresses to
--   locations. However, some IP addresses aren't mapped to geographic
--   locations, so even if you create geolocation resource record sets that
--   cover all seven continents, Amazon Route 53 will receive some DNS
--   queries from locations that it can't identify. We recommend that you
--   create a resource record set for which the value of
--   <tt>CountryCode</tt> is <tt>*</tt> , which handles both queries that
--   come from locations for which you haven't created geolocation resource
--   record sets and queries from IP addresses that aren't mapped to a
--   location. If you don't create a <tt>*</tt> resource record set, Amazon
--   Route 53 returns a "no answer" response for queries from those
--   locations. You can't create non-geolocation resource record sets that
--   have the same values for the <tt>Name</tt> and <tt>Type</tt> elements
--   as geolocation resource record sets.</li>
--   <li><a>rrsName</a> - The name of the domain you want to perform the
--   action on. Enter a fully qualified domain name, for example,
--   <tt>www.example.com</tt> . You can optionally include a trailing dot.
--   If you omit the trailing dot, Amazon Route 53 still assumes that the
--   domain name that you specify is fully qualified. This means that
--   Amazon Route 53 treats <tt>www.example.com</tt> (without a trailing
--   dot) and <tt>www.example.com.</tt> (with a trailing dot) as identical.
--   For information about how to specify characters other than
--   <tt>a-z</tt> , <tt>0-9</tt> , and <tt>-</tt> (hyphen) and how to
--   specify internationalized domain names, see <a>DNS Domain Name
--   Format</a> in the <i>Amazon Route 53 Developer Guide</i> . You can use
--   the asterisk (*) wildcard to replace the leftmost label in a domain
--   name. For example, <tt>*.example.com</tt> . Note the following: * The
--   * must replace the entire label. For example, you can't specify
--   <tt>*prod.example.com</tt> or <tt>prod*.example.com</tt> . * The *
--   can't replace any of the middle labels, for example,
--   marketing.*.example.com. * If you include * in any position other than
--   the leftmost label in a domain name, DNS treats it as an * character
--   (ASCII 42), not as a wildcard. <i>Important:</i> You can't use the *
--   wildcard for resource records sets that have a type of NS. You can use
--   the * wildcard as the leftmost label in a domain name, for example,
--   <tt>*.example.com</tt> . You can't use an * for one of the middle
--   labels, for example, <tt>marketing.*.example.com</tt> . In addition,
--   the * must replace the entire label; for example, you can't specify
--   <tt>prod*.example.com</tt> .</li>
--   <li><a>rrsType</a> - The DNS record type. For information about
--   different record types and how data is encoded for them, see
--   <a>Supported DNS Resource Record Types</a> in the <i>Amazon Route 53
--   Developer Guide</i> . Valid values for basic resource record sets:
--   <tt>A</tt> | <tt>AAAA</tt> | <tt>CNAME</tt> | <tt>MX</tt> |
--   <tt>NAPTR</tt> | <tt>NS</tt> | <tt>PTR</tt> | <tt>SOA</tt> |
--   <tt>SPF</tt> | <tt>SRV</tt> | <tt>TXT</tt> Values for weighted,
--   latency, geolocation, and failover resource record sets: <tt>A</tt> |
--   <tt>AAAA</tt> | <tt>CNAME</tt> | <tt>MX</tt> | <tt>NAPTR</tt> |
--   <tt>PTR</tt> | <tt>SPF</tt> | <tt>SRV</tt> | <tt>TXT</tt> . When
--   creating a group of weighted, latency, geolocation, or failover
--   resource record sets, specify the same value for all of the resource
--   record sets in the group. Values for alias resource record sets: *
--   <b>CloudFront distributions:</b> <tt>A</tt> If IPv6 is enabled for the
--   distribution, create two resource record sets to route traffic to your
--   distribution, one with a value of <tt>A</tt> and one with a value of
--   <tt>AAAA</tt> . * <b>AWS Elastic Beanstalk environment that has a
--   regionalized subdomain</b> : <tt>A</tt> * <b>ELB load balancers:</b>
--   <tt>A</tt> | <tt>AAAA</tt> * <b>Amazon S3 buckets:</b> <tt>A</tt> *
--   <b>Another resource record set in this hosted zone:</b> Specify the
--   type of the resource record set for which you're creating the alias.
--   Specify any value except <tt>NS</tt> or <tt>SOA</tt> .</li>
--   </ul>
resourceRecordSet :: Text -> RecordType -> ResourceRecordSet

-- | The resource record cache time to live (TTL), in seconds. Note the
--   following: * If you're creating an alias resource record set, omit
--   <tt>TTL</tt> . Amazon Route 53 uses the value of <tt>TTL</tt> for the
--   alias target. * If you're associating this resource record set with a
--   health check (if you're adding a <tt>HealthCheckId</tt> element), we
--   recommend that you specify a <tt>TTL</tt> of 60 seconds or less so
--   clients respond quickly to changes in health status. * All of the
--   resource record sets in a group of weighted, latency, geolocation, or
--   failover resource record sets must have the same value for
--   <tt>TTL</tt> . * If a group of weighted resource record sets includes
--   one or more weighted alias resource record sets for which the alias
--   target is an ELB load balancer, we recommend that you specify a
--   <tt>TTL</tt> of 60 seconds for all of the non-alias weighted resource
--   record sets that have the same name and type. Values other than 60
--   seconds (the TTL for load balancers) will change the effect of the
--   values that you specify for <tt>Weight</tt> .
rrsTTL :: Lens' ResourceRecordSet (Maybe Natural)

-- | Information about the resource records to act upon.
rrsResourceRecords :: Lens' ResourceRecordSet (Maybe (NonEmpty ResourceRecord))

-- | <i>Alias resource record sets only:</i> Information about the
--   CloudFront distribution, AWS Elastic Beanstalk environment, ELB load
--   balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to
--   which you are redirecting queries. The AWS Elastic Beanstalk
--   environment must have a regionalized subdomain. If you're creating
--   resource records sets for a private hosted zone, note the following: *
--   You can't create alias resource record sets for CloudFront
--   distributions in a private hosted zone. * Creating geolocation alias
--   resource record sets or latency alias resource record sets in a
--   private hosted zone is unsupported. * For information about creating
--   failover resource record sets in a private hosted zone, see
--   <a>Configuring Failover in a Private Hosted Zone</a> in the <i>Amazon
--   Route 53 Developer Guide</i> .
rrsAliasTarget :: Lens' ResourceRecordSet (Maybe AliasTarget)

-- | <i>Weighted resource record sets only:</i> Among resource record sets
--   that have the same combination of DNS name and type, a value that
--   determines the proportion of DNS queries that Amazon Route 53 responds
--   to using the current resource record set. Amazon Route 53 calculates
--   the sum of the weights for the resource record sets that have the same
--   combination of DNS name and type. Amazon Route 53 then responds to
--   queries based on the ratio of a resource's weight to the total. Note
--   the following: * You must specify a value for the <tt>Weight</tt>
--   element for every weighted resource record set. * You can only specify
--   one <tt>ResourceRecord</tt> per weighted resource record set. * You
--   can't create latency, failover, or geolocation resource record sets
--   that have the same values for the <tt>Name</tt> and <tt>Type</tt>
--   elements as weighted resource record sets. * You can create a maximum
--   of 100 weighted resource record sets that have the same values for the
--   <tt>Name</tt> and <tt>Type</tt> elements. * For weighted (but not
--   weighted alias) resource record sets, if you set <tt>Weight</tt> to
--   <tt>0</tt> for a resource record set, Amazon Route 53 never responds
--   to queries with the applicable value for that resource record set.
--   However, if you set <tt>Weight</tt> to <tt>0</tt> for all resource
--   record sets that have the same combination of DNS name and type,
--   traffic is routed to all resources with equal probability. The effect
--   of setting <tt>Weight</tt> to <tt>0</tt> is different when you
--   associate health checks with weighted resource record sets. For more
--   information, see <a>Options for Configuring Amazon Route 53
--   Active-Active and Active-Passive Failover</a> in the <i>Amazon Route
--   53 Developer Guide</i> .
rrsWeight :: Lens' ResourceRecordSet (Maybe Natural)

-- | When you create a traffic policy instance, Amazon Route 53
--   automatically creates a resource record set.
--   <tt>TrafficPolicyInstanceId</tt> is the ID of the traffic policy
--   instance that Amazon Route 53 created this resource record set for.
--   <i>Important:</i> To delete the resource record set that is associated
--   with a traffic policy instance, use
--   <tt>DeleteTrafficPolicyInstance</tt> . Amazon Route 53 will delete the
--   resource record set automatically. If you delete the resource record
--   set by using <tt>ChangeResourceRecordSets</tt> , Amazon Route 53
--   doesn't automatically delete the traffic policy instance, and you'll
--   continue to be charged for it even though it's no longer in use.
rrsTrafficPolicyInstanceId :: Lens' ResourceRecordSet (Maybe Text)

-- | <i>Weighted, Latency, Geo, and Failover resource record sets only:</i>
--   An identifier that differentiates among multiple resource record sets
--   that have the same combination of DNS name and type. The value of
--   <tt>SetIdentifier</tt> must be unique for each resource record set
--   that has the same combination of DNS name and type. Omit
--   <tt>SetIdentifier</tt> for any other types of record sets.
rrsSetIdentifier :: Lens' ResourceRecordSet (Maybe Text)

-- | <i>Failover resource record sets only:</i> To configure failover, you
--   add the <tt>Failover</tt> element to two resource record sets. For one
--   resource record set, you specify <tt>PRIMARY</tt> as the value for
--   <tt>Failover</tt> ; for the other resource record set, you specify
--   <tt>SECONDARY</tt> . In addition, you include the
--   <tt>HealthCheckId</tt> element and specify the health check that you
--   want Amazon Route 53 to perform for each resource record set. Except
--   where noted, the following failover behaviors assume that you have
--   included the <tt>HealthCheckId</tt> element in both resource record
--   sets: * When the primary resource record set is healthy, Amazon Route
--   53 responds to DNS queries with the applicable value from the primary
--   resource record set regardless of the health of the secondary resource
--   record set. * When the primary resource record set is unhealthy and
--   the secondary resource record set is healthy, Amazon Route 53 responds
--   to DNS queries with the applicable value from the secondary resource
--   record set. * When the secondary resource record set is unhealthy,
--   Amazon Route 53 responds to DNS queries with the applicable value from
--   the primary resource record set regardless of the health of the
--   primary resource record set. * If you omit the <tt>HealthCheckId</tt>
--   element for the secondary resource record set, and if the primary
--   resource record set is unhealthy, Amazon Route 53 always responds to
--   DNS queries with the applicable value from the secondary resource
--   record set. This is true regardless of the health of the associated
--   endpoint. You can't create non-failover resource record sets that have
--   the same values for the <tt>Name</tt> and <tt>Type</tt> elements as
--   failover resource record sets. For failover alias resource record
--   sets, you must also include the <tt>EvaluateTargetHealth</tt> element
--   and set the value to true. For more information about configuring
--   failover for Amazon Route 53, see the following topics in the
--   <i>Amazon Route 53 Developer Guide</i> : * <a>Amazon Route 53 Health
--   Checks and DNS Failover</a> * <a>Configuring Failover in a Private
--   Hosted Zone</a> Valid values: <tt>PRIMARY</tt> | <tt>SECONDARY</tt>
rrsFailover :: Lens' ResourceRecordSet (Maybe Failover)

-- | If you want Amazon Route 53 to return this resource record set in
--   response to a DNS query only when a health check is passing, include
--   the <tt>HealthCheckId</tt> element and specify the ID of the
--   applicable health check. Amazon Route 53 determines whether a resource
--   record set is healthy based on one of the following: * By periodically
--   sending a request to the endpoint that is specified in the health
--   check * By aggregating the status of a specified group of health
--   checks (calculated health checks) * By determining the current state
--   of a CloudWatch alarm (CloudWatch metric health checks) For
--   information about how Amazon Route 53 determines whether a health
--   check is healthy, see <tt>CreateHealthCheck</tt> . The
--   <tt>HealthCheckId</tt> element is only useful when Amazon Route 53 is
--   choosing between two or more resource record sets to respond to a DNS
--   query, and you want Amazon Route 53 to base the choice in part on the
--   status of a health check. Configuring health checks only makes sense
--   in the following configurations: * You're checking the health of the
--   resource record sets in a weighted, latency, geolocation, or failover
--   resource record set, and you specify health check IDs for all of the
--   resource record sets. If the health check for one resource record set
--   specifies an endpoint that is not healthy, Amazon Route 53 stops
--   responding to queries using the value for that resource record set. *
--   You set <tt>EvaluateTargetHealth</tt> to true for the resource record
--   sets in an alias, weighted alias, latency alias, geolocation alias, or
--   failover alias resource record set, and you specify health check IDs
--   for all of the resource record sets that are referenced by the alias
--   resource record sets. <i>Important:</i> Amazon Route 53 doesn't check
--   the health of the endpoint specified in the resource record set, for
--   example, the endpoint specified by the IP address in the
--   <tt>Value</tt> element. When you add a <tt>HealthCheckId</tt> element
--   to a resource record set, Amazon Route 53 checks the health of the
--   endpoint that you specified in the health check. For geolocation
--   resource record sets, if an endpoint is unhealthy, Amazon Route 53
--   looks for a resource record set for the larger, associated geographic
--   region. For example, suppose you have resource record sets for a state
--   in the United States, for the United States, for North America, and
--   for all locations. If the endpoint for the state resource record set
--   is unhealthy, Amazon Route 53 checks the resource record sets for the
--   United States, for North America, and for all locations (a resource
--   record set for which the value of <tt>CountryCode</tt> is <tt>*</tt>
--   ), in that order, until it finds a resource record set for which the
--   endpoint is healthy. If your health checks specify the endpoint only
--   by domain name, we recommend that you create a separate health check
--   for each endpoint. For example, create a health check for each
--   <tt>HTTP</tt> server that is serving content for
--   <tt>www.example.com</tt> . For the value of
--   <tt>FullyQualifiedDomainName</tt> , specify the domain name of the
--   server (such as <tt>us-east-1-www.example.com</tt> ), not the name of
--   the resource record sets (example.com). <i>Important:</i> n this
--   configuration, if you create a health check for which the value of
--   <tt>FullyQualifiedDomainName</tt> matches the name of the resource
--   record sets and then associate the health check with those resource
--   record sets, health check results will be unpredictable. For more
--   information, see the following topics in the <i>Amazon Route 53
--   Developer Guide</i> : * <a>Amazon Route 53 Health Checks and DNS
--   Failover</a> * <a>Configuring Failover in a Private Hosted Zone</a>
rrsHealthCheckId :: Lens' ResourceRecordSet (Maybe Text)

-- | <i>Latency-based resource record sets only:</i> The Amazon EC2 Region
--   where the resource that is specified in this resource record set
--   resides. The resource typically is an AWS resource, such as an EC2
--   instance or an ELB load balancer, and is referred to by an IP address
--   or a DNS domain name, depending on the record type. When Amazon Route
--   53 receives a DNS query for a domain name and type for which you have
--   created latency resource record sets, Amazon Route 53 selects the
--   latency resource record set that has the lowest latency between the
--   end user and the associated Amazon EC2 Region. Amazon Route 53 then
--   returns the value that is associated with the selected resource record
--   set. Note the following: * You can only specify one
--   <tt>ResourceRecord</tt> per latency resource record set. * You can
--   only create one latency resource record set for each Amazon EC2
--   Region. * You are not required to create latency resource record sets
--   for all Amazon EC2 Regions. Amazon Route 53 will choose the region
--   with the best latency from among the regions for which you create
--   latency resource record sets. * You can't create non-latency resource
--   record sets that have the same values for the <tt>Name</tt> and
--   <tt>Type</tt> elements as latency resource record sets.
rrsRegion :: Lens' ResourceRecordSet (Maybe Region)

-- | <i>Geo location resource record sets only:</i> A complex type that
--   lets you control how Amazon Route 53 responds to DNS queries based on
--   the geographic origin of the query. For example, if you want all
--   queries from Africa to be routed to a web server with an IP address of
--   <tt>192.0.2.111</tt> , create a resource record set with a
--   <tt>Type</tt> of <tt>A</tt> and a <tt>ContinentCode</tt> of
--   <tt>AF</tt> . If you create separate resource record sets for
--   overlapping geographic regions (for example, one resource record set
--   for a continent and one for a country on the same continent), priority
--   goes to the smallest geographic region. This allows you to route most
--   queries for a continent to one resource and to route queries for a
--   country on that continent to a different resource. You can't create
--   two geolocation resource record sets that specify the same geographic
--   location. The value <tt>*</tt> in the <tt>CountryCode</tt> element
--   matches all geographic locations that aren't specified in other
--   geolocation resource record sets that have the same values for the
--   <tt>Name</tt> and <tt>Type</tt> elements. <i>Important:</i>
--   Geolocation works by mapping IP addresses to locations. However, some
--   IP addresses aren't mapped to geographic locations, so even if you
--   create geolocation resource record sets that cover all seven
--   continents, Amazon Route 53 will receive some DNS queries from
--   locations that it can't identify. We recommend that you create a
--   resource record set for which the value of <tt>CountryCode</tt> is
--   <tt>*</tt> , which handles both queries that come from locations for
--   which you haven't created geolocation resource record sets and queries
--   from IP addresses that aren't mapped to a location. If you don't
--   create a <tt>*</tt> resource record set, Amazon Route 53 returns a "no
--   answer" response for queries from those locations. You can't create
--   non-geolocation resource record sets that have the same values for the
--   <tt>Name</tt> and <tt>Type</tt> elements as geolocation resource
--   record sets.
rrsGeoLocation :: Lens' ResourceRecordSet (Maybe GeoLocation)

-- | The name of the domain you want to perform the action on. Enter a
--   fully qualified domain name, for example, <tt>www.example.com</tt> .
--   You can optionally include a trailing dot. If you omit the trailing
--   dot, Amazon Route 53 still assumes that the domain name that you
--   specify is fully qualified. This means that Amazon Route 53 treats
--   <tt>www.example.com</tt> (without a trailing dot) and
--   <tt>www.example.com.</tt> (with a trailing dot) as identical. For
--   information about how to specify characters other than <tt>a-z</tt> ,
--   <tt>0-9</tt> , and <tt>-</tt> (hyphen) and how to specify
--   internationalized domain names, see <a>DNS Domain Name Format</a> in
--   the <i>Amazon Route 53 Developer Guide</i> . You can use the asterisk
--   (*) wildcard to replace the leftmost label in a domain name. For
--   example, <tt>*.example.com</tt> . Note the following: * The * must
--   replace the entire label. For example, you can't specify
--   <tt>*prod.example.com</tt> or <tt>prod*.example.com</tt> . * The *
--   can't replace any of the middle labels, for example,
--   marketing.*.example.com. * If you include * in any position other than
--   the leftmost label in a domain name, DNS treats it as an * character
--   (ASCII 42), not as a wildcard. <i>Important:</i> You can't use the *
--   wildcard for resource records sets that have a type of NS. You can use
--   the * wildcard as the leftmost label in a domain name, for example,
--   <tt>*.example.com</tt> . You can't use an * for one of the middle
--   labels, for example, <tt>marketing.*.example.com</tt> . In addition,
--   the * must replace the entire label; for example, you can't specify
--   <tt>prod*.example.com</tt> .
rrsName :: Lens' ResourceRecordSet Text

-- | The DNS record type. For information about different record types and
--   how data is encoded for them, see <a>Supported DNS Resource Record
--   Types</a> in the <i>Amazon Route 53 Developer Guide</i> . Valid values
--   for basic resource record sets: <tt>A</tt> | <tt>AAAA</tt> |
--   <tt>CNAME</tt> | <tt>MX</tt> | <tt>NAPTR</tt> | <tt>NS</tt> |
--   <tt>PTR</tt> | <tt>SOA</tt> | <tt>SPF</tt> | <tt>SRV</tt> |
--   <tt>TXT</tt> Values for weighted, latency, geolocation, and failover
--   resource record sets: <tt>A</tt> | <tt>AAAA</tt> | <tt>CNAME</tt> |
--   <tt>MX</tt> | <tt>NAPTR</tt> | <tt>PTR</tt> | <tt>SPF</tt> |
--   <tt>SRV</tt> | <tt>TXT</tt> . When creating a group of weighted,
--   latency, geolocation, or failover resource record sets, specify the
--   same value for all of the resource record sets in the group. Values
--   for alias resource record sets: * <b>CloudFront distributions:</b>
--   <tt>A</tt> If IPv6 is enabled for the distribution, create two
--   resource record sets to route traffic to your distribution, one with a
--   value of <tt>A</tt> and one with a value of <tt>AAAA</tt> . * <b>AWS
--   Elastic Beanstalk environment that has a regionalized subdomain</b> :
--   <tt>A</tt> * <b>ELB load balancers:</b> <tt>A</tt> | <tt>AAAA</tt> *
--   <b>Amazon S3 buckets:</b> <tt>A</tt> * <b>Another resource record set
--   in this hosted zone:</b> Specify the type of the resource record set
--   for which you're creating the alias. Specify any value except
--   <tt>NS</tt> or <tt>SOA</tt> .
rrsType :: Lens' ResourceRecordSet RecordType

-- | A complex type containing a resource and its associated tags.
--   
--   <i>See:</i> <a>resourceTagSet</a> smart constructor.
data ResourceTagSet

-- | Creates a value of <a>ResourceTagSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtsResourceId</a> - The ID for the specified resource.</li>
--   <li><a>rtsResourceType</a> - The type of the resource. * The resource
--   type for health checks is <tt>healthcheck</tt> . * The resource type
--   for hosted zones is <tt>hostedzone</tt> .</li>
--   <li><a>rtsTags</a> - The tags associated with the specified
--   resource.</li>
--   </ul>
resourceTagSet :: ResourceTagSet

-- | The ID for the specified resource.
rtsResourceId :: Lens' ResourceTagSet (Maybe Text)

-- | The type of the resource. * The resource type for health checks is
--   <tt>healthcheck</tt> . * The resource type for hosted zones is
--   <tt>hostedzone</tt> .
rtsResourceType :: Lens' ResourceTagSet (Maybe TagResourceType)

-- | The tags associated with the specified resource.
rtsTags :: Lens' ResourceTagSet (Maybe (NonEmpty Tag))

-- | A complex type that contains the status that one Amazon Route 53
--   health checker reports and the time of the health check.
--   
--   <i>See:</i> <a>statusReport</a> smart constructor.
data StatusReport

-- | Creates a value of <a>StatusReport</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srStatus</a> - A description of the status of the health check
--   endpoint as reported by one of the Amazon Route 53 health
--   checkers.</li>
--   <li><a>srCheckedTime</a> - The time at which the health checker
--   performed the health check in <a>ISO 8601 format</a> and Coordinated
--   Universal Time (UTC). For example, the value
--   <tt>2014-10-27T17:48:16.751Z</tt> represents October 27, 2014 at
--   17:48:16.751 UTC.</li>
--   </ul>
statusReport :: StatusReport

-- | A description of the status of the health check endpoint as reported
--   by one of the Amazon Route 53 health checkers.
srStatus :: Lens' StatusReport (Maybe Text)

-- | The time at which the health checker performed the health check in
--   <a>ISO 8601 format</a> and Coordinated Universal Time (UTC). For
--   example, the value <tt>2014-10-27T17:48:16.751Z</tt> represents
--   October 27, 2014 at 17:48:16.751 UTC.
srCheckedTime :: Lens' StatusReport (Maybe UTCTime)

-- | A complex type that contains information about a tag that you want to
--   add or edit for the specified health check or hosted zone.
--   
--   <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagValue</a> - The value of <tt>Value</tt> depends on the
--   operation that you want to perform: * <b>Add a tag to a health check
--   or hosted zone</b> : <tt>Value</tt> is the value that you want to give
--   the new tag. * <b>Edit a tag</b> : <tt>Value</tt> is the new value
--   that you want to assign the tag.</li>
--   <li><a>tagKey</a> - The value of <tt>Key</tt> depends on the operation
--   that you want to perform: * <b>Add a tag to a health check or hosted
--   zone</b> : <tt>Key</tt> is the name that you want to give the new tag.
--   * <b>Edit a tag</b> : <tt>Key</tt> is the name of the tag whose
--   <tt>Value</tt> element you want to remove. * <b>Delete a key</b> :
--   <tt>Key</tt> is the name of the tag you want to remove. * <b>Give a
--   name to a health check</b> : Edit the default <tt>Name</tt> tag. In
--   the Amazon Route 53 console, the list of your health checks includes a
--   <b>Name</b> column that lets you see the name that you've given to
--   each health check.</li>
--   </ul>
tag :: Tag

-- | The value of <tt>Value</tt> depends on the operation that you want to
--   perform: * <b>Add a tag to a health check or hosted zone</b> :
--   <tt>Value</tt> is the value that you want to give the new tag. *
--   <b>Edit a tag</b> : <tt>Value</tt> is the new value that you want to
--   assign the tag.
tagValue :: Lens' Tag (Maybe Text)

-- | The value of <tt>Key</tt> depends on the operation that you want to
--   perform: * <b>Add a tag to a health check or hosted zone</b> :
--   <tt>Key</tt> is the name that you want to give the new tag. * <b>Edit
--   a tag</b> : <tt>Key</tt> is the name of the tag whose <tt>Value</tt>
--   element you want to remove. * <b>Delete a key</b> : <tt>Key</tt> is
--   the name of the tag you want to remove. * <b>Give a name to a health
--   check</b> : Edit the default <tt>Name</tt> tag. In the Amazon Route 53
--   console, the list of your health checks includes a <b>Name</b> column
--   that lets you see the name that you've given to each health check.
tagKey :: Lens' Tag (Maybe Text)

-- | A complex type that contains settings for a traffic policy.
--   
--   <i>See:</i> <a>trafficPolicy</a> smart constructor.
data TrafficPolicy

-- | Creates a value of <a>TrafficPolicy</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tpComment</a> - The comment that you specify in the
--   <tt>CreateTrafficPolicy</tt> request, if any.</li>
--   <li><a>tpId</a> - The ID that Amazon Route 53 assigned to a traffic
--   policy when you created it.</li>
--   <li><a>tpVersion</a> - The version number that Amazon Route 53 assigns
--   to a traffic policy. For a new traffic policy, the value of
--   <tt>Version</tt> is always 1.</li>
--   <li><a>tpName</a> - The name that you specified when you created the
--   traffic policy.</li>
--   <li><a>tpType</a> - The DNS type of the resource record sets that
--   Amazon Route 53 creates when you use a traffic policy to create a
--   traffic policy instance.</li>
--   <li><a>tpDocument</a> - The definition of a traffic policy in JSON
--   format. You specify the JSON document to use for a new traffic policy
--   in the <tt>CreateTrafficPolicy</tt> request. For more information
--   about the JSON format, see <a>Traffic Policy Document Format</a>
--   .</li>
--   </ul>
trafficPolicy :: Text -> Natural -> Text -> RecordType -> Text -> TrafficPolicy

-- | The comment that you specify in the <tt>CreateTrafficPolicy</tt>
--   request, if any.
tpComment :: Lens' TrafficPolicy (Maybe Text)

-- | The ID that Amazon Route 53 assigned to a traffic policy when you
--   created it.
tpId :: Lens' TrafficPolicy Text

-- | The version number that Amazon Route 53 assigns to a traffic policy.
--   For a new traffic policy, the value of <tt>Version</tt> is always 1.
tpVersion :: Lens' TrafficPolicy Natural

-- | The name that you specified when you created the traffic policy.
tpName :: Lens' TrafficPolicy Text

-- | The DNS type of the resource record sets that Amazon Route 53 creates
--   when you use a traffic policy to create a traffic policy instance.
tpType :: Lens' TrafficPolicy RecordType

-- | The definition of a traffic policy in JSON format. You specify the
--   JSON document to use for a new traffic policy in the
--   <tt>CreateTrafficPolicy</tt> request. For more information about the
--   JSON format, see <a>Traffic Policy Document Format</a> .
tpDocument :: Lens' TrafficPolicy Text

-- | A complex type that contains settings for the new traffic policy
--   instance.
--   
--   <i>See:</i> <a>trafficPolicyInstance</a> smart constructor.
data TrafficPolicyInstance

-- | Creates a value of <a>TrafficPolicyInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tpiId</a> - The ID that Amazon Route 53 assigned to the new
--   traffic policy instance.</li>
--   <li><a>tpiHostedZoneId</a> - The ID of the hosted zone that Amazon
--   Route 53 created resource record sets in.</li>
--   <li><a>tpiName</a> - The DNS name, such as www.example.com, for which
--   Amazon Route 53 responds to queries by using the resource record sets
--   that are associated with this traffic policy instance.</li>
--   <li><a>tpiTTL</a> - The TTL that Amazon Route 53 assigned to all of
--   the resource record sets that it created in the specified hosted
--   zone.</li>
--   <li><a>tpiState</a> - The value of <tt>State</tt> is one of the
--   following values: * Applied * Amazon Route 53 has finished creating
--   resource record sets, and changes have propagated to all Amazon Route
--   53 edge locations. * Creating * Amazon Route 53 is creating the
--   resource record sets. Use <tt>GetTrafficPolicyInstance</tt> to confirm
--   that the <tt>CreateTrafficPolicyInstance</tt> request completed
--   successfully. * Failed * Amazon Route 53 wasn't able to create or
--   update the resource record sets. When the value of <tt>State</tt> is
--   <tt>Failed</tt> , see <tt>Message</tt> for an explanation of what
--   caused the request to fail.</li>
--   <li><a>tpiMessage</a> - If <tt>State</tt> is <tt>Failed</tt> , an
--   explanation of the reason for the failure. If <tt>State</tt> is
--   another value, <tt>Message</tt> is empty.</li>
--   <li><a>tpiTrafficPolicyId</a> - The ID of the traffic policy that
--   Amazon Route 53 used to create resource record sets in the specified
--   hosted zone.</li>
--   <li><a>tpiTrafficPolicyVersion</a> - The version of the traffic policy
--   that Amazon Route 53 used to create resource record sets in the
--   specified hosted zone.</li>
--   <li><a>tpiTrafficPolicyType</a> - The DNS type that Amazon Route 53
--   assigned to all of the resource record sets that it created for this
--   traffic policy instance.</li>
--   </ul>
trafficPolicyInstance :: Text -> ResourceId -> Text -> Natural -> Text -> Text -> Text -> Natural -> RecordType -> TrafficPolicyInstance

-- | The ID that Amazon Route 53 assigned to the new traffic policy
--   instance.
tpiId :: Lens' TrafficPolicyInstance Text

-- | The ID of the hosted zone that Amazon Route 53 created resource record
--   sets in.
tpiHostedZoneId :: Lens' TrafficPolicyInstance ResourceId

-- | The DNS name, such as www.example.com, for which Amazon Route 53
--   responds to queries by using the resource record sets that are
--   associated with this traffic policy instance.
tpiName :: Lens' TrafficPolicyInstance Text

-- | The TTL that Amazon Route 53 assigned to all of the resource record
--   sets that it created in the specified hosted zone.
tpiTTL :: Lens' TrafficPolicyInstance Natural

-- | The value of <tt>State</tt> is one of the following values: * Applied
--   * Amazon Route 53 has finished creating resource record sets, and
--   changes have propagated to all Amazon Route 53 edge locations. *
--   Creating * Amazon Route 53 is creating the resource record sets. Use
--   <tt>GetTrafficPolicyInstance</tt> to confirm that the
--   <tt>CreateTrafficPolicyInstance</tt> request completed successfully. *
--   Failed * Amazon Route 53 wasn't able to create or update the resource
--   record sets. When the value of <tt>State</tt> is <tt>Failed</tt> , see
--   <tt>Message</tt> for an explanation of what caused the request to
--   fail.
tpiState :: Lens' TrafficPolicyInstance Text

-- | If <tt>State</tt> is <tt>Failed</tt> , an explanation of the reason
--   for the failure. If <tt>State</tt> is another value, <tt>Message</tt>
--   is empty.
tpiMessage :: Lens' TrafficPolicyInstance Text

-- | The ID of the traffic policy that Amazon Route 53 used to create
--   resource record sets in the specified hosted zone.
tpiTrafficPolicyId :: Lens' TrafficPolicyInstance Text

-- | The version of the traffic policy that Amazon Route 53 used to create
--   resource record sets in the specified hosted zone.
tpiTrafficPolicyVersion :: Lens' TrafficPolicyInstance Natural

-- | The DNS type that Amazon Route 53 assigned to all of the resource
--   record sets that it created for this traffic policy instance.
tpiTrafficPolicyType :: Lens' TrafficPolicyInstance RecordType

-- | A complex type that contains information about the latest version of
--   one traffic policy that is associated with the current AWS account.
--   
--   <i>See:</i> <a>trafficPolicySummary</a> smart constructor.
data TrafficPolicySummary

-- | Creates a value of <a>TrafficPolicySummary</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tpsId</a> - The ID that Amazon Route 53 assigned to the traffic
--   policy when you created it.</li>
--   <li><a>tpsName</a> - The name that you specified for the traffic
--   policy when you created it.</li>
--   <li><a>tpsType</a> - The DNS type of the resource record sets that
--   Amazon Route 53 creates when you use a traffic policy to create a
--   traffic policy instance.</li>
--   <li><a>tpsLatestVersion</a> - The version number of the latest version
--   of the traffic policy.</li>
--   <li><a>tpsTrafficPolicyCount</a> - The number of traffic policies that
--   are associated with the current AWS account.</li>
--   </ul>
trafficPolicySummary :: Text -> Text -> RecordType -> Natural -> Natural -> TrafficPolicySummary

-- | The ID that Amazon Route 53 assigned to the traffic policy when you
--   created it.
tpsId :: Lens' TrafficPolicySummary Text

-- | The name that you specified for the traffic policy when you created
--   it.
tpsName :: Lens' TrafficPolicySummary Text

-- | The DNS type of the resource record sets that Amazon Route 53 creates
--   when you use a traffic policy to create a traffic policy instance.
tpsType :: Lens' TrafficPolicySummary RecordType

-- | The version number of the latest version of the traffic policy.
tpsLatestVersion :: Lens' TrafficPolicySummary Natural

-- | The number of traffic policies that are associated with the current
--   AWS account.
tpsTrafficPolicyCount :: Lens' TrafficPolicySummary Natural

-- | A complex type that contains information about an Amazon VPC that is
--   associated with a private hosted zone.
--   
--   <i>See:</i> <a>vpc</a> smart constructor.
data VPC

-- | Creates a value of <a>VPC</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vpcVPCRegion</a> - The region in which you created the VPC that
--   you want to associate with the specified Amazon Route 53 hosted
--   zone.</li>
--   <li><a>vpcVPCId</a> - Undocumented member.</li>
--   </ul>
vpc :: VPC

-- | The region in which you created the VPC that you want to associate
--   with the specified Amazon Route 53 hosted zone.
vpcVPCRegion :: Lens' VPC (Maybe VPCRegion)

-- | Undocumented member.
vpcVPCId :: Lens' VPC (Maybe Text)
