Smaws_Client_B2bi.CreateTransformerCreates a transformer. Amazon Web Services B2B Data Interchange currently supports two scenarios:
The following fields are provided for backwards compatibility only: fileFormat, mappingTemplate, ediType, and sampleDocument.
mapping data type in place of mappingTemplate and fileFormatsampleDocuments data type in place of sampleDocumentinputConversion or outputConversion in place of ediTypeval error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConflictException of Types.conflict_exception
| `InternalServerException of Types.internal_server_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_transformer_request ->
(Types.create_transformer_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConflictException of Types.conflict_exception
| `InternalServerException of Types.internal_server_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_transformer_request ->
(Types.create_transformer_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ConflictException of Types.conflict_exception
| `InternalServerException of Types.internal_server_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result