profile_attribute_values
Creates, updates, deletes, gets or lists a profile_attribute_values resource.
Overview
| Name | profile_attribute_values |
| Type | Resource |
| Id | aws.customer_profiles.profile_attribute_values |
Fields
The following fields are returned by SELECT queries:
- list_profile_attribute_values
| Name | Datatype | Description |
|---|---|---|
attribute_name | string | The attribute name. |
domain_name | string | The name of the domain. (pattern: <code>^[a-zA-Z0-9_-]+$</code>) |
items | array | The items returned as part of the response. |
status_code | integer | The status code for the response. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_profile_attribute_values | select | domain_name, attribute_name, region | Fetch the possible attribute values given the attribute name. |
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 |
|---|---|---|
attribute_name | string | The attribute name. |
domain_name | string | The unique identifier of the domain. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_profile_attribute_values
Fetch the possible attribute values given the attribute name.
SELECT
attribute_name,
domain_name,
items,
status_code
FROM aws.customer_profiles.profile_attribute_values
WHERE domain_name = '{{ domain_name }}' -- required
AND attribute_name = '{{ attribute_name }}' -- required
AND region = '{{ region }}' -- required
;