Sha256: 73876814a01edbe6b677f81682998c11e6f5e8ace5f78eda424b1771f0f98a2f

Contents?: true

Size: 623 Bytes

Versions: 98

Compression:

Stored size: 623 Bytes

Contents

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

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

        def unsubscribe(arn)
          request({
            'Action'          => 'Unsubscribe',
            'SubscriptionArn' => arn.strip,
            :parser           => Fog::Parsers::AWS::SNS::Unsubscribe.new
          })
        end
      end
    end
  end
end

Version data entries

98 entries across 96 versions & 6 rubygems

Version Path
fog-aws-3.11.0 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.10.0 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.9.0 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.8.0 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.7.0 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.6.7 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.6.6 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.6.5 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.6.4 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.6.3 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.6.2 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.5.2 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.5.1 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.5.0 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.4.0 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.3.0 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.2.0 lib/fog/aws/requests/sns/unsubscribe.rb
fog-aws-3.1.0 lib/fog/aws/requests/sns/unsubscribe.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/sns/unsubscribe.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/sns/unsubscribe.rb