Class AWS::SNS::SubscriptionCollection
In: lib/aws/sns/subscription_collection.rb
Parent: Object

Represents the collection of all subscriptions for the AWS account. For example:

 # get the ARNs of all SQS queues with subscriptions to topics
 # owned by this account
 topic.subscriptions.
   select { |s| s.protocol == :sqs }.
   collect(&:endpoint)

Methods

[]   each   list_request   request_opts  

Included Modules

Core::Model Enumerable

Public Instance methods

Retrieves a subscription object by ARN. This method does not make any requests to the service.

@param [String] arn The ARN of the subscription to retrieve. @return [Subscription] The subscription with the given ARN.

Yield each subscription belonging to this account. @yieldparam [Subscription] subscription Each of the

  subscriptions in the account.

@return [nil]

Protected Instance methods

[Validate]