Skip to content

Update decode function #42

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

artemburlaka
Copy link

Issue #, if available:

Description of changes:
According to AWS documentation, it is recommended to use runtime version 2.0, so the examples should be oriented to this version.

The String.bytesFrom() method is not available in version 2.0. Instead, the Buffer.from() method should be used.

Also, the deprecated method String.bytesFrom() was commented out and left in the script for those who prefer to use the legacy runtime version 1.0

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@artemburlaka
Copy link
Author

@joshbean @dbrown-git
Could you please take a look at the PR?
Thanks!

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

Successfully merging this pull request may close these issues.

1 participant