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

***************************
list_object_type_attributes
***************************



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

  

  Fetch the possible attribute values given the attribute name.

  

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


  **Request Syntax**
  ::

    response = client.list_object_type_attributes(
        NextToken='string',
        MaxResults=123,
        DomainName='string',
        ObjectTypeName='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.

    

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

    The unique identifier of the domain.

    

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

    The name of the profile object type.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        The items returned as part of the response.

        
        

        - *(dict) --* 

          Item that contains the attribute and when it was last updated.

          
          

          - **AttributeName** *(string) --* 

            Name of the attribute.

            
          

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

            When the attribute was last updated.

            
      
    
      

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

        The pagination token from the previous call.

        
  
  **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`

  