Menghentikan tugas Spark.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
emr-serverless-spark:CancelJobRun |
delete |
*All Resource
|
None | None |
Sintaks permintaan
DELETE /api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspaceId |
string |
Yes |
ID ruang kerja. |
w-d2d82aa09155**** |
| jobRunId |
string |
Yes |
ID tugas. |
jr-f09a8fda2396**** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| regionId |
string |
No |
ID wilayah. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| jobRunId |
string |
ID tugas. |
jr-f09a8fda2396**** |
| requestId |
string |
ID permintaan. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
Contoh
Respons sukses
JSONformat
{
"jobRunId": "jr-f09a8fda2396****",
"requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.