Skip to content

Instantly share code, notes, and snippets.

View IndraniB2020's full-sized avatar
💭
Connect with me for AI/ML Project

Indrani Bh / 'ki' IndraniB2020

💭
Connect with me for AI/ML Project
View GitHub Profile
import json
import boto3
import uuid
client = boto3.client('stepfunctions')
def lambda_handler(event, context):
#INPUT -> { "TransactionId": "foo", "Type": "PURCHASE"}
transactionId = str(uuid.uuid1()) #90a0fce-sfhj45-fdsfsjh4-f23f