import json

print('Loading function......')


def lambda_handler(event, context):
    #print("Received event: " + json.dumps(event, indent=2))
    print("value1 = " + event.get('key1'))
    print("value2 = " + event.get('key2'))
    print("value3 = " + event.get('key3'))
    return event.get('key1')  # Echo back the first key value
    #raise Exception('Something went wrong')

if __name__ == "__main__":
    class Event:
        def get(self, key):
            e = {
                    'key1' : 'value1',
                    'key2' : 'value2',
                    'key3' : 'value3',
                    }
            return e[key]
    context = 'context'
    event = Event()

    print(lambda_handler(event, context))

0e549c9c1e3e3a641fea3dd456921077120b9c80
<mask token>

<mask token>


def lambda_handler(event, context):
    print('value1 = ' + event.get('key1'))
    print('value2 = ' + event.get('key2'))
    print('value3 = ' + event.get('key3'))
    return event.get('key1')


<mask token>

<mask token>
print('Loading function......')


def lambda_handler(event, context):
    print('value1 = ' + event.get('key1'))
    print('value2 = ' + event.get('key2'))
    print('value3 = ' + event.get('key3'))
    return event.get('key1')


if __name__ == '__main__':


    class Event:

        def get(self, key):
            e = {'key1': 'value1', 'key2': 'value2', 'key3': 'value3'}
            return e[key]
    context = 'context'
    event = Event()
    print(lambda_handler(event, context))

import json
print('Loading function......')


def lambda_handler(event, context):
    print('value1 = ' + event.get('key1'))
    print('value2 = ' + event.get('key2'))
    print('value3 = ' + event.get('key3'))
    return event.get('key1')


if __name__ == '__main__':


    class Event:

        def get(self, key):
            e = {'key1': 'value1', 'key2': 'value2', 'key3': 'value3'}
            return e[key]
    context = 'context'
    event = Event()
    print(lambda_handler(event, context))

import json

print('Loading function......')


def lambda_handler(event, context):
    #print("Received event: " + json.dumps(event, indent=2))
    print("value1 = " + event.get('key1'))
    print("value2 = " + event.get('key2'))
    print("value3 = " + event.get('key3'))
    return event.get('key1')  # Echo back the first key value
    #raise Exception('Something went wrong')

if __name__ == "__main__":
    class Event:
        def get(self, key):
            e = {
                    'key1' : 'value1',
                    'key2' : 'value2',
                    'key3' : 'value3',
                    }
            return e[key]
    context = 'context'
    event = Event()

    print(lambda_handler(event, context))
