I'm planning to implement a log retrieval solution from AWS CloudWatch logs using Insights logs query which let the users get the logs for 15 days. The queried data can range any where between KBs to GBs for that time frame.
Is there any way to retrieve that log data in paginated way using AWS services? Since the response limit is capped for API Gateway and Lambda, it is hard to retrieve the data in paginated fashion.
Are there any other AWS services that can be used to retrieve the cloudwatch logs data?