

# Filter
<a name="API_automation_Filter"></a>

A filter used to narrow down results based on specific criteria.

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

 ** name **   <a name="computeoptimizer-Type-automation_Filter-name"></a>
The name of the filter field to apply.  
Type: String  
Valid Values: `Name | RecommendedActionType | Status | RuleType | OrganizationConfigurationRuleApplyOrder | AccountId`   
Required: Yes

 ** values **   <a name="computeoptimizer-Type-automation_Filter-values"></a>
The list of values to filter by for the specified filter field.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `[a-zA-Z0-9\-_\.\*\?\s]+`   
Required: Yes

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