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 definition in AWS Application Cost Profiler. This stops the report from being generated.
Synopsis
- data DeleteReportDefinition = DeleteReportDefinition' {}
- newDeleteReportDefinition :: Text -> DeleteReportDefinition
- deleteReportDefinition_reportId :: Lens' DeleteReportDefinition Text
- data DeleteReportDefinitionResponse = DeleteReportDefinitionResponse' {
- reportId :: Maybe Text
- httpStatus :: Int
- newDeleteReportDefinitionResponse :: Int -> DeleteReportDefinitionResponse
- deleteReportDefinitionResponse_reportId :: Lens' DeleteReportDefinitionResponse (Maybe Text)
- deleteReportDefinitionResponse_httpStatus :: Lens' DeleteReportDefinitionResponse Int
Creating a Request
data DeleteReportDefinition Source #
See: newDeleteReportDefinition
smart constructor.
Instances
newDeleteReportDefinition 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:reportId:DeleteReportDefinition'
, deleteReportDefinition_reportId
- Required. ID of the report to delete.
Request Lenses
deleteReportDefinition_reportId :: Lens' DeleteReportDefinition Text Source #
Required. ID of the report to delete.
Destructuring the Response
data DeleteReportDefinitionResponse Source #
See: newDeleteReportDefinitionResponse
smart constructor.
DeleteReportDefinitionResponse' | |
|
Instances
Eq DeleteReportDefinitionResponse Source # | |
Read DeleteReportDefinitionResponse Source # | |
Show DeleteReportDefinitionResponse Source # | |
Generic DeleteReportDefinitionResponse Source # | |
NFData DeleteReportDefinitionResponse Source # | |
Defined in Amazonka.ApplicationCostProfiler.DeleteReportDefinition rnf :: DeleteReportDefinitionResponse -> () # | |
type Rep DeleteReportDefinitionResponse Source # | |
Defined in Amazonka.ApplicationCostProfiler.DeleteReportDefinition type Rep DeleteReportDefinitionResponse = D1 ('MetaData "DeleteReportDefinitionResponse" "Amazonka.ApplicationCostProfiler.DeleteReportDefinition" "libZSservicesZSamazonka-applicationcostprofilerZSamazonka-applicationcostprofiler" 'False) (C1 ('MetaCons "DeleteReportDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reportId") '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:reportId:DeleteReportDefinition'
, deleteReportDefinitionResponse_reportId
- ID of the report that was deleted.
$sel:httpStatus:DeleteReportDefinitionResponse'
, deleteReportDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteReportDefinitionResponse_reportId :: Lens' DeleteReportDefinitionResponse (Maybe Text) Source #
ID of the report that was deleted.
deleteReportDefinitionResponse_httpStatus :: Lens' DeleteReportDefinitionResponse Int Source #
The response's http status code.