Values.CreateTransformerRequestSourceCreates a transformer. Amazon Web Services B2B Data Interchange currently supports two scenarios: Inbound EDI: the Amazon Web Services customer receives an EDI file from their trading partner. Amazon Web Services B2B Data Interchange converts this EDI file into a JSON or XML file with a service-defined structure. A mapping template provided by the customer, in JSONata or XSLT format, is optionally applied to this file to produce a JSON or XML file with the structure the customer requires. Outbound EDI: the Amazon Web Services customer has a JSON or XML file containing data that they wish to use in an EDI file. A mapping template, provided by the customer (in either JSONata or XSLT format) is applied to this file to generate a JSON or XML file in the service-defined structure. This file is then converted to an EDI file. The following fields are provided for backwards compatibility only: fileFormat, mappingTemplate, ediType, and sampleDocument. Use the mapping data type in place of mappingTemplate and fileFormat Use the sampleDocuments data type in place of sampleDocument Use either the inputConversion or outputConversion in place of ediType
type nonrec t = {name : TransformerName.t;Specifies the name of the transformer, used to identify it.
*)clientToken : String_.t option;Reserved for future use.
*)fileFormat : FileFormat.t option;Specifies that the currently supported file formats for EDI transformations are JSON and XML.
*)mappingTemplate : MappingTemplate.t option;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.
*)ediType : EdiType.t option;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.
*)sampleDocument : FileLocation.t option;Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.
*)inputConversion : InputConversion.t option;Specify the InputConversion object, which contains the format options for the inbound transformation.
*)mapping : Mapping.t option;Specify the structure that contains the mapping template and its language (either XSLT or JSONATA).
*)outputConversion : OutputConversion.t option;A structure that contains the OutputConversion object, which contains the format options for the outbound transformation.
*)sampleDocuments : SampleDocuments.t option;Specify a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.
*)}val make :
?clientToken:??? ->
?tags:??? ->
?fileFormat:??? ->
?mappingTemplate:??? ->
?ediType:??? ->
?sampleDocument:??? ->
?inputConversion:??? ->
?mapping:??? ->
?outputConversion:??? ->
?sampleDocuments:??? ->
name:TransformerName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of TagKey.t ]) list ] list
| `String of TransformerName.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of S3Key.t ]) list ]
list
| `String of MappingTemplate.t
| `Structure of
(string
* [> `Enum of string
| `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 ])
list ]