Module Values_1.LabelingJobDataSourceSource

Provides information about the location of input data. You must specify at least one of the following: S3DataSource or SnsDataSource. Use SnsDataSource to specify an SNS input topic for a streaming labeling job. If you do not specify and SNS input topic ARN, Ground Truth will create a one-time labeling job. Use S3DataSource to specify an input manifest file for both streaming and one-time labeling jobs. Adding an S3DataSource is optional if you use SnsDataSource to create a streaming labeling job.

Sourcetype nonrec t = {
  1. s3DataSource : LabelingJobS3DataSource.t option;
    (*

    The Amazon S3 location of the input data objects.

    *)
  2. snsDataSource : LabelingJobSnsDataSource.t option;
    (*

    An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send Data to a Streaming Labeling Job.

    *)
}
Sourceval make : ?s3DataSource:??? -> ?snsDataSource:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of Values_0.S3Uri.t ]) 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