code: def test_hard_delete_record(
      feature_store_session,
      role,
      feature_group_name,
      pandas_data_frame,
      historic_record,
      record,
  ):
      feature_group = FeatureGroup(
          name=feature_group_name,
          sagemaker_session=feature_store_session,
      )
      feature_group.load_feature_definitions(
          data_frame=pandas_data_frame
      )
  
      record_identifier_value_as_string = record[0].value_as_string
      historic_record_identifier_value_as_string = historic_record[
          0
      ].value_as_string
      with cleanup_feature_group(feature_group):
          feature_group.create(
              s3_uri=False,
              record_identifier_name="feature1",
              event_time_feature_name="feature3",
              role_arn=role,
              enable_online_store=True,
          )
          _wait_for_feature_group_create(feature_group)
          # Ingest data
          feature_group.put_record(record=record)
          # Retrieve data
          retrieved_record = feature_group.get_record(
              record_identifier_value_as_string=record_identifier_value_as_string,
          )
          assert retrieved_record is not None
          # Delete data
          feature_group.delete_record(
              record_identifier_value_as_string=record_identifier_value_as_string,
              event_time=datetime.datetime.now()
              .replace(microsecond=0)
              .isoformat()
              + "Z",
              deletion_mode=DeletionModeEnum.HARD_DELETE,
          )
          # Retrieve data
          retrieved_record = feature_group.get_record(
              record_identifier_value_as_string=record_identifier_value_as_string,
          )
          assert retrieved_record is None
          # Ingest data
          feature_group.put_record(historic_record)
          # Retrieve data
          retrieved_record = feature_group.get_record(
              record_identifier_value_as_string=historic_record_identifier_value_as_string,
          )
          assert retrieved_record is not None
  
imports: from __future__ import absolute_import
  import datetime
  import json
  import time
  import dateutil.parser
  from contextlib import contextmanager
  import boto3
  import numpy
  import pandas
  import pytest
  from pandas import DataFrame
  from sagemaker.feature_store.feature_utils import get_feature_group_as_dataframe
  from sagemaker.feature_store.feature_definition import FractionalFeatureDefinition, StringFeatureDefinition, ListCollectionType
  from sagemaker.feature_store.feature_group import FeatureGroup
  from sagemaker.feature_store.feature_store import FeatureStore
  from sagemaker.feature_store.inputs import FeatureValue, FeatureParameter, TableFormatEnum, Filter, ResourceEnum, Identifier, DeletionModeEnum, TtlDuration, OnlineStoreConfigUpdate, OnlineStoreStorageTypeEnum
  from sagemaker.feature_store.dataset_builder import JoinTypeEnum
  from sagemaker.session import get_execution_role, Session
  from tests.integ.timeout import timeout
  from urllib.parse import urlparse
label_desc: Use image node_id 25 for calling a global function with example usage: test_hard_delete_record(feature_store_session, role, feature_group_name, pandas_data_frame, historic_record, record) without return types