Check if bucket exists
Updated at:2025-11-03
If users need to determine whether a bucket exists, the following code can achieve this:
Ruby
1client.does_bucket_exist(bucketName)





If users need to determine whether a bucket exists, the following code can achieve this:
1client.does_bucket_exist(bucketName)