[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"pattern-lambda-pinpoint":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":29,"language":33,"level":34,"meta":35,"patternArch":36,"resources":49,"s3URL":6,"services":58,"stem":59,"testing":60,"videoId":25,"__hash__":65},"patterns\u002Fpatterns\u002Flambda-pinpoint.json","AWS Lambda to Pinpoint",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Frohan-mehta.json",{"text":15},[16],"sam deploy --guided","Create a Lambda function that sends SMS via Pinpoint","json","AWS SAM",{"template":21,"payloads":27},{"projectFolder":22,"repoURL":23,"templateURL":24,"readmeURL":25,"templateFile":26},"lambda-pinpoint","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-pinpoint","serverless-patterns\u002Flambda-pinpoint","","template.yaml",[28],{"headline":25,"payloadURL":25},{"headline":30,"text":31},"How it works",[32],"This pattern demonstrates a Lambda function sending SMS via Pinpoint. The Lambda function has an associated IAM role that allows it to send SMS with the Pinpoint project.","Node.js","100",{},{"icon1":37,"icon2":42,"line1":46},{"x":38,"y":39,"service":40,"label":41},20,50,"lambda","AWS Lambda",{"x":43,"y":39,"service":44,"label":45},80,"pinpoint","Pinpoint",{"from":47,"to":48,"label":25},"icon1","icon2",{"headline":50,"bullets":51},"Additional resources",[52,55],{"text":53,"link":54},"Choosing between messaging services for serverless applications.","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fchoosing-between-messaging-services-for-serverless-applications\u002F",{"text":56,"link":57},"Amazon Pinpoint SMS channel","https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fuserguide\u002Fchannels-sms.html",{"from":40,"to":44},"patterns\u002Flambda-pinpoint",{"headline":61,"text":62},"Testing",[63,64],"1. You can use the Test button in the Lambda console to send an SMS to the specified destination number. Any test event will work with the default pattern code.","2. After you click the Test button, you'll receive an SMS on the mobile device.","OKn3dnsbWq_gOREZiv9XD2zXcU29Yr2sJ_bzLGawcio",1778846886425]