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 PostCommentForPullRequest operation. Posts a comment on a pull request.
Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z
public class PostCommentForPullRequestRequest : AmazonCodeCommitRequest IAmazonWebServiceRequest
The PostCommentForPullRequestRequest type exposes the following members
Name | Description | |
---|---|---|
PostCommentForPullRequestRequest() |
Name | Type | Description | |
---|---|---|---|
AfterCommitId | System.String |
Gets and sets the property AfterCommitId. The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment. |
|
BeforeCommitId | System.String |
Gets and sets the property BeforeCommitId. The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. |
|
ClientRequestToken | System.String |
Gets and sets the property ClientRequestToken. A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token. |
|
Content | System.String |
Gets and sets the property Content. The content of your comment on the change. |
|
Location | Amazon.CodeCommit.Model.Location |
Gets and sets the property Location. The location of the change where you want to post your comment. If no location is provided, the comment is posted as a general comment on the pull request difference between the before commit ID and the after commit ID. |
|
PullRequestId | System.String |
Gets and sets the property PullRequestId. The system-generated ID of the pull request. To get this ID, use ListPullRequests. |
|
RepositoryName | System.String |
Gets and sets the property RepositoryName. The name of the repository where you want to post a comment on a 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