@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonTranslate extends Object implements AmazonTranslate
AmazonTranslate. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
CreateParallelDataResult |
createParallelData(CreateParallelDataRequest request)
Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3.
|
DeleteParallelDataResult |
deleteParallelData(DeleteParallelDataRequest request)
Deletes a parallel data resource in Amazon Translate.
|
DeleteTerminologyResult |
deleteTerminology(DeleteTerminologyRequest request)
A synchronous action that deletes a custom terminology.
|
DescribeTextTranslationJobResult |
describeTextTranslationJob(DescribeTextTranslationJobRequest request)
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.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetParallelDataResult |
getParallelData(GetParallelDataRequest request)
Provides information about a parallel data resource.
|
GetTerminologyResult |
getTerminology(GetTerminologyRequest request)
Retrieves a custom terminology.
|
ImportTerminologyResult |
importTerminology(ImportTerminologyRequest request)
Creates or updates a custom terminology, depending on whether one already exists for the given terminology name.
|
ListLanguagesResult |
listLanguages(ListLanguagesRequest request)
Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
|
ListParallelDataResult |
listParallelData(ListParallelDataRequest request)
Provides a list of your parallel data resources in Amazon Translate.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists all tags associated with a given Amazon Translate resource.
|
ListTerminologiesResult |
listTerminologies(ListTerminologiesRequest request)
Provides a list of custom terminologies associated with your account.
|
ListTextTranslationJobsResult |
listTextTranslationJobs(ListTextTranslationJobsRequest request)
Gets a list of the batch translation jobs that you have submitted.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartTextTranslationJobResult |
startTextTranslationJob(StartTextTranslationJobRequest request)
Starts an asynchronous batch translation job.
|
StopTextTranslationJobResult |
stopTextTranslationJob(StopTextTranslationJobRequest request)
Stops an asynchronous batch translation job that is in progress.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Associates a specific tag with a resource.
|
TranslateDocumentResult |
translateDocument(TranslateDocumentRequest request)
Translates the input document from the source language to the target language.
|
TranslateTextResult |
translateText(TranslateTextRequest request)
Translates input text from the source language to the target language.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes a specific tag associated with an Amazon Translate resource.
|
UpdateParallelDataResult |
updateParallelData(UpdateParallelDataRequest request)
Updates a previously created parallel data resource by importing a new input file from Amazon S3.
|
public CreateParallelDataResult createParallelData(CreateParallelDataRequest request)
AmazonTranslateCreates 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.
createParallelData in interface AmazonTranslatepublic DeleteParallelDataResult deleteParallelData(DeleteParallelDataRequest request)
AmazonTranslateDeletes a parallel data resource in Amazon Translate.
deleteParallelData in interface AmazonTranslatepublic DeleteTerminologyResult deleteTerminology(DeleteTerminologyRequest request)
AmazonTranslateA synchronous action that deletes a custom terminology.
deleteTerminology in interface AmazonTranslatepublic DescribeTextTranslationJobResult describeTextTranslationJob(DescribeTextTranslationJobRequest request)
AmazonTranslateGets the properties associated with an asynchronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.
describeTextTranslationJob in interface AmazonTranslatepublic GetParallelDataResult getParallelData(GetParallelDataRequest request)
AmazonTranslateProvides information about a parallel data resource.
getParallelData in interface AmazonTranslatepublic GetTerminologyResult getTerminology(GetTerminologyRequest request)
AmazonTranslateRetrieves a custom terminology.
getTerminology in interface AmazonTranslatepublic ImportTerminologyResult importTerminology(ImportTerminologyRequest request)
AmazonTranslateCreates 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.
importTerminology in interface AmazonTranslatepublic ListLanguagesResult listLanguages(ListLanguagesRequest request)
AmazonTranslateProvides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
listLanguages in interface AmazonTranslatepublic ListParallelDataResult listParallelData(ListParallelDataRequest request)
AmazonTranslateProvides a list of your parallel data resources in Amazon Translate.
listParallelData in interface AmazonTranslatepublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonTranslateLists all tags associated with a given Amazon Translate resource. For more information, see Tagging your resources.
listTagsForResource in interface AmazonTranslatepublic ListTerminologiesResult listTerminologies(ListTerminologiesRequest request)
AmazonTranslateProvides a list of custom terminologies associated with your account.
listTerminologies in interface AmazonTranslatepublic ListTextTranslationJobsResult listTextTranslationJobs(ListTextTranslationJobsRequest request)
AmazonTranslateGets a list of the batch translation jobs that you have submitted.
listTextTranslationJobs in interface AmazonTranslatepublic StartTextTranslationJobResult startTextTranslationJob(StartTextTranslationJobRequest request)
AmazonTranslate
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.
startTextTranslationJob in interface AmazonTranslatepublic StopTextTranslationJobResult stopTextTranslationJob(StopTextTranslationJobRequest request)
AmazonTranslateStops 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.
stopTextTranslationJob in interface AmazonTranslatepublic TagResourceResult tagResource(TagResourceRequest request)
AmazonTranslateAssociates 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.
tagResource in interface AmazonTranslatepublic TranslateDocumentResult translateDocument(TranslateDocumentRequest request)
AmazonTranslate
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.
translateDocument in interface AmazonTranslatepublic TranslateTextResult translateText(TranslateTextRequest request)
AmazonTranslateTranslates input text from the source language to the target language. For a list of available languages and language codes, see Supported languages.
translateText in interface AmazonTranslatepublic UntagResourceResult untagResource(UntagResourceRequest request)
AmazonTranslateRemoves a specific tag associated with an Amazon Translate resource. For more information, see Tagging your resources.
untagResource in interface AmazonTranslatepublic UpdateParallelDataResult updateParallelData(UpdateParallelDataRequest request)
AmazonTranslateUpdates a previously created parallel data resource by importing a new input file from Amazon S3.
updateParallelData in interface AmazonTranslatepublic void shutdown()
AmazonTranslateshutdown in interface AmazonTranslatepublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonTranslateResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AmazonTranslaterequest - The originally executed request.