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 objectaction (
Action
) – the action (eventSource) the API request was made forcontext (
ProgramContext
) – the global request object of the programcallback (
Callable
[[Any
],None
]) – callable for reporting a succesful operationoperations (
Optional
[Dict
[str
,Callable
]]) – comparison operation callables
- Return type
None