AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the OverridePullRequestApprovalRules operation. Sets aside (overrides) all approval rule requirements for a specified pull request.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodeCommit.AmazonCodeCommitRequest
      Amazon.CodeCommit.Model.OverridePullRequestApprovalRulesRequest

Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z

Syntax

C#
public class OverridePullRequestApprovalRulesRequest : AmazonCodeCommitRequest
         IAmazonWebServiceRequest

The OverridePullRequestApprovalRulesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property OverrideStatus Amazon.CodeCommit.OverrideStatus

Gets and sets the property OverrideStatus.

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.

Public Property PullRequestId System.String

Gets and sets the property PullRequestId.

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

Public Property RevisionId System.String

Gets and sets the property RevisionId.

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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5