mandrill-0.5.3.1: Library for interfacing with the Mandrill JSON API
Network.API.Mandrill.Messages.Types
data MessagesSendRq Source #
Constructors
Fields
Instances
Methods
showsPrec :: Int -> MessagesSendRq -> ShowS #
show :: MessagesSendRq -> String #
showList :: [MessagesSendRq] -> ShowS #
toJSON :: MessagesSendRq -> Value #
toEncoding :: MessagesSendRq -> Encoding #
toJSONList :: [MessagesSendRq] -> Value #
toEncodingList :: [MessagesSendRq] -> Encoding #
parseJSON :: Value -> Parser MessagesSendRq #
parseJSONList :: Value -> Parser [MessagesSendRq] #
msrq_send_at :: Lens' MessagesSendRq (Maybe UTCTime) Source #
msrq_message :: Lens' MessagesSendRq MandrillMessage Source #
msrq_key :: Lens' MessagesSendRq MandrillKey Source #
msrq_ip_pool :: Lens' MessagesSendRq (Maybe Text) Source #
msrq_async :: Lens' MessagesSendRq (Maybe Bool) Source #
data MessagesSendTemplateRq Source #
showsPrec :: Int -> MessagesSendTemplateRq -> ShowS #
show :: MessagesSendTemplateRq -> String #
showList :: [MessagesSendTemplateRq] -> ShowS #
toJSON :: MessagesSendTemplateRq -> Value #
toEncoding :: MessagesSendTemplateRq -> Encoding #
toJSONList :: [MessagesSendTemplateRq] -> Value #
toEncodingList :: [MessagesSendTemplateRq] -> Encoding #
parseJSON :: Value -> Parser MessagesSendTemplateRq #
parseJSONList :: Value -> Parser [MessagesSendTemplateRq] #
mstrq_template_name :: Lens' MessagesSendTemplateRq Text Source #
mstrq_template_content :: Lens' MessagesSendTemplateRq [MandrillTemplateContent] Source #
mstrq_send_at :: Lens' MessagesSendTemplateRq (Maybe UTCTime) Source #
mstrq_message :: Lens' MessagesSendTemplateRq MandrillMessage Source #
mstrq_key :: Lens' MessagesSendTemplateRq MandrillKey Source #
mstrq_ip_pool :: Lens' MessagesSendTemplateRq (Maybe Text) Source #
mstrq_async :: Lens' MessagesSendTemplateRq (Maybe Bool) Source #
data MessagesResponse Source #
The email address of the recipient
The sending status of the recipient
The reason for the rejection if the recipient status is "rejected"
The message's unique id
showsPrec :: Int -> MessagesResponse -> ShowS #
show :: MessagesResponse -> String #
showList :: [MessagesResponse] -> ShowS #
toJSON :: MessagesResponse -> Value #
toEncoding :: MessagesResponse -> Encoding #
toJSONList :: [MessagesResponse] -> Value #
toEncodingList :: [MessagesResponse] -> Encoding #
parseJSON :: Value -> Parser MessagesResponse #
parseJSONList :: Value -> Parser [MessagesResponse] #
mres_status :: Lens' MessagesResponse MandrillEmailStatus Source #
mres_reject_reason :: Lens' MessagesResponse (Maybe MandrillRejectReason) Source #
mres_email :: Lens' MessagesResponse Text Source #
mres__id :: Lens' MessagesResponse Text Source #