メインコンテンツへスキップ

list-aws-recommendations

dci list-aws-recommendations managementAccountId

Returns commitment purchase recommendations for the organization. Multiple recommendations may exist per organization (one per service).

Output

List of recommendations.

By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.

FieldTypeDescription
computeobjectRecommended commitments for compute
compute.policystringActual configured policy
compute.currentCommitmentnumber (double)Active commitments currently applied to this account, measured in hourly spend.
compute.recommendedCommitmentnumber (double)Recommended hourly commitment level based on usage patterns and your commitment policy, designed to increase savings while managing underutilization risk.
compute.potentialAdditionalSavingsnumber (double)Estimated additional monthly savings from applying the recommended commitment policy.
compute.estimatedAverageCoveragenumber (double)Estimated average coverage.
compute.estimatedEquivalentRecommendedCommitmentnumber (double)Estimated shelf-price hourly equivalent of the recommended commitment, derived from the median hourly eligible usage over the last 60 days multiplied by the estimated average coverage.
databaseobjectRecommended commitments for database
database.policystringActual configured policy
database.currentCommitmentnumber (double)Active commitments currently applied to this account, measured in hourly spend.
database.recommendedCommitmentnumber (double)Recommended hourly commitment level based on usage patterns and your commitment policy, designed to increase savings while managing underutilization risk.
database.potentialAdditionalSavingsnumber (double)Estimated additional monthly savings from applying the recommended commitment policy.
database.estimatedAverageCoveragenumber (double)Estimated average coverage.
database.estimatedEquivalentRecommendedCommitmentnumber (double)Estimated shelf-price hourly equivalent of the recommended commitment, derived from the median hourly eligible usage over the last 60 days multiplied by the estimated average coverage.
Raw JSON schema
{
"type": "object",
"description": "Recommended commitments for onboarded services",
"properties": {
"compute": {
"allOf": [
{
"type": "object",
"description": "Recommended commitments",
"properties": {
"policy": {
"type": "string",
"description": "Actual configured policy"
},
"currentCommitment": {
"type": "number",
"format": "double",
"description": "Active commitments currently applied to this account, measured in hourly spend."
},
"recommendedCommitment": {
"type": "number",
"format": "double",
"description": "Recommended hourly commitment level based on usage patterns and your commitment policy, designed to increase savings while managing underutilization risk."
},
"potentialAdditionalSavings": {
"type": "number",
"format": "double",
"description": "Estimated additional monthly savings from applying the recommended commitment policy."
},
"estimatedAverageCoverage": {
"type": "number",
"format": "double",
"description": "Estimated average coverage."
},
"estimatedEquivalentRecommendedCommitment": {
"type": "number",
"format": "double",
"description": "Estimated shelf-price hourly equivalent of the recommended commitment, derived from the median hourly eligible usage over the last 60 days multiplied by the estimated average coverage."
}
}
}
],
"description": "Recommended commitments for compute"
},
"database": {
"allOf": [
{
"type": "object",
"description": "Recommended commitments",
"properties": {
"policy": {
"type": "string",
"description": "Actual configured policy"
},
"currentCommitment": {
"type": "number",
"format": "double",
"description": "Active commitments currently applied to this account, measured in hourly spend."
},
"recommendedCommitment": {
"type": "number",
"format": "double",
"description": "Recommended hourly commitment level based on usage patterns and your commitment policy, designed to increase savings while managing underutilization risk."
},
"potentialAdditionalSavings": {
"type": "number",
"format": "double",
"description": "Estimated additional monthly savings from applying the recommended commitment policy."
},
"estimatedAverageCoverage": {
"type": "number",
"format": "double",
"description": "Estimated average coverage."
},
"estimatedEquivalentRecommendedCommitment": {
"type": "number",
"format": "double",
"description": "Estimated shelf-price hourly equivalent of the recommended commitment, derived from the median hourly eligible usage over the last 60 days multiplied by the estimated average coverage."
}
}
}
],
"description": "Recommended commitments for database"
}
}
}

Errors

On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.

HTTP statusExit codeError codeMeaning
40030VALIDATION_ERRORThe arguments or request body were rejected. Review the command's flags and payload.
40110AUTHENTICATION_FAILEDNot signed in, or the API token is invalid. Run dci login or check DCI_API_KEY.
40311PERMISSION_DENIEDThe DoiT user or the active customer context does not have access.
40420RESOURCE_NOT_FOUNDThe requested resource does not exist. Check the identifier argument.
500, 50340API_SERVER_ERRORThe API failed to process the request. Retryable; contact DoiT support if it persists.

Aliases: listawsrecommendations