amazonka-codecommit-1.4.0: Amazon CodeCommit SDK.

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

Network.AWS.CodeCommit.GetCommit

Contents

Description

Returns information about a commit, including commit message and committer information.

Synopsis

Creating a Request

getCommit Source

Creates a value of GetCommit with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gcRepositoryName :: Lens' GetCommit Text Source

The name of the repository to which the commit was made.

Destructuring the Response

getCommitResponse Source

Creates a value of GetCommitResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

gcrsCommit :: Lens' GetCommitResponse Commit Source

Information about the specified commit.