I am doing this tutorial Using Code Snippets to Create a State to Send an Amazon SNS message and successfully created a step function. When I go to run the step function it shows it succeeded, but I did not get the message on my cell phone. I have followed these instructions exactly as shown here.
Here is my code:
{
"Comment": "A Hello World example of the Amazon States Language using Pass states",
"StartAt": "Hello",
"States": {
"Hello": {
"Type": "Pass",
"Result": "Hello",
"Next": "World"
},
"World": {
"Type": "Pass",
"Result": "World",
"Next": "Send message to SNS"
},
"Send message to SNS": {
"Type": "Task",
"Resource": "arn:aws:states:::sns:publish",
"Parameters": {
"Message": {
"Input": "Hello this is a text message from Christian's AWS Step function CodeSnippetsCreateStateSendAWSSNSMessageCoool."
},
"PhoneNumber": "+11234567890"
},
"End": true
}
}
}
Any ideas?