AWS SDK for C++AWS SDK for C++ Version 1.11.440 |
#include <TranslateClient.h>
Provides translation of the input content from the source language to the target language.
Definition at line 22 of file TranslateClient.h.
Definition at line 25 of file TranslateClient.h.
Definition at line 29 of file TranslateClient.h.
Definition at line 30 of file TranslateClient.h.
Aws::Translate::TranslateClientConfiguration()
,
nullptr
Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
nullptr
,
Aws::Translate::TranslateClientConfiguration()
Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
nullptr
,
Aws::Translate::TranslateClientConfiguration()
Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, the default http client factory will be used
Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, the default http client factory will be used
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.
nullptr
An Async wrapper for CreateParallelData that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 104 of file TranslateClient.h.
A Callable wrapper for CreateParallelData that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 95 of file TranslateClient.h.
nullptr
An Async wrapper for DeleteParallelData that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 130 of file TranslateClient.h.
A Callable wrapper for DeleteParallelData that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 121 of file TranslateClient.h.
nullptr
An Async wrapper for DeleteTerminology that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 156 of file TranslateClient.h.
A Callable wrapper for DeleteTerminology that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 147 of file TranslateClient.h.
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.
nullptr
An Async wrapper for DescribeTextTranslationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 183 of file TranslateClient.h.
A Callable wrapper for DescribeTextTranslationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 174 of file TranslateClient.h.
nullptr
An Async wrapper for GetParallelData that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 209 of file TranslateClient.h.
A Callable wrapper for GetParallelData that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 200 of file TranslateClient.h.
nullptr
An Async wrapper for GetTerminology that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 234 of file TranslateClient.h.
A Callable wrapper for GetTerminology that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 225 of file TranslateClient.h.
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.
nullptr
An Async wrapper for ImportTerminology that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 266 of file TranslateClient.h.
A Callable wrapper for ImportTerminology that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 257 of file TranslateClient.h.
{}
)
const
Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
nullptr
,
{}
An Async wrapper for ListLanguages that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 292 of file TranslateClient.h.
{}
)
const
A Callable wrapper for ListLanguages that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 283 of file TranslateClient.h.
{}
)
const
nullptr
,
{}
An Async wrapper for ListParallelData that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 318 of file TranslateClient.h.
{}
)
const
A Callable wrapper for ListParallelData that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 309 of file TranslateClient.h.
Lists all tags associated with a given Amazon Translate resource. For more information, see Tagging your resources.
nullptr
An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 346 of file TranslateClient.h.
A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 337 of file TranslateClient.h.
{}
)
const
nullptr
,
{}
An Async wrapper for ListTerminologies that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 372 of file TranslateClient.h.
{}
)
const
A Callable wrapper for ListTerminologies that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 363 of file TranslateClient.h.
{}
)
const
nullptr
,
{}
An Async wrapper for ListTextTranslationJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 398 of file TranslateClient.h.
{}
)
const
A Callable wrapper for ListTextTranslationJobs that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 389 of file TranslateClient.h.
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 auto
as the source language). You can specify one or more target languages. Batch translation translates each input document into each of the target languages. For more information, see Asynchronous batch processing.
Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation.
nullptr
An Async wrapper for StartTextTranslationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 433 of file TranslateClient.h.
A Callable wrapper for StartTextTranslationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 424 of file TranslateClient.h.
Stops an asynchronous batch translation job that is in progress.
If the job's state is IN_PROGRESS
, the job will be marked for termination and put into the STOP_REQUESTED
state. If the job completes before it can be stopped, it is put into the COMPLETED
state. Otherwise, the job is put into the STOPPED
state.
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 JobId
.
nullptr
An Async wrapper for StopTextTranslationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 467 of file TranslateClient.h.
A Callable wrapper for StopTextTranslationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 458 of file TranslateClient.h.
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.
nullptr
An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 495 of file TranslateClient.h.
A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 486 of file TranslateClient.h.
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. TranslateDocument
supports translations from English to any supported language, and from any supported language to English. Therefore, specify either the source language code or the target language code as “en” (English).
If you set the Formality
parameter, the request will fail if the target language does not support formality. For a list of target languages that support formality, see Setting formality.
nullptr
An Async wrapper for TranslateDocument that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 529 of file TranslateClient.h.
A Callable wrapper for TranslateDocument that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 520 of file TranslateClient.h.
Translates input text from the source language to the target language. For a list of available languages and language codes, see Supported languages.
nullptr
An Async wrapper for TranslateText that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 557 of file TranslateClient.h.
A Callable wrapper for TranslateText that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 548 of file TranslateClient.h.
Removes a specific tag associated with an Amazon Translate resource. For more information, see Tagging your resources.
nullptr
An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 585 of file TranslateClient.h.
A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 576 of file TranslateClient.h.
Updates a previously created parallel data resource by importing a new input file from Amazon S3.
nullptr
An Async wrapper for UpdateParallelData that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 611 of file TranslateClient.h.
A Callable wrapper for UpdateParallelData that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 602 of file TranslateClient.h.
Definition at line 618 of file TranslateClient.h.