AWS SDK Version 4 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 parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples that show how you want segments of text to be translated. By adding parallel data, you can influence the style, tone, and word choice in your translation output.

Note:

This is an asynchronous operation using the standard naming convention for .NET 4.7.2 or higher.

Namespace: Amazon.Translate
Assembly: AWSSDK.Translate.dll
Version: 3.x.y.z

Syntax

C#
public abstract Task<CreateParallelDataResponse> CreateParallelDataAsync(
         CreateParallelDataRequest request,
         CancellationToken cancellationToken
)

Parameters

request
Type: Amazon.Translate.Model.CreateParallelDataRequest

Container for the necessary parameters to execute the CreateParallelData 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 CreateParallelData service method, as returned by Translate.

Exceptions

ExceptionCondition
ConcurrentModificationException Another modification is being made. That modification must complete before you can make your change.
ConflictException There was a conflict processing the request. Try your request again.
InternalServerException An internal server error occurred. Retry your request.
InvalidParameterValueException The value of the parameter is not valid. Review the value of the parameter you are using to correct it, and then retry your operation.
InvalidRequestException The request that you made is not valid. Check your request to determine why it's not valid and then retry the request.
LimitExceededException The specified limit has been exceeded. Review your request and retry it with a quantity below the stated limit.
TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again.
TooManyTagsException You have added too many tags to this resource. The maximum is 50 tags.

Version Information

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

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer

See Also