Values.GetTransformerResponseSourceRetrieves the details for the transformer specified by the transformer ID. 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.
type nonrec t = {transformerId : TransformerId.t option;Returns the system-assigned unique identifier for the transformer.
*)transformerArn : ResourceArn.t option;Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
*)name : TransformerName.t option;Returns the name of the transformer, used to identify it.
*)status : TransformerStatus.t option;Returns the state of the newly created transformer. The transformer can be either active or inactive. For the transformer to be used in a capability, its status must active.
*)createdAt : CreatedDate.t option;Returns a timestamp for creation date and time of the transformer.
*)modifiedAt : ModifiedDate.t option;Returns a timestamp for last time the transformer was modified.
*)fileFormat : FileFormat.t option;Returns that the currently supported file formats for EDI transformations are JSON and XML.
*)mappingTemplate : MappingTemplate.t option;Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
*)ediType : EdiType.t option;Returns 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;Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
*)inputConversion : InputConversion.t option;Returns the InputConversion object, which contains the format options for the inbound transformation.
*)mapping : Mapping.t option;Returns the structure that contains the mapping template and its language (either XSLT or JSONATA).
*)outputConversion : OutputConversion.t option;Returns the OutputConversion object, which contains the format options for the outbound transformation.
*)sampleDocuments : SampleDocuments.t option;Returns a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?transformerId:??? ->
?transformerArn:??? ->
?name:??? ->
?status:??? ->
?createdAt:??? ->
?modifiedAt:??? ->
?fileFormat:??? ->
?mappingTemplate:??? ->
?ediType:??? ->
?sampleDocument:??? ->
?inputConversion:??? ->
?mapping:??? ->
?outputConversion:??? ->
?sampleDocuments:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val 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
| `Timestamp of CreatedDate.t ])
list ]