sns.py 232 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 import logging LOG = logging.getLogger() LOG.setLevel(logging.INFO) def handler(event, context): for record in event['Records']: start_time = record['Sns']['Timestamp'] LOG.info('start_time: %s', start_time)