import typing


def splitPath(s3Path: str) -> typing.Tuple[str, str]:
    """Split a full S3 path into its bucket and key components"""
    if not s3Path.startswith('s3://'):
        raise ValueError('s3Path must begin with "s3://"')
    s3Path = s3Path[5:]

    bucketName, key = s3Path.split('/', 1)
    return bucketName, key