Module Values.CreateDatasetRequestSource

Creates a dataset to upload training or test data for a model associated with a flywheel. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.

Sourcetype nonrec t = {
  1. flywheelArn : ComprehendFlywheelArn.t;
    (*

    The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.

    *)
  2. datasetName : ComprehendArnName.t;
    (*

    Name of the dataset.

    *)
  3. datasetType : DatasetType.t option;
    (*

    The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.

    *)
  4. description : Description.t option;
    (*

    Description of the dataset.

    *)
  5. inputDataConfig : DatasetInputDataConfig.t;
    (*

    Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model.

    *)
  6. clientRequestToken : ClientRequestTokenString.t option;
    (*

    A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.

    *)
  7. tags : TagList.t option;
    (*

    Tags for the dataset.

    *)
}
Sourceval context_ : string
Sourceval make : ?datasetType:??? -> ?description:??? -> ?clientRequestToken:??? -> ?tags:??? -> flywheelArn:ComprehendFlywheelArn.t -> datasetName:ComprehendArnName.t -> inputDataConfig:DatasetInputDataConfig.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of ComprehendFlywheelArn.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of AttributeNamesListItem.t ] list | `String of S3Uri.t ]) list ] list | `Structure of (string * [> `String of S3Uri.t | `Structure of (string * [> `Enum of string | `String of S3Uri.t ]) list ]) list ]) list ]) 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