Hello there, we are hitting rate limits with AWS Code Commit Pull Requests (5 request per second), this is because the details of the Pull Requests attached to a repository are not being filtered by pullRequestStatus. A PR in Code Commit can have a status of open or closed, you cannot delete them, so the integration is making hundreds of requests for historical PR's.
Can we have an option for a filter for the Code Commit PR's to pullRequestStatus of OPEN only, https://docs.aws.amazon.com/codecommit/latest/APIReference/API_ListPullRequests.html#API_ListPullRequests_RequestSyntax
Another option is only request PR information with pullRequestStatus of OPEN when triggered by a webhook with a repo specified?