Command option Sample:aws codecommit delete-branch

Search command sample in the internet.It is the result.

Deletes a branch from a repository, unless that branch is the defaultbranch for the repository.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/codecommit/delete-branch.html

aws codecommit delete-branch --repository-name MyDemoRepo --branch-name MyNewBranch
    delete-branch — AWS CLI 1.16.4 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/codecommit/delete-branch.html

aws のオプション一覧