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
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/requests/sns/delete_topic.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/delete_topic.rb
fog-1.3.1 lib/fog/aws/requests/sns/delete_topic.rb
fog-1.3.0 lib/fog/aws/requests/sns/delete_topic.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/delete_topic.rb
fog-1.2.0 lib/fog/aws/requests/sns/delete_topic.rb
ktheory-fog-1.1.2 lib/fog/aws/requests/sns/delete_topic.rb