Add a single message to the queue.

        :type message: Message
        :param message: The message to be written to the queue

        :rtype: :class:`boto.sqs.message.Message`
        :return: The :class:`boto.sqs.message.Message` object that was written.

def write(self, message, callback=None):
        """
        Add a single message to the queue.

        :type message: Message
        :param message: The message to be written to the queue

        :rtype: :class:`boto.sqs.message.Message`
        :return: The :class:`boto.sqs.message.Message` object that was written.
        """
        def wrote(new_msg):
            message.id = new_msg.id
            message.md5 = new_msg.md5
            if callable(callback):
                callback(message)
        self.connection.send_message(self, message.get_body_encoded(), callback=wrote)