Do API Gateway 429 return codes count against request quota

0

I'm using usage plans to rate limit the requests against an API Gateway on a per user/API key basis. When a user makes too many requests, eg, more than 100 requests/sec, they'll receive a 429 return code. My question is whether these requests still count against the quota of the API Gateway of 10k requests/sec.

Framed differently, can usage plans protect against against a bad/malicious user that issues 10s of thousands of requests and keep the API available for other users?

preguntada hace 4 años612 visualizaciones
1 Respuesta
0
Respuesta aceptada

Yes, your overall per region limit (10k by default, soft) applies in all scenarios. Usage plans doesn't bypass this limit. If you have further stage or method throttling, those apply as well.

MODERADOR
respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas