AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeleteReportDefinition operation. Deletes the specified report. Any tags associated with the report are also deleted.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CostAndUsageReport.AmazonCostAndUsageReportRequest
      Amazon.CostAndUsageReport.Model.DeleteReportDefinitionRequest

Namespace: Amazon.CostAndUsageReport.Model
Assembly: AWSSDK.CostAndUsageReport.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteReportDefinitionRequest : AmazonCostAndUsageReportRequest
         IAmazonWebServiceRequest

The DeleteReportDefinitionRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ReportName System.String

Gets and sets the property ReportName.

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

Examples

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

To delete the AWS Cost and Usage report named ExampleReport.


var client = new AmazonCostAndUsageReportClient();
var response = client.DeleteReportDefinition(new DeleteReportDefinitionRequest 
{
    ReportName = "ExampleReport"
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5