I'm calling a Lambda from another Lambda asynchronously using:
payload = {"id":item['id']} invoke_lambda = lambda_client.invoke(FunctionName="process", InvocationType="Event", Payload=json.dumps(payload)) # Use InvocationType="RequestResponse" for synchronous run This is likely rather obvious, but I can't find the documentation for it - how do I access the payload in the second lambda defined as:
def process(event, context): (...)