Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- HealthCheckVersionMismatch
- InvalidInput
- HostedZoneNotEmpty
- InvalidArgument
- TrafficPolicyInstanceAlreadyExists
- ConflictingTypes
- ConcurrentModification
- DelegationSetAlreadyReusable
- PriorRequestNotComplete
- InvalidChangeBatch
- TrafficPolicyAlreadyExists
- InvalidTrafficPolicyDocument
- DelegationSetNotReusable
- InvalidDomainName
- NoSuchTrafficPolicy
- HostedZoneNotFound
- DelegationSetInUse
- NoSuchDelegationSet
- HealthCheckAlreadyExists
- TooManyTrafficPolicies
- NoSuchGeoLocation
- DelegationSetNotAvailable
- VPCAssociationNotFound
- ThrottlingException
- NoSuchChange
- LimitsExceeded
- TooManyTrafficPolicyInstances
- NoSuchTrafficPolicyInstance
- IncompatibleVersion
- PublicZoneVPCAssociation
- NoSuchHostedZone
- TooManyHostedZones
- HealthCheckInUse
- DelegationSetAlreadyCreated
- ConflictingDomainExists
- LastVPCAssociation
- TooManyHealthChecks
- NoSuchHealthCheck
- TrafficPolicyInUse
- InvalidVPCId
- HostedZoneAlreadyExists
- Waiters
- Operations
- AssociateVPCWithHostedZone
- DeleteTrafficPolicy
- GetCheckerIPRanges
- GetTrafficPolicyInstance
- GetHealthCheckLastFailureReason
- DeleteReusableDelegationSet
- ListHostedZonesByName
- ListReusableDelegationSets
- ListTagsForResource
- ListTrafficPolicyInstances
- CreateTrafficPolicyInstance
- GetChange
- ChangeResourceRecordSets
- DeleteHealthCheck
- UpdateHealthCheck
- CreateHostedZone
- ListTrafficPolicyInstancesByPolicy
- DisassociateVPCFromHostedZone
- CreateHealthCheck
- ChangeTagsForResource
- ListHostedZones (Paginated)
- GetTrafficPolicyInstanceCount
- ListGeoLocations
- GetHostedZone
- GetHealthCheck
- ListResourceRecordSets (Paginated)
- CreateReusableDelegationSet
- GetHealthCheckCount
- UpdateTrafficPolicyComment
- GetHostedZoneCount
- GetReusableDelegationSet
- DeleteTrafficPolicyInstance
- UpdateTrafficPolicyInstance
- UpdateHostedZoneComment
- GetHealthCheckStatus
- CreateTrafficPolicyVersion
- TestDNSAnswer
- ListHealthChecks (Paginated)
- GetTrafficPolicy
- ListTrafficPolicyVersions
- DeleteHostedZone
- GetGeoLocation
- ListTagsForResources
- CreateTrafficPolicy
- ListTrafficPolicyInstancesByHostedZone
- ListTrafficPolicies
- Types
- Re-exported Types
- ChangeAction
- ChangeStatus
- CloudWatchRegion
- ComparisonOperator
- Failover
- HealthCheckRegion
- HealthCheckType
- InsufficientDataHealthStatus
- RecordType
- Statistic
- TagResourceType
- VPCRegion
- AlarmIdentifier
- AliasTarget
- Change
- ChangeBatch
- ChangeInfo
- CloudWatchAlarmConfiguration
- DelegationSet
- Dimension
- GeoLocation
- GeoLocationDetails
- HealthCheck
- HealthCheckConfig
- HealthCheckObservation
- HostedZone
- HostedZoneConfig
- ResourceRecord
- ResourceRecordSet
- ResourceTagSet
- StatusReport
- Tag
- TrafficPolicy
- TrafficPolicyInstance
- TrafficPolicySummary
- VPC
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.
- route53 :: Service
- _HealthCheckVersionMismatch :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidInput :: AsError a => Getting (First ServiceError) a ServiceError
- _HostedZoneNotEmpty :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError
- _TrafficPolicyInstanceAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictingTypes :: AsError a => Getting (First ServiceError) a ServiceError
- _ConcurrentModification :: AsError a => Getting (First ServiceError) a ServiceError
- _DelegationSetAlreadyReusable :: AsError a => Getting (First ServiceError) a ServiceError
- _PriorRequestNotComplete :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidChangeBatch :: AsError a => Getting (First ServiceError) a ServiceError
- _TrafficPolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTrafficPolicyDocument :: AsError a => Getting (First ServiceError) a ServiceError
- _DelegationSetNotReusable :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDomainName :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchTrafficPolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _HostedZoneNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _DelegationSetInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchDelegationSet :: AsError a => Getting (First ServiceError) a ServiceError
- _HealthCheckAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTrafficPolicies :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchGeoLocation :: AsError a => Getting (First ServiceError) a ServiceError
- _DelegationSetNotAvailable :: AsError a => Getting (First ServiceError) a ServiceError
- _VPCAssociationNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchChange :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitsExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTrafficPolicyInstances :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchTrafficPolicyInstance :: AsError a => Getting (First ServiceError) a ServiceError
- _IncompatibleVersion :: AsError a => Getting (First ServiceError) a ServiceError
- _PublicZoneVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchHostedZone :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyHostedZones :: AsError a => Getting (First ServiceError) a ServiceError
- _HealthCheckInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _DelegationSetAlreadyCreated :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictingDomainExists :: AsError a => Getting (First ServiceError) a ServiceError
- _LastVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyHealthChecks :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchHealthCheck :: AsError a => Getting (First ServiceError) a ServiceError
- _TrafficPolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidVPCId :: AsError a => Getting (First ServiceError) a ServiceError
- _HostedZoneAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- resourceRecordSetsChanged :: Wait GetChange
- module Network.AWS.Route53.AssociateVPCWithHostedZone
- module Network.AWS.Route53.DeleteTrafficPolicy
- module Network.AWS.Route53.GetCheckerIPRanges
- module Network.AWS.Route53.GetTrafficPolicyInstance
- module Network.AWS.Route53.GetHealthCheckLastFailureReason
- module Network.AWS.Route53.DeleteReusableDelegationSet
- module Network.AWS.Route53.ListHostedZonesByName
- module Network.AWS.Route53.ListReusableDelegationSets
- module Network.AWS.Route53.ListTagsForResource
- module Network.AWS.Route53.ListTrafficPolicyInstances
- module Network.AWS.Route53.CreateTrafficPolicyInstance
- module Network.AWS.Route53.GetChange
- module Network.AWS.Route53.ChangeResourceRecordSets
- module Network.AWS.Route53.DeleteHealthCheck
- module Network.AWS.Route53.UpdateHealthCheck
- module Network.AWS.Route53.CreateHostedZone
- module Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy
- module Network.AWS.Route53.DisassociateVPCFromHostedZone
- module Network.AWS.Route53.CreateHealthCheck
- module Network.AWS.Route53.ChangeTagsForResource
- module Network.AWS.Route53.ListHostedZones
- module Network.AWS.Route53.GetTrafficPolicyInstanceCount
- module Network.AWS.Route53.ListGeoLocations
- module Network.AWS.Route53.GetHostedZone
- module Network.AWS.Route53.GetHealthCheck
- module Network.AWS.Route53.ListResourceRecordSets
- module Network.AWS.Route53.CreateReusableDelegationSet
- module Network.AWS.Route53.GetHealthCheckCount
- module Network.AWS.Route53.UpdateTrafficPolicyComment
- module Network.AWS.Route53.GetHostedZoneCount
- module Network.AWS.Route53.GetReusableDelegationSet
- module Network.AWS.Route53.DeleteTrafficPolicyInstance
- module Network.AWS.Route53.UpdateTrafficPolicyInstance
- module Network.AWS.Route53.UpdateHostedZoneComment
- module Network.AWS.Route53.GetHealthCheckStatus
- module Network.AWS.Route53.CreateTrafficPolicyVersion
- module Network.AWS.Route53.TestDNSAnswer
- module Network.AWS.Route53.ListHealthChecks
- module Network.AWS.Route53.GetTrafficPolicy
- module Network.AWS.Route53.ListTrafficPolicyVersions
- module Network.AWS.Route53.DeleteHostedZone
- module Network.AWS.Route53.GetGeoLocation
- module Network.AWS.Route53.ListTagsForResources
- module Network.AWS.Route53.CreateTrafficPolicy
- module Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone
- module Network.AWS.Route53.ListTrafficPolicies
- data Region :: *
- data ChangeAction
- data ChangeStatus
- data CloudWatchRegion
- data ComparisonOperator
- data Failover
- data HealthCheckRegion
- data HealthCheckType
- data InsufficientDataHealthStatus
- data RecordType
- data Statistic
- = Average
- | Maximum
- | Minimum
- | SampleCount
- | Sum
- data TagResourceType
- data VPCRegion
- data AlarmIdentifier
- alarmIdentifier :: CloudWatchRegion -> Text -> AlarmIdentifier
- aiRegion :: Lens' AlarmIdentifier CloudWatchRegion
- aiName :: Lens' AlarmIdentifier Text
- data AliasTarget
- aliasTarget :: Text -> Text -> Bool -> AliasTarget
- atHostedZoneId :: Lens' AliasTarget Text
- atDNSName :: Lens' AliasTarget Text
- atEvaluateTargetHealth :: Lens' AliasTarget Bool
- data Change
- change :: ChangeAction -> ResourceRecordSet -> Change
- cAction :: Lens' Change ChangeAction
- cResourceRecordSet :: Lens' Change ResourceRecordSet
- data ChangeBatch
- changeBatch :: NonEmpty Change -> ChangeBatch
- cbComment :: Lens' ChangeBatch (Maybe Text)
- cbChanges :: Lens' ChangeBatch (NonEmpty Change)
- data ChangeInfo
- changeInfo :: Text -> ChangeStatus -> UTCTime -> ChangeInfo
- ciComment :: Lens' ChangeInfo (Maybe Text)
- ciId :: Lens' ChangeInfo Text
- ciStatus :: Lens' ChangeInfo ChangeStatus
- ciSubmittedAt :: Lens' ChangeInfo UTCTime
- data CloudWatchAlarmConfiguration
- cloudWatchAlarmConfiguration :: Natural -> Double -> ComparisonOperator -> Natural -> Text -> Text -> Statistic -> CloudWatchAlarmConfiguration
- cwacDimensions :: Lens' CloudWatchAlarmConfiguration [Dimension]
- cwacEvaluationPeriods :: Lens' CloudWatchAlarmConfiguration Natural
- cwacThreshold :: Lens' CloudWatchAlarmConfiguration Double
- cwacComparisonOperator :: Lens' CloudWatchAlarmConfiguration ComparisonOperator
- cwacPeriod :: Lens' CloudWatchAlarmConfiguration Natural
- cwacMetricName :: Lens' CloudWatchAlarmConfiguration Text
- cwacNamespace :: Lens' CloudWatchAlarmConfiguration Text
- cwacStatistic :: Lens' CloudWatchAlarmConfiguration Statistic
- data DelegationSet
- delegationSet :: NonEmpty Text -> DelegationSet
- dsId :: Lens' DelegationSet (Maybe Text)
- dsCallerReference :: Lens' DelegationSet (Maybe Text)
- dsNameServers :: Lens' DelegationSet (NonEmpty Text)
- data Dimension
- dimension :: Text -> Text -> Dimension
- dName :: Lens' Dimension Text
- dValue :: Lens' Dimension Text
- data GeoLocation
- geoLocation :: GeoLocation
- glSubdivisionCode :: Lens' GeoLocation (Maybe Text)
- glCountryCode :: Lens' GeoLocation (Maybe Text)
- glContinentCode :: Lens' GeoLocation (Maybe Text)
- data GeoLocationDetails
- geoLocationDetails :: GeoLocationDetails
- gldSubdivisionName :: Lens' GeoLocationDetails (Maybe Text)
- gldSubdivisionCode :: Lens' GeoLocationDetails (Maybe Text)
- gldCountryName :: Lens' GeoLocationDetails (Maybe Text)
- gldCountryCode :: Lens' GeoLocationDetails (Maybe Text)
- gldContinentCode :: Lens' GeoLocationDetails (Maybe Text)
- gldContinentName :: Lens' GeoLocationDetails (Maybe Text)
- data HealthCheck
- healthCheck :: Text -> Text -> HealthCheckConfig -> Natural -> HealthCheck
- hcCloudWatchAlarmConfiguration :: Lens' HealthCheck (Maybe CloudWatchAlarmConfiguration)
- hcId :: Lens' HealthCheck Text
- hcCallerReference :: Lens' HealthCheck Text
- hcHealthCheckConfig :: Lens' HealthCheck HealthCheckConfig
- hcHealthCheckVersion :: Lens' HealthCheck Natural
- data HealthCheckConfig
- healthCheckConfig :: HealthCheckType -> HealthCheckConfig
- hccFailureThreshold :: Lens' HealthCheckConfig (Maybe Natural)
- hccIPAddress :: Lens' HealthCheckConfig (Maybe Text)
- hccEnableSNI :: Lens' HealthCheckConfig (Maybe Bool)
- hccSearchString :: Lens' HealthCheckConfig (Maybe Text)
- hccHealthThreshold :: Lens' HealthCheckConfig (Maybe Natural)
- hccRegions :: Lens' HealthCheckConfig (Maybe (NonEmpty HealthCheckRegion))
- hccResourcePath :: Lens' HealthCheckConfig (Maybe Text)
- hccInsufficientDataHealthStatus :: Lens' HealthCheckConfig (Maybe InsufficientDataHealthStatus)
- hccAlarmIdentifier :: Lens' HealthCheckConfig (Maybe AlarmIdentifier)
- hccMeasureLatency :: Lens' HealthCheckConfig (Maybe Bool)
- hccInverted :: Lens' HealthCheckConfig (Maybe Bool)
- hccFullyQualifiedDomainName :: Lens' HealthCheckConfig (Maybe Text)
- hccChildHealthChecks :: Lens' HealthCheckConfig [Text]
- hccRequestInterval :: Lens' HealthCheckConfig (Maybe Natural)
- hccPort :: Lens' HealthCheckConfig (Maybe Natural)
- hccType :: Lens' HealthCheckConfig HealthCheckType
- data HealthCheckObservation
- healthCheckObservation :: HealthCheckObservation
- hcoIPAddress :: Lens' HealthCheckObservation (Maybe Text)
- hcoStatusReport :: Lens' HealthCheckObservation (Maybe StatusReport)
- hcoRegion :: Lens' HealthCheckObservation (Maybe HealthCheckRegion)
- data HostedZone
- hostedZone :: Text -> Text -> Text -> HostedZone
- hzConfig :: Lens' HostedZone (Maybe HostedZoneConfig)
- hzResourceRecordSetCount :: Lens' HostedZone (Maybe Integer)
- hzId :: Lens' HostedZone Text
- hzName :: Lens' HostedZone Text
- hzCallerReference :: Lens' HostedZone Text
- data HostedZoneConfig
- hostedZoneConfig :: HostedZoneConfig
- hzcPrivateZone :: Lens' HostedZoneConfig (Maybe Bool)
- hzcComment :: Lens' HostedZoneConfig (Maybe Text)
- data ResourceRecord
- resourceRecord :: Text -> ResourceRecord
- rrValue :: Lens' ResourceRecord Text
- data ResourceRecordSet
- resourceRecordSet :: Text -> RecordType -> ResourceRecordSet
- rrsTTL :: Lens' ResourceRecordSet (Maybe Natural)
- rrsResourceRecords :: Lens' ResourceRecordSet (Maybe (NonEmpty ResourceRecord))
- rrsAliasTarget :: Lens' ResourceRecordSet (Maybe AliasTarget)
- rrsWeight :: Lens' ResourceRecordSet (Maybe Natural)
- rrsTrafficPolicyInstanceId :: Lens' ResourceRecordSet (Maybe Text)
- rrsSetIdentifier :: Lens' ResourceRecordSet (Maybe Text)
- rrsFailover :: Lens' ResourceRecordSet (Maybe Failover)
- rrsHealthCheckId :: Lens' ResourceRecordSet (Maybe Text)
- rrsRegion :: Lens' ResourceRecordSet (Maybe Region)
- rrsGeoLocation :: Lens' ResourceRecordSet (Maybe GeoLocation)
- rrsName :: Lens' ResourceRecordSet Text
- rrsType :: Lens' ResourceRecordSet RecordType
- data ResourceTagSet
- resourceTagSet :: ResourceTagSet
- rtsResourceId :: Lens' ResourceTagSet (Maybe Text)
- rtsResourceType :: Lens' ResourceTagSet (Maybe TagResourceType)
- rtsTags :: Lens' ResourceTagSet (Maybe (NonEmpty Tag))
- data StatusReport
- statusReport :: StatusReport
- srStatus :: Lens' StatusReport (Maybe Text)
- srCheckedTime :: Lens' StatusReport (Maybe UTCTime)
- data Tag
- tag :: Tag
- tagValue :: Lens' Tag (Maybe Text)
- tagKey :: Lens' Tag (Maybe Text)
- data TrafficPolicy
- trafficPolicy :: Text -> Natural -> Text -> RecordType -> Text -> TrafficPolicy
- tpComment :: Lens' TrafficPolicy (Maybe Text)
- tpId :: Lens' TrafficPolicy Text
- tpVersion :: Lens' TrafficPolicy Natural
- tpName :: Lens' TrafficPolicy Text
- tpType :: Lens' TrafficPolicy RecordType
- tpDocument :: Lens' TrafficPolicy Text
- data TrafficPolicyInstance
- trafficPolicyInstance :: Text -> Text -> Text -> Natural -> Text -> Text -> Text -> Natural -> RecordType -> TrafficPolicyInstance
- tpiId :: Lens' TrafficPolicyInstance Text
- tpiHostedZoneId :: Lens' TrafficPolicyInstance Text
- tpiName :: Lens' TrafficPolicyInstance Text
- tpiTTL :: Lens' TrafficPolicyInstance Natural
- tpiState :: Lens' TrafficPolicyInstance Text
- tpiMessage :: Lens' TrafficPolicyInstance Text
- tpiTrafficPolicyId :: Lens' TrafficPolicyInstance Text
- tpiTrafficPolicyVersion :: Lens' TrafficPolicyInstance Natural
- tpiTrafficPolicyType :: Lens' TrafficPolicyInstance RecordType
- data TrafficPolicySummary
- trafficPolicySummary :: Text -> Text -> RecordType -> Natural -> Natural -> TrafficPolicySummary
- tpsId :: Lens' TrafficPolicySummary Text
- tpsName :: Lens' TrafficPolicySummary Text
- tpsType :: Lens' TrafficPolicySummary RecordType
- tpsLatestVersion :: Lens' TrafficPolicySummary Natural
- tpsTrafficPolicyCount :: Lens' TrafficPolicySummary Natural
- data VPC
- vpc :: VPC
- vpcVPCRegion :: Lens' VPC (Maybe VPCRegion)
- vpcVPCId :: Lens' VPC (Maybe Text)
Service Configuration
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by Route53
.
HealthCheckVersionMismatch
_HealthCheckVersionMismatch :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for HealthCheckVersionMismatch' errors.
InvalidInput
_InvalidInput :: AsError a => Getting (First ServiceError) a ServiceError Source #
The input is not valid.
HostedZoneNotEmpty
_HostedZoneNotEmpty :: AsError a => Getting (First ServiceError) a ServiceError Source #
The hosted zone contains resource records that are not SOA or NS records.
InvalidArgument
_InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError Source #
Parameter name and problem.
TrafficPolicyInstanceAlreadyExists
_TrafficPolicyInstanceAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
Traffic policy instance with given Id already exists.
ConflictingTypes
_ConflictingTypes :: AsError a => Getting (First ServiceError) a ServiceError Source #
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 CreateTrafficPolicy
or CreateTrafficPolicyVersion
request.
ConcurrentModification
_ConcurrentModification :: AsError a => Getting (First ServiceError) a ServiceError Source #
Another user submitted a request to update the object at the same time that you did. Retry the request.
DelegationSetAlreadyReusable
_DelegationSetAlreadyReusable :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified delegation set has already been marked as reusable.
PriorRequestNotComplete
_PriorRequestNotComplete :: AsError a => Getting (First ServiceError) a ServiceError Source #
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 'HTTP 400 error' ('Bad request'). 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.
InvalidChangeBatch
_InvalidChangeBatch :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
TrafficPolicyAlreadyExists
_TrafficPolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
A traffic policy that has the same value for Name
already exists.
InvalidTrafficPolicyDocument
_InvalidTrafficPolicyDocument :: AsError a => Getting (First ServiceError) a ServiceError Source #
The format of the traffic policy document that you specified in the Document
element is invalid.
DelegationSetNotReusable
_DelegationSetNotReusable :: AsError a => Getting (First ServiceError) a ServiceError Source #
A reusable delegation set with the specified ID does not exist.
InvalidDomainName
_InvalidDomainName :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified domain name is not valid.
NoSuchTrafficPolicy
_NoSuchTrafficPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
No traffic policy exists with the specified ID.
HostedZoneNotFound
_HostedZoneNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified HostedZone cannot be found.
DelegationSetInUse
_DelegationSetInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified delegation contains associated hosted zones which must be deleted before the reusable delegation set can be deleted.
NoSuchDelegationSet
_NoSuchDelegationSet :: AsError a => Getting (First ServiceError) a ServiceError Source #
A reusable delegation set with the specified ID does not exist.
HealthCheckAlreadyExists
_HealthCheckAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The health check you're attempting to create already exists.
Amazon Route 53 returns this error when a health check has already been created with the specified value for CallerReference
.
TooManyTrafficPolicies
_TooManyTrafficPolicies :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've created the maximum number of traffic policies that can be created for the current AWS account. You can request an increase to the limit on the Contact Us page.
NoSuchGeoLocation
_NoSuchGeoLocation :: AsError a => Getting (First ServiceError) a ServiceError Source #
Amazon Route 53 doesn't support the specified geolocation.
DelegationSetNotAvailable
_DelegationSetNotAvailable :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
VPCAssociationNotFound
_VPCAssociationNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified VPC and hosted zone are not currently associated.
ThrottlingException
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for ThrottlingException' errors.
NoSuchChange
_NoSuchChange :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for NoSuchChange' errors.
LimitsExceeded
_LimitsExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
The limits specified for a resource have been exceeded.
TooManyTrafficPolicyInstances
_TooManyTrafficPolicyInstances :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've created the maximum number of traffic policy instances that can be created for the current AWS account. You can request an increase to the limit on the Contact Us page.
NoSuchTrafficPolicyInstance
_NoSuchTrafficPolicyInstance :: AsError a => Getting (First ServiceError) a ServiceError Source #
No traffic policy instance exists with the specified ID.
IncompatibleVersion
_IncompatibleVersion :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource you are trying to access is unsupported on this Amazon Route 53 endpoint. Please consider using a newer endpoint or a tool that does so.
PublicZoneVPCAssociation
_PublicZoneVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #
The hosted zone specified in HostedZoneId
is a public hosted zone.
NoSuchHostedZone
_NoSuchHostedZone :: AsError a => Getting (First ServiceError) a ServiceError Source #
No hosted zone exists with the ID that you specified.
TooManyHostedZones
_TooManyHostedZones :: AsError a => Getting (First ServiceError) a ServiceError Source #
This hosted zone cannot be created because the hosted zone limit is exceeded. To request a limit increase, go to the Amazon Route 53 Contact Us page.
HealthCheckInUse
_HealthCheckInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
The health check ID for this health check is referenced in the HealthCheckId
element in one of the resource record sets in one of the hosted zones that are owned by the current AWS account.
DelegationSetAlreadyCreated
_DelegationSetAlreadyCreated :: AsError a => Getting (First ServiceError) a ServiceError Source #
A delegation set with the same owner and caller reference combination has already been created.
ConflictingDomainExists
_ConflictingDomainExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for ConflictingDomainExists' errors.
LastVPCAssociation
_LastVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #
Only one VPC is currently associated with the hosted zone. You cannot convert a private hosted zone into a public hosted zone by disassociating the last VPC from a hosted zone.
TooManyHealthChecks
_TooManyHealthChecks :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyHealthChecks' errors.
NoSuchHealthCheck
_NoSuchHealthCheck :: AsError a => Getting (First ServiceError) a ServiceError Source #
No health check exists with the ID that you specified in the DeleteHealthCheck
request.
TrafficPolicyInUse
_TrafficPolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more traffic policy instances were created by using the specified traffic policy.
InvalidVPCId
_InvalidVPCId :: AsError a => Getting (First ServiceError) a ServiceError Source #
The hosted zone you are trying to create for your VPC_ID does not belong to you. Amazon Route 53 returns this error when the VPC specified by VPCId
does not belong to you.
HostedZoneAlreadyExists
_HostedZoneAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The hosted zone you are trying to create already exists. Amazon Route 53 returns this error when a hosted zone has already been created with the specified CallerReference
.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
ResourceRecordSetsChanged
resourceRecordSetsChanged :: Wait GetChange Source #
Polls GetChange
every 30 seconds until a
successful state is reached. An error is returned after 60 failed checks.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
AssociateVPCWithHostedZone
DeleteTrafficPolicy
GetCheckerIPRanges
GetTrafficPolicyInstance
GetHealthCheckLastFailureReason
DeleteReusableDelegationSet
ListHostedZonesByName
ListReusableDelegationSets
ListTagsForResource
ListTrafficPolicyInstances
CreateTrafficPolicyInstance
GetChange
ChangeResourceRecordSets
DeleteHealthCheck
UpdateHealthCheck
CreateHostedZone
ListTrafficPolicyInstancesByPolicy
DisassociateVPCFromHostedZone
CreateHealthCheck
ChangeTagsForResource
ListHostedZones (Paginated)
GetTrafficPolicyInstanceCount
ListGeoLocations
GetHostedZone
GetHealthCheck
ListResourceRecordSets (Paginated)
CreateReusableDelegationSet
GetHealthCheckCount
UpdateTrafficPolicyComment
GetHostedZoneCount
GetReusableDelegationSet
DeleteTrafficPolicyInstance
UpdateTrafficPolicyInstance
UpdateHostedZoneComment
GetHealthCheckStatus
CreateTrafficPolicyVersion
TestDNSAnswer
ListHealthChecks (Paginated)
GetTrafficPolicy
ListTrafficPolicyVersions
DeleteHostedZone
GetGeoLocation
ListTagsForResources
CreateTrafficPolicy
ListTrafficPolicyInstancesByHostedZone
ListTrafficPolicies
Types
Re-exported Types
The sum of available AWS regions.
Ireland | Europe / eu-west-1 |
Frankfurt | Europe / eu-central-1 |
Tokyo | Asia Pacific / ap-northeast-1 |
Singapore | Asia Pacific / ap-southeast-1 |
Sydney | Asia Pacific / ap-southeast-2 |
Bombay | Asia Pacific / ap-south-1 |
Beijing | China / cn-north-1 |
NorthVirginia | US / us-east-1 |
NorthCalifornia | US / us-west-1 |
Oregon | US / us-west-2 |
GovCloud | AWS GovCloud / us-gov-west-1 |
GovCloudFIPS | AWS GovCloud (FIPS 140-2) S3 Only / fips-us-gov-west-1 |
SaoPaulo | South America / sa-east-1 |
ChangeAction
data ChangeAction Source #
ChangeStatus
data ChangeStatus Source #
CloudWatchRegion
data CloudWatchRegion Source #
CWRApNortheast1 | |
CWRApNortheast2 | |
CWRApSouth1 | |
CWRApSoutheast1 | |
CWRApSoutheast2 | |
CWREuCentral1 | |
CWREuWest1 | |
CWRSaEast1 | |
CWRUsEast1 | |
CWRUsWest1 | |
CWRUsWest2 |
ComparisonOperator
data ComparisonOperator Source #
Failover
HealthCheckRegion
data HealthCheckRegion Source #
An Amazon EC2 region that you want Amazon Route 53 to use to perform health checks.
HCRApNortheast1 | |
HCRApSoutheast1 | |
HCRApSoutheast2 | |
HCREuWest1 | |
HCRSaEast1 | |
HCRUsEast1 | |
HCRUsWest1 | |
HCRUsWest2 |
HealthCheckType
data HealthCheckType Source #
InsufficientDataHealthStatus
data InsufficientDataHealthStatus Source #
RecordType
data RecordType Source #
Statistic
TagResourceType
data TagResourceType Source #
VPCRegion
ApNortheast1 | |
ApNortheast2 | |
ApSouth1 | |
ApSoutheast1 | |
ApSoutheast2 | |
CnNorth1 | |
EuCentral1 | |
EuWest1 | |
SaEast1 | |
UsEast1 | |
UsWest1 | |
UsWest2 |
AlarmIdentifier
data AlarmIdentifier Source #
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.
See: alarmIdentifier
smart constructor.
Creates a value of AlarmIdentifier
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aiRegion :: Lens' AlarmIdentifier CloudWatchRegion Source #
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 Amazon CloudWatch in AWS Regions and Endpoints in the Amazon Web Services General Reference.
aiName :: Lens' AlarmIdentifier Text Source #
The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy.
AliasTarget
data AliasTarget Source #
Alias resource record sets only: Information about the CloudFront distribution, Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are redirecting queries. The Elastic Beanstalk environment must have a regionalized subdomain.
When creating resource record sets for a private hosted zone, note the following:
- Resource record sets cannot be created 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 Configuring Failover in a Private Hosted Zone.
See: aliasTarget
smart constructor.
Creates a value of AliasTarget
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atHostedZoneId :: Lens' AliasTarget Text Source #
Alias resource records sets only: The value used depends on where the queries are routed:
- A CloudFront distribution
- Specify
Z2FDTNDATAQYW2
.Alias resource record sets for CloudFront cannot be created in a private zone.
- 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 AWS Elastic Beanstalk in the Regions and Endpoints chapter of the AWSk General Reference.
- ELB load balancer
- Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID:
- AWS Management Console: Go to the Amazon EC2; page, click Load Balancers in the navigation pane, select the load balancer, and get the value of the Hosted Zone ID field on the Description tab. Use the same process to get the DNS Name. See HostedZoneName>.
- Elastic Load Balancing API: Use
DescribeLoadBalancers
to get the value ofCanonicalHostedZoneNameID
. Use the same process to get theCanonicalHostedZoneName
. See HostedZoneName>. - AWS CLI: Use ' describe-load-balancers ' to get the value of
CanonicalHostedZoneNameID
. Use the same process to get theCanonicalHostedZoneName
. See HostedZoneName>.
- An Amazon S3 bucket configured as a static website
- Specify the hosted zone ID for the Amazon S3 website endpoint in which you created the bucket. For more information about valid values, see the table Amazon S3 (S3) Website Endpoints in the Amazon Web Services General Reference.
- 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 cannot reference a resource record set in a different hosted zone.)
atDNSName :: Lens' AliasTarget Text Source #
Alias resource record sets only: The value that you specify depends on where you want to route queries:
A 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 acme.example.com, your CloudFront distribution must include acme.example.com as one of the alternate domain names. For more information, see Using Alternate Domain Names (CNAMEs) in the Amazon CloudFront Developer Guide.
Elastic Beanstalk environment: Specify the
CNAME
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:- AWS Managment Console: For information about how to get the value by using the console, see Using Custom Domains with Elastic Beanstalk in the AWS Elastic Beanstalk Developer Guide.
- Elastic Load Balancing API: Use the
DescribeEnvironments
action to get the value of theCNAME
attribute. For more information, see DescribeEnvironments in the AWS Elastic Beanstalk API Reference. - AWS CLI: Use the describe-environments command to get the value of the
CNAME
attribute. For more information, see describe-environments in the AWS Command Line Interface Reference.
An ELB load balancer: Specify the DNS name associated with the load balancer. Get the DNS name by using the AWS Management Console, the ELB API, or the AWS CLI. Use the same method to get values for
HostedZoneId
andDNSName
. If you get one value from the console and the other value from the API or the CLI, creating the resource record set will fail.- AWS Management Console: Go to the Amazon EC2 page, click Load Balancers in the navigation pane, choose the load balancer, choose the Description tab, and get the value of the DNS Name field that begins with dualstack. Use the same process to get the Hosted Zone ID. See HostedZoneId>.
- Elastic Load Balancing API: Use ' DescribeLoadBalancers ' to get the value of
CanonicalHostedZoneName
. Use the same process to get theCanonicalHostedZoneNameId
. See HostedZoneId>. - AWS CLI: Use ' describe-load-balancers ' to get the value of
CanonicalHostedZoneName
. Use the same process to get theCanonicalHostedZoneNameId
. See HostedZoneId.
- An 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, 's3-website-us-east-1.amazonaws.com'. For more information about valid values, see the table Amazon Simple Storage Service (S3) Website Endpoints in the Amazon Web Services General Reference. For more information about using Amazon S3 buckets for websites, see Hosting a Static Website on Amazon S3 in the Amazon Simple Storage Service Developer Guide.
- Another Amazon Route 53 resource record set: Specify the value of the
Name
element for a resource record set in the current hosted zone.
atEvaluateTargetHealth :: Lens' AliasTarget Bool Source #
Applies only to alias, weighted alias, latency alias, and failover alias record sets: If you set the value of EvaluateTargetHealth
to true
for the resource record set or sets in an alias, weighted alias, latency alias, or failover alias resource record set, and if you specify a value for ' HealthCheck>Id ' for every resource record set that is referenced by these alias resource record sets, the alias resource record sets inherit the health of the referenced resource record sets.
In this configuration, when Amazon Route 53 receives a DNS query for an alias resource record set:
- Amazon Route 53 looks at the resource record sets that are referenced by the alias resource record sets to determine which health checks they're using.
- Amazon Route 53 checks the current status of each health check. (Amazon Route 53 periodically checks the health of the endpoint that is specified in a health check; it doesn't perform the health check when the DNS query arrives.)
- Based on the status of the health checks, Amazon Route 53 determines which resource record sets are healthy. Unhealthy resource record sets are immediately removed from consideration. In addition, if all of the resource record sets that are referenced by an alias resource record set are unhealthy, that alias resource record set also is immediately removed from consideration.
- Based on the configuration of the alias resource record sets (weighted alias or latency alias, for example) and the configuration of the resource record sets that they reference, Amazon Route 53 chooses a resource record set from the healthy resource record sets, and responds to the query.
Note the following:
- You cannot set
EvaluateTargetHealth
totrue
when the alias target is a CloudFront distribution. - If the AWS resource that you specify in
AliasTarget
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 What Happens When You Omit Health Checks? in the Amazon Route 53 Developer Guide. If you specify an Elastic Beanstalk environment in
HostedZoneId
andDNSName
, 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 Amazon EC2 instance.) If you setEvaluateTargetHealth
totrue
and either no Amazon 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 Amazon EC2 instance, there are no special requirements.
If you specify an ELB load balancer in ' AliasTarget ', Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. If no Amazon EC2 instances are healthy or if the load balancer itself is unhealthy, and if
EvaluateTargetHealth
is true for the corresponding alias resource record set, Amazon Route 53 routes queries to other resources. When you create a load balancer, you configure settings for Elastic Load Balancing health checks; they're not Amazon Route 53 health checks, but they perform a similar function. Do not create Amazon Route 53 health checks for the Amazon EC2 instances that you register with an ELB load balancer.For more information, see How Health Checks Work in More Complex Amazon Route 53 Configurations in the Amazon Route 53 Developers Guide.
- We recommend that you set
EvaluateTargetHealth
to true only when you have enough idle capacity to handle the failure of one or more endpoints.
For more information and examples, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide.
Change
The information for each resource record set that you want to change.
See: change
smart constructor.
Creates a value of Change
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cAction :: Lens' Change ChangeAction Source #
The action to perform:
CREATE
: Creates a resource record set that has the specified values.DELETE
: Deletes a existing resource record set that has the specified values forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(except alias resource record sets, for which the TTL is determined by the AWS resource that you're routing DNS queries to).To delete the resource record set that is associated with a traffic policy instance, use ' DeleteTrafficPolicyInstance '. Amazon Route 53will delete the resource record set automatically. If you delete the resource record set by using
ChangeResourceRecordSets
, 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.UPSERT
: If a resource record set does not 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. Amazon Route 53 can update an existing resource record set only when all of the following values match:Name
,Type
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
cResourceRecordSet :: Lens' Change ResourceRecordSet Source #
Information about the resource record set to create or delete.
ChangeBatch
data ChangeBatch Source #
The information for a change request.
See: changeBatch
smart constructor.
Creates a value of ChangeBatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cbComment :: Lens' ChangeBatch (Maybe Text) Source #
Optional: Any comments you want to include about a change batch request.
cbChanges :: Lens' ChangeBatch (NonEmpty Change) Source #
Information about the changes to make to the record sets.
ChangeInfo
data ChangeInfo Source #
A complex type that describes change information about changes made to your hosted zone.
See: changeInfo
smart constructor.
Creates a value of ChangeInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ciComment :: Lens' ChangeInfo (Maybe Text) Source #
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 GetChange action to get detailed information about the change.
ciStatus :: Lens' ChangeInfo ChangeStatus Source #
The current state of the request. PENDING
indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.
ciSubmittedAt :: Lens' ChangeInfo UTCTime Source #
The date and time the change request was submitted, in Coordinated Universal Time (UTC) format: 'YYYY-MM-DDThh:mm:ssZ'. For more information, see the Wikipedia entry ISO 8601.
CloudWatchAlarmConfiguration
data CloudWatchAlarmConfiguration Source #
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
See: cloudWatchAlarmConfiguration
smart constructor.
cloudWatchAlarmConfiguration Source #
:: Natural | |
-> Double | |
-> ComparisonOperator | |
-> Natural | |
-> Text | |
-> Text | |
-> Statistic | |
-> CloudWatchAlarmConfiguration |
Creates a value of CloudWatchAlarmConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cwacDimensions :: Lens' CloudWatchAlarmConfiguration [Dimension] Source #
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 Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch Developer Guide.
cwacEvaluationPeriods :: Lens' CloudWatchAlarmConfiguration Natural Source #
For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold.
cwacThreshold :: Lens' CloudWatchAlarmConfiguration Double Source #
For the metric that the CloudWatch alarm is associated with, the value the metric is compared with.
cwacComparisonOperator :: Lens' CloudWatchAlarmConfiguration ComparisonOperator Source #
For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison.
cwacPeriod :: Lens' CloudWatchAlarmConfiguration Natural Source #
For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds.
cwacMetricName :: Lens' CloudWatchAlarmConfiguration Text Source #
The name of the CloudWatch metric that the alarm is associated with.
cwacNamespace :: Lens' CloudWatchAlarmConfiguration Text Source #
The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch Developer Guide.
cwacStatistic :: Lens' CloudWatchAlarmConfiguration Statistic Source #
For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric.
DelegationSet
data DelegationSet Source #
A complex type that describes the name servers for this hosted zone.
See: delegationSet
smart constructor.
Creates a value of DelegationSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsCallerReference :: Lens' DelegationSet (Maybe Text) Source #
Undocumented member.
dsNameServers :: Lens' DelegationSet (NonEmpty Text) Source #
A complex type that contains a list of the authoritative name servers for the hosted zone.
Dimension
For the metric that the CloudWatch alarm is associated with, a complex type that contains information about one dimension.
See: dimension
smart constructor.
dName :: Lens' Dimension Text Source #
For the metric that the CloudWatch alarm is associated with, the name of one dimension.
dValue :: Lens' Dimension Text Source #
For the metric that the CloudWatch alarm is associated with, the value of one dimension.
GeoLocation
data GeoLocation Source #
A complex type that contains information about a geo location.
See: geoLocation
smart constructor.
geoLocation :: GeoLocation Source #
Creates a value of GeoLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glSubdivisionCode :: Lens' GeoLocation (Maybe Text) Source #
The code for the subdivision, for example, a state in the United States or a province in Canada.
glCountryCode :: Lens' GeoLocation (Maybe Text) Source #
The two-letter code for the country.
glContinentCode :: Lens' GeoLocation (Maybe Text) Source #
The two-letter code for the continent.
Valid values: AF
| AN
| AS
| EU
| OC
| NA
| SA
Constraint: Specifying ContinentCode
with either CountryCode
or SubdivisionCode
returns an InvalidInput
error.
GeoLocationDetails
data GeoLocationDetails Source #
A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation
code.
See: geoLocationDetails
smart constructor.
geoLocationDetails :: GeoLocationDetails Source #
Creates a value of GeoLocationDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gldSubdivisionName :: Lens' GeoLocationDetails (Maybe Text) Source #
The full name of the subdivision, for example, a state in the United States or a province in Canada.
gldSubdivisionCode :: Lens' GeoLocationDetails (Maybe Text) Source #
The code for the subdivision, for example, a state in the United States or a province in Canada.
gldCountryName :: Lens' GeoLocationDetails (Maybe Text) Source #
The name of the country.
gldCountryCode :: Lens' GeoLocationDetails (Maybe Text) Source #
The two-letter code for the country.
gldContinentCode :: Lens' GeoLocationDetails (Maybe Text) Source #
The two-letter code for the continent.
gldContinentName :: Lens' GeoLocationDetails (Maybe Text) Source #
The full name of the continent.
HealthCheck
data HealthCheck Source #
A complex type that contains information about one health check that is associated with the current AWS account.
See: healthCheck
smart constructor.
:: Text | |
-> Text | |
-> HealthCheckConfig | |
-> Natural | |
-> HealthCheck |
Creates a value of HealthCheck
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hcCloudWatchAlarmConfiguration :: Lens' HealthCheck (Maybe CloudWatchAlarmConfiguration) Source #
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
hcId :: Lens' HealthCheck Text Source #
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.
hcCallerReference :: Lens' HealthCheck Text Source #
A unique string that you specified when you created the health check.
hcHealthCheckConfig :: Lens' HealthCheck HealthCheckConfig Source #
A complex type that contains detailed information about one health check.
hcHealthCheckVersion :: Lens' HealthCheck Natural Source #
The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck
to prevent overwriting another change to the health check.
HealthCheckConfig
data HealthCheckConfig Source #
A complex type that contains information about the health check.
See: healthCheckConfig
smart constructor.
Creates a value of HealthCheckConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hccFailureThreshold :: Lens' HealthCheckConfig (Maybe Natural) Source #
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 How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.
hccIPAddress :: Lens' HealthCheckConfig (Maybe Text) Source #
The IPv4 IP address of the endpoint on which you want Amazon Route 53 to perform health checks. If you don't specify a value for IPAddress
, Amazon Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName
at the interval that you specify in RequestInterval. Using an IP address that DNS returns, Amazon Route 53 then checks the health of the endpoint.
If the endpoint is an Amazon EC2 instance, we recommend that you create an Elastic IP address, associate it with your Amazon EC2 instance, and specify the Elastic IP address for IPAddress
. This ensures that the IP address of your instance will never change.
For more information, see HealthCheckConfigFullyQualifiedDomainName>.
Contraints: Amazon Route 53 cannot 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 cannot create health checks, see RFC 5735, Special Use IPv4 Addresses and RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space.
When the value of Type is CALCULATED
or CLOUDWATCH_METRIC
, omit IPAddress.
hccEnableSNI :: Lens' HealthCheckConfig (Maybe Bool) Source #
Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName
to the endpoint in the client_hello
message during TLS negotiation. This allows the endpoint to respond to HTTPS
health check requests with the applicable SSL/TLS certificate.
Some endpoints require that HTTPS
requests include the host name in the client_hello
message. If you don't enable SNI, the status of the health check will be 'SSL alert handshake_failure'. 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/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 'Common Name' field and possibly several more in the 'Subject Alternative Names' field. One of the domain names in the certificate should match the value that you specify for FullyQualifiedDomainName
. If the endpoint responds to the client_hello
message with a certificate that does not include the domain name that you specified in FullyQualifiedDomainName
, a health checker will retry the handshake. In the second attempt, the health checker will omit FullyQualifiedDomainName
from the client_hello
message.
hccSearchString :: Lens' HealthCheckConfig (Maybe Text) Source #
If the value of Type is HTTP_STR_MATCH
or HTTP_STR_MATCH
, 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 SearchString
in the response body.
hccHealthThreshold :: Lens' HealthCheckConfig (Maybe Natural) Source #
The number of child health checks that are associated with a CALCULATED
health that Amazon Route 53 must consider healthy for the CALCULATED
health check to be considered healthy. To specify the child health checks that you want to associate with a CALCULATED
health check, use the HealthCheckConfigChildHealthChecks> and HealthCheckConfigChildHealthChecks> 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 '0', Amazon Route 53 always considers this health check to be healthy.
hccRegions :: Lens' HealthCheckConfig (Maybe (NonEmpty HealthCheckRegion)) Source #
A complex type that contains one Region element for each region from which you want Amazon Route 53 health checkers to check the specified endpoint.
hccResourcePath :: Lens' HealthCheckConfig (Maybe Text) Source #
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 /docs/route53-health-check.html.
hccInsufficientDataHealthStatus :: Lens' HealthCheckConfig (Maybe InsufficientDataHealthStatus) Source #
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:
Healthy
: Amazon Route 53 considers the health check to be healthy.Unhealthy
: Amazon Route 53 considers the health check to be unhealthy.LastKnownStatus
: Amazon Route 53uses the status of the health check from the last time CloudWatch had sufficient data to determine the alarm state. For new health checks that have no last known status, the default status for the health check is healthy.
hccAlarmIdentifier :: Lens' HealthCheckConfig (Maybe AlarmIdentifier) Source #
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.
hccMeasureLatency :: Lens' HealthCheckConfig (Maybe Bool) Source #
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 Health Checks page in the Amazon Route 53 console.
You can't change the value of MeasureLatency
after you create a health check.
hccInverted :: Lens' HealthCheckConfig (Maybe Bool) Source #
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.
hccFullyQualifiedDomainName :: Lens' HealthCheckConfig (Maybe Text) Source #
Amazon Route 53 behavior depends on whether you specify a value for IPAddress
.
If you specify IPAddress
:
The value that you want Amazon Route 53 to pass in the Host
header in all health checks except TCP health checks. This is typically the fully qualified DNS name of the website that you are attempting to health check. When Amazon Route 53 checks the health of an endpoint, here is how it constructs the Host
header:
- If you specify a value of '80' for
Port
andHTTP
orHTTP_STR_MATCH
forType
, Amazon Route 53 passes the value ofFullyQualifiedDomainName
to the endpoint in the Host header. - If you specify a value of '443' for
Port
andHTTPS
orHTTPS_STR_MATCH
forType
, Amazon Route 53 passes the value ofFullyQualifiedDomainName
to the endpoint in theHost
header. - If you specify another value for
Port
and any value exceptTCP
forType
, Amazon Route 53 passes 'FullyQualifiedDomainName:Port' to the endpoint in theHost
header.
If you don't specify a value for FullyQualifiedDomainName
, Amazon Route 53 substitutes the value of IPAddress
in the Host
header in each of the preceding cases.
If you don't specify IPAddress
:
If you don't specify a value for IPAddress
, Amazon Route 53 sends a DNS request to the domain that you specify in FullyQualifiedDomainName
at the interval you specify in RequestInterval
. Using an IP 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 FullyQualifiedDomainName
, 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 FullyQualifiedDomainName
, specify the domain name of the server (such as us-east-1-www.example.com), not the name of the resource record sets (www.example.com).
In this configuration, if you create a health check for which the value of FullyQualifiedDomainName
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 Type
is HTTP
, HTTPS
, HTTP_STR_MATCH
, or HTTPS_STR_MATCH
, Amazon Route 53 passes the value of FullyQualifiedDomainName
in the Host
header, as it does when you specify a value for IPAddress
. If the value of Type
is TCP
, Amazon Route 53 doesn't pass a Host
header.
hccChildHealthChecks :: Lens' HealthCheckConfig [Text] Source #
(CALCULATED Health Checks Only) A complex type that contains one ChildHealthCheck
element for each health check that you want to associate with a CALCULATED
health check.
hccRequestInterval :: Lens' HealthCheckConfig (Maybe Natural) Source #
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.
You can't change the value of RequestInterval
after you create a health check.
hccPort :: Lens' HealthCheckConfig (Maybe Natural) Source #
The port on the endpoint on which you want Amazon Route 53 to perform health checks. Specify a value for Port only when you specify a value for IPAddress
.
hccType :: Lens' HealthCheckConfig HealthCheckType Source #
The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy.
You can't change the value of Type
after you create a health check.
You can create the following types of health checks:
- HTTP: 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.
HTTPS: 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.
If you specify
HTTPS
for the value ofType
, the endpoint must support TLS v1.0 or later.- HTTP_STR_MATCH: 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
SearchString
. - HTTPS_STR_MATCH: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an
HTTPS
request and searches the first 5,120 bytes of the response body for the string that you specify inSearchString
. - TCP: Amazon Route 53 tries to establish a TCP connection.
- CLOUDWATCH_METRIC: The health check is associated with a CloudWatch alarm. If the state of the alarm is
OK
, the health check is considered healthy. If the state isALARM
, the health check is considered unhealthy. If CloudWatch doesn't have sufficient data to determine whether the state isOK
orALARM
, the health check status depends on the setting forInsufficientDataHealthStatus
:Healthy
,Unhealthy
, orLastKnownStatus
. - CALCULATED: 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
HealthThreshold
.
For more information about how Amazon Route 53 determines whether an endpoint is healthy, see the introduction to this topic.
HealthCheckObservation
data HealthCheckObservation Source #
A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker.
See: healthCheckObservation
smart constructor.
healthCheckObservation :: HealthCheckObservation Source #
Creates a value of HealthCheckObservation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hcoIPAddress :: Lens' HealthCheckObservation (Maybe Text) Source #
The IP address of the Amazon Route 53 health checker that provided the failure reason in StatusReport
.
hcoStatusReport :: Lens' HealthCheckObservation (Maybe StatusReport) Source #
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.
hcoRegion :: Lens' HealthCheckObservation (Maybe HealthCheckRegion) Source #
The region of the Amazon Route 53 health checker that provided the status in StatusReport.
HostedZone
data HostedZone Source #
A complex type that contains general information about the hosted zone.
See: hostedZone
smart constructor.
Creates a value of HostedZone
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hzConfig :: Lens' HostedZone (Maybe HostedZoneConfig) Source #
A complex type that includes the Comment
and PrivateZone
elements. If you omitted the HostedZoneConfig
and Comment
elements from the request, the Config
and Comment
elements don't appear in the response.
hzResourceRecordSetCount :: Lens' HostedZone (Maybe Integer) Source #
The number of resource record sets in the hosted zone.
hzId :: Lens' HostedZone Text Source #
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
hzName :: Lens' HostedZone Text Source #
The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.
For information about how to specify characters other than 'a-z', '0-9', and -
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
hzCallerReference :: Lens' HostedZone Text Source #
The value that you specified for CallerReference
when you created the hosted zone.
HostedZoneConfig
data HostedZoneConfig Source #
A complex type that contains an optional comment about your hosted zone. If you don't want to specify a comment, omit both the HostedZoneConfig
and Comment
elements.
See: hostedZoneConfig
smart constructor.
hostedZoneConfig :: HostedZoneConfig Source #
Creates a value of HostedZoneConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hzcPrivateZone :: Lens' HostedZoneConfig (Maybe Bool) Source #
A value that indicates whether this is a private hosted zone.
hzcComment :: Lens' HostedZoneConfig (Maybe Text) Source #
Any comments that you want to include about the hosted zone.
ResourceRecord
data ResourceRecord Source #
Information specific to the resource record.
If you are creating an alias resource record set, omit ResourceRecord
.
See: resourceRecord
smart constructor.
Creates a value of ResourceRecord
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrValue :: Lens' ResourceRecord Text Source #
The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE
action, if the current value does not match the actual value, an error is returned. For descriptions about how to format Value
for different record types, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide.
You can specify more than one value for all record types except CNAME
and SOA
.
If you are creating an alias resource record set, omit Value
.
ResourceRecordSet
data ResourceRecordSet Source #
Information about the resource record set to create or delete.
See: resourceRecordSet
smart constructor.
Creates a value of ResourceRecordSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrsTTL :: Lens' ResourceRecordSet (Maybe Natural) Source #
The resource record cache time to live (TTL), in seconds. Note the following:
- If you're creating an alias resource record set, omit
TTL
. Amazon Route 53 uses the value ofTTL
for the alias target. - If you're associating this resource record set with a health check (if you're adding a
HealthCheckId
element), we recommend that you specify aTTL
of 60 seconds or less so clients respond quickly to changes in health status. - All of the resource record sets in a group of weighted, latency, geolocation, or failover resource record sets must have the same value for
TTL
. - 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
TTL
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 forWeight
.
rrsResourceRecords :: Lens' ResourceRecordSet (Maybe (NonEmpty ResourceRecord)) Source #
Information about the resource records to act upon.
If you are creating an alias resource record set, omit ResourceRecords
.
rrsAliasTarget :: Lens' ResourceRecordSet (Maybe AliasTarget) Source #
Alias resource record sets only: Information about the CloudFront distribution, Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are redirecting queries. The 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 Configuring Failover in a Private Hosted Zone in the Amazon Route 53 Developer Guide.
rrsWeight :: Lens' ResourceRecordSet (Maybe Natural) Source #
Weighted resource record sets only: 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
Weight
element for every weighted resource record set. - You can only specify one
ResourceRecord
per weighted resource record set. - You cannot create latency, failover, or geolocation resource record sets that have the same values for the
Name
andType
elements as weighted resource record sets. - You can create a maximum of 100 weighted resource record sets that have the same values for the
Name
andType
elements. For weighted (but not weighted alias) resource record sets, if you set
Weight
to '0' for a resource record set, Amazon Route 53 never responds to queries with the applicable value for that resource record set. However, if you setWeight
to '0' 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
Weight
to '0' is different when you associate health checks with weighted resource record sets. For more information, see Options for Configuring Amazon Route 53 Active-Active and Active-Passive Failover in the Amazon Route 53 Developer Guide.
rrsTrafficPolicyInstanceId :: Lens' ResourceRecordSet (Maybe Text) Source #
Undocumented member.
rrsSetIdentifier :: Lens' ResourceRecordSet (Maybe Text) Source #
Weighted, Latency, Geo, and Failover resource record sets only: An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type. The value of SetIdentifier
must be unique for each resource record set that has the same combination of DNS name and type. Omit SetIdentifier
for any other types of record sets.
rrsFailover :: Lens' ResourceRecordSet (Maybe Failover) Source #
Failover resource record sets only: To configure failover, you add the Failover
element to two resource record sets. For one resource record set, you specify PRIMARY
as the value for Failover
; for the other resource record set, you specify SECONDARY
. In addition, you include the HealthCheckId
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 HealthCheckId
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
HealthCheckId
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 cannot create non-failover resource record sets that have the same values for the Name
and Type
elements as failover resource record sets.
For failover alias resource record sets, you must also include the EvaluateTargetHealth
element and set the value to true.
For more information about configuring failover for Amazon Route 53, see the following topics in the Amazon Route 53 Developer Guide:
Valid values: PRIMARY
| SECONDARY
rrsHealthCheckId :: Lens' ResourceRecordSet (Maybe Text) Source #
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 HealthCheckId
element and specify the ID of the applicable health check.
Amazon Route 53 determines whether a resource record set is healthy based on one of the following:
- By periodically sending a request to the endpoint that is specified in the health check
- By aggregating the status of a specified group of health checks (calculated health checks)
- By determining the current state of a CloudWatch alarm (CloudWatch metric health checks)
For information about how Amazon Route 53 determines whether a health check is healthy, see CreateHealthCheck.
The HealthCheckId
element is only useful when Amazon Route 53 is choosing between two or more resource record sets to respond to a DNS query, and you want Amazon Route 53 to base the choice in part on the status of a health check. Configuring health checks only makes sense in the following configurations:
- You're checking the health of the resource record sets in a weighted, latency, geolocation, or failover resource record set, and you specify health check IDs for all of the resource record sets. If the health check for one resource record set specifies an endpoint that is not healthy, Amazon Route 53 stops responding to queries using the value for that resource record set.
- You set
EvaluateTargetHealth
to true for the resource record sets in an alias, weighted alias, latency alias, geolocation alias, or failover alias resource record set, and you specify health check IDs for all of the resource record sets that are referenced by the alias resource record sets.
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 Value
element. When you add a HealthCheckId
element to a resource record set, Amazon Route 53 checks the health of the endpoint that you specified in the health check.
For geolocation resource record sets, if an endpoint is unhealthy, Amazon Route 53 looks for a resource record set for the larger, associated geographic region. For example, suppose you have resource record sets for a state in the United States, for the United States, for North America, and for all locations. If the endpoint for the state resource record set is unhealthy, Amazon Route 53 checks the resource record sets for the United States, for North America, and for all locations (a resource record set for which the value of CountryCode
is *
), in that order, until it finds a resource record set for which the endpoint is healthy.
If your health checks specify the endpoint only by domain name, we recommend that you create a separate health check for each endpoint. For example, create a health check for each HTTP
server that is serving content for 'www.example.com'. For the value of FullyQualifiedDomainName
, specify the domain name of the server (such as 'us-east-1-www.example.com'), not the name of the resource record sets (example.com).
n this configuration, if you create a health check for which the value of FullyQualifiedDomainName
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 informaiton, see the following topics in the Amazon Route 53 Developer Guide:
rrsRegion :: Lens' ResourceRecordSet (Maybe Region) Source #
Latency-based resource record sets only: The Amazon EC2 region where the resource that is specified in this resource record set resides. The resource typically is an AWS resource, such as an Amazon 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.
Creating latency and latency alias resource record sets in private hosted zones is not supported.
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
ResourceRecord
per latency resource record set. - You can only create one latency resource record set for each Amazon EC2 region.
- You are not required to create latency resource record sets for all Amazon EC2 regions. Amazon Route 53 will choose the region with the best latency from among the regions for which you create latency resource record sets.
- You cannot create non-latency resource record sets that have the same values for the
Name
andType
elements as latency resource record sets.
rrsGeoLocation :: Lens' ResourceRecordSet (Maybe GeoLocation) Source #
Geo location resource record sets only: 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 '192.0.2.111', create a resource record set with a Type
of A
and a ContinentCode
of AF
.
Creating geolocation and geolocation alias resource record sets in private hosted zones is not supported.
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 cannot create two geolocation resource record sets that specify the same geographic location.
The value *
in the CountryCode
element matches all geographic locations that aren't specified in other geolocation resource record sets that have the same values for the Name
and Type
elements.
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 CountryCode
is *
, 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 *
resource record set, Amazon Route 53 returns a "no answer" response for queries from those locations.
You cannot create non-geolocation resource record sets that have the same values for the Name
and Type
elements as geolocation resource record sets.
rrsName :: Lens' ResourceRecordSet Text Source #
The name of the domain you want to perform the action on.
Enter a fully qualified domain name, for example, 'www.example.com'. 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 'www.example.com' (without a trailing dot) and 'www.example.com.' (with a trailing dot) as identical.
For information about how to specify characters other than 'a-z', '0-9', and -
(hyphen) and how to specify internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
You can use the asterisk (*) wildcard to replace the leftmost label in a domain name. For example, '*.example.com'. Note the following:
- The * must replace the entire label. For example, you can't specify '*prod.example.com' or 'prod*.example.com'.
- 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.
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, '*.example.com'. You cannot use an * for one of the middle labels, for example, 'marketing.*.example.com'. In addition, the * must replace the entire label; for example, you can't specify 'prod*.example.com'.
rrsType :: Lens' ResourceRecordSet RecordType Source #
The DNS record type. For information about different record types and how data is encoded for them, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide.
Valid values for basic resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| NS
| PTR
| SOA
| SPF
| SRV
| TXT
Values for weighted, latency, geolocation, and failover resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| PTR
| SPF
| SRV
| TXT
. 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.
SPF records were formerly used to verify the identity of the sender of email messages. However, we no longer recommend that you create resource record sets for which the value of Type
is SPF
. RFC 7208, Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1, has been updated to say, "...[I]ts existence and mechanism defined in [RFC4408] have led to some interoperability issues. Accordingly, its use is no longer appropriate for SPF version 1; implementations are not to use it." In RFC 7208, see section 14.1, The SPF DNS Record Type.
Values for alias resource record sets:
- CloudFront distributions:
A
- Elastic Beanstalk environment that has a regionalized subdomain:
A
- ELB load balancers:
A
|AAAA
- Amazon S3 buckets:
A
- Another resource record set in this hosted zone: Specify the type of the resource record set for which you're creating the alias. Specify any value except
NS
orSOA
.
ResourceTagSet
data ResourceTagSet Source #
A complex type containing a resource and its associated tags.
See: resourceTagSet
smart constructor.
resourceTagSet :: ResourceTagSet Source #
Creates a value of ResourceTagSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtsResourceId :: Lens' ResourceTagSet (Maybe Text) Source #
The ID for the specified resource.
rtsResourceType :: Lens' ResourceTagSet (Maybe TagResourceType) Source #
The type of the resource.
- The resource type for health checks is
healthcheck
. - The resource type for hosted zones is
hostedzone
.
rtsTags :: Lens' ResourceTagSet (Maybe (NonEmpty Tag)) Source #
The tags associated with the specified resource.
StatusReport
data StatusReport Source #
A complex type that contains the status that one Amazon Route 53 health checker reports and the time of the health check.
See: statusReport
smart constructor.
statusReport :: StatusReport Source #
Creates a value of StatusReport
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srStatus :: Lens' StatusReport (Maybe Text) Source #
A description of the status of the health check endpoint as reported by one of the Amazon Route 53 health checkers.
srCheckedTime :: Lens' StatusReport (Maybe UTCTime) Source #
The time at which the health checker performed the health check in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value '2014-10-27T17:48:16.751Z' represents October 27, 2014 at 17:48:16.751 UTC.
Tag
A complex type that contains information about a tag that you want to add or edit for the specified health check or hosted zone.
See: tag
smart constructor.
tagKey :: Lens' Tag (Maybe Text) Source #
The value of Key
depends on the operation that you want to perform:
- Add a tag to a health check or hosted zone:
Key
is the name that you want to give the new tag. - Edit a tag:
Key
is the name of the tag whoseValue
element you want to remove. - Delete a key:
Key
is the name of the tag you want to remove. - Give a name to a health check: Edit the default
Name
tag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check.
TrafficPolicy
data TrafficPolicy Source #
See: trafficPolicy
smart constructor.
Creates a value of TrafficPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tpType :: Lens' TrafficPolicy RecordType Source #
Undocumented member.
tpDocument :: Lens' TrafficPolicy Text Source #
Undocumented member.
TrafficPolicyInstance
data TrafficPolicyInstance Source #
See: trafficPolicyInstance
smart constructor.
trafficPolicyInstance Source #
:: Text | |
-> Text | |
-> Text | |
-> Natural | |
-> Text | |
-> Text | |
-> Text | |
-> Natural | |
-> RecordType | |
-> TrafficPolicyInstance |
Creates a value of TrafficPolicyInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tpiHostedZoneId :: Lens' TrafficPolicyInstance Text Source #
Undocumented member.
tpiMessage :: Lens' TrafficPolicyInstance Text Source #
Undocumented member.
tpiTrafficPolicyId :: Lens' TrafficPolicyInstance Text Source #
Undocumented member.
tpiTrafficPolicyVersion :: Lens' TrafficPolicyInstance Natural Source #
Undocumented member.
tpiTrafficPolicyType :: Lens' TrafficPolicyInstance RecordType Source #
Undocumented member.
TrafficPolicySummary
data TrafficPolicySummary Source #
See: trafficPolicySummary
smart constructor.
:: Text | |
-> Text | |
-> RecordType | |
-> Natural | |
-> Natural | |
-> TrafficPolicySummary |
Creates a value of TrafficPolicySummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tpsType :: Lens' TrafficPolicySummary RecordType Source #
Undocumented member.
tpsLatestVersion :: Lens' TrafficPolicySummary Natural Source #
Undocumented member.
tpsTrafficPolicyCount :: Lens' TrafficPolicySummary Natural Source #
Undocumented member.
VPC
See: vpc
smart constructor.
Creates a value of VPC
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired: