  def RmObject(
      self,
      bucket: str,
      key: str
    ) -> None:
    """Remove an object from S3.

    Args:
      bucket (str): The S3 bucket.
      key (str): The object key (path).
    """
    if key.startswith('/'):
      key = key.lstrip('/')

    s3_client = self.aws_account.ClientApi(common.S3_SERVICE)
    s3_client.delete_object(Bucket=bucket, Key=key)
Remove an object from S3.

Args:
bucket (str): The S3 bucket.
key (str): The object key (path).
libcloudforensics/providers/aws/internal/s3.py