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 |
Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
- startAssessmentRun :: Text -> StartAssessmentRun
- data StartAssessmentRun
- sarAssessmentRunName :: Lens' StartAssessmentRun (Maybe Text)
- sarAssessmentTemplateARN :: Lens' StartAssessmentRun Text
- startAssessmentRunResponse :: Int -> Text -> StartAssessmentRunResponse
- data StartAssessmentRunResponse
- sarrsResponseStatus :: Lens' StartAssessmentRunResponse Int
- sarrsAssessmentRunARN :: Lens' StartAssessmentRunResponse Text
Creating a Request
Creates a value of StartAssessmentRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StartAssessmentRun Source #
See: startAssessmentRun
smart constructor.
Request Lenses
sarAssessmentRunName :: Lens' StartAssessmentRun (Maybe Text) Source #
You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name. The name must be unique for the assessment template.
sarAssessmentTemplateARN :: Lens' StartAssessmentRun Text Source #
The ARN of the assessment template of the assessment run that you want to start.
Destructuring the Response
startAssessmentRunResponse Source #
Creates a value of StartAssessmentRunResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StartAssessmentRunResponse Source #
See: startAssessmentRunResponse
smart constructor.
Response Lenses
sarrsResponseStatus :: Lens' StartAssessmentRunResponse Int Source #
The response status code.
sarrsAssessmentRunARN :: Lens' StartAssessmentRunResponse Text Source #
The ARN of the assessment run that has been started.