Module Values.TestMappingRequestSource

Maps the input file according to the provided template file. The API call downloads the file contents from the Amazon S3 location, and passes the contents in as a string, to the inputFileContent parameter.

Sourcetype nonrec t = {
  1. inputFileContent : TestMappingInputFileContent.t;
    (*

    Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.

    *)
  2. mappingTemplate : MappingTemplate.t;
    (*

    Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT. This parameter is available for backwards compatibility. Use the Mapping data type instead.

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

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

    *)
}
Sourceval context_ : string
Sourceval make : inputFileContent:TestMappingInputFileContent.t -> mappingTemplate:MappingTemplate.t -> fileFormat:FileFormat.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of TestMappingInputFileContent.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