I have created a AWS S3 bucket. and I am able to access bucket using https://github.com/awslabs/aws-sdk-android-samples/blob/master/S3TransferUtilitySample/S3TransferUtilityTutorial.md , TransferUtility SDK app provide by amazon.
I made some changes regarding the configuration of respective Region and bucket name and then I was able to connect to S3.
I am having proper permission to read / write S3 Bucket as provided to me by Server Admin. I successfully upload two images to S3 bucket using code. I can now see two image files are present in S3.
Now when I try to download these file I get exeception as
com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 04800521FBB752B0)
There was a problem with previous conginto pool id , i think it was having some permissions issues.
We changed cognito pool ID and then it worked properly.