We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8226f90 commit c8af6e0Copy full SHA for c8af6e0
src/sagemaker/estimator.py
@@ -796,7 +796,7 @@ def delete_endpoint(self):
796
"""Delete an Amazon SageMaker ``Endpoint``.
797
798
Raises:
799
- ValueError: If the endpoint does not exist.
+ botocore.exceptions.ClientError: If the endpoint does not exist.
800
"""
801
self._ensure_latest_training_job(error_message="Endpoint was not created yet")
802
self.sagemaker_session.delete_endpoint(self.latest_training_job.name)
0 commit comments