AttributeError: 'S3' object has no attribute 'Bucket' code example
Example: "'S3' object has no attribute 'Bucket'", python boto3 aws
s3 = boto3.resource('s3')
the_bucket = s3.Bucket('my_bucket')
s3 = boto3.resource('s3')
the_bucket = s3.Bucket('my_bucket')