Proxy integrations cannot be configured to transform responses.

Proxy integrations cannot be configured to transform responses. When using a proxy integration in the context of an API gateway, the gateway forwards the entire request to the configured integration endpoint and returns the response received from that endpoint without any modifications.

Unlike other types of integrations, such as Lambda integrations, where you can manipulate and transform responses before returning them to the client, proxy integrations simply act as a pass-through mechanism. They receive the request, forward it to the designated integration endpoint, and return the response as-is.

Here’s an example to illustrate this concept. Let’s say you have an API gateway with a proxy integration configured to forward requests to an external REST API endpoint. When a client sends a GET request to your API gateway, the gateway will simply pass that request to the designated endpoint and forward the received response back without making any changes. Any transformations or modifications to the response would need to be implemented at the endpoint itself or through other means.

Leave a comment