getObject

abstract suspend fun <T> getObject(input: GetObjectRequest, block: suspend (GetObjectResponse) -> T): T

Downloads the object at the specified path. If the object’s upload availability is set to streaming, AWS Elemental MediaStore downloads the object even if it’s still uploading the object.