

# MatchClause
<a name="API_MatchClause"></a>

A clause to match a query pattern

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

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

 ** entityPattern **   <a name="datazone-Type-MatchClause-entityPattern"></a>
The pattern describing the entities for the query to traverse.  
Type: [EntityPattern](API_EntityPattern.md) object  
Required: No

 ** relationPattern **   <a name="datazone-Type-MatchClause-relationPattern"></a>
The pattern describing the query's relational traversal.  
Type: [RelationPattern](API_RelationPattern.md) object  
Required: No

## See Also
<a name="API_MatchClause_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/datazone-2018-05-10/MatchClause) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/datazone-2018-05-10/MatchClause) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/datazone-2018-05-10/MatchClause) 