Smaws_Client_Comprehend.BatchDetectDominantLanguageDetermines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `BatchSizeLimitExceededException of
Types.batch_size_limit_exceeded_exception
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception
| `TextSizeLimitExceededException of Types.text_size_limit_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.batch_detect_dominant_language_request ->
(Types.batch_detect_dominant_language_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `BatchSizeLimitExceededException of
Types.batch_size_limit_exceeded_exception
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception
| `TextSizeLimitExceededException of
Types.text_size_limit_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.batch_detect_dominant_language_request ->
(Types.batch_detect_dominant_language_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `BatchSizeLimitExceededException of
Types.batch_size_limit_exceeded_exception
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception
| `TextSizeLimitExceededException of
Types.text_size_limit_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result