s3 = boto3.resource('s3') s3.Object('your-bucket', 'your-key').delete()
import boto3 s3 = boto3.resource('s3') bucket = s3.Bucket('my-bucket') response = bucket.delete()