AWS SDK 예제 GitHub 리포지토리에 더 많은 AWS문서 SDK 예제
CLI로 UpdateRepositoryDescription 사용
다음 코드 예시는 UpdateRepositoryDescription의 사용 방법을 보여 줍니다.
- CLI
-
- AWS CLI
-
리포지토리의 설명 변경
이 예시에서는 AWS CodeCommit 리포지토리에 대한 설명을 변경합니다. 이 명령은 오류가 있는 경우에만 출력을 생성합니다.
명령:
aws codecommit update-repository-description --repository-nameMyDemoRepo--repository-description"This description was changed"출력:
None.-
API 세부 정보는 AWS CLI 명령 참조의 UpdateDocumentDefaultVersion
섹션을 참조하세요.
-
- PowerShell
-
- Tools for PowerShell V4
-
예제 1: 이 예제에서는 지정된 리포지토리에 대한 설명을 변경합니다.
Update-CCRepositoryDescription -RepositoryName MyDemoRepo -RepositoryDescription "This is an updated description."-
API 세부 정보는 AWS Tools for PowerShell Cmdlet 참조(V4)의 UpdateRepositoryDescription을 참조하세요.
-
- Tools for PowerShell V5
-
예제 1: 이 예제에서는 지정된 리포지토리에 대한 설명을 변경합니다.
Update-CCRepositoryDescription -RepositoryName MyDemoRepo -RepositoryDescription "This is an updated description."-
API 세부 정보는 AWS Tools for PowerShell Cmdlet 참조(V5)의 UpdateRepositoryDescription을 참조하세요.
-
UpdateDefaultBranch
UpdateRepositoryName