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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则