Skip to content

Commit

Permalink
lambda handler file
Browse files Browse the repository at this point in the history
  • Loading branch information
fernando-mc committed Jul 2, 2018
1 parent 15defd8 commit 02b4de2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lambda-reminder-service/reminder_service.py
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 02b4de2

Please sign in to comment.