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 GetObject Update #3597

Closed
cpyle0819 opened this issue Sep 12, 2022 · 1 comment
Closed

S3 GetObject Update #3597

cpyle0819 opened this issue Sep 12, 2022 · 1 comment
Assignees

Comments

@cpyle0819
Copy link
Contributor

cpyle0819 commented Sep 12, 2022

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 aws/aws-sdk-js-v3#3977 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 this issue letting customers know we've updated the example

Epic link (recommended)

No response

@cpyle0819
Copy link
Contributor Author

The linked issue has been closed. See https://github.com/aws/aws-sdk-js-v3#streams for documentation on processing the streams.

scmacdon added a commit that referenced this issue Oct 28, 2022
…pdate

Update GetObject example to use new transform util.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant