I am trying to check the health of our SQS queues using boto3 for python. The health will be evaluated using AWS's quotas for in-flight messages: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-queues.html.
I am guessing the code will look something like this, but haven't found anything online so far.
SQS = boto3.client('sqs')
# Get queue using the SQS object
# Check if the queue is FIFO or not
# Get amount of in-flight messages
Any help is appreciated!