Skip to main content

object_type_attribute_values

Creates, updates, deletes, gets or lists an object_type_attribute_values resource.

Overview​

Nameobject_type_attribute_values
TypeResource
Idaws.customer_profiles.object_type_attribute_values

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
itemsarrayA list of unique attribute values sorted on the basis of LastUpdatedAt.
next_tokenstringThe pagination token from the previous call to call ListObjectTypeAttributeValues.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_object_type_attribute_valuesselectdomain_name, object_type_name, attribute_name, regionnext-token, max-resultsThe ListObjectTypeAttributeValues API provides access to the most recent distinct values for any specified attribute, making it valuable for real-time data validation and consistency checks within your object types. This API works across domain, supporting both custom and standard object types. The API accepts the object type name, attribute name, and domain name as input parameters and returns values up to the storage limit of approximately 350KB.

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
attribute_namestringThe attribute name.
domain_namestringThe unique name of the domain.
object_type_namestringThe unique name of the domain object type.
regionstringAWS region (default: us-east-1)
max-resultsintegerThe maximum number of objects returned per page. Valid Range: Minimum value of 1. Maximum value of 100. If not provided default as 100.
next-tokenstringThe pagination token from the previous call.

SELECT examples​

The ListObjectTypeAttributeValues API provides access to the most recent distinct values for any specified attribute, making it valuable for real-time data validation and consistency checks within your object types. This API works across domain, supporting both custom and standard object types. The API accepts the object type name, attribute name, and domain name as input parameters and returns values up to the storage limit of approximately 350KB.

SELECT
items,
next_token
FROM aws.customer_profiles.object_type_attribute_values
WHERE domain_name = '{{ domain_name }}' -- required
AND object_type_name = '{{ object_type_name }}' -- required
AND attribute_name = '{{ attribute_name }}' -- required
AND region = '{{ region }}' -- required
AND `next-token` = '{{ next-token }}'
AND `max-results` = '{{ max-results }}'
;