Split s3 uri path to core components bucket, key and version id

s3_path_split(path)

Arguments

path

(character): A character vector of one or more paths or s3 uri

Value

list character vectors splitting the s3 uri path in "Bucket", "Key" and "VersionId"

Examples

if (FALSE) {
# Require AWS S3 credentials

s3_path_dir("s3://my_bucket1/hi.txt")
}