v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.

post/#X-Amz-Target=CodeCommit_20150413.GetPullRequestOverrideState

Headers

X-Amz-Target'CodeCommit_20150413.GetPullRequestOverrideState' required

Request body

pullRequestIdstring required

The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).

revisionIdstring required

The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use <a>GetPullRequest</a>.

Response

Success

overriddenboolean

A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE).

overriderstring

The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.