v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.

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

Headers

X-Amz-Target'CodeCommit_20150413.UpdatePullRequestApprovalState' required

Request body

pullRequestIdstring required

The system-generated ID of the pull request.

revisionIdstring required

The system-generated ID of the revision.

approvalState'APPROVE' | 'REVOKE' required

The approval state to associate with the user on the pull request.

Response

Success