aws.s3 icon indicating copy to clipboard operation
aws.s3 copied to clipboard

Can you get a version list for a specific file within a bucket?

Open lshep opened this issue 7 years ago • 0 comments

I would like to use the get_versions function for just a specific file in a given bucket rather than returning all the results of the bucket. Is this possible without first downloading all the version content of the bucket?

i.e. For get_bucket I list all results with

get_bucket("lori-test-version"

But then I can limit to a certain file

get_bucket("lori-test-version", prefix="LoriTestFile"

I would like to be able to do the same with get_version and limit to versions of a single file rather than getting all the content - The following lists all content of bucket lori-test-version

get_versions(bucket="lori-test-version", prefix="LoriTestFile",

lshep avatar Dec 06 '18 14:12 lshep