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)
Returns a subscription with the given ARN. This does not make a request to AWS. @param [String] arn The subscription ARN. @return [Subscription]
Yield each subscription belonging to this account. @yieldparam [Subscription] subscription Each of the
subscriptions in the account.
@return [nil]