Specifies the types of Insight events to deliver for a trail.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TrailName |
string |
Yes |
The name of the trail. |
trail-name |
| InsightSelectors |
string |
No |
An array of Insight event types in JSON format. |
[{"insightType":"AkInsight"},{"insightType":"IpInsight"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| InsightSelectors |
array |
An array of Insight event types. |
|
|
string |
An Insight event type in JSON format. |
{"insightType":"AkInsight"} |
|
| RequestId |
string |
The request ID. |
7EC26DF0-35AC-5F37-82B3-F5545D0A**** |
| TrailArn |
string |
The Alibaba Cloud Resource Name (ARN) of the trail. |
acs:actiontrail:cn-shanghai:159498693826****:trail/trail-name |
Examples
Success response
JSON format
{
"InsightSelectors": [
"{\"insightType\":\"AkInsight\"}"
],
"RequestId": "7EC26DF0-35AC-5F37-82B3-F5545D0A****",
"TrailArn": "acs:actiontrail:cn-shanghai:159498693826****:trail/trail-name"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InsightSelectorDoesNotExistException | The special Selector is not existed. |
See for a complete list.
Release notes
See Release Notes for a complete list.