CmdID / aws / aws support
aws support describe-trusted-advisor-check-summaries
Returns the results for the Trusted Advisor check summaries for the check IDs that you specified. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To list the summaries of AWS Trusted Advisor checks
The following describe-trusted-advisor-check-summaries example lists the results for two Trusted Advisor checks: Amazon S3 Bucket Permissions and IAM Use.
aws support describe-trusted-advisor-check-summaries --check-ids "Pfx0RwqBli" "zXCkfM1nI3"Identify--check-idsThe IDs of the Trusted Advisor checks.Its output, shortened
{
"summaries": [
{
"checkId": "Pfx0RwqBli",
"timestamp": "2020-05-13T21:38:12Z",
"status": "ok",
"hasFlaggedResources": true,
"resourcesSummary": {
"resourcesProcessed": 44,
"resourcesFlagged": 0,
"resourcesIgnored": 0,
"resourcesSuppressed": 0
},
"categorySpecificSummary": {
"costOptimizing": {
"estimatedMonthlySavings": 0.0,
"estimatedPercentMonthlySavings": 0.0
}
}
},
{
"checkId": "zXCkfM1nI3",
"timestamp": "2020-05-13T21:38:05Z",
"status": "ok",
"hasFlaggedResources": true,
"resourcesSummary": {
"resourcesProcessed": 1,
"resourcesFlagged": 0,
"resourcesIgnored": 0,
"resourcesSuppressed": 0
… 10 more linesFor more information, see AWS Trusted Advisor in the AWS Support User Guide.
Options
--check-idsThe IDs of the Trusted Advisor checks.