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

************************************
get_calculated_attribute_for_profile
************************************



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

  

  Retrieve a calculated attribute for a customer profile.

  

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


  **Request Syntax**
  ::

    response = client.get_calculated_attribute_for_profile(
        DomainName='string',
        ProfileId='string',
        CalculatedAttributeName='string'
    )
    
  :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.

    

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

    The unique name of the calculated attribute.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

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

  