delete_report_definition
(**kwargs)¶Deletes the specified report.
See also: AWS API Documentation
Request Syntax
response = client.delete_report_definition(
ReportName='string'
)
{
'ResponseMessage': 'string'
}
Response Structure
If the action is successful, the service sends back an HTTP 200 response.
Whether the deletion was successful or not.
Exceptions
CostandUsageReportService.Client.exceptions.InternalErrorException
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': {
'...': '...',
},
}