Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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.
Synopsis
- data StartAssessmentRun = StartAssessmentRun' {}
- newStartAssessmentRun :: Text -> StartAssessmentRun
- startAssessmentRun_assessmentRunName :: Lens' StartAssessmentRun (Maybe Text)
- startAssessmentRun_assessmentTemplateArn :: Lens' StartAssessmentRun Text
- data StartAssessmentRunResponse = StartAssessmentRunResponse' {}
- newStartAssessmentRunResponse :: Int -> Text -> StartAssessmentRunResponse
- startAssessmentRunResponse_httpStatus :: Lens' StartAssessmentRunResponse Int
- startAssessmentRunResponse_assessmentRunArn :: Lens' StartAssessmentRunResponse Text
Creating a Request
data StartAssessmentRun Source #
See: newStartAssessmentRun
smart constructor.
StartAssessmentRun' | |
|
Instances
newStartAssessmentRun Source #
Create a value of StartAssessmentRun
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:assessmentRunName:StartAssessmentRun'
, startAssessmentRun_assessmentRunName
- 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.
StartAssessmentRun
, startAssessmentRun_assessmentTemplateArn
- The ARN of the assessment template of the assessment run that you want
to start.
Request Lenses
startAssessmentRun_assessmentRunName :: 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.
startAssessmentRun_assessmentTemplateArn :: Lens' StartAssessmentRun Text Source #
The ARN of the assessment template of the assessment run that you want to start.
Destructuring the Response
data StartAssessmentRunResponse Source #
See: newStartAssessmentRunResponse
smart constructor.
StartAssessmentRunResponse' | |
|
Instances
newStartAssessmentRunResponse Source #
:: Int | |
-> Text | |
-> StartAssessmentRunResponse |
Create a value of StartAssessmentRunResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:StartAssessmentRunResponse'
, startAssessmentRunResponse_httpStatus
- The response's http status code.
StartAssessmentRunResponse
, startAssessmentRunResponse_assessmentRunArn
- The ARN of the assessment run that has been started.
Response Lenses
startAssessmentRunResponse_httpStatus :: Lens' StartAssessmentRunResponse Int Source #
The response's http status code.
startAssessmentRunResponse_assessmentRunArn :: Lens' StartAssessmentRunResponse Text Source #
The ARN of the assessment run that has been started.