AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates 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
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginCreateTransformer and EndCreateTransformer.
Namespace: Amazon.B2bi
Assembly: AWSSDK.B2bi.dll
Version: 3.x.y.z
public abstract Task<CreateTransformerResponse> CreateTransformerAsync( CreateTransformerRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the CreateTransformer service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
AccessDeniedException | You do not have sufficient access to perform this action. |
ConflictException | A conflict exception is thrown when you attempt to delete a resource (such as a profile or a capability) that is being used by other resources. |
InternalServerException | This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service. |
ResourceNotFoundException | Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call. |
ServiceQuotaExceededException | Occurs when the calling command attempts to exceed one of the service quotas, for example trying to create a capability when you already have the maximum number of capabilities allowed. |
ThrottlingException | The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions. |
ValidationException | Occurs when a B2BI object cannot be validated against a request from another object. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer