You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeCommit::Types::OverridePullRequestApprovalRulesInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing OverridePullRequestApprovalRulesInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  pull_request_id: "PullRequestId", # required
  revision_id: "RevisionId", # required
  override_status: "OVERRIDE", # required, accepts OVERRIDE, REVOKE
}

Instance Attribute Summary collapse

Instance Attribute Details

#override_statusString

Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.

Possible values:

  • OVERRIDE
  • REVOKE

Returns:

  • (String)

    Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE).

#pull_request_idString

The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest.

Returns:

  • (String)

    The system-generated ID of the pull request for which you want to override all approval rule requirements.

#revision_idString

The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest.

Returns:

  • (String)

    The system-generated ID of the most recent revision of the pull request.