StopTextTranslationJob
Source:
src/AWS/Translate/StopTextTranslationJob.ts
Runtime binding for translate:StopTextTranslationJob — stop an
asynchronous batch translation job that is in progress. An IN_PROGRESS
job is marked STOP_REQUESTED and later STOPPED; a job that completes
first ends COMPLETED.
Batch Translation Jobs
Section titled “Batch Translation Jobs”// initconst stopJob = yield* AWS.Translate.StopTextTranslationJob();
// runtimeconst result = yield* stopJob({ JobId: job.JobId! });// result.JobStatus === "STOP_REQUESTED"