Skip to main content

calculated_attribute_for_profiles

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

Overview

Namecalculated_attribute_for_profiles
TypeResource
Idaws.customer_profiles.calculated_attribute_for_profiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
calculated_attribute_valuesarrayList of calculated attribute values retrieved.
condition_overridesobjectAn object to override the original condition block of a calculated attribute.
errorsarrayList of errors for calculated attribute values that could not be retrieved.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_calculated_attribute_for_profileselectcalculated_attribute_name, domain_name, regionFetch the possible attribute values given the attribute name.
get_calculated_attribute_for_profileselectdomain_name, profile_id, calculated_attribute_name, regionRetrieve a calculated attribute for a customer profile.

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
calculated_attribute_namestringThe unique name of the calculated attribute.
domain_namestringThe unique name of the domain.
profile_idstringThe unique identifier of a customer profile.
regionstringAWS region (default: us-east-1)

SELECT examples

Fetch the possible attribute values given the attribute name.

SELECT
calculated_attribute_values,
condition_overrides,
errors
FROM aws.customer_profiles.calculated_attribute_for_profiles
WHERE calculated_attribute_name = '{{ calculated_attribute_name }}' -- required
AND domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
;