code: def test_predict_async_call_invalid_input():
      sagemaker_session = empty_sagemaker_session()
      predictor_async = AsyncPredictor(
          Predictor(ENDPOINT, sagemaker_session)
      )
  
      with pytest.raises(
          ValueError,
          match="Please provide input data or input Amazon S3 location to use async prediction",
      ):
          predictor_async.predict_async()
  
      with pytest.raises(
          ValueError,
          match="Please provide input data or input Amazon S3 location to use async prediction",
      ):
          predictor_async.predict()
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock
  from sagemaker.async_inference.waiter_config import WaiterConfig
  from sagemaker.predictor import Predictor
  from sagemaker.predictor_async import AsyncPredictor
  from sagemaker.exceptions import AsyncInferenceModelError, PollingTimeoutError
label_desc: Use image node_id 12 for calling a global function with example usage: test_predict_async_call_invalid_input() without return types