Import and export content encodings for API Gateway - Amazon API Gateway
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Import and export content encodings for API Gateway

To import the binaryMediaTypes list on a RestApi, use the following API Gateway extension to the API's OpenAPI definition file. The extension is also used to export the API settings.

To import and export the contentHandling property value on an Integration or IntegrationResponse resource, use the following API Gateway extensions to the OpenAPI definitions: