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?

已提問 4 年前檢視次數 612 次
1 個回答
0
已接受的答案

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.

管理員
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南