Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeleteReportDefinition' | |
|
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:
$sel:reportName: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.
DeleteReportDefinitionResponse' | |
|
Instances
Eq DeleteReportDefinitionResponse Source # | |
Read DeleteReportDefinitionResponse Source # | |
Show DeleteReportDefinitionResponse Source # | |
Generic DeleteReportDefinitionResponse Source # | |
NFData DeleteReportDefinitionResponse Source # | |
Defined in Amazonka.CostAndUsageReport.DeleteReportDefinition rnf :: DeleteReportDefinitionResponse -> () # | |
type Rep DeleteReportDefinitionResponse Source # | |
Defined in Amazonka.CostAndUsageReport.DeleteReportDefinition type Rep DeleteReportDefinitionResponse = D1 ('MetaData "DeleteReportDefinitionResponse" "Amazonka.CostAndUsageReport.DeleteReportDefinition" "libZSservicesZSamazonka-curZSamazonka-cur" 'False) (C1 ('MetaCons "DeleteReportDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responseMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.