:doc:`BillingConductor <../../billingconductor>` / Client / delete_custom_line_item

***********************
delete_custom_line_item
***********************



.. py:method:: BillingConductor.Client.delete_custom_line_item(**kwargs)

  

  Deletes the custom line item identified by the given ARN in the current, or previous billing period.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeleteCustomLineItem>`_  


  **Request Syntax**
  ::

    response = client.delete_custom_line_item(
        Arn='string',
        BillingPeriodRange={
            'InclusiveStartBillingPeriod': 'string',
            'ExclusiveEndBillingPeriod': 'string'
        }
    )
    
  :type Arn: string
  :param Arn: **[REQUIRED]** 

    The ARN of the custom line item to be deleted.

    

  
  :type BillingPeriodRange: dict
  :param BillingPeriodRange: 

    The billing period range in which the custom line item request will be applied.

    

  
    - **InclusiveStartBillingPeriod** *(string) --* **[REQUIRED]** 

      The inclusive start billing period that defines a billing period range where a custom line is applied.

      

    
    - **ExclusiveEndBillingPeriod** *(string) --* 

      The inclusive end billing period that defines a billing period range where a custom line is applied.

      

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

    
    ::

      {
          'Arn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The ARN of the deleted custom line item.

        
  
  **Exceptions**
  
  *   :py:class:`BillingConductor.Client.exceptions.ConflictException`

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

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

  
  *   :py:class:`BillingConductor.Client.exceptions.ValidationException`

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

  