Inherited from Serializable
Inherited from Serializable
Inherited from Product
Inherited from Equals
Inherited from Loggable
Inherited from LiftActor
Inherited from ForwardableActor[Any, Any]
Inherited from GenericActor[Any]
Inherited from TypedActor[Any, Any]
Inherited from SpecializedLiftActor[Any]
Inherited from SimpleActor[Any]
Inherited from RestHelper
Inherited from PartialFunction[Req, () ⇒ Box[LiftResponse]]
Inherited from (Req) ⇒ () ⇒ Box[LiftResponse]
Inherited from AnyRef
Inherited from Any
Provides functionality for registering with Amazon SNS, publishing messages to SNS, and receiving messages from SNS.
Register the function you want to use for messages received from SNS, for the given SNS configuration. For example:
// Boot.scala import net.liftmodules.aws.sns._
val config = SNSConfig( AWSCreds("accessKey", "secret"), "arn", "rest" :: "path" :: Nil, "127.0.0.1", 8080, Protocol.HTTP)
val sns = SNS(config) { case s => println("I received message: "+s) }
sns.init
// SomeSnippet.scala sns ! Publish("Hello world")