菜单
Amazon Simple Storage Service
入门指南 (API Version 2006-03-01)

删除对象和存储桶

如果您完成此指南后不再需要存储您已上传并为其创建副本的对象,则应删除该对象以免进一步产生费用。

您可以逐个删除对象。或者,您可以清空存储桶,这将删除存储桶中的所有对象而不删除存储桶。

您也可以删除存储桶及其包含的所有对象。不过,如果您希望继续使用相同的存储桶名称,请不要删除该存储桶。我们建议您,清空并保留存储桶。删除存储桶后,该名称可供重用,但是出于各种原因,您可能无法重新使用该名称。例如,需经过一段时间之后才可再次使用相同名称,而且在您使用该名称之前,其他账户可能会在您之前已使用该名称创建了新存储桶。

To delete an object from a bucket

  1. In the Bucket name list, choose the name of the bucket that you want to delete an object from.

  2. In the Name list, select the check box next to the object that you want to delete, choose More, and then choose Delete.

  3. In the Delete objects dialog box, verify that the name of the object you selected for deletion is listed, and then choose Delete.

您可以清空存储桶,这将删除存储桶中的所有对象而不删除存储桶。

To empty a bucket

  1. In the Bucket name list, choose the bucket icon next to the name of the bucket that you want to empty and then choose Empty bucket.

  2. In the Empty bucket dialog box, type the name of the bucket for confirmation and then choose Confirm.

您可以删除存储桶及其包含的所有对象。

重要

如果您希望继续使用相同的存储桶名称,请不要删除该存储桶。我们建议您,清空并保留存储桶。删除存储桶后,该名称可供重用,但是出于各种原因,您可能无法重新使用该名称。

To delete a bucket

  1. In the Bucket name list, choose the bucket icon next to the name of the bucket that you want to delete and then choose Delete bucket.

  2. In the Delete bucket dialog box, type the name of the bucket for delete confirmation and then choose Confirm.

接下来,请参阅我从这里可以了解哪些内容?