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.
Implementation for accessing Translate
Provides translation of the input content from the source language to the target language.Namespace: Amazon.Translate
Assembly: AWSSDK.Translate.dll
Version: 3.x.y.z
public class AmazonTranslateClient : AmazonServiceClient IAmazonService, IAmazonTranslate, IDisposable
The AmazonTranslateClient type exposes the following members
Name | Description | |
---|---|---|
AmazonTranslateClient() |
Constructs AmazonTranslateClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonTranslateClient(RegionEndpoint) |
Constructs AmazonTranslateClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonTranslateClient(AmazonTranslateConfig) |
Constructs AmazonTranslateClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration> |
|
AmazonTranslateClient(AWSCredentials) |
Constructs AmazonTranslateClient with AWS Credentials |
|
AmazonTranslateClient(AWSCredentials, RegionEndpoint) |
Constructs AmazonTranslateClient with AWS Credentials |
|
AmazonTranslateClient(AWSCredentials, AmazonTranslateConfig) |
Constructs AmazonTranslateClient with AWS Credentials and an AmazonTranslateClient Configuration object. |
|
AmazonTranslateClient(string, string) |
Constructs AmazonTranslateClient with AWS Access Key ID and AWS Secret Key |
|
AmazonTranslateClient(string, string, RegionEndpoint) |
Constructs AmazonTranslateClient with AWS Access Key ID and AWS Secret Key |
|
AmazonTranslateClient(string, string, AmazonTranslateConfig) |
Constructs AmazonTranslateClient with AWS Access Key ID, AWS Secret Key and an AmazonTranslateClient Configuration object. |
|
AmazonTranslateClient(string, string, string) |
Constructs AmazonTranslateClient with AWS Access Key ID and AWS Secret Key |
|
AmazonTranslateClient(string, string, string, RegionEndpoint) |
Constructs AmazonTranslateClient with AWS Access Key ID and AWS Secret Key |
|
AmazonTranslateClient(string, string, string, AmazonTranslateConfig) |
Constructs AmazonTranslateClient with AWS Access Key ID, AWS Secret Key and an AmazonTranslateClient Configuration object. |
Name | Type | Description | |
---|---|---|---|
Config | Amazon.Runtime.IClientConfig | Inherited from Amazon.Runtime.AmazonServiceClient. | |
Paginators | Amazon.Translate.Model.ITranslatePaginatorFactory |
Paginators for the service |
Name | Description | |
---|---|---|
CreateParallelData(CreateParallelDataRequest) |
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. |
|
CreateParallelDataAsync(CreateParallelDataRequest, CancellationToken) |
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. |
|
DeleteParallelData(DeleteParallelDataRequest) |
Deletes a parallel data resource in Amazon Translate. |
|
DeleteParallelDataAsync(DeleteParallelDataRequest, CancellationToken) |
Deletes a parallel data resource in Amazon Translate. |
|
DeleteTerminology(DeleteTerminologyRequest) |
A synchronous action that deletes a custom terminology. |
|
DeleteTerminologyAsync(DeleteTerminologyRequest, CancellationToken) |
A synchronous action that deletes a custom terminology. |
|
DescribeTextTranslationJob(DescribeTextTranslationJobRequest) |
Gets the properties associated with an asynchronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on. |
|
DescribeTextTranslationJobAsync(DescribeTextTranslationJobRequest, CancellationToken) |
Gets the properties associated with an asynchronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on. |
|
DetermineServiceOperationEndpoint(AmazonWebServiceRequest) |
Returns the endpoint that will be used for a particular request. |
|
Dispose() | Inherited from Amazon.Runtime.AmazonServiceClient. | |
GetParallelData(GetParallelDataRequest) |
Provides information about a parallel data resource. |
|
GetParallelDataAsync(GetParallelDataRequest, CancellationToken) |
Provides information about a parallel data resource. |
|
GetTerminology(GetTerminologyRequest) |
Retrieves a custom terminology. |
|
GetTerminologyAsync(GetTerminologyRequest, CancellationToken) |
Retrieves a custom terminology. |
|
ImportTerminology(ImportTerminologyRequest) |
Creates or updates a custom terminology, depending on whether one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. The only supported merge strategy is OVERWRITE, where the imported terminology overwrites the existing terminology of the same name. If you import a terminology that overwrites an existing one, the new terminology takes up to 10 minutes to fully propagate. After that, translations have access to the new terminology. |
|
ImportTerminologyAsync(ImportTerminologyRequest, CancellationToken) |
Creates or updates a custom terminology, depending on whether one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. The only supported merge strategy is OVERWRITE, where the imported terminology overwrites the existing terminology of the same name. If you import a terminology that overwrites an existing one, the new terminology takes up to 10 minutes to fully propagate. After that, translations have access to the new terminology. |
|
ListLanguages(ListLanguagesRequest) |
Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports. |
|
ListLanguagesAsync(ListLanguagesRequest, CancellationToken) |
Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports. |
|
ListParallelData(ListParallelDataRequest) |
Provides a list of your parallel data resources in Amazon Translate. |
|
ListParallelDataAsync(ListParallelDataRequest, CancellationToken) |
Provides a list of your parallel data resources in Amazon Translate. |
|
ListTagsForResource(ListTagsForResourceRequest) |
Lists all tags associated with a given Amazon Translate resource. For more information, see Tagging your resources. |
|
ListTagsForResourceAsync(ListTagsForResourceRequest, CancellationToken) |
Lists all tags associated with a given Amazon Translate resource. For more information, see Tagging your resources. |
|
ListTerminologies(ListTerminologiesRequest) |
Provides a list of custom terminologies associated with your account. |
|
ListTerminologiesAsync(ListTerminologiesRequest, CancellationToken) |
Provides a list of custom terminologies associated with your account. |
|
ListTextTranslationJobs(ListTextTranslationJobsRequest) |
Gets a list of the batch translation jobs that you have submitted. |
|
ListTextTranslationJobsAsync(ListTextTranslationJobsRequest, CancellationToken) |
Gets a list of the batch translation jobs that you have submitted. |
|
StartTextTranslationJob(StartTextTranslationJobRequest) |
Starts an asynchronous batch translation job. Use batch translation jobs to translate
large volumes of text across multiple documents at once. For batch translation, you
can input documents with different source languages (specify Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation. |
|
StartTextTranslationJobAsync(StartTextTranslationJobRequest, CancellationToken) |
Starts an asynchronous batch translation job. Use batch translation jobs to translate
large volumes of text across multiple documents at once. For batch translation, you
can input documents with different source languages (specify Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation. |
|
StopTextTranslationJob(StopTextTranslationJobRequest) |
Stops an asynchronous batch translation job that is in progress.
If the job's state is
Asynchronous batch translation jobs are started with the StartTextTranslationJob
operation. You can use the DescribeTextTranslationJob or ListTextTranslationJobs
operations to get a batch translation job's |
|
StopTextTranslationJobAsync(StopTextTranslationJobRequest, CancellationToken) |
Stops an asynchronous batch translation job that is in progress.
If the job's state is
Asynchronous batch translation jobs are started with the StartTextTranslationJob
operation. You can use the DescribeTextTranslationJob or ListTextTranslationJobs
operations to get a batch translation job's |
|
TagResource(TagResourceRequest) |
Associates a specific tag with a resource. A tag is a key-value pair that adds as a metadata to a resource. For more information, see Tagging your resources. |
|
TagResourceAsync(TagResourceRequest, CancellationToken) |
Associates a specific tag with a resource. A tag is a key-value pair that adds as a metadata to a resource. For more information, see Tagging your resources. |
|
TranslateDocument(TranslateDocumentRequest) |
Translates the input document from the source language to the target language. This
synchronous operation supports text, HTML, or Word documents as the input document.
If you set the |
|
TranslateDocumentAsync(TranslateDocumentRequest, CancellationToken) |
Translates the input document from the source language to the target language. This
synchronous operation supports text, HTML, or Word documents as the input document.
If you set the |
|
TranslateText(TranslateTextRequest) |
Translates input text from the source language to the target language. For a list of available languages and language codes, see Supported languages. |
|
TranslateTextAsync(TranslateTextRequest, CancellationToken) |
Translates input text from the source language to the target language. For a list of available languages and language codes, see Supported languages. |
|
UntagResource(UntagResourceRequest) |
Removes a specific tag associated with an Amazon Translate resource. For more information, see Tagging your resources. |
|
UntagResourceAsync(UntagResourceRequest, CancellationToken) |
Removes a specific tag associated with an Amazon Translate resource. For more information, see Tagging your resources. |
|
UpdateParallelData(UpdateParallelDataRequest) |
Updates a previously created parallel data resource by importing a new input file from Amazon S3. |
|
UpdateParallelDataAsync(UpdateParallelDataRequest, CancellationToken) |
Updates a previously created parallel data resource by importing a new input file from Amazon S3. |
Name | Description | |
---|---|---|
AfterResponseEvent | Inherited from Amazon.Runtime.AmazonServiceClient. | |
BeforeRequestEvent | Inherited from Amazon.Runtime.AmazonServiceClient. | |
ExceptionEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5