Use DescribeTrustedAdvisorCheckResult
with a CLI
The following code examples show how to use DescribeTrustedAdvisorCheckResult
.
- AWS CLI
-
To list the results of an AWS Trusted Advisor check
The following
describe-trusted-advisor-check-result
example lists the results of the IAM Use check.aws support describe-trusted-advisor-check-result \ --check-id
"zXCkfM1nI3"
Output:
{ "result": { "checkId": "zXCkfM1nI3", "timestamp": "2020-05-13T21:38:05Z", "status": "ok", "resourcesSummary": { "resourcesProcessed": 1, "resourcesFlagged": 0, "resourcesIgnored": 0, "resourcesSuppressed": 0 }, "categorySpecificSummary": { "costOptimizing": { "estimatedMonthlySavings": 0.0, "estimatedPercentMonthlySavings": 0.0 } }, "flaggedResources": [ { "status": "ok", "resourceId": "47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZEXAMPLE", "isSuppressed": false } ] } }
For more information, see AWS Trusted Advisor in the AWS Support User Guide.
-
For API details, see DescribeTrustedAdvisorCheckResult
in AWS CLI Command Reference.
-
For a complete list of AWS SDK developer guides and code examples, see Using AWS Support with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.