Skip to content

Get Pull Request Override State

codecommit_get_pull_request_override_state R Documentation

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

Description

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.

Usage

codecommit_get_pull_request_override_state(pullRequestId, revisionId)

Arguments

pullRequestId

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

revisionId

[required] The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use get_pull_request.

Value

A list with the following syntax:

list(
  overridden = TRUE|FALSE,
  overrider = "string"
)

Request syntax

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