import boto3
import pprint

s3 = boto3.client("s3")
# creates 3 bucket with default set up
response = s3.create_bucket(Bucket="binary-guy-frompython-1")
print(pprint.pprint(response))


# following parameters can be passed while creating bucket
response = s3.create_bucket(
    ACL="private",
    Bucket="binary-guy-frompython-2",
    CreateBucketConfiguration={"LocationConstraint": "ap-south-1"},
)
print(pprint.pprint(response))

fb55997d7af2a9b84bf7f69d4c3e426378bb2384
<mask token>

<mask token>
print(pprint.pprint(response))
<mask token>
print(pprint.pprint(response))

<mask token>
s3 = boto3.client('s3')
response = s3.create_bucket(Bucket='binary-guy-frompython-1')
print(pprint.pprint(response))
response = s3.create_bucket(ACL='private', Bucket='binary-guy-frompython-2',
    CreateBucketConfiguration={'LocationConstraint': 'ap-south-1'})
print(pprint.pprint(response))

import boto3
import pprint
s3 = boto3.client('s3')
response = s3.create_bucket(Bucket='binary-guy-frompython-1')
print(pprint.pprint(response))
response = s3.create_bucket(ACL='private', Bucket='binary-guy-frompython-2',
    CreateBucketConfiguration={'LocationConstraint': 'ap-south-1'})
print(pprint.pprint(response))

import boto3
import pprint

s3 = boto3.client("s3")
# creates 3 bucket with default set up
response = s3.create_bucket(Bucket="binary-guy-frompython-1")
print(pprint.pprint(response))


# following parameters can be passed while creating bucket
response = s3.create_bucket(
    ACL="private",
    Bucket="binary-guy-frompython-2",
    CreateBucketConfiguration={"LocationConstraint": "ap-south-1"},
)
print(pprint.pprint(response))
