I'm trying to get list of roles with special tags Python version 3.9 Boto3 version 1.16.25 There is my code iam = boto3.client('iam', region_name='us-east-1') r
we construct some data which is in nested format, it contains 3 keys. the time, id and others where id contains another nested dict. We have no idea how to crea
Trying to get count of objects in S3 folder Current code bucket='some-bucket' File='someLocation/File/' objs = boto3.client('s3').list_objects_v2(Bucket=buck
I'm trying to move all files of specific file extensions from one folder to another using the S3 API. The code I'm using to move files is: s3_resource = boto3.r
I have a lambda function that triggers when any new objectCreated(s3:Objectcreated.*) in a Bucket A-prod, This lambda process the file saves the result in B-pro
I am trying to read h5 file from AWS S3 using boto3. client = boto3.client('s3',key ='key') result = client.get_object(Bucket='bucket', Key='file') with h5py.F
I'm trying to setup Amazon S3 for my Django app and I keep getting told 'Required parameter name not set '. This error seems to happen when an image needs to be
I am working with athena from within my python code, using boto3, as follows: def query_athena(query, output_path): client = boto3.client('athena') clie
Is there a way to get all the resources in the aws account through python code using boto3. I went through the documentation, didn't find any list function whic
I have fields below in dynamo dB table event_on -- string type user_id -- number type event name -- string type Since this table may have multiple records for
For some reason, when I attempt to read a hdf file from S3 using the pandas.read_hdf() method, I get a FileNotFoundError when I put an s3 url. The file definite
I'm writing my own wrapper around boto3 for quick firing functions. I'm trying to type annotate what boto3.session().client('ec2') returns. Debugger says it's &
Basically, I'm trying to create an endpoint to Upload files to Amazon S3. async def upload_files(filepath: str, upload_file_list: List[UploadFile] = File(...)):
I want to fetch a list of objects from a DynamoDB table with the following scan video_list = video_table.scan( FilterExpression="attribute_not_exists(ti
in aws iot- with boto3 (python) I want to check if a certificate has attached things to it. how can I do that? Thanks.
I need to fetch a list of items from S3 using Boto3, but instead of returning default sort order (descending) I want it to return it via reverse order. I know
I'm trying to create a test with pytest and moto that check if the StackStatus from the dictionary returned from the function list_stacks() (https://boto3.amaz
I'm trying to set up a simple MLflow tracking server with docker that uses a mysql backend store and S3 bucket for artifact storage. I'm using a simple docker-
How can I go about disassociating a particular security group from all EC2 instances and then associate it with a new EC2 instance, with boto3? I'm trying somet
import boto import boto3 from boto.s3.connection import S3Connection from boto.sts import STSConnection # Prompt for MFA time-based one-time password (TOTP) mf