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 PostCommentForComparedCommit operation. Posts a comment on the comparison between two commits.

Inheritance Hierarchy

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

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

Syntax

C#
public class PostCommentForComparedCommitRequest : AmazonCodeCommitRequest
         IAmazonWebServiceRequest

The PostCommentForComparedCommitRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AfterCommitId System.String

Gets and sets the property AfterCommitId.

To establish the directionality of the comparison, the full commit ID of the after commit.

Public Property BeforeCommitId System.String

Gets and sets the property BeforeCommitId.

To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.

Public Property 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.

Public Property Content System.String

Gets and sets the property Content.

The content of the comment you want to make.

Public Property Location Amazon.CodeCommit.Model.Location

Gets and sets the property Location.

The location of the comparison where you want to comment.

Public Property RepositoryName System.String

Gets and sets the property RepositoryName.

The name of the repository where you want to post a comment on the comparison between commits.

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