I need to initiate a long-running AWS Lambda job (several minutes) that will write its output to S3. It will be written in Java (actually Kotlin, but that shouldn't matter).
I'm investigating the Amazon API Gateway as the interface between this and other AWS Lambda jobs and an iOS mobile app that will talk to it.
Is it possible to asynchronously invoke such long-running Lambda processes, either directly from the API Gateway, or from another Lambda function?