Mengambil log detail exec.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:ListExecutionLogs |
get |
*execution
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-hangzhou |
| ExecutionId |
string |
Yes |
ID exec. |
exec-xxx |
| TaskExecutionId |
string |
No |
ID eksekusi tugas. |
exec-1234567zxcvb.t0010 |
| LogType |
string |
No |
Tipe log. |
System |
| MaxResults |
integer |
No |
Jumlah maksimum entri per halaman. |
50 |
| NextToken |
string |
No |
Token paginasi. |
MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB |
| AccountId |
string |
No |
123456789 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
Token paginasi. |
gAAAAABdpsGWjX8dJ-a6dl_pvoS7AFxNHSNJKHLCAJ:J0ylgA53nWW5V4HTEZKCYTaEPNOrxFir4z43UTOjE150cFr8AGTifA== |
| RequestId |
string |
ID permintaan. |
14A07460-EBE7-47CA-9757-12CC4761D47A |
| IsTruncated |
boolean |
Apakah hasil terpotong. |
true |
| MaxResults |
integer |
Jumlah maksimum entri per halaman. |
50 |
| ExecutionLogs |
array<object> |
Log exec. |
|
|
object |
|||
| TaskExecutionId |
string |
ID eksekusi tugas. |
exec-1234567zxcvb.t0010 |
| Message |
string |
Informasi detail. |
Tugas CheckDiskCategory selesai |
| LogType |
string |
Tipe log. |
System |
| Timestamp |
string |
Stempel waktu UNIX. |
2019-05-24T:02:29:07Z |
Contoh
Respons sukses
JSONformat
{
"NextToken": "gAAAAABdpsGWjX8dJ-a6dl_pvoS7AFxNHSNJKHLCAJ:J0ylgA53nWW5V4HTEZKCYTaEPNOrxFir4z43UTOjE150cFr8AGTifA==",
"RequestId": "14A07460-EBE7-47CA-9757-12CC4761D47A",
"IsTruncated": true,
"MaxResults": 50,
"ExecutionLogs": [
{
"TaskExecutionId": "exec-1234567zxcvb.t0010",
"Message": "Tugas CheckDiskCategory selesai.",
"LogType": " System",
"Timestamp": "2019-05-24T:02:29:07Z"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.