CustomerProfiles / Client / delete_domain

delete_domain#

CustomerProfiles.Client.delete_domain(**kwargs)#

Deletes a specific domain and all of its customer data, such as customer profile attributes and their related objects.

See also: AWS API Documentation

Request Syntax

response = client.delete_domain(
    DomainName='string'
)
Parameters:

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

  • CustomerProfiles.Client.exceptions.AccessDeniedException

  • CustomerProfiles.Client.exceptions.ThrottlingException

  • CustomerProfiles.Client.exceptions.InternalServerException