When using Python and AWS a good tool to learn is BOTO3. This will save lots of time easily, especially for SQS – queues.
To set up, this video is one of the best I found.
To install just use pip install boto3
Don’t forget the credentials configurations
From the quick start
s3 = boto3.resource('s3') # Print out bucket names for bucket in s3.buckets.all(): print(bucket.name)