title: Is there a way to get API's from AWS API Gateway by name instead of ID using the AWS CLI?
body: <p><code>aws apigateway get-rest-api --rest-api-id &lt;api_id&gt;</code>   --&gt; gives you a specific API but I want to know is there a way that u can get an API by its name using the <code>aws</code> cli.</p>
  <p>I have already tried this command but didn't work.</p>
  <pre><code>aws apigateway get-rest-api --rest-api-name &lt;api_name&gt;
  </code></pre>