To re-use an existing SageMaker endpoit, you have to use the UpdateEndpoint API: see https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateEndpoint.html
Deploys the new EndpointConfig specified in the request, switches to using newly created
endpoint, and then deletes resources provisioned for the endpoint using the previous
EndpointConfig (there is no availability loss).
When SageMaker receives the request, it sets the endpoint status to Updating. After
updating the endpoint, it sets the status to InService. To check the status of an endpoint,
use the DescribeEndpoint API.
You must not delete an EndpointConfig in use by an endpoint that is live or while the
UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint.
To update an endpoint, you must create a new EndpointConfig.
If you delete the EndpointConfig of an endpoint that is active or being created or
updated you may lose visibility into the instance type the endpoint is using. The endpoint
must be deleted in order to stop incurring charges.
For Python, the API is detailled here: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker/client/update_endpoint.html
you can use the predictor class to do this.
- How do I troubleshoot errors when I import data into my Amazon SageMaker Studio using SageMaker Data Wrangler?AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- EXPERTpublished 2 months ago