Membatalkan pekerjaan transkoding.
Deskripsi operasi
You can cancel a transcoding job only if the job is in the Submitted state.
We recommend that you call the UpdatePipeline operation to set the status of the ApsaraVideo Media Processing (MPS) queue to Paused before you cancel a job. This suspends job scheduling in the MPS queue. After the job is canceled, you must set the status of the MPS queue back to Active so that the other jobs in the MPS queue 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. We recommend that you take note of this limit when you call this operation. For more information, see QPS limit.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:CancelJob |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
ID pekerjaan transkoding yang akan dibatalkan. Anda dapat masuk ke Konsol MPS dan mengklik Tugas di panel navigasi sebelah kiri untuk memperoleh ID pekerjaan. Selain itu, Anda dapat memperoleh ID pekerjaan dari tanggapan operasi SubmitJobs. |
d1ce4d3efcb549419193f50f1fcd**** |
Elemen respons
|
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**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "338CA33A-AE83-5DF4-B6F2-C6D3ED8143F5",
"JobId": "d1ce4d3efcb549419193f50f1fcd****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.