Removing Sagemaker Studio Entries in AWS CLI Output

0

How can I eliminate the Sagemaker Studio entries so that when I execute aws s3 ls --profile admin-1, the AWS CLI doesn't display any output?

Despite not having any SageMaker domains under my ownership, the AWS CLI presented two Sagemaker Studio entries when I used aws s3 ls --profile admin-1.

2023-11-01 16:13:02 sagemaker-studio-111122223333-XXXXXXXXXXX
2023-11-01 15:58:50 sagemaker-studio-111122223333-OOOOOOOOOOO
hkung
질문됨 7달 전187회 조회
1개 답변
0
수락된 답변

The aws s3 ls command as used will list S3 buckets visible to the admin-1 profile. Therefore, the two entries you see returned are not SageMaker domains, but rather S3 buckets with sagemaker in the name. A likely scenario is that these buckets were created and being used with SageMaker domains, and then even though the domains were deleted, the associated S3 buckets were left in place. An appropriate CLI command to check SageMaker domains visible to the admin-1 profile is aws sagemaker list-domains.

AWS
답변함 7달 전
  • Thank you for your reply. I managed to delete those S3 buckets.

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

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

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

관련 콘텐츠