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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ