Hi@akhtar,
You can get information about a commit, including commit message and committer information. This example shows details about a commit with the system-generated ID in an AWS CodeCommit repository named 'MyDemoRepo'.
$ aws codecommit get-commit --repository-name MyDemoRepo --commit-id ID