CLI로 UpdateRepositoryDescription 사용 - AWS SDK 코드 예제

AWS SDK 예제 GitHub 리포지토리에 더 많은 AWS문서 SDK 예제가 있습니다.

CLI로 UpdateRepositoryDescription 사용

다음 코드 예시는 UpdateRepositoryDescription의 사용 방법을 보여 줍니다.

CLI
AWS CLI

리포지토리의 설명 변경

이 예시에서는 AWS CodeCommit 리포지토리에 대한 설명을 변경합니다. 이 명령은 오류가 있는 경우에만 출력을 생성합니다.

명령:

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

출력:

None.
PowerShell
Tools for PowerShell V4

예제 1: 이 예제에서는 지정된 리포지토리에 대한 설명을 변경합니다.

Update-CCRepositoryDescription -RepositoryName MyDemoRepo -RepositoryDescription "This is an updated description."
Tools for PowerShell V5

예제 1: 이 예제에서는 지정된 리포지토리에 대한 설명을 변경합니다.

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