in functions/load_es/app.py [0:0]
def lambda_handler(event, context):
    jsonStateMachine = event
    # Getting event info
    guid = jsonStateMachine['guid']
    #Key Phrases File Insertion
    keyPhrasesKey = jsonStateMachine['comprehendOutputDecompressed']['keyPhrases']
    fileType = FILETYPE_DICT['keyPhrases']
    downloadObject_InsertES(guid,keyPhrasesKey, fileType)
    #Entities File Insertion
    entitiesKey = jsonStateMachine['comprehendOutputDecompressed']['entities']
    fileType = FILETYPE_DICT['entities']
    downloadObject_InsertES(guid, entitiesKey, fileType)
    return  jsonStateMachine