title: Is AWS SQS the right choice for tasks with hierarchical relationships?
body: <p>At this moment I use a simple table in the database to store all my tasks. Every task has the following structure:</p>
  <pre><code>class Task:
      id: int
      parent_id: int
      priority: int
      command: int
      arg: str
      status: int
  </code></pre>
  <p>In short, there is a typical task queue that's stored as a table in DB. Now, I think to use <strong>Amazon Web Services SQS</strong> as more suitable and professional solution (also it's a requirement of my customers). However, in the database I could just check <code>status</code> of a parent task and if it was completed or failed then to execute a child task. Is it possible in <strong>Amazon Web Services SQS</strong> or I've chosen a wrong service for my problem? What's a right way to make it if it's possible?</p>
  <p><strong>P.S.</strong> If it's important I use <strong>Python 3.9.5</strong> with <strong>boto3</strong> to access <strong>AWS</strong>.</p>