MySQL: programatically get list of binlog files
<p>How can I programatically get a list of a particular mysql instance's binlogs?  ie. the same information provided by</p>

<pre><code>mysql&gt; show binary logs;
</code></pre>

<p>update: version 5.6 / AWS Aurora preferred.</p>