Class AWS::SNS::TopicSubscriptionCollection
In: lib/aws/sns/topic_subscription_collection.rb
Parent: SubscriptionCollection

Represents the collection of all subscriptions for a particular topic. For example:

    # get the e-mail addressess that receive plain-text
    # messages sent to the topic
    topic.subscriptions.
      select { |s| s.protocol == :email }.
      map(&:endpoint)

Methods

Included Modules

Core::Model Enumerable

Attributes

topic  [R]  @return [Topic] The topic to which all the subscriptions belong.

Public Class methods

Protected Instance methods

[Validate]