CLI로 RefreshTrustedAdvisorCheck 사용 - AWS Support

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"

AWS SDK 개발자 가이드 및 코드 예시의 전체 목록은 AWS Support와 AWS SDK 사용 섹션을 참조하세요. 이 주제에는 시작하기에 대한 정보와 이전 SDK 버전에 대한 세부 정보도 포함되어 있습니다.