Module Values.FilesLimitSource

Represents a limit imposed on number of Amazon S3 files that should be selected for a dataset from a connected Amazon S3 path.

Sourcetype nonrec t = {
  1. maxFiles : MaxFiles.t;
    (*

    The number of Amazon S3 files to select.

    *)
  2. orderedBy : OrderedBy.t option;
    (*

    A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.

    *)
  3. order : Order.t option;
    (*

    A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order, i.e. most recent files are selected first. Another possible value is ASCENDING.

    *)
}
Sourceval context_ : string
Sourceval make : ?orderedBy:??? -> ?order:??? -> maxFiles:MaxFiles.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of MaxFiles.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