object_type_attribute_statistics
Creates, updates, deletes, gets or lists an object_type_attribute_statistics resource.
Overview
| Name | object_type_attribute_statistics |
| Type | Resource |
| Id | aws.customer_profiles.object_type_attribute_statistics |
Fields
The following fields are returned by SELECT queries:
- get_object_type_attribute_statistics
| Name | Datatype | Description |
|---|---|---|
calculated_at | string (date-time) | Time when this statistics was calculated. |
statistics | object | The statistics. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_object_type_attribute_statistics | select | domain_name, object_type_name, attribute_name, region | The GetObjectTypeAttributeValues API delivers statistical insights about attributes within a specific object type, but is exclusively available for domains with data store enabled. This API performs daily calculations to provide statistical information about your attribute values, helping you understand patterns and trends in your data. The statistical calculations are performed once per day, providing a consistent snapshot of your attribute data characteristics. You'll receive null values in two scenarios: During the first period after enabling data vault (unless a calculation cycle occurs, which happens once daily). For attributes that don't contain numeric values. |
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 name of the domain. |
object_type_name | string | The unique name of the domain object type. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_object_type_attribute_statistics
The GetObjectTypeAttributeValues API delivers statistical insights about attributes within a specific object type, but is exclusively available for domains with data store enabled. This API performs daily calculations to provide statistical information about your attribute values, helping you understand patterns and trends in your data. The statistical calculations are performed once per day, providing a consistent snapshot of your attribute data characteristics. You'll receive null values in two scenarios: During the first period after enabling data vault (unless a calculation cycle occurs, which happens once daily). For attributes that don't contain numeric values.
SELECT
calculated_at,
statistics
FROM aws.customer_profiles.object_type_attribute_statistics
WHERE domain_name = '{{ domain_name }}' -- required
AND object_type_name = '{{ object_type_name }}' -- required
AND attribute_name = '{{ attribute_name }}' -- required
AND region = '{{ region }}' -- required
;