Open ghost opened 7 years ago
Well, I think the client should use list_subscriptions_by_topic
. There is no point in having this lambda retrieve all topics to filter then for its own topic.
UPDATE: Oh, there is a pr for this already: #5. Why hasn't this been merged yet?
What is the point of fetching the list of subscriptions, when it already knows the TopicArn?
snsClient.list_subscriptions() seems to be returning 6 endpoints and paging 7+ to next page. workarround as follow: