libZSservicesZSamazonka-codecommitZSamazonka-codecommit
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeCommit.Types.Commit

Description

 
Synopsis

Documentation

data Commit Source #

Returns information about a specific commit.

See: newCommit smart constructor.

Constructors

Commit' 

Fields

  • commitId :: Maybe Text

    The full SHA ID of the specified commit.

  • committer :: Maybe 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.

  • treeId :: Maybe Text

    Tree information for the specified commit.

  • additionalData :: Maybe Text

    Any other data associated with the specified commit.

  • parents :: Maybe [Text]

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

  • author :: Maybe 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.

  • message :: Maybe Text

    The commit message associated with the specified commit.

Instances

Instances details
Eq Commit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Commit

Methods

(==) :: Commit -> Commit -> Bool #

(/=) :: Commit -> Commit -> Bool #

Read Commit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Commit

Show Commit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Commit

Generic Commit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Commit

Associated Types

type Rep Commit :: Type -> Type #

Methods

from :: Commit -> Rep Commit x #

to :: Rep Commit x -> Commit #

NFData Commit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Commit

Methods

rnf :: Commit -> () #

Hashable Commit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Commit

Methods

hashWithSalt :: Int -> Commit -> Int #

hash :: Commit -> Int #

FromJSON Commit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Commit

type Rep Commit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Commit

newCommit :: Commit Source #

Create a value of Commit with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:commitId:Commit', commit_commitId - The full SHA ID of the specified commit.

$sel:committer:Commit', commit_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.

$sel:treeId:Commit', commit_treeId - Tree information for the specified commit.

$sel:additionalData:Commit', commit_additionalData - Any other data associated with the specified commit.

$sel:parents:Commit', commit_parents - A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

$sel:author:Commit', commit_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.

$sel:message:Commit', commit_message - The commit message associated with the specified commit.

commit_commitId :: Lens' Commit (Maybe Text) Source #

The full SHA ID of the specified commit.

commit_committer :: Lens' Commit (Maybe UserInfo) Source #

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.

commit_treeId :: Lens' Commit (Maybe Text) Source #

Tree information for the specified commit.

commit_additionalData :: Lens' Commit (Maybe Text) Source #

Any other data associated with the specified commit.

commit_parents :: Lens' Commit (Maybe [Text]) Source #

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

commit_author :: Lens' Commit (Maybe UserInfo) Source #

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.

commit_message :: Lens' Commit (Maybe Text) Source #

The commit message associated with the specified commit.