About permission in transferring S3 files

I am using S3TransferManager-Sample for testing. I created Cognito and configured IAM and finally changed the .swift constant file. I have no problems downloading, but downloading is not possible. Error message:

download failed: [Domain Error = com.amazonaws.AWSS3ErrorDomain Code = 1 "operation can not be completed (Com.amazonaws.AWSS3ErrorDomain error 1.)." UserInfo = 0x7f8cd658a5a0 {HOSTID = d4yLouhlYmGn4s1Zp54 + EOsZQEy2bVEGNs5XIa8pMxerJggANV / 9Zb82c1QtF / 5Hsn5KqYXGqdw =, Message = Access Denied, Code = AccessDenied, RequestId = A1966393EAC3F15F}]

Here is my parameter for the role:

enter image description here

enter image description here

My setup in the S3 bucket:

enter image description here

Of course, when I added "Everyone" to enable the "List", I can download. But what is the purpose for Cognito? Thanks

+4
1

, :

  • unauth . , , , unauth, .
  • , . , , .
+3

All Articles