def _get_attributes(self, sub: str, attribute_names: str) -> dict:
    response = self._client.get_queue_attributes(QueueUrl=sub, AttributeNames=attribute_names)
    return response['Attributes']
def _get_attributes(self, sub: str, attribute_names: str) -> dict:
    response = self._client.get_queue_attributes(QueueUrl=sub, AttributeNames=attribute_names)
    return response['Attributes']