Safe Haskell | None |
---|
- data Route53Configuration qt = Route53Configuration {}
- route53EndpointUsClassic :: ByteString
- route53 :: Route53Configuration qt
- data Route53Error = Route53Error {}
- data Route53Metadata = Route53Metadata {}
- route53SignQuery :: Method -> ByteString -> [(ByteString, ByteString)] -> Maybe Element -> Route53Configuration qt -> SignatureData -> SignedQuery
- route53ResponseConsumer :: (Cursor -> Response Route53Metadata a) -> IORef Route53Metadata -> HTTPResponseConsumer a
- route53CheckResponseType :: MonadThrow m => a -> Text -> Cursor -> m a
- data RecordType
- typeToString :: RecordType -> String
- data HostedZone = HostedZone {}
- type HostedZones = [HostedZone]
- newtype Domain = Domain {}
- newtype HostedZoneId = HostedZoneId {}
- data DelegationSet = DelegationSet {}
- type Nameserver = Domain
- type Nameservers = [Nameserver]
- dsNameservers :: DelegationSet -> [Domain]
- data REGION
- = ApNorthEast1
- | ApSouthEast2
- | EuWest1
- | SaEast1
- | UsEast1
- | UsWest1
- | UsWest2
- | UnknownRegion
- type ResourceRecordSets = [ResourceRecordSet]
- data ResourceRecordSet = ResourceRecordSet {}
- type ResourceRecords = [ResourceRecord]
- newtype ResourceRecord = ResourceRecord {}
- data AliasTarget = AliasTarget {}
- data ChangeInfo = ChangeInfo {}
- data ChangeInfoStatus
- newtype ChangeId = ChangeId {
- changeIdText :: Text
- class Route53Parseable r where
- r53Parse :: MonadThrow m => Cursor -> m r
- class Route53XmlSerializable r where
- class Route53Id r where
- idQualifier :: r -> Text
- idText :: r -> Text
- asId :: Text -> r
- qualifiedIdTextPrefix :: r -> Text
- qualifiedIdText :: r -> Text
- asId' :: Text -> r
- findHeader :: [Header] -> HeaderName -> Maybe Header
- findHeaderValue :: [Header] -> HeaderName -> Maybe ByteString
- hRequestId :: HeaderName
Configuration
Error
data Route53Error Source
Metadata
data Route53Metadata Source
Query
route53SignQuery :: Method -> ByteString -> [(ByteString, ByteString)] -> Maybe Element -> Route53Configuration qt -> SignatureData -> SignedQuerySource
Response
route53ResponseConsumer :: (Cursor -> Response Route53Metadata a) -> IORef Route53Metadata -> HTTPResponseConsumer aSource
route53CheckResponseType :: MonadThrow m => a -> Text -> Cursor -> m aSource
Model
DNS
data RecordType Source
Hosted Zone
data HostedZone Source
HostedZone | |
|
type HostedZones = [HostedZone]Source
newtype HostedZoneId Source
Delegation Set
data DelegationSet Source
type Nameserver = DomainSource
type Nameservers = [Nameserver]Source
dsNameservers :: DelegationSet -> [Domain]Source
Resource Record Set
data ResourceRecordSet Source
ResourceRecordSet | |
|
type ResourceRecords = [ResourceRecord]Source
newtype ResourceRecord Source
data AliasTarget Source
Change Info
data ChangeInfo Source
Parser Utilities
class Route53Parseable r whereSource
A class for Route53 XML response parsers
TODO there is a lot of Boilerplat here. With only little overhead serializatin and deserialization could be derived from the instance declaration. Maybe some DLS would be a goold solution
r53Parse :: MonadThrow m => Cursor -> m rSource
class Route53XmlSerializable r whereSource
idQualifier :: r -> TextSource
qualifiedIdTextPrefix :: r -> TextSource
qualifiedIdText :: r -> TextSource
HTTP Utilites
This functions extend Types
findHeader :: [Header] -> HeaderName -> Maybe HeaderSource
findHeaderValue :: [Header] -> HeaderName -> Maybe ByteStringSource