We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The new instance creation of AWS.Credentials class is not replaced.
Examples
import AWS from "aws-sdk"; // credentials object as options const creds = new AWS.Credentials({ accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'session', });
import AWS from "aws-sdk"; // credentials as options const creds = new AWS.Credentials('akid', 'secret', 'session');
Replace new instance with Credentials object with a comment that it's the best guess from codemod.
const creds = { accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'session', };
Wait for JS SDK v3 to provide fromStatic credential provider aws/aws-sdk-js-v3#5452
Examples usages in production:
The text was updated successfully, but these errors were encountered:
https://github.com/askrella/whatsapp-chatgpt/blob/3096f7db393a3b5a4e1cd70c64349909b7f9cc8e/src/providers/aws.ts#L10
Sorry, something went wrong.
No branches or pull requests
Self-service
Problem
The new instance creation of AWS.Credentials class is not replaced.
Examples
Solution
Replace new instance with Credentials object with a comment that it's the best guess from codemod.
Alternatives
Wait for JS SDK v3 to provide fromStatic credential provider aws/aws-sdk-js-v3#5452
Additional context
Examples usages in production:
The text was updated successfully, but these errors were encountered: