删除桶
使用delete_bucket删除存储桶
def delete_bucket(bucket_name):
try:
resp = s3_client.delete_bucket(Bucket=bucket_name)
print(resp)
except ClientError as e:
logging.error(e)
使用delete_bucket删除存储桶
def delete_bucket(bucket_name):
try:
resp = s3_client.delete_bucket(Bucket=bucket_name)
print(resp)
except ClientError as e:
logging.error(e)