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

**************************
get_profile_history_record
**************************



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

  

  Returns a history record for a specific profile, for a specific domain.

  

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


  **Request Syntax**
  ::

    response = client.get_profile_history_record(
        DomainName='string',
        ProfileId='string',
        Id='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The unique name of the domain for which to return a profile history record.

    

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

    The unique identifier of the profile for which to return a history record.

    

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

    The unique identifier of the profile history record to return.

    

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

    
    ::

      {
          'Id': 'string',
          'ObjectTypeName': 'string',
          'CreatedAt': datetime(2015, 1, 1),
          'LastUpdatedAt': datetime(2015, 1, 1),
          'ActionType': 'ADDED_PROFILE_KEY'|'DELETED_PROFILE_KEY'|'CREATED'|'UPDATED'|'INGESTED'|'DELETED_BY_CUSTOMER'|'EXPIRED'|'MERGED'|'DELETED_BY_MERGE',
          'ProfileObjectUniqueKey': 'string',
          'Content': 'string',
          'PerformedBy': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Id** *(string) --* 

        The unique identifier of the profile history record.

        
      

      - **ObjectTypeName** *(string) --* 

        The name of the profile object type.

        
      

      - **CreatedAt** *(datetime) --* 

        The timestamp of when the profile history record was created.

        
      

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

        The timestamp of when the profile history record was last updated.

        
      

      - **ActionType** *(string) --* 

        The action type of the profile history record.

        
      

      - **ProfileObjectUniqueKey** *(string) --* 

        The unique identifier of the profile object generated by the service.

        
      

      - **Content** *(string) --* 

        A string containing the customer profile, profile object, or profile key content.

        
      

      - **PerformedBy** *(string) --* 

        The Amazon Resource Name (ARN) of the person or service principal who performed the action.

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

  