def to_uri(bucket: str, key: str) -> str:
    """Construct a S3 URI.

    Args:
        bucket: The S3 bucket name.
        key: The S3 key.

    Returns:
        A S3 URI in the format s3://bucket/key.
    """
    return f's3://{bucket}/{key}'