Menentukan jenis peristiwa Insights yang akan dikirim untuk trail.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TrailName |
string |
Yes |
Nama trail. |
trail-name |
| InsightSelectors |
string |
No |
Jenis peristiwa Insights yang harus dikirim oleh trail. |
[{"insightType":"AkInsight"},{"insightType":"IpInsight"}] |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| InsightSelectors |
array |
Array dari jenis peristiwa Insights. |
|
|
string |
Jenis peristiwa Insights. |
{"insightType":"AkInsight"} |
|
| RequestId |
string |
ID permintaan. |
7EC26DF0-35AC-5F37-82B3-F5545D0A**** |
| TrailArn |
string |
Alibaba Cloud Resource Name (ARN) dari trail. |
acs:actiontrail:cn-shanghai:159498693826****:trail/trail-name |
Contoh
Respons sukses
JSONformat
{
"InsightSelectors": [
"{\"insightType\":\"AkInsight\"}"
],
"RequestId": "7EC26DF0-35AC-5F37-82B3-F5545D0A****",
"TrailArn": "acs:actiontrail:cn-shanghai:159498693826****:trail/trail-name"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InsightSelectorDoesNotExistException | The special Selector is not existed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.