Hi@akhtar,
You can rename a repository. The repository name must be unique across the calling AWS account. The below example changes the name of an AWS CodeCommit repository.
$ aws codecommit update-repository-name --old-name MyDemoRepo --new-name MyRenamedDemoRepo
Hope this helps!
Check out this AWS certification and become certified today.