Update Calculated Attribute Definition
customerprofiles_update_calculated_attribute_definition | R Documentation |
Updates an existing calculated attribute definition¶
Description¶
Updates an existing calculated attribute definition. When updating the Conditions, note that increasing the date range of a calculated attribute will not trigger inclusion of historical data greater than the current date range.
Usage¶
customerprofiles_update_calculated_attribute_definition(DomainName,
CalculatedAttributeName, DisplayName, Description, Conditions)
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. |
Conditions |
The conditions including range, object count, and threshold for the calculated attribute. |
Value¶
A list with the following syntax:
list(
CalculatedAttributeName = "string",
DisplayName = "string",
Description = "string",
CreatedAt = as.POSIXct(
"2015-01-01"
),
LastUpdatedAt = as.POSIXct(
"2015-01-01"
),
Statistic = "FIRST_OCCURRENCE"|"LAST_OCCURRENCE"|"COUNT"|"SUM"|"MINIMUM"|"MAXIMUM"|"AVERAGE"|"MAX_OCCURRENCE",
Conditions = list(
Range = list(
Value = 123,
Unit = "DAYS"
),
ObjectCount = 123,
Threshold = list(
Value = "string",
Operator = "EQUAL_TO"|"GREATER_THAN"|"LESS_THAN"|"NOT_EQUAL_TO"
)
),
AttributeDetails = list(
Attributes = list(
list(
Name = "string"
)
),
Expression = "string"
),
Tags = list(
"string"
)
)
Request syntax¶
svc$update_calculated_attribute_definition(
DomainName = "string",
CalculatedAttributeName = "string",
DisplayName = "string",
Description = "string",
Conditions = list(
Range = list(
Value = 123,
Unit = "DAYS"
),
ObjectCount = 123,
Threshold = list(
Value = "string",
Operator = "EQUAL_TO"|"GREATER_THAN"|"LESS_THAN"|"NOT_EQUAL_TO"
)
)
)