Using Code Snippets to Create a State to Send an Amazon SNS message