Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data SpamAction Source #
Instances
_SpamTag :: Prism' SpamAction () Source #
_SpamBlock :: Prism' SpamAction () Source #
_SpamDisabled :: Prism' SpamAction () Source #
data DomainType Source #
Instances
_SandboxDomain :: Prism' DomainType () Source #
_CustomDomain :: Prism' DomainType () Source #
Instances
Show Domain Source # | |
FromJSON Domain Source # | |
Defined in Network.Mail.Mailgun.Domains parseJSON :: Value -> Parser Domain parseJSONList :: Value -> Parser [Domain] | |
ToJSON Domain Source # | |
Defined in Network.Mail.Mailgun.Domains toEncoding :: Domain -> Encoding toJSONList :: [Domain] -> Value toEncodingList :: [Domain] -> Encoding | |
HasDomain Domain Source # | |
Defined in Network.Mail.Mailgun.Domains domain :: Lens' Domain Domain Source # domainActive :: Lens' Domain Bool Source # domainCreated :: Lens' Domain UTCTime Source # domainName :: Lens' Domain Text Source # domainSmtpLogin :: Lens' Domain Text Source # domainSmtpPass :: Lens' Domain Text Source # domainSpamAction :: Lens' Domain SpamAction Source # domainType :: Lens' Domain DomainType Source # domainWildcard :: Lens' Domain Bool Source # |
class HasDomain c where Source #
domain :: Lens' c Domain Source #
domainActive :: Lens' c Bool Source #
domainCreated :: Lens' c UTCTime Source #
domainName :: Lens' c Text Source #
domainSmtpLogin :: Lens' c Text Source #
domainSmtpPass :: Lens' c Text Source #
domainSpamAction :: Lens' c SpamAction Source #
domainType :: Lens' c DomainType Source #
domainWildcard :: Lens' c Bool Source #
Instances
HasDomain Domain Source # | |
Defined in Network.Mail.Mailgun.Domains domain :: Lens' Domain Domain Source # domainActive :: Lens' Domain Bool Source # domainCreated :: Lens' Domain UTCTime Source # domainName :: Lens' Domain Text Source # domainSmtpLogin :: Lens' Domain Text Source # domainSmtpPass :: Lens' Domain Text Source # domainSpamAction :: Lens' Domain SpamAction Source # domainType :: Lens' Domain DomainType Source # domainWildcard :: Lens' Domain Bool Source # |
getDomains :: (HasMailgunConfig c, MonadIO m, MonadThrow m, MonadReader c m) => SourceT m Domain Source #