:doc:`CostExplorer <../../ce>` / Client / delete_cost_category_definition

*******************************
delete_cost_category_definition
*******************************



.. py:method:: CostExplorer.Client.delete_cost_category_definition(**kwargs)

  

  Deletes a cost category. Expenses from this month going forward will no longer be categorized with this cost category.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteCostCategoryDefinition>`_  


  **Request Syntax**
  ::

    response = client.delete_cost_category_definition(
        CostCategoryArn='string'
    )
    
  :type CostCategoryArn: string
  :param CostCategoryArn: **[REQUIRED]** 

    The unique identifier for your cost category.

    

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

    
    ::

      {
          'CostCategoryArn': 'string',
          'EffectiveEnd': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **CostCategoryArn** *(string) --* 

        The unique identifier for your cost category.

        
      

      - **EffectiveEnd** *(string) --* 

        The effective end date of the cost category as a result of deleting it. No costs after this date is categorized by the deleted cost category.

        
  
  **Exceptions**
  
  *   :py:class:`CostExplorer.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CostExplorer.Client.exceptions.LimitExceededException`

  