Error when deleting Inference Endpoint in Sagemaker using CLI


I am trying to delete my inference endpoint using the AWS CLI because I can't do so via the Studio. However, when I try to list the inference components using

aws sagemaker list-inference-components

command, I am getting an error of 'aws: error: argument operation: Invalid choice'. There does not seem to be a list-inference-components command in the AWS CLI . I tried using boto3 and got into the same error. Can someone please help?

2개 답변
수락된 답변


The command exists.
Also, if you are running the command with options, check that the options are set correctly.

Please upgrade the AWS CLI version to the latest version and try again.

Or try setting the AWS CLI execution environment to CloudShell.

profile picture
답변함 4달 전
profile pictureAWS
검토됨 4달 전

It works after upgrading the AWS CLI - thanks!

답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠