Skip to content

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