Smaws_Client_Comprehend.StartDocumentClassificationJobStarts an asynchronous document classification job using a custom classification model. Use the DescribeDocumentClassificationJob operation to track the progress of the job.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception
| `KmsKeyValidationException of Types.kms_key_validation_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceUnavailableException of Types.resource_unavailable_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `TooManyTagsException of Types.too_many_tags_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_document_classification_job_request ->
(Types.start_document_classification_job_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception
| `KmsKeyValidationException of Types.kms_key_validation_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceUnavailableException of Types.resource_unavailable_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `TooManyTagsException of Types.too_many_tags_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_document_classification_job_request ->
(Types.start_document_classification_job_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception
| `KmsKeyValidationException of Types.kms_key_validation_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceUnavailableException of Types.resource_unavailable_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `TooManyTagsException of Types.too_many_tags_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result