title: What are the valid instanceState's for the Amazon EC2 API?
body: <p>What are the valid instanceState's for the Amazon EC2 API? It doesn't seem to be defined in the current <a href="http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/ApiReference-SOAP-DescribeInstances.html" rel="noreferrer">API doc</a>. Google doesn't turn up much. So far I know about:</p>
  
  <ul>
  <li>0: pending</li>
  <li>16: running</li>
  <li>32: shutting-down</li>
  <li>48: terminated</li>
  </ul>
  
  <p>but I'm pretty sure I've seen an <code>error</code> state before.</p>
  
  <p>Thanks!</p>