The AWS API Gateway provides a way to evaluate limit requests using a usage plan for different users.
But the speed limit is applicable for all endpoints. So, if I have a GET request and other endpoints of a POST request, can I set different limits for a GET request and a separate limit for POST requests?
Example:
GET request endpoint
https://aws.api.gateway/v1/get_data <- set rate limit to 10,000
POST request endpoint
https://aws.api.gateway/v1/post_data <- set rate limit to 100
POST requests are an expensive operation, so I want to limit the number of requests to a specific user, while allowing a large number of GET requests.
The requirement is basically to have 2 different speed limits for two different endpoints.
source share