```
peter@nefilim ~ $ aws --endpoint-url=http://localhost:4575 sns publish --message="hello world" --phone-number="+15551239110"
An error occurred (NotFound) when calling the Publish operation: Topic does not exist
```

this works perfectly fine against AWS, from the docs:

```
       --phone-number (string)
          The phone number to which you want to deliver an  SMS  message.  Use
          E.164 format.

          If you don't specify a value for the PhoneNumber parameter, you must
          specify a value for the TargetArn or TopicArn parameters.
```
if subscriber.get('RawMessageDelivery') not in ('true', True):
        return {}
    message_attributes = {}
    for key, value in attributes.items():
        attribute = {}
        attribute['DataType'] = value['Type']
        if value['Type'] == 'Binary':
            attribute['BinaryValue'] = value['Value']
        else:
            attribute['StringValue'] = value['Value']
        message_attributes[key] = attribute
    return message_attributes
def get_message_attributes(req_data):