code: def upload_object(self, file_path, object_name):
      if self.aws_kms_key_id:
          self.client.upload_file(  # pragma: no cover
              file_path,
              self.bucket,
              object_name,
              ExtraArgs={
                  "ServerSideEncryption": "aws:kms",
                  "SSEKMSKeyId": self.aws_kms_key_id,
              },
          )
      else:
          self.client.upload_file(file_path, self.bucket, object_name)
  
imports: import os
  from typing import Dict, Optional, Union
  import boto3
  import botocore
  import pydantic
  from structlog import get_logger
  from tenacity import retry
  from modelkit.assets import errors
  from modelkit.assets.drivers.abc import StorageDriver, StorageDriverSettings
  from modelkit.assets.drivers.retry import retry_policy
label_desc: Use image node_id 4 for calling the S3StorageDriver obj's underlying member method code with example usage: obj.upload_object(file_path, object_name) without return types