deleteReportDefinition
inline suspend fun CostAndUsageReportClient.deleteReportDefinition(crossinline block: DeleteReportDefinitionRequest.Builder.() -> Unit): DeleteReportDefinitionResponse
Deletes the specified report. Any tags associated with the report are also deleted.
Samples
fun main() {
//sampleStart
// The following example deletes the AWS Cost and Usage report named ExampleReport.
costAndUsageReportClient.deleteReportDefinition {
reportName = "ExampleReport"
}
//sampleEnd
}