Smaws_Client_Inspector.PreviewAgentsPreviews the agents installed on the EC2 instances that are part of the specified assessment target.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalException of Types.internal_exception
| `InvalidCrossAccountRoleException of
Types.invalid_cross_account_role_exception
| `InvalidInputException of Types.invalid_input_exception
| `NoSuchEntityException of Types.no_such_entity_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.preview_agents_request ->
(Types.preview_agents_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalException of Types.internal_exception
| `InvalidCrossAccountRoleException of
Types.invalid_cross_account_role_exception
| `InvalidInputException of Types.invalid_input_exception
| `NoSuchEntityException of Types.no_such_entity_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.preview_agents_request ->
(Types.preview_agents_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalException of Types.internal_exception
| `InvalidCrossAccountRoleException of
Types.invalid_cross_account_role_exception
| `InvalidInputException of Types.invalid_input_exception
| `NoSuchEntityException of Types.no_such_entity_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result