| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CodeCommit.GetCommit
Description
Returns information about a commit, including commit message and committer information.
Creating a Request
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:
Represents the input of a get commit operation.
See: getCommit smart constructor.
Instances
Request Lenses
gcRepositoryName :: Lens' GetCommit Text Source #
The name of the repository to which the commit was made.
Destructuring the Response
Arguments
| :: Int | |
| -> Commit | |
| -> GetCommitResponse |
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:
data GetCommitResponse Source #
Represents the output of a get commit operation.
See: getCommitResponse smart constructor.
Response Lenses
gcrsResponseStatus :: Lens' GetCommitResponse Int Source #
The response status code.
gcrsCommit :: Lens' GetCommitResponse Commit Source #
Information about the specified commit.