Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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:
sarAssessmentRunName
- You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run.sarAssessmentTemplateARN
- The ARN of the assessment template of the assessment run that you want to start.
data StartAssessmentRun Source #
See: startAssessmentRun
smart constructor.
Request Lenses
sarAssessmentRunName :: Lens' StartAssessmentRun (Maybe Text) Source #
You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run.
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:
sarrsResponseStatus
- -- | The response status code.sarrsAssessmentRunARN
- The ARN of the assessment run that has been started.
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.