rule_based_matches
Creates, updates, deletes, gets or lists a rule_based_matches resource.
Overview
| Name | rule_based_matches |
| Type | Resource |
| Id | aws.customer_profiles.rule_based_matches |
Fields
The following fields are returned by SELECT queries:
- list_rule_based_matches
| Name | Datatype | Description |
|---|---|---|
match_id | string | The list of MatchIds for the given domain. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_rule_based_matches | select | domain_name, region | next-token, max-results | Returns a set of MatchIds that belong to the given domain. |
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) |
max-results | integer | The maximum number of MatchIds returned per page. |
next-token | string | The pagination token from the previous ListRuleBasedMatches API call. |
SELECT examples
- list_rule_based_matches
Returns a set of MatchIds that belong to the given domain.
SELECT
match_id
FROM aws.customer_profiles.rule_based_matches
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
AND `next-token` = '{{ next-token }}'
AND `max-results` = '{{ max-results }}'
;