PutInsightSelectorsRequest
¶
Source code in docs_src/capo_cloudtrail/types/put_insight_selectors_request.py
event_data_store
instance-attribute
¶
event_data_store: NotRequired[EventDataStoreArn]
The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights selectors. To enable Insights on an event data store, you must provide both the EventDataStore and InsightsDestination parameters.
You cannot use this parameter with the TrailName parameter.
insight_selectors
instance-attribute
¶
insight_selectors: InsightSelectors
Contains the Insights types you want to log on a specific category of events on a trail or event data store. ApiCallRateInsight and ApiErrorRateInsight are valid Insight types.The EventCategory field can specify Management or Data events or both. For event data store, you can log Insights for management events only.
The ApiCallRateInsight Insights type analyzes write-only management API calls or read and write data API calls that are aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management and data API calls that result in error codes. The error is shown if the API call is unsuccessful.
insights_destination
instance-attribute
¶
insights_destination: NotRequired[EventDataStoreArn]
The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. To enable Insights on an event data store, you must provide both the EventDataStore and InsightsDestination parameters.
You cannot use this parameter with the TrailName parameter.