- Newest
- Most votes
- Most comments
Hi,
Your objects seem to be inference endpoints.
So, can you try aws sagemaker delete-endpoint
?
See https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sagemaker/delete-endpoint.html
Best,
Didier
Understood on your latest comment, Alex (no endpoint in service). Have you tried using the ARN instead?
aws sagemaker delete-inference-component --inference-component-name "arn:aws:sagemaker:eu-central-1:904977793552:inference-component/dev-epostbox-v1-summarization-inference-0"
I would also ensure that you have the latest copy of the AWS CLI version 2
If the above solves the issue, please choose this as the Accepted Answer so others on re:Post may benefit - Thank you!
Yes, but inference-component-name expects: regular expression pattern: ^a-zA-Z0-9?$ Member must have length less than or equal to 63
Hi, Alex
Try the preliminary steps included below also.
- List and Delete the Endpoint Configurations
aws sagemaker list-endpoint-configs
aws sagemaker delete-endpoint-config --endpoint-config-name <config_name>
- List the Endpoints
aws sagemaker list-endpoints
- List the inference components
aws sagemaker list-inference-components
- If you want to filter only the endpoint-associated inference component, you can use the option like below:
aws sagemaker list-inference-components --endpoint-name <endpoint_name>
- Delete the inference component
aws sagemaker delete-inference-component --inference-component-name <component_name>
It will take a minute or two to completely delete it.
You can check whether it is deleted with the command in step4 (list the inference component).
- Delete the endpoint
aws sagemaker delete-endpoint --endpoint-name <endpoint_name>
Hello Eric. It's not working. As I said, I deleted all endpoints, configurations and models. I had only those inference component objects.
An error occurred (ValidationException) when calling the DeleteInferenceComponent operation: Could not find endpoint "DEMO-1706784905-e5b4-endpoint".
Relevant content
- asked a year ago
- asked a year ago
- asked 10 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
Hello and thanks for your time .The objects are inference-components (aws sagemaker list-inference-components --region eu-central-1) . I don't have any endpoints in service right now. That's why it's very strange that I cannot delete these objects.