title: How to do filteration in AWS Amplify GraphQL Client
body: <p>I'm trying to implement GraphQL filter using Amplify GraphQL Client. I got a list of todos and wanted to retrieve list of todos that has status complete. </p>
  
  <p>The Documentation only show how to get all items and single item</p>
  
  <pre><code>const allTodos = await API.graphql(graphqlOperation(queries.listTodos));
  console.log(allTodos);
  </code></pre>
  
  <p>Could someone please point me how to apply filter to the listTodos so that it return todos with status complete only.</p>
  
  <p>I tried to do the following but it is wrong.</p>
  
  <pre><code>API.graphql(graphqlOperation(queries.listTodos(filter: {
      status: {
          eq: "completed"
      }
  })));
  </code></pre>