@Override
    public GetAutoMergingPreviewResult getAutoMergingPreview(GetAutoMergingPreviewRequest request) {
        request = beforeClientExecution(request);
        return executeGetAutoMergingPreview(request);
    }
<p>
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.
</p>
<p>
You can't view which profiles are matched and would be merged.
</p>
<important>
<p>
We strongly recommend you use this API to do a dry run of the automerging process before running the Identity
Resolution Job. Include <b>at least</b> two matching attributes. If your matching list includes too few
attributes (such as only <code>FirstName</code> or only <code>LastName</code>), there may be a large number of
matches. This increases the chances of erroneous merges.
</p>
</important>

@param getAutoMergingPreviewRequest
@return Result of the GetAutoMergingPreview operation returned by the service.
@throws BadRequestException
        The input you provided is invalid.
@throws ResourceNotFoundException
        The requested resource does not exist, or access was denied.
@throws AccessDeniedException
        You do not have sufficient access to perform this action.
@throws ThrottlingException
        You exceeded the maximum number of requests.
@throws InternalServerException
        An internal service error occurred.
@sample AmazonCustomerProfiles.GetAutoMergingPreview
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetAutoMergingPreview"
     target="_top">AWS API Documentation</a>
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/AmazonCustomerProfilesClient.java