Skip to content

Stop Text Translation Job

translate_stop_text_translation_job R Documentation

Stops an asynchronous batch translation job that is in progress

Description

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 start_text_translation_job operation. You can use the describe_text_translation_job or list_text_translation_jobs operations to get a batch translation job's JobId.

Usage

translate_stop_text_translation_job(JobId)

Arguments

JobId

[required] The job ID of the job to be stopped.

Value

A list with the following syntax:

list(
  JobId = "string",
  JobStatus = "SUBMITTED"|"IN_PROGRESS"|"COMPLETED"|"COMPLETED_WITH_ERROR"|"FAILED"|"STOP_REQUESTED"|"STOPPED"
)

Request syntax

svc$stop_text_translation_job(
  JobId = "string"
)