Module Values_0.SpigotSource

Specifies a transform that writes samples of the data to an Amazon S3 bucket.

Sourcetype nonrec t = {
  1. name : NodeName.t;
    (*

    The name of the transform node.

    *)
  2. inputs : OneInput.t;
    (*

    The data inputs identified by their node names.

    *)
  3. path : EnclosedInStringProperty.t;
    (*

    A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.

    *)
  4. topk : Topk.t option;
    (*

    Specifies a number of records to write starting from the beginning of the dataset.

    *)
  5. prob : Prob.t option;
    (*

    The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.

    *)
}
Sourceval context_ : string
Sourceval make : ?topk:??? -> ?prob:??? -> name:NodeName.t -> inputs:OneInput.t -> path:EnclosedInStringProperty.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Prob.t | `Integer of Topk.t | `List of [> `String of NodeId.t ] list | `String of NodeName.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