Sha256: bb6900e05f72630c7ba6635e229ea9f2debf58197a3f8285cdf75844d0aa6b26

Contents?: true

Size: 831 Bytes

Versions: 16

Compression:

Stored size: 831 Bytes

Contents

module Fog
  module AWS
    class SNS
      class Real
        require 'fog/aws/parsers/sns/list_subscriptions'

        # List subscriptions for a topic
        #
        # ==== Parameters
        # * arn<~String> - Arn of topic to list subscriptions for
        # * options<~Hash>:
        #   * 'NextToken'<~String> - Token returned from previous request, used for pagination
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/sns/latest/api/API_ListSubscriptionsByTopic.html
        #

        def list_subscriptions_by_topic(arn, options = {})
          request({
            'Action'    => 'ListSubscriptionsByTopic',
            'TopicArn'  => arn.strip,
            :parser     => Fog::Parsers::AWS::SNS::ListSubscriptions.new
          }.merge!(options))
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 4 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
fog-1.26.0 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
fog-1.25.0 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
nsidc-fog-1.24.1 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
fog-1.24.0 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
ns-fog-1.22.11 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
ns-fog-1.22.10 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
ns-fog-1.22.9 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
ns-fog-1.22.8 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
ns-fog-1.22.7 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
ns-fog-1.22.6 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
fog-1.23.0 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
ns-fog-1.22.4 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
ns-fog-1.22.3 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
ns-fog-1.22.2 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
fog-1.22.1 lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb