| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Inspector.RunAssessment
Description
Starts the analysis of the application’s behavior against selected rule packages for the assessment specified by the assessment ARN.
See: AWS API Reference for RunAssessment.
- runAssessment :: RunAssessment
- data RunAssessment
- raAssessmentARN :: Lens' RunAssessment (Maybe Text)
- raRunName :: Lens' RunAssessment (Maybe Text)
- runAssessmentResponse :: Int -> RunAssessmentResponse
- data RunAssessmentResponse
- rarsRunARN :: Lens' RunAssessmentResponse (Maybe Text)
- rarsResponseStatus :: Lens' RunAssessmentResponse Int
Creating a Request
runAssessment :: RunAssessment Source
Creates a value of RunAssessment with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RunAssessment Source
See: runAssessment smart constructor.
Instances
Request Lenses
raAssessmentARN :: Lens' RunAssessment (Maybe Text) Source
The ARN of the assessment that you want to run.
Destructuring the Response
Arguments
| :: Int | |
| -> RunAssessmentResponse |
Creates a value of RunAssessmentResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RunAssessmentResponse Source
See: runAssessmentResponse smart constructor.
Response Lenses
rarsRunARN :: Lens' RunAssessmentResponse (Maybe Text) Source
The ARN specifying the run of the assessment.
rarsResponseStatus :: Lens' RunAssessmentResponse Int Source
The response status code.