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 個月前檢視次數 186 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南