Module Values.DatasetSourceSource

The source that Amazon Rekognition Custom Labels uses to create a dataset. To use an Amazon Sagemaker format manifest file, specify the S3 bucket location in the GroundTruthManifest field. The S3 bucket must be in your AWS account. To create a copy of an existing dataset, specify the Amazon Resource Name (ARN) of an existing dataset in DatasetArn. You need to specify a value for DatasetArn or GroundTruthManifest, but not both. if you supply both values, or if you don't specify any values, an InvalidParameterException exception occurs. For more information, see CreateDataset.

Sourcetype nonrec t = {
  1. groundTruthManifest : GroundTruthManifest.t option;
  2. datasetArn : DatasetArn.t option;
    (*

    The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.

    *)
}
Sourceval make : ?groundTruthManifest:??? -> ?datasetArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of DatasetArn.t | `Structure of (string * [> `Structure of (string * [> `String of S3Bucket.t ]) 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