title: How to upload a UIImage to S3 with AWS iOS SDK v2
body: <p>The README page in Github (<a href="https://github.com/aws/aws-sdk-ios-v2">https://github.com/aws/aws-sdk-ios-v2</a>) already has an example to upload an image, from the file path URL:</p>
  
  <pre><code>AWSS3TransferManagerUploadRequest *uploadRequest = [AWSS3TransferManagerUploadRequest new];
  uploadRequest.bucket = yourBucket;
  uploadRequest.key = yourKey;
  uploadRequest.body = yourDataURL; // &lt;&lt;&lt;&lt; this is a NSURL
  uploadRequest.contentLength = [NSNumber numberWithUnsignedLongLong:fileSize];
  </code></pre>
  
  <p>But, what if I only have a <code>UIImage</code> in memory (without file path)?
  Is it possible to upload a <code>UIImage</code> (or it's <code>NSData</code>) to <code>S3</code> using the <code>SDK</code>?</p>
  
  <p>Would it be easier to manually use the HTTP API (using something like AFNetworking)?</p>