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
Running transform containing a Cloudfront Signer does not transform, but only remove the legacy import
import { CloudFront } from "aws-sdk"; //.... export async function cloudfrontSignUrl(url, expires_at_ms, options = {}) { // ... let signer = new CloudFront.Signer(accessKeyID, privateKeyContents); return signer.getSignedUrl({ url, expires: expires_at_ms, ...options }); }
import { CloudFront } from "aws-sdk";
Should result in
import { getSignedUrl } from "@aws-sdk/cloudfront-signer"; // ... export async function cloudfrontSignUrl(url, expires_at_ms, options = {}) { // ... return getSignedUrl({ url, privateKey: privateKeyContents, keyPairId: accessKeyID, dateLessThan: expires_at_ms}) }
aws-sdk-js-codemod: 0.28.2 - jscodeshift: 0.15.0 - recast: 0.23.4
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Self-service
Describe the bug
Running transform containing a Cloudfront Signer does not transform, but only remove the legacy import
Steps to reproduce
Observed behavior
import { CloudFront } from "aws-sdk";
Expected behavior
Should result in
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: