:doc:`CostandUsageReportService <../../cur>` / Client / delete_report_definition

************************
delete_report_definition
************************



.. py:method:: CostandUsageReportService.Client.delete_report_definition(**kwargs)

  

  Deletes the specified report. Any tags associated with the report are also deleted.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/DeleteReportDefinition>`_  


  **Request Syntax**
  ::

    response = client.delete_report_definition(
        ReportName='string'
    )
    
  :type ReportName: string
  :param ReportName: **[REQUIRED]** 

    The name of the report that you want to delete. The name must be unique, is case sensitive, and can't include spaces.

    

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

    
    ::

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

    

    - *(dict) --* 

      If the action is successful, the service sends back an HTTP 200 response.

      
      

      - **ResponseMessage** *(string) --* 

        Whether the deletion was successful or not.

        
  
  **Exceptions**
  
  *   :py:class:`CostandUsageReportService.Client.exceptions.InternalErrorException`

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

  

  **Examples**

  The following example deletes the AWS Cost and Usage report named ExampleReport.
  ::

    response = client.delete_report_definition(
        ReportName='ExampleReport',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  