| 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.Inspector2.CancelFindingsReport
Description
Cancels the given findings report.
Synopsis
- data CancelFindingsReport = CancelFindingsReport' {}
- newCancelFindingsReport :: Text -> CancelFindingsReport
- cancelFindingsReport_reportId :: Lens' CancelFindingsReport Text
- data CancelFindingsReportResponse = CancelFindingsReportResponse' {
- httpStatus :: Int
- reportId :: Text
- newCancelFindingsReportResponse :: Int -> Text -> CancelFindingsReportResponse
- cancelFindingsReportResponse_httpStatus :: Lens' CancelFindingsReportResponse Int
- cancelFindingsReportResponse_reportId :: Lens' CancelFindingsReportResponse Text
Creating a Request
data CancelFindingsReport Source #
See: newCancelFindingsReport smart constructor.
Constructors
| CancelFindingsReport' | |
Instances
newCancelFindingsReport Source #
Arguments
| :: Text | |
| -> CancelFindingsReport |
Create a value of CancelFindingsReport 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:
CancelFindingsReport, cancelFindingsReport_reportId - The ID of the report to be canceled.
Request Lenses
cancelFindingsReport_reportId :: Lens' CancelFindingsReport Text Source #
The ID of the report to be canceled.
Destructuring the Response
data CancelFindingsReportResponse Source #
See: newCancelFindingsReportResponse smart constructor.
Constructors
| CancelFindingsReportResponse' | |
Fields
| |
Instances
newCancelFindingsReportResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> CancelFindingsReportResponse |
Create a value of CancelFindingsReportResponse 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:httpStatus:CancelFindingsReportResponse', cancelFindingsReportResponse_httpStatus - The response's http status code.
CancelFindingsReport, cancelFindingsReportResponse_reportId - The ID of the canceled report.
Response Lenses
cancelFindingsReportResponse_httpStatus :: Lens' CancelFindingsReportResponse Int Source #
The response's http status code.
cancelFindingsReportResponse_reportId :: Lens' CancelFindingsReportResponse Text Source #
The ID of the canceled report.