From 02b4de2f9297cd39f422c04f44e25086e27bf35e Mon Sep 17 00:00:00 2001 From: Fernando Medina Corey Date: Mon, 2 Jul 2018 15:29:40 -0700 Subject: [PATCH] lambda handler file --- lambda-reminder-service/reminder_service.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lambda-reminder-service/reminder_service.py diff --git a/lambda-reminder-service/reminder_service.py b/lambda-reminder-service/reminder_service.py new file mode 100644 index 0000000..7b0d8a0 --- /dev/null +++ b/lambda-reminder-service/reminder_service.py @@ -0,0 +1,13 @@ +import boto3 + +sns = boto3.client('sns') + +def handler(event,context): + sns.publish( + PhoneNumber='+15558887777', + Message=( + 'Hello! This is your reminder to ' + 'schedule an AWS Certification Exam!' + ) + ) + return 'success' \ No newline at end of file