def qsize(self, sub_list: list=None) -> dict:
    response = {'aws': {}}
    if (not sub_list):
        sub_list = self._queue_list
    for sub in sub_list:
        response['aws'][sub] = self._get_message_count(sub)
    return response
def qsize(self, sub_list: list=None) -> dict:
    response = {'aws': {}}
    if (not sub_list):
        sub_list = self._queue_list
    for sub in sub_list:
        response['aws'][sub] = self._get_message_count(sub)
    return response