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.
Namespace: Amazon.CostAndUsageReport.Model
Assembly: AWSSDK.CostAndUsageReport.dll
Version: 3.x.y.z
public class DeleteReportDefinitionRequest : AmazonCostAndUsageReportRequest IAmazonWebServiceRequest
The DeleteReportDefinitionRequest type exposes the following members
Name | Description | |
---|---|---|
DeleteReportDefinitionRequest() |
Name | Type | Description | |
---|---|---|---|
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. |
The following example deletes the AWS Cost and Usage report named ExampleReport.
var client = new AmazonCostAndUsageReportClient(); var response = client.DeleteReportDefinition(new DeleteReportDefinitionRequest { ReportName = "ExampleReport" });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5