How to invoke Lambda function with Event Invocation Type via API Gateway?
问题 Docs says: By default, the Invoke API assumes RequestResponse invocation type. You can optionally request asynchronous execution by specifying Event as the InvocationType. So all I can send to my function (python) is InvocationType:Event everywhere: curl -X POST "https://X.execute-api.us-east-1.amazonaws.com/prod/Y?InvocationType=Event" -d "InvocationType:Event" -H "X-Amz-Invocation-Type:Event" (function sleeps 3 seconds then responses) null But is not Async... docs also says: When you invoke