get_auto_merging_preview
async
¶
get_auto_merging_preview(
domain_name: name,
consolidation: Consolidation,
conflict_resolution: ConflictResolution,
*,
config_overrides: Optional[AsyncCustomerProfilesClientConfig] = None,
min_allowed_confidence_score_for_merging: Optional[Double0To1] = None,
) -> GetAutoMergingPreviewResponse
Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list.
You can't view which profiles are matched and would be merged.
We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include at least two matching attributes. If your matching list includes too few attributes (such as only FirstName or only LastName), there may be a large number of matches. This increases the chances of erroneous merges.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
consolidation(Consolidation) –A list of matching attributes that represent matching criteria.
-
conflict_resolution(ConflictResolution) –How the auto-merging process should resolve conflicts between different profiles.
-
min_allowed_confidence_score_for_merging(Optional[Double0To1], default:None) –Minimum confidence score required for profiles within a matching group to be merged during the auto-merge process.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
BadRequestException–The input you provided is invalid.
-
InternalServerException–An internal service error occurred.
-
ResourceNotFoundException–The requested resource does not exist, or access was denied.
-
ThrottlingException–You exceeded the maximum number of requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_customer_profiles/_services/async_customer_profiles.py
3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 | |