Skip to contents

Parse an S3 URI

Usage

parse_s3_uri(uri)

Arguments

uri

An AWS S3 URI

Value

A named list with bucket and object elements

Examples

parse_s3_uri("s3://bucket-name/a/path/to/an/object.txt")
#>                    bucket                    object 
#>             "bucket-name" "a/path/to/an/object.txt"