Safe Haskell | None |
---|---|
Language | Haskell2010 |
- Service
- AliasTarget
- ResourceRecord
- Tag
- GeoLocationDetails
- HealthCheck
- VPCRegion
- RecordType
- ChangeAction
- TagResourceType
- HealthCheckConfig
- Change
- Failover
- HostedZone
- ResourceTagSet
- ChangeStatus
- ChangeBatch
- StatusReport
- HealthCheckType
- VPC
- HostedZoneConfig
- ResourceRecordSet
- DelegationSet
- ChangeInfo
- GeoLocation
- HealthCheckObservation
- Common
- data Route53
- data RESTError :: *
- ns :: Text
- data AliasTarget
- aliasTarget :: Text -> Text -> Bool -> AliasTarget
- atDNSName :: Lens' AliasTarget Text
- atEvaluateTargetHealth :: Lens' AliasTarget Bool
- atHostedZoneId :: Lens' AliasTarget Text
- data ResourceRecord
- resourceRecord :: Text -> ResourceRecord
- rrValue :: Lens' ResourceRecord Text
- data Tag
- tag :: Tag
- tagKey :: Lens' Tag (Maybe Text)
- tagValue :: Lens' Tag (Maybe Text)
- data GeoLocationDetails
- geoLocationDetails :: GeoLocationDetails
- gldContinentCode :: Lens' GeoLocationDetails (Maybe Text)
- gldContinentName :: Lens' GeoLocationDetails (Maybe Text)
- gldCountryCode :: Lens' GeoLocationDetails (Maybe Text)
- gldCountryName :: Lens' GeoLocationDetails (Maybe Text)
- gldSubdivisionCode :: Lens' GeoLocationDetails (Maybe Text)
- gldSubdivisionName :: Lens' GeoLocationDetails (Maybe Text)
- data HealthCheck
- healthCheck :: Text -> Text -> HealthCheckConfig -> Natural -> HealthCheck
- hcCallerReference :: Lens' HealthCheck Text
- hcHealthCheckConfig :: Lens' HealthCheck HealthCheckConfig
- hcHealthCheckVersion :: Lens' HealthCheck Natural
- hcId :: Lens' HealthCheck Text
- data VPCRegion
- data RecordType
- data ChangeAction
- data TagResourceType
- data HealthCheckConfig
- healthCheckConfig :: HealthCheckType -> HealthCheckConfig
- hccFailureThreshold :: Lens' HealthCheckConfig (Maybe Natural)
- hccFullyQualifiedDomainName :: Lens' HealthCheckConfig (Maybe Text)
- hccIPAddress :: Lens' HealthCheckConfig (Maybe Text)
- hccPort :: Lens' HealthCheckConfig (Maybe Natural)
- hccRequestInterval :: Lens' HealthCheckConfig (Maybe Natural)
- hccResourcePath :: Lens' HealthCheckConfig (Maybe Text)
- hccSearchString :: Lens' HealthCheckConfig (Maybe Text)
- hccType :: Lens' HealthCheckConfig HealthCheckType
- data Change
- change :: ChangeAction -> ResourceRecordSet -> Change
- cAction :: Lens' Change ChangeAction
- cResourceRecordSet :: Lens' Change ResourceRecordSet
- data Failover
- data HostedZone
- hostedZone :: Text -> Text -> Text -> HostedZone
- hzCallerReference :: Lens' HostedZone Text
- hzConfig :: Lens' HostedZone (Maybe HostedZoneConfig)
- hzId :: Lens' HostedZone Text
- hzName :: Lens' HostedZone Text
- hzResourceRecordSetCount :: Lens' HostedZone (Maybe Integer)
- data ResourceTagSet
- resourceTagSet :: NonEmpty Tag -> ResourceTagSet
- rtsResourceId :: Lens' ResourceTagSet (Maybe Text)
- rtsResourceType :: Lens' ResourceTagSet (Maybe TagResourceType)
- rtsTags :: Lens' ResourceTagSet (NonEmpty Tag)
- data ChangeStatus
- data ChangeBatch
- changeBatch :: NonEmpty Change -> ChangeBatch
- cbChanges :: Lens' ChangeBatch (NonEmpty Change)
- cbComment :: Lens' ChangeBatch (Maybe Text)
- data StatusReport
- statusReport :: StatusReport
- srCheckedTime :: Lens' StatusReport (Maybe UTCTime)
- srStatus :: Lens' StatusReport (Maybe Text)
- data HealthCheckType
- = Http
- | HttpStrMatch
- | Https
- | HttpsStrMatch
- | Tcp
- data VPC
- vpc :: VPC
- vpcVPCId :: Lens' VPC (Maybe Text)
- vpcVPCRegion :: Lens' VPC (Maybe VPCRegion)
- data HostedZoneConfig
- hostedZoneConfig :: HostedZoneConfig
- hzcComment :: Lens' HostedZoneConfig (Maybe Text)
- hzcPrivateZone :: Lens' HostedZoneConfig (Maybe Bool)
- data ResourceRecordSet
- resourceRecordSet :: Text -> RecordType -> NonEmpty ResourceRecord -> ResourceRecordSet
- rrsAliasTarget :: Lens' ResourceRecordSet (Maybe AliasTarget)
- rrsFailover :: Lens' ResourceRecordSet (Maybe Failover)
- rrsGeoLocation :: Lens' ResourceRecordSet (Maybe GeoLocation)
- rrsHealthCheckId :: Lens' ResourceRecordSet (Maybe Text)
- rrsName :: Lens' ResourceRecordSet Text
- rrsRegion :: Lens' ResourceRecordSet (Maybe Region)
- rrsResourceRecords :: Lens' ResourceRecordSet (NonEmpty ResourceRecord)
- rrsSetIdentifier :: Lens' ResourceRecordSet (Maybe Text)
- rrsTTL :: Lens' ResourceRecordSet (Maybe Natural)
- rrsType :: Lens' ResourceRecordSet RecordType
- rrsWeight :: Lens' ResourceRecordSet (Maybe Natural)
- data DelegationSet
- delegationSet :: NonEmpty Text -> DelegationSet
- dsCallerReference :: Lens' DelegationSet (Maybe Text)
- dsId :: Lens' DelegationSet (Maybe Text)
- dsNameServers :: Lens' DelegationSet (NonEmpty Text)
- data ChangeInfo
- changeInfo :: Text -> ChangeStatus -> UTCTime -> ChangeInfo
- ciComment :: Lens' ChangeInfo (Maybe Text)
- ciId :: Lens' ChangeInfo Text
- ciStatus :: Lens' ChangeInfo ChangeStatus
- ciSubmittedAt :: Lens' ChangeInfo UTCTime
- data GeoLocation
- geoLocation :: GeoLocation
- glContinentCode :: Lens' GeoLocation (Maybe Text)
- glCountryCode :: Lens' GeoLocation (Maybe Text)
- glSubdivisionCode :: Lens' GeoLocation (Maybe Text)
- data HealthCheckObservation
- healthCheckObservation :: HealthCheckObservation
- hcoIPAddress :: Lens' HealthCheckObservation (Maybe Text)
- hcoStatusReport :: Lens' HealthCheckObservation (Maybe StatusReport)
- data Region :: *
Service
Version 2013-04-01
of the Amazon Route 53 service.
Error
data RESTError :: *
Eq RESTError | |
Show RESTError | |
Generic RESTError | |
AWSErrorCode RESTError | |
FromXML RESTError | |
type Rep RESTError = D1 D1RESTError (C1 C1_0RESTError ((:*:) ((:*:) (S1 S1_0_0RESTError (Rec0 Text)) (S1 S1_0_1RESTError (Rec0 (Maybe ErrorType)))) ((:*:) (S1 S1_0_2RESTError (Rec0 ErrorCode)) (S1 S1_0_3RESTError (Rec0 Text))))) |
XML
AliasTarget
data AliasTarget Source
AliasTarget
constructor.
The fields accessible through corresponding lenses are:
atDNSName :: Lens' AliasTarget Text Source
Alias resource record sets only: The external DNS name associated with the AWS Resource.
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide
.
atEvaluateTargetHealth :: Lens' AliasTarget Bool Source
Alias resource record sets only: A boolean value that indicates whether this Resource Record Set should respect the health status of any health checks associated with the ALIAS target record which it is linked to.
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide
.
atHostedZoneId :: Lens' AliasTarget Text Source
Alias resource record sets only: The value of the hosted zone ID for the AWS resource.
For more information and an example, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide
.
ResourceRecord
data ResourceRecord Source
rrValue :: Lens' ResourceRecord Text Source
The value of the Value
element for the current resource record set.
Tag
GeoLocationDetails
data GeoLocationDetails Source
geoLocationDetails :: GeoLocationDetails Source
GeoLocationDetails
constructor.
The fields accessible through corresponding lenses are:
gldContinentCode :: Lens' GeoLocationDetails (Maybe Text) Source
The code for a continent geo location. Note: only continent locations have a continent code.
gldContinentName :: Lens' GeoLocationDetails (Maybe Text) Source
The name of the continent. This element is only present if ContinentCode
is
also present.
gldCountryName :: Lens' GeoLocationDetails (Maybe Text) Source
The name of the country. This element is only present if CountryCode
is also
present.
gldSubdivisionCode :: Lens' GeoLocationDetails (Maybe Text) Source
The code for a country's subdivision (e.g., a province of Canada). A subdivision code is only valid with the appropriate country code.
gldSubdivisionName :: Lens' GeoLocationDetails (Maybe Text) Source
The name of the subdivision. This element is only present if SubdivisionCode
is also present.
HealthCheck
data HealthCheck Source
:: Text | |
-> Text | |
-> HealthCheckConfig | |
-> Natural | |
-> HealthCheck |
HealthCheck
constructor.
The fields accessible through corresponding lenses are:
hcCallerReference :: Lens' HealthCheck Text Source
A unique string that identifies the request to create the health check.
hcHealthCheckConfig :: Lens' HealthCheck HealthCheckConfig Source
A complex type that contains the health check configuration.
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.
hcId :: Lens' HealthCheck Text Source
The ID of the specified health check.
VPCRegion
ApNortheast1 | ap-northeast-1 |
ApSoutheast1 | ap-southeast-1 |
ApSoutheast2 | ap-southeast-2 |
CnNorth1 | cn-north-1 |
EuCentral1 | eu-central-1 |
EuWest1 | eu-west-1 |
SaEast1 | sa-east-1 |
UsEast1 | us-east-1 |
UsWest1 | us-west-1 |
UsWest2 | us-west-2 |
RecordType
data RecordType Source
ChangeAction
data ChangeAction Source
TagResourceType
data TagResourceType Source
Healthcheck | healthcheck |
Hostedzone | hostedzone |
HealthCheckConfig
data HealthCheckConfig Source
HealthCheckConfig
constructor.
The fields accessible through corresponding lenses are:
hccFailureThreshold :: Lens' HealthCheckConfig (Maybe Natural) Source
The number of consecutive health checks that an endpoint must pass or fail for Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.
Valid values are integers between 1 and 10. For more information, see "How Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon Route 53 Developer Guide.
hccFullyQualifiedDomainName :: Lens' HealthCheckConfig (Maybe Text) Source
Fully qualified domain name of the instance to be health checked.
hccIPAddress :: Lens' HealthCheckConfig (Maybe Text) Source
IP Address of the instance being checked.
hccPort :: Lens' HealthCheckConfig (Maybe Natural) Source
Port on which connection will be opened to the instance to health check. For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified.
hccRequestInterval :: Lens' HealthCheckConfig (Maybe Natural) Source
The number of seconds between the time that Route 53 gets a response from your endpoint and the time that it sends the next health-check request.
Each Route 53 health checker makes requests at this interval. Valid values are 10 and 30. The default value is 30.
hccResourcePath :: Lens' HealthCheckConfig (Maybe Text) Source
Path to ping on the instance to check the health. Required for HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks, HTTP request is issued to the instance on the given port and path.
hccSearchString :: Lens' HealthCheckConfig (Maybe Text) Source
A string to search for in the body of a health check response. Required for HTTP_STR_MATCH and HTTPS_STR_MATCH health checks.
hccType :: Lens' HealthCheckConfig HealthCheckType Source
The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH.
Change
Change
constructor.
The fields accessible through corresponding lenses are:
cAction :: Lens' Change ChangeAction Source
The action to perform.
Valid values: CREATE
| DELETE
| UPSERT
cResourceRecordSet :: Lens' Change ResourceRecordSet Source
Information about the resource record set to create or delete.
Failover
HostedZone
data HostedZone Source
HostedZone
constructor.
The fields accessible through corresponding lenses are:
hzCallerReference :: Lens' HostedZone Text Source
A unique string that identifies the request to create the hosted zone.
hzConfig :: Lens' HostedZone (Maybe HostedZoneConfig) Source
A complex type that contains the Comment
element.
hzId :: Lens' HostedZone Text Source
The ID of the specified hosted zone.
hzName :: Lens' HostedZone Text Source
The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.
This is the name you have registered with your DNS registrar. You should ask
your registrar to change the authoritative name servers for your domain to
the set of NameServers
elements returned in DelegationSet
.
hzResourceRecordSetCount :: Lens' HostedZone (Maybe Integer) Source
Total number of resource record sets in the hosted zone.
ResourceTagSet
data ResourceTagSet Source
ResourceTagSet
constructor.
The fields accessible through corresponding lenses are:
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 (NonEmpty Tag) Source
The tags associated with the specified resource.
ChangeStatus
data ChangeStatus Source
ChangeBatch
data ChangeBatch Source
cbChanges :: Lens' ChangeBatch (NonEmpty Change) Source
A complex type that contains one Change
element for each resource record set
that you want to create or delete.
cbComment :: Lens' ChangeBatch (Maybe Text) Source
Optional: Any comments you want to include about a change batch request.
StatusReport
data StatusReport Source
statusReport :: StatusReport Source
StatusReport
constructor.
The fields accessible through corresponding lenses are:
srCheckedTime :: Lens' StatusReport (Maybe UTCTime) Source
The date and time the health check status was observed, in the format 'YYYY-MM-DDThh:mm:ssZ', as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).
The Z
after the time indicates that the time is listed in Coordinated
Universal Time (UTC), which is synonymous with Greenwich Mean Time in this
context.
HealthCheckType
data HealthCheckType Source
Http | HTTP |
HttpStrMatch | HTTP_STR_MATCH |
Https | HTTPS |
HttpsStrMatch | HTTPS_STR_MATCH |
Tcp | TCP |
VPC
HostedZoneConfig
data HostedZoneConfig Source
hostedZoneConfig :: HostedZoneConfig Source
HostedZoneConfig
constructor.
The fields accessible through corresponding lenses are:
hzcComment :: Lens' HostedZoneConfig (Maybe Text) Source
An optional comment about your hosted zone. If you don't want to specify a
comment, you can omit the HostedZoneConfig
and Comment
elements from the XML
document.
hzcPrivateZone :: Lens' HostedZoneConfig (Maybe Bool) Source
A value that indicates whether this is a private hosted zone. The value is returned in the response; do not specify it in the request.
ResourceRecordSet
data ResourceRecordSet Source
ResourceRecordSet
constructor.
The fields accessible through corresponding lenses are:
rrsAliasTarget
::
Maybe
AliasTarget
rrsFailover
::
Maybe
Failover
rrsGeoLocation
::
Maybe
GeoLocation
rrsHealthCheckId
::
Maybe
Text
rrsName
::
Text
rrsRegion
::
Maybe
Region
rrsResourceRecords
::
NonEmpty
ResourceRecord
rrsSetIdentifier
::
Maybe
Text
rrsTTL
::
Maybe
Natural
rrsType
::
RecordType
rrsWeight
::
Maybe
Natural
rrsAliasTarget :: Lens' ResourceRecordSet (Maybe AliasTarget) Source
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.
rrsFailover :: Lens' ResourceRecordSet (Maybe Failover) Source
Failover resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that indicates whether the current resource record set is a primary or secondary resource record set. A failover set may contain at most one resource record set marked as primary and one resource record set marked as secondary. A resource record set marked as primary will be returned if any of the following are true: (1) an associated health check is passing, (2) if the resource record set is an alias with the evaluate target health and at least one target resource record set is healthy, (3) both the primary and secondary resource record set are failing health checks or (4) there is no secondary resource record set. A secondary resource record set will be returned if: (1) the primary is failing a health check and either the secondary is passing a health check or has no associated health check, or (2) there is no primary resource record set.
Valid values: PRIMARY
| SECONDARY
rrsGeoLocation :: Lens' ResourceRecordSet (Maybe GeoLocation) Source
Geo location resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the geo location for the current resource record set.
rrsHealthCheckId :: Lens' ResourceRecordSet (Maybe Text) Source
Health Check resource record sets only, not required for alias resourcerecord sets: An identifier that is used to identify health check associated with the resource record set.
rrsName :: Lens' ResourceRecordSet Text Source
The domain name of the current resource record set.
rrsRegion :: Lens' ResourceRecordSet (Maybe Region) Source
Latency-based resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the AWS region for the current resource record set.
rrsResourceRecords :: Lens' ResourceRecordSet (NonEmpty ResourceRecord) Source
A complex type that contains the resource records for the current resource record set.
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.
rrsTTL :: Lens' ResourceRecordSet (Maybe Natural) Source
The cache time to live for the current resource record set.
rrsType :: Lens' ResourceRecordSet RecordType Source
The type of the current resource record set.
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 what portion of traffic for the current resource record set is routed to the associated location.
DelegationSet
data DelegationSet Source
DelegationSet
constructor.
The fields accessible through corresponding lenses are:
dsNameServers :: Lens' DelegationSet (NonEmpty Text) Source
A complex type that contains the authoritative name servers for the hosted
zone. Use the method provided by your domain registrar to add an NS record to
your domain for each NameServer
that is assigned to your hosted zone.
ChangeInfo
data ChangeInfo Source
ChangeInfo
constructor.
The fields accessible through corresponding lenses are:
ciComment
::
Maybe
Text
ciId
::
Text
ciStatus
::
ChangeStatus
ciSubmittedAt
::
UTCTime
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 Text Source
The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.
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.
Valid Values: PENDING
| INSYNC
ciSubmittedAt :: Lens' ChangeInfo UTCTime Source
The date and time the change was submitted, in the format 'YYYY-MM-DDThh:mm:ssZ'
, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).
The Z
after the time indicates that the time is listed in Coordinated
Universal Time (UTC), which is synonymous with Greenwich Mean Time in this
context.
GeoLocation
data GeoLocation Source
geoLocation :: GeoLocation Source
GeoLocation
constructor.
The fields accessible through corresponding lenses are:
glContinentCode :: Lens' GeoLocation (Maybe Text) Source
The code for a continent geo location. Note: only continent locations have a continent code.
Valid values: AF
| AN
| AS
| EU
| OC
| NA
| SA
Constraint: Specifying ContinentCode
with either CountryCode
or SubdivisionCode
returns an InvalidInput
error.
glSubdivisionCode :: Lens' GeoLocation (Maybe Text) Source
The code for a country's subdivision (e.g., a province of Canada). A subdivision code is only valid with the appropriate country code.
Constraint: Specifying SubdivisionCode
without CountryCode
returns an InvalidInput
error.
HealthCheckObservation
healthCheckObservation :: HealthCheckObservation Source
HealthCheckObservation
constructor.
The fields accessible through corresponding lenses are:
hcoIPAddress :: Lens' HealthCheckObservation (Maybe Text) Source
The IP address of the Route 53 health checker that performed the health check.
hcoStatusReport :: Lens' HealthCheckObservation (Maybe StatusReport) Source
A complex type that contains information about the health check status for the current observation.
Common
data Region :: *
The sum of available AWS regions.
Ireland | Europe / eu-west-1 |
Frankfurt | Europe / eu-central-1 |
Tokyo | Asia Pacific / ap-northeast-1 |
Singapore | Asia Pacific / ap-southeast-1 |
Sydney | Asia Pacific / ap-southeast-2 |
Beijing | China / cn-north-1 |
NorthVirginia | US / us-east-1 |
NorthCalifornia | US / us-west-1 |
Oregon | US / us-west-2 |
GovCloud | AWS GovCloud / us-gov-west-1 |
GovCloudFIPS | AWS GovCloud (FIPS 140-2) S3 Only / fips-us-gov-west-1 |
SaoPaulo | South America / sa-east-1 |
Eq Region | |
Ord Region | |
Read Region | |
Show Region | |
Generic Region | |
Hashable Region | |
Default Region | |
FromXML Region | |
ToXML Region | |
ToByteString Region | |
ToBuilder Region | |
FromText Region | |
ToText Region | |
type Rep Region = D1 D1Region ((:+:) ((:+:) ((:+:) (C1 C1_0Region U1) ((:+:) (C1 C1_1Region U1) (C1 C1_2Region U1))) ((:+:) (C1 C1_3Region U1) ((:+:) (C1 C1_4Region U1) (C1 C1_5Region U1)))) ((:+:) ((:+:) (C1 C1_6Region U1) ((:+:) (C1 C1_7Region U1) (C1 C1_8Region U1))) ((:+:) (C1 C1_9Region U1) ((:+:) (C1 C1_10Region U1) (C1 C1_11Region U1))))) |