• This project
    • Loading...
  • Sign in

서승완 / kappa

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • kappa
  • samples
  • sns
  • _src
  • sns.py
  • Mitch Garnaat's avatar
    Getting SNS sample working again · 0817c3bf
    0817c3bf
    Mitch Garnaat authored 2016-03-14 10:20:48 -0400
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)