I am building an API which will be serviced by Lambda functions but I need these to be asynchronous so rather than connecting the API-Gateway directly to the Lambda function
I'm from the Api Gateway team.
I believe there are a few formats for the HTTP request to the Publish API, but here's the one I used first:
AWS Region us-west-2
AWS Service sns
AWS Subdomain
HTTP method POST
Action Publish
== query strings ==
Subject 'foo'
Message 'bar'
TopicArn 'arn:aws:sns:us-west-2:xxxxxxxxxxxx:test-api'
This worked for me to publish a message.
Let me know if you have further troubles.
Jack