Amazon API Gateway
Developer Guide

Examples of Binary Support

The following example demonstrates how to access a binary file in Amazon S3 or AWS Lambda through an API Gateway API. The sample API is presented in a Swagger file. The code example uses the API Gateway REST API calls.