AWS SDK Version 3 for .NET
API Reference

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:

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

Note:

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

Syntax

C#
public abstract Task<CreateTransformerResponse> CreateTransformerAsync(
         CreateTransformerRequest request,
         CancellationToken cancellationToken
)

Parameters

request
Type: Amazon.B2bi.Model.CreateTransformerRequest

Container for the necessary parameters to execute the CreateTransformer service method.

cancellationToken
Type: System.Threading.CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value


The response from the CreateTransformer service method, as returned by B2bi.

Exceptions

ExceptionCondition
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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer

See Also