aws-sdk-js-codemod
aws-sdk-js-codemod copied to clipboard
[Feature]: Support named import of DocumentClient from deep path
Self-service
- [ ] I'd be willing to implement this feature
Problem
Transformation of named import of DocumentClient from deep path is not supported
import { DocumentClient } from "aws-sdk/clients/dynamodb";
const documentClient = new DocumentClient({ region: "us-west-2" });
Solution
Support transformation of named import of DocumentClient from deep path
Alternatives
N/A
Additional context
Production uses: https://github.com/search?q=repo%3Awebiny%2Fwebiny-js%20%22aws-sdk%2Fclients%2Fdynamodb%22&type=code