Sha256: cc4a932a1c4779d395aaff586edc36e65ddaa6d6bc7071f0efafa7b445e63963

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

module Fog
  module AWS
    class SNS
      class Real

        require 'rackspace-fog/aws/parsers/sns/get_topic_attributes'

        # Get attributes of a topic
        #
        # ==== Parameters
        # * arn<~Hash>: The Arn of the topic to get attributes for
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/sns/latest/api/API_GetTopicAttributes.html
        #

        def get_topic_attributes(arn)
          request({
            'Action'    => 'GetTopicAttributes',
            'TopicArn'  => arn.strip,
            :parser     => Fog::Parsers::AWS::SNS::GetTopicAttributes.new
          })
        end

      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace-fog-1.4.2 lib/rackspace-fog/aws/requests/sns/get_topic_attributes.rb