def METHOD_NAME(subject, message):
    if aws_sns_arn is None:
        return
    print("Sending notification to: %s" % aws_sns_arn)
    client = boto3.client('sns')
    response = client.publish(TargetArn=aws_sns_arn, Message=message, Subject=subject)
    if 'MessageId' in response:
        print("Notification sent with message id: %s" % response['MessageId'])
    else:
        print("Sending notification failed with response: %s" % str(response))