CustomerProfiles / Client / get_profile_history_record

get_profile_history_record

CustomerProfiles.Client.get_profile_history_record(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.get_profile_history_record(
    DomainName='string',
    ProfileId='string',
    Id='string'
)
Parameters:
  • DomainName (string) –

    [REQUIRED]

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

  • ProfileId (string) –

    [REQUIRED]

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

  • Id (string) –

    [REQUIRED]

    The unique identifier of the profile history record to return.

Return type:

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

  • CustomerProfiles.Client.exceptions.BadRequestException

  • CustomerProfiles.Client.exceptions.AccessDeniedException

  • CustomerProfiles.Client.exceptions.ResourceNotFoundException

  • CustomerProfiles.Client.exceptions.ThrottlingException

  • CustomerProfiles.Client.exceptions.InternalServerException