Skip to contents

Returns some or all (up to 1,000) of the objects in an S3 directory.

Usage

s3_list_files_dir(s3dir, max_objects = 1000)

Arguments

s3dir

S3 directory.

max_objects

Maximum objects returned.

Value

A tibble with object basename, size, last modified timestamp, and full S3 path.

Examples

if (FALSE) { # \dontrun{
p1 <- "s3://org.umccr.data.oncoanalyser/analysis_data/SBJ05373/sash"
p2 <- "20240707becde493/L2401018_L2401017/SBJ05373_MDX240220"
s3dir <- file.path(p1, p2, "cancer_report/cancer_report_tables")
s3_list_files_dir(s3dir, max_objects = 15)
} # }