Request weights in AWS API Gateway

0

Computing cost of each APIs are different (some GET methods is more lightweight than POST for e.g.) in most usecases. To achieve flexible and fair distribution of API usages for each users/tenants, we'd like to set weights to each API calls, and ratelimit or set quota on total weights requested.

For example, in Apigee platform, you can configure message weight for each apis. https://www.googlecloudcommunity.com/gc/Cloud-Product-Articles/Apigee-Edge-4MV4D-Quota-Policy-Message-Weight-S02E05/ta-p/77423

Is it possible to achieve it by utilizing AWS API Gateway policies?

已提问 9 个月前255 查看次数
1 回答
0
已接受的回答

You can't really set weights on APIs like you describe, however, you can set different rates for each endpoint.

You can find more information about throttling here, and more specifically about method level throttling here.

profile pictureAWS
专家
Uri
已回答 9 个月前
profile pictureAWS
专家
已审核 9 个月前
  • I see, Thank you so much for answering

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

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

回答问题的准则