def getMessagesFromQueue(sqs, qUrl):
    response = sqs.receive_message(QueueUrl=qUrl, MaxNumberOfMessages=1, VisibilityTimeout=60)
    print('SQS Response Received:')
    print(response)
    if ('Messages' in response):
        return response['Messages']
    else:
        print('No messages in queue.')
        return None
def getMessagesFromQueue(sqs, qUrl):
    response = sqs.receive_message(QueueUrl=qUrl, MaxNumberOfMessages=1, VisibilityTimeout=60)
    print('SQS Response Received:')
    print(response)
    if ('Messages' in response):
        return response['Messages']
    else:
        print('No messages in queue.')
        return None