I've concluded that it is just not possible to modify query parameters with a proxy integration. One part of AWS docs says that it's possible, but all examples provided are for non-proxy integrations. My testing has confirmed that it's not possible.