botocore Questions
7
Solved
I want to use django-storages to store my model files in Amazon S3 but I get Access Denied error. I have granted the user almost all S3 permission PutObject, ListBucketMultipartUploads, ListMultipa...
3
Solved
I am trying to learn python for aws using boto3 so I was trying to execute code given here https://boto3.readthedocs.io/en/latest/guide/s3-example-creating-buckets.html
I got errors module boto3 no...
Sculpt asked 18/8, 2018 at 17:29
3
I need to add some custom headers to every boto3 request that is sent out. Is there a way to manage the connection itself to add these headers?
For boto2, connection.AWSAuthConnection has a method...
Tubercle asked 13/11, 2019 at 0:51
3
Is there a way to concurrently download S3 files using boto3 in Python3?
I am aware of the aiobotocore library, but I would like to know if there is a way to do it using the standard boto3 library....
Hover asked 4/1, 2018 at 9:6
0
I've just seen that my web applications docker image is enormous. A 600-MB reason is the packages I install for it. The biggest single offender is botocore with 77.7 MB.
Apparently this is known be...
Tube asked 6/2, 2023 at 22:54
1
I am using docker compose with bitnami's airflow image as well as minio.
I can get airflow to talk to AWS S3, but when I try to substitute Minio I am getting this error:
File "/opt/bitnami/air...
Purple asked 14/6, 2022 at 5:22
1
I have a Python app running on an OpenWrt router (Chaos Calmer) that uses the boto3 package for creating and updating AWS IoT thing shadows. The app is packaged with its own Python and dependencies...
8
Solved
I'm trying to mock a singluar method from the boto3 s3 client object to throw an exception. But I need all other methods for this class to work as normal.
This is so I can test a singular Exceptio...
10
Solved
Following the documentation, I'm trying to create an update statement that will update or add if not exists only one attribute in a dynamodb table.
I'm trying this
response = table.update_item(
...
Colville asked 24/12, 2015 at 4:38
3
Solved
I need to get the account-id of the 'current user' in a boto3 script. Up to now my best solution is to parse the current user arn:
>>> import boto3
>>> account_id = boto3.resourc...
2
I was following the boto3 quickstart instructions and I can run import boto3, but when I try to execute any basic command like db = boto3.resource('dynamodb') I get
Traceback (most recent call last...
3
I intend to perform some memory intensive operations on a very large csv file stored in S3 using Python with the intention of moving the script to AWS Lambda. I know I can read in the whole csv nto...
Manful asked 28/6, 2018 at 14:33
4
CircleCi returns the following error:
No matching distribution found for botocore <1.22.0,> = 1.21.0 (from awsebcli).
My config.yml file installs the following dependencies:
sudo apt-get -y...
1
Solved
Yesterday the following cell sequence in Google Colab would work.
(I am using colab-env to import environment variables from Google Drive.)
This morning, when I run the same code, I get the ...
Looselimbed asked 20/8, 2021 at 15:54
3
Solved
I'm hitting an error with code that connects to AWS using boto3. The error just started yesterday afternoon, and between the last time I didn't get the error and the first time I got the error I do...
3
I am using AWS Cognito to make OAuth server. I am now creating the exception handler in case use does not exist, but requests intended to get one
ipdb> pk
'David'
ipdb> res = self.cognito_cl...
6
Solved
OVERVIEW:
I'm trying to override certain variables in boto3 using the configuration file (~/aws/confg).
In my use case I want to use fakes3 service and send S3 requests to the localhost.
EXAMPLE:
I...
Avidity asked 16/9, 2015 at 20:36
4
I executed command pip3 install awscli --upgrade --user on my MAC and got the following:
boto3 1.8.8 has requirement botocore<1.12.0,>=1.11.8, but you'll have botocore 1.12.160 which is inco...
2
Solved
I am trying to download files from a s3 bucket by using the Access Key ID and Secret Access Key provided by https://db.humanconnectome.org. However, even though I am able to navigate the database a...
Slender asked 22/4, 2019 at 13:34
1
If I try to install the latest version of aiobotocore pip3 install aiobotocore==0.10.3 it says my version of botocore is incompatible and I need an older version of it.
ERROR: aiobotocore 0.10.3 ...
Neille asked 7/9, 2019 at 4:5
3
Solved
I trying to find out the latest task and image used for ECS container service. I tried using AWS ECS cli, able to list services/tasks running but not able to find out running latest task ID and ima...
Backman asked 26/2, 2018 at 13:11
1
Solved
We are using a proxy + profile when using the aws s3 commands to browse our buckets in CLI.
export HTTPS_PROXY=https://ourproxyhost.com:3128
aws s3 ls s3://our_bucket/.../ --profile dev
And we c...
Disulfiram asked 13/3, 2020 at 3:49
1
I use an Elastic Beanstalk environment for deploying a web application, and I've set up an IAM role for the instances the application will run on.
Everything works flawlessy 99.99% of the time, ho...
Bultman asked 2/10, 2019 at 22:54
3
Solved
I am using boto3 SQS client to receive messages from AWS SQS FIFO queue.
def consume_msgs():
sqs = None
try:
sqs = boto3.client('sqs',
region_name=S3_BUCKET_REGION,
aws_access_key_id=AWS_ACCES...
Hadji asked 6/10, 2018 at 1:43
1
Solved
Currently writing tests and trying to make use of the Stubber provided by botocore.
I'm trying:
client = boto3.client("s3")
response = {'Body': 'content'}
expected_params = {'Bucket': 'a_bucket_n...
Lunchroom asked 12/12, 2019 at 11:19
1 Next >
© 2022 - 2024 — McMap. All rights reserved.