-
The https://www.npmjs.com/package/@aws-sdk/node-http-handler Apparently it has now moved to the Is this official? Do I need to change all my code now? Why would you move this module out of the Your own documentation still points to Is this some kind of mistake, or is this an official change? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 6 replies
-
I have several packages with the same situation.
looks like a global change, but i don't find any information about that change :/ |
Beta Was this translation helpful? Give feedback.
-
Smithy is a language for defining services and SDKs. It is open source software maintained by AWS. Smithy is used to generate both the AWS SDK for JavaScript v3, and other similar SDKs not necessarily related to AWS. Therefore, we decided to detach the AWS SDK namespace from core components used outside of AWS, such as the generic node http handler. This is in effect a rename. Code examples and interfaces will continue to work with @RanVaknin @srchase please create a pinned issue with any additional information you think is useful in answering questions related to this migration/renaming. |
Beta Was this translation helpful? Give feedback.
-
I would like to know if @smithy/* packages are installed in the latest Lambda container? |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
-
Started to see this error today with @aws-sdk/client-kms. Didn't deploy any new code or make changes to anywhere. This kind of things should not happen.
|
Beta Was this translation helpful? Give feedback.
-
We had the same issue a month ago, and then again yesterday. All of a sudden this error started showing up. It seems to me, that AWS is updating their V3 SDK with minor changes, and then deploying them to environments. Even if you don't update your lambda, they will update the underlying V3 packages. If you don't want this, you have to send the V3 packages with your lambda (which poses a challenge with code size) In our case, the error started showing up because when initialing a client, we use our own logger. And in that logger we had all levels of logging except debug. And this is old code! Then AWS went in and updated something on smithy, which called a |
Beta Was this translation helpful? Give feedback.
-
We are seeing this issue as well with the S3Client typescript sdk. |
Beta Was this translation helpful? Give feedback.
-
The https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-types/Interface/Logger/ We may change the locations where the When you make use of the AWS Lambda provided AWS SDK, you will receive periodic upgrades to the AWS SDK version. This Lambda provided SDK is for development use (https://docs.aws.amazon.com/lambda/latest/operatorguide/sdks-functions.html). For production workloads, it is always safer to provide (optionally: bundle) your own locked version of the AWS SDK. |
Beta Was this translation helpful? Give feedback.
Smithy is a language for defining services and SDKs. It is open source software maintained by AWS.
Smithy is used to generate both the AWS SDK for JavaScript v3, and other similar SDKs not necessarily related to AWS. Therefore, we decided to detach the AWS SDK namespace from core components used outside of AWS, such as the generic node http handler.
This is in effect a rename. Code examples and interfaces will continue to work with
@smithy/*
packages moved over from@aws-sdk/*
.@RanVaknin @srchase please create a pinned issue with any additional information you think is useful in answering questions related to this migration/renaming.