

# ArchiveFilterCondition
<a name="API_ArchiveFilterCondition"></a>

A filter condition used to include or exclude emails when exporting from or searching an archive.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** BooleanExpression **   <a name="sesmailmanager-Type-ArchiveFilterCondition-BooleanExpression"></a>
A boolean expression to evaluate against email attributes.  
Type: [ArchiveBooleanExpression](API_ArchiveBooleanExpression.md) object  
Required: No

 ** StringExpression **   <a name="sesmailmanager-Type-ArchiveFilterCondition-StringExpression"></a>
A string expression to evaluate against email attributes.  
Type: [ArchiveStringExpression](API_ArchiveStringExpression.md) object  
Required: No

## See Also
<a name="API_ArchiveFilterCondition_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/mailmanager-2023-10-17/ArchiveFilterCondition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/mailmanager-2023-10-17/ArchiveFilterCondition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/mailmanager-2023-10-17/ArchiveFilterCondition) 