| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CostAndUsageReport.DeleteReportDefinition
Description
Deletes the specified report.
Synopsis
- data DeleteReportDefinition = DeleteReportDefinition' {
- reportName :: Maybe Text
- newDeleteReportDefinition :: DeleteReportDefinition
- deleteReportDefinition_reportName :: Lens' DeleteReportDefinition (Maybe Text)
- data DeleteReportDefinitionResponse = DeleteReportDefinitionResponse' {}
- newDeleteReportDefinitionResponse :: Int -> DeleteReportDefinitionResponse
- deleteReportDefinitionResponse_responseMessage :: Lens' DeleteReportDefinitionResponse (Maybe Text)
- deleteReportDefinitionResponse_httpStatus :: Lens' DeleteReportDefinitionResponse Int
Creating a Request
data DeleteReportDefinition Source #
Deletes the specified report.
See: newDeleteReportDefinition smart constructor.
Constructors
| DeleteReportDefinition' | |
Fields
| |
Instances
newDeleteReportDefinition :: DeleteReportDefinition Source #
Create a value of DeleteReportDefinition with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteReportDefinition, deleteReportDefinition_reportName - The name of the report that you want to delete. The name must be unique,
is case sensitive, and can't include spaces.
Request Lenses
deleteReportDefinition_reportName :: Lens' DeleteReportDefinition (Maybe Text) Source #
The name of the report that you want to delete. The name must be unique, is case sensitive, and can't include spaces.
Destructuring the Response
data DeleteReportDefinitionResponse Source #
If the action is successful, the service sends back an HTTP 200 response.
See: newDeleteReportDefinitionResponse smart constructor.
Constructors
| DeleteReportDefinitionResponse' | |
Fields
| |
Instances
newDeleteReportDefinitionResponse Source #
Create a value of DeleteReportDefinitionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:responseMessage:DeleteReportDefinitionResponse', deleteReportDefinitionResponse_responseMessage - Undocumented member.
$sel:httpStatus:DeleteReportDefinitionResponse', deleteReportDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
deleteReportDefinitionResponse_responseMessage :: Lens' DeleteReportDefinitionResponse (Maybe Text) Source #
Undocumented member.
deleteReportDefinitionResponse_httpStatus :: Lens' DeleteReportDefinitionResponse Int Source #
The response's http status code.