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

AWSBuckets.getFileMetadata() method

Get file metadata

Signature:

getFileMetadata(bucketName: string, filePath: string): Promise<BucketFileMetadata>;

Parameters

Parameter Type Description
bucketName string Bucket name
filePath string File key or fully qualified name

Returns:

Promise<BucketFileMetadata>