get_bucket_version_df: List bucket contents with versions

View source: R/datalake.R

get_bucket_version_dfR Documentation

List bucket contents with versions

Description

Returns metadata about all of the versions of objects in a bucket. This function is similar to 'aws.s3::get_bucket_df' but lists all versions of the objects. Even if the objects have been previously deleted. If there are more than 1000 object versions, it makes iterative calls to the AWS S3 API to retrieve the metadata for all versions

Usage

get_bucket_version_df(bucket_name, key_marker = "", prefix = "")

Arguments

bucket_name

Name of the bucket to connect. By default, it uses the Ministry for the Environment data lake for environmental reporting "mfedlkinput".

Value

A data frame with metadata about all of the versions of objects in a bucket.

Examples

## Not run: 
get_bucket_version_df()

## End(Not run)


StatisticsNZ/er.helpers documentation built on Oct. 2, 2023, 7:24 a.m.