v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

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

post/#X-Amz-Target=CodeCommit_20150413.GetCommit

Headers

X-Amz-Target'CodeCommit_20150413.GetCommit' required

Request body

repositoryNamestring required

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

commitIdstring required

The commit ID. Commit IDs are the full SHA ID of the commit.

Response

Success