Smaws_Client_Inspector.StartAssessmentRunStarts 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AgentsAlreadyRunningAssessmentException of
Types.agents_already_running_assessment_exception
| `InternalException of Types.internal_exception
| `InvalidCrossAccountRoleException of
Types.invalid_cross_account_role_exception
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceTemporarilyUnavailableException of
Types.service_temporarily_unavailable_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_assessment_run_request ->
(Types.start_assessment_run_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AgentsAlreadyRunningAssessmentException of
Types.agents_already_running_assessment_exception
| `InternalException of Types.internal_exception
| `InvalidCrossAccountRoleException of
Types.invalid_cross_account_role_exception
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceTemporarilyUnavailableException of
Types.service_temporarily_unavailable_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_assessment_run_request ->
(Types.start_assessment_run_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AgentsAlreadyRunningAssessmentException of
Types.agents_already_running_assessment_exception
| `InternalException of Types.internal_exception
| `InvalidCrossAccountRoleException of
Types.invalid_cross_account_role_exception
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceTemporarilyUnavailableException of
Types.service_temporarily_unavailable_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result