Maintenance: Refresh SAM examples #1140
Labels
completed
This item is complete and has been merged/shipped
documentation
Improvements or additions to documentation
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Summary
The repo contains SAM examples of how to use the libraries. These examples are one of the most visited pages in the repository and since they were released the project and its documentation has evolved. The examples should be updated to reflect that.
Why is this needed?
The SAM samples were first created several months ago and in the meantime several updates have happened, so it's time to refresh them.
Which area does this relate to?
Other
Solution
Below a list of changes in no particular order:
Updates to README
Maintenance
devDependencies
to latest available & test that everything worksexamples/lambda-functions
(where it was originally) & symlink (how it was originally)Code
NODE_OPTIONS: --enable-source-maps' ([here](https://docs.aws.amazon.com/lambda/latest/dg/typescript-exceptions.html)), and use
AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1` (here)aws-sdk
(v2) to@aws-sdk/client-dynamodb
(v3 - docs) - keep DocumentClientaddMetadata
).logger.info(...)
Acknowledgment
The text was updated successfully, but these errors were encountered: