human
Here's a good function header given the following:
I wrote the below code

    conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
    def extract_name(queue_url):
        return _urlparse(queue_url).path.split('/')[2]
    try:
        r = conn.list_queues(QueueNamePrefix=prefix)
        urls = r.get('QueueUrls', [])
        return {'result': [extract_name(url) for url in urls]}
    except botocore.exceptions.ClientError as e:
        return {'error': __utils__['boto3.get_error'](e)}

What's a good function header?
assistant
#Here's a good function header.

def list_(prefix='', region=None, key=None, keyid=None, profile=None):