def publish_to_sns(sns_client, message, subject, topic_arn):
    """ Publishes message to SNS queue"""
    response = sns_client.publish(
        TopicArn=topic_arn,
        Message=str(message),
        Subject=str(subject),
    )
    return response