async def METHOD_NAME(
    request: DownloadS3AuthorityPathStyleURL, aws_credentials: AWSCredentials
) -> Digest:
    split = urlsplit(request.url)
    _, bucket, key = split.path.split("/", 2)
    return await Get(
        Digest,
        S3DownloadFile(
            region=split.netloc.split(".")[1] if split.netloc.count(".") == 3 else "",
            bucket=bucket,
            key=key,
            query=split.query,
            expected_digest=request.expected_digest,
        ),
    )