Module Values.UpdateTransformerRequestSource

Updates the specified parameters for a transformer. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.

Sourcetype nonrec t = {
  1. transformerId : TransformerId.t;
    (*

    Specifies the system-assigned unique identifier for the transformer.

    *)
  2. name : TransformerName.t option;
    (*

    Specify a new name for the transformer, if you want to update it.

    *)
  3. status : TransformerStatus.t option;
    (*

    Specifies the transformer's status. You can update the state of the transformer from inactive to active.

    *)
  4. fileFormat : FileFormat.t option;
    (*

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

    *)
  5. 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.

    *)
  6. 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.

    *)
  7. sampleDocument : FileLocation.t option;
    (*

    Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.

    *)
  8. inputConversion : InputConversion.t option;
    (*

    To update, specify the InputConversion object, which contains the format options for the inbound transformation.

    *)
  9. mapping : Mapping.t option;
    (*

    Specify the structure that contains the mapping template and its language (either XSLT or JSONATA).

    *)
  10. outputConversion : OutputConversion.t option;
    (*

    To update, specify the OutputConversion object, which contains the format options for the outbound transformation.

    *)
  11. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?status:??? -> ?fileFormat:??? -> ?mappingTemplate:??? -> ?ediType:??? -> ?sampleDocument:??? -> ?inputConversion:??? -> ?mapping:??? -> ?outputConversion:??? -> ?sampleDocuments:??? -> transformerId:TransformerId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of TransformerId.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 ]
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