Sha256: d0df95c7ad9f497cf776e6cb829ee4b790f7f7835d89b110f1579a3519b1f7b5

Contents?: true

Size: 604 Bytes

Versions: 87

Compression:

Stored size: 604 Bytes

Contents

module Fog
  module AWS
    class SNS
      class Real

        require 'fog/aws/parsers/sns/delete_topic'

        # Delete a topic
        #
        # ==== Parameters
        # * arn<~String> - The Arn of the topic to delete
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/sns/latest/api/API_DeleteTopic.html
        #

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

      end

    end
  end
end

Version data entries

87 entries across 87 versions & 15 rubygems

Version Path
fog-1.10.1 lib/fog/aws/requests/sns/delete_topic.rb
fog-parser-fix-1.6.1 lib/fog/aws/requests/sns/delete_topic.rb
fog-test-again-1.6.0 lib/fog/aws/requests/sns/delete_topic.rb
fog-test-me-1.10.0 lib/fog/aws/requests/sns/delete_topic.rb
fog-parser-fix-1.6.0 lib/fog/aws/requests/sns/delete_topic.rb
fog-1.10.0 lib/fog/aws/requests/sns/delete_topic.rb
fog-1.9.0 lib/fog/aws/requests/sns/delete_topic.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/aws/requests/sns/delete_topic.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/aws/requests/sns/delete_topic.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/aws/requests/sns/delete_topic.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/aws/requests/sns/delete_topic.rb
fog-sgonyea-1.8.1 lib/fog/aws/requests/sns/delete_topic.rb
fog-1.8.0 lib/fog/aws/requests/sns/delete_topic.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/aws/requests/sns/delete_topic.rb
fog-1.7.0 lib/fog/aws/requests/sns/delete_topic.rb
fog-1.6.0 lib/fog/aws/requests/sns/delete_topic.rb
fog-1.5.0 lib/fog/aws/requests/sns/delete_topic.rb
fog-1.4.0 lib/fog/aws/requests/sns/delete_topic.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/delete_topic.rb
michiels-fog-1.3.1 lib/fog/aws/requests/sns/delete_topic.rb