

# DocumentFilter
<a name="API_DocumentFilter"></a>

This data type is deprecated. Instead, use [DocumentKeyValuesFilter](API_DocumentKeyValuesFilter.md).

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

 ** key **   <a name="systemsmanager-Type-DocumentFilter-key"></a>
The name of the filter.  
Type: String  
Valid Values: `Name | Owner | PlatformTypes | DocumentType`   
Required: Yes

 ** value **   <a name="systemsmanager-Type-DocumentFilter-value"></a>
The value of the filter.  
Type: String  
Length Constraints: Minimum length of 1.  
Required: Yes

## See Also
<a name="API_DocumentFilter_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/ssm-2014-11-06/DocumentFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ssm-2014-11-06/DocumentFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ssm-2014-11-06/DocumentFilter) 