Smaws_Client_Personalize.CreateBatchSegmentJobCreates a batch segment job. The operation can handle up to 50 million records and the input file must be in JSON format. For more information, see Getting batch recommendations and user segments.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of Types.resource_already_exists_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyTagsException of Types.too_many_tags_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_batch_segment_job_request ->
(Types.create_batch_segment_job_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyTagsException of Types.too_many_tags_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_batch_segment_job_request ->
(Types.create_batch_segment_job_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyTagsException of Types.too_many_tags_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result