class_docstr: Make async prediction requests to an Amazon SageMaker endpoint.
class_docstr_tok: ["Make","async","prediction","requests","to","an","Amazon","SageMaker","endpoint","."]
docstr: Create request and invoke async endpoint with the request
docstr_tok: ["Create","request","and","invoke","async","endpoint","with","the","request"]
code: def _submit_async_request(
      self,
      input_path,
      initial_args,
      inference_id,
  ):
      """Create request and invoke async endpoint with the request"""
      request_args = self._create_request_args(
          input_path, initial_args, inference_id
      )
  
      response = self.sagemaker_session.sagemaker_runtime_client.invoke_endpoint_async(
          **request_args
      )
  
      return response
  
imports: from __future__ import absolute_import
  import threading
  import time
  import uuid
  from botocore.exceptions import WaiterError
  from sagemaker import s3
  from sagemaker.exceptions import PollingTimeoutError, AsyncInferenceModelError
  from sagemaker.async_inference import WaiterConfig, AsyncInferenceResponse
  from sagemaker.s3 import parse_s3_url
  from sagemaker.session import Session
  from sagemaker.utils import name_from_base, sagemaker_timestamp, format_tags
label_desc: Use image node_id 6 for calling the AsyncPredictor obj's underlying member method code with example usage: obj._submit_async_request(input_path, initial_args, inference_id) and returns: response