

Sono disponibili altri esempi AWS SDK nel repository [AWS Doc SDK](https://github.com/awsdocs/aws-doc-sdk-examples) Examples. GitHub 

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

# Utilizzare `RefreshTrustedAdvisorCheck` con una CLI
<a name="support_example_support_RefreshTrustedAdvisorCheck_section"></a>

Gli esempi di codice seguenti mostrano come utilizzare `RefreshTrustedAdvisorCheck`.

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

**AWS CLI**  
**Per aggiornare un controllo AWS Trusted Advisor**  
L'`refresh-trusted-advisor-check`esempio seguente aggiorna il check di Amazon S3 Bucket Permissions Trusted Advisor nel tuo account. AWS   

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

```
{
    "status": {
        "checkId": "Pfx0RwqBli",
        "status": "enqueued",
        "millisUntilNextRefreshable": 3599992
    }
}
```
Per ulteriori informazioni, consulta [AWS Trusted Advisor](https://docs.aws.amazon.com/awssupport/latest/user/trusted-advisor.html) nella *Guida per l’utente del Supporto AWS *.  
+  *Per i dettagli sull'API, consulta [RefreshTrustedAdvisorCheck](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/support/refresh-trusted-advisor-check.html)Command Reference.AWS CLI * 

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

**Strumenti per PowerShell V4**  
**Esempio 1: richiede un aggiornamento del controllo di Trusted Advisor specificato.**  

```
Request-ASATrustedAdvisorCheckRefresh -CheckId "checkid1"
```
+  Per i dettagli sull'API, vedere [RefreshTrustedAdvisorCheck](https://docs.aws.amazon.com/powershell/v4/reference)in *AWS Strumenti per PowerShell Cmdlet Reference (*V4). 

**Strumenti per V5 PowerShell **  
**Esempio 1: richiede un aggiornamento del controllo di Trusted Advisor specificato.**  

```
Request-ASATrustedAdvisorCheckRefresh -CheckId "checkid1"
```
+  Per i dettagli sull'API, vedere [RefreshTrustedAdvisorCheck](https://docs.aws.amazon.com/powershell/v5/reference)in *AWS Strumenti per PowerShell Cmdlet Reference (*V5). 

------