简体   繁体   中英

AWS SQS API: List non empty queues

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM