I'm aware we can find the current aws-sdk(v2) version in lambda runtime from AWS.VERSION
environment variable. In v3, aws-sdk is modularized, is there a way to find the which version of the aws-sdk client lib used in lambda runtime?
You could do this:
import { version } from '@aws-sdk/client-s3/package.json' assert { type: 'json' };