

# PreviewResultSummary
<a name="API_automation_PreviewResultSummary"></a>

Contains a summary of preview results for an automation rule.

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

 ** key **   <a name="computeoptimizer-Type-automation_PreviewResultSummary-key"></a>
The key identifier for this preview result summary.  
Type: String  
Required: Yes

 ** total **   <a name="computeoptimizer-Type-automation_PreviewResultSummary-total"></a>
Aggregate totals for automation rule preview results, including count and estimated savings.  
Type: [RulePreviewTotal](API_automation_RulePreviewTotal.md) object  
Required: Yes

## See Also
<a name="API_automation_PreviewResultSummary_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/PreviewResultSummary) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/compute-optimizer-automation-2025-09-22/PreviewResultSummary) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/compute-optimizer-automation-2025-09-22/PreviewResultSummary) 