title: How to get step machine id?
body: <h2>Problem</h2>
  <p>The issue is that whenever the step functions fail we want to do to a couple of things.</p>
  <ol>
  <li>Catch the error</li>
  <li>Send a notification (including the exact reference of the failure)</li>
  <li>Handle the error (reverse process)</li>
  </ol>
  <p>Currently, the only information that is available in the request-id, whenever there is an exception/error inside the traceback, there is only a limited amount of information. As seen in this reference <a href="https://docs.aws.amazon.com/lambda/latest/dg/python-context.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/lambda/latest/dg/python-context.html</a></p>
  <p>Tried:</p>
  <ul>
  <li>The context variable</li>
  <li>Digging into boto3 to find a hacky solution</li>
  <li>Step function ResultSet data (<em>doesn't provide \w error id</em>)</li>
  </ul>
  <hr />
  <p><strong>How to get</strong> the exact stack reference and pass it to a lambda or access it within a lambda?</p>