getObjectMetadata

open suspend override fun getObjectMetadata(key: String, options: S3Client.KeyOptions): ObjectMetadata

Returns the metadata associated with the object with the given key.

Return

The ObjectMetadata.

Parameters

key

String The object's key.

options

KeyOptions Optional options to configure key handling behaviour.