Skip to content

Update Pull Request Approval State

codecommit_update_pull_request_approval_state R Documentation

Updates the state of a user's approval on a pull request

Description

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.

Usage

codecommit_update_pull_request_approval_state(pullRequestId, revisionId,
  approvalState)

Arguments

pullRequestId

[required] The system-generated ID of the pull request.

revisionId

[required] The system-generated ID of the revision.

approvalState

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

Value

An empty list.

Request syntax

svc$update_pull_request_approval_state(
  pullRequestId = "string",
  revisionId = "string",
  approvalState = "APPROVE"|"REVOKE"
)