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.

Returns information about a specific commit.

Inheritance Hierarchy

System.Object
  Amazon.CodeCommit.Model.Commit

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

Syntax

C#
public class Commit

The Commit type exposes the following members

Constructors

NameDescription
Public Method Commit()

Properties

NameTypeDescription
Public Property AdditionalData System.String

Gets and sets the property AdditionalData.

Any other data associated with the specified commit.

Public Property Author Amazon.CodeCommit.Model.UserInfo

Gets and sets the property Author.

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

Public Property CommitId System.String

Gets and sets the property CommitId.

The full SHA ID of the specified commit.

Public Property Committer Amazon.CodeCommit.Model.UserInfo

Gets and sets the property Committer.

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

Public Property Message System.String

Gets and sets the property Message.

The commit message associated with the specified commit.

Public Property Parents System.Collections.Generic.List<System.String>

Gets and sets the property Parents.

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Public Property TreeId System.String

Gets and sets the property TreeId.

Tree information for the specified commit.

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