About a week or so ago I asked and answered a question on using the AWS command line tool. I put a lot of work and effort into the answer, and was highly surprised to find that it got closed as off-topic. Life got in the way since, and before I could even get round to asking the reason it was closed, the question was deleted.
On what basis was the question closed as off-topic in the first place, and why was it deleted so quickly?