Created
April 4, 2019 13:43
-
-
Save SrushithR/74893ea3803326cad7a703d3ee594e94 to your computer and use it in GitHub Desktop.
A simple lambda function to mimic behaviour of a PDF generation for a movie ticketing application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A simple lambda function to mimic the behaviour of PDF generation | |
""" | |
import time | |
def lambda_handler(event, context): | |
# mocking the behavior of generating a PDF | |
time.sleep(2) | |
return "PDF successfully generated" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment