Sha256: 86c07dd3d5c7a0ffb7ce6ac4fa68113549c1746ce600104f7bd67411c4d17d2b
Contents?: true
Size: 971 Bytes
Versions: 1
Compression:
Stored size: 971 Bytes
Contents
module Fog module AWS class SNS class Real require 'rackspace-fog/aws/parsers/sns/confirm_subscription' # Confirm a subscription # # ==== Parameters # * arn<~String> - Arn of topic to confirm subscription to # * token<~String> - Token sent to endpoint during subscribe action # * options<~Hash>: # * AuthenticateOnUnsubscribe<~Boolean> - whether or not unsubscription should be authenticated, defaults to false # # ==== See Also # http://docs.amazonwebservices.com/sns/latest/api/API_ConfirmSubscription.html # def confirm_subscription(arn, token, options = {}) request({ 'Action' => 'ConfirmSubscription', 'Token' => token, 'TopicArn' => arn.strip, :parser => Fog::Parsers::AWS::SNS::ConfirmSubscription.new }.merge!(options)) 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/confirm_subscription.rb |