Closed CriztianiX closed 9 years ago
Hello! I've added a SNS support I am working with it now!
You can test it with:
moon = require "moon"
local AWS = require ('lua-aws.init') local aws = AWS.new({ accessKeyId = 'XXX', secretAccessKey = 'XXX', endpoint = 'us-east-1.amazonaws.com', region = 'us-east-1' })
local data = { PlatformApplicationArn = 'ARN', Token = "deviceToken", } moon.p(aws.SNS:api():createPlatformEndpoint(data))
hi, thank you for your contribution :+1: it looks good to me, I will merge it.
Hello! I've added a SNS support I am working with it now!
You can test it with:
moon = require "moon"
local AWS = require ('lua-aws.init') local aws = AWS.new({ accessKeyId = 'XXX', secretAccessKey = 'XXX', endpoint = 'us-east-1.amazonaws.com', region = 'us-east-1' })
local data = { PlatformApplicationArn = 'ARN', Token = "deviceToken", } moon.p(aws.SNS:api():createPlatformEndpoint(data))