pinpon-0.2.0.1: A gateway for various cloud notification services

Safe HaskellNone
LanguageHaskell2010

Network.PinPon.WireTypes.SNS

Contents

Synopsis

Amazon Simple Notification Service on-the-wire types

data Message Source #

A multi-platform SNS message.

Constructors

Message 

Fields

Instances

Show Message Source # 
Generic Message Source # 

Associated Types

type Rep Message :: * -> * #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

ToJSON Message Source # 
type Rep Message Source # 
type Rep Message = D1 * (MetaData "Message" "Network.PinPon.WireTypes.SNS" "pinpon-0.2.0.1-9ui0W09cQpRCpxrEsklgzL" False) (C1 * (MetaCons "Message" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_defaultText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_apnsPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Payload))) (S1 * (MetaSel (Just Symbol "_apnsSandboxPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Payload))))))

defaultMessage :: Message Source #

A pinpon-specific default value for Message.