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
demandé il y a 7 mois186 vues
1 réponse
0
Réponse acceptée

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
répondu il y a 7 mois
  • Thank you for your reply. I managed to delete those S3 buckets.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions