class_docstr: Make prediction requests to an Amazon SageMaker endpoint.
class_docstr_tok: ["Make","prediction","requests","to","an","Amazon","SageMaker","endpoint","."]
docstr: Delete the Amazon SageMaker endpoint backing this 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","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 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.
      """
      if delete_endpoint_config:
          self._delete_endpoint_config()
  
      self.sagemaker_session.delete_endpoint(self.endpoint_name)
  
imports: from __future__ import print_function, absolute_import
  import abc
  import datetime
  from typing import Any, Dict, Optional, Tuple, Union
  import logging
  from sagemaker.enums import EndpointType
  from sagemaker.deprecations import deprecated_class, deprecated_deserialize, deprecated_serialize, removed_kwargs, renamed_kwargs, renamed_warning
  from sagemaker.deserializers import BytesDeserializer, CSVDeserializer, JSONDeserializer, NumpyDeserializer, StreamDeserializer, StringDeserializer
  from sagemaker.jumpstart.payload_utils import PayloadSerializer
  from sagemaker.jumpstart.types import JumpStartSerializablePayload
  from sagemaker.jumpstart.utils import get_jumpstart_content_bucket
  from sagemaker.model_monitor import DataCaptureConfig, DefaultModelMonitor, ModelBiasMonitor, ModelExplainabilityMonitor, ModelMonitor, ModelQualityMonitor
  from sagemaker.serializers import CSVSerializer, IdentitySerializer, JSONSerializer, NumpySerializer
  from sagemaker.session import production_variant, Session
  from sagemaker.utils import name_from_base, stringify_object, format_tags
  from sagemaker.model_monitor.model_monitoring import DEFAULT_REPOSITORY_NAME
  from sagemaker.lineage.context import EndpointContext
  from sagemaker.compute_resource_requirements.resource_requirements import ResourceRequirements
label_desc: Use image node_id 7 for calling the Predictor obj's underlying member method code with example usage: obj.delete_endpoint(delete_endpoint_config) without return types