bigup401 has asked for the wisdom of the Perl Monks concerning the following question:

http://search.cpan.org/~zummo/Amazon-SNS-1.0/lib/Amazon/SNS.pm

i have been looking into this amazon sns module but the documentation doesn't show how u can add subscription in sns and to delete subscript

does anyone have idea, how it can be done

Replies are listed 'Best First'.
Re: amazon sns subscription (updated)
by haukex (Archbishop) on Nov 05, 2016 at 14:20 UTC

    Hi bigup401,

    I don't know anything about SNS; but looking at the source of Amazon::SNS, there appears to be an undocumented method Subscribe with the arguments $protocol, $topicarn, $endpoint - is this what you're looking for? The only reference to deleting something is the DeleteTopic method.

    A quick search on CPAN shows the module Paws::SNS, does that perhaps help more? Update: That module also appears to be advertised by Amazon themselves.

    Hope this helps,
    -- Hauke D

      thanks man i have seen the source and got it fixed

      yes thats wat i wanted

      $protocol, $topicarn, $endpoint

      bt its undocumented

      to see a code sample