Creates a new calculated attribute definition
Source:R/customerprofiles_operations.R
customerprofiles_create_calculated_attribute_definition.RdCreates a new calculated attribute definition. After creation, new object data ingested into Customer Profiles will be included in the calculated attribute, which can be retrieved for a profile using the get_calculated_attribute_for_profile API. Defining a calculated attribute makes it available for all profiles within a domain. Each calculated attribute can only reference one ObjectType and at most, two fields from that ObjectType.
See https://www.paws-r-sdk.com/docs/customerprofiles_create_calculated_attribute_definition/ for full documentation.
Usage
customerprofiles_create_calculated_attribute_definition(
DomainName,
CalculatedAttributeName,
DisplayName = NULL,
Description = NULL,
AttributeDetails,
Conditions = NULL,
Filter = NULL,
Statistic,
UseHistoricalData = NULL,
Tags = NULL
)Arguments
- DomainName
[required] The unique name of the domain.
- CalculatedAttributeName
[required] The unique name of the calculated attribute.
- DisplayName
The display name of the calculated attribute.
- Description
The description of the calculated attribute.
- AttributeDetails
[required] Mathematical expression and a list of attribute items specified in that expression.
- Conditions
The conditions including range, object count, and threshold for the calculated attribute.
- Filter
Defines how to filter incoming objects to include part of the Calculated Attribute.
- Statistic
[required] The aggregation operation to perform for the calculated attribute.
- UseHistoricalData
Whether historical data ingested before the Calculated Attribute was created should be included in calculations.
The tags used to organize, track, or control access for this resource.