Module Values.CreateUploadJobRequestSource

Creates an Upload job to ingest data for segment imports. The metadata is created for the job with the provided field mapping and unique key.

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

    The unique name of the domain. Domain should be exists for the upload job to be created.

    *)
  2. displayName : String1To255.t;
    (*

    The unique name of the upload job. Could be a file name to identify the upload job.

    *)
  3. fields : FieldMap.t;
    (*

    The mapping between CSV Columns and Profile Object attributes. A map of the name and ObjectType field.

    *)
  4. uniqueKey : Text.t;
    (*

    The unique key columns for de-duping the profiles used to map data to the profile.

    *)
  5. dataExpiry : ExpirationDaysInteger.t option;
    (*

    The expiry duration for the profiles ingested with the job. If not provided, the system default of 2 weeks is used.

    *)
}
Sourceval context_ : string
Sourceval make : ?dataExpiry:??? -> domainName:Name.t -> displayName:String1To255.t -> fields:FieldMap.t -> uniqueKey:Text.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of ExpirationDaysInteger.t | `Map of ([> `String of FieldName.t ] * [> `Structure of (string * [> `Enum of string | `String of Text.t ]) list ]) list | `String of Name.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