I am trying to list the metadata about all the S3 buckets available in my AWS account using the boto3 client.
I tried below api: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.list_buckets but it just returns the bucket name and created date.
I am looking for more details like:
- Bucket Region
- Bucket status like Active
- Bucket Id (if there is any)
It would be more helpful if I can get a single API which can return all these details as describe_instances of EC2 returns more metadata.
Any help is highly appreciated