+ "smithy.api#documentation": "<p>Cancels a job in an Batch job queue. Jobs that are in a <code>SUBMITTED</code>, <code>PENDING</code>, or <code>RUNNABLE</code> state are cancelled and the job status is updated to <code>FAILED</code>.</p>\n <note>\n <p>A <code>PENDING</code> job is canceled after all dependency jobs are completed.\n Therefore, it may take longer than expected to cancel a job in <code>PENDING</code>\n status.</p>\n <p>When you try to cancel an array parent job in <code>PENDING</code>, Batch attempts to\n cancel all child jobs. The array parent job is canceled when all child jobs are\n completed.</p>\n </note>\n <p>Jobs that progressed to the <code>STARTING</code> or\n <code>RUNNING</code> state aren't canceled. However, the API operation still succeeds, even\n if no job is canceled. These jobs must be terminated with the <a>TerminateJob</a>\n operation.</p>",
0 commit comments