Skip to content

Instantly share code, notes, and snippets.

View danilosilvase's full-sized avatar

Danilo Souza danilosilvase

View GitHub Profile
import json
print('Loading function')
def lambda_handler(event, context):
#1. Parse out query string params
transactionId = event['queryStringParameters']['transactionId']
transactionType = event['queryStringParameters']['type']
transactionAmount = event['queryStringParameters']['amount']