若用户想获取Bucket回收站开通信息,获取当前回收站目录名,则如下代码所示:
response = bos_client.get_bucket_trash(bucket_name) print("trash_dir:", response.trash_dir)