Returns Insights events generated on a trail that logs data events
Source:R/cloudtrail_operations.R
cloudtrail_list_insights_data.RdReturns Insights events generated on a trail that logs data events. You can list Insights events that occurred in a Region within the last 90 days.
See https://www.paws-r-sdk.com/docs/cloudtrail_list_insights_data/ for full documentation.
Usage
cloudtrail_list_insights_data(
InsightSource,
DataType,
Dimensions = NULL,
StartTime = NULL,
EndTime = NULL,
MaxResults = NULL,
NextToken = NULL
)Arguments
- InsightSource
[required] The Amazon Resource Name(ARN) of the trail for which you want to retrieve Insights events.
- DataType
[required] Specifies the category of events returned. To fetch Insights events, specify
InsightsEventsas the value ofDataType- Dimensions
Contains a map of dimensions. Currently the map can contain only one item.
- StartTime
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
- EndTime
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
- MaxResults
The number of events to return. Possible values are 1 through 50. The default is 50.
- NextToken
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified a EventName as a dimension with
PutObjectas a value, the call with NextToken should include those same parameters.