Parse an S3 URI into bucket and key components.
- Parameters:
s3_uri (str) – S3 URI in the format s3://bucket-name/path/to/file.
- Returns:
Tuple of (bucket_name, key).
- Return type:
tuple[str, str]
- Raises:
ValueError – If the S3 URI format is invalid.