code: def test_invoke_endpoint_with_inference_id(
      sagemaker_session, endpoint_name
  ):
      response = (
          sagemaker_session.sagemaker_runtime_client.invoke_endpoint(
              EndpointName=endpoint_name,
              Body=TEST_CSV_DATA,
              ContentType="text/csv",
              Accept="text/csv",
              InferenceId="foo",
          )
      )
      assert response
  
file_path: sagemaker-python-sdk/tests/integ/test_predict_with_inference_id.py
imports: from __future__ import absolute_import
  import os
  import pytest
  import tests.integ
  import tests.integ.timeout
  from sagemaker import image_uris
  from sagemaker.model import Model
  from sagemaker.predictor import Predictor
  from sagemaker.serializers import CSVSerializer
  from sagemaker.utils import unique_name_from_base
  from tests.integ import DATA_DIR
label_desc: Use image node_id 3 for calling a global function with example usage: test_invoke_endpoint_with_inference_id(sagemaker_session, endpoint_name) without return types