Answers for "how to delete s3 bucket using boto3"

0

how to delete s3 bucket using boto3

import boto3

s3 = boto3.resource('s3')
bucket = s3.Bucket('my-bucket')
response = bucket.delete()
Posted by: Guest on August-10-2021

Code answers related to "how to delete s3 bucket using boto3"

Browse Popular Code Answers by Language