Boto 3 - The Amazon Web Services (AWS) SDK for Python
6,687 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
AWS Boto3 SQS endpoint URL issue
We have a Lambda function that sends messages to SQS queue. We are using boto3. We have built a new environment and Lambda is running in a VPC on a private subnet. The VPC end point is com.amazonaws.... boto3 amazon-sqs
AndrewK
- 11
boto3 : Create a S3 bucket with ACLs disabled
I am trying to create a new bucket on S3 using boto3 and python. However, I want its ACLs to be disabled. I have tried the following code, but ACLs are still enabled. How can I disable ACLs using ... python
amazon-s3 boto3 acl
ambb
- 29
django file field not saving file to s3 bucket folder when updating
I am uploading file to s3 bucket in the below path: bucket/folder/{custom_id}/file I have the below method which I am calling in Model. In DRF Post method, the file is getting saved correctly to s3 ... django
amazon-web-services
amazon-s3 django-rest-framework boto3
sk01
- 35
An error occurred (AccessDenied) when calling the PutPublicAccessBlock operation: Access Denied
I'm trying to implement PutPublicAccessBlock operation on S3 bucket inside my account. My code sample as below. s3Client.put_public_access_block( Bucket= name, ...
amazon-web-services
amazon-s3 aws-lambda boto3 amazon-iam
shane
- 11
how to edit/rename/remove keys and values in multiple json files from aws s3 in python
I have JSON files in a folder and (sub folders: Folder A has sub folder B and C and so on) within AWS S3 bucket and I would like to change the name of the keys of all the JSON files and remove some ... python json key boto3 rename
H_H
- 3
ssm is not available after instance_running waiter is done
I want to start a stopped ec2 instance and run a bash script on it using ssm. Here's the code I have: import boto3 instanceid = 'i-123456789' ec2 = boto3.resource('ec2') instance = ec2.Instance(... python
amazon-web-services
amazon-ec2 boto3 aws-ssm
rfg
- 1,267
Redirect multiple print output to single file in json format using python
I have used boto3 to read and print metadata from s3 bucket. As a next step i want to redirect the printed output in a json file and write the json file to s3 bucket. The printed output has 2 fields ... python
amazon-s3 boto3
AMIT SINGH
- 1
An error occurred (UnrecognizedClientException) when calling the UpdateItem operation: The security token included in the request is invalid
I'm getting this error in my cloudwatch logs botocore.exceptions.ClientError: An error occurred (UnrecognizedClientException) when calling the UpdateItem operation: The security token included in the ...
amazon-web-services
amazon-dynamodb boto3
Mitchell Privett
- 36
AWS Boto3 EKS - how to check for cluster updates
This is a very specific question but does anyone know if there's boto3 EKS method that ... python
amazon-web-services boto3 amazon-eks
awab-dogsbody
- 13
How to invoke Lambda function using boto3 and passing parameters
This time I'm looking for passing parameters to lambda invoke using boto3.client instead of make a request to API gateway. Assume I developed a lambda function that can be invoked through api get. ie: ... python
amazon-web-services aws-lambda boto3
ninsignares
- 9
Boto3 timeout troubleshooting
I am trying to troubleshoot a situation. I am initiating a Boto3 client like this: s3_client = boto3.client('s3') Then I am iterating over a number of files and uploading them using: s3_client.... python
amazon-web-services
amazon-s3 boto3
mangotango
- 135
Boto3 version mismatch seemingly causing error when using create_function() method with AWSLambda
I am having an issue creating a AWS Lambda function programmatically. The error I get is botocore.exceptions.ParamValidationError: Parameter validation failed: Unknown parameter in input: "... python
amazon-web-services aws-lambda boto3 botocore
BoiteNoire
- 47
How to resolve boto3 double encoding "/" character in s3 key?
I have an s3 key which looks like below - s3://bucket-name/naxi.test some/other value I am using urllib.parse to quote it. s3_key=quote(s3_path,safe=' ') This gives me s3://bucket-name/naxi.test ... python
amazon-web-services
amazon-s3 boto3
Naxi
- 974
An error occurred (ValidationError) when calling the PutMetricAlarm operation: Invalid metrics list
i'm facing below issue while creating alarm by using put_metric_alarm function in Python [ERROR] ClientError: An error occurred (ValidationError) when calling the PutMetricAlarm operation: Invalid ... python
amazon-web-services boto3
prem Rexx
- 69
Put_metric_alarm - How to use comparison operator with "Equal to Threshold" in AWS - Python Boto3
Currently, I can see only below possible values for the Comparision parameter, is it possible for EqualToThreshold to be used as comparison operator? GreaterThanOrEqualToThreshold GreaterThanThreshold ... python
amazon-web-services boto3
prem Rexx
- 69
153050per page