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 additional 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 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.

The parent list for the specified commit.

Public Property TreeId System.String

Gets and sets the property TreeId.

Tree information for the specified commit.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms