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

**************************************
delete_calculated_attribute_definition
**************************************



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

  

  Deletes an existing calculated attribute definition. Note that deleting a default calculated attribute is possible, however once deleted, you will be unable to undo that action and will need to recreate it on your own using the CreateCalculatedAttributeDefinition API if you want it back.

  

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


  **Request Syntax**
  ::

    response = client.delete_calculated_attribute_definition(
        DomainName='string',
        CalculatedAttributeName='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The unique name of the domain.

    

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

    The unique name of the calculated attribute.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CustomerProfiles.Client.exceptions.BadRequestException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.ThrottlingException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.InternalServerException`

  