Cancels a DNA job.
Operation description
-
This operation can only cancel jobs that are in the Queued state.
-
Set the pipeline status to Paused by calling the UpdatePipeline operation to pause job scheduling before you call this operation to cancel a job. After the job is canceled, set the pipeline status back to Active so that jobs in the pipeline can be scheduled and executed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:CancelDNAJob |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
The ID of the DNA job to cancel. |
2288c6ca184c0e47098a5b665e2a12**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
25818875-5F78-4A13-BEF6-D7393642CA58 |
| JobId |
string |
The job ID. |
2288c6ca184c0e47098a5b665e2a12**** |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
"JobId": "2288c6ca184c0e47098a5b665e2a12****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.