Module Values.DatasetImportJobSource

Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. For more information, see CreateDatasetImportJob. A dataset import job can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

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

    The name of the import job.

    *)
  2. datasetImportJobArn : Arn.t option;
    (*

    The ARN of the dataset import job.

    *)
  3. datasetArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the dataset that receives the imported data.

    *)
  4. dataSource : DataSource.t option;
    (*

    The Amazon S3 bucket that contains the training data to import.

    *)
  5. roleArn : Arn.t option;
    (*

    The ARN of the IAM role that has permissions to read from the Amazon S3 data source.

    *)
  6. status : Status.t option;
    (*

    The status of the dataset import job. A dataset import job can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

    *)
  7. creationDateTime : Date.t option;
    (*

    The creation date and time (in Unix time) of the dataset import job.

    *)
  8. lastUpdatedDateTime : Date.t option;
    (*

    The date and time (in Unix time) the dataset was last updated.

    *)
  9. failureReason : FailureReason.t option;
    (*

    If a dataset import job fails, provides the reason why.

    *)
  10. importMode : ImportMode.t option;
    (*

    The import mode used by the dataset import job to import new records.

    *)
  11. publishAttributionMetricsToS3 : Boolean.t option;
    (*

    Whether the job publishes metrics to Amazon S3 for a metric attribution.

    *)
}
Sourceval make : ?jobName:??? -> ?datasetImportJobArn:??? -> ?datasetArn:??? -> ?dataSource:??? -> ?roleArn:??? -> ?status:??? -> ?creationDateTime:??? -> ?lastUpdatedDateTime:??? -> ?failureReason:??? -> ?importMode:??? -> ?publishAttributionMetricsToS3:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of Name.t | `Structure of (string * [> `String of S3Location.t ]) list | `Timestamp of Date.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