Add content()
to s3Client.getObject(getObjectRequest).response()
and return S3Object
#2371
Labels
feature-request
A feature should be added or improved.
Currently, I am working on spring cloud aws integration with s3, moving the existing implementation from sdk v1 to v2 and I would like to perform some operations in a friendly way. In this case, if the user is working with objects use
S3Object
instead of*Response
classes.The sdk allow me to do this in order to get a list of s3 objects
this.s3Client.listObjects(listObjectsRequest).contents()
which returnsList<S3Object>
. However, when trythis.s3Client.getObject(getObjectRequest).response()
there is no method that returnsS3Object
, instead it provides ametadata()
method.Describe the Feature
Is your Feature Request related to a problem?
Proposed Solution
In order to have consistency between operations would be great that
this.s3Client.getObject(getObjectRequest)
providescontent()
which returnsS3Object
Describe alternatives you've considered
Additional Context
Your Environment
The text was updated successfully, but these errors were encountered: