| Copyright | (c) 2013-2016 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.
- runAssessment :: Text -> Text -> RunAssessment
- data RunAssessment
- raAssessmentARN :: Lens' RunAssessment Text
- raRunName :: Lens' RunAssessment Text
- runAssessmentResponse :: Int -> RunAssessmentResponse
- data RunAssessmentResponse
- rarsRunARN :: Lens' RunAssessmentResponse (Maybe Text)
- rarsResponseStatus :: Lens' RunAssessmentResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> RunAssessment |
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 Text Source
The ARN of the assessment that you want to run.
raRunName :: Lens' RunAssessment Text Source
A name specifying the run of the assessment.
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.