Skip to main content

similar_profiles

Creates, updates, deletes, gets or lists a similar_profiles resource.

Overview

Namesimilar_profiles
TypeResource
Idaws.customer_profiles.similar_profiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
profile_idstringSet of profileIds that belong to the same matching group.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_similar_profilesselectdomain_name, regionnext-token, max-resultsReturns a set of profiles that belong to the same matching group using the matchId or profileId. You can also specify the type of matching that you want for finding similar profiles using either RULE_BASED_MATCHING or ML_BASED_MATCHING.

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.

NameDatatypeDescription
domain_namestringThe unique name of the domain.
regionstringAWS region (default: us-east-1)
max-resultsintegerThe maximum number of objects returned per page.
next-tokenstringThe pagination token from the previous GetSimilarProfiles API call.

SELECT examples

Returns a set of profiles that belong to the same matching group using the matchId or profileId. You can also specify the type of matching that you want for finding similar profiles using either RULE_BASED_MATCHING or ML_BASED_MATCHING.

SELECT
profile_id
FROM aws.customer_profiles.similar_profiles
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
AND `next-token` = '{{ next-token }}'
AND `max-results` = '{{ max-results }}'
;