Now that the pipeline is gone, we can delete the sam-app CodeCommit repository.
sam-app
aws codecommit delete-repository --repository-name sam-app
After this, you can close the browser tab of your Cloud9 environment.