

# RulePreviewTotal
<a name="API_automation_RulePreviewTotal"></a>

Aggregate totals for automation rule preview results, including count and estimated savings.

## Contents
<a name="API_automation_RulePreviewTotal_Contents"></a>

 ** estimatedMonthlySavings **   <a name="computeoptimizer-Type-automation_RulePreviewTotal-estimatedMonthlySavings"></a>
 Contains information about estimated monthly cost savings.   
Type: [EstimatedMonthlySavings](API_automation_EstimatedMonthlySavings.md) object  
Required: Yes

 ** recommendedActionCount **   <a name="computeoptimizer-Type-automation_RulePreviewTotal-recommendedActionCount"></a>
The total number of recommended actions matching the rule preview configuration.  
Type: Integer  
Required: Yes

## See Also
<a name="API_automation_RulePreviewTotal_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/compute-optimizer-automation-2025-09-22/RulePreviewTotal) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/compute-optimizer-automation-2025-09-22/RulePreviewTotal) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/compute-optimizer-automation-2025-09-22/RulePreviewTotal) 