

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 `RefreshTrustedAdvisorCheck` dengan CLI
<a name="support_example_support_RefreshTrustedAdvisorCheck_section"></a>

Contoh kode berikut menunjukkan cara menggunakan`RefreshTrustedAdvisorCheck`.

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

**AWS CLI**  
**Untuk me-refresh pemeriksaan AWS Trusted Advisor**  
`refresh-trusted-advisor-check`Contoh berikut menyegarkan cek Trusted Advisor Amazon S3 Bucket Permissions di akun Anda. AWS   

```
aws support refresh-trusted-advisor-check \
    --check-id "Pfx0RwqBli"
```
Output:  

```
{
    "status": {
        "checkId": "Pfx0RwqBli",
        "status": "enqueued",
        "millisUntilNextRefreshable": 3599992
    }
}
```
Untuk informasi selengkapnya, lihat [AWS Trusted Advisor](https://docs.aws.amazon.com/awssupport/latest/user/trusted-advisor.html) di *Panduan Pengguna AWS Support*.  
+  Untuk detail API, lihat [RefreshTrustedAdvisorCheck](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/support/refresh-trusted-advisor-check.html)di *Referensi AWS CLI Perintah*. 

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

**Alat untuk PowerShell V4**  
**Contoh 1: Meminta penyegaran untuk pemeriksaan Trusted Advisor yang ditentukan.**  

```
Request-ASATrustedAdvisorCheckRefresh -CheckId "checkid1"
```
+  Untuk detail API, lihat [RefreshTrustedAdvisorCheck](https://docs.aws.amazon.com/powershell/v4/reference)di *Referensi Alat AWS untuk PowerShell Cmdlet (V4)*. 

**Alat untuk PowerShell V5**  
**Contoh 1: Meminta penyegaran untuk pemeriksaan Trusted Advisor yang ditentukan.**  

```
Request-ASATrustedAdvisorCheckRefresh -CheckId "checkid1"
```
+  Untuk detail API, lihat [RefreshTrustedAdvisorCheck](https://docs.aws.amazon.com/powershell/v5/reference)di *Referensi Alat AWS untuk PowerShell Cmdlet (V5)*. 

------