amazonka-inspector-1.6.0: Amazon Inspector SDK.

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

Network.AWS.Inspector.GetAssessmentReport

Contents

Description

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

Synopsis

Creating a Request

getAssessmentReport Source #

Creates a value of GetAssessmentReport with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • garAssessmentRunARN - The ARN that specifies the assessment run for which you want to generate a report.
  • garReportFileFormat - Specifies the file format (html or pdf) of the assessment report that you want to generate.
  • garReportType - 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 .

data GetAssessmentReport Source #

See: getAssessmentReport smart constructor.

Instances

Eq GetAssessmentReport Source # 
Data GetAssessmentReport Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetAssessmentReport -> c GetAssessmentReport #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetAssessmentReport #

toConstr :: GetAssessmentReport -> Constr #

dataTypeOf :: GetAssessmentReport -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetAssessmentReport) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetAssessmentReport) #

gmapT :: (forall b. Data b => b -> b) -> GetAssessmentReport -> GetAssessmentReport #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetAssessmentReport -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetAssessmentReport -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetAssessmentReport -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetAssessmentReport -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetAssessmentReport -> m GetAssessmentReport #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAssessmentReport -> m GetAssessmentReport #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAssessmentReport -> m GetAssessmentReport #

Read GetAssessmentReport Source # 
Show GetAssessmentReport Source # 
Generic GetAssessmentReport Source # 
Hashable GetAssessmentReport Source # 
ToJSON GetAssessmentReport Source # 
NFData GetAssessmentReport Source # 

Methods

rnf :: GetAssessmentReport -> () #

AWSRequest GetAssessmentReport Source # 
ToHeaders GetAssessmentReport Source # 
ToPath GetAssessmentReport Source # 
ToQuery GetAssessmentReport Source # 
type Rep GetAssessmentReport Source # 
type Rep GetAssessmentReport = D1 * (MetaData "GetAssessmentReport" "Network.AWS.Inspector.GetAssessmentReport" "amazonka-inspector-1.6.0-8Y6k5Gy4CSfF3xkxqKMWTi" False) (C1 * (MetaCons "GetAssessmentReport'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_garAssessmentRunARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_garReportFileFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ReportFileFormat)) (S1 * (MetaSel (Just Symbol "_garReportType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ReportType)))))
type Rs GetAssessmentReport Source # 

Request Lenses

garAssessmentRunARN :: Lens' GetAssessmentReport Text Source #

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

garReportFileFormat :: Lens' GetAssessmentReport ReportFileFormat Source #

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

garReportType :: 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

getAssessmentReportResponse Source #

Creates a value of GetAssessmentReportResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • garrsUrl - Specifies the URL where you can find the generated assessment report. This parameter is only returned if the report is successfully generated.
  • garrsResponseStatus - -- | The response status code.
  • garrsStatus - Specifies the status of the request to generate an assessment report.

data GetAssessmentReportResponse Source #

See: getAssessmentReportResponse smart constructor.

Instances

Eq GetAssessmentReportResponse Source # 
Data GetAssessmentReportResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetAssessmentReportResponse -> c GetAssessmentReportResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetAssessmentReportResponse #

toConstr :: GetAssessmentReportResponse -> Constr #

dataTypeOf :: GetAssessmentReportResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetAssessmentReportResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetAssessmentReportResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetAssessmentReportResponse -> GetAssessmentReportResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetAssessmentReportResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetAssessmentReportResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetAssessmentReportResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetAssessmentReportResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetAssessmentReportResponse -> m GetAssessmentReportResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAssessmentReportResponse -> m GetAssessmentReportResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAssessmentReportResponse -> m GetAssessmentReportResponse #

Read GetAssessmentReportResponse Source # 
Show GetAssessmentReportResponse Source # 
Generic GetAssessmentReportResponse Source # 
NFData GetAssessmentReportResponse Source # 
type Rep GetAssessmentReportResponse Source # 
type Rep GetAssessmentReportResponse = D1 * (MetaData "GetAssessmentReportResponse" "Network.AWS.Inspector.GetAssessmentReport" "amazonka-inspector-1.6.0-8Y6k5Gy4CSfF3xkxqKMWTi" False) (C1 * (MetaCons "GetAssessmentReportResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_garrsUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_garrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_garrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ReportStatus)))))

Response Lenses

garrsUrl :: 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.

garrsStatus :: Lens' GetAssessmentReportResponse ReportStatus Source #

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