def get_list_package_versions(client, domain, domainOwner, repository, format, namespace, package, status):
    """Get package versions in CodeArtifact repository"""
    response = client.list_package_versions(
        domain=domain,
        domainOwner=domainOwner,
        repository=repository,
        format=format,
        namespace=namespace,
        package=package,
        status=status,
        sortBy='PUBLISHED_TIME',
        maxResults=100
    )
    return response["versions"]