aws-sdk-js-v3 icon indicating copy to clipboard operation
aws-sdk-js-v3 copied to clipboard

MIGRATION ISSUE: Provide example for migrating from Event Listener to Middleware Stack for a common use case

Open trivikr opened this issue 1 week ago • 0 comments

Pre-Migration Checklist

Which JavaScript Runtime is this issue in?

Node.js (includes AWS Lambda)

AWS Lambda Usage

  • [ ] Yes, my application is running on AWS Lambda.
  • [X] No, my application is not running on AWS Lambda.

Describe the Migration Issue

The https://github.com/aws/aws-sdk-js-v3/blob/main/UPGRADING.md provides link to Middleware Stack blog post which explains how a middleware should be written. But there's no example of migration from v2 event listener to v3 middleware.

Code Comparison

No response

Observed Differences/Errors

N/A. This request is to add example of v2 event listener to v3 middleware in UPGRADING.md

Additional Context

No response

trivikr avatar Jun 27 '24 15:06 trivikr