# # Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # import sys import logging # Setup logging to stdout logger = logging.getLogger(__name__) logging.basicConfig(stream=sys.stdout, level=logging.DEBUG) def handler(event, context): logger.info('Invoked with payload ' + str(event)) return 'Invoked successfully'