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
The following
update-repository-descriptionexample changes the description for an AWS CodeCommit repository.aws codecommit update-repository-description \ --repository-nameMyDemoRepo\ --repository-description"This description was changed"This command produces no output.
For more information, see Change AWS CodeCommit repository settings in the AWS CodeCommit User Guide.
-
For API details, see UpdateRepositoryDescription
in AWS CLI Command Reference.
-
- PowerShell
-
- Tools for PowerShell V4
-
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 (V4).
-
- Tools for PowerShell V5
-
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 (V5).
-