当我尝试使用以下行删除bucket时:
conn = boto.connect_s3(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
print conn.delete_Bucket('BucketNameHere').message
它告诉我我试图删除的bucket不是空的。在
桶里没有钥匙。但它确实有版本。在
如何删除版本?在
我可以看到使用的版本列表bucket.list\u版本()
Java的s3连接上有一个deleteVersion方法。我在这里找到了密码:
http://bytecoded.blogspot.com/2011/01/recursive-delete-utility-for-version.html
他这样做是为了删除版本:
^{pr2}$博图有什么可比的吗?在
Boto在1.9c版本之后确实支持版本控制的bucket,其工作原理如下:
相关问题 更多 >
编程相关推荐