Menangguhkan satu atau beberapa pekerjaan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:SuspendJob |
*全部资源
|
None | None |
Sintaks permintaan
GET /pop/v1/sam/job/suspendJob HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID templat pekerjaan. |
ee1a7a07-abcb-4652-a1d3-2d57f415**** |
| Suspend |
boolean |
Yes |
Memulai atau menangguhkan templat pekerjaan.
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
67DD9A98-9CCC-5BE8-8C9E-B45E72F4**** |
| Message |
string |
The additional information that is returned. Valid values:
|
success |
| TraceId |
string |
The trace ID that is used to query the details of the request. |
0b87b7e716575071334387401e**** |
| Data |
string |
Whether the execution is successful. |
{success: true} |
| ErrorCode |
string |
The error code returned. Valid values:
|
|
| Code |
string |
The HTTP status code. Valid values:
|
200 |
| Success |
boolean |
Indicates whether the job was executed. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "67DD9A98-9CCC-5BE8-8C9E-B45E72F4****",
"Message": "success",
"TraceId": "0b87b7e716575071334387401e****",
"Data": "{success: true}",
"ErrorCode": "Null\n",
"Code": "200",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidAppId.NotFound | The specified AppId does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.