libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.GetAssessmentReport

Description

Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.

Synopsis

Creating a Request

data GetAssessmentReport Source #

See: newGetAssessmentReport smart constructor.

Constructors

GetAssessmentReport' 

Fields

  • assessmentRunArn :: Text

    The ARN that specifies the assessment run for which you want to generate a report.

  • reportFileFormat :: ReportFileFormat

    Specifies the file format (html or pdf) of the assessment report that you want to generate.

  • reportType :: 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.

Instances

Instances details
Eq GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Read GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Show GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Generic GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Associated Types

type Rep GetAssessmentReport :: Type -> Type #

NFData GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Methods

rnf :: GetAssessmentReport -> () #

Hashable GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

ToJSON GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

AWSRequest GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Associated Types

type AWSResponse GetAssessmentReport #

ToHeaders GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

ToPath GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

ToQuery GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

type Rep GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

type Rep GetAssessmentReport = D1 ('MetaData "GetAssessmentReport" "Amazonka.Inspector.GetAssessmentReport" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "GetAssessmentReport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assessmentRunArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "reportFileFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReportFileFormat) :*: S1 ('MetaSel ('Just "reportType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReportType))))
type AWSResponse GetAssessmentReport Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

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.

Constructors

GetAssessmentReportResponse' 

Fields

  • url :: Maybe Text

    Specifies the URL where you can find the generated assessment report. This parameter is only returned if the report is successfully generated.

  • httpStatus :: Int

    The response's http status code.

  • status :: ReportStatus

    Specifies the status of the request to generate an assessment report.

Instances

Instances details
Eq GetAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Read GetAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Show GetAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Generic GetAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

Associated Types

type Rep GetAssessmentReportResponse :: Type -> Type #

NFData GetAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

type Rep GetAssessmentReportResponse Source # 
Instance details

Defined in Amazonka.Inspector.GetAssessmentReport

type Rep GetAssessmentReportResponse = D1 ('MetaData "GetAssessmentReportResponse" "Amazonka.Inspector.GetAssessmentReport" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "GetAssessmentReportResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReportStatus))))

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_status :: Lens' GetAssessmentReportResponse ReportStatus Source #

Specifies the status of the request to generate an assessment report.