  def RmObjectByPath(
      self,
      s3_path: str
    ) -> None:
    """Remove an object from S3.

    Args:
      s3_path (str): The path of the object to remove.
    """
    if not s3_path.startswith('s3://'):
      s3_path = 's3://' + s3_path
    bucket, key = SplitStoragePath(s3_path)

    self.RmObject(bucket, key)
Remove an object from S3.

Args:
s3_path (str): The path of the object to remove.
libcloudforensics/providers/aws/internal/s3.py