22
loading...
This website collects cookies to deliver better user experience
def handler(event, context):
'''Gets called by the Lambda environment.'''
return true
import math
def handler(event, context):
'''Gets called by the Lambda environment.'''
return math.sqrt(event)
lambda_function.handler
because we kept the default file but used our function called handler. (Note: We could have made this easier by just naming our function the default Lambda one but then we wouldn't have been able to look at this setting in this tutorial 😉)