2

Is there a way to get a S3 object user defined metadata by AmazonS3 listObjectsV2? The only way I see in order to fetch this metadata is after listObjectsV2 request make another getObjectMetadata or getObject request.

zeugor
  • 822
  • 1
  • 8
  • 18

1 Answers1

2

Is there a way to get a S3 object user defined metadata by AmazonS3 listObjectsV2?

No, this piece of information is not included in the listObjectsV2 response.

The only way I see in order to fetch this metadata is after listObjectsV2 request make another getObjectMetadata or getObject request.

Yes, this is correct. The only way to get this is to make a separate getObjectMetadata request.

jellycsc
  • 10,904
  • 2
  • 15
  • 32