You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeCommit::Types::Commit

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Returns information about a specific commit.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#additional_dataString

Any other data associated with the specified commit.

Returns:

  • (String)

    Any other data associated with the specified commit.

#authorTypes::UserInfo

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.

Returns:

  • (Types::UserInfo)

    Information about the author of the specified commit.

#commit_idString

The full SHA ID of the specified commit.

Returns:

  • (String)

    The full SHA ID of the specified commit.

#committerTypes::UserInfo

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.

Returns:

  • (Types::UserInfo)

    Information about the person who committed the specified commit, also known as the committer.

#messageString

The commit message associated with the specified commit.

Returns:

  • (String)

    The commit message associated with the specified commit.

#parentsArray<String>

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

Returns:

  • (Array<String>)

    A list of parent commits for the specified commit.

#tree_idString

Tree information for the specified commit.

Returns:

  • (String)

    Tree information for the specified commit.