'Support Boto3-style access on a message.'

def __getitem__(self, item):

    if (item == u'ReceiptHandle'):
        return self.receipt_handle
    elif (item == u'Body'):
        return self.get_body()
    elif (item == u'queue'):
        return self.queue
    else:
        raise KeyError(item)
