-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
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
chore: upgrade to SDK v3 #1709
chore: upgrade to SDK v3 #1709
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits. Otherwise looks good.
|
||
|
||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { CodePipeline } from '@aws-sdk/client-codepipeline'; | ||
const pipeline = new CodePipeline(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// eslint-disable-next-line import/no-extraneous-dependencies | |
import { CodePipeline } from '@aws-sdk/client-codepipeline'; | |
const pipeline = new CodePipeline(); | |
import { CodePipeline } from '@aws-sdk/client-codepipeline'; | |
const pipeline = new CodePipeline(); |
formatting clean up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you think the comment line // eslint-disable-next-line import/no-extraneous-dependencies
is there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The suggester wouldn't let me highlight line 1. It's duplicated there.
|
||
|
||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { S3 } from '@aws-sdk/client-s3'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// eslint-disable-next-line import/no-extraneous-dependencies | |
import { S3 } from '@aws-sdk/client-s3'; | |
import { S3 } from '@aws-sdk/client-s3'; |
formatting clean up
|
||
|
||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { CloudWatch, Dimension, PutMetricDataCommandInput } from '@aws-sdk/client-cloudwatch'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// eslint-disable-next-line import/no-extraneous-dependencies | |
import { CloudWatch, Dimension, PutMetricDataCommandInput } from '@aws-sdk/client-cloudwatch'; | |
import { CloudWatch, Dimension, PutMetricDataCommandInput } from '@aws-sdk/client-cloudwatch'; |
formatting clean up
Follow-up to #1706, which upgraded the node runtimes to 20. Node 20 is only compatible with SDK v3. This removes every use of the SDK v2.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.