aws-sns-0.1: Bindings for AWS SNS Version 2013-03-31

Stabilityexperimental
MaintainerLars Kuhtz <lars@alephcloud.com>
Safe HaskellNone

Aws.Sns

Description

API Version: 2013-03-31

http://docs.aws.amazon.com/sns/2010-03-31/APIReference/Welcome.html

The types and functions of this package are supposed to be use with the machinery from the aws package.

Here is a very simple example for making a single request to AWS SNS.

 import Aws
 import Aws.Core
 import Aws.General
 import Aws.Sns
 import Data.IORef

 cfg <- Aws.baseConfiguration
 creds <- Credentials "access-key-id" "secret-access-key" `fmap` newIORef []
 let snsCfg = SnsConfiguration HTTPS UsWest2
 simpleAws cfg snsCfg $ ListTopics Nothing

In order to run the example you must replace access-key-id and secret-access-key with the respective values for your AWS account.

Documentation