Cancels jobs in an AWS Batch job queue. Jobs that are in the
SUBMITTED
,
PENDING
, or
RUNNABLE
state are cancelled. Jobs that have progressed to
STARTING
or
RUNNING
are not cancelled (but the API operation still succeeds, even if no jobs are cancelled); these jobs must be terminated with the
TerminateJob operation.
/// These errors are usually caused by a client action, such as using an action or resource
/// on behalf of a user that doesn't have permission to use the action or resource, or
/// specifying an identifier that is not valid.
///
/// These errors are usually caused by a server issue.
///