Skip to content

Instantly share code, notes, and snippets.

View jakemraz's full-sized avatar

jakemraz

View GitHub Profile
import sys
import os
import json
from stack.function import meeting
path = os.path.dirname(os.path.abspath(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))))
sys.path.append(path)
def main():
if (len(sys.argv) != 2):
print('input handler name')
import json
import boto3
pinpoint = boto3.client('pinpoint')
print('Loading Function')
def lambda_handler(event, context):
print(event)
project_id, recommends = parse_s3_event(event)
def lambda_handler(event, context):
title = "foo"
body = "bar"
client = boto3.client('sns')
notification = {
'notification': {
'title': title,
'body': body