

Ada lebih banyak contoh AWS SDK yang tersedia di repo Contoh [SDK AWS Doc](https://github.com/awsdocs/aws-doc-sdk-examples). GitHub 

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Gunakan `UpdateRepositoryDescription` dengan CLI
<a name="codecommit_example_codecommit_UpdateRepositoryDescription_section"></a>

Contoh kode berikut menunjukkan cara menggunakan`UpdateRepositoryDescription`.

------
#### [ CLI ]

**AWS CLI**  
**Untuk mengubah deskripsi untuk repositori**  
Contoh ini mengubah deskripsi untuk AWS CodeCommit repositori. Perintah ini menghasilkan output hanya jika ada kesalahan.  
Perintah:  

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

```
None.
```
+  Untuk detail API, lihat [UpdateRepositoryDescription](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codecommit/update-repository-description.html)di *Referensi AWS CLI Perintah*. 

------
#### [ PowerShell ]

**Alat untuk PowerShell V4**  
**Contoh 1: Contoh ini mengubah deskripsi untuk repositori yang ditentukan.**  

```
Update-CCRepositoryDescription -RepositoryName MyDemoRepo -RepositoryDescription "This is an updated description."
```
+  Untuk detail API, lihat [UpdateRepositoryDescription](https://docs.aws.amazon.com/powershell/v4/reference)di *Referensi Alat AWS untuk PowerShell Cmdlet (V4)*. 

**Alat untuk PowerShell V5**  
**Contoh 1: Contoh ini mengubah deskripsi untuk repositori yang ditentukan.**  

```
Update-CCRepositoryDescription -RepositoryName MyDemoRepo -RepositoryDescription "This is an updated description."
```
+  Untuk detail API, lihat [UpdateRepositoryDescription](https://docs.aws.amazon.com/powershell/v5/reference)di *Referensi Alat AWS untuk PowerShell Cmdlet (V5)*. 

------