How to get the last access date of any resource in a bucket in amazon s3 in node.js?
问题 I am trying to get the last access date of a resource in a bucket. But not able find anything related to it. I tried to fetch all the access logs for a bucket and parsed the logs files to check if a resource is accessed. This is a very complex approach. In the s3.listObjects I am getting the below object:- { Key: '_636579271588176973_951622.json', LastModified: 2018-08-02T08:31:29.000Z, ETag: '"c348574fabf83d603984a60983add161"', Size: 32172, StorageClass: 'STANDARD', Owner: [Object] }, 回答1: