| 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.GetFindingsReportStatus
Description
Gets the status of a findings report.
Synopsis
- data GetFindingsReportStatus = GetFindingsReportStatus' {}
- newGetFindingsReportStatus :: GetFindingsReportStatus
- getFindingsReportStatus_reportId :: Lens' GetFindingsReportStatus (Maybe Text)
- data GetFindingsReportStatusResponse = GetFindingsReportStatusResponse' {}
- newGetFindingsReportStatusResponse :: Int -> GetFindingsReportStatusResponse
- getFindingsReportStatusResponse_destination :: Lens' GetFindingsReportStatusResponse (Maybe Destination)
- getFindingsReportStatusResponse_errorCode :: Lens' GetFindingsReportStatusResponse (Maybe ReportingErrorCode)
- getFindingsReportStatusResponse_errorMessage :: Lens' GetFindingsReportStatusResponse (Maybe Text)
- getFindingsReportStatusResponse_filterCriteria :: Lens' GetFindingsReportStatusResponse (Maybe FilterCriteria)
- getFindingsReportStatusResponse_reportId :: Lens' GetFindingsReportStatusResponse (Maybe Text)
- getFindingsReportStatusResponse_status :: Lens' GetFindingsReportStatusResponse (Maybe ExternalReportStatus)
- getFindingsReportStatusResponse_httpStatus :: Lens' GetFindingsReportStatusResponse Int
Creating a Request
data GetFindingsReportStatus Source #
See: newGetFindingsReportStatus smart constructor.
Constructors
| GetFindingsReportStatus' | |
Instances
newGetFindingsReportStatus :: GetFindingsReportStatus Source #
Create a value of GetFindingsReportStatus 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:
GetFindingsReportStatus, getFindingsReportStatus_reportId - The ID of the report to retrieve the status of.
Request Lenses
getFindingsReportStatus_reportId :: Lens' GetFindingsReportStatus (Maybe Text) Source #
The ID of the report to retrieve the status of.
Destructuring the Response
data GetFindingsReportStatusResponse Source #
See: newGetFindingsReportStatusResponse smart constructor.
Constructors
| GetFindingsReportStatusResponse' | |
Fields
| |
Instances
newGetFindingsReportStatusResponse Source #
Create a value of GetFindingsReportStatusResponse 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:destination:GetFindingsReportStatusResponse', getFindingsReportStatusResponse_destination - The destination of the report.
GetFindingsReportStatusResponse, getFindingsReportStatusResponse_errorCode - The error code of the report.
GetFindingsReportStatusResponse, getFindingsReportStatusResponse_errorMessage - The error message of the report.
$sel:filterCriteria:GetFindingsReportStatusResponse', getFindingsReportStatusResponse_filterCriteria - The filter criteria associated with the report.
GetFindingsReportStatus, getFindingsReportStatusResponse_reportId - The ID of the report.
GetFindingsReportStatusResponse, getFindingsReportStatusResponse_status - The status of the report.
$sel:httpStatus:GetFindingsReportStatusResponse', getFindingsReportStatusResponse_httpStatus - The response's http status code.
Response Lenses
getFindingsReportStatusResponse_destination :: Lens' GetFindingsReportStatusResponse (Maybe Destination) Source #
The destination of the report.
getFindingsReportStatusResponse_errorCode :: Lens' GetFindingsReportStatusResponse (Maybe ReportingErrorCode) Source #
The error code of the report.
getFindingsReportStatusResponse_errorMessage :: Lens' GetFindingsReportStatusResponse (Maybe Text) Source #
The error message of the report.
getFindingsReportStatusResponse_filterCriteria :: Lens' GetFindingsReportStatusResponse (Maybe FilterCriteria) Source #
The filter criteria associated with the report.
getFindingsReportStatusResponse_reportId :: Lens' GetFindingsReportStatusResponse (Maybe Text) Source #
The ID of the report.
getFindingsReportStatusResponse_status :: Lens' GetFindingsReportStatusResponse (Maybe ExternalReportStatus) Source #
The status of the report.
getFindingsReportStatusResponse_httpStatus :: Lens' GetFindingsReportStatusResponse Int Source #
The response's http status code.