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 UpdatePullRequestApprovalRuleContent operation. Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers.
Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z
public class UpdatePullRequestApprovalRuleContentRequest : AmazonCodeCommitRequest IAmazonWebServiceRequest
The UpdatePullRequestApprovalRuleContentRequest type exposes the following members
Name | Description | |
---|---|---|
UpdatePullRequestApprovalRuleContentRequest() |
Name | Type | Description | |
---|---|---|---|
ApprovalRuleName | System.String |
Gets and sets the property ApprovalRuleName. The name of the approval rule you want to update. |
|
ExistingRuleContentSha256 | System.String |
Gets and sets the property ExistingRuleContentSha256. The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest. |
|
NewRuleContent | System.String |
Gets and sets the property NewRuleContent. The updated content for the approval rule. When you update the content of the approval rule, you can specify approvers in an approval pool in one of two ways:
For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide. |
|
PullRequestId | System.String |
Gets and sets the property PullRequestId. The system-generated ID of the pull request. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5