Inquiry Regarding Amazon S3 and Amazon Cognito REST API Usage

0

Hi Amazon S3 Team,

I hope this message finds you well.

Question 1: I am looking to retrieve a list of buckets with specific details such as BucketName, Created Date, OwnerName, Permission (whether I have access to the bucket or not), and User associated with each bucket.

I am currently using the following API endpoint to get the list of buckets:

Endpoint: https://s3.amazonaws.com/

Region-specific Endpoint Example: https://s3.<region>.amazonaws.com/ (e.g., https://s3.ap-south-1.amazonaws.com/)

In the example provided, if I use the region-specific API, it retrieves buckets specific to that region. If I omit the region, does the API default to a specific region (such as us-east-1)?

Could you please suggest the appropriate REST API endpoint I should call to obtain a list of buckets with all the necessary details, including permissions, owner information, associated users, and the respective regions?

Question 2: Additionally, I would like to inquire whether it is possible to retrieve a list of buckets specific to individual users using a REST API.

Question 3: if I possess an admin access key ID and secret access Key, can I access data within all users' buckets, or is it restricted to user-specific buckets?

Question 4: Lastly, if I authenticate using Amazon Cognito and obtain an access token, can I use this token to access the details mentioned below:

  1. Get the list of buckets with name, created, owner, user, permission

  2. Get the list of users

  3. Get the list of objects inside the bucket

  4. Download the files inside the bucket

If yes, could you please provide the REST API endpoint and any relevant documentation on how to achieve this integration between Amazon Cognito and Amazon S3?

Thank you for your time and assistance. I look forward to your guidance on these inquiries.


Best regards,

Bhavdip Talaviya

bhavdip.talaviya@casepoint.in

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions