Hello, I am stuck with buckets in a weird state, here are all my attempts:
Deleting
I have a set of old buckets in a really weird state, I am connected with the root user of my account and I want to delete them but impossible.

Properties
I can't even get the list of properties or permissions about these buckets, I get errors about IAM permissions that I am missing but since I am connected with the root user in theory I have all the permissions necessary ? (I even tried with and IAM user with the specific permissions but nothing)

CLI
With the CLI nothing more, I get these messages:
$ aws s3api list-object-versions --bucket "sagemaker-studio-0000000"
An error occurred (AccessDenied) when calling the ListObjectVersions operation: Access Denied
$ aws s3 rm s3://sagemaker-studio-0000000 --recursive
fatal error: An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
I'm out of ideas and don't know what to do to delete theses buckets.
Do you have any ideas ?
Thank you
Thanks for your reply !
I was able to delete the bucket that was in error state with the help of the link you provided
But sadly, as you can see in my previous screenshot, the 3 last buckets that are in
insufficient permissionsstate don't even allow me to see the policies or even the owner of the bucket (I am logged in as the root user) :/