get Object Metadata
abstract suspend fun getObjectMetadata(key: String, options: S3Client.KeyOptions = 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.