v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1444270263.9 KB

Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use <code>PutInsightSelectors</code> to turn off Insights event logging, by passing an empty list of insight types. The valid Insights event types in this release are <code>ApiErrorRateInsight</code> and <code>ApiCallRateInsight</code>.

post/#X-Amz-Target=com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.PutInsightSelectors

Headers

X-Amz-Target'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.PutInsightSelectors' required

Request body

TrailNamestring required

The name of the CloudTrail trail for which you want to change or add Insights selectors.

Response

Success

TrailARNstring

The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.