code: def delete_endpoint(self, endpoint_name):
          
          LOGGER.info('Deleting endpoint with name: {}'.format(endpoint_name))
          self.sagemaker_client.delete_endpoint(EndpointName=endpoint_name)
docs: Delete an Amazon SageMaker ``Endpoint``.
  
          Args:
              endpoint_name (str): Name of the Amazon SageMaker ``Endpoint`` to delete.