title: Prevent caching of non 200 responses in AWS API Gateway
body: <p>How should I go about disabling the cache of non 200 OK responses in API Gateway.</p>
  
  <p>For one of our API endpoints we implemented our complementary throttle mechanism and we're sending a 429 HTTP response. </p>
  
  <p>The intention is for the client to retry the request after a short time when the server is ready to fulfil it but what happens now is that the API Gateway caches the initial response and keeps sending that from cache instead.</p>