There are more AWS SDK examples available in the AWS Doc SDK Examples
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.
-
For API details, see UpdateRepositoryDescription
in AWS CLI Command Reference.
-
- 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."
-
For API details, see UpdateRepositoryDescription in AWS Tools for PowerShell Cmdlet Reference.
-