def lambda_handler()

in lambdas/multiply/multiply.py [0:0]


def lambda_handler(event, context):
   print(event)
   first = event['input']['input']['first']
   second = event['input']['input']['second']
   third = event['input']['input']['third']

   print(f"FIRST: {first}, SECOND: {second}, THIRD: {third}")
   
   result = int(first) * int(second) * int(third)
   
   print(f"RESULT: {result}")
   
   response = {
       "first": first,
       "second": second,
       "third": third,
       "result": int(result)
   }
   
   event['input'] = response

   print(event['input'])
   
   return event['input']