class_docstr: Make async prediction requests to an Amazon SageMaker endpoint.
class_docstr_tok: ["Make","async","prediction","requests","to","an","Amazon","SageMaker","endpoint","."]
docstr: Delete the Amazon SageMaker endpoint backing this async predictor.
  
  This also delete the endpoint configuration attached to it if
  delete_endpoint_config is True.
  
  Args:
      delete_endpoint_config (bool, optional): Flag to indicate whether to
          delete endpoint configuration together with endpoint. Defaults
          to True. If True, both endpoint and endpoint configuration will
          be deleted. If False, only endpoint will be deleted.
docstr_tok: ["Delete","the","Amazon","SageMaker","endpoint","backing","this","async","predictor",".","This","also","delete","the","endpoint","configuration","attached","to","it","if","delete_endpoint_config","is","True",".","Args",":","delete_endpoint_config","(","bool",",","optional",")",":","Flag","to","indicate","whether","to","delete","endpoint","configuration","together","with","endpoint",".","Defaults","to","True",".","If","True",",","both","endpoint","and","endpoint","configuration","will","be","deleted",".","If","False",",","only","endpoint","will","be","deleted","."]
code: def delete_endpoint(self, delete_endpoint_config=True):
      """Delete the Amazon SageMaker endpoint backing this async predictor.
  
      This also delete the endpoint configuration attached to it if
      delete_endpoint_config is True.
  
      Args:
          delete_endpoint_config (bool, optional): Flag to indicate whether to
              delete endpoint configuration together with endpoint. Defaults
              to True. If True, both endpoint and endpoint configuration will
              be deleted. If False, only endpoint will be deleted.
      """
      self.predictor.delete_endpoint(delete_endpoint_config)
  
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 11 for calling the AsyncPredictor obj's underlying member method code with example usage: obj.delete_endpoint(delete_endpoint_config) without return types