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
- Struct
- Aws::CodeCommit::Types::OverridePullRequestApprovalRulesInput
- Defined in:
- (unknown)
Overview
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
-
#override_status ⇒ 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_id ⇒ String
The system-generated ID of the pull request for which you want to override all approval rule requirements.
-
#revision_id ⇒ String
The system-generated ID of the most recent revision of the pull request.
Instance Attribute Details
#override_status ⇒ 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). REVOKE status is not stored.
Possible values:
- OVERRIDE
- REVOKE
#pull_request_id ⇒ String
The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest.
#revision_id ⇒ String
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.