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 |
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
Synopsis
- data GetAssessmentReport = GetAssessmentReport' {}
- newGetAssessmentReport :: Text -> ReportFileFormat -> ReportType -> GetAssessmentReport
- getAssessmentReport_assessmentRunArn :: Lens' GetAssessmentReport Text
- getAssessmentReport_reportFileFormat :: Lens' GetAssessmentReport ReportFileFormat
- getAssessmentReport_reportType :: Lens' GetAssessmentReport ReportType
- data GetAssessmentReportResponse = GetAssessmentReportResponse' {
- url :: Maybe Text
- httpStatus :: Int
- status :: ReportStatus
- newGetAssessmentReportResponse :: Int -> ReportStatus -> GetAssessmentReportResponse
- getAssessmentReportResponse_url :: Lens' GetAssessmentReportResponse (Maybe Text)
- getAssessmentReportResponse_httpStatus :: Lens' GetAssessmentReportResponse Int
- getAssessmentReportResponse_status :: Lens' GetAssessmentReportResponse ReportStatus
Creating a Request
data GetAssessmentReport Source #
See: newGetAssessmentReport
smart constructor.
GetAssessmentReport' | |
|
Instances
newGetAssessmentReport Source #
Create a value of GetAssessmentReport
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:assessmentRunArn:GetAssessmentReport'
, getAssessmentReport_assessmentRunArn
- The ARN that specifies the assessment run for which you want to generate
a report.
$sel:reportFileFormat:GetAssessmentReport'
, getAssessmentReport_reportFileFormat
- Specifies the file format (html or pdf) of the assessment report that
you want to generate.
$sel:reportType:GetAssessmentReport'
, getAssessmentReport_reportType
- Specifies the type of the assessment report that you want to generate.
There are two types of assessment reports: a finding report and a full
report. For more information, see
Assessment Reports.
Request Lenses
getAssessmentReport_assessmentRunArn :: Lens' GetAssessmentReport Text Source #
The ARN that specifies the assessment run for which you want to generate a report.
getAssessmentReport_reportFileFormat :: Lens' GetAssessmentReport ReportFileFormat Source #
Specifies the file format (html or pdf) of the assessment report that you want to generate.
getAssessmentReport_reportType :: Lens' GetAssessmentReport ReportType Source #
Specifies the type of the assessment report that you want to generate. There are two types of assessment reports: a finding report and a full report. For more information, see Assessment Reports.
Destructuring the Response
data GetAssessmentReportResponse Source #
See: newGetAssessmentReportResponse
smart constructor.
GetAssessmentReportResponse' | |
|
Instances
newGetAssessmentReportResponse Source #
Create a value of GetAssessmentReportResponse
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:url:GetAssessmentReportResponse'
, getAssessmentReportResponse_url
- Specifies the URL where you can find the generated assessment report.
This parameter is only returned if the report is successfully generated.
$sel:httpStatus:GetAssessmentReportResponse'
, getAssessmentReportResponse_httpStatus
- The response's http status code.
$sel:status:GetAssessmentReportResponse'
, getAssessmentReportResponse_status
- Specifies the status of the request to generate an assessment report.
Response Lenses
getAssessmentReportResponse_url :: Lens' GetAssessmentReportResponse (Maybe Text) Source #
Specifies the URL where you can find the generated assessment report. This parameter is only returned if the report is successfully generated.
getAssessmentReportResponse_httpStatus :: Lens' GetAssessmentReportResponse Int Source #
The response's http status code.
getAssessmentReportResponse_status :: Lens' GetAssessmentReportResponse ReportStatus Source #
Specifies the status of the request to generate an assessment report.