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