Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- HealthCheckVersionMismatch
- NoSuchQueryLoggingConfig
- HostedZoneNotPrivate
- InvalidInput
- HostedZoneNotEmpty
- InvalidArgument
- TrafficPolicyInstanceAlreadyExists
- ConflictingTypes
- QueryLoggingConfigAlreadyExists
- ConcurrentModification
- DelegationSetAlreadyReusable
- NotAuthorizedException
- InsufficientCloudWatchLogsResourcePolicy
- NoSuchCloudWatchLogsLogGroup
- PriorRequestNotComplete
- InvalidChangeBatch
- TooManyVPCAssociationAuthorizations
- TrafficPolicyAlreadyExists
- InvalidTrafficPolicyDocument
- InvalidPaginationToken
- DelegationSetNotReusable
- InvalidDomainName
- NoSuchTrafficPolicy
- HostedZoneNotFound
- DelegationSetInUse
- NoSuchDelegationSet
- HealthCheckAlreadyExists
- TooManyTrafficPolicies
- VPCAssociationAuthorizationNotFound
- NoSuchGeoLocation
- DelegationSetNotAvailable
- VPCAssociationNotFound
- ThrottlingException
- NoSuchChange
- LimitsExceeded
- TooManyTrafficPolicyInstances
- NoSuchTrafficPolicyInstance
- IncompatibleVersion
- PublicZoneVPCAssociation
- NoSuchHostedZone
- TooManyHostedZones
- HealthCheckInUse
- DelegationSetAlreadyCreated
- ConflictingDomainExists
- LastVPCAssociation
- TooManyHealthChecks
- NoSuchHealthCheck
- TrafficPolicyInUse
- InvalidVPCId
- HostedZoneAlreadyExists
- TooManyTrafficPolicyVersionsForCurrentPolicy
- Waiters
- Operations
- GetHostedZoneLimit
- AssociateVPCWithHostedZone
- DeleteTrafficPolicy
- GetCheckerIPRanges
- GetTrafficPolicyInstance
- GetHealthCheckLastFailureReason
- DeleteReusableDelegationSet
- ListHostedZonesByName
- ListReusableDelegationSets
- ListTagsForResource
- ListQueryLoggingConfigs
- ListTrafficPolicyInstances
- CreateTrafficPolicyInstance
- GetChange
- ChangeResourceRecordSets
- DeleteHealthCheck
- UpdateHealthCheck
- CreateHostedZone
- CreateVPCAssociationAuthorization
- ListVPCAssociationAuthorizations
- ListTrafficPolicyInstancesByPolicy
- DisassociateVPCFromHostedZone
- CreateHealthCheck
- DeleteVPCAssociationAuthorization
- ChangeTagsForResource
- ListHostedZones (Paginated)
- GetTrafficPolicyInstanceCount
- ListGeoLocations
- GetHostedZone
- GetHealthCheck
- ListResourceRecordSets (Paginated)
- CreateReusableDelegationSet
- CreateQueryLoggingConfig
- GetHealthCheckCount
- UpdateTrafficPolicyComment
- GetHostedZoneCount
- GetAccountLimit
- DeleteQueryLoggingConfig
- GetQueryLoggingConfig
- GetReusableDelegationSet
- DeleteTrafficPolicyInstance
- UpdateTrafficPolicyInstance
- UpdateHostedZoneComment
- GetHealthCheckStatus
- GetReusableDelegationSetLimit
- CreateTrafficPolicyVersion
- TestDNSAnswer
- ListHealthChecks (Paginated)
- GetTrafficPolicy
- ListTrafficPolicyVersions
- DeleteHostedZone
- GetGeoLocation
- ListTagsForResources
- CreateTrafficPolicy
- ListTrafficPolicyInstancesByHostedZone
- ListTrafficPolicies
- Types
- Website Endpoints
- AccountLimitType
- ChangeAction
- ChangeStatus
- CloudWatchRegion
- ComparisonOperator
- Failover
- HealthCheckRegion
- HealthCheckType
- HostedZoneLimitType
- InsufficientDataHealthStatus
- RecordType
- ResettableElementName
- ReusableDelegationSetLimitType
- Statistic
- TagResourceType
- VPCRegion
- AccountLimit
- AlarmIdentifier
- AliasTarget
- Change
- ChangeBatch
- ChangeInfo
- CloudWatchAlarmConfiguration
- DelegationSet
- Dimension
- GeoLocation
- GeoLocationDetails
- HealthCheck
- HealthCheckConfig
- HealthCheckObservation
- HostedZone
- HostedZoneConfig
- HostedZoneLimit
- LinkedService
- QueryLoggingConfig
- ResourceRecord
- ResourceRecordSet
- ResourceTagSet
- ReusableDelegationSetLimit
- 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
- _NoSuchQueryLoggingConfig :: AsError a => Getting (First ServiceError) a ServiceError
- _HostedZoneNotPrivate :: 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
- _QueryLoggingConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _ConcurrentModification :: AsError a => Getting (First ServiceError) a ServiceError
- _DelegationSetAlreadyReusable :: AsError a => Getting (First ServiceError) a ServiceError
- _NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InsufficientCloudWatchLogsResourcePolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchCloudWatchLogsLogGroup :: AsError a => Getting (First ServiceError) a ServiceError
- _PriorRequestNotComplete :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidChangeBatch :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyVPCAssociationAuthorizations :: AsError a => Getting (First ServiceError) a ServiceError
- _TrafficPolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTrafficPolicyDocument :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPaginationToken :: 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
- _VPCAssociationAuthorizationNotFound :: 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
- _TooManyTrafficPolicyVersionsForCurrentPolicy :: AsError a => Getting (First ServiceError) a ServiceError
- resourceRecordSetsChanged :: Wait GetChange
- module Network.AWS.Route53.GetHostedZoneLimit
- 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.ListQueryLoggingConfigs
- 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.CreateVPCAssociationAuthorization
- module Network.AWS.Route53.ListVPCAssociationAuthorizations
- module Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy
- module Network.AWS.Route53.DisassociateVPCFromHostedZone
- module Network.AWS.Route53.CreateHealthCheck
- module Network.AWS.Route53.DeleteVPCAssociationAuthorization
- 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.CreateQueryLoggingConfig
- module Network.AWS.Route53.GetHealthCheckCount
- module Network.AWS.Route53.UpdateTrafficPolicyComment
- module Network.AWS.Route53.GetHostedZoneCount
- module Network.AWS.Route53.GetAccountLimit
- module Network.AWS.Route53.DeleteQueryLoggingConfig
- module Network.AWS.Route53.GetQueryLoggingConfig
- 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.GetReusableDelegationSetLimit
- 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 :: *
- newtype ResourceId = ResourceId {}
- getHostedZoneId :: Region -> Maybe ResourceId
- data AccountLimitType
- data ChangeAction
- data ChangeStatus
- data CloudWatchRegion
- data ComparisonOperator
- data Failover
- data HealthCheckRegion
- data HealthCheckType
- data HostedZoneLimitType
- data InsufficientDataHealthStatus
- data RecordType
- data ResettableElementName
- data ReusableDelegationSetLimitType = MaxZonesByReusableDelegationSet
- data Statistic
- = Average
- | Maximum
- | Minimum
- | SampleCount
- | Sum
- data TagResourceType
- data VPCRegion
- data AccountLimit
- accountLimit :: AccountLimitType -> Natural -> AccountLimit
- alType :: Lens' AccountLimit AccountLimitType
- alValue :: Lens' AccountLimit Natural
- data AlarmIdentifier
- alarmIdentifier :: CloudWatchRegion -> Text -> AlarmIdentifier
- aiRegion :: Lens' AlarmIdentifier CloudWatchRegion
- aiName :: Lens' AlarmIdentifier Text
- data AliasTarget
- aliasTarget :: ResourceId -> Text -> Bool -> AliasTarget
- atHostedZoneId :: Lens' AliasTarget ResourceId
- 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 :: ResourceId -> ChangeStatus -> UTCTime -> ChangeInfo
- ciComment :: Lens' ChangeInfo (Maybe Text)
- ciId :: Lens' ChangeInfo ResourceId
- 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 ResourceId)
- 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
- hcLinkedService :: Lens' HealthCheck (Maybe LinkedService)
- 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 :: ResourceId -> Text -> Text -> HostedZone
- hzLinkedService :: Lens' HostedZone (Maybe LinkedService)
- hzConfig :: Lens' HostedZone (Maybe HostedZoneConfig)
- hzResourceRecordSetCount :: Lens' HostedZone (Maybe Integer)
- hzId :: Lens' HostedZone ResourceId
- hzName :: Lens' HostedZone Text
- hzCallerReference :: Lens' HostedZone Text
- data HostedZoneConfig
- hostedZoneConfig :: HostedZoneConfig
- hzcPrivateZone :: Lens' HostedZoneConfig (Maybe Bool)
- hzcComment :: Lens' HostedZoneConfig (Maybe Text)
- data HostedZoneLimit
- hostedZoneLimit :: HostedZoneLimitType -> Natural -> HostedZoneLimit
- hzlType :: Lens' HostedZoneLimit HostedZoneLimitType
- hzlValue :: Lens' HostedZoneLimit Natural
- data LinkedService
- linkedService :: LinkedService
- lsServicePrincipal :: Lens' LinkedService (Maybe Text)
- lsDescription :: Lens' LinkedService (Maybe Text)
- data QueryLoggingConfig
- queryLoggingConfig :: Text -> ResourceId -> Text -> QueryLoggingConfig
- qlcId :: Lens' QueryLoggingConfig Text
- qlcHostedZoneId :: Lens' QueryLoggingConfig ResourceId
- qlcCloudWatchLogsLogGroupARN :: Lens' QueryLoggingConfig 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)
- rrsMultiValueAnswer :: Lens' ResourceRecordSet (Maybe Bool)
- 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 ReusableDelegationSetLimit
- reusableDelegationSetLimit :: ReusableDelegationSetLimitType -> Natural -> ReusableDelegationSetLimit
- rdslType :: Lens' ReusableDelegationSetLimit ReusableDelegationSetLimitType
- rdslValue :: Lens' ReusableDelegationSetLimit Natural
- 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 -> ResourceId -> Text -> Natural -> Text -> Text -> Text -> Natural -> RecordType -> TrafficPolicyInstance
- tpiId :: Lens' TrafficPolicyInstance Text
- tpiHostedZoneId :: Lens' TrafficPolicyInstance ResourceId
- 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 #
The value of HealthCheckVersion
in the request doesn't match the value of HealthCheckVersion
in the health check.
NoSuchQueryLoggingConfig
_NoSuchQueryLoggingConfig :: AsError a => Getting (First ServiceError) a ServiceError Source #
There is no DNS query logging configuration with the specified ID.
HostedZoneNotPrivate
_HostedZoneNotPrivate :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified hosted zone is a public hosted zone, not a private hosted zone.
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 is invalid.
TrafficPolicyInstanceAlreadyExists
_TrafficPolicyInstanceAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
There is already a traffic policy instance with the specified ID.
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.
QueryLoggingConfigAlreadyExists
_QueryLoggingConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
You can create only one query logging configuration for a hosted zone, and a query logging configuration already exists for this hosted zone.
ConcurrentModification
_ConcurrentModification :: AsError a => Getting (First ServiceError) a ServiceError Source #
Another user submitted a request to create, update, or delete 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.
NotAuthorizedException
_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Associating the specified VPC with the specified hosted zone has not been authorized.
InsufficientCloudWatchLogsResourcePolicy
_InsufficientCloudWatchLogsResourcePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
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:
- There is no resource policy that specifies the log group ARN in the value for
Resource
. - The resource policy that includes the log group ARN in the value for
Resource
doesn't have the necessary permissions. - The resource policy hasn't finished propagating yet.
NoSuchCloudWatchLogsLogGroup
_NoSuchCloudWatchLogsLogGroup :: AsError a => Getting (First ServiceError) a ServiceError Source #
There is no CloudWatch Logs log group with the specified ARN.
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.
TooManyVPCAssociationAuthorizations
_TooManyVPCAssociationAuthorizations :: AsError a => Getting (First ServiceError) a ServiceError Source #
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 DeleteVPCAssociationAuthorization
request to remove an existing authorization. To get a list of existing authorizations, submit a ListVPCAssociationAuthorizations
request.
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.
InvalidPaginationToken
_InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError Source #
The value that you specified to get the second or subsequent page of results 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 can't 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 you submit a request that has the following values:
- The same value for
CallerReference
as an existing health check, and one or more values that differ from the existing health check that has the same caller reference. - The same value for
CallerReference
as a health check that you created and later deleted, regardless of the other settings in the request.
TooManyTrafficPolicies
_TooManyTrafficPolicies :: AsError a => Getting (First ServiceError) a ServiceError Source #
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 Limits in the Amazon Route 53 Developer Guide .
To get the current limit for an account, see GetAccountLimit
.
To request a higher limit, create a case with the AWS Support Center.
VPCAssociationAuthorizationNotFound
_VPCAssociationAuthorizationNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
The VPC that you specified is not authorized to be associated with the hosted zone.
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 #
The limit on the number of requests per second was exceeded.
NoSuchChange
_NoSuchChange :: AsError a => Getting (First ServiceError) a ServiceError Source #
A change with the specified change ID does not exist.
LimitsExceeded
_LimitsExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
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 GetAccountLimit
. To get the current limit on the number of Amazon VPCs that you can associate with a private hosted zone, see GetHostedZoneLimit
. To request a higher limit, create a case with the AWS Support Center.
TooManyTrafficPolicyInstances
_TooManyTrafficPolicyInstances :: AsError a => Getting (First ServiceError) a ServiceError Source #
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 Limits in the Amazon Route 53 Developer Guide .
For information about how to get the current limit for an account, see GetAccountLimit
.
To request a higher limit, create a case with the AWS Support Center.
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're trying to access is unsupported on this Amazon Route 53 endpoint.
PublicZoneVPCAssociation
_PublicZoneVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
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 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 Limits in the Amazon Route 53 Developer Guide .
To get the current limit on hosted zones that can be created by an account, see GetAccountLimit
.
To get the current limit on hosted zones that can be associated with a reusable delegation set, see GetReusableDelegationSetLimit
.
To request a higher limit, create a case with the AWS Support Center.
HealthCheckInUse
_HealthCheckInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
This error code is not in use.
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 #
The cause of this error depends on whether you're trying to create a public or a private hosted zone:
- Public hosted zone: 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
CreateReusableDelegationSet
. - Private hosted zone: 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.
LastVPCAssociation
_LastVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
TooManyHealthChecks
_TooManyHealthChecks :: AsError a => Getting (First ServiceError) a ServiceError Source #
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 Limits in the Amazon Route 53 Developer Guide .
For information about how to get the current limit for an account, see GetAccountLimit
. To request a higher limit, create a case with the AWS Support Center.
You have reached the maximum number of active health checks for an AWS account. To request a higher limit, create a case with the AWS Support Center.
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 VPC ID that you specified either isn't a valid ID or the current account is not authorized to access this VPC.
HostedZoneAlreadyExists
_HostedZoneAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
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 CallerReference
.
TooManyTrafficPolicyVersionsForCurrentPolicy
_TooManyTrafficPolicyVersionsForCurrentPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
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 GetTrafficPolicy
to get the traffic policy document for a specified traffic policy version, and then use CreateTrafficPolicy
to create a new traffic policy using the traffic policy document.
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.
GetHostedZoneLimit
AssociateVPCWithHostedZone
DeleteTrafficPolicy
GetCheckerIPRanges
GetTrafficPolicyInstance
GetHealthCheckLastFailureReason
DeleteReusableDelegationSet
ListHostedZonesByName
ListReusableDelegationSets
ListTagsForResource
ListQueryLoggingConfigs
ListTrafficPolicyInstances
CreateTrafficPolicyInstance
GetChange
ChangeResourceRecordSets
DeleteHealthCheck
UpdateHealthCheck
CreateHostedZone
CreateVPCAssociationAuthorization
ListVPCAssociationAuthorizations
ListTrafficPolicyInstancesByPolicy
DisassociateVPCFromHostedZone
CreateHealthCheck
DeleteVPCAssociationAuthorization
ChangeTagsForResource
ListHostedZones (Paginated)
GetTrafficPolicyInstanceCount
ListGeoLocations
GetHostedZone
GetHealthCheck
ListResourceRecordSets (Paginated)
CreateReusableDelegationSet
CreateQueryLoggingConfig
GetHealthCheckCount
UpdateTrafficPolicyComment
GetHostedZoneCount
GetAccountLimit
DeleteQueryLoggingConfig
GetQueryLoggingConfig
GetReusableDelegationSet
DeleteTrafficPolicyInstance
UpdateTrafficPolicyInstance
UpdateHostedZoneComment
GetHealthCheckStatus
GetReusableDelegationSetLimit
CreateTrafficPolicyVersion
TestDNSAnswer
ListHealthChecks (Paginated)
GetTrafficPolicy
ListTrafficPolicyVersions
DeleteHostedZone
GetGeoLocation
ListTagsForResources
CreateTrafficPolicy
ListTrafficPolicyInstancesByHostedZone
ListTrafficPolicies
Types
Common
The available AWS regions.
NorthVirginia | US East ('us-east-1'). |
Ohio | US East ('us-east-2'). |
NorthCalifornia | US West ('us-west-1'). |
Oregon | US West ('us-west-2'). |
Montreal | Canada ('ca-central-1'). |
Tokyo | Asia Pacific ('ap-northeast-1'). |
Seoul | Asia Pacific ('ap-northeast-2'). |
Mumbai | Asia Pacific ('ap-south-1'). |
Singapore | Asia Pacific ('ap-southeast-1'). |
Sydney | Asia Pacific ('ap-southeast-2'). |
SaoPaulo | South America ('sa-east-1'). |
Ireland | EU ('eu-west-1'). |
London | EU ('eu-west-2'). |
Frankfurt | EU ('eu-central-1'). |
GovCloud | US GovCloud ('us-gov-west-1'). |
GovCloudFIPS | US GovCloud FIPS (S3 Only, 'fips-us-gov-west-1'). |
Beijing | China ('cn-north-1'). |
newtype ResourceId Source #
A Route53 identifier for resources such as hosted zones and delegation sets.
Since Route53 outputs prefixed resource identifiers such as
hostedzoneABC123
, but expects unprefixed identifiers as inputs, such as
ABC123
, the FromXML
instance will strip this prefix take care to ensure
the correct input format is observed and decodeXML . encodeXML == id
holds.
Eq ResourceId Source # | |
Data ResourceId Source # | |
Ord ResourceId Source # | |
Read ResourceId Source # | |
Show ResourceId Source # | |
IsString ResourceId Source # | |
Generic ResourceId Source # | |
Hashable ResourceId Source # | |
NFData ResourceId Source # | |
FromXML ResourceId Source # | Handles prefixed Route53 resource identifiers. |
ToXML ResourceId Source # | |
ToLog ResourceId Source # | |
ToQuery ResourceId Source # | |
ToByteString ResourceId Source # | |
FromText ResourceId Source # | |
ToText ResourceId Source # | |
type Rep ResourceId Source # | |
Website Endpoints
getHostedZoneId :: Region -> Maybe ResourceId Source #
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.
AccountLimitType
data AccountLimitType Source #
MaxHealthChecksByOwner | |
MaxHostedZonesByOwner | |
MaxReusableDelegationSetsByOwner | |
MaxTrafficPoliciesByOwner | |
MaxTrafficPolicyInstancesByOwner |
ChangeAction
data ChangeAction Source #
ChangeStatus
data ChangeStatus Source #
CloudWatchRegion
data CloudWatchRegion Source #
ComparisonOperator
data ComparisonOperator Source #
Failover
HealthCheckRegion
data HealthCheckRegion Source #
HCRApNortheast1 | |
HCRApSoutheast1 | |
HCRApSoutheast2 | |
HCREuWest1 | |
HCRSaEast1 | |
HCRUsEast1 | |
HCRUsWest1 | |
HCRUsWest2 |
HealthCheckType
data HealthCheckType Source #
HostedZoneLimitType
data HostedZoneLimitType Source #
InsufficientDataHealthStatus
data InsufficientDataHealthStatus Source #
RecordType
data RecordType Source #
ResettableElementName
data ResettableElementName Source #
ReusableDelegationSetLimitType
data ReusableDelegationSetLimitType Source #
Statistic
TagResourceType
data TagResourceType Source #
VPCRegion
ApNortheast1 | |
ApNortheast2 | |
ApNortheast3 | |
ApSouth1 | |
ApSoutheast1 | |
ApSoutheast2 | |
CaCentral1 | |
CnNorth1 | |
EuCentral1 | |
EuWest1 | |
EuWest2 | |
EuWest3 | |
SaEast1 | |
UsEast1 | |
UsEast2 | |
UsWest1 | |
UsWest2 |
AccountLimit
data AccountLimit Source #
A complex type that contains the type of limit that you specified in the request and the current value for that limit.
See: accountLimit
smart constructor.
Creates a value of AccountLimit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
alType
- The limit that you requested. Valid values include the following: * MAX_HEALTH_CHECKS_BY_OWNER : The maximum number of health checks that you can create using the current account. * MAX_HOSTED_ZONES_BY_OWNER : The maximum number of hosted zones that you can create using the current account. * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER : The maximum number of reusable delegation sets that you can create using the current account. * MAX_TRAFFIC_POLICIES_BY_OWNER : The maximum number of traffic policies that you can create using the current account. * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER : 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.)alValue
- The current value for the limit that is specified by 'AccountLimit$Type' .
alType :: Lens' AccountLimit AccountLimitType Source #
The limit that you requested. Valid values include the following: * MAX_HEALTH_CHECKS_BY_OWNER : The maximum number of health checks that you can create using the current account. * MAX_HOSTED_ZONES_BY_OWNER : The maximum number of hosted zones that you can create using the current account. * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER : The maximum number of reusable delegation sets that you can create using the current account. * MAX_TRAFFIC_POLICIES_BY_OWNER : The maximum number of traffic policies that you can create using the current account. * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER : 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.)
alValue :: Lens' AccountLimit Natural Source #
The current value for the limit that is specified by 'AccountLimit$Type' .
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
- 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 the AWS Regions and Endpoints chapter of the Amazon Web Services General Reference .aiName
- The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy.
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 the AWS Regions and Endpoints chapter of 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 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:
- Resource record sets can't 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
- Alias resource records sets only : The value used depends on where you want to route traffic: * CloudFront distribution * SpecifyZ2FDTNDATAQYW2
. * 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 "AWS Regions and Endpoints" chapter of the Amazon Web Services 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: * Elastic Load Balancing table in the "AWS Regions and Endpoints" chapter of the Amazon Web Services General Reference : 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. * AWS Management Console : Go to the Amazon EC2 page, choose Load Balancers in the navigation pane, select the load balancer, and get the value of the Hosted zone field on the Description tab. * Elastic Load Balancing API : UseDescribeLoadBalancers
to get the applicable value. For more information, see the applicable guide: * Classic Load Balancers: Use DescribeLoadBalancers to get the value ofCanonicalHostedZoneNameId
. * Application and Network Load Balancers: Use DescribeLoadBalancers to get the value ofCanonicalHostedZoneId
. * AWS CLI : Usedescribe-load-balancers
to get the applicable value. For more information, see the applicable guide: * Classic Load Balancers: Use describe-load-balancers to get the value ofCanonicalHostedZoneNameId
. * Application and Network Load Balancers: Use describe-load-balancers to get the value ofCanonicalHostedZoneId
. * 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 Amazon Simple Storage Service Website Endpoints table in the "AWS Regions and Endpoints" chapter of 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 can't reference a resource record set in a different hosted zone.)atDNSName
- Alias resource record sets only: 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 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 theCNAME
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 Management Console : For information about how to get the value by using the console, see Using Custom Domains with AWS Elastic Beanstalk in the AWS Elastic Beanstalk Developer Guide . * Elastic Beanstalk API : Use theDescribeEnvironments
action to get the value of theCNAME
attribute. For more information, see DescribeEnvironments in the AWS Elastic Beanstalk API Reference . * AWS CLI : Use thedescribe-environments
command to get the value of theCNAME
attribute. For more information, see describe-environments in the AWS Command Line Interface Reference . * 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. * AWS Management Console : Go to the EC2 page, choose Load Balancers in the navigation pane, choose the load balancer, choose the Description tab, and get the value of the DNS name field. (If you're routing traffic to a Classic Load Balancer, get the value that begins with dualstack .) * Elastic Load Balancing API : UseDescribeLoadBalancers
to get the value ofDNSName
. For more information, see the applicable guide: * Classic Load Balancers: DescribeLoadBalancers * Application and Network Load Balancers: DescribeLoadBalancers * AWS CLI : Usedescribe-load-balancers
to get the value ofDNSName
. For more information, see the applicable guide: * Classic Load Balancers: describe-load-balancers * Application and Network Load Balancers: describe-load-balancers * 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-2.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 S3 buckets for websites, see Getting Started with Amazon Route 53 in the Amazon Route 53 Developer Guide. * Another Amazon Route 53 resource record set * Specify the value of theName
element for a resource record set in the current hosted zone.atEvaluateTargetHealth
- Applies only to alias, failover alias, geolocation alias, latency alias, and weighted alias resource record sets: WhenEvaluateTargetHealth
istrue
, 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 setEvaluateTargetHealth
totrue
when the alias target is a CloudFront distribution. * If the AWS resource that you specify inAliasTarget
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 inHostedZoneId
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 EC2 instance.) If you setEvaluateTargetHealth
totrue
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
, 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 ifAliasTarget
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 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 How Health Checks Work in More Complex Amazon Route 53 Configurations in the Amazon Route 53 Developer Guide . * We recommend that you setEvaluateTargetHealth
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 .
atHostedZoneId :: Lens' AliasTarget ResourceId Source #
Alias resource records sets only : The value used depends on where you want to route traffic: * CloudFront distribution * Specify Z2FDTNDATAQYW2
. * 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 "AWS Regions and Endpoints" chapter of the Amazon Web Services 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: * Elastic Load Balancing table in the "AWS Regions and Endpoints" chapter of the Amazon Web Services General Reference : 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. * AWS Management Console : Go to the Amazon EC2 page, choose Load Balancers in the navigation pane, select the load balancer, and get the value of the Hosted zone field on the Description tab. * Elastic Load Balancing API : Use DescribeLoadBalancers
to get the applicable value. For more information, see the applicable guide: * Classic Load Balancers: Use DescribeLoadBalancers to get the value of CanonicalHostedZoneNameId
. * Application and Network Load Balancers: Use DescribeLoadBalancers to get the value of CanonicalHostedZoneId
. * AWS CLI : Use describe-load-balancers
to get the applicable value. For more information, see the applicable guide: * Classic Load Balancers: Use describe-load-balancers to get the value of CanonicalHostedZoneNameId
. * Application and Network Load Balancers: Use describe-load-balancers to get the value of CanonicalHostedZoneId
. * 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 Amazon Simple Storage Service Website Endpoints table in the "AWS Regions and Endpoints" chapter of 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 can't 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: * 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 Management Console : For information about how to get the value by using the console, see Using Custom Domains with AWS Elastic Beanstalk in the AWS Elastic Beanstalk Developer Guide . * Elastic Beanstalk API : Use the DescribeEnvironments
action to get the value of the CNAME
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 . * 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. * AWS Management Console : Go to the EC2 page, choose Load Balancers in the navigation pane, choose the load balancer, choose the Description tab, and get the value of the DNS name field. (If you're routing traffic to a Classic Load Balancer, get the value that begins with dualstack .) * Elastic Load Balancing API : Use DescribeLoadBalancers
to get the value of DNSName
. For more information, see the applicable guide: * Classic Load Balancers: DescribeLoadBalancers * Application and Network Load Balancers: DescribeLoadBalancers * AWS CLI : Use describe-load-balancers
to get the value of DNSName
. For more information, see the applicable guide: * Classic Load Balancers: describe-load-balancers * Application and Network Load Balancers: describe-load-balancers * 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-2.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 S3 buckets for websites, see Getting Started with Amazon Route 53 in the Amazon Route 53 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, failover alias, geolocation alias, latency alias, and weighted alias resource record sets: When EvaluateTargetHealth
is true
, 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 EvaluateTargetHealth
to true
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
and DNSName
, 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 EvaluateTargetHealth
to true
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
, 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 AliasTarget
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 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 How Health Checks Work in More Complex Amazon Route 53 Configurations in the Amazon Route 53 Developer 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
- The action to perform: *CREATE
: Creates a resource record set that has the specified values. *DELETE
: Deletes a existing resource record set. Important: To delete the resource record set that is associated with a traffic policy instance, use
. Amazon Route 53 will delete the resource record set automatically. If you delete the resource record set by usingDeleteTrafficPolicyInstance
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 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.cResourceRecordSet
- Information about the resource record set to create, delete, or update.
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. Important: To delete the resource record set that is associated with a traffic policy instance, use
. Amazon Route 53 will delete the resource record set automatically. If you delete the resource record set by using DeleteTrafficPolicyInstance
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 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.
cResourceRecordSet :: Lens' Change ResourceRecordSet Source #
Information about the resource record set to create, delete, or update.
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
- A complex type that describes change information about changes made to your hosted zone. This element contains an ID that you use when performing aGetChange
action to get detailed information about the change.ciId
- The ID of the request.ciStatus
- The current state of the request.PENDING
indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.ciSubmittedAt
- The date and time that the change request was submitted in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751 UTC.
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.
ciId :: Lens' ChangeInfo ResourceId Source #
The ID of the request.
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 that the change request was submitted in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751 UTC.
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
- 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 User Guide .cwacEvaluationPeriods
- For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold.cwacThreshold
- For the metric that the CloudWatch alarm is associated with, the value the metric is compared with.cwacComparisonOperator
- For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison.cwacPeriod
- For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds.cwacMetricName
- The name of the CloudWatch metric that the alarm is associated with.cwacNamespace
- 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 User Guide .cwacStatistic
- For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric.
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 User 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 User 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 lists the name servers in a delegation set, as well as the CallerReference
and the ID
for the delegation set.
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:
dsId
- The ID that Amazon Route 53 assigns to a reusable delegation set.dsCallerReference
- The value that you specified forCallerReference
when you created the reusable delegation set.dsNameServers
- A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set.
dsId :: Lens' DelegationSet (Maybe ResourceId) Source #
The ID that Amazon Route 53 assigns to a reusable delegation set.
dsCallerReference :: Lens' DelegationSet (Maybe Text) Source #
The value that you specified for CallerReference
when you created the reusable delegation set.
dsNameServers :: Lens' DelegationSet (NonEmpty Text) Source #
A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set.
Dimension
For the metric that the CloudWatch alarm is associated with, a complex type that contains information about one dimension.
See: dimension
smart constructor.
Creates a value of Dimension
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
- The code for the subdivision, for example, a state in the United States or a province in Canada.glCountryCode
- The two-letter code for the country.glContinentCode
- The two-letter code for the continent. Valid values:AF
|AN
|AS
|EU
|OC
|NA
|SA
Constraint: SpecifyingContinentCode
with eitherCountryCode
orSubdivisionCode
returns anInvalidInput
error.
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
- The full name of the subdivision, for example, a state in the United States or a province in Canada.gldSubdivisionCode
- The code for the subdivision, for example, a state in the United States or a province in Canada.gldCountryName
- The name of the country.gldCountryCode
- The two-letter code for the country.gldContinentCode
- The two-letter code for the continent.gldContinentName
- The full name of the continent.
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:
hcLinkedService
- 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.hcCloudWatchAlarmConfiguration
- A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.hcId
- 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
- A unique string that you specified when you created the health check.hcHealthCheckConfig
- A complex type that contains detailed information about one health check.hcHealthCheckVersion
- The version of the health check. You can optionally pass this value in a call toUpdateHealthCheck
to prevent overwriting another change to the health check.
hcLinkedService :: Lens' HealthCheck (Maybe LinkedService) Source #
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.
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
- 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 . If you don't specify a value forFailureThreshold
, the default value is three health checks.hccIPAddress
- 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 forIPAddress
, Amazon Route 53 sends a DNS request to resolve the domain name that you specify inFullyQualifiedDomainName
at the interval that you specify inRequestInterval
. 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 ofIPAddress
: * IPv4 address : four values between 0 and 255, separated by periods (.), for example,192.0.2.44
. * IPv6 address : eight groups of four hexadecimal values, separated by colons (:), for example,2001:0db8:85a3:0000:0000:abcd:0001:2345
. You can also shorten IPv6 addresses as described in RFC 5952, for example,2001:db8:85a3::abcd:1:2345
. 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 forIPAddress
. 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: * RFC 5735, Special Use IPv4 Addresses * RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space * RFC 5156, Special-Use IPv6 Addresses When the value ofType
isCALCULATED
orCLOUDWATCH_METRIC
, omitIPAddress
.hccEnableSNI
- Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation. This allows the endpoint to respond toHTTPS
health check requests with the applicable SSLTLS certificate. Some endpoints require thatHTTPS
requests include the host name in theclient_hello
message. If you don't enable SNI, the status of the health check will beSSL 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 SSLTLS configuration on your endpoint and confirm that your certificate is valid. The SSL/TLS certificate on your endpoint includes a domain name in theCommon Name
field and possibly several more in theSubject Alternative Names
field. One of the domain names in the certificate should match the value that you specify forFullyQualifiedDomainName
. If the endpoint responds to theclient_hello
message with a certificate that does not include the domain name that you specified inFullyQualifiedDomainName
, a health checker will retry the handshake. In the second attempt, the health checker will omitFullyQualifiedDomainName
from theclient_hello
message.hccSearchString
- If the value of Type isHTTP_STR_MATCH
orHTTP_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 forSearchString
in the response body.hccHealthThreshold
- The number of child health checks that are associated with aCALCULATED
health that Amazon Route 53 must consider healthy for theCALCULATED
health check to be considered healthy. To specify the child health checks that you want to associate with aCALCULATED
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 specify0
, Amazon Route 53 always considers this health check to be healthy.hccRegions
- A complex type that contains oneRegion
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 Valid Values . 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).hccResourcePath
- 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 docsroute53-health-check.html.hccInsufficientDataHealthStatus
- 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 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.hccAlarmIdentifier
- 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
- 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. Important: You can't change the value ofMeasureLatency
after you create a health check.hccInverted
- 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
- Amazon Route 53 behavior depends on whether you specify a value forIPAddress
. If you specify a value forIPAddress
: Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value ofFullyQualifiedDomainName
in theHost
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 theHost
header: * If you specify a value of80
forPort
andHTTP
orHTTP_STR_MATCH
forType
, Amazon Route 53 passes the value ofFullyQualifiedDomainName
to the endpoint in the Host header. * If you specify a value of443
forPort
andHTTPS
orHTTPS_STR_MATCH
forType
, Amazon Route 53 passes the value ofFullyQualifiedDomainName
to the endpoint in theHost
header. * If you specify another value forPort
and any value exceptTCP
forType
, Amazon Route 53 passesFullyQualifiedDomainName:Port
to the endpoint in theHost
header. If you don't specify a value forFullyQualifiedDomainName
, Amazon Route 53 substitutes the value ofIPAddress
in theHost
header in each of the preceding cases. If you don't specify a value forIPAddress
: Amazon Route 53 sends a DNS request to the domain that you specify forFullyQualifiedDomainName
at the interval that you specify forRequestInterval
. 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 byFullyQualifiedDomainName
, 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 ofFullyQualifiedDomainName
, 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). Important: In this configuration, if you create a health check for which the value ofFullyQualifiedDomainName
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 forType
isHTTP
,HTTPS
,HTTP_STR_MATCH
, orHTTPS_STR_MATCH
, Amazon Route 53 passes the value ofFullyQualifiedDomainName
in theHost
header, as it does when you specify a value forIPAddress
. If the value ofType
isTCP
, Amazon Route 53 doesn't pass aHost
header.hccChildHealthChecks
- (CALCULATED Health Checks Only) A complex type that contains oneChildHealthCheck
element for each health check that you want to associate with aCALCULATED
health check.hccRequestInterval
- 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. Important: You can't change the value ofRequestInterval
after you create a health check. If you don't specify a value forRequestInterval
, the default value is30
seconds.hccPort
- The port on the endpoint on which you want Amazon Route 53 to perform health checks. Specify a value forPort
only when you specify a value forIPAddress
.hccType
- The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy. Important: You can't change the value ofType
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. Important: If you specifyHTTPS
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 inSearchString
. * HTTPS_STR_MATCH : Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits anHTTPS
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 isOK
, 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 ofHealthThreshold
. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide .
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 . If you don't specify a value for FailureThreshold
, the default value is three health checks.
hccIPAddress :: Lens' HealthCheckConfig (Maybe Text) Source #
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 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 returned by DNS, Amazon Route 53 then checks the health of the endpoint. Use one of the following formats for the value of IPAddress
: * IPv4 address : four values between 0 and 255, separated by periods (.), for example, 192.0.2.44
. * IPv6 address : eight groups of four hexadecimal values, separated by colons (:), for example, 2001:0db8:85a3:0000:0000:abcd:0001:2345
. You can also shorten IPv6 addresses as described in RFC 5952, for example, 2001:db8:85a3::abcd:1:2345
. 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 IPAddress
. 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: * RFC 5735, Special Use IPv4 Addresses * RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space * RFC 5156, Special-Use IPv6 Addresses 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 SSLTLS 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 SSLTLS 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 '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 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. If you don't specify any regions, Amazon Route 53 health checkers automatically performs checks from all of the regions that are listed under Valid Values . 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).
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 docsroute53-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 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.
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. Important: 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 a value for IPAddress
: Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of FullyQualifiedDomainName
in the Host
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 Host
header: * If you specify a value of 80
for Port
and HTTP
or HTTP_STR_MATCH
for Type
, Amazon Route 53 passes the value of FullyQualifiedDomainName
to the endpoint in the Host header. * If you specify a value of 443
for Port
and HTTPS
or HTTPS_STR_MATCH
for Type
, Amazon Route 53 passes the value of FullyQualifiedDomainName
to the endpoint in the Host
header. * If you specify another value for Port
and any value except TCP
for Type
, Amazon Route 53 passes FullyQualifiedDomainName:Port
to the endpoint in the Host
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 a value for IPAddress
: Amazon Route 53 sends a DNS request to the domain that you specify for FullyQualifiedDomainName
at the interval that you specify for RequestInterval
. 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 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-2-www.example.com), not the name of the resource record sets (www.example.com). Important: 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. Important: You can't change the value of RequestInterval
after you create a health check. If you don't specify a value for RequestInterval
, the default value is 30
seconds.
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. Important: 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. Important: If you specify HTTPS
for the value of Type
, 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 in SearchString
. * 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 is ALARM
, the health check is considered unhealthy. If CloudWatch doesn't have sufficient data to determine whether the state is OK
or ALARM
, the health check status depends on the setting for InsufficientDataHealthStatus
: Healthy
, Unhealthy
, or LastKnownStatus
. * 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, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide .
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
- The IP address of the Amazon Route 53 health checker that provided the failure reason inStatusReport
.hcoStatusReport
- 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
- The region of the Amazon Route 53 health checker that provided the status inStatusReport
.
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:
hzLinkedService
- 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.hzConfig
- A complex type that includes theComment
andPrivateZone
elements. If you omitted theHostedZoneConfig
andComment
elements from the request, theConfig
andComment
elements don't appear in the response.hzResourceRecordSetCount
- The number of resource record sets in the hosted zone.hzId
- The ID that Amazon Route 53 assigned to the hosted zone when you created it.hzName
- 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 thana-z
,0-9
, and-
(hyphen) and how to specify internationalized domain names, seeCreateHostedZone
.hzCallerReference
- The value that you specified forCallerReference
when you created the hosted zone.
hzLinkedService :: Lens' HostedZone (Maybe LinkedService) Source #
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.
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 ResourceId 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
- A value that indicates whether this is a private hosted zone.hzcComment
- Any comments that you want to include about the hosted zone.
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.
HostedZoneLimit
data HostedZoneLimit Source #
A complex type that contains the type of limit that you specified in the request and the current value for that limit.
See: hostedZoneLimit
smart constructor.
Creates a value of HostedZoneLimit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hzlType
- The limit that you requested. Valid values include the following: * MAX_RRSETS_BY_ZONE : The maximum number of records that you can create in the specified hosted zone. * MAX_VPCS_ASSOCIATED_BY_ZONE : The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.hzlValue
- The current value for the limit that is specified byType
.
hzlType :: Lens' HostedZoneLimit HostedZoneLimitType Source #
The limit that you requested. Valid values include the following: * MAX_RRSETS_BY_ZONE : The maximum number of records that you can create in the specified hosted zone. * MAX_VPCS_ASSOCIATED_BY_ZONE : The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
hzlValue :: Lens' HostedZoneLimit Natural Source #
The current value for the limit that is specified by Type
.
LinkedService
data LinkedService Source #
If a health check or hosted zone was created by another service, LinkedService
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.
See: linkedService
smart constructor.
linkedService :: LinkedService Source #
Creates a value of LinkedService
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsServicePrincipal
- 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.lsDescription
- 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.
lsServicePrincipal :: Lens' LinkedService (Maybe Text) Source #
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.
lsDescription :: Lens' LinkedService (Maybe Text) Source #
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.
QueryLoggingConfig
data QueryLoggingConfig Source #
A complex type that contains information about a configuration for DNS query logging.
See: queryLoggingConfig
smart constructor.
Creates a value of QueryLoggingConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qlcId
- The ID for a configuration for DNS query logging.qlcHostedZoneId
- The ID of the hosted zone that CloudWatch Logs is logging queries for.qlcCloudWatchLogsLogGroupARN
- The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
qlcHostedZoneId :: Lens' QueryLoggingConfig ResourceId Source #
The ID of the hosted zone that CloudWatch Logs is logging queries for.
qlcCloudWatchLogsLogGroupARN :: Lens' QueryLoggingConfig Text Source #
The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
ResourceRecord
data ResourceRecord Source #
Information specific to the resource record.
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
- The current or new DNS record value, not to exceed 4,000 characters. In the case of aDELETE
action, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValue
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 exceptCNAME
andSOA
.
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
.
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
- The resource record cache time to live (TTL), in seconds. Note the following: * If you're creating or updating an alias resource record set, omitTTL
. 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 aHealthCheckId
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 resource record sets must have the same value forTTL
. * 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 aTTL
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
- Information about the resource records to act upon.rrsAliasTarget
- Alias resource record sets only: 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 Configuring Failover in a Private Hosted Zone in the Amazon Route 53 Developer Guide .rrsWeight
- 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 theWeight
element for every weighted resource record set. * You can only specify oneResourceRecord
per weighted resource record set. * You can't create latency, failover, or geolocation resource record sets that have the same values for theName
andType
elements as weighted resource record sets. * You can create a maximum of 100 weighted resource record sets that have the same values for theName
andType
elements. * For weighted (but not weighted alias) resource record sets, if you setWeight
to0
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
to0
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 settingWeight
to0
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
- When you create a traffic policy instance, Amazon Route 53 automatically creates a resource record set.TrafficPolicyInstanceId
is the ID of the traffic policy instance that Amazon Route 53 created this resource record set for. Important: To delete the resource record set that is associated with a traffic policy instance, useDeleteTrafficPolicyInstance
. Amazon Route 53 will delete the resource record set automatically. If you delete the resource record set by usingChangeResourceRecordSets
, 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.rrsSetIdentifier
- 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 ofSetIdentifier
must be unique for each resource record set that has the same combination of DNS name and type. OmitSetIdentifier
for any other types of record sets.rrsFailover
- Failover resource record sets only: To configure failover, you add theFailover
element to two resource record sets. For one resource record set, you specifyPRIMARY
as the value forFailover
; for the other resource record set, you specifySECONDARY
. In addition, you include theHealthCheckId
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 theHealthCheckId
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 theHealthCheckId
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 theName
andType
elements as failover resource record sets. For failover alias resource record sets, you must also include theEvaluateTargetHealth
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 : * Amazon Route 53 Health Checks and DNS Failover * Configuring Failover in a Private Hosted ZonerrsHealthCheckId
- 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 theHealthCheckId
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 How Amazon Route 53 Determines Whether an Endpoint Is Healthy . TheHealthCheckId
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 setEvaluateTargetHealth
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. Important: 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 theValue
element. When you add aHealthCheckId
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 ofCountryCode
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 eachHTTP
server that is serving content forwww.example.com
. For the value ofFullyQualifiedDomainName
, specify the domain name of the server (such asus-east-2-www.example.com
), not the name of the resource record sets (example.com). Important: n this configuration, if you create a health check for which the value ofFullyQualifiedDomainName
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 Amazon Route 53 Developer Guide : * Amazon Route 53 Health Checks and DNS Failover * Configuring Failover in a Private Hosted ZonerrsRegion
- Latency-based resource record sets only: 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 oneResourceRecord
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 theName
andType
elements as latency resource record sets.rrsGeoLocation
- 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 of192.0.2.111
, create a resource record set with aType
ofA
and aContinentCode
ofAF
. 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*
in theCountryCode
element matches all geographic locations that aren't specified in other geolocation resource record sets that have the same values for theName
andType
elements. Important: 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 ofCountryCode
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 can't create non-geolocation resource record sets that have the same values for theName
andType
elements as geolocation resource record sets.rrsMultiValueAnswer
- Multivalue answer resource record sets only : To route traffic approximately randomly to multiple resources, such as web servers, create one multivalue answer record for each resource and specifytrue
forMultiValueAnswer
. 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.rrsName
- 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 treatswww.example.com
(without a trailing dot) andwww.example.com.
(with a trailing dot) as identical. For information about how to specify characters other thana-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
orprod*.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. Important: 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 can't 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 specifyprod*.example.com
.rrsType
- 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
|CAA
|CNAME
|MX
|NAPTR
|NS
|PTR
|SOA
|SPF
|SRV
|TXT
Values for weighted, latency, geolocation, and failover resource record sets:A
|AAAA
|CAA
|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. Valid values for multivalue answer resource record sets:A
|AAAA
|MX
|NAPTR
|PTR
|SPF
|SRV
|TXT
Values for alias resource record sets: * CloudFront distributions:A
If IPv6 is enabled for the distribution, create two resource record sets to route traffic to your distribution, one with a value ofA
and one with a value ofAAAA
. * AWS 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 that you're creating the alias for. All values are supported exceptNS
andSOA
.
rrsTTL :: Lens' ResourceRecordSet (Maybe Natural) Source #
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 TTL
. Amazon Route 53 uses the value of TTL
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 a TTL
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 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 for Weight
.
rrsResourceRecords :: Lens' ResourceRecordSet (Maybe (NonEmpty ResourceRecord)) Source #
Information about the resource records to act upon.
rrsAliasTarget :: Lens' ResourceRecordSet (Maybe AliasTarget) Source #
Alias resource record sets only: 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 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 can't create latency, failover, or geolocation resource record sets that have the same values for the Name
and Type
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
and Type
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 set Weight
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 #
When you create a traffic policy instance, Amazon Route 53 automatically creates a resource record set. TrafficPolicyInstanceId
is the ID of the traffic policy instance that Amazon Route 53 created this resource record set for. Important: To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance
. Amazon Route 53 will 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.
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 can't 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 : * Amazon Route 53 Health Checks and DNS Failover * Configuring Failover in a Private Hosted Zone
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 more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy . 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 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 EvaluateTargetHealth
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. Important: 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-2-www.example.com
), not the name of the resource record sets (example.com). Important: 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 information, see the following topics in the Amazon Route 53 Developer Guide : * Amazon Route 53 Health Checks and DNS Failover * Configuring Failover in a Private Hosted Zone
rrsRegion :: Lens' ResourceRecordSet (Maybe Region) Source #
Latency-based resource record sets only: 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 ResourceRecord
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 Name
and Type
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
. 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 *
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. Important: 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 can't create non-geolocation resource record sets that have the same values for the Name
and Type
elements as geolocation resource record sets.
rrsMultiValueAnswer :: Lens' ResourceRecordSet (Maybe Bool) Source #
Multivalue answer resource record sets only : To route traffic approximately randomly to multiple resources, such as web servers, create one multivalue answer record for each resource and specify true
for MultiValueAnswer
. 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.
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. Important: 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 can't 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
| CAA
| CNAME
| MX
| NAPTR
| NS
| PTR
| SOA
| SPF
| SRV
| TXT
Values for weighted, latency, geolocation, and failover resource record sets: A
| AAAA
| CAA
| 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. Valid values for multivalue answer resource record sets: A
| AAAA
| MX
| NAPTR
| PTR
| SPF
| SRV
| TXT
Values for alias resource record sets: * CloudFront distributions: A
If IPv6 is enabled for the distribution, create two resource record sets to route traffic to your distribution, one with a value of A
and one with a value of AAAA
. * AWS 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 that you're creating the alias for. All values are supported except NS
and SOA
.
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
- The ID for the specified resource.rtsResourceType
- The type of the resource. * The resource type for health checks ishealthcheck
. * The resource type for hosted zones ishostedzone
.rtsTags
- The tags associated with the specified resource.
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.
ReusableDelegationSetLimit
data ReusableDelegationSetLimit Source #
A complex type that contains the type of limit that you specified in the request and the current value for that limit.
See: reusableDelegationSetLimit
smart constructor.
reusableDelegationSetLimit Source #
Creates a value of ReusableDelegationSetLimit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdslType :: Lens' ReusableDelegationSetLimit ReusableDelegationSetLimitType Source #
The limit that you requested: MAX_ZONES_BY_REUSABLE_DELEGATION_SET
, the maximum number of hosted zones that you can associate with the specified reusable delegation set.
rdslValue :: Lens' ReusableDelegationSetLimit Natural Source #
The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET
limit.
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
- A description of the status of the health check endpoint as reported by one of the Amazon Route 53 health checkers.srCheckedTime
- The date and time that the health checker performed the health check in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751 UTC.
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 date and time that the health checker performed the health check in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2017-03-27T17:48:16.751Z
represents March 27, 2017 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.
Creates a value of Tag
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tagValue
- The value ofValue
depends on the operation that you want to perform: * Add a tag to a health check or hosted zone :Value
is the value that you want to give the new tag. * Edit a tag :Value
is the new value that you want to assign the tag.tagKey
- The value ofKey
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 that you want to change theValue
for. * Delete a key :Key
is the name of the tag you want to remove. * Give a name to a health check : Edit the defaultName
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.
tagValue :: Lens' Tag (Maybe Text) Source #
The value of Value
depends on the operation that you want to perform: * Add a tag to a health check or hosted zone : Value
is the value that you want to give the new tag. * Edit a tag : Value
is the new value that you want to assign the tag.
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 that you want to change the Value
for. * 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 #
A complex type that contains settings for a traffic policy.
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:
tpComment
- The comment that you specify in theCreateTrafficPolicy
request, if any.tpId
- The ID that Amazon Route 53 assigned to a traffic policy when you created it.tpVersion
- The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value ofVersion
is always 1.tpName
- The name that you specified when you created the traffic policy.tpType
- 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.tpDocument
- The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in theCreateTrafficPolicy
request. For more information about the JSON format, see Traffic Policy Document Format .
tpComment :: Lens' TrafficPolicy (Maybe Text) Source #
The comment that you specify in the CreateTrafficPolicy
request, if any.
tpId :: Lens' TrafficPolicy Text Source #
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
tpVersion :: Lens' TrafficPolicy Natural Source #
The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version
is always 1.
tpName :: Lens' TrafficPolicy Text Source #
The name that you specified when you created the traffic policy.
tpType :: Lens' TrafficPolicy RecordType Source #
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.
tpDocument :: Lens' TrafficPolicy Text Source #
The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy
request. For more information about the JSON format, see Traffic Policy Document Format .
TrafficPolicyInstance
data TrafficPolicyInstance Source #
A complex type that contains settings for the new traffic policy instance.
See: trafficPolicyInstance
smart constructor.
trafficPolicyInstance Source #
:: Text | |
-> ResourceId | |
-> 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:
tpiId
- The ID that Amazon Route 53 assigned to the new traffic policy instance.tpiHostedZoneId
- The ID of the hosted zone that Amazon Route 53 created resource record sets in.tpiName
- 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.tpiTTL
- The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.tpiState
- The value ofState
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. UseGetTrafficPolicyInstance
to confirm that theCreateTrafficPolicyInstance
request completed successfully. * Failed * Amazon Route 53 wasn't able to create or update the resource record sets. When the value ofState
isFailed
, seeMessage
for an explanation of what caused the request to fail.tpiMessage
- IfState
isFailed
, an explanation of the reason for the failure. IfState
is another value,Message
is empty.tpiTrafficPolicyId
- The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.tpiTrafficPolicyVersion
- The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.tpiTrafficPolicyType
- The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.
tpiId :: Lens' TrafficPolicyInstance Text Source #
The ID that Amazon Route 53 assigned to the new traffic policy instance.
tpiHostedZoneId :: Lens' TrafficPolicyInstance ResourceId Source #
The ID of the hosted zone that Amazon Route 53 created resource record sets in.
tpiName :: Lens' TrafficPolicyInstance Text Source #
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.
tpiTTL :: Lens' TrafficPolicyInstance Natural Source #
The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.
tpiState :: Lens' TrafficPolicyInstance Text Source #
The value of State
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 GetTrafficPolicyInstance
to confirm that the CreateTrafficPolicyInstance
request completed successfully. * Failed * Amazon Route 53 wasn't able to create or update the resource record sets. When the value of State
is Failed
, see Message
for an explanation of what caused the request to fail.
tpiMessage :: Lens' TrafficPolicyInstance Text Source #
If State
is Failed
, an explanation of the reason for the failure. If State
is another value, Message
is empty.
tpiTrafficPolicyId :: Lens' TrafficPolicyInstance Text Source #
The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.
tpiTrafficPolicyVersion :: Lens' TrafficPolicyInstance Natural Source #
The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.
tpiTrafficPolicyType :: Lens' TrafficPolicyInstance RecordType Source #
The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.
TrafficPolicySummary
data TrafficPolicySummary Source #
A complex type that contains information about the latest version of one traffic policy that is associated with the current AWS account.
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:
tpsId
- The ID that Amazon Route 53 assigned to the traffic policy when you created it.tpsName
- The name that you specified for the traffic policy when you created it.tpsType
- 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.tpsLatestVersion
- The version number of the latest version of the traffic policy.tpsTrafficPolicyCount
- The number of traffic policies that are associated with the current AWS account.
tpsId :: Lens' TrafficPolicySummary Text Source #
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
tpsName :: Lens' TrafficPolicySummary Text Source #
The name that you specified for the traffic policy when you created it.
tpsType :: Lens' TrafficPolicySummary RecordType Source #
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.
tpsLatestVersion :: Lens' TrafficPolicySummary Natural Source #
The version number of the latest version of the traffic policy.
tpsTrafficPolicyCount :: Lens' TrafficPolicySummary Natural Source #
The number of traffic policies that are associated with the current AWS account.
VPC
(Private hosted zones only) A complex type that contains information about an Amazon 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:
vpcVPCRegion
- (Private hosted zones only) The region in which you created an Amazon VPC.vpcVPCId
- Undocumented member.