class Aws::CodeCommit::Types::Commit

Returns information about a specific commit.

@!attribute [rw] commit_id

The full SHA ID of the specified commit.
@return [String]

@!attribute [rw] tree_id

Tree information for the specified commit.
@return [String]

@!attribute [rw] parents

A list of parent commits for the specified commit. Each parent
commit ID is the full commit ID.
@return [Array<String>]

@!attribute [rw] message

The commit message associated with the specified commit.
@return [String]

@!attribute [rw] 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.
@return [Types::UserInfo]

@!attribute [rw] 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][1] in Pro Git by
Scott Chacon and Ben Straub.

[1]: http://git-scm.com/book/ch2-3.html
@return [Types::UserInfo]

@!attribute [rw] additional_data

Any other data associated with the specified commit.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Commit AWS API Documentation

Constants

SENSITIVE