You can use s3.headObject so it doesn't return the whole object, just the metadata.
You can use s3.headObject so it doesn't return the whole object, just the metadata.