Smaws_Client_Comprehend.CreateEntityRecognizerCreates an entity recognizer using submitted files. After your CreateEntityRecognizer request is submitted, you can check job status using the DescribeEntityRecognizer API.
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
| `ResourceLimitExceededException of Types.resource_limit_exceeded_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `UnsupportedLanguageException of Types.unsupported_language_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_entity_recognizer_request ->
(Types.create_entity_recognizer_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
| `ResourceLimitExceededException of
Types.resource_limit_exceeded_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `UnsupportedLanguageException of Types.unsupported_language_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_entity_recognizer_request ->
(Types.create_entity_recognizer_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
| `ResourceLimitExceededException of
Types.resource_limit_exceeded_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `UnsupportedLanguageException of Types.unsupported_language_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result