batch_terminate_job: Terminates a job in a job queue

View source: R/batch_operations.R

batch_terminate_jobR Documentation

Terminates a job in a job queue

Description

Terminates a job in a job queue. Jobs that are in the STARTING or RUNNING state are terminated, which causes them to transition to FAILED. Jobs that have not progressed to the STARTING state are cancelled.

See https://www.paws-r-sdk.com/docs/batch_terminate_job/ for full documentation.

Usage

batch_terminate_job(jobId, reason)

Arguments

jobId

[required] The Batch job ID of the job to terminate.

reason

[required] A message to attach to the job that explains the reason for canceling it. This message is returned by future describe_jobs operations on the job. This message is also recorded in the Batch activity logs.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.