title: What's the equivalent of the aws cli --query flag with golang aws sdk?
body: <p>I can't figure out what's the <code>aws-sdk-go(-v2)</code> equivalent of the <code>--query</code> flag with the aws cli.</p>
  <p>For instance, what would be the equivalent of this aws cli command (returning the policy with the name <code>my-policy-name</code> ) ?</p>
  <pre><code>aws iam list-policies --query 'Policies[?PolicyName==`my-policy-name`]' 
  </code></pre>
  <p>Do I have to fetch all policies then &quot;manually&quot; iterate over the results as long as I don't find a match ?</p>