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 DeletePullRequestApprovalRule operation. Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.

Inheritance Hierarchy

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

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

Syntax

C#
public class DeletePullRequestApprovalRuleRequest : AmazonCodeCommitRequest
         IAmazonWebServiceRequest

The DeletePullRequestApprovalRuleRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ApprovalRuleName System.String

Gets and sets the property ApprovalRuleName.

The name of the approval rule you want to delete.

Public Property PullRequestId System.String

Gets and sets the property PullRequestId.

The system-generated ID of the pull request that contains the approval rule you want to delete.

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