Module Smaws_Client_Personalize.CreateDataset

Creates an empty dataset and adds it to the specified dataset group. Use CreateDatasetImportJob to import your training data to a dataset.

There are 5 types of datasets:

Each dataset type has an associated schema with required field types. Only the Item interactions dataset is required in order to train a model (also referred to as creating a solution).

A dataset can be in one of the following states:

To get the status of the dataset, call DescribeDataset.

Related APIs

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 ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_dataset_request -> (Types.create_dataset_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.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_dataset_request -> (Types.create_dataset_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