title: About permission in S3 file transfer
body: <p>I'm using S3TransferManager-Sample to do testing. I created the Cognito and setup the IAM and change the constants.swift file at last.I have no problem to upload but failed to download. The error message is:</p>
  
  <blockquote>
    <p>download failed: [Error Domain=com.amazonaws.AWSS3ErrorDomain Code=1
    "The operation couldn’t be completed. (com.amazonaws.AWSS3ErrorDomain
    error 1.)" UserInfo=0x7f8cd658a5a0
    {HostId=d4yLouhlYmGn4s1Zp54+EOsZQEy2bVEGNs5XIa8pMxerJggANV/9Zb82c1QtF/5Hsn5KqYXGqdw=,
    Message=Access Denied, Code=AccessDenied, RequestId=A1966393EAC3F15F}]</p>
  </blockquote>
  
  <p>Here is my setting for the role:</p>
  
  <p><img src="https://i.stack.imgur.com/86UzI.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/oAq7H.png" alt="enter image description here"></p>
  
  <p>My setting in the S3 bucket:</p>
  
  <p><img src="https://i.stack.imgur.com/Gymo8.png" alt="enter image description here"></p>
  
  <p>Of course when I added "Everyone" to allow "List" permission, I can download. But what is the purpose for Cognito then? Thanks</p>