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

**************************************
list_calculated_attributes_for_profile
**************************************



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

  

  Retrieve a list of calculated attributes for a customer profile.

  

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


  **Request Syntax**
  ::

    response = client.list_calculated_attributes_for_profile(
        NextToken='string',
        MaxResults=123,
        DomainName='string',
        ProfileId='string'
    )
    
  :type NextToken: string
  :param NextToken: 

    The pagination token from the previous call to ListCalculatedAttributesForProfile.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of calculated attributes returned per page.

    

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

    The unique name of the domain.

    

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

    The unique identifier of a customer profile.

    

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

    
    ::

      {
          'Items': [
              {
                  'CalculatedAttributeName': 'string',
                  'DisplayName': 'string',
                  'IsDataPartial': 'string',
                  'Value': 'string',
                  'LastObjectTimestamp': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The list of calculated attributes.

        
        

        - *(dict) --* 

          The details of a single calculated attribute for a profile.

          
          

          - **CalculatedAttributeName** *(string) --* 

            The unique name of the calculated attribute.

            
          

          - **DisplayName** *(string) --* 

            The display name of the calculated attribute.

            
          

          - **IsDataPartial** *(string) --* 

            Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.

            
          

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

            The value of the calculated attribute.

            
          

          - **LastObjectTimestamp** *(datetime) --* 

            The timestamp of the newest object included in the calculated attribute calculation.

            
      
    
      

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

        The pagination token from the previous call to ListCalculatedAttributesForProfile.

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

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

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

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

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

  