def METHOD_NAME(event, match):
    print("getting " + match + " from subscriptions table.")
    client = boto3.client('dynamodb')
    resp = client.get_item(
        TableName = subscriptions_table_name,
        Key = {
            "id": {
                "S": match
            }
        }
    )
    print('Get match response')
    print(resp)
    if not resp:
        return
    # print('Printing item')
    # print(resp["Item"])
    perma_link = get_permalink(channel=event["channel"], timestamp=event['event_ts'])
    print('perma_link')
    print(perma_link)
    message = 'New mention at ' + perma_link
    send_channel_message(resp["Item"]["channel"], message)