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 |
Creates a finding report.
Synopsis
- data CreateFindingsReport = CreateFindingsReport' {}
- newCreateFindingsReport :: ReportFormat -> Destination -> CreateFindingsReport
- createFindingsReport_filterCriteria :: Lens' CreateFindingsReport (Maybe FilterCriteria)
- createFindingsReport_reportFormat :: Lens' CreateFindingsReport ReportFormat
- createFindingsReport_s3Destination :: Lens' CreateFindingsReport Destination
- data CreateFindingsReportResponse = CreateFindingsReportResponse' {
- reportId :: Maybe Text
- httpStatus :: Int
- newCreateFindingsReportResponse :: Int -> CreateFindingsReportResponse
- createFindingsReportResponse_reportId :: Lens' CreateFindingsReportResponse (Maybe Text)
- createFindingsReportResponse_httpStatus :: Lens' CreateFindingsReportResponse Int
Creating a Request
data CreateFindingsReport Source #
See: newCreateFindingsReport
smart constructor.
CreateFindingsReport' | |
|
Instances
newCreateFindingsReport Source #
Create a value of CreateFindingsReport
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:filterCriteria:CreateFindingsReport'
, createFindingsReport_filterCriteria
- The filter criteria to apply to the results of the finding report.
$sel:reportFormat:CreateFindingsReport'
, createFindingsReport_reportFormat
- The format to generate the report in.
$sel:s3Destination:CreateFindingsReport'
, createFindingsReport_s3Destination
- The Amazon S3 export destination for the report.
Request Lenses
createFindingsReport_filterCriteria :: Lens' CreateFindingsReport (Maybe FilterCriteria) Source #
The filter criteria to apply to the results of the finding report.
createFindingsReport_reportFormat :: Lens' CreateFindingsReport ReportFormat Source #
The format to generate the report in.
createFindingsReport_s3Destination :: Lens' CreateFindingsReport Destination Source #
The Amazon S3 export destination for the report.
Destructuring the Response
data CreateFindingsReportResponse Source #
See: newCreateFindingsReportResponse
smart constructor.
CreateFindingsReportResponse' | |
|
Instances
newCreateFindingsReportResponse Source #
Create a value of CreateFindingsReportResponse
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:CreateFindingsReportResponse'
, createFindingsReportResponse_reportId
- The ID of the report.
$sel:httpStatus:CreateFindingsReportResponse'
, createFindingsReportResponse_httpStatus
- The response's http status code.
Response Lenses
createFindingsReportResponse_reportId :: Lens' CreateFindingsReportResponse (Maybe Text) Source #
The ID of the report.
createFindingsReportResponse_httpStatus :: Lens' CreateFindingsReportResponse Int Source #
The response's http status code.