auto_merging_previews
Creates, updates, deletes, gets or lists an auto_merging_previews resource.
Overview
| Name | auto_merging_previews |
| Type | Resource |
| Id | aws.customer_profiles.auto_merging_previews |
Fields
The following fields are returned by SELECT queries:
- get_auto_merging_preview
| Name | Datatype | Description |
|---|---|---|
domain_name | string | The unique name of the domain. (pattern: <code>^[a-zA-Z0-9_-]+$</code>) |
number_of_matches_in_sample | integer (int64) | The number of match groups in the domain that have been reviewed in this preview dry run. |
number_of_profiles_in_sample | integer (int64) | The number of profiles found in this preview dry run. |
number_of_profiles_will_be_merged | integer (int64) | The number of profiles that would be merged if this wasn't a preview dry run. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_auto_merging_preview | select | domain_name, region | 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
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
domain_name | string | The unique name of the domain. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_auto_merging_preview
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.
SELECT
domain_name,
number_of_matches_in_sample,
number_of_profiles_in_sample,
number_of_profiles_will_be_merged
FROM aws.customer_profiles.auto_merging_previews
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
;