Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 HEAD object support #3003

Open
tomekit opened this issue Sep 13, 2022 · 0 comments
Open

S3 HEAD object support #3003

tomekit opened this issue Sep 13, 2022 · 0 comments
Labels
feature-request Request a new feature s3 Issues with the AWS Android SDK for Simple Storage Service (S3).

Comments

@tomekit
Copy link

tomekit commented Sep 13, 2022

Which AWS Services is the feature request for?
S3

Is your feature request related to a problem? Please describe.
I am using newest available: "com.amazonaws:aws-android-sdk-s3:2.52.1"

I need to get object metadata without reading the actual S3 object data.
That's part of S3 API: https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html

Describe the solution you'd like
Similarly to existing GetObjectRequest class and getObject function there could be:
HeadObjectRequest and headObject respectively

Describe alternatives you've considered
I was thinking of using the Java SDK instead of Android SDK which does support that:
https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/model/HeadObjectRequest.html

I am not sure about the implications of using non-Android SDK on Android.

Additional context
HEAD object is pretty critical part of S3 API.
I was wondering why this hasn't been implemented in Android SDK.

Is it a clear concise design decision or perhaps it was somehow forgotten?

@eeatonaws eeatonaws added feature-request Request a new feature s3 Issues with the AWS Android SDK for Simple Storage Service (S3). labels Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request a new feature s3 Issues with the AWS Android SDK for Simple Storage Service (S3).
Projects
None yet
Development

No branches or pull requests

2 participants