Returns properly formatted S3 object path, including the s3:// prefix.

s3(...)

Arguments

...

Characters vectors to combine into an S3 path.

Examples

s3("my_bucket", "prefix", "object_name.csv")
#> [1] "s3://my_bucket/prefix/object_name.csv" #> attr(,"class") #> [1] "s3" "character"
s3(s3_bucket(), "prefix1", "prefix2", "object.csv")
#> [1] "s3://sagemaker-us-east-2-495577990003/prefix1/prefix2/object.csv" #> attr(,"class") #> [1] "s3" "character"