message = {'default': 'default message', 'APNS_SANDBOX': apns_string}
messageJSON = json.dumps(message, ensure_ascii=False)
sns.publish(message=messageJSON, target_arn=device_arn, message_structure=
    'json')
Format APNS-style JSON message in Python for use with Amazon SNS