About the flow restriction of multiple APIs associated with an usage plan

0

Please tell me about the behavior of the request flow restriction set in the usage plan.
When multiple APIs are associated with one usage plan, which of the following behaviors does the flow restriction set in the usage plan have?
①: The flow rate is restricted for each API. (When requesting multiple APIs, even if one API causes an excessive request error, the other API does not cause an excessive request error.)
②: The flow rate is restricted for the total number of requests to each API. (When requesting multiple APIs, if one API causes an excessive request error, the other API will also cause an excessive request error.)

1개 답변
0
수락된 답변

Hello:

The usage plan limit is applied per API key and is global to all APIs that have that plan associated, so #2 in your posted scenarios. If you want to assert different limits per API, you would associate different usage plans per API and/or set method level throttling inside the plan. Though note that if you set method level throttling inside the plan, that doesn't change the fact that the overall usage plan limit is still global to that key.

Regards,
Bob

전문가
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠