:doc:`CustomerProfiles <../../customer-profiles>` / Client / list_object_type_attribute_values

*********************************
list_object_type_attribute_values
*********************************



.. py:method:: CustomerProfiles.Client.list_object_type_attribute_values(**kwargs)

  

  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.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListObjectTypeAttributeValues>`_  


  **Request Syntax**
  ::

    response = client.list_object_type_attribute_values(
        NextToken='string',
        MaxResults=123,
        DomainName='string',
        ObjectTypeName='string',
        AttributeName='string'
    )
    
  :type NextToken: string
  :param NextToken: 

    The pagination token from the previous call.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of objects returned per page. Valid Range: Minimum value of 1. Maximum value of 100. If not provided default as 100.

    

  
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The unique name of the domain.

    

  
  :type ObjectTypeName: string
  :param ObjectTypeName: **[REQUIRED]** 

    The unique name of the domain object type.

    

  
  :type AttributeName: string
  :param AttributeName: **[REQUIRED]** 

    The attribute name.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Items': [
              {
                  'Value': 'string',
                  'LastUpdatedAt': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Items** *(list) --* 

        A list of unique attribute values sorted on the basis of LastUpdatedAt.

        
        

        - *(dict) --* 

          Represents an item in the list of object type attribute values with its associated metadata.

          
          

          - **Value** *(string) --* 

            The actual value of the object type attribute.

            
          

          - **LastUpdatedAt** *(datetime) --* 

            The timestamp of when the object type attribute value was most recently updated.

            
      
    
      

      - **NextToken** *(string) --* 

        The pagination token from the previous call to call ListObjectTypeAttributeValues.

        
  
  **Exceptions**
  
  *   :py:class:`CustomerProfiles.Client.exceptions.BadRequestException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.ThrottlingException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.InternalServerException`

  