aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

S3 GetObject Update

Open cpyle0819 opened this issue 2 years ago • 0 comments

The user story

As a consumer of the client-s3 js client I want a simplified example of getting an S3 object as a string so that I don't need to write excessive boilerplate.

Context: This issue has a lot of conversation. Users are frustrated with having to convert the response from S3 to a string from a ReadableStream. The comment linked as part of the above issue has a suggestion that may be worth trying out. It doesn't remove the need to convert, but it does reduce the boilerplate.

Alternatively Wait until https://github.com/aws/aws-sdk-js-v3/pull/3795 is completed and update the example to match.

I know this is done when:

  • The s3_getobject.js example is updated to reflect the suggestions above
  • A comment has been added to the issue above letting customers know we've updated the example

Epic link (recommended)

No response

cpyle0819 avatar Sep 12 '22 14:09 cpyle0819