Hi@akhtar,
The following get-folder example demonstrates how to get the contents of a top-level folder from a repository named MyDemoRepo.
$ aws codecommit get-folder --repository-name MyDemoRepo --folder-path ""
Hope this helps!
Enroll in AWS Training here and become the expert.
Thanks!