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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codecommit/types.rb

Overview

Note:

When making an API call, you may pass OverridePullRequestApprovalRulesInput data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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.

Returns:

  • (String)

5795
5796
5797
5798
5799
5800
5801
# File 'lib/aws-sdk-codecommit/types.rb', line 5795

class OverridePullRequestApprovalRulesInput < Struct.new(
  :pull_request_id,
  :revision_id,
  :override_status)
  SENSITIVE = []
  include Aws::Structure
end

#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)

5795
5796
5797
5798
5799
5800
5801
# File 'lib/aws-sdk-codecommit/types.rb', line 5795

class OverridePullRequestApprovalRulesInput < Struct.new(
  :pull_request_id,
  :revision_id,
  :override_status)
  SENSITIVE = []
  include Aws::Structure
end

#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)

5795
5796
5797
5798
5799
5800
5801
# File 'lib/aws-sdk-codecommit/types.rb', line 5795

class OverridePullRequestApprovalRulesInput < Struct.new(
  :pull_request_id,
  :revision_id,
  :override_status)
  SENSITIVE = []
  include Aws::Structure
end