Use UpdateRepositoryDescription with a CLI - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Use UpdateRepositoryDescription with a CLI

The following code examples show how to use UpdateRepositoryDescription.

CLI
AWS CLI

To change the description for a repository

This example changes the description for an AWS CodeCommit repository. This command produces output only if there are errors.

Command:

aws codecommit update-repository-description --repository-name MyDemoRepo --repository-description "This description was changed"

Output:

None.
PowerShell
Tools for PowerShell

Example 1: This example changes the description for the specified repository.

Update-CCRepositoryDescription -RepositoryName MyDemoRepo -RepositoryDescription "This is an updated description."