Module Values.ImportJobSource

Details about an import job.

Sourcetype nonrec t = {
  1. jobId : JobId.t option;
    (*

    The identifier of the import job.

    *)
  2. name : JobName.t option;
    (*

    A user-friendly name for the import job.

    *)
  3. status : ImportJobStatus.t option;
    (*

    The status of the import job.

    *)
  4. preSignedUrl : PreSignedUrl.t option;
    (*

    The pre-signed URL target for uploading the input file.

    *)
  5. importedItemsCount : JobItemsCount.t option;
    (*

    The number of addresses in the input that were successfully imported into the address list.

    *)
  6. failedItemsCount : JobItemsCount.t option;
    (*

    The number of addresses in the input that failed to get imported into address list.

    *)
  7. importDataFormat : ImportDataFormat.t option;
    (*

    The format of the input for the import job.

    *)
  8. addressListId : AddressListId.t option;
    (*

    The unique identifier of the address list the import job was created for.

    *)
  9. createdTimestamp : Timestamp.t option;
    (*

    The timestamp of when the import job was created.

    *)
  10. startTimestamp : Timestamp.t option;
    (*

    The timestamp of when the import job was started.

    *)
  11. completedTimestamp : Timestamp.t option;
    (*

    The timestamp of when the import job was completed.

    *)
  12. error : ErrorMessage.t option;
    (*

    The reason for failure of an import job.

    *)
}
Sourceval make : ?jobId:??? -> ?name:??? -> ?status:??? -> ?preSignedUrl:??? -> ?importedItemsCount:??? -> ?failedItemsCount:??? -> ?importDataFormat:??? -> ?addressListId:??? -> ?createdTimestamp:??? -> ?startTimestamp:??? -> ?completedTimestamp:??? -> ?error:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of JobItemsCount.t | `String of JobId.t | `Structure of (string * [> `Enum of string ]) list | `Timestamp of Timestamp.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