def merge_pages(key, pages):
    """Merge boto3 paginated results into single list.
    Args:
        key (str): the key used to gather results from each page.
        pages (list): a list of pages of typically description dictionaries.
    Returns:
        list: a single flat list containing results of all pages.
    """
    return [item for page in pages for item in page[key]]