Description Usage Arguments Value
Some utility functions for working with S3 objects and buckets
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | get_bucketname(x, ...)
## S3 method for class 'character'
get_bucketname(x, ...)
## S3 method for class 's3_bucket'
get_bucketname(x, ...)
## S3 method for class 's3_object'
get_bucketname(x, ...)
get_objectkey(x, ...)
## S3 method for class 'character'
get_objectkey(x, ...)
## S3 method for class 's3_object'
get_objectkey(x, ...)
|
x |
S3 object, s3:// URL or a string |
... |
Ignored. |
get_bucketname
returns a character string with the name of the bucket.
get_objectkey
returns a character string with S3 key which is the part excluding bucket name and leading slashes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.