@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonTranslateAsync extends AmazonTranslate
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonTranslateAsync
instead.
Provides translation between one source language and another of the same set of languages.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<DeleteTerminologyResult> |
deleteTerminologyAsync(DeleteTerminologyRequest deleteTerminologyRequest)
A synchronous action that deletes a custom terminology.
|
Future<DeleteTerminologyResult> |
deleteTerminologyAsync(DeleteTerminologyRequest deleteTerminologyRequest,
AsyncHandler<DeleteTerminologyRequest,DeleteTerminologyResult> asyncHandler)
A synchronous action that deletes a custom terminology.
|
Future<DescribeTextTranslationJobResult> |
describeTextTranslationJobAsync(DescribeTextTranslationJobRequest describeTextTranslationJobRequest)
Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and
target languages, input/output S3 buckets, and so on.
|
Future<DescribeTextTranslationJobResult> |
describeTextTranslationJobAsync(DescribeTextTranslationJobRequest describeTextTranslationJobRequest,
AsyncHandler<DescribeTextTranslationJobRequest,DescribeTextTranslationJobResult> asyncHandler)
Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and
target languages, input/output S3 buckets, and so on.
|
Future<GetTerminologyResult> |
getTerminologyAsync(GetTerminologyRequest getTerminologyRequest)
Retrieves a custom terminology.
|
Future<GetTerminologyResult> |
getTerminologyAsync(GetTerminologyRequest getTerminologyRequest,
AsyncHandler<GetTerminologyRequest,GetTerminologyResult> asyncHandler)
Retrieves a custom terminology.
|
Future<ImportTerminologyResult> |
importTerminologyAsync(ImportTerminologyRequest importTerminologyRequest)
Creates or updates a custom terminology, depending on whether or not one already exists for the given terminology
name.
|
Future<ImportTerminologyResult> |
importTerminologyAsync(ImportTerminologyRequest importTerminologyRequest,
AsyncHandler<ImportTerminologyRequest,ImportTerminologyResult> asyncHandler)
Creates or updates a custom terminology, depending on whether or not one already exists for the given terminology
name.
|
Future<ListTerminologiesResult> |
listTerminologiesAsync(ListTerminologiesRequest listTerminologiesRequest)
Provides a list of custom terminologies associated with your account.
|
Future<ListTerminologiesResult> |
listTerminologiesAsync(ListTerminologiesRequest listTerminologiesRequest,
AsyncHandler<ListTerminologiesRequest,ListTerminologiesResult> asyncHandler)
Provides a list of custom terminologies associated with your account.
|
Future<ListTextTranslationJobsResult> |
listTextTranslationJobsAsync(ListTextTranslationJobsRequest listTextTranslationJobsRequest)
Gets a list of the batch translation jobs that you have submitted.
|
Future<ListTextTranslationJobsResult> |
listTextTranslationJobsAsync(ListTextTranslationJobsRequest listTextTranslationJobsRequest,
AsyncHandler<ListTextTranslationJobsRequest,ListTextTranslationJobsResult> asyncHandler)
Gets a list of the batch translation jobs that you have submitted.
|
Future<StartTextTranslationJobResult> |
startTextTranslationJobAsync(StartTextTranslationJobRequest startTextTranslationJobRequest)
Starts an asynchronous batch translation job.
|
Future<StartTextTranslationJobResult> |
startTextTranslationJobAsync(StartTextTranslationJobRequest startTextTranslationJobRequest,
AsyncHandler<StartTextTranslationJobRequest,StartTextTranslationJobResult> asyncHandler)
Starts an asynchronous batch translation job.
|
Future<StopTextTranslationJobResult> |
stopTextTranslationJobAsync(StopTextTranslationJobRequest stopTextTranslationJobRequest)
Stops an asynchronous batch translation job that is in progress.
|
Future<StopTextTranslationJobResult> |
stopTextTranslationJobAsync(StopTextTranslationJobRequest stopTextTranslationJobRequest,
AsyncHandler<StopTextTranslationJobRequest,StopTextTranslationJobResult> asyncHandler)
Stops an asynchronous batch translation job that is in progress.
|
Future<TranslateTextResult> |
translateTextAsync(TranslateTextRequest translateTextRequest)
Translates input text from the source language to the target language.
|
Future<TranslateTextResult> |
translateTextAsync(TranslateTextRequest translateTextRequest,
AsyncHandler<TranslateTextRequest,TranslateTextResult> asyncHandler)
Translates input text from the source language to the target language.
|
deleteTerminology, describeTextTranslationJob, getCachedResponseMetadata, getTerminology, importTerminology, listTerminologies, listTextTranslationJobs, shutdown, startTextTranslationJob, stopTextTranslationJob, translateText
Future<DeleteTerminologyResult> deleteTerminologyAsync(DeleteTerminologyRequest deleteTerminologyRequest)
A synchronous action that deletes a custom terminology.
deleteTerminologyRequest
- Future<DeleteTerminologyResult> deleteTerminologyAsync(DeleteTerminologyRequest deleteTerminologyRequest, AsyncHandler<DeleteTerminologyRequest,DeleteTerminologyResult> asyncHandler)
A synchronous action that deletes a custom terminology.
deleteTerminologyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeTextTranslationJobResult> describeTextTranslationJobAsync(DescribeTextTranslationJobRequest describeTextTranslationJobRequest)
Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.
describeTextTranslationJobRequest
- Future<DescribeTextTranslationJobResult> describeTextTranslationJobAsync(DescribeTextTranslationJobRequest describeTextTranslationJobRequest, AsyncHandler<DescribeTextTranslationJobRequest,DescribeTextTranslationJobResult> asyncHandler)
Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.
describeTextTranslationJobRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetTerminologyResult> getTerminologyAsync(GetTerminologyRequest getTerminologyRequest)
Retrieves a custom terminology.
getTerminologyRequest
- Future<GetTerminologyResult> getTerminologyAsync(GetTerminologyRequest getTerminologyRequest, AsyncHandler<GetTerminologyRequest,GetTerminologyResult> asyncHandler)
Retrieves a custom terminology.
getTerminologyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ImportTerminologyResult> importTerminologyAsync(ImportTerminologyRequest importTerminologyRequest)
Creates or updates a custom terminology, depending on whether or not 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. Currently, the only supported merge strategy is OVERWRITE, and so the imported terminology will overwrite an existing terminology of the same name.
If you import a terminology that overwrites an existing one, the new terminology take up to 10 minutes to fully propagate and be available for use in a translation due to cache policies with the DataPlane service that performs the translations.
importTerminologyRequest
- Future<ImportTerminologyResult> importTerminologyAsync(ImportTerminologyRequest importTerminologyRequest, AsyncHandler<ImportTerminologyRequest,ImportTerminologyResult> asyncHandler)
Creates or updates a custom terminology, depending on whether or not 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. Currently, the only supported merge strategy is OVERWRITE, and so the imported terminology will overwrite an existing terminology of the same name.
If you import a terminology that overwrites an existing one, the new terminology take up to 10 minutes to fully propagate and be available for use in a translation due to cache policies with the DataPlane service that performs the translations.
importTerminologyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTerminologiesResult> listTerminologiesAsync(ListTerminologiesRequest listTerminologiesRequest)
Provides a list of custom terminologies associated with your account.
listTerminologiesRequest
- Future<ListTerminologiesResult> listTerminologiesAsync(ListTerminologiesRequest listTerminologiesRequest, AsyncHandler<ListTerminologiesRequest,ListTerminologiesResult> asyncHandler)
Provides a list of custom terminologies associated with your account.
listTerminologiesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTextTranslationJobsResult> listTextTranslationJobsAsync(ListTextTranslationJobsRequest listTextTranslationJobsRequest)
Gets a list of the batch translation jobs that you have submitted.
listTextTranslationJobsRequest
- Future<ListTextTranslationJobsResult> listTextTranslationJobsAsync(ListTextTranslationJobsRequest listTextTranslationJobsRequest, AsyncHandler<ListTextTranslationJobsRequest,ListTextTranslationJobsResult> asyncHandler)
Gets a list of the batch translation jobs that you have submitted.
listTextTranslationJobsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartTextTranslationJobResult> startTextTranslationJobAsync(StartTextTranslationJobRequest startTextTranslationJobRequest)
Starts an asynchronous batch translation job. Batch translation jobs can be used to translate large volumes of text across multiple documents at once. For more information, see async.
Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation.
Amazon Translate does not support batch translation of multiple source languages at once.
startTextTranslationJobRequest
- Future<StartTextTranslationJobResult> startTextTranslationJobAsync(StartTextTranslationJobRequest startTextTranslationJobRequest, AsyncHandler<StartTextTranslationJobRequest,StartTextTranslationJobResult> asyncHandler)
Starts an asynchronous batch translation job. Batch translation jobs can be used to translate large volumes of text across multiple documents at once. For more information, see async.
Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation.
Amazon Translate does not support batch translation of multiple source languages at once.
startTextTranslationJobRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StopTextTranslationJobResult> stopTextTranslationJobAsync(StopTextTranslationJobRequest stopTextTranslationJobRequest)
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
.
stopTextTranslationJobRequest
- Future<StopTextTranslationJobResult> stopTextTranslationJobAsync(StopTextTranslationJobRequest stopTextTranslationJobRequest, AsyncHandler<StopTextTranslationJobRequest,StopTextTranslationJobResult> asyncHandler)
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
.
stopTextTranslationJobRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<TranslateTextResult> translateTextAsync(TranslateTextRequest translateTextRequest)
Translates input text from the source language to the target language. For a list of available languages and language codes, see what-is-languages.
translateTextRequest
- Future<TranslateTextResult> translateTextAsync(TranslateTextRequest translateTextRequest, AsyncHandler<TranslateTextRequest,TranslateTextResult> asyncHandler)
Translates input text from the source language to the target language. For a list of available languages and language codes, see what-is-languages.
translateTextRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.