Skip to content

Get Pull Request Approval States

codecommit_get_pull_request_approval_states R Documentation

Gets information about the approval states for a specified pull request

Description

Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.

Usage

codecommit_get_pull_request_approval_states(pullRequestId, revisionId)

Arguments

pullRequestId

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

revisionId

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

Value

A list with the following syntax:

list(
  approvals = list(
    list(
      userArn = "string",
      approvalState = "APPROVE"|"REVOKE"
    )
  )
)

Request syntax

svc$get_pull_request_approval_states(
  pullRequestId = "string",
  revisionId = "string"
)