I am using the AWS ResourceGroupTagginApi (the get-resources command, https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html) to list all my resources in my account and check if the tags are setup as I want to.
No I notice that the get-resources command also returns resources, that I have already deleted.
The advantage of the ResourceGroupTagginApi for me is, that I can get all resources and there tags using one command, and I don't have to call the service specific apis (which I would have to implement for every service separately).
How can I only return resources that have not been deleted? Or how can I filter the resources out, that have already been deleted without using the service specific APIs?