Module Values.ImportDataRuleSource

Specifies a rule that controls how data is imported from S3 into the file system.

Sourcetype nonrec t = {
  1. prefix : ImportDataRulePrefixString.t;
    (*

    The S3 key prefix that scopes this import rule. Only objects with keys beginning with this prefix are subject to the rule.

    *)
  2. trigger : ImportTrigger.t;
    (*

    The event that triggers data import. Valid values are ON_DIRECTORY_FIRST_ACCESS (import when a directory is first accessed) and ON_FILE_ACCESS (import when a file is accessed).

    *)
  3. sizeLessThan : ImportDataRuleSizeLessThanLong.t;
    (*

    The upper size limit in bytes for this import rule. Only objects with a size strictly less than this value will have data imported into the file system.

    *)
}
Sourceval context_ : string
Sourceval make : prefix:ImportDataRulePrefixString.t -> trigger:ImportTrigger.t -> sizeLessThan:ImportDataRuleSizeLessThanLong.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of ImportDataRuleSizeLessThanLong.t | `String of ImportDataRulePrefixString.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