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


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

-- | There is no DNS query logging configuration with the specified ID.
_NoSuchQueryLoggingConfig :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified hosted zone is a public hosted zone, not a private
--   hosted zone.
_HostedZoneNotPrivate :: 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 is invalid.
_InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError

-- | There is already a traffic policy instance with the specified ID.
_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

-- | You can create only one query logging configuration for a hosted zone,
--   and a query logging configuration already exists for this hosted zone.
_QueryLoggingConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | Another user submitted a request to create, update, or delete 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

-- | Amazon Route 53 doesn't have the permissions required to create log
--   streams and send query logs to log streams. Possible causes include
--   the following:
--   
--   <ul>
--   <li>There is no resource policy that specifies the log group ARN in
--   the value for <tt>Resource</tt> .</li>
--   <li>The resource policy that includes the log group ARN in the value
--   for <tt>Resource</tt> doesn't have the necessary permissions.</li>
--   <li>The resource policy hasn't finished propagating yet.</li>
--   </ul>
_InsufficientCloudWatchLogsResourcePolicy :: AsError a => Getting (First ServiceError) a ServiceError

-- | There is no CloudWatch Logs log group with the specified ARN.
_NoSuchCloudWatchLogsLogGroup :: 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

-- | The value that you specified to get the second or subsequent page of
--   results is invalid.
_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 you submit a request that has the
--   following values:
--   
--   <ul>
--   <li>The same value for <tt>CallerReference</tt> as an existing health
--   check, and one or more values that differ from the existing health
--   check that has the same caller reference.</li>
--   <li>The same value for <tt>CallerReference</tt> as a health check that
--   you created and later deleted, regardless of the other settings in the
--   request.</li>
--   </ul>
_HealthCheckAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | This traffic policy can't be created because the current account has
--   reached the limit on the number of traffic policies.
--   
--   For information about default limits, see <a>Limits</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .
--   
--   To get the current limit for an account, see <tt>GetAccountLimit</tt>
--   .
--   
--   To request a higher limit, <a>create a case</a> with the AWS Support
--   Center.
_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

-- | The limit on the number of requests per second was exceeded.
_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

-- | This operation can't be completed either because the current account
--   has reached the limit on reusable delegation sets that it can create
--   or because you've reached the limit on the number of Amazon VPCs that
--   you can associate with a private hosted zone. To get the current limit
--   on the number of reusable delegation sets, see
--   <tt>GetAccountLimit</tt> . To get the current limit on the number of
--   Amazon VPCs that you can associate with a private hosted zone, see
--   <tt>GetHostedZoneLimit</tt> . To request a higher limit, <a>create a
--   case</a> with the AWS Support Center.
_LimitsExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | This traffic policy instance can't be created because the current
--   account has reached the limit on the number of traffic policy
--   instances.
--   
--   For information about default limits, see <a>Limits</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .
--   
--   For information about how to get the current limit for an account, see
--   <tt>GetAccountLimit</tt> .
--   
--   To request a higher limit, <a>create a case</a> with the AWS Support
--   Center.
_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're trying to access is unsupported on this Amazon
--   Route 53 endpoint.
_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 operation can't be completed either because the current account
--   has reached the limit on the number of hosted zones or because you've
--   reached the limit on the number of hosted zones that can be associated
--   with a reusable delegation set.
--   
--   For information about default limits, see <a>Limits</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .
--   
--   To get the current limit on hosted zones that can be created by an
--   account, see <tt>GetAccountLimit</tt> .
--   
--   To get the current limit on hosted zones that can be associated with a
--   reusable delegation set, see <tt>GetReusableDelegationSetLimit</tt> .
--   
--   To request a higher limit, <a>create a case</a> with the AWS Support
--   Center.
_TooManyHostedZones :: AsError a => Getting (First ServiceError) a ServiceError

-- | This error code is not in use.
_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

-- | The cause of this error depends on whether you're trying to create a
--   public or a private hosted zone:
--   
--   <ul>
--   <li><b>Public hosted zone:</b> Two hosted zones that have the same
--   name or that have a parent/child relationship (example.com and
--   test.example.com) can't have any common name servers. You tried to
--   create a hosted zone that has the same name as an existing hosted zone
--   or that's the parent or child of an existing hosted zone, and you
--   specified a delegation set that shares one or more name servers with
--   the existing hosted zone. For more information, see
--   <tt>CreateReusableDelegationSet</tt> .</li>
--   <li><b>Private hosted zone:</b> 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.</li>
--   </ul>
_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

-- | This health check can't be created because the current account has
--   reached the limit on the number of active health checks.
--   
--   For information about default limits, see <a>Limits</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .
--   
--   For information about how to get the current limit for an account, see
--   <tt>GetAccountLimit</tt> . To request a higher limit, <a>create a
--   case</a> with the AWS Support Center.
--   
--   You have reached the maximum number of active health checks for an AWS
--   account. 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're 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

-- | This traffic policy version can't be created because you've reached
--   the limit of 1000 on the number of versions that you can create for
--   the current traffic policy.
--   
--   To create more traffic policy versions, you can use
--   <tt>GetTrafficPolicy</tt> to get the traffic policy document for a
--   specified traffic policy version, and then use
--   <tt>CreateTrafficPolicy</tt> to create a new traffic policy using the
--   traffic policy document.
_TooManyTrafficPolicyVersionsForCurrentPolicy :: 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

-- | Canada ('ca-central-1').
Montreal :: 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-west-2').
London :: 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 AccountLimitType
MaxHealthChecksByOwner :: AccountLimitType
MaxHostedZonesByOwner :: AccountLimitType
MaxReusableDelegationSetsByOwner :: AccountLimitType
MaxTrafficPoliciesByOwner :: AccountLimitType
MaxTrafficPolicyInstancesByOwner :: AccountLimitType
data ChangeAction
Create :: ChangeAction
Delete :: ChangeAction
Upsert :: ChangeAction
data ChangeStatus
Insync :: ChangeStatus
Pending :: ChangeStatus
data CloudWatchRegion
CWRApNortheast1 :: CloudWatchRegion
CWRApNortheast2 :: CloudWatchRegion
CWRApNortheast3 :: CloudWatchRegion
CWRApSouth1 :: CloudWatchRegion
CWRApSoutheast1 :: CloudWatchRegion
CWRApSoutheast2 :: CloudWatchRegion
CWRCaCentral1 :: CloudWatchRegion
CWREuCentral1 :: CloudWatchRegion
CWREuWest1 :: CloudWatchRegion
CWREuWest2 :: CloudWatchRegion
CWREuWest3 :: 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
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 HostedZoneLimitType
MaxRrsetsByZone :: HostedZoneLimitType
MaxVPCsAssociatedByZone :: HostedZoneLimitType
data InsufficientDataHealthStatus
Healthy :: InsufficientDataHealthStatus
LastKnownStatus :: InsufficientDataHealthStatus
Unhealthy :: InsufficientDataHealthStatus
data RecordType
A :: RecordType
Aaaa :: RecordType
Caa :: RecordType
Cname :: RecordType
MX :: RecordType
NS :: RecordType
Naptr :: RecordType
Ptr :: RecordType
Soa :: RecordType
Spf :: RecordType
Srv :: RecordType
Txt :: RecordType
data ResettableElementName
ChildHealthChecks :: ResettableElementName
FullyQualifiedDomainName :: ResettableElementName
Regions :: ResettableElementName
ResourcePath :: ResettableElementName
data ReusableDelegationSetLimitType
MaxZonesByReusableDelegationSet :: ReusableDelegationSetLimitType
data Statistic
Average :: Statistic
Maximum :: Statistic
Minimum :: Statistic
SampleCount :: Statistic
Sum :: Statistic
data TagResourceType
Healthcheck :: TagResourceType
Hostedzone :: TagResourceType
data VPCRegion
ApNortheast1 :: VPCRegion
ApNortheast2 :: VPCRegion
ApNortheast3 :: VPCRegion
ApSouth1 :: VPCRegion
ApSoutheast1 :: VPCRegion
ApSoutheast2 :: VPCRegion
CaCentral1 :: VPCRegion
CnNorth1 :: VPCRegion
EuCentral1 :: VPCRegion
EuWest1 :: VPCRegion
EuWest2 :: VPCRegion
EuWest3 :: VPCRegion
SaEast1 :: VPCRegion
UsEast1 :: VPCRegion
UsEast2 :: VPCRegion
UsWest1 :: VPCRegion
UsWest2 :: VPCRegion

-- | A complex type that contains the type of limit that you specified in
--   the request and the current value for that limit.
--   
--   <i>See:</i> <a>accountLimit</a> smart constructor.
data AccountLimit

-- | Creates a value of <a>AccountLimit</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>alType</a> - The limit that you requested. Valid values include
--   the following: * <b>MAX_HEALTH_CHECKS_BY_OWNER</b> : The maximum
--   number of health checks that you can create using the current account.
--   * <b>MAX_HOSTED_ZONES_BY_OWNER</b> : The maximum number of hosted
--   zones that you can create using the current account. *
--   <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b> : The maximum number of
--   reusable delegation sets that you can create using the current
--   account. * <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b> : The maximum number
--   of traffic policies that you can create using the current account. *
--   <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b> : The maximum number of
--   traffic policy instances that you can create using the current
--   account. (Traffic policy instances are referred to as traffic flow
--   policy records in the Amazon Route 53 console.)</li>
--   <li><a>alValue</a> - The current value for the limit that is specified
--   by 'AccountLimit$Type' .</li>
--   </ul>
accountLimit :: AccountLimitType -> Natural -> AccountLimit

-- | The limit that you requested. Valid values include the following: *
--   <b>MAX_HEALTH_CHECKS_BY_OWNER</b> : The maximum number of health
--   checks that you can create using the current account. *
--   <b>MAX_HOSTED_ZONES_BY_OWNER</b> : The maximum number of hosted zones
--   that you can create using the current account. *
--   <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b> : The maximum number of
--   reusable delegation sets that you can create using the current
--   account. * <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b> : The maximum number
--   of traffic policies that you can create using the current account. *
--   <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b> : The maximum number of
--   traffic policy instances that you can create using the current
--   account. (Traffic policy instances are referred to as traffic flow
--   policy records in the Amazon Route 53 console.)
alType :: Lens' AccountLimit AccountLimitType

-- | The current value for the limit that is specified by
--   'AccountLimit$Type' .
alValue :: Lens' AccountLimit Natural

-- | 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 the <i>AWS
--   Regions and Endpoints</i> chapter of 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 the <i>AWS Regions and Endpoints</i>
--   chapter of 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. An 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 you want to route traffic: *
--   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 "AWS 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: * <a>Elastic Load Balancing</a> table in the "AWS
--   Regions and Endpoints" chapter of the <i>Amazon Web Services General
--   Reference</i> : Use the value that corresponds with the region that
--   you created your load balancer in. Note that there are separate
--   columns for Application and Classic Load Balancers and for Network
--   Load Balancers. * <b>AWS Management Console</b> : Go to the Amazon EC2
--   page, choose <b>Load Balancers</b> in the navigation pane, select the
--   load balancer, and get the value of the <b>Hosted zone</b> field on
--   the <b>Description</b> tab. * <b>Elastic Load Balancing API</b> : Use
--   <tt>DescribeLoadBalancers</tt> to get the applicable value. For more
--   information, see the applicable guide: * Classic Load Balancers: Use
--   <a>DescribeLoadBalancers</a> to get the value of
--   <tt>CanonicalHostedZoneNameId</tt> . * Application and Network Load
--   Balancers: Use <a>DescribeLoadBalancers</a> to get the value of
--   <tt>CanonicalHostedZoneId</tt> . * <b>AWS CLI</b> : Use
--   <tt>describe-load-balancers</tt> to get the applicable value. For more
--   information, see the applicable guide: * Classic Load Balancers: Use
--   <a>describe-load-balancers</a> to get the value of
--   <tt>CanonicalHostedZoneNameId</tt> . * Application and Network Load
--   Balancers: Use <a>describe-load-balancers</a> to get the value of
--   <tt>CanonicalHostedZoneId</tt> . * An Amazon S3 bucket configured as a
--   static website * Specify the hosted zone ID for the region that you
--   created the bucket in. For more information about valid values, see
--   the <a>Amazon Simple Storage Service Website Endpoints</a> table in
--   the "AWS Regions and Endpoints" chapter of 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: *
--   CloudFront distribution * 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> . * Elastic Beanstalk environment * 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 Management 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 Beanstalk 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
--   <tt>describe-environments</tt> 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> . * ELB load balancer * Specify the DNS name that is
--   associated with the load balancer. Get the DNS name by using the AWS
--   Management Console, the ELB API, or the AWS CLI. * <b>AWS Management
--   Console</b> : Go to the EC2 page, choose <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. (If you're routing traffic to a Classic Load Balancer, get the
--   value that begins with <b>dualstack</b> .) * <b>Elastic Load Balancing
--   API</b> : Use <tt>DescribeLoadBalancers</tt> to get the value of
--   <tt>DNSName</tt> . For more information, see the applicable guide: *
--   Classic Load Balancers: <a>DescribeLoadBalancers</a> * Application and
--   Network Load Balancers: <a>DescribeLoadBalancers</a> * <b>AWS CLI</b>
--   : Use <tt>describe-load-balancers</tt> to get the value of
--   <tt>DNSName</tt> . For more information, see the applicable guide: *
--   Classic Load Balancers: <a>describe-load-balancers</a> * Application
--   and Network Load Balancers: <a>describe-load-balancers</a> * Amazon S3
--   bucket that is configured as a static website * Specify the domain
--   name of the Amazon S3 website endpoint in which you created the
--   bucket, for example, <tt>s3-website-us-east-2.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>Getting Started with Amazon Route 53</a>
--   in the <i>Amazon Route 53 Developer Guide.</i> * Another Amazon Route
--   53 resource record set * 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, failover
--   alias, geolocation alias, latency alias, and weighted alias resource
--   record sets:</i> When <tt>EvaluateTargetHealth</tt> is <tt>true</tt> ,
--   an alias resource record set inherits the health of the referenced AWS
--   resource, such as an ELB load balancer, or the referenced resource
--   record set. 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> , ELB 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
--   ELB 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
--   Developer 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 you want to route traffic: * 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 "AWS 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: * <a>Elastic Load
--   Balancing</a> table in the "AWS Regions and Endpoints" chapter of the
--   <i>Amazon Web Services General Reference</i> : Use the value that
--   corresponds with the region that you created your load balancer in.
--   Note that there are separate columns for Application and Classic Load
--   Balancers and for Network Load Balancers. * <b>AWS Management
--   Console</b> : Go to the Amazon EC2 page, choose <b>Load Balancers</b>
--   in the navigation pane, select the load balancer, and get the value of
--   the <b>Hosted zone</b> field on the <b>Description</b> tab. *
--   <b>Elastic Load Balancing API</b> : Use <tt>DescribeLoadBalancers</tt>
--   to get the applicable value. For more information, see the applicable
--   guide: * Classic Load Balancers: Use <a>DescribeLoadBalancers</a> to
--   get the value of <tt>CanonicalHostedZoneNameId</tt> . * Application
--   and Network Load Balancers: Use <a>DescribeLoadBalancers</a> to get
--   the value of <tt>CanonicalHostedZoneId</tt> . * <b>AWS CLI</b> : Use
--   <tt>describe-load-balancers</tt> to get the applicable value. For more
--   information, see the applicable guide: * Classic Load Balancers: Use
--   <a>describe-load-balancers</a> to get the value of
--   <tt>CanonicalHostedZoneNameId</tt> . * Application and Network Load
--   Balancers: Use <a>describe-load-balancers</a> to get the value of
--   <tt>CanonicalHostedZoneId</tt> . * An Amazon S3 bucket configured as a
--   static website * Specify the hosted zone ID for the region that you
--   created the bucket in. For more information about valid values, see
--   the <a>Amazon Simple Storage Service Website Endpoints</a> table in
--   the "AWS Regions and Endpoints" chapter of 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: * CloudFront distribution
--   * 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> . * Elastic Beanstalk
--   environment * 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 Management 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 Beanstalk 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
--   <tt>describe-environments</tt> 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> . * ELB load balancer * Specify the DNS name that is
--   associated with the load balancer. Get the DNS name by using the AWS
--   Management Console, the ELB API, or the AWS CLI. * <b>AWS Management
--   Console</b> : Go to the EC2 page, choose <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. (If you're routing traffic to a Classic Load Balancer, get the
--   value that begins with <b>dualstack</b> .) * <b>Elastic Load Balancing
--   API</b> : Use <tt>DescribeLoadBalancers</tt> to get the value of
--   <tt>DNSName</tt> . For more information, see the applicable guide: *
--   Classic Load Balancers: <a>DescribeLoadBalancers</a> * Application and
--   Network Load Balancers: <a>DescribeLoadBalancers</a> * <b>AWS CLI</b>
--   : Use <tt>describe-load-balancers</tt> to get the value of
--   <tt>DNSName</tt> . For more information, see the applicable guide: *
--   Classic Load Balancers: <a>describe-load-balancers</a> * Application
--   and Network Load Balancers: <a>describe-load-balancers</a> * Amazon S3
--   bucket that is configured as a static website * Specify the domain
--   name of the Amazon S3 website endpoint in which you created the
--   bucket, for example, <tt>s3-website-us-east-2.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>Getting Started with Amazon Route 53</a>
--   in the <i>Amazon Route 53 Developer Guide.</i> * Another Amazon Route
--   53 resource record set * 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, failover alias, geolocation alias, latency
--   alias, and weighted alias resource record sets:</i> When
--   <tt>EvaluateTargetHealth</tt> is <tt>true</tt> , an alias resource
--   record set inherits the health of the referenced AWS resource, such as
--   an ELB load balancer, or the referenced resource record set. 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> ,
--   ELB 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
--   ELB 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
--   Developer 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.</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.
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 that the change request
--   was submitted in <a>ISO 8601 format</a> and Coordinated Universal Time
--   (UTC). For example, the value <tt>2017-03-27T17:48:16.751Z</tt>
--   represents March 27, 2017 at 17:48:16.751 UTC.</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 that the change request was submitted in <a>ISO 8601
--   format</a> and Coordinated Universal Time (UTC). For example, the
--   value <tt>2017-03-27T17:48:16.751Z</tt> represents March 27, 2017 at
--   17:48:16.751 UTC.
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 lists the name servers in a delegation set, as
--   well as the <tt>CallerReference</tt> and the <tt>ID</tt> for the
--   delegation set.
--   
--   <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> - The value that you specified for
--   <tt>CallerReference</tt> when you created the reusable delegation
--   set.</li>
--   <li><a>dsNameServers</a> - A complex type that contains a list of the
--   authoritative name servers for a hosted zone or for a reusable
--   delegation set.</li>
--   </ul>
delegationSet :: NonEmpty Text -> DelegationSet

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

-- | The value that you specified for <tt>CallerReference</tt> when you
--   created the reusable delegation set.
dsCallerReference :: Lens' DelegationSet (Maybe Text)

-- | A complex type that contains a list of the authoritative name servers
--   for a hosted zone or for a reusable delegation set.
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>hcLinkedService</a> - If the health check was created by
--   another service, the service that created the health check. When a
--   health check is created by another service, you can't edit or delete
--   it using Amazon Route 53.</li>
--   <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

-- | If the health check was created by another service, the service that
--   created the health check. When a health check is created by another
--   service, you can't edit or delete it using Amazon Route 53.
hcLinkedService :: Lens' HealthCheck (Maybe LinkedService)

-- | 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> . If you don't specify a value for
--   <tt>FailureThreshold</tt> , the default value is three health
--   checks.</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. Use one of the
--   following formats for the value of <tt>IPAddress</tt> : * <b>IPv4
--   address</b> : four values between 0 and 255, separated by periods (.),
--   for example, <tt>192.0.2.44</tt> . * <b>IPv6 address</b> : eight
--   groups of four hexadecimal values, separated by colons (:), for
--   example, <tt>2001:0db8:85a3:0000:0000:abcd:0001:2345</tt> . You can
--   also shorten IPv6 addresses as described in RFC 5952, for example,
--   <tt>2001:db8:85a3::abcd:1:2345</tt> . 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
--   <tt>Region</tt> element for each region from which you want Amazon
--   Route 53 health checkers to check the specified endpoint. If you don't
--   specify any regions, Amazon Route 53 health checkers automatically
--   performs checks from all of the regions that are listed under <b>Valid
--   Values</b> . If you update a health check to remove a region that has
--   been performing health checks, Amazon Route 53 will briefly continue
--   to perform checks from that region to ensure that some health checkers
--   are always checking the endpoint (for example, if you replace three
--   regions with four different regions).</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 53
--   uses the status of the health check from the last time that 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-2-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. If you don't specify a value for
--   <tt>RequestInterval</tt> , the default value is <tt>30</tt>
--   seconds.</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 <tt>Port</tt>
--   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, see <a>How Amazon Route 53 Determines Whether an
--   Endpoint Is Healthy</a> in the <i>Amazon Route 53 Developer Guide</i>
--   .</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> . If you don't specify a
--   value for <tt>FailureThreshold</tt> , the default value is three
--   health checks.
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. Use one of the following formats for the value of
--   <tt>IPAddress</tt> : * <b>IPv4 address</b> : four values between 0 and
--   255, separated by periods (.), for example, <tt>192.0.2.44</tt> . *
--   <b>IPv6 address</b> : eight groups of four hexadecimal values,
--   separated by colons (:), for example,
--   <tt>2001:0db8:85a3:0000:0000:abcd:0001:2345</tt> . You can also
--   shorten IPv6 addresses as described in RFC 5952, for example,
--   <tt>2001:db8:85a3::abcd:1:2345</tt> . 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 <tt>Region</tt> element for each
--   region from which you want Amazon Route 53 health checkers to check
--   the specified endpoint. If you don't specify any regions, Amazon Route
--   53 health checkers automatically performs checks from all of the
--   regions that are listed under <b>Valid Values</b> . If you update a
--   health check to remove a region that has been performing health
--   checks, Amazon Route 53 will briefly continue to perform checks from
--   that region to ensure that some health checkers are always checking
--   the endpoint (for example, if you replace three regions with four
--   different regions).
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 53 uses the status of the health check from the last
--   time that 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-2-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. If you don't
--   specify a value for <tt>RequestInterval</tt> , the default value is
--   <tt>30</tt> seconds.
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 <tt>Port</tt> 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, see <a>How Amazon Route 53 Determines Whether an
--   Endpoint Is Healthy</a> in the <i>Amazon Route 53 Developer Guide</i>
--   .
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 <tt>StatusReport</tt> .</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 <tt>StatusReport</tt> .
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>hzLinkedService</a> - If the hosted zone was created by another
--   service, the service that created the hosted zone. When a hosted zone
--   is created by another service, you can't edit or delete it using
--   Amazon Route 53.</li>
--   <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

-- | If the hosted zone was created by another service, the service that
--   created the hosted zone. When a hosted zone is created by another
--   service, you can't edit or delete it using Amazon Route 53.
hzLinkedService :: Lens' HostedZone (Maybe LinkedService)

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

-- | A complex type that contains the type of limit that you specified in
--   the request and the current value for that limit.
--   
--   <i>See:</i> <a>hostedZoneLimit</a> smart constructor.
data HostedZoneLimit

-- | Creates a value of <a>HostedZoneLimit</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>hzlType</a> - The limit that you requested. Valid values
--   include the following: * <b>MAX_RRSETS_BY_ZONE</b> : The maximum
--   number of records that you can create in the specified hosted zone. *
--   <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b> : The maximum number of Amazon VPCs
--   that you can associate with the specified private hosted zone.</li>
--   <li><a>hzlValue</a> - The current value for the limit that is
--   specified by <tt>Type</tt> .</li>
--   </ul>
hostedZoneLimit :: HostedZoneLimitType -> Natural -> HostedZoneLimit

-- | The limit that you requested. Valid values include the following: *
--   <b>MAX_RRSETS_BY_ZONE</b> : The maximum number of records that you can
--   create in the specified hosted zone. *
--   <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b> : The maximum number of Amazon VPCs
--   that you can associate with the specified private hosted zone.
hzlType :: Lens' HostedZoneLimit HostedZoneLimitType

-- | The current value for the limit that is specified by <tt>Type</tt> .
hzlValue :: Lens' HostedZoneLimit Natural

-- | If a health check or hosted zone was created by another service,
--   <tt>LinkedService</tt> is a complex type that describes the service
--   that created the resource. When a resource is created by another
--   service, you can't edit or delete it using Amazon Route 53.
--   
--   <i>See:</i> <a>linkedService</a> smart constructor.
data LinkedService

-- | Creates a value of <a>LinkedService</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>lsServicePrincipal</a> - If the health check or hosted zone was
--   created by another service, the service that created the resource.
--   When a resource is created by another service, you can't edit or
--   delete it using Amazon Route 53.</li>
--   <li><a>lsDescription</a> - If the health check or hosted zone was
--   created by another service, an optional description that can be
--   provided by the other service. When a resource is created by another
--   service, you can't edit or delete it using Amazon Route 53.</li>
--   </ul>
linkedService :: LinkedService

-- | If the health check or hosted zone was created by another service, the
--   service that created the resource. When a resource is created by
--   another service, you can't edit or delete it using Amazon Route 53.
lsServicePrincipal :: Lens' LinkedService (Maybe Text)

-- | If the health check or hosted zone was created by another service, an
--   optional description that can be provided by the other service. When a
--   resource is created by another service, you can't edit or delete it
--   using Amazon Route 53.
lsDescription :: Lens' LinkedService (Maybe Text)

-- | A complex type that contains information about a configuration for DNS
--   query logging.
--   
--   <i>See:</i> <a>queryLoggingConfig</a> smart constructor.
data QueryLoggingConfig

-- | Creates a value of <a>QueryLoggingConfig</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>qlcId</a> - The ID for a configuration for DNS query
--   logging.</li>
--   <li><a>qlcHostedZoneId</a> - The ID of the hosted zone that CloudWatch
--   Logs is logging queries for.</li>
--   <li><a>qlcCloudWatchLogsLogGroupARN</a> - The Amazon Resource Name
--   (ARN) of the CloudWatch Logs log group that Amazon Route 53 is
--   publishing logs to.</li>
--   </ul>
queryLoggingConfig :: Text -> ResourceId -> Text -> QueryLoggingConfig

-- | The ID for a configuration for DNS query logging.
qlcId :: Lens' QueryLoggingConfig Text

-- | The ID of the hosted zone that CloudWatch Logs is logging queries for.
qlcHostedZoneId :: Lens' QueryLoggingConfig ResourceId

-- | The Amazon Resource Name (ARN) of the CloudWatch Logs log group that
--   Amazon Route 53 is publishing logs to.
qlcCloudWatchLogsLogGroupARN :: Lens' QueryLoggingConfig 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 or updating 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 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're 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></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 more information, see <a>How Amazon Route 53
--   Determines Whether an Endpoint Is Healthy</a> . 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 group of weighted, latency, geolocation, or
--   failover resource record sets, 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 a group of alias, weighted alias, latency alias,
--   geolocation alias, or failover alias resource record sets, 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-2-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 you created the resource that this
--   resource record set refers to. 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 aren't 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 that you create
--   latency resource record sets for. * 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>rrsMultiValueAnswer</a> - <i>Multivalue answer resource record
--   sets only</i> : To route traffic approximately randomly to multiple
--   resources, such as web servers, create one multivalue answer record
--   for each resource and specify <tt>true</tt> for
--   <tt>MultiValueAnswer</tt> . Note the following: * If you associate a
--   health check with a multivalue answer resource record set, Amazon
--   Route 53 responds to DNS queries with the corresponding IP address
--   only when the health check is healthy. * If you don't associate a
--   health check with a multivalue answer record, Amazon Route 53 always
--   considers the record to be healthy. * Amazon Route 53 responds to DNS
--   queries with up to eight healthy records; if you have eight or fewer
--   healthy records, Amazon Route 53 responds to all DNS queries with all
--   the healthy records. * If you have more than eight healthy records,
--   Amazon Route 53 responds to different DNS resolvers with different
--   combinations of healthy records. * When all records are unhealthy,
--   Amazon Route 53 responds to DNS queries with up to eight unhealthy
--   records. * If a resource becomes unavailable after a resolver caches a
--   response, client software typically tries another of the IP addresses
--   in the response. You can't create multivalue answer alias
--   records.</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>CAA</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>CAA</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. Valid
--   values for multivalue answer resource record sets: <tt>A</tt> |
--   <tt>AAAA</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 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 that you're creating the
--   alias for. All values are supported except <tt>NS</tt> and
--   <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 or updating 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 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're 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>
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 more
--   information, see <a>How Amazon Route 53 Determines Whether an Endpoint
--   Is Healthy</a> . 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 group of
--   weighted, latency, geolocation, or failover resource record sets, 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
--   a group of alias, weighted alias, latency alias, geolocation alias, or
--   failover alias resource record sets, 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-2-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 you created the resource that this resource record set refers
--   to. 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 aren't 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 that you create latency
--   resource record sets for. * 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)

-- | <i>Multivalue answer resource record sets only</i> : To route traffic
--   approximately randomly to multiple resources, such as web servers,
--   create one multivalue answer record for each resource and specify
--   <tt>true</tt> for <tt>MultiValueAnswer</tt> . Note the following: * If
--   you associate a health check with a multivalue answer resource record
--   set, Amazon Route 53 responds to DNS queries with the corresponding IP
--   address only when the health check is healthy. * If you don't
--   associate a health check with a multivalue answer record, Amazon Route
--   53 always considers the record to be healthy. * Amazon Route 53
--   responds to DNS queries with up to eight healthy records; if you have
--   eight or fewer healthy records, Amazon Route 53 responds to all DNS
--   queries with all the healthy records. * If you have more than eight
--   healthy records, Amazon Route 53 responds to different DNS resolvers
--   with different combinations of healthy records. * When all records are
--   unhealthy, Amazon Route 53 responds to DNS queries with up to eight
--   unhealthy records. * If a resource becomes unavailable after a
--   resolver caches a response, client software typically tries another of
--   the IP addresses in the response. You can't create multivalue answer
--   alias records.
rrsMultiValueAnswer :: Lens' ResourceRecordSet (Maybe Bool)

-- | 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>CAA</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>CAA</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. Valid values for multivalue answer resource
--   record sets: <tt>A</tt> | <tt>AAAA</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 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
--   that you're creating the alias for. All values are supported except
--   <tt>NS</tt> and <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 type of limit that you specified in
--   the request and the current value for that limit.
--   
--   <i>See:</i> <a>reusableDelegationSetLimit</a> smart constructor.
data ReusableDelegationSetLimit

-- | Creates a value of <a>ReusableDelegationSetLimit</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>rdslType</a> - The limit that you requested:
--   <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> , the maximum number of
--   hosted zones that you can associate with the specified reusable
--   delegation set.</li>
--   <li><a>rdslValue</a> - The current value for the
--   <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> limit.</li>
--   </ul>
reusableDelegationSetLimit :: ReusableDelegationSetLimitType -> Natural -> ReusableDelegationSetLimit

-- | The limit that you requested:
--   <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> , the maximum number of
--   hosted zones that you can associate with the specified reusable
--   delegation set.
rdslType :: Lens' ReusableDelegationSetLimit ReusableDelegationSetLimitType

-- | The current value for the
--   <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> limit.
rdslValue :: Lens' ReusableDelegationSetLimit Natural

-- | 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 date and time that the health checker
--   performed the health check in <a>ISO 8601 format</a> and Coordinated
--   Universal Time (UTC). For example, the value
--   <tt>2017-03-27T17:48:16.751Z</tt> represents March 27, 2017 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 date and time that the health checker performed the health check
--   in <a>ISO 8601 format</a> and Coordinated Universal Time (UTC). For
--   example, the value <tt>2017-03-27T17:48:16.751Z</tt> represents March
--   27, 2017 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 that you
--   want to change the <tt>Value</tt> for. * <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 that you want to
--   change the <tt>Value</tt> for. * <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

-- | (Private hosted zones only) A complex type that contains information
--   about an Amazon VPC.
--   
--   <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> - (Private hosted zones only) The region in
--   which you created an Amazon VPC.</li>
--   <li><a>vpcVPCId</a> - Undocumented member.</li>
--   </ul>
vpc :: VPC

-- | (Private hosted zones only) The region in which you created an Amazon
--   VPC.
vpcVPCRegion :: Lens' VPC (Maybe VPCRegion)

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


-- | 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 (N. Virginia) Region
--   (<tt>us-east-1</tt> ).</li>
--   <li><a>tdaEDNS0ClientSubnetIP</a> - If the resolver that you specified
--   for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a
--   client in the applicable location, for example, <tt>192.0.2.44</tt> or
--   <tt>2001:db8:85a3::8a2e:370:7334</tt> .</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 for IPv4
--   addresses and 64 bits for IPv6 addresses.</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.
--   
--   <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 (N. Virginia) Region (<tt>us-east-1</tt> ).
tdaResolverIP :: Lens' TestDNSAnswer (Maybe Text)

-- | If the resolver that you specified for resolverip supports EDNS0,
--   specify the IPv4 or IPv6 address of a client in the applicable
--   location, for example, <tt>192.0.2.44</tt> or
--   <tt>2001:db8:85a3::8a2e:370:7334</tt> .
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 for IPv4 addresses and 64 bits for IPv6 addresses.
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 Control.DeepSeq.NFData Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
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


-- | 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.
--   
--   The response includes a <tt>VPCs</tt> element with a <tt>VPC</tt>
--   child element for each VPC that can be associated with the hosted
--   zone.
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 <tt>NextToken</tt>
--   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. If you don't specify a value for <tt>MaxResults</tt> , Amazon
--   Route 53 returns up to 50 VPCs per page.</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 <tt>NextToken</tt> 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. If you don't specify a value
--   for <tt>MaxResults</tt> , Amazon Route 53 returns up to 50 VPCs per
--   page.
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.</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.
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 Control.DeepSeq.NFData Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
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


-- | Gets information about all of the versions for a specified traffic
--   policy.
--   
--   Traffic policy versions are listed in numerical order by
--   <tt>VersionNumber</tt> .
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 <tt>IsTruncated</tt> in the
--   response is <tt>true</tt> , and the value of the
--   <tt>TrafficPolicyVersionMarker</tt> element is the ID of the first
--   version that Amazon Route 53 will return if you submit another
--   request.</li>
--   <li><a>ltpvTrafficPolicyVersionMarker</a> - For your first request to
--   <tt>ListTrafficPolicyVersions</tt> , don't 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 more traffic policy versions,
--   submit another <tt>ListTrafficPolicyVersions</tt> request. For the
--   value of <tt>TrafficPolicyVersionMarker</tt> , specify the value of
--   <tt>TrafficPolicyVersionMarker</tt> in the previous response.</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 <tt>IsTruncated</tt> in the response is <tt>true</tt> , and
--   the value of the <tt>TrafficPolicyVersionMarker</tt> element is the ID
--   of the first version that Amazon Route 53 will return if you submit
--   another request.
ltpvMaxItems :: Lens' ListTrafficPolicyVersions (Maybe Text)

-- | For your first request to <tt>ListTrafficPolicyVersions</tt> , don't
--   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 more traffic policy versions,
--   submit another <tt>ListTrafficPolicyVersions</tt> request. For the
--   value of <tt>TrafficPolicyVersionMarker</tt> , specify the value of
--   <tt>TrafficPolicyVersionMarker</tt> in the previous response.
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 traffic policies by submitting another
--   <tt>ListTrafficPolicyVersions</tt> request and specifying the value of
--   <tt>NextMarker</tt> 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 that Amazon Route 53 will return
--   if you submit another request. 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 <tt>ListTrafficPolicyVersions</tt>
--   request 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
--   traffic policies by submitting another
--   <tt>ListTrafficPolicyVersions</tt> request and specifying the value of
--   <tt>NextMarker</tt> 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 that Amazon Route 53 will return if you submit another request.
--   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 <tt>ListTrafficPolicyVersions</tt> request 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 Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyVersions.ListTrafficPolicyVersionsResponse
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


-- | Gets information about the traffic policy instances that you created
--   by using a specify traffic policy version.
--   
--   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.
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> - If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>true</tt> , you
--   have more traffic policy instances. To get more traffic policy
--   instances, submit another <tt>ListTrafficPolicyInstancesByPolicy</tt>
--   request. For the value of <tt>trafficpolicyinstancetype</tt> , specify
--   the value of <tt>TrafficPolicyInstanceTypeMarker</tt> from the
--   previous response, which is the name of the first traffic policy
--   instance that Amazon Route 53 will return if you submit another
--   request. 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>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 that Amazon Route 53 will return if you submit another
--   request.</li>
--   <li><a>ltpibpHostedZoneIdMarker</a> - If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>true</tt> , you
--   have more traffic policy instances. To get more traffic policy
--   instances, submit another <tt>ListTrafficPolicyInstancesByPolicy</tt>
--   request. For the value of <tt>hostedzoneid</tt> , specify the value of
--   <tt>HostedZoneIdMarker</tt> from the previous response, which is the
--   hosted zone ID of the first traffic policy instance that Amazon Route
--   53 will return if you submit another request. 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>ltpibpTrafficPolicyInstanceNameMarker</a> - If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>true</tt> , you
--   have more traffic policy instances. To get more traffic policy
--   instances, submit another <tt>ListTrafficPolicyInstancesByPolicy</tt>
--   request. For the value of <tt>trafficpolicyinstancename</tt> , specify
--   the value of <tt>TrafficPolicyInstanceNameMarker</tt> from the
--   previous response, which is the name of the first traffic policy
--   instance that Amazon Route 53 will return if you submit another
--   request. 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>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

-- | If the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , you have more traffic policy instances. To get more
--   traffic policy instances, submit another
--   <tt>ListTrafficPolicyInstancesByPolicy</tt> request. For the value of
--   <tt>trafficpolicyinstancetype</tt> , specify the value of
--   <tt>TrafficPolicyInstanceTypeMarker</tt> from the previous response,
--   which is the name of the first traffic policy instance that Amazon
--   Route 53 will return if you submit another request. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get.
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 that Amazon Route 53 will return if you submit another
--   request.
ltpibpMaxItems :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text)

-- | If the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , you have more traffic policy instances. To get more
--   traffic policy instances, submit another
--   <tt>ListTrafficPolicyInstancesByPolicy</tt> request. For the value of
--   <tt>hostedzoneid</tt> , specify the value of
--   <tt>HostedZoneIdMarker</tt> from the previous response, which is the
--   hosted zone ID of the first traffic policy instance that Amazon Route
--   53 will return if you submit another request. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get.
ltpibpHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe ResourceId)

-- | If the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , you have more traffic policy instances. To get more
--   traffic policy instances, submit another
--   <tt>ListTrafficPolicyInstancesByPolicy</tt> request. For the value of
--   <tt>trafficpolicyinstancename</tt> , specify the value of
--   <tt>TrafficPolicyInstanceNameMarker</tt> from the previous response,
--   which is the name of the first traffic policy instance that Amazon
--   Route 53 will return if you submit another request. If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>false</tt> ,
--   there are no more traffic policy instances to get.
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 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 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 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 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 Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy.ListTrafficPolicyInstancesByPolicyResponse
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


-- | Gets information about the traffic policy instances that you created
--   in a specified 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.
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> - If the value of
--   <tt>IsTruncated</tt> in the previous response is true, you have more
--   traffic policy instances. To get more traffic policy instances, submit
--   another <tt>ListTrafficPolicyInstances</tt> request. For the value of
--   <tt>trafficpolicyinstancetype</tt> , specify the value of
--   <tt>TrafficPolicyInstanceTypeMarker</tt> from the previous response,
--   which is the type of the first traffic policy instance in the next
--   group of 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>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 that Amazon Route 53 will return if you submit another
--   request.</li>
--   <li><a>ltpibhzTrafficPolicyInstanceNameMarker</a> - If the value of
--   <tt>IsTruncated</tt> in the previous response is true, you have more
--   traffic policy instances. To get more traffic policy instances, submit
--   another <tt>ListTrafficPolicyInstances</tt> request. For the value of
--   <tt>trafficpolicyinstancename</tt> , specify the value of
--   <tt>TrafficPolicyInstanceNameMarker</tt> from the previous response,
--   which is the name of the first traffic policy instance in the next
--   group of 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>ltpibhzHostedZoneId</a> - The ID of the hosted zone that you
--   want to list traffic policy instances for.</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

-- | If the value of <tt>IsTruncated</tt> in the previous response is true,
--   you have more traffic policy instances. To get more traffic policy
--   instances, submit another <tt>ListTrafficPolicyInstances</tt> request.
--   For the value of <tt>trafficpolicyinstancetype</tt> , specify the
--   value of <tt>TrafficPolicyInstanceTypeMarker</tt> from the previous
--   response, which is the type of the first traffic policy instance in
--   the next group of 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.
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 that Amazon Route 53 will return if you submit another
--   request.
ltpibhzMaxItems :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe Text)

-- | If the value of <tt>IsTruncated</tt> in the previous response is true,
--   you have more traffic policy instances. To get more traffic policy
--   instances, submit another <tt>ListTrafficPolicyInstances</tt> request.
--   For the value of <tt>trafficpolicyinstancename</tt> , specify the
--   value of <tt>TrafficPolicyInstanceNameMarker</tt> from the previous
--   response, which is the name of the first traffic policy instance in
--   the next group of 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.
ltpibhzTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe Text)

-- | The ID of the hosted zone that you want to list traffic policy
--   instances for.
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 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 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 traffic policy instances by
--   submitting another <tt>ListTrafficPolicyInstancesByHostedZone</tt>
--   request and specifying the values of <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> in the corresponding request
--   parameters.</li>
--   <li><a>ltpibhzrsMaxItems</a> - The value that you specified for the
--   <tt>MaxItems</tt> parameter in the
--   <tt>ListTrafficPolicyInstancesByHostedZone</tt> request 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 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 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 traffic policy instances by submitting another
--   <tt>ListTrafficPolicyInstancesByHostedZone</tt> request and specifying
--   the values of <tt>HostedZoneIdMarker</tt> ,
--   <tt>TrafficPolicyInstanceNameMarker</tt> , and
--   <tt>TrafficPolicyInstanceTypeMarker</tt> in the corresponding request
--   parameters.
ltpibhzrsIsTruncated :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Bool

-- | The value that you specified for the <tt>MaxItems</tt> parameter in
--   the <tt>ListTrafficPolicyInstancesByHostedZone</tt> request 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 Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone.ListTrafficPolicyInstancesByHostedZoneResponse
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


-- | Gets information about the traffic policy instances that you created
--   by using the current AWS account.
--   
--   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.
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> - If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>true</tt> , you
--   have more traffic policy instances. To get more traffic policy
--   instances, submit another <tt>ListTrafficPolicyInstances</tt> request.
--   For the value of <tt>trafficpolicyinstancetype</tt> , specify the
--   value of <tt>TrafficPolicyInstanceTypeMarker</tt> from the previous
--   response, which is the type of the first traffic policy instance in
--   the next group of 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 that you want Amazon Route 53 to return in response to a
--   <tt>ListTrafficPolicyInstances</tt> 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> - If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>true</tt> , you
--   have more traffic policy instances. To get more traffic policy
--   instances, submit another <tt>ListTrafficPolicyInstances</tt> request.
--   For the value of <tt>HostedZoneId</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 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> - If the value of
--   <tt>IsTruncated</tt> in the previous response was <tt>true</tt> , you
--   have more traffic policy instances. To get more traffic policy
--   instances, submit another <tt>ListTrafficPolicyInstances</tt> request.
--   For the value of <tt>trafficpolicyinstancename</tt> , specify the
--   value of <tt>TrafficPolicyInstanceNameMarker</tt> from the previous
--   response, which is the name of the first traffic policy instance in
--   the next group of 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 request to get information about the traffic policy instances that
--   you created by using the current AWS account.
--   
--   <i>See:</i> <a>listTrafficPolicyInstances</a> smart constructor.
data ListTrafficPolicyInstances

-- | If the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , you have more traffic policy instances. To get more
--   traffic policy instances, submit another
--   <tt>ListTrafficPolicyInstances</tt> request. For the value of
--   <tt>trafficpolicyinstancetype</tt> , specify the value of
--   <tt>TrafficPolicyInstanceTypeMarker</tt> from the previous response,
--   which is the type of the first traffic policy instance in the next
--   group of 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 that you want Amazon
--   Route 53 to return in response to a
--   <tt>ListTrafficPolicyInstances</tt> 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)

-- | If the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , you have more traffic policy instances. To get more
--   traffic policy instances, submit another
--   <tt>ListTrafficPolicyInstances</tt> request. For the value of
--   <tt>HostedZoneId</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 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)

-- | If the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , you have more traffic policy instances. To get more
--   traffic policy instances, submit another
--   <tt>ListTrafficPolicyInstances</tt> request. For the value of
--   <tt>trafficpolicyinstancename</tt> , specify the value of
--   <tt>TrafficPolicyInstanceNameMarker</tt> from the previous response,
--   which is the name of the first traffic policy instance in the next
--   group of 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 that Amazon Route 53 will return if you submit another
--   <tt>ListTrafficPolicyInstances</tt> request.</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 that Amazon Route 53 will
--   return if you submit another <tt>ListTrafficPolicyInstances</tt>
--   request.</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 that Amazon Route 53 will return if you submit
--   another <tt>ListTrafficPolicyInstances</tt> request.</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 more 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> 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 that Amazon Route 53 will return if you submit another
--   <tt>ListTrafficPolicyInstances</tt> request.
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 that
--   Amazon Route 53 will return if you submit another
--   <tt>ListTrafficPolicyInstances</tt> request.
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 that Amazon Route 53 will return if you submit
--   another <tt>ListTrafficPolicyInstances</tt> request.
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 more 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> 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 Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicyInstances.ListTrafficPolicyInstancesResponse
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


-- | Gets information about the latest version for every traffic policy
--   that is associated with the current AWS account. Policies are listed
--   in the order in which they were created.
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> , don't 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 policies, submit another
--   request to <tt>ListTrafficPolicies</tt> . For the value of
--   <tt>TrafficPolicyIdMarker</tt> , specify the value of
--   <tt>TrafficPolicyIdMarker</tt> that was returned in the previous
--   response.</li>
--   <li><a>ltpMaxItems</a> - (Optional) The maximum number of traffic
--   policies that you want Amazon Route 53 to return in response to this
--   request. If you have more than <tt>MaxItems</tt> traffic policies, the
--   value of <tt>IsTruncated</tt> in the response is <tt>true</tt> , and
--   the value of <tt>TrafficPolicyIdMarker</tt> is the ID of the first
--   traffic policy that Amazon Route 53 will return if you submit another
--   request.</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> ,
--   don't 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 policies, submit another
--   request to <tt>ListTrafficPolicies</tt> . For the value of
--   <tt>TrafficPolicyIdMarker</tt> , specify the value of
--   <tt>TrafficPolicyIdMarker</tt> that was returned in the previous
--   response.
ltpTrafficPolicyIdMarker :: Lens' ListTrafficPolicies (Maybe Text)

-- | (Optional) The maximum number of traffic policies that you want Amazon
--   Route 53 to return in response to this request. If you have more than
--   <tt>MaxItems</tt> traffic policies, the value of <tt>IsTruncated</tt>
--   in the response is <tt>true</tt> , and the value of
--   <tt>TrafficPolicyIdMarker</tt> is the ID of the first traffic policy
--   that Amazon Route 53 will return if you submit another request.
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 traffic policies by submitting another
--   <tt>ListTrafficPolicies</tt> request and specifying the value of
--   <tt>TrafficPolicyIdMarker</tt> in the <tt>TrafficPolicyIdMarker</tt>
--   request parameter.</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 <tt>ListTrafficPolicies</tt>
--   request 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
--   traffic policies by submitting another <tt>ListTrafficPolicies</tt>
--   request and specifying the value of <tt>TrafficPolicyIdMarker</tt> in
--   the <tt>TrafficPolicyIdMarker</tt> request parameter.
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 <tt>ListTrafficPolicies</tt> request 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 Control.DeepSeq.NFData Network.AWS.Route53.ListTrafficPolicies.ListTrafficPoliciesResponse
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


-- | 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 Control.DeepSeq.NFData Network.AWS.Route53.ListTagsForResources.ListTagsForResourcesResponse
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


-- | 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 Control.DeepSeq.NFData Network.AWS.Route53.ListTagsForResource.ListTagsForResourceResponse
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


-- | Retrieves a list of the reusable delegation sets that are associated
--   with the current AWS account.
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 the value of <tt>IsTruncated</tt> in the
--   previous response was <tt>true</tt> , you have more reusable
--   delegation sets. To get another group, submit another
--   <tt>ListReusableDelegationSets</tt> request. For the value of
--   <tt>marker</tt> , specify the value of <tt>NextMarker</tt> from the
--   previous response, which is the ID of the first reusable delegation
--   set that Amazon Route 53 will return if you submit another request. If
--   the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>false</tt> , there are no more reusable delegation sets to
--   get.</li>
--   <li><a>lrdsMaxItems</a> - The number of reusable delegation sets that
--   you want Amazon Route 53 to return in the response to this request. If
--   you specify a value greater than 100, Amazon Route 53 returns only the
--   first 100 reusable delegation sets.</li>
--   </ul>
listReusableDelegationSets :: ListReusableDelegationSets

-- | A request to get a list of the reusable delegation sets that are
--   associated with the current AWS account.
--   
--   <i>See:</i> <a>listReusableDelegationSets</a> smart constructor.
data ListReusableDelegationSets

-- | If the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , you have more reusable delegation sets. To get another
--   group, submit another <tt>ListReusableDelegationSets</tt> request. For
--   the value of <tt>marker</tt> , specify the value of
--   <tt>NextMarker</tt> from the previous response, which is the ID of the
--   first reusable delegation set that Amazon Route 53 will return if you
--   submit another request. If the value of <tt>IsTruncated</tt> in the
--   previous response was <tt>false</tt> , there are no more reusable
--   delegation sets to get.
lrdsMarker :: Lens' ListReusableDelegationSets (Maybe Text)

-- | The number of reusable delegation sets that you want Amazon Route 53
--   to return in the response to this request. If you specify a value
--   greater than 100, Amazon Route 53 returns only the first 100 reusable
--   delegation sets.
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 next reusable
--   delegation set that Amazon Route 53 will return if you submit another
--   <tt>ListReusableDelegationSets</tt> request 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 <tt>marker</tt> 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.</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 next reusable delegation set that
--   Amazon Route 53 will return if you submit another
--   <tt>ListReusableDelegationSets</tt> request 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 <tt>marker</tt> 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.
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 Control.DeepSeq.NFData Network.AWS.Route53.ListReusableDelegationSets.ListReusableDelegationSetsResponse
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


-- | 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 resource record sets that you want 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>CAA</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>CAA</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 * <b>Another resource record set in
--   this hosted zone:</b> The type of the resource record set that the
--   alias references. 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 list.</li>
--   </ul>
listResourceRecordSets :: ResourceId -> ListResourceRecordSets

-- | A request for the resource record sets that are associated with a
--   specified hosted zone.
--   
--   <i>See:</i> <a>listResourceRecordSets</a> smart constructor.
data ListResourceRecordSets

-- | The first name in the lexicographic ordering of resource record sets
--   that you want 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>CAA</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>CAA</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 * <b>Another resource record set in
--   this hosted zone:</b> The type of the resource record set that the
--   alias references. 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 list.
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.Types.AWSRequest Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSets
instance Control.DeepSeq.NFData Network.AWS.Route53.ListResourceRecordSets.ListResourceRecordSetsResponse
instance Network.AWS.Pager.AWSPager 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


-- | Lists the configurations for DNS query logging that are associated
--   with the current AWS account or the configuration that is associated
--   with a specified hosted zone.
--   
--   For more information about DNS query logs, see
--   <tt>CreateQueryLoggingConfig</tt> . Additional information, including
--   the format of DNS query logs, appears in <a>Logging DNS Queries</a> in
--   the <i>Amazon Route 53 Developer Guide</i> .
module Network.AWS.Route53.ListQueryLoggingConfigs

-- | Creates a value of <a>ListQueryLoggingConfigs</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>lqlcHostedZoneId</a> - (Optional) If you want to list the query
--   logging configuration that is associated with a hosted zone, specify
--   the ID in <tt>HostedZoneId</tt> . If you don't specify a hosted zone
--   ID, <tt>ListQueryLoggingConfigs</tt> returns all of the configurations
--   that are associated with the current AWS account.</li>
--   <li><a>lqlcNextToken</a> - (Optional) If the current AWS account has
--   more than <tt>MaxResults</tt> query logging configurations, use
--   <tt>NextToken</tt> to get the second and subsequent pages of results.
--   For the first <tt>ListQueryLoggingConfigs</tt> request, omit this
--   value. For the second and subsequent requests, get the value of
--   <tt>NextToken</tt> from the previous response and specify that value
--   for <tt>NextToken</tt> in the request.</li>
--   <li><a>lqlcMaxResults</a> - (Optional) The maximum number of query
--   logging configurations that you want Amazon Route 53 to return in
--   response to the current request. If the current AWS account has more
--   than <tt>MaxResults</tt> configurations, use the value of
--   'ListQueryLoggingConfigsResponse$NextToken' in the response to get the
--   next page of results. If you don't specify a value for
--   <tt>MaxResults</tt> , Amazon Route 53 returns up to 100
--   configurations.</li>
--   </ul>
listQueryLoggingConfigs :: ListQueryLoggingConfigs

-- | <i>See:</i> <a>listQueryLoggingConfigs</a> smart constructor.
data ListQueryLoggingConfigs

-- | (Optional) If you want to list the query logging configuration that is
--   associated with a hosted zone, specify the ID in <tt>HostedZoneId</tt>
--   . If you don't specify a hosted zone ID,
--   <tt>ListQueryLoggingConfigs</tt> returns all of the configurations
--   that are associated with the current AWS account.
lqlcHostedZoneId :: Lens' ListQueryLoggingConfigs (Maybe ResourceId)

-- | (Optional) If the current AWS account has more than
--   <tt>MaxResults</tt> query logging configurations, use
--   <tt>NextToken</tt> to get the second and subsequent pages of results.
--   For the first <tt>ListQueryLoggingConfigs</tt> request, omit this
--   value. For the second and subsequent requests, get the value of
--   <tt>NextToken</tt> from the previous response and specify that value
--   for <tt>NextToken</tt> in the request.
lqlcNextToken :: Lens' ListQueryLoggingConfigs (Maybe Text)

-- | (Optional) The maximum number of query logging configurations that you
--   want Amazon Route 53 to return in response to the current request. If
--   the current AWS account has more than <tt>MaxResults</tt>
--   configurations, use the value of
--   'ListQueryLoggingConfigsResponse$NextToken' in the response to get the
--   next page of results. If you don't specify a value for
--   <tt>MaxResults</tt> , Amazon Route 53 returns up to 100
--   configurations.
lqlcMaxResults :: Lens' ListQueryLoggingConfigs (Maybe Text)

-- | Creates a value of <a>ListQueryLoggingConfigsResponse</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>lqlcrsNextToken</a> - If a response includes the last of the
--   query logging configurations that are associated with the current AWS
--   account, <tt>NextToken</tt> doesn't appear in the response. If a
--   response doesn't include the last of the configurations, you can get
--   more configurations by submitting another
--   <a>ListQueryLoggingConfigs</a> request. Get the value of
--   <tt>NextToken</tt> that Amazon Route 53 returned in the previous
--   response and include it in <tt>NextToken</tt> in the next
--   request.</li>
--   <li><a>lqlcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lqlcrsQueryLoggingConfigs</a> - An array that contains one
--   <a>QueryLoggingConfig</a> element for each configuration for DNS query
--   logging that is associated with the current AWS account.</li>
--   </ul>
listQueryLoggingConfigsResponse :: Int -> ListQueryLoggingConfigsResponse

-- | <i>See:</i> <a>listQueryLoggingConfigsResponse</a> smart constructor.
data ListQueryLoggingConfigsResponse

-- | If a response includes the last of the query logging configurations
--   that are associated with the current AWS account, <tt>NextToken</tt>
--   doesn't appear in the response. If a response doesn't include the last
--   of the configurations, you can get more configurations by submitting
--   another <a>ListQueryLoggingConfigs</a> request. Get the value of
--   <tt>NextToken</tt> that Amazon Route 53 returned in the previous
--   response and include it in <tt>NextToken</tt> in the next request.
lqlcrsNextToken :: Lens' ListQueryLoggingConfigsResponse (Maybe Text)

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

-- | An array that contains one <a>QueryLoggingConfig</a> element for each
--   configuration for DNS query logging that is associated with the
--   current AWS account.
lqlcrsQueryLoggingConfigs :: Lens' ListQueryLoggingConfigsResponse [QueryLoggingConfig]
instance GHC.Generics.Generic Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigsResponse
instance Data.Data.Data Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigsResponse
instance GHC.Show.Show Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigsResponse
instance GHC.Read.Read Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigsResponse
instance GHC.Classes.Eq Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigsResponse
instance GHC.Generics.Generic Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance Data.Data.Data Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance GHC.Show.Show Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance GHC.Read.Read Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance GHC.Classes.Eq Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance Control.DeepSeq.NFData Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigsResponse
instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance Control.DeepSeq.NFData Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListQueryLoggingConfigs.ListQueryLoggingConfigs


-- | Retrieves a list of your hosted zones in lexicographic order. 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:
--   
--   <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 ex344mple.com for the domain name.
--   <tt>ListHostedZonesByName</tt> alphabetizes it as:
--   
--   <pre>
--   com.ex344mple.
--   </pre>
--   
--   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 <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, 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

-- | Retrieves a list of the public and private hosted zones that are
--   associated with the current AWS account in ASCII order by domain name.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.ListHostedZonesByName.ListHostedZonesByNameResponse
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


-- | Retrieves a list of the public and private hosted zones that are
--   associated with the current AWS account. The response includes a
--   <tt>HostedZones</tt> child element for each hosted zone.
--   
--   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.
--   
--   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> - If the value of <tt>IsTruncated</tt> in the
--   previous response was <tt>true</tt> , you have more hosted zones. To
--   get more hosted zones, submit another <tt>ListHostedZones</tt>
--   request. For the value of <tt>marker</tt> , specify the value of
--   <tt>NextMarker</tt> from the previous response, which is the ID of the
--   first hosted zone that Amazon Route 53 will return if you submit
--   another request. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>false</tt> , there are no more hosted zones to
--   get.</li>
--   <li><a>lhzMaxItems</a> - (Optional) The maximum number of hosted zones
--   that you want Amazon Route 53 to return. If you have more than
--   <tt>maxitems</tt> hosted zones, the value of <tt>IsTruncated</tt> in
--   the response is <tt>true</tt> , and the value of <tt>NextMarker</tt>
--   is the hosted zone ID of the first hosted zone that Amazon Route 53
--   will return if you submit another request.</li>
--   </ul>
listHostedZones :: ListHostedZones

-- | A request to retrieve a list of the public and private hosted zones
--   that are associated with the current AWS account.
--   
--   <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)

-- | If the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , you have more hosted zones. To get more hosted zones,
--   submit another <tt>ListHostedZones</tt> request. For the value of
--   <tt>marker</tt> , specify the value of <tt>NextMarker</tt> from the
--   previous response, which is the ID of the first hosted zone that
--   Amazon Route 53 will return if you submit another request. If the
--   value of <tt>IsTruncated</tt> in the previous response was
--   <tt>false</tt> , there are no more hosted zones to get.
lhzMarker :: Lens' ListHostedZones (Maybe Text)

-- | (Optional) The maximum number of hosted zones that you want Amazon
--   Route 53 to return. If you have more than <tt>maxitems</tt> hosted
--   zones, the value of <tt>IsTruncated</tt> in the response is
--   <tt>true</tt> , and the value of <tt>NextMarker</tt> is the hosted
--   zone ID of the first hosted zone that Amazon Route 53 will return if
--   you submit another request.
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 <tt>marker</tt> 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 hosted zones. Submit another
--   <tt>ListHostedZones</tt> request, and specify the value of
--   <tt>NextMarker</tt> from the response 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
--   more hosted zones by submitting another <tt>ListHostedZones</tt>
--   request and specifying the value of <tt>NextMarker</tt> in the
--   <tt>marker</tt> 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
--   <tt>marker</tt> 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 hosted zones. Submit another <tt>ListHostedZones</tt> request, and
--   specify the value of <tt>NextMarker</tt> from the response 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 more hosted zones by
--   submitting another <tt>ListHostedZones</tt> request and specifying the
--   value of <tt>NextMarker</tt> in the <tt>marker</tt> 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.Types.AWSRequest Network.AWS.Route53.ListHostedZones.ListHostedZones
instance Control.DeepSeq.NFData Network.AWS.Route53.ListHostedZones.ListHostedZonesResponse
instance Network.AWS.Pager.AWSPager 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


-- | Retrieve a list of the health checks that are associated with the
--   current AWS account.
--   
--   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 value of <tt>IsTruncated</tt> in the
--   previous response was <tt>true</tt> , you have more health checks. To
--   get another group, submit another <tt>ListHealthChecks</tt> request.
--   For the value of <tt>marker</tt> , specify the value of
--   <tt>NextMarker</tt> from the previous response, which is the ID of the
--   first health check that Amazon Route 53 will return if you submit
--   another request. If the value of <tt>IsTruncated</tt> in the previous
--   response was <tt>false</tt> , there are no more health checks to
--   get.</li>
--   <li><a>lhcMaxItems</a> - The maximum number of health checks that you
--   want <tt>ListHealthChecks</tt> to return in response to the current
--   request. Amazon Route 53 returns a maximum of 100 items. If you set
--   <tt>MaxItems</tt> to a value greater than 100, Amazon Route 53 returns
--   only the first 100 health checks.</li>
--   </ul>
listHealthChecks :: ListHealthChecks

-- | A request to retrieve a list of the health checks that are associated
--   with the current AWS account.
--   
--   <i>See:</i> <a>listHealthChecks</a> smart constructor.
data ListHealthChecks

-- | If the value of <tt>IsTruncated</tt> in the previous response was
--   <tt>true</tt> , you have more health checks. To get another group,
--   submit another <tt>ListHealthChecks</tt> request. For the value of
--   <tt>marker</tt> , specify the value of <tt>NextMarker</tt> from the
--   previous response, which is the ID of the first health check that
--   Amazon Route 53 will return if you submit another request. If the
--   value of <tt>IsTruncated</tt> in the previous response was
--   <tt>false</tt> , there are no more health checks to get.
lhcMarker :: Lens' ListHealthChecks (Maybe Text)

-- | The maximum number of health checks that you want
--   <tt>ListHealthChecks</tt> to return in response to the current
--   request. Amazon Route 53 returns a maximum of 100 items. If you set
--   <tt>MaxItems</tt> to a value greater than 100, Amazon Route 53 returns
--   only the first 100 health checks.
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
--   that Amazon Route 53 returns if you submit another
--   <tt>ListHealthChecks</tt> request and specify the value of
--   <tt>NextMarker</tt> in the <tt>marker</tt> 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 <tt>marker</tt> 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 health checks by submitting another
--   <tt>ListHealthChecks</tt> request and specifying the value of
--   <tt>NextMarker</tt> in the <tt>marker</tt> parameter.</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 that Amazon
--   Route 53 returns if you submit another <tt>ListHealthChecks</tt>
--   request and specify the value of <tt>NextMarker</tt> in the
--   <tt>marker</tt> 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
--   <tt>marker</tt> 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
--   health checks by submitting another <tt>ListHealthChecks</tt> request
--   and specifying the value of <tt>NextMarker</tt> in the <tt>marker</tt>
--   parameter.
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.Types.AWSRequest Network.AWS.Route53.ListHealthChecks.ListHealthChecks
instance Control.DeepSeq.NFData Network.AWS.Route53.ListHealthChecks.ListHealthChecksResponse
instance Network.AWS.Pager.AWSPager 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


-- | Retrieves a list of supported geo locations.
--   
--   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

-- | A request to get a list of geographic locations that Amazon Route 53
--   supports for geolocation resource record sets.
--   
--   <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>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>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>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>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>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>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 Control.DeepSeq.NFData Network.AWS.Route53.ListGeoLocations.ListGeoLocationsResponse
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


-- | Gets the number of traffic policy instances that are associated with
--   the current AWS account.
module Network.AWS.Route53.GetTrafficPolicyInstanceCount

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

-- | Request to get the number of traffic policy instances that are
--   associated with the current AWS account.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.GetTrafficPolicyInstanceCount.GetTrafficPolicyInstanceCountResponse
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


-- | Gets information about a specified traffic policy instance.
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.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.GetTrafficPolicyInstance.GetTrafficPolicyInstanceResponse
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


-- | Gets information about a specific traffic policy version.
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.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.GetTrafficPolicy.GetTrafficPolicyResponse
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


-- | Gets the maximum number of hosted zones that you can associate with
--   the specified reusable delegation set.
--   
--   For the default limit, see <a>Limits</a> in the <i>Amazon Route 53
--   Developer Guide</i> . To request a higher limit, <a>open a case</a> .
module Network.AWS.Route53.GetReusableDelegationSetLimit

-- | Creates a value of <a>GetReusableDelegationSetLimit</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>grdslType</a> - Specify
--   <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> to get the maximum
--   number of hosted zones that you can associate with the specified
--   reusable delegation set.</li>
--   <li><a>grdslDelegationSetId</a> - The ID of the delegation set that
--   you want to get the limit for.</li>
--   </ul>
getReusableDelegationSetLimit :: ReusableDelegationSetLimitType -> ResourceId -> GetReusableDelegationSetLimit

-- | A complex type that contains information about the request to create a
--   hosted zone.
--   
--   <i>See:</i> <a>getReusableDelegationSetLimit</a> smart constructor.
data GetReusableDelegationSetLimit

-- | Specify <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> to get the
--   maximum number of hosted zones that you can associate with the
--   specified reusable delegation set.
grdslType :: Lens' GetReusableDelegationSetLimit ReusableDelegationSetLimitType

-- | The ID of the delegation set that you want to get the limit for.
grdslDelegationSetId :: Lens' GetReusableDelegationSetLimit ResourceId

-- | Creates a value of <a>GetReusableDelegationSetLimitResponse</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>grdslrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>grdslrsLimit</a> - The current setting for the limit on hosted
--   zones that you can associate with the specified reusable delegation
--   set.</li>
--   <li><a>grdslrsCount</a> - The current number of hosted zones that you
--   can associate with the specified reusable delegation set.</li>
--   </ul>
getReusableDelegationSetLimitResponse :: Int -> ReusableDelegationSetLimit -> Natural -> GetReusableDelegationSetLimitResponse

-- | A complex type that contains the requested limit.
--   
--   <i>See:</i> <a>getReusableDelegationSetLimitResponse</a> smart
--   constructor.
data GetReusableDelegationSetLimitResponse

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

-- | The current setting for the limit on hosted zones that you can
--   associate with the specified reusable delegation set.
grdslrsLimit :: Lens' GetReusableDelegationSetLimitResponse ReusableDelegationSetLimit

-- | The current number of hosted zones that you can associate with the
--   specified reusable delegation set.
grdslrsCount :: Lens' GetReusableDelegationSetLimitResponse Natural
instance GHC.Generics.Generic Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimitResponse
instance Data.Data.Data Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimitResponse
instance GHC.Show.Show Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimitResponse
instance GHC.Read.Read Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimitResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimitResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance Data.Data.Data Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance GHC.Show.Show Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance GHC.Read.Read Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance GHC.Classes.Eq Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance Control.DeepSeq.NFData Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimitResponse
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance Control.DeepSeq.NFData Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetReusableDelegationSetLimit.GetReusableDelegationSetLimit


-- | Retrieves information about a specified reusable delegation set,
--   including the four name servers that are assigned to the delegation
--   set.
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 that you
--   want to get a list of name servers for.</li>
--   </ul>
getReusableDelegationSet :: ResourceId -> GetReusableDelegationSet

-- | A request to get information about a specified reusable delegation
--   set.
--   
--   <i>See:</i> <a>getReusableDelegationSet</a> smart constructor.
data GetReusableDelegationSet

-- | The ID of the reusable delegation set that you want to get a list of
--   name servers for.
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 Control.DeepSeq.NFData Network.AWS.Route53.GetReusableDelegationSet.GetReusableDelegationSetResponse
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


-- | Gets information about a specified configuration for DNS query
--   logging.
--   
--   For more information about DNS query logs, see
--   <tt>CreateQueryLoggingConfig</tt> and <a>Logging DNS Queries</a> .
module Network.AWS.Route53.GetQueryLoggingConfig

-- | Creates a value of <a>GetQueryLoggingConfig</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>gqlcId</a> - The ID of the configuration for DNS query logging
--   that you want to get information about.</li>
--   </ul>
getQueryLoggingConfig :: Text -> GetQueryLoggingConfig

-- | <i>See:</i> <a>getQueryLoggingConfig</a> smart constructor.
data GetQueryLoggingConfig

-- | The ID of the configuration for DNS query logging that you want to get
--   information about.
gqlcId :: Lens' GetQueryLoggingConfig Text

-- | Creates a value of <a>GetQueryLoggingConfigResponse</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>gqlcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gqlcrsQueryLoggingConfig</a> - A complex type that contains
--   information about the query logging configuration that you specified
--   in a <a>GetQueryLoggingConfig</a> request.</li>
--   </ul>
getQueryLoggingConfigResponse :: Int -> QueryLoggingConfig -> GetQueryLoggingConfigResponse

-- | <i>See:</i> <a>getQueryLoggingConfigResponse</a> smart constructor.
data GetQueryLoggingConfigResponse

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

-- | A complex type that contains information about the query logging
--   configuration that you specified in a <a>GetQueryLoggingConfig</a>
--   request.
gqlcrsQueryLoggingConfig :: Lens' GetQueryLoggingConfigResponse QueryLoggingConfig
instance GHC.Generics.Generic Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfigResponse
instance Data.Data.Data Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfigResponse
instance GHC.Show.Show Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfigResponse
instance GHC.Read.Read Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfigResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfigResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance Data.Data.Data Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance GHC.Show.Show Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance GHC.Read.Read Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance GHC.Classes.Eq Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance Control.DeepSeq.NFData Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfigResponse
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance Control.DeepSeq.NFData Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetQueryLoggingConfig.GetQueryLoggingConfig


-- | Gets the specified limit for a specified hosted zone, for example, the
--   maximum number of records that you can create in the hosted zone.
--   
--   For the default limit, see <a>Limits</a> in the <i>Amazon Route 53
--   Developer Guide</i> . To request a higher limit, <a>open a case</a> .
module Network.AWS.Route53.GetHostedZoneLimit

-- | Creates a value of <a>GetHostedZoneLimit</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>ghzlType</a> - The limit that you want to get. Valid values
--   include the following: * <b>MAX_RRSETS_BY_ZONE</b> : The maximum
--   number of records that you can create in the specified hosted zone. *
--   <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b> : The maximum number of Amazon VPCs
--   that you can associate with the specified private hosted zone.</li>
--   <li><a>ghzlHostedZoneId</a> - The ID of the hosted zone that you want
--   to get a limit for.</li>
--   </ul>
getHostedZoneLimit :: HostedZoneLimitType -> ResourceId -> GetHostedZoneLimit

-- | A complex type that contains information about the request to create a
--   hosted zone.
--   
--   <i>See:</i> <a>getHostedZoneLimit</a> smart constructor.
data GetHostedZoneLimit

-- | The limit that you want to get. Valid values include the following: *
--   <b>MAX_RRSETS_BY_ZONE</b> : The maximum number of records that you can
--   create in the specified hosted zone. *
--   <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b> : The maximum number of Amazon VPCs
--   that you can associate with the specified private hosted zone.
ghzlType :: Lens' GetHostedZoneLimit HostedZoneLimitType

-- | The ID of the hosted zone that you want to get a limit for.
ghzlHostedZoneId :: Lens' GetHostedZoneLimit ResourceId

-- | Creates a value of <a>GetHostedZoneLimitResponse</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>ghzlrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ghzlrsLimit</a> - The current setting for the specified limit.
--   For example, if you specified <tt>MAX_RRSETS_BY_ZONE</tt> for the
--   value of <tt>Type</tt> in the request, the value of <tt>Limit</tt> is
--   the maximum number of records that you can create in the specified
--   hosted zone.</li>
--   <li><a>ghzlrsCount</a> - The current number of entities that you have
--   created of the specified type. For example, if you specified
--   <tt>MAX_RRSETS_BY_ZONE</tt> for the value of <tt>Type</tt> in the
--   request, the value of <tt>Count</tt> is the current number of records
--   that you have created in the specified hosted zone.</li>
--   </ul>
getHostedZoneLimitResponse :: Int -> HostedZoneLimit -> Natural -> GetHostedZoneLimitResponse

-- | A complex type that contains the requested limit.
--   
--   <i>See:</i> <a>getHostedZoneLimitResponse</a> smart constructor.
data GetHostedZoneLimitResponse

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

-- | The current setting for the specified limit. For example, if you
--   specified <tt>MAX_RRSETS_BY_ZONE</tt> for the value of <tt>Type</tt>
--   in the request, the value of <tt>Limit</tt> is the maximum number of
--   records that you can create in the specified hosted zone.
ghzlrsLimit :: Lens' GetHostedZoneLimitResponse HostedZoneLimit

-- | The current number of entities that you have created of the specified
--   type. For example, if you specified <tt>MAX_RRSETS_BY_ZONE</tt> for
--   the value of <tt>Type</tt> in the request, the value of <tt>Count</tt>
--   is the current number of records that you have created in the
--   specified hosted zone.
ghzlrsCount :: Lens' GetHostedZoneLimitResponse Natural
instance GHC.Generics.Generic Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimitResponse
instance Data.Data.Data Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimitResponse
instance GHC.Show.Show Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimitResponse
instance GHC.Read.Read Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimitResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimitResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance Data.Data.Data Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance GHC.Show.Show Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance GHC.Read.Read Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance GHC.Classes.Eq Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimitResponse
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance Control.DeepSeq.NFData Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetHostedZoneLimit.GetHostedZoneLimit


-- | Retrieves the number of hosted zones that are associated with the
--   current AWS account.
module Network.AWS.Route53.GetHostedZoneCount

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

-- | A request to retrieve a count of all the hosted zones that are
--   associated with the current AWS account.
--   
--   <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 that are associated with the current AWS
--   account.</li>
--   </ul>
getHostedZoneCountResponse :: Int -> Integer -> GetHostedZoneCountResponse

-- | A complex type that contains the response to a
--   <tt>GetHostedZoneCount</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 that are
--   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 Control.DeepSeq.NFData Network.AWS.Route53.GetHostedZoneCount.GetHostedZoneCountResponse
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


-- | Gets information about a specified hosted zone including the four name
--   servers assigned to the hosted zone.
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 that you want to get
--   information about.</li>
--   </ul>
getHostedZone :: ResourceId -> GetHostedZone

-- | A request to get information about a specified hosted zone.
--   
--   <i>See:</i> <a>getHostedZone</a> smart constructor.
data GetHostedZone

-- | The ID of the hosted zone that you want to get information about.
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
--   the VPCs that are associated with the specified hosted zone.</li>
--   <li><a>ghzrsDelegationSet</a> - A complex type that lists the Amazon
--   Route 53 name servers for the specified 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 specified hosted zone.</li>
--   </ul>
getHostedZoneResponse :: Int -> HostedZone -> GetHostedZoneResponse

-- | A complex type that contain the response to a <tt>GetHostedZone</tt>
--   request.
--   
--   <i>See:</i> <a>getHostedZoneResponse</a> smart constructor.
data GetHostedZoneResponse

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

-- | A complex type that lists the Amazon Route 53 name servers for the
--   specified 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 specified
--   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 Control.DeepSeq.NFData Network.AWS.Route53.GetHostedZone.GetHostedZoneResponse
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


-- | Gets status of a specified health check.
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> - The ID for the health check that you
--   want the current status for. When you created the health check,
--   <tt>CreateHealthCheck</tt> returned the ID in the response, in the
--   <tt>HealthCheckId</tt> element.</li>
--   </ul>
getHealthCheckStatus :: Text -> GetHealthCheckStatus

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

-- | The ID for the health check that you want the current status for. When
--   you created the health check, <tt>CreateHealthCheck</tt> returned the
--   ID in the response, in the <tt>HealthCheckId</tt> element.
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 Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheckStatus.GetHealthCheckStatusResponse
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


-- | Gets the reason that a specified health check failed most recently.
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

-- | A request for the reason that a health check failed most recently.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheckLastFailureReason.GetHealthCheckLastFailureReasonResponse
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


-- | Retrieves the number of health checks that are associated with the
--   current AWS account.
module Network.AWS.Route53.GetHealthCheckCount

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

-- | A request for the number of health checks that are associated with the
--   current AWS account.
--   
--   <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>GetHealthCheckCount</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 Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheckCount.GetHealthCheckCountResponse
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


-- | Gets information about a specified health check.
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

-- | A request to get information about a specified health check.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.GetHealthCheck.GetHealthCheckResponse
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


-- | Gets information about whether a specified geographic location is
--   supported for Amazon Route 53 geolocation resource record sets.
--   
--   Use the following syntax to determine whether a continent is supported
--   for geolocation:
--   
--   <pre>
--   GET <i>2013-04-01</i>geolocation?ContinentCode=<i>two-letter abbreviation for a continent</i>
--   </pre>
--   
--   Use the following syntax to determine whether a country is supported
--   for geolocation:
--   
--   <pre>
--   GET <i>2013-04-01</i>geolocation?CountryCode=<i>two-character country code</i>
--   </pre>
--   
--   Use the following syntax to determine whether a subdivision of a
--   country is supported for geolocation:
--   
--   <pre>
--   GET <i>2013-04-01</i>geolocation?CountryCode=<i>two-character country code</i> &amp;SubdivisionCode=<i>subdivision code</i>
--   </pre>
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 request for information about whether a specified geographic
--   location is supported for Amazon Route 53 geolocation resource record
--   sets.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.GetGeoLocation.GetGeoLocationResponse
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


-- | <tt>GetCheckerIpRanges</tt> still works, but we recommend that you
--   download ip-ranges.json, which includes IP address ranges for all AWS
--   services. For more information, see <a>IP Address Ranges of Amazon
--   Route 53 Servers</a> in the <i>Amazon Route 53 Developer Guide</i> .
module Network.AWS.Route53.GetCheckerIPRanges

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

-- | <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> - Undocumented member.</li>
--   </ul>
getCheckerIPRangesResponse :: Int -> GetCheckerIPRangesResponse

-- | <i>See:</i> <a>getCheckerIPRangesResponse</a> smart constructor.
data GetCheckerIPRangesResponse

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

-- | Undocumented member.
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 Control.DeepSeq.NFData Network.AWS.Route53.GetCheckerIPRanges.GetCheckerIPRangesResponse
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


-- | 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 propagated 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 propagated 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 <tt>Id</tt> 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
--   <tt>Id</tt> 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 Control.DeepSeq.NFData Network.AWS.Route53.GetChange.GetChangeResponse
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


-- | Gets the specified limit for the current account, for example, the
--   maximum number of health checks that you can create using the account.
--   
--   For the default limit, see <a>Limits</a> in the <i>Amazon Route 53
--   Developer Guide</i> . To request a higher limit, <a>open a case</a> .
module Network.AWS.Route53.GetAccountLimit

-- | Creates a value of <a>GetAccountLimit</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>galType</a> - The limit that you want to get. Valid values
--   include the following: * <b>MAX_HEALTH_CHECKS_BY_OWNER</b> : The
--   maximum number of health checks that you can create using the current
--   account. * <b>MAX_HOSTED_ZONES_BY_OWNER</b> : The maximum number of
--   hosted zones that you can create using the current account. *
--   <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b> : The maximum number of
--   reusable delegation sets that you can create using the current
--   account. * <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b> : The maximum number
--   of traffic policies that you can create using the current account. *
--   <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b> : The maximum number of
--   traffic policy instances that you can create using the current
--   account. (Traffic policy instances are referred to as traffic flow
--   policy records in the Amazon Route 53 console.)</li>
--   </ul>
getAccountLimit :: AccountLimitType -> GetAccountLimit

-- | A complex type that contains information about the request to create a
--   hosted zone.
--   
--   <i>See:</i> <a>getAccountLimit</a> smart constructor.
data GetAccountLimit

-- | The limit that you want to get. Valid values include the following: *
--   <b>MAX_HEALTH_CHECKS_BY_OWNER</b> : The maximum number of health
--   checks that you can create using the current account. *
--   <b>MAX_HOSTED_ZONES_BY_OWNER</b> : The maximum number of hosted zones
--   that you can create using the current account. *
--   <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b> : The maximum number of
--   reusable delegation sets that you can create using the current
--   account. * <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b> : The maximum number
--   of traffic policies that you can create using the current account. *
--   <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b> : The maximum number of
--   traffic policy instances that you can create using the current
--   account. (Traffic policy instances are referred to as traffic flow
--   policy records in the Amazon Route 53 console.)
galType :: Lens' GetAccountLimit AccountLimitType

-- | Creates a value of <a>GetAccountLimitResponse</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>galrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>galrsLimit</a> - The current setting for the specified limit.
--   For example, if you specified <tt>MAX_HEALTH_CHECKS_BY_OWNER</tt> for
--   the value of <tt>Type</tt> in the request, the value of <tt>Limit</tt>
--   is the maximum number of health checks that you can create using the
--   current account.</li>
--   <li><a>galrsCount</a> - The current number of entities that you have
--   created of the specified type. For example, if you specified
--   <tt>MAX_HEALTH_CHECKS_BY_OWNER</tt> for the value of <tt>Type</tt> in
--   the request, the value of <tt>Count</tt> is the current number of
--   health checks that you have created using the current account.</li>
--   </ul>
getAccountLimitResponse :: Int -> AccountLimit -> Natural -> GetAccountLimitResponse

-- | A complex type that contains the requested limit.
--   
--   <i>See:</i> <a>getAccountLimitResponse</a> smart constructor.
data GetAccountLimitResponse

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

-- | The current setting for the specified limit. For example, if you
--   specified <tt>MAX_HEALTH_CHECKS_BY_OWNER</tt> for the value of
--   <tt>Type</tt> in the request, the value of <tt>Limit</tt> is the
--   maximum number of health checks that you can create using the current
--   account.
galrsLimit :: Lens' GetAccountLimitResponse AccountLimit

-- | The current number of entities that you have created of the specified
--   type. For example, if you specified
--   <tt>MAX_HEALTH_CHECKS_BY_OWNER</tt> for the value of <tt>Type</tt> in
--   the request, the value of <tt>Count</tt> is the current number of
--   health checks that you have created using the current account.
galrsCount :: Lens' GetAccountLimitResponse Natural
instance GHC.Generics.Generic Network.AWS.Route53.GetAccountLimit.GetAccountLimitResponse
instance Data.Data.Data Network.AWS.Route53.GetAccountLimit.GetAccountLimitResponse
instance GHC.Show.Show Network.AWS.Route53.GetAccountLimit.GetAccountLimitResponse
instance GHC.Read.Read Network.AWS.Route53.GetAccountLimit.GetAccountLimitResponse
instance GHC.Classes.Eq Network.AWS.Route53.GetAccountLimit.GetAccountLimitResponse
instance GHC.Generics.Generic Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance Data.Data.Data Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance GHC.Show.Show Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance GHC.Read.Read Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance GHC.Classes.Eq Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance Control.DeepSeq.NFData Network.AWS.Route53.GetAccountLimit.GetAccountLimitResponse
instance Data.Hashable.Class.Hashable Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance Control.DeepSeq.NFData Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.GetAccountLimit.GetAccountLimit
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.GetAccountLimit.GetAccountLimit


-- | Disassociates a VPC from a Amazon Route 53 private hosted zone.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.DisassociateVPCFromHostedZone.DisassociateVPCFromHostedZoneResponse
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


-- | 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> .
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 Control.DeepSeq.NFData Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
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


-- | Deletes a traffic policy instance and all of the resource record sets
--   that Amazon Route 53 created when you created the instance.
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 request to delete a specified traffic policy instance.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.DeleteTrafficPolicyInstance.DeleteTrafficPolicyInstanceResponse
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


-- | Deletes a traffic policy.
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 Control.DeepSeq.NFData Network.AWS.Route53.DeleteTrafficPolicy.DeleteTrafficPolicyResponse
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


-- | Deletes a reusable delegation set.
--   
--   <i>Important:</i> You can delete a reusable delegation set only if it
--   isn't associated with any hosted zones.
--   
--   To verify that the reusable delegation set is not associated with any
--   hosted zones, submit a <tt>GetReusableDelegationSet</tt> request 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 that you
--   want to delete.</li>
--   </ul>
deleteReusableDelegationSet :: ResourceId -> DeleteReusableDelegationSet

-- | A request to delete a reusable delegation set.
--   
--   <i>See:</i> <a>deleteReusableDelegationSet</a> smart constructor.
data DeleteReusableDelegationSet

-- | The ID of the reusable delegation set that 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 Control.DeepSeq.NFData Network.AWS.Route53.DeleteReusableDelegationSet.DeleteReusableDelegationSetResponse
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


-- | Deletes a configuration for DNS query logging. If you delete a
--   configuration, Amazon Route 53 stops sending query logs to CloudWatch
--   Logs. Amazon Route 53 doesn't delete any logs that are already in
--   CloudWatch Logs.
--   
--   For more information about DNS query logs, see
--   <tt>CreateQueryLoggingConfig</tt> .
module Network.AWS.Route53.DeleteQueryLoggingConfig

-- | Creates a value of <a>DeleteQueryLoggingConfig</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>dqlcId</a> - The ID of the configuration that you want to
--   delete.</li>
--   </ul>
deleteQueryLoggingConfig :: Text -> DeleteQueryLoggingConfig

-- | <i>See:</i> <a>deleteQueryLoggingConfig</a> smart constructor.
data DeleteQueryLoggingConfig

-- | The ID of the configuration that you want to delete.
dqlcId :: Lens' DeleteQueryLoggingConfig Text

-- | Creates a value of <a>DeleteQueryLoggingConfigResponse</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>dqlcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteQueryLoggingConfigResponse :: Int -> DeleteQueryLoggingConfigResponse

-- | <i>See:</i> <a>deleteQueryLoggingConfigResponse</a> smart constructor.
data DeleteQueryLoggingConfigResponse

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


-- | Deletes a hosted zone.
--   
--   <i>Important:</i> If the name servers for the hosted zone are
--   associated with a domain and if you want to make the domain
--   unavailable on the Internet, we recommend that you delete the name
--   servers from the domain to prevent future DNS queries from possibly
--   being misrouted. If the domain is registered with Amazon Route 53, see
--   <tt>UpdateDomainNameservers</tt> . If the domain is registered with
--   another registrar, use the method provided by the registrar to delete
--   name servers for the domain.
--   
--   Some domain registries don't allow you to remove all of the name
--   servers for a domain. If the registry for your domain requires one or
--   more name servers, we recommend that you delete the hosted zone only
--   if you transfer DNS service to another service provider, and you
--   replace the name servers for the domain with name servers from the new
--   provider.
--   
--   You can delete a hosted zone only if it contains only the default SOA
--   record and NS resource record sets. If the hosted zone contains other
--   resource record sets, you must delete them before you can delete the
--   hosted zone. If you try to delete a hosted zone that contains other
--   resource record sets, the request fails, and Amazon Route 53 returns a
--   <tt>HostedZoneNotEmpty</tt> error. For information about deleting
--   records from your hosted zone, see <tt>ChangeResourceRecordSets</tt> .
--   
--   To verify that the hosted zone has been deleted, do one of the
--   following:
--   
--   <ul>
--   <li>Use the <tt>GetHostedZone</tt> action to request information about
--   the hosted zone.</li>
--   <li>Use the <tt>ListHostedZones</tt> action to get a list of the
--   hosted zones associated with the current AWS account.</li>
--   </ul>
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 request to delete a hosted zone.
--   
--   <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 a request to delete a hosted
--   zone.</li>
--   </ul>
deleteHostedZoneResponse :: Int -> ChangeInfo -> DeleteHostedZoneResponse

-- | A complex type that contains the response to a
--   <tt>DeleteHostedZone</tt> 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 a request to delete a hosted zone.
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 Control.DeepSeq.NFData Network.AWS.Route53.DeleteHostedZone.DeleteHostedZoneResponse
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


-- | Deletes a health check.
--   
--   <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
--   <i>Amazon Route 53 Developer Guide</i> .
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.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.DeleteHealthCheck.DeleteHealthCheckResponse
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


-- | 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.
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
--   <tt>CreateVPCAssociationAuthorization</tt> 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 Control.DeepSeq.NFData Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
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


-- | 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.
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 that
--   you want to create a new version for.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.CreateTrafficPolicyVersion.CreateTrafficPolicyVersionResponse
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


-- | 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.
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 Control.DeepSeq.NFData Network.AWS.Route53.CreateTrafficPolicyInstance.CreateTrafficPolicyInstanceResponse
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


-- | 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).
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 Control.DeepSeq.NFData Network.AWS.Route53.CreateTrafficPolicy.CreateTrafficPolicyResponse
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


-- | 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.
--   
--   For information about using a reusable delegation set to configure
--   white label name servers, see <a>Configuring White Label Name
--   Servers</a> .
--   
--   The process for migrating existing hosted zones to use a reusable
--   delegation set is comparable to the process for configuring white
--   label name servers. You need to perform the following steps:
--   
--   <ul>
--   <li>Create a reusable delegation set.</li>
--   <li>Recreate hosted zones, and reduce the TTL to 60 seconds or
--   less.</li>
--   <li>Recreate resource record sets in the new hosted zones.</li>
--   <li>Change the registrar's name servers to use the name servers for
--   the new hosted zones.</li>
--   <li>Monitor traffic for the website or application.</li>
--   <li>Change TTLs back to their original values.</li>
--   </ul>
--   
--   If you want to migrate existing hosted zones to use a reusable
--   delegation set, the existing hosted zones can't use any of the name
--   servers that are assigned to the reusable delegation set. If one or
--   more hosted zones do use one or more name servers that are assigned to
--   the reusable delegation set, you can do one of the following:
--   
--   <ul>
--   <li>For small numbers of hosted zones—up to a few hundred—it's
--   relatively easy to create reusable delegation sets until you get one
--   that has four name servers that don't overlap with any of the name
--   servers in your hosted zones.</li>
--   <li>For larger numbers of hosted zones, the easiest solution is to use
--   more than one reusable delegation set.</li>
--   <li>For larger numbers of hosted zones, you can also migrate hosted
--   zones that have overlapping name servers to hosted zones that don't
--   have overlapping name servers, then migrate the hosted zones again to
--   use the reusable delegation set.</li>
--   </ul>
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 Control.DeepSeq.NFData Network.AWS.Route53.CreateReusableDelegationSet.CreateReusableDelegationSetResponse
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


-- | Creates a configuration for DNS query logging. After you create a
--   query logging configuration, Amazon Route 53 begins to publish log
--   data to an Amazon CloudWatch Logs log group.
--   
--   DNS query logs contain information about the queries that Amazon Route
--   53 receives for a specified public hosted zone, such as the following:
--   
--   <ul>
--   <li>Amazon Route 53 edge location that responded to the DNS query</li>
--   <li>Domain or subdomain that was requested</li>
--   <li>DNS record type, such as A or AAAA</li>
--   <li>DNS response code, such as <tt>NoError</tt> or
--   <tt>ServFail</tt></li>
--   <li>Log Group and Resource Policy * Before you create a query logging
--   configuration, perform the following operations.</li>
--   <li>Create a CloudWatch Logs log group, and make note of the ARN,
--   which you specify when you create a query logging configuration. Note
--   the following:</li>
--   <li>You must create the log group in the us-east-1 region.</li>
--   <li>You must use the same AWS account to create the log group and the
--   hosted zone that you want to configure query logging for.</li>
--   <li>When you create log groups for query logging, we recommend that
--   you use a consistent prefix, for example:</li>
--   </ul>
--   
--   <pre>
--   <i>aws</i>route53/<i>hosted zone name</i>
--   </pre>
--   
--   In the next step, you'll create a resource policy, which controls
--   access to one or more log groups and the associated AWS resources,
--   such as Amazon Route 53 hosted zones. There's a limit on the number of
--   resource policies that you can create, so we recommend that you use a
--   consistent prefix so you can use the same resource policy for all the
--   log groups that you create for query logging.
--   
--   <ul>
--   <li>Create a CloudWatch Logs resource policy, and give it the
--   permissions that Amazon Route 53 needs to create log streams and to
--   send query logs to log streams. For the value of <tt>Resource</tt> ,
--   specify the ARN for the log group that you created in the previous
--   step. To use the same resource policy for all the CloudWatch Logs log
--   groups that you created for query logging configurations, replace the
--   hosted zone name with <tt>*</tt> , for example:</li>
--   </ul>
--   
--   <pre>
--   arn:aws:logs:us-east-1:123412341234:log-group:<i>aws</i>route53/*
--   </pre>
--   
--   <ul>
--   <li>Log Streams and Edge Locations * When Amazon Route 53 finishes
--   creating the configuration for DNS query logging, it does the
--   following:</li>
--   <li>Creates a log stream for an edge location the first time that the
--   edge location responds to DNS queries for the specified hosted zone.
--   That log stream is used to log all queries that Amazon Route 53
--   responds to for that edge location.</li>
--   <li>Begins to send query logs to the applicable log stream.</li>
--   </ul>
--   
--   The name of each log stream is in the following format:
--   
--   <pre>
--   <i>hosted zone ID</i> /<i>edge location code</i>
--   </pre>
--   
--   The edge location code is a three-letter code and an arbitrarily
--   assigned number, for example, DFW3. The three-letter code typically
--   corresponds with the International Air Transport Association airport
--   code for an airport near the edge location. (These abbreviations might
--   change in the future.) For a list of edge locations, see "The Amazon
--   Route 53 Global Network" on the <a>Amazon Route 53 Product Details</a>
--   page.
--   
--   <ul>
--   <li>Queries That Are Logged * Query logs contain only the queries that
--   DNS resolvers forward to Amazon Route 53. If a DNS resolver has
--   already cached the response to a query (such as the IP address for a
--   load balancer for example.com), the resolver will continue to return
--   the cached response. It doesn't forward another query to Amazon Route
--   53 until the TTL for the corresponding resource record set expires.
--   Depending on how many DNS queries are submitted for a resource record
--   set, and depending on the TTL for that resource record set, query logs
--   might contain information about only one query out of every several
--   thousand queries that are submitted to DNS. For more information about
--   how DNS works, see <a>Routing Internet Traffic to Your Website or Web
--   Application</a> in the <i>Amazon Route 53 Developer Guide</i> .</li>
--   <li>Log File Format * For a list of the values in each query log and
--   the format of each value, see <a>Logging DNS Queries</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .</li>
--   <li>Pricing * For information about charges for query logs, see
--   <a>Amazon CloudWatch Pricing</a> .</li>
--   <li>How to Stop Logging * If you want Amazon Route 53 to stop sending
--   query logs to CloudWatch Logs, delete the query logging configuration.
--   For more information, see <tt>DeleteQueryLoggingConfig</tt> .</li>
--   </ul>
module Network.AWS.Route53.CreateQueryLoggingConfig

-- | Creates a value of <a>CreateQueryLoggingConfig</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>cqlcHostedZoneId</a> - The ID of the hosted zone that you want
--   to log queries for. You can log queries only for public hosted
--   zones.</li>
--   <li><a>cqlcCloudWatchLogsLogGroupARN</a> - The Amazon Resource Name
--   (ARN) for the log group that you want to Amazon Route 53 to send query
--   logs to. This is the format of the ARN: arn:aws:logs:<i>region</i>
--   :<i>account-id</i> :log-group:<i>log_group_name</i> To get the ARN for
--   a log group, you can use the CloudWatch console, the
--   <a>DescribeLogGroups</a> API action, the <a>describe-log-groups</a>
--   command, or the applicable command in one of the AWS SDKs.</li>
--   </ul>
createQueryLoggingConfig :: ResourceId -> Text -> CreateQueryLoggingConfig

-- | <i>See:</i> <a>createQueryLoggingConfig</a> smart constructor.
data CreateQueryLoggingConfig

-- | The ID of the hosted zone that you want to log queries for. You can
--   log queries only for public hosted zones.
cqlcHostedZoneId :: Lens' CreateQueryLoggingConfig ResourceId

-- | The Amazon Resource Name (ARN) for the log group that you want to
--   Amazon Route 53 to send query logs to. This is the format of the ARN:
--   arn:aws:logs:<i>region</i> :<i>account-id</i>
--   :log-group:<i>log_group_name</i> To get the ARN for a log group, you
--   can use the CloudWatch console, the <a>DescribeLogGroups</a> API
--   action, the <a>describe-log-groups</a> command, or the applicable
--   command in one of the AWS SDKs.
cqlcCloudWatchLogsLogGroupARN :: Lens' CreateQueryLoggingConfig Text

-- | Creates a value of <a>CreateQueryLoggingConfigResponse</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>cqlcrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>cqlcrsQueryLoggingConfig</a> - A complex type that contains the
--   ID for a query logging configuration, the ID of the hosted zone that
--   you want to log queries for, and the ARN for the log group that you
--   want Amazon Route 53 to send query logs to.</li>
--   <li><a>cqlcrsLocation</a> - The unique URL representing the new query
--   logging configuration.</li>
--   </ul>
createQueryLoggingConfigResponse :: Int -> QueryLoggingConfig -> Text -> CreateQueryLoggingConfigResponse

-- | <i>See:</i> <a>createQueryLoggingConfigResponse</a> smart constructor.
data CreateQueryLoggingConfigResponse

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

-- | A complex type that contains the ID for a query logging configuration,
--   the ID of the hosted zone that you want to log queries for, and the
--   ARN for the log group that you want Amazon Route 53 to send query logs
--   to.
cqlcrsQueryLoggingConfig :: Lens' CreateQueryLoggingConfigResponse QueryLoggingConfig

-- | The unique URL representing the new query logging configuration.
cqlcrsLocation :: Lens' CreateQueryLoggingConfigResponse Text
instance GHC.Generics.Generic Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfigResponse
instance Data.Data.Data Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfigResponse
instance GHC.Show.Show Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfigResponse
instance GHC.Read.Read Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfigResponse
instance GHC.Classes.Eq Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfigResponse
instance GHC.Generics.Generic Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance Data.Data.Data Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance GHC.Show.Show Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance GHC.Read.Read Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance GHC.Classes.Eq Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance Network.AWS.Types.AWSRequest Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfigResponse
instance Data.Hashable.Class.Hashable Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance Control.DeepSeq.NFData Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig
instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.CreateQueryLoggingConfig.CreateQueryLoggingConfig


-- | Creates a new public hosted zone, which you use 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> You can't convert a public hosted zones to a private
--   hosted zone or vice versa. Instead, you must create a new hosted zone
--   with the same name and create new resource record sets.
--   
--   For 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>
--   </ul>
--   
--   If you want to use the same name servers for multiple hosted zones,
--   you can optionally associate a reusable delegation set with the hosted
--   zone. See the <tt>DelegationSetId</tt> element.
--   
--   <ul>
--   <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 Guide</i> .</li>
--   </ul>
--   
--   When you submit a <tt>CreateHostedZone</tt> request, the initial
--   status of the hosted zone is <tt>PENDING</tt> . This means that the NS
--   and SOA records are not yet available on all Amazon Route 53 DNS
--   servers. When the NS and SOA records are available, the status of the
--   zone changes to <tt>INSYNC</tt> .
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> .</li>
--   <li><a>chzVPC</a> - (Private hosted zones only) A complex type that
--   contains information about the Amazon VPC that you're associating with
--   this hosted zone. You can specify only one Amazon VPC when you create
--   a private hosted zone. To associate additional Amazon VPCs with the
--   hosted zone, use <tt>AssociateVPCWithHostedZone</tt> after you create
--   a hosted zone.</li>
--   <li><a>chzHostedZoneConfig</a> - (Optional) A complex type that
--   contains the following optional values: * For public and private
--   hosted zones, an optional comment * For private hosted zones, an
--   optional <tt>PrivateZone</tt> element If you don't specify a comment
--   or the <tt>PrivateZone</tt> element, omit <tt>HostedZoneConfig</tt>
--   and the other 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 <tt>DelegationSet</tt> .</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 submit a
--   <tt>CreateHostedZone</tt> request. <tt>CallerReference</tt> can be any
--   unique string, for example, a date/time stamp.</li>
--   </ul>
createHostedZone :: Text -> Text -> CreateHostedZone

-- | A complex type that contains information about the request to create a
--   hosted zone.
--   
--   <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> .
chzDelegationSetId :: Lens' CreateHostedZone (Maybe ResourceId)

-- | (Private hosted zones only) A complex type that contains information
--   about the Amazon VPC that you're associating with this hosted zone.
--   You can specify only one Amazon VPC when you create a private hosted
--   zone. To associate additional Amazon VPCs with the hosted zone, use
--   <tt>AssociateVPCWithHostedZone</tt> after you create a hosted zone.
chzVPC :: Lens' CreateHostedZone (Maybe VPC)

-- | (Optional) A complex type that contains the following optional values:
--   * For public and private hosted zones, an optional comment * For
--   private hosted zones, an optional <tt>PrivateZone</tt> element If you
--   don't specify a comment or the <tt>PrivateZone</tt> element, omit
--   <tt>HostedZoneConfig</tt> and the other 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 <tt>DelegationSet</tt> .
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 submit a
--   <tt>CreateHostedZone</tt> request. <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 contains information
--   about the <tt>CreateHostedZone</tt> request.</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 contains information about the
--   <tt>CreateHostedZone</tt> request.
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 Control.DeepSeq.NFData Network.AWS.Route53.CreateHostedZone.CreateHostedZoneResponse
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


-- | Creates a new health check.
--   
--   For information about adding health checks to resource record sets,
--   see 'ResourceRecordSet$HealthCheckId' in
--   <tt>ChangeResourceRecordSets</tt> .
--   
--   <b>ELB Load Balancers</b>
--   
--   If you're 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.
--   
--   <b>Private Hosted Zones</b>
--   
--   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 you to retry a failed
--   <tt>CreateHealthCheck</tt> request without the risk of creating two
--   identical health checks: * If you send a <tt>CreateHealthCheck</tt>
--   request with the same <tt>CallerReference</tt> and settings as a
--   previous request, and if the health check doesn't exist, Amazon Route
--   53 creates the health check. If the health check does exist, Amazon
--   Route 53 returns the settings for the existing health check. * If you
--   send a <tt>CreateHealthCheck</tt> request with the same
--   <tt>CallerReference</tt> as a deleted health check, regardless of the
--   settings, Amazon Route 53 returns a <tt>HealthCheckAlreadyExists</tt>
--   error. * If you send a <tt>CreateHealthCheck</tt> request with the
--   same <tt>CallerReference</tt> as an existing health check but with
--   different settings, Amazon Route 53 returns a
--   <tt>HealthCheckAlreadyExists</tt> error. * If you send a
--   <tt>CreateHealthCheck</tt> request with a unique
--   <tt>CallerReference</tt> but settings identical to an existing health
--   check, Amazon Route 53 creates the 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 you to
--   retry a failed <tt>CreateHealthCheck</tt> request without the risk of
--   creating two identical health checks: * If you send a
--   <tt>CreateHealthCheck</tt> request with the same
--   <tt>CallerReference</tt> and settings as a previous request, and if
--   the health check doesn't exist, Amazon Route 53 creates the health
--   check. If the health check does exist, Amazon Route 53 returns the
--   settings for the existing health check. * If you send a
--   <tt>CreateHealthCheck</tt> request with the same
--   <tt>CallerReference</tt> as a deleted health check, regardless of the
--   settings, Amazon Route 53 returns a <tt>HealthCheckAlreadyExists</tt>
--   error. * If you send a <tt>CreateHealthCheck</tt> request with the
--   same <tt>CallerReference</tt> as an existing health check but with
--   different settings, Amazon Route 53 returns a
--   <tt>HealthCheckAlreadyExists</tt> error. * If you send a
--   <tt>CreateHealthCheck</tt> request with a unique
--   <tt>CallerReference</tt> but settings identical to an existing health
--   check, Amazon Route 53 creates the 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 Control.DeepSeq.NFData Network.AWS.Route53.CreateHealthCheck.CreateHealthCheckResponse
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


-- | 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 that you want to edit <tt>Value</tt> for. 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 that you
--   want to edit <tt>Value</tt> for. 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 Control.DeepSeq.NFData Network.AWS.Route53.ChangeTagsForResource.ChangeTagsForResourceResponse
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


-- | Creates, changes, or deletes a resource record set, which contains
--   authoritative DNS information for a specified domain name or subdomain
--   name. For example, you can use <tt>ChangeResourceRecordSets</tt> to
--   create a resource record set that routes traffic for test.example.com
--   to a web server that has an IP address of 192.0.2.44.
--   
--   <b>Change Batches and Transactional Changes</b>
--   
--   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.
--   
--   <b>Traffic Flow</b>
--   
--   To create resource record sets for complex routing configurations, use
--   either the traffic flow visual editor in the Amazon Route 53 console
--   or the API actions for traffic policies and traffic policy instances.
--   Save the configuration as a traffic policy, then associate the traffic
--   policy with one or more domain names (such as example.com) or
--   subdomain names (such as www.example.com), in the same hosted zone or
--   in multiple hosted zones. You can roll back the updates if the new
--   configuration isn't performing as expected. For more information, see
--   <a>Using Traffic Flow to Route DNS Traffic</a> in the <i>Amazon Route
--   53 Developer Guide</i> .
--   
--   <b>Create, Delete, and Upsert</b>
--   
--   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>
--   
--   <b>Syntaxes for Creating, Updating, and Deleting Resource Record
--   Sets</b>
--   
--   The syntax for a request depends on the type of resource record set
--   that you want to create, delete, or update, such as weighted, alias,
--   or failover. The XML elements in your request must appear in the order
--   listed in the syntax.
--   
--   For an example for each type of resource record set, see "Examples."
--   
--   Don't refer to the syntax in the "Parameter Syntax" section, which
--   includes all of the elements for every kind of resource record set
--   that you can create, delete, or update by using
--   <tt>ChangeResourceRecordSets</tt> .
--   
--   <b>Change Propagation to Amazon Route 53 DNS Servers</b>
--   
--   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 within 60 seconds. For more information, see
--   <tt>GetChange</tt> .
--   
--   <b>Limits on ChangeResourceRecordSets Requests</b>
--   
--   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 Control.DeepSeq.NFData Network.AWS.Route53.ChangeResourceRecordSets.ChangeResourceRecordSetsResponse
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


-- | 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.
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 Control.DeepSeq.NFData Network.AWS.Route53.AssociateVPCWithHostedZone.AssociateVPCWithHostedZoneResponse
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


-- | Updates an existing health check. Note that some values can't be
--   updated.
--   
--   For more information about updating health checks, see <a>Creating,
--   Updating, and Deleting Health Checks</a> in the <i>Amazon Route 53
--   Developer Guide</i> .
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> . If you don't specify a value for
--   <tt>FailureThreshold</tt> , the default value is three health
--   checks.</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. Use one
--   of the following formats for the value of <tt>IPAddress</tt> : *
--   <b>IPv4 address</b> : four values between 0 and 255, separated by
--   periods (.), for example, <tt>192.0.2.44</tt> . * <b>IPv6 address</b>
--   : eight groups of four hexadecimal values, separated by colons (:),
--   for example, <tt>2001:0db8:85a3:0000:0000:abcd:0001:2345</tt> . You
--   can also shorten IPv6 addresses as described in RFC 5952, for example,
--   <tt>2001:db8:85a3::abcd:1:2345</tt> . 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 the applicable
--   documentation: * Linux: <a>Elastic IP Addresses (EIP)</a> in the
--   <i>Amazon EC2 User Guide for Linux Instances</i> * Windows: <a>Elastic
--   IP Addresses (EIP)</a> in the <i>Amazon EC2 User Guide for Windows
--   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>uhcResetElements</a> - A complex type that contains one
--   <tt>ResettableElementName</tt> element for each element that you want
--   to reset to the default value. Valid values for
--   <tt>ResettableElementName</tt> include the following: *
--   <tt>ChildHealthChecks</tt> : Amazon Route 53 resets
--   'HealthCheckConfig$ChildHealthChecks' to null. *
--   <tt>FullyQualifiedDomainName</tt> : Amazon Route 53 resets
--   'HealthCheckConfig$FullyQualifiedDomainName' to null. *
--   <tt>Regions</tt> : Amazon Route 53 resets the
--   'HealthCheckConfig$Regions' list to the default set of regions. *
--   <tt>ResourcePath</tt> : Amazon Route 53 resets
--   'HealthCheckConfig$ResourcePath' to null.</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
--   <tt>Region</tt> element for each region that you want Amazon Route 53
--   health checkers to check the specified endpoint from.</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 1 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: * If 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 <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 <i><tt>FullyQualifiedDomainName</tt>
--   :<tt>Port</tt> </i> 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 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-2-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 information about a request to update a
--   health check.
--   
--   <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> . If you don't specify a
--   value for <tt>FailureThreshold</tt> , the default value is three
--   health checks.
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. Use one of the following formats for the value
--   of <tt>IPAddress</tt> : * <b>IPv4 address</b> : four values between 0
--   and 255, separated by periods (.), for example, <tt>192.0.2.44</tt> .
--   * <b>IPv6 address</b> : eight groups of four hexadecimal values,
--   separated by colons (:), for example,
--   <tt>2001:0db8:85a3:0000:0000:abcd:0001:2345</tt> . You can also
--   shorten IPv6 addresses as described in RFC 5952, for example,
--   <tt>2001:db8:85a3::abcd:1:2345</tt> . 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 the applicable
--   documentation: * Linux: <a>Elastic IP Addresses (EIP)</a> in the
--   <i>Amazon EC2 User Guide for Linux Instances</i> * Windows: <a>Elastic
--   IP Addresses (EIP)</a> in the <i>Amazon EC2 User Guide for Windows
--   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)

-- | A complex type that contains one <tt>ResettableElementName</tt>
--   element for each element that you want to reset to the default value.
--   Valid values for <tt>ResettableElementName</tt> include the following:
--   * <tt>ChildHealthChecks</tt> : Amazon Route 53 resets
--   'HealthCheckConfig$ChildHealthChecks' to null. *
--   <tt>FullyQualifiedDomainName</tt> : Amazon Route 53 resets
--   'HealthCheckConfig$FullyQualifiedDomainName' to null. *
--   <tt>Regions</tt> : Amazon Route 53 resets the
--   'HealthCheckConfig$Regions' list to the default set of regions. *
--   <tt>ResourcePath</tt> : Amazon Route 53 resets
--   'HealthCheckConfig$ResourcePath' to null.
uhcResetElements :: Lens' UpdateHealthCheck [ResettableElementName]

-- | 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 <tt>Region</tt> element for each
--   region that you want Amazon Route 53 health checkers to check the
--   specified endpoint from.
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 1 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: * If 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 <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
--   <i><tt>FullyQualifiedDomainName</tt> :<tt>Port</tt> </i> 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
--   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-2-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 Control.DeepSeq.NFData Network.AWS.Route53.UpdateHealthCheck.UpdateHealthCheckResponse
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


-- | Updates the comment for a specified hosted zone.
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 that you want to update
--   the comment for.</li>
--   </ul>
updateHostedZoneComment :: ResourceId -> UpdateHostedZoneComment

-- | A request to update the comment for a hosted zone.
--   
--   <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 that you want to update the comment for.
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
--   <tt>UpdateHostedZoneComment</tt> request.
--   
--   <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 Control.DeepSeq.NFData Network.AWS.Route53.UpdateHostedZoneComment.UpdateHostedZoneCommentResponse
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


-- | Updates the comment for a specified traffic policy version.
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
--   that you want to update the comment for.</li>
--   <li><a>utpcVersion</a> - The value of <tt>Version</tt> for the traffic
--   policy that you want to update the comment for.</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 that
--   you want to update the comment for.
--   
--   <i>See:</i> <a>updateTrafficPolicyComment</a> smart constructor.
data UpdateTrafficPolicyComment

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

-- | The value of <tt>Version</tt> for the traffic policy that you want to
--   update the comment for.
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 Control.DeepSeq.NFData Network.AWS.Route53.UpdateTrafficPolicyComment.UpdateTrafficPolicyCommentResponse
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


-- | Updates the resource record sets in a specified hosted zone that were
--   created based on the settings in a specified traffic policy version.
--   
--   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
--   significant 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 Control.DeepSeq.NFData Network.AWS.Route53.UpdateTrafficPolicyInstance.UpdateTrafficPolicyInstanceResponse
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


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


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

-- | There is no DNS query logging configuration with the specified ID.
_NoSuchQueryLoggingConfig :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified hosted zone is a public hosted zone, not a private
--   hosted zone.
_HostedZoneNotPrivate :: 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 is invalid.
_InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError

-- | There is already a traffic policy instance with the specified ID.
_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

-- | You can create only one query logging configuration for a hosted zone,
--   and a query logging configuration already exists for this hosted zone.
_QueryLoggingConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | Another user submitted a request to create, update, or delete 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

-- | Amazon Route 53 doesn't have the permissions required to create log
--   streams and send query logs to log streams. Possible causes include
--   the following:
--   
--   <ul>
--   <li>There is no resource policy that specifies the log group ARN in
--   the value for <tt>Resource</tt> .</li>
--   <li>The resource policy that includes the log group ARN in the value
--   for <tt>Resource</tt> doesn't have the necessary permissions.</li>
--   <li>The resource policy hasn't finished propagating yet.</li>
--   </ul>
_InsufficientCloudWatchLogsResourcePolicy :: AsError a => Getting (First ServiceError) a ServiceError

-- | There is no CloudWatch Logs log group with the specified ARN.
_NoSuchCloudWatchLogsLogGroup :: 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

-- | The value that you specified to get the second or subsequent page of
--   results is invalid.
_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 you submit a request that has the
--   following values:
--   
--   <ul>
--   <li>The same value for <tt>CallerReference</tt> as an existing health
--   check, and one or more values that differ from the existing health
--   check that has the same caller reference.</li>
--   <li>The same value for <tt>CallerReference</tt> as a health check that
--   you created and later deleted, regardless of the other settings in the
--   request.</li>
--   </ul>
_HealthCheckAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | This traffic policy can't be created because the current account has
--   reached the limit on the number of traffic policies.
--   
--   For information about default limits, see <a>Limits</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .
--   
--   To get the current limit for an account, see <tt>GetAccountLimit</tt>
--   .
--   
--   To request a higher limit, <a>create a case</a> with the AWS Support
--   Center.
_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

-- | The limit on the number of requests per second was exceeded.
_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

-- | This operation can't be completed either because the current account
--   has reached the limit on reusable delegation sets that it can create
--   or because you've reached the limit on the number of Amazon VPCs that
--   you can associate with a private hosted zone. To get the current limit
--   on the number of reusable delegation sets, see
--   <tt>GetAccountLimit</tt> . To get the current limit on the number of
--   Amazon VPCs that you can associate with a private hosted zone, see
--   <tt>GetHostedZoneLimit</tt> . To request a higher limit, <a>create a
--   case</a> with the AWS Support Center.
_LimitsExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | This traffic policy instance can't be created because the current
--   account has reached the limit on the number of traffic policy
--   instances.
--   
--   For information about default limits, see <a>Limits</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .
--   
--   For information about how to get the current limit for an account, see
--   <tt>GetAccountLimit</tt> .
--   
--   To request a higher limit, <a>create a case</a> with the AWS Support
--   Center.
_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're trying to access is unsupported on this Amazon
--   Route 53 endpoint.
_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 operation can't be completed either because the current account
--   has reached the limit on the number of hosted zones or because you've
--   reached the limit on the number of hosted zones that can be associated
--   with a reusable delegation set.
--   
--   For information about default limits, see <a>Limits</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .
--   
--   To get the current limit on hosted zones that can be created by an
--   account, see <tt>GetAccountLimit</tt> .
--   
--   To get the current limit on hosted zones that can be associated with a
--   reusable delegation set, see <tt>GetReusableDelegationSetLimit</tt> .
--   
--   To request a higher limit, <a>create a case</a> with the AWS Support
--   Center.
_TooManyHostedZones :: AsError a => Getting (First ServiceError) a ServiceError

-- | This error code is not in use.
_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

-- | The cause of this error depends on whether you're trying to create a
--   public or a private hosted zone:
--   
--   <ul>
--   <li><b>Public hosted zone:</b> Two hosted zones that have the same
--   name or that have a parent/child relationship (example.com and
--   test.example.com) can't have any common name servers. You tried to
--   create a hosted zone that has the same name as an existing hosted zone
--   or that's the parent or child of an existing hosted zone, and you
--   specified a delegation set that shares one or more name servers with
--   the existing hosted zone. For more information, see
--   <tt>CreateReusableDelegationSet</tt> .</li>
--   <li><b>Private hosted zone:</b> 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.</li>
--   </ul>
_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

-- | This health check can't be created because the current account has
--   reached the limit on the number of active health checks.
--   
--   For information about default limits, see <a>Limits</a> in the
--   <i>Amazon Route 53 Developer Guide</i> .
--   
--   For information about how to get the current limit for an account, see
--   <tt>GetAccountLimit</tt> . To request a higher limit, <a>create a
--   case</a> with the AWS Support Center.
--   
--   You have reached the maximum number of active health checks for an AWS
--   account. 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're 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

-- | This traffic policy version can't be created because you've reached
--   the limit of 1000 on the number of versions that you can create for
--   the current traffic policy.
--   
--   To create more traffic policy versions, you can use
--   <tt>GetTrafficPolicy</tt> to get the traffic policy document for a
--   specified traffic policy version, and then use
--   <tt>CreateTrafficPolicy</tt> to create a new traffic policy using the
--   traffic policy document.
_TooManyTrafficPolicyVersionsForCurrentPolicy :: 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

-- | Canada ('ca-central-1').
Montreal :: 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-west-2').
London :: 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 AccountLimitType
MaxHealthChecksByOwner :: AccountLimitType
MaxHostedZonesByOwner :: AccountLimitType
MaxReusableDelegationSetsByOwner :: AccountLimitType
MaxTrafficPoliciesByOwner :: AccountLimitType
MaxTrafficPolicyInstancesByOwner :: AccountLimitType
data ChangeAction
Create :: ChangeAction
Delete :: ChangeAction
Upsert :: ChangeAction
data ChangeStatus
Insync :: ChangeStatus
Pending :: ChangeStatus
data CloudWatchRegion
CWRApNortheast1 :: CloudWatchRegion
CWRApNortheast2 :: CloudWatchRegion
CWRApNortheast3 :: CloudWatchRegion
CWRApSouth1 :: CloudWatchRegion
CWRApSoutheast1 :: CloudWatchRegion
CWRApSoutheast2 :: CloudWatchRegion
CWRCaCentral1 :: CloudWatchRegion
CWREuCentral1 :: CloudWatchRegion
CWREuWest1 :: CloudWatchRegion
CWREuWest2 :: CloudWatchRegion
CWREuWest3 :: 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
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 HostedZoneLimitType
MaxRrsetsByZone :: HostedZoneLimitType
MaxVPCsAssociatedByZone :: HostedZoneLimitType
data InsufficientDataHealthStatus
Healthy :: InsufficientDataHealthStatus
LastKnownStatus :: InsufficientDataHealthStatus
Unhealthy :: InsufficientDataHealthStatus
data RecordType
A :: RecordType
Aaaa :: RecordType
Caa :: RecordType
Cname :: RecordType
MX :: RecordType
NS :: RecordType
Naptr :: RecordType
Ptr :: RecordType
Soa :: RecordType
Spf :: RecordType
Srv :: RecordType
Txt :: RecordType
data ResettableElementName
ChildHealthChecks :: ResettableElementName
FullyQualifiedDomainName :: ResettableElementName
Regions :: ResettableElementName
ResourcePath :: ResettableElementName
data ReusableDelegationSetLimitType
MaxZonesByReusableDelegationSet :: ReusableDelegationSetLimitType
data Statistic
Average :: Statistic
Maximum :: Statistic
Minimum :: Statistic
SampleCount :: Statistic
Sum :: Statistic
data TagResourceType
Healthcheck :: TagResourceType
Hostedzone :: TagResourceType
data VPCRegion
ApNortheast1 :: VPCRegion
ApNortheast2 :: VPCRegion
ApNortheast3 :: VPCRegion
ApSouth1 :: VPCRegion
ApSoutheast1 :: VPCRegion
ApSoutheast2 :: VPCRegion
CaCentral1 :: VPCRegion
CnNorth1 :: VPCRegion
EuCentral1 :: VPCRegion
EuWest1 :: VPCRegion
EuWest2 :: VPCRegion
EuWest3 :: VPCRegion
SaEast1 :: VPCRegion
UsEast1 :: VPCRegion
UsEast2 :: VPCRegion
UsWest1 :: VPCRegion
UsWest2 :: VPCRegion

-- | A complex type that contains the type of limit that you specified in
--   the request and the current value for that limit.
--   
--   <i>See:</i> <a>accountLimit</a> smart constructor.
data AccountLimit

-- | Creates a value of <a>AccountLimit</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>alType</a> - The limit that you requested. Valid values include
--   the following: * <b>MAX_HEALTH_CHECKS_BY_OWNER</b> : The maximum
--   number of health checks that you can create using the current account.
--   * <b>MAX_HOSTED_ZONES_BY_OWNER</b> : The maximum number of hosted
--   zones that you can create using the current account. *
--   <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b> : The maximum number of
--   reusable delegation sets that you can create using the current
--   account. * <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b> : The maximum number
--   of traffic policies that you can create using the current account. *
--   <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b> : The maximum number of
--   traffic policy instances that you can create using the current
--   account. (Traffic policy instances are referred to as traffic flow
--   policy records in the Amazon Route 53 console.)</li>
--   <li><a>alValue</a> - The current value for the limit that is specified
--   by 'AccountLimit$Type' .</li>
--   </ul>
accountLimit :: AccountLimitType -> Natural -> AccountLimit

-- | The limit that you requested. Valid values include the following: *
--   <b>MAX_HEALTH_CHECKS_BY_OWNER</b> : The maximum number of health
--   checks that you can create using the current account. *
--   <b>MAX_HOSTED_ZONES_BY_OWNER</b> : The maximum number of hosted zones
--   that you can create using the current account. *
--   <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b> : The maximum number of
--   reusable delegation sets that you can create using the current
--   account. * <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b> : The maximum number
--   of traffic policies that you can create using the current account. *
--   <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b> : The maximum number of
--   traffic policy instances that you can create using the current
--   account. (Traffic policy instances are referred to as traffic flow
--   policy records in the Amazon Route 53 console.)
alType :: Lens' AccountLimit AccountLimitType

-- | The current value for the limit that is specified by
--   'AccountLimit$Type' .
alValue :: Lens' AccountLimit Natural

-- | 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 the <i>AWS
--   Regions and Endpoints</i> chapter of 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 the <i>AWS Regions and Endpoints</i>
--   chapter of 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. An 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 you want to route traffic: *
--   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 "AWS 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: * <a>Elastic Load Balancing</a> table in the "AWS
--   Regions and Endpoints" chapter of the <i>Amazon Web Services General
--   Reference</i> : Use the value that corresponds with the region that
--   you created your load balancer in. Note that there are separate
--   columns for Application and Classic Load Balancers and for Network
--   Load Balancers. * <b>AWS Management Console</b> : Go to the Amazon EC2
--   page, choose <b>Load Balancers</b> in the navigation pane, select the
--   load balancer, and get the value of the <b>Hosted zone</b> field on
--   the <b>Description</b> tab. * <b>Elastic Load Balancing API</b> : Use
--   <tt>DescribeLoadBalancers</tt> to get the applicable value. For more
--   information, see the applicable guide: * Classic Load Balancers: Use
--   <a>DescribeLoadBalancers</a> to get the value of
--   <tt>CanonicalHostedZoneNameId</tt> . * Application and Network Load
--   Balancers: Use <a>DescribeLoadBalancers</a> to get the value of
--   <tt>CanonicalHostedZoneId</tt> . * <b>AWS CLI</b> : Use
--   <tt>describe-load-balancers</tt> to get the applicable value. For more
--   information, see the applicable guide: * Classic Load Balancers: Use
--   <a>describe-load-balancers</a> to get the value of
--   <tt>CanonicalHostedZoneNameId</tt> . * Application and Network Load
--   Balancers: Use <a>describe-load-balancers</a> to get the value of
--   <tt>CanonicalHostedZoneId</tt> . * An Amazon S3 bucket configured as a
--   static website * Specify the hosted zone ID for the region that you
--   created the bucket in. For more information about valid values, see
--   the <a>Amazon Simple Storage Service Website Endpoints</a> table in
--   the "AWS Regions and Endpoints" chapter of 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: *
--   CloudFront distribution * 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> . * Elastic Beanstalk environment * 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 Management 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 Beanstalk 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
--   <tt>describe-environments</tt> 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> . * ELB load balancer * Specify the DNS name that is
--   associated with the load balancer. Get the DNS name by using the AWS
--   Management Console, the ELB API, or the AWS CLI. * <b>AWS Management
--   Console</b> : Go to the EC2 page, choose <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. (If you're routing traffic to a Classic Load Balancer, get the
--   value that begins with <b>dualstack</b> .) * <b>Elastic Load Balancing
--   API</b> : Use <tt>DescribeLoadBalancers</tt> to get the value of
--   <tt>DNSName</tt> . For more information, see the applicable guide: *
--   Classic Load Balancers: <a>DescribeLoadBalancers</a> * Application and
--   Network Load Balancers: <a>DescribeLoadBalancers</a> * <b>AWS CLI</b>
--   : Use <tt>describe-load-balancers</tt> to get the value of
--   <tt>DNSName</tt> . For more information, see the applicable guide: *
--   Classic Load Balancers: <a>describe-load-balancers</a> * Application
--   and Network Load Balancers: <a>describe-load-balancers</a> * Amazon S3
--   bucket that is configured as a static website * Specify the domain
--   name of the Amazon S3 website endpoint in which you created the
--   bucket, for example, <tt>s3-website-us-east-2.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>Getting Started with Amazon Route 53</a>
--   in the <i>Amazon Route 53 Developer Guide.</i> * Another Amazon Route
--   53 resource record set * 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, failover
--   alias, geolocation alias, latency alias, and weighted alias resource
--   record sets:</i> When <tt>EvaluateTargetHealth</tt> is <tt>true</tt> ,
--   an alias resource record set inherits the health of the referenced AWS
--   resource, such as an ELB load balancer, or the referenced resource
--   record set. 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> , ELB 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
--   ELB 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
--   Developer 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 you want to route traffic: * 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 "AWS 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: * <a>Elastic Load
--   Balancing</a> table in the "AWS Regions and Endpoints" chapter of the
--   <i>Amazon Web Services General Reference</i> : Use the value that
--   corresponds with the region that you created your load balancer in.
--   Note that there are separate columns for Application and Classic Load
--   Balancers and for Network Load Balancers. * <b>AWS Management
--   Console</b> : Go to the Amazon EC2 page, choose <b>Load Balancers</b>
--   in the navigation pane, select the load balancer, and get the value of
--   the <b>Hosted zone</b> field on the <b>Description</b> tab. *
--   <b>Elastic Load Balancing API</b> : Use <tt>DescribeLoadBalancers</tt>
--   to get the applicable value. For more information, see the applicable
--   guide: * Classic Load Balancers: Use <a>DescribeLoadBalancers</a> to
--   get the value of <tt>CanonicalHostedZoneNameId</tt> . * Application
--   and Network Load Balancers: Use <a>DescribeLoadBalancers</a> to get
--   the value of <tt>CanonicalHostedZoneId</tt> . * <b>AWS CLI</b> : Use
--   <tt>describe-load-balancers</tt> to get the applicable value. For more
--   information, see the applicable guide: * Classic Load Balancers: Use
--   <a>describe-load-balancers</a> to get the value of
--   <tt>CanonicalHostedZoneNameId</tt> . * Application and Network Load
--   Balancers: Use <a>describe-load-balancers</a> to get the value of
--   <tt>CanonicalHostedZoneId</tt> . * An Amazon S3 bucket configured as a
--   static website * Specify the hosted zone ID for the region that you
--   created the bucket in. For more information about valid values, see
--   the <a>Amazon Simple Storage Service Website Endpoints</a> table in
--   the "AWS Regions and Endpoints" chapter of 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: * CloudFront distribution
--   * 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> . * Elastic Beanstalk
--   environment * 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 Management 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 Beanstalk 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
--   <tt>describe-environments</tt> 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> . * ELB load balancer * Specify the DNS name that is
--   associated with the load balancer. Get the DNS name by using the AWS
--   Management Console, the ELB API, or the AWS CLI. * <b>AWS Management
--   Console</b> : Go to the EC2 page, choose <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. (If you're routing traffic to a Classic Load Balancer, get the
--   value that begins with <b>dualstack</b> .) * <b>Elastic Load Balancing
--   API</b> : Use <tt>DescribeLoadBalancers</tt> to get the value of
--   <tt>DNSName</tt> . For more information, see the applicable guide: *
--   Classic Load Balancers: <a>DescribeLoadBalancers</a> * Application and
--   Network Load Balancers: <a>DescribeLoadBalancers</a> * <b>AWS CLI</b>
--   : Use <tt>describe-load-balancers</tt> to get the value of
--   <tt>DNSName</tt> . For more information, see the applicable guide: *
--   Classic Load Balancers: <a>describe-load-balancers</a> * Application
--   and Network Load Balancers: <a>describe-load-balancers</a> * Amazon S3
--   bucket that is configured as a static website * Specify the domain
--   name of the Amazon S3 website endpoint in which you created the
--   bucket, for example, <tt>s3-website-us-east-2.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>Getting Started with Amazon Route 53</a>
--   in the <i>Amazon Route 53 Developer Guide.</i> * Another Amazon Route
--   53 resource record set * 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, failover alias, geolocation alias, latency
--   alias, and weighted alias resource record sets:</i> When
--   <tt>EvaluateTargetHealth</tt> is <tt>true</tt> , an alias resource
--   record set inherits the health of the referenced AWS resource, such as
--   an ELB load balancer, or the referenced resource record set. 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> ,
--   ELB 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
--   ELB 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
--   Developer 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.</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.
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 that the change request
--   was submitted in <a>ISO 8601 format</a> and Coordinated Universal Time
--   (UTC). For example, the value <tt>2017-03-27T17:48:16.751Z</tt>
--   represents March 27, 2017 at 17:48:16.751 UTC.</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 that the change request was submitted in <a>ISO 8601
--   format</a> and Coordinated Universal Time (UTC). For example, the
--   value <tt>2017-03-27T17:48:16.751Z</tt> represents March 27, 2017 at
--   17:48:16.751 UTC.
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 lists the name servers in a delegation set, as
--   well as the <tt>CallerReference</tt> and the <tt>ID</tt> for the
--   delegation set.
--   
--   <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> - The value that you specified for
--   <tt>CallerReference</tt> when you created the reusable delegation
--   set.</li>
--   <li><a>dsNameServers</a> - A complex type that contains a list of the
--   authoritative name servers for a hosted zone or for a reusable
--   delegation set.</li>
--   </ul>
delegationSet :: NonEmpty Text -> DelegationSet

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

-- | The value that you specified for <tt>CallerReference</tt> when you
--   created the reusable delegation set.
dsCallerReference :: Lens' DelegationSet (Maybe Text)

-- | A complex type that contains a list of the authoritative name servers
--   for a hosted zone or for a reusable delegation set.
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>hcLinkedService</a> - If the health check was created by
--   another service, the service that created the health check. When a
--   health check is created by another service, you can't edit or delete
--   it using Amazon Route 53.</li>
--   <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

-- | If the health check was created by another service, the service that
--   created the health check. When a health check is created by another
--   service, you can't edit or delete it using Amazon Route 53.
hcLinkedService :: Lens' HealthCheck (Maybe LinkedService)

-- | 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> . If you don't specify a value for
--   <tt>FailureThreshold</tt> , the default value is three health
--   checks.</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. Use one of the
--   following formats for the value of <tt>IPAddress</tt> : * <b>IPv4
--   address</b> : four values between 0 and 255, separated by periods (.),
--   for example, <tt>192.0.2.44</tt> . * <b>IPv6 address</b> : eight
--   groups of four hexadecimal values, separated by colons (:), for
--   example, <tt>2001:0db8:85a3:0000:0000:abcd:0001:2345</tt> . You can
--   also shorten IPv6 addresses as described in RFC 5952, for example,
--   <tt>2001:db8:85a3::abcd:1:2345</tt> . 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
--   <tt>Region</tt> element for each region from which you want Amazon
--   Route 53 health checkers to check the specified endpoint. If you don't
--   specify any regions, Amazon Route 53 health checkers automatically
--   performs checks from all of the regions that are listed under <b>Valid
--   Values</b> . If you update a health check to remove a region that has
--   been performing health checks, Amazon Route 53 will briefly continue
--   to perform checks from that region to ensure that some health checkers
--   are always checking the endpoint (for example, if you replace three
--   regions with four different regions).</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 53
--   uses the status of the health check from the last time that 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-2-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. If you don't specify a value for
--   <tt>RequestInterval</tt> , the default value is <tt>30</tt>
--   seconds.</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 <tt>Port</tt>
--   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, see <a>How Amazon Route 53 Determines Whether an
--   Endpoint Is Healthy</a> in the <i>Amazon Route 53 Developer Guide</i>
--   .</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> . If you don't specify a
--   value for <tt>FailureThreshold</tt> , the default value is three
--   health checks.
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. Use one of the following formats for the value of
--   <tt>IPAddress</tt> : * <b>IPv4 address</b> : four values between 0 and
--   255, separated by periods (.), for example, <tt>192.0.2.44</tt> . *
--   <b>IPv6 address</b> : eight groups of four hexadecimal values,
--   separated by colons (:), for example,
--   <tt>2001:0db8:85a3:0000:0000:abcd:0001:2345</tt> . You can also
--   shorten IPv6 addresses as described in RFC 5952, for example,
--   <tt>2001:db8:85a3::abcd:1:2345</tt> . 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 <tt>Region</tt> element for each
--   region from which you want Amazon Route 53 health checkers to check
--   the specified endpoint. If you don't specify any regions, Amazon Route
--   53 health checkers automatically performs checks from all of the
--   regions that are listed under <b>Valid Values</b> . If you update a
--   health check to remove a region that has been performing health
--   checks, Amazon Route 53 will briefly continue to perform checks from
--   that region to ensure that some health checkers are always checking
--   the endpoint (for example, if you replace three regions with four
--   different regions).
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 53 uses the status of the health check from the last
--   time that 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-2-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. If you don't
--   specify a value for <tt>RequestInterval</tt> , the default value is
--   <tt>30</tt> seconds.
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 <tt>Port</tt> 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, see <a>How Amazon Route 53 Determines Whether an
--   Endpoint Is Healthy</a> in the <i>Amazon Route 53 Developer Guide</i>
--   .
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 <tt>StatusReport</tt> .</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 <tt>StatusReport</tt> .
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>hzLinkedService</a> - If the hosted zone was created by another
--   service, the service that created the hosted zone. When a hosted zone
--   is created by another service, you can't edit or delete it using
--   Amazon Route 53.</li>
--   <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

-- | If the hosted zone was created by another service, the service that
--   created the hosted zone. When a hosted zone is created by another
--   service, you can't edit or delete it using Amazon Route 53.
hzLinkedService :: Lens' HostedZone (Maybe LinkedService)

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

-- | A complex type that contains the type of limit that you specified in
--   the request and the current value for that limit.
--   
--   <i>See:</i> <a>hostedZoneLimit</a> smart constructor.
data HostedZoneLimit

-- | Creates a value of <a>HostedZoneLimit</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>hzlType</a> - The limit that you requested. Valid values
--   include the following: * <b>MAX_RRSETS_BY_ZONE</b> : The maximum
--   number of records that you can create in the specified hosted zone. *
--   <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b> : The maximum number of Amazon VPCs
--   that you can associate with the specified private hosted zone.</li>
--   <li><a>hzlValue</a> - The current value for the limit that is
--   specified by <tt>Type</tt> .</li>
--   </ul>
hostedZoneLimit :: HostedZoneLimitType -> Natural -> HostedZoneLimit

-- | The limit that you requested. Valid values include the following: *
--   <b>MAX_RRSETS_BY_ZONE</b> : The maximum number of records that you can
--   create in the specified hosted zone. *
--   <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b> : The maximum number of Amazon VPCs
--   that you can associate with the specified private hosted zone.
hzlType :: Lens' HostedZoneLimit HostedZoneLimitType

-- | The current value for the limit that is specified by <tt>Type</tt> .
hzlValue :: Lens' HostedZoneLimit Natural

-- | If a health check or hosted zone was created by another service,
--   <tt>LinkedService</tt> is a complex type that describes the service
--   that created the resource. When a resource is created by another
--   service, you can't edit or delete it using Amazon Route 53.
--   
--   <i>See:</i> <a>linkedService</a> smart constructor.
data LinkedService

-- | Creates a value of <a>LinkedService</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>lsServicePrincipal</a> - If the health check or hosted zone was
--   created by another service, the service that created the resource.
--   When a resource is created by another service, you can't edit or
--   delete it using Amazon Route 53.</li>
--   <li><a>lsDescription</a> - If the health check or hosted zone was
--   created by another service, an optional description that can be
--   provided by the other service. When a resource is created by another
--   service, you can't edit or delete it using Amazon Route 53.</li>
--   </ul>
linkedService :: LinkedService

-- | If the health check or hosted zone was created by another service, the
--   service that created the resource. When a resource is created by
--   another service, you can't edit or delete it using Amazon Route 53.
lsServicePrincipal :: Lens' LinkedService (Maybe Text)

-- | If the health check or hosted zone was created by another service, an
--   optional description that can be provided by the other service. When a
--   resource is created by another service, you can't edit or delete it
--   using Amazon Route 53.
lsDescription :: Lens' LinkedService (Maybe Text)

-- | A complex type that contains information about a configuration for DNS
--   query logging.
--   
--   <i>See:</i> <a>queryLoggingConfig</a> smart constructor.
data QueryLoggingConfig

-- | Creates a value of <a>QueryLoggingConfig</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>qlcId</a> - The ID for a configuration for DNS query
--   logging.</li>
--   <li><a>qlcHostedZoneId</a> - The ID of the hosted zone that CloudWatch
--   Logs is logging queries for.</li>
--   <li><a>qlcCloudWatchLogsLogGroupARN</a> - The Amazon Resource Name
--   (ARN) of the CloudWatch Logs log group that Amazon Route 53 is
--   publishing logs to.</li>
--   </ul>
queryLoggingConfig :: Text -> ResourceId -> Text -> QueryLoggingConfig

-- | The ID for a configuration for DNS query logging.
qlcId :: Lens' QueryLoggingConfig Text

-- | The ID of the hosted zone that CloudWatch Logs is logging queries for.
qlcHostedZoneId :: Lens' QueryLoggingConfig ResourceId

-- | The Amazon Resource Name (ARN) of the CloudWatch Logs log group that
--   Amazon Route 53 is publishing logs to.
qlcCloudWatchLogsLogGroupARN :: Lens' QueryLoggingConfig 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 or updating 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 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're 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></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 more information, see <a>How Amazon Route 53
--   Determines Whether an Endpoint Is Healthy</a> . 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 group of weighted, latency, geolocation, or
--   failover resource record sets, 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 a group of alias, weighted alias, latency alias,
--   geolocation alias, or failover alias resource record sets, 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-2-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 you created the resource that this
--   resource record set refers to. 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 aren't 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 that you create
--   latency resource record sets for. * 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>rrsMultiValueAnswer</a> - <i>Multivalue answer resource record
--   sets only</i> : To route traffic approximately randomly to multiple
--   resources, such as web servers, create one multivalue answer record
--   for each resource and specify <tt>true</tt> for
--   <tt>MultiValueAnswer</tt> . Note the following: * If you associate a
--   health check with a multivalue answer resource record set, Amazon
--   Route 53 responds to DNS queries with the corresponding IP address
--   only when the health check is healthy. * If you don't associate a
--   health check with a multivalue answer record, Amazon Route 53 always
--   considers the record to be healthy. * Amazon Route 53 responds to DNS
--   queries with up to eight healthy records; if you have eight or fewer
--   healthy records, Amazon Route 53 responds to all DNS queries with all
--   the healthy records. * If you have more than eight healthy records,
--   Amazon Route 53 responds to different DNS resolvers with different
--   combinations of healthy records. * When all records are unhealthy,
--   Amazon Route 53 responds to DNS queries with up to eight unhealthy
--   records. * If a resource becomes unavailable after a resolver caches a
--   response, client software typically tries another of the IP addresses
--   in the response. You can't create multivalue answer alias
--   records.</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>CAA</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>CAA</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. Valid
--   values for multivalue answer resource record sets: <tt>A</tt> |
--   <tt>AAAA</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 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 that you're creating the
--   alias for. All values are supported except <tt>NS</tt> and
--   <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 or updating 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 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're 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>
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 more
--   information, see <a>How Amazon Route 53 Determines Whether an Endpoint
--   Is Healthy</a> . 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 group of
--   weighted, latency, geolocation, or failover resource record sets, 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
--   a group of alias, weighted alias, latency alias, geolocation alias, or
--   failover alias resource record sets, 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-2-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 you created the resource that this resource record set refers
--   to. 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 aren't 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 that you create latency
--   resource record sets for. * 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)

-- | <i>Multivalue answer resource record sets only</i> : To route traffic
--   approximately randomly to multiple resources, such as web servers,
--   create one multivalue answer record for each resource and specify
--   <tt>true</tt> for <tt>MultiValueAnswer</tt> . Note the following: * If
--   you associate a health check with a multivalue answer resource record
--   set, Amazon Route 53 responds to DNS queries with the corresponding IP
--   address only when the health check is healthy. * If you don't
--   associate a health check with a multivalue answer record, Amazon Route
--   53 always considers the record to be healthy. * Amazon Route 53
--   responds to DNS queries with up to eight healthy records; if you have
--   eight or fewer healthy records, Amazon Route 53 responds to all DNS
--   queries with all the healthy records. * If you have more than eight
--   healthy records, Amazon Route 53 responds to different DNS resolvers
--   with different combinations of healthy records. * When all records are
--   unhealthy, Amazon Route 53 responds to DNS queries with up to eight
--   unhealthy records. * If a resource becomes unavailable after a
--   resolver caches a response, client software typically tries another of
--   the IP addresses in the response. You can't create multivalue answer
--   alias records.
rrsMultiValueAnswer :: Lens' ResourceRecordSet (Maybe Bool)

-- | 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>CAA</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>CAA</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. Valid values for multivalue answer resource
--   record sets: <tt>A</tt> | <tt>AAAA</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 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
--   that you're creating the alias for. All values are supported except
--   <tt>NS</tt> and <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 type of limit that you specified in
--   the request and the current value for that limit.
--   
--   <i>See:</i> <a>reusableDelegationSetLimit</a> smart constructor.
data ReusableDelegationSetLimit

-- | Creates a value of <a>ReusableDelegationSetLimit</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>rdslType</a> - The limit that you requested:
--   <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> , the maximum number of
--   hosted zones that you can associate with the specified reusable
--   delegation set.</li>
--   <li><a>rdslValue</a> - The current value for the
--   <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> limit.</li>
--   </ul>
reusableDelegationSetLimit :: ReusableDelegationSetLimitType -> Natural -> ReusableDelegationSetLimit

-- | The limit that you requested:
--   <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> , the maximum number of
--   hosted zones that you can associate with the specified reusable
--   delegation set.
rdslType :: Lens' ReusableDelegationSetLimit ReusableDelegationSetLimitType

-- | The current value for the
--   <tt>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</tt> limit.
rdslValue :: Lens' ReusableDelegationSetLimit Natural

-- | 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 date and time that the health checker
--   performed the health check in <a>ISO 8601 format</a> and Coordinated
--   Universal Time (UTC). For example, the value
--   <tt>2017-03-27T17:48:16.751Z</tt> represents March 27, 2017 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 date and time that the health checker performed the health check
--   in <a>ISO 8601 format</a> and Coordinated Universal Time (UTC). For
--   example, the value <tt>2017-03-27T17:48:16.751Z</tt> represents March
--   27, 2017 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 that you
--   want to change the <tt>Value</tt> for. * <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 that you want to
--   change the <tt>Value</tt> for. * <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

-- | (Private hosted zones only) A complex type that contains information
--   about an Amazon VPC.
--   
--   <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> - (Private hosted zones only) The region in
--   which you created an Amazon VPC.</li>
--   <li><a>vpcVPCId</a> - Undocumented member.</li>
--   </ul>
vpc :: VPC

-- | (Private hosted zones only) The region in which you created an Amazon
--   VPC.
vpcVPCRegion :: Lens' VPC (Maybe VPCRegion)

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