title: python to write directly to S3 bucket
body: <p>I have a python function that prints some stuff. I am gonig to put that to AWS Lambda and would like to print these stuff directly to a file in S3 bucket. 
  So something to redirect stdout in S3 bucket file.
  This is how I call the fuction:</p>
  
  <pre><code>recurse_for_values(top_vault_prefix, top_level_keys)
  </code></pre>