Cancels a transcoding job.
Operation description
-
You can cancel a transcoding job only if the job is in the Submitted state.
-
Before you cancel a job, call the UpdatePipeline operation to set the MPS queue status to Paused. This suspends job scheduling. After the job is canceled, you must set the queue status back to Active so that remaining jobs can be scheduled.
QPS limit
You can call this operation up to 100 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. For more information, see QPS limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:CancelJob |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
The ID of the transcoding job to cancel. You can obtain the job ID from the MPS console by choosing Tasks in the left-side navigation pane, or from the response of the SubmitJobs operation. |
d1ce4d3efcb549419193f50f1fcd**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
338CA33A-AE83-5DF4-B6F2-C6D3ED8143F5 |
| JobId |
string |
The ID of the job. |
d1ce4d3efcb549419193f50f1fcd**** |
Examples
Success response
JSON format
{
"RequestId": "338CA33A-AE83-5DF4-B6F2-C6D3ED8143F5",
"JobId": "d1ce4d3efcb549419193f50f1fcd****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.