class AWS::SNS
:secret_access_key => ‘YOUR_SECRET_ACCESS_KEY’)
:access_key_id => ‘YOUR_ACCESS_KEY_ID’,
sns = AWS::SNS.new(
Or you can set them directly on the SNS interface:
:secret_access_key => ‘YOUR_SECRET_ACCESS_KEY’)
:access_key_id => ‘YOUR_ACCESS_KEY_ID’,
AWS.config(
AWS.config:
You can setup default credentials for all AWS services via
= Credentials
* {Amazon SNS Documentation}[http://aws.amazon.com/documentation/sns/]
* {Amazon SNS}[http://aws.amazon.com/sns/]
For more information about Amazon SNS:
To use Amazon SNS you must first sign up here.
Notification Service (SNS).
This class is the starting point for working with Amazon Simple
def subscriptions
-
(SubscriptionCollection)
- Returns a subscription
def subscriptions SubscriptionCollection.new(:config => config) end
def topics
-
(TopicCollection)
- Returns a topic collection for managing
def topics TopicCollection.new(:config => config) end