import json


def get_sns_msg(event):
    """Returns a message object extracted from AWS SNS event.

    :param event: AWS event object
    :type event: dict
    :returns: JSON serialized SNS message object
    :rtype: dict
    """

    return json.loads(event['Records'][0]['Sns']['Message'])