Values.TestMappingRequestSourceMaps 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.
type nonrec t = {inputFileContent : TestMappingInputFileContent.t;Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.
*)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.
*)fileFormat : FileFormat.t;Specifies that the currently supported file formats for EDI transformations are JSON and XML.
*)}val make :
inputFileContent:TestMappingInputFileContent.t ->
mappingTemplate:MappingTemplate.t ->
fileFormat:FileFormat.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string | `String of TestMappingInputFileContent.t ])
list ]