Jump to content
Joe Sansalone

Amazon Cloud (SNS service)

Recommended Posts

Hi,

 

A few years ago at CodeRage X, Pawel Glowacki extended the CloudAPI amazon service by coding up

the Amazon Simple Notification Service (SNS).

 

He provided a link to his source code ... but all the links on the web are broken.

 

Does anyone know where to find his source?

 

Joe

Share this post


Link to post

Here are the units I use. I don't remember where I got them from, it was several years ago:

https://drive.google.com/file/d/180sOWUiToBllr7vxgQfhb4yaidJYPQqr/view?usp=sharing

 

To send a SNS do something like this:

 

        uses AWS.SNSService;
        
        snsService := TsnsService.Create(nil, GlobalVar.AmazonSNSKey, GlobalVar.AmazonSNSSecret);
        try
          snsService.Publish('arn:aws:sns:us-west-2:58644269878413222:_YOUR_TOPIC_', 'Your Subject', 'Your Message');
        finally
          snsService.Free;
        end;

 

AWS-SNS.zip

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×