CmdID / aws / aws cloudtrail
aws cloudtrail lookup-events
Looks up management events or CloudTrail Insights events that are captured by CloudTrail. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--end-timeSpecifies that only events that occur before or at the specified time are returned.--event-categorySpecifies the event category.--lookup-attributesContains a list of lookup attributes.--max-resultsThe number of events to return.--next-tokenThe token to use to get the next page of results after a previous API call.--start-timeSpecifies that only events that occur after or at the specified time are returned.