Module Values.TestParsingRequestSource

Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB.

Sourcetype nonrec t = {
  1. inputFile : S3Location.t;
    (*

    Specifies an S3Location object, which contains the Amazon S3 bucket and prefix for the location of the input file.

    *)
  2. fileFormat : FileFormat.t;
    (*

    Specifies that the currently supported file formats for EDI transformations are JSON and XML.

    *)
  3. ediType : EdiType.t;
    (*

    Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.

    *)
  4. advancedOptions : AdvancedOptions.t option;
    (*

    Specifies advanced options for parsing the input EDI file. These options allow for more granular control over the parsing process, including split options for X12 files.

    *)
}
Sourceval context_ : string
Sourceval make : ?advancedOptions:??? -> inputFile:S3Location.t -> fileFormat:FileFormat.t -> ediType:EdiType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of BucketName.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of X12ElementLengthValidationRuleMaxLengthInteger.t | `List of [> `String of String_.t ] list | `String of ElementId.t ]) list ]) list ] list ]) list ]) list ]) list ]) 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