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

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

CLI로 RefreshTrustedAdvisorCheck 사용

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

CLI
AWS CLI

AWS Trusted Advisor 검사 새로 고침

다음 refresh-trusted-advisor-check 예시에서는 AWS 계정의 Amazon S3 버킷 권한 Trusted Advisor 검사를 새로 고칩니다.

aws support refresh-trusted-advisor-check \ --check-id "Pfx0RwqBli"

출력:

{ "status": { "checkId": "Pfx0RwqBli", "status": "enqueued", "millisUntilNextRefreshable": 3599992 } }

자세한 내용은 AWS Support 사용자 안내서AWS Trusted Advisor를 참조하세요.

PowerShell
Tools for PowerShell V4

예제 1: 지정된 Trusted Advisor 검사에 대한 새로 고침을 요청합니다.

Request-ASATrustedAdvisorCheckRefresh -CheckId "checkid1"
Tools for PowerShell V5

예제 1: 지정된 Trusted Advisor 검사에 대한 새로 고침을 요청합니다.

Request-ASATrustedAdvisorCheckRefresh -CheckId "checkid1"