Top "Boto3" questions

Boto 3 - The Amazon Web Services (AWS) SDK for Python

Listing contents of a bucket with boto3

How can I see what's inside a bucket in S3 with boto3? (i.e. do an "ls")? Doing the following: …

python amazon-s3 boto boto3
How to write a file or data to an S3 object using boto3

In boto 2, you can write to an S3 object using these methods: Key.set_contents_from_string() Key.set_contents_…

python amazon-web-services amazon-s3 boto boto3
Open S3 object as a string with Boto3

I'm aware that with Boto 2 it's possible to open an S3 object as a string with: get_contents_as_string() …

python amazon-s3 boto boto3
How to handle errors with boto3?

I am trying to figure how to do proper error handling with boto3. I am trying to create an IAM …

python amazon-web-services boto boto3
check if a key exists in a bucket in s3 using boto3

I would like to know if a key exists in boto3. I can loop the bucket contents and check the …

python amazon-s3 boto3
boto3 client NoRegionError: You must specify a region error only sometimes

I have a boto3 client : boto3.client('kms') But it happens on new machines, They open and close dynamically. if …

python linux amazon-web-services boto3 aws-kms
Boto3 Error: botocore.exceptions.NoCredentialsError: Unable to locate credentials

When I simply run the following code, I always gets this error. s3 = boto3.resource('s3') bucket_name = "python-sdk-sample-%…

boto boto3
Retrieving subfolders names in S3 bucket from boto3

Using boto3, I can access my AWS S3 bucket: s3 = boto3.resource('s3') bucket = s3.Bucket('my-bucket-name') Now, the …

python amazon-web-services amazon-s3 boto3
How to save S3 object to a file using boto3

I'm trying to do a "hello world" with new boto3 client for AWS. The use-case I have is fairly simple: …

python amazon-web-services boto boto3
Unable to install boto3

I have trouble installing boto3 inside a virtual environment. I have done what the document says. First I activated virtual …

python virtualenv boto3