Module Values.CreateDatasetRequestSource

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: Item interactions Items Users Action interactions Actions 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: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS To get the status of the dataset, call DescribeDataset. Related APIs CreateDatasetGroup ListDatasets DescribeDataset DeleteDataset

Sourcetype nonrec t = {
  1. name : Name.t;
    (*

    The name for the dataset.

    *)
  2. schemaArn : Arn.t;
    (*

    The ARN of the schema to associate with the dataset. The schema defines the dataset fields.

    *)
  3. datasetGroupArn : Arn.t;
    (*

    The Amazon Resource Name (ARN) of the dataset group to add the dataset to.

    *)
  4. datasetType : DatasetType.t;
    (*

    The type of dataset. One of the following (case insensitive) values: Interactions Items Users Actions Action_Interactions

    *)
  5. tags : Tags.t option;
    (*

    A list of tags to apply to the dataset.

    *)
}
Sourceval context_ : string
Sourceval make : ?tags:??? -> name:Name.t -> schemaArn:Arn.t -> datasetGroupArn:Arn.t -> datasetType:DatasetType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of Name.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t