Reputation: 1714
I am reading this documentation about Amazon AWS SQS API. The documentation explain it is possible to list all my queues. However I was wondering whether there is a way to list all my queues which are not empty. Is it possible?
My current approach is to get all my queues and then I have to filter them by size. However it implies to perform many requests to the API. I would be pleased to remove those request from my app side.
Upvotes: 0
Views: 245
Reputation: 34397
I don't think you can filter by queues that are not empty
Your current approach of calling "ListQueues" and then "GetQueueAttributes" for each one is probably the best way to do it
Upvotes: 3