aws_spitzel.lookup_event_response#

aws_spitzel.lookup_event_response(response, context, action, callback, operations={'!=': <function <lambda>>, '==': <function <lambda>>, 'regex': <function <lambda>>})[source]#

retrieve matches of a boto3 CloudTrail API lookup through a callback

Parameters
  • response (dict) – a cloudtrail boto3 LookupEvents API response object

  • action (Action) – the action (eventSource) the API request was made for

  • context (ProgramContext) – the global request object of the program

  • callback (Callable[[Any], None]) – callable for reporting a succesful operation

  • operations (Optional[Dict[str, Callable]]) – comparison operation callables

Return type

None