

# RuleBasedMatchingRequest
<a name="API_connect-customer-profiles_RuleBasedMatchingRequest"></a>

The request to enable the rule-based matching.

## Contents
<a name="API_connect-customer-profiles_RuleBasedMatchingRequest_Contents"></a>

 ** Enabled **   <a name="connect-Type-connect-customer-profiles_RuleBasedMatchingRequest-Enabled"></a>
The flag that enables the rule-based matching process of duplicate profiles.  
Type: Boolean  
Required: Yes

 ** AttributeTypesSelector **   <a name="connect-Type-connect-customer-profiles_RuleBasedMatchingRequest-AttributeTypesSelector"></a>
Configures information about the `AttributeTypesSelector` where the rule-based identity resolution uses to match profiles.  
Type: [AttributeTypesSelector](API_connect-customer-profiles_AttributeTypesSelector.md) object  
Required: No

 ** ConflictResolution **   <a name="connect-Type-connect-customer-profiles_RuleBasedMatchingRequest-ConflictResolution"></a>
How the auto-merging process should resolve conflicts between different profiles.  
Type: [ConflictResolution](API_connect-customer-profiles_ConflictResolution.md) object  
Required: No

 ** ExportingConfig **   <a name="connect-Type-connect-customer-profiles_RuleBasedMatchingRequest-ExportingConfig"></a>
Configuration information about the S3 bucket where Identity Resolution Jobs writes result files.   
You need to give Customer Profiles service principal write permission to your S3 bucket. Otherwise, you'll get an exception in the API response. For an example policy, see [Amazon Connect Customer Profiles cross-service confused deputy prevention](https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html#customer-profiles-cross-service). 
Type: [ExportingConfig](API_connect-customer-profiles_ExportingConfig.md) object  
Required: No

 ** MatchingRules **   <a name="connect-Type-connect-customer-profiles_RuleBasedMatchingRequest-MatchingRules"></a>
Configures how the rule-based matching process should match profiles. You can have up to 15 `MatchingRule` in the `MatchingRules`.  
Type: Array of [MatchingRule](API_connect-customer-profiles_MatchingRule.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 15 items.  
Required: No

 ** MaxAllowedRuleLevelForMatching **   <a name="connect-Type-connect-customer-profiles_RuleBasedMatchingRequest-MaxAllowedRuleLevelForMatching"></a>
Indicates the maximum allowed rule level.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 15.  
Required: No

 ** MaxAllowedRuleLevelForMerging **   <a name="connect-Type-connect-customer-profiles_RuleBasedMatchingRequest-MaxAllowedRuleLevelForMerging"></a>
 [MatchingRule](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_MatchingRule.html)   
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 15.  
Required: No

## See Also
<a name="API_connect-customer-profiles_RuleBasedMatchingRequest_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/customer-profiles-2020-08-15/RuleBasedMatchingRequest) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/RuleBasedMatchingRequest) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/RuleBasedMatchingRequest) 