CustomerProfiles / Client / delete_profile_object

delete_profile_object#

CustomerProfiles.Client.delete_profile_object(**kwargs)#

Removes an object associated with a profile of a given ProfileObjectType.

See also: AWS API Documentation

Request Syntax

response = client.delete_profile_object(
    ProfileId='string',
    ProfileObjectUniqueKey='string',
    ObjectTypeName='string',
    DomainName='string'
)
Parameters:
  • ProfileId (string) –

    [REQUIRED]

    The unique identifier of a customer profile.

  • ProfileObjectUniqueKey (string) –

    [REQUIRED]

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

  • ObjectTypeName (string) –

    [REQUIRED]

    The name of the profile object type.

  • DomainName (string) –

    [REQUIRED]

    The unique name of the domain.

Return type:

dict

Returns:

Response Syntax

{
    'Message': 'string'
}

Response Structure

  • (dict) –

    • Message (string) –

      A message that indicates the delete request is done.

Exceptions

  • CustomerProfiles.Client.exceptions.BadRequestException

  • CustomerProfiles.Client.exceptions.AccessDeniedException

  • CustomerProfiles.Client.exceptions.ResourceNotFoundException

  • CustomerProfiles.Client.exceptions.ThrottlingException

  • CustomerProfiles.Client.exceptions.InternalServerException