profile_recommendations
Creates, updates, deletes, gets or lists a profile_recommendations resource.
Overview
| Name | profile_recommendations |
| Type | Resource |
| Id | aws.customer_profiles.profile_recommendations |
Fields
The following fields are returned by SELECT queries:
- get_profile_recommendations
| Name | Datatype | Description |
|---|---|---|
recommendations | array | List of recommendations generated by the recommender. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_profile_recommendations | select | domain_name, profile_id, region | Fetches the recommendations for a profile in the input Customer Profiles domain. Fetches all the profile recommendations |
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. |
profile_id | string | The unique identifier of the profile for which to retrieve recommendations. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_profile_recommendations
Fetches the recommendations for a profile in the input Customer Profiles domain. Fetches all the profile recommendations
SELECT
recommendations
FROM aws.customer_profiles.profile_recommendations
WHERE domain_name = '{{ domain_name }}' -- required
AND profile_id = '{{ profile_id }}' -- required
AND region = '{{ region }}' -- required
;