:doc:`Invoicing <../../invoicing>` / Client / delete_invoice_unit

*******************
delete_invoice_unit
*******************



.. py:method:: Invoicing.Client.delete_invoice_unit(**kwargs)

  

  This deletes an invoice unit with the provided invoice unit ARN.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/DeleteInvoiceUnit>`_  


  **Request Syntax**
  ::

    response = client.delete_invoice_unit(
        InvoiceUnitArn='string'
    )
    
  :type InvoiceUnitArn: string
  :param InvoiceUnitArn: **[REQUIRED]** 

    The ARN to identify an invoice unit. This information can't be modified or deleted.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **InvoiceUnitArn** *(string) --* 

        The ARN to identify an invoice unit. This information can't be modified or deleted.

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

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

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

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

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

  