Returning from http lambda endpoint for longer than 30s

71 Views Asked by At

I need to return a lot of data from a lambda over http. It's a slow query for a lot of data and will easily exceed the 30s limit. It's not an option to introduce paging but it's okay to be a long slow request. It needs to be a simple GET endpoint. These requirements are imposed by a third party.

Would it be possible to return a stream of some sort e.g. s3 stream or kinesis stream?

0

There are 0 best solutions below