[Feature]: Looking for codemod to be able to convert below examples
- Dominant language
- TypeScript
- Stars
- 89
- Forks
- 13
- Avg merge
- 9h 59m
- Merged PRs (30d)
- 1
Description
### Self-service
- [ ] I'd be willing to implement this feature
### Problem
```
const AWS = require('aws-sdk');
credentials = new AWS.EC2MetadataCredentials()
credentials = new AWS.EnvironmentCredentials('AWS');
credentials = new AWS.SharedIniFileCredentials({...);
const endpoint = new AWS.Endpoint(uri.host);
const req = new AWS.HttpRequest(endpoint);
const signer = new AWS.Signers.V4(req, 'es');
signer.addAuthorization(credentials, new Date());
const send = new AWS.NodeHttpClient();
```
### Solution
The codemode to convert them to V3 https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/migrating-to-v3.html
### Alternatives
N/A
### Additional context
_No response_
Contributor guide
Research direction
Start with the listed AWS SDK v2 examples and the linked AWS SDK for JavaScript v3 migration guide; no files, tests, or entry points are named in the issue. Define the documented v3 conversions for the credential classes, Endpoint, HttpRequest, V4 signer, and NodeHttpClient, then verify the codemod handles those examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript, nodejs, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100