Smaws_Client_Inspector.CreateExclusionsPreviewStarts the generation of an exclusions preview for the specified assessment template. The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can detect before it runs the assessment.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalException of Types.internal_exception
| `InvalidInputException of Types.invalid_input_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `PreviewGenerationInProgressException of
Types.preview_generation_in_progress_exception
| `ServiceTemporarilyUnavailableException of
Types.service_temporarily_unavailable_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_exclusions_preview_request ->
(Types.create_exclusions_preview_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalException of Types.internal_exception
| `InvalidInputException of Types.invalid_input_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `PreviewGenerationInProgressException of
Types.preview_generation_in_progress_exception
| `ServiceTemporarilyUnavailableException of
Types.service_temporarily_unavailable_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_exclusions_preview_request ->
(Types.create_exclusions_preview_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalException of Types.internal_exception
| `InvalidInputException of Types.invalid_input_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `PreviewGenerationInProgressException of
Types.preview_generation_in_progress_exception
| `ServiceTemporarilyUnavailableException of
Types.service_temporarily_unavailable_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result