Differentiating between an S3 prefix and an S3 object.