'Return the query fragment of a signed URI.
This can be used, for example, for alarming.'

def _query_str(self, data):

    paths = jsonutils.loads(data[self.PATHS_ATTR])
    methods = jsonutils.loads(data[self.METHODS_ATTR])
    query = {'signature': data[self.SIGNATURE], 'expires': data[self.EXPIRES], 'paths': ','.join(paths), 'methods': ','.join(methods), 'project_id': data[self.PROJECT], 'queue_name': self.properties[self.QUEUE]}
    return urlparse.urlencode(query)
