Home > @hapoosjs/aws-buckets > AWSBuckets > listFiles

AWSBuckets.listFiles() method

List files in a bucket or folder within a bucket

Signature:

listFiles(bucketName: string, options?: ListFilesOptions): Promise<BucketFileList>;

Parameters

Parameter Type Description
bucketName string Bucket name
options ListFilesOptions (Optional)

Returns:

Promise<BucketFileList>